
:root {
    --paper:  #F4EEE4;
    --ink:    #241F1A;
    --navy:   #2D1411;   /* brand espresso */
    --black:  #000000;   /* pure black — loader curtain + footer, per client */
    --gold:   #B08D4C;
    --gold-lt:#D6B266;
    --spec-bg:#EDE8E2;   /* secondary-page canvas */
    --rule:   rgba(150,120,72,.34);
    --hdr-h:  58px;
    --ease-reveal: cubic-bezier(.22, 1, .36, 1);
    --serif: 'Google Sans', 'Figtree', 'Noto Sans Georgian', 'Inter', Helvetica, Arial, sans-serif;
    --sans:  'Google Sans', 'Figtree', 'Noto Sans Georgian', 'Inter', Helvetica, Arial, sans-serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { overflow-x: hidden; scroll-behavior: smooth; }
  body { font-family: var(--sans); background: var(--spec-bg); color: var(--navy); -webkit-font-smoothing: antialiased; }

  /* ---------------- Header (centred logo, light — same as blog / about-project) ---------------- */
  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 40;
    display: flex; align-items: center;
    padding: clamp(16px, 2.6vh, 26px) clamp(20px, 4vw, 56px);
    color: var(--navy); --hline: rgba(45,20,17,.28);
    transition: padding .5s var(--ease-reveal), background-color .5s ease,
      -webkit-backdrop-filter .5s ease, backdrop-filter .5s ease, box-shadow .5s ease;
  }
  .hdr-left  { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
  .logo      { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; text-decoration: none; }
  .hdr-right { display: flex; align-items: center; gap: clamp(12px, 1.3vw, 20px); margin-left: auto; }
  .logo-img { height: 52px; width: auto; display: block; transition: height .5s var(--ease-reveal); }
  .hdr-left a { position: relative; color: currentColor; text-decoration: none; font-size: 16px; font-weight: 400; opacity: .9; transition: opacity .3s ease; }
  .hdr-left a.is-current { opacity: 1; }
  .hdr-left a::after { content: ''; display: block; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-reveal); margin-top: 2px; }
  .hdr-left a:hover::after, .hdr-left a:focus-visible::after, .hdr-left a.is-current::after { transform: scaleX(1); }
  .hdr-left a:hover, .hdr-left a:focus-visible { opacity: 1; }
  .lang { font-size: 13.5px; white-space: nowrap; color: currentColor; }
  .lang a { color: currentColor; text-decoration: none; opacity: .5; }
  .lang a.on { opacity: 1; }
  .lang i { opacity: .4; margin: 0 5px; font-style: normal; }
  .btn-find, .request { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 400;
    border-radius: 999px; padding: 8px 20px; cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background .35s var(--ease-reveal), color .35s var(--ease-reveal), border-color .35s ease; }
  .btn-find svg, .request svg { width: 13px; height: 13px; transition: transform .35s var(--ease-reveal); }
  .btn-find { color: var(--paper); background: var(--navy); border: 1px solid var(--navy); }
  .btn-find:hover, .btn-find:focus-visible { background: var(--gold); color: var(--navy); border-color: var(--gold); }
  .btn-find:hover svg, .btn-find:focus-visible svg { transform: translate(2px,-2px); }
  .request { color: currentColor; background: transparent; border: 1px solid var(--hline); }
  .request:hover, .request:focus-visible { background: var(--navy); color: var(--paper); border-color: var(--navy); }
  .request:hover svg, .request:focus-visible svg { transform: translate(2px,-2px); }
  header.is-stuck { padding: 9px clamp(20px, 4vw, 56px);
    background: rgba(237,232,226,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(45,20,17,.08); }
  header.is-stuck .logo-img { height: 38px; }
  @media (max-width: 940px) { .hdr-left { display: none; } .logo { position: static; transform: none; } }

  /* ---------------- reveal ---------------- */
  [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-reveal), transform .9s var(--ease-reveal); }
  [data-reveal].in { opacity: 1; transform: none; }

  /* ============================================================
     ARTICLE — the single dispatch
     ============================================================ */
  .post { padding: clamp(118px, 17vh, 188px) clamp(20px, 3vw, 56px) 0; }
  .post-head { max-width: 860px; margin: 0 auto; }
  .post-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 13px;
    letter-spacing: .03em; color: rgba(36,31,26,.6); text-decoration: none; transition: color .25s ease; }
  .post-back:hover, .post-back:focus-visible { color: var(--navy); }
  .post-back .arw { transition: transform .3s var(--ease-reveal); }
  .post-back:hover .arw { transform: translateX(-3px); }

  .post-eyebrow { margin-top: clamp(24px, 4vh, 44px); display: flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(36,31,26,.55); }
  .post-eyebrow .cat { color: var(--gold); }
  .post-eyebrow .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
  .post-title { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(37px, 5.4vw, 74px);
    line-height: 1.02; letter-spacing: -.012em; color: var(--navy); text-wrap: balance; }
  .post-standfirst { margin-top: clamp(16px, 2.4vh, 26px); font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: clamp(19px, 2vw, 25px); line-height: 1.4; color: rgba(36,31,26,.74); max-width: 42ch; }
  .post-byline { margin-top: clamp(24px, 3.4vh, 40px); display: flex; align-items: center; gap: 13px;
    padding-bottom: clamp(24px, 3.4vh, 38px); border-bottom: 1px solid var(--rule); }
  .by-ring { flex: 0 0 auto; width: 38px; height: 38px; display: block; }
  .by-ring circle { fill: none; stroke: var(--gold); stroke-width: 1.3; }
  .by-name { display: block; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--navy); }
  .by-role { display: block; font-family: var(--sans); font-size: 12.5px; color: rgba(36,31,26,.55); margin-top: 2px; }

  .post-hero { max-width: 1120px; margin: clamp(30px, 5vh, 58px) auto 0; }
  .post-media { position: relative; overflow: hidden; border-radius: 6px; background: rgba(45,20,17,.06); }
  .post-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; display: block; will-change: transform; }
  .post-hero .post-media { aspect-ratio: 16 / 9; }
  .post-hero figcaption { margin-top: 12px; font-family: var(--sans); font-size: 12.5px; color: rgba(36,31,26,.5); max-width: 64ch; }

  .post-body { max-width: 680px; margin: clamp(40px, 6vh, 72px) auto 0;
    font-family: var(--sans); font-weight: 300; font-size: 18px; line-height: 1.72; color: rgba(36,31,26,.86); }
  .post-body > * + * { margin-top: 1.5em; }
  .post-body .lead { font-size: 21px; line-height: 1.6; font-weight: 400; color: var(--navy); }
  .post-body .lead::first-letter { float: left; font-family: var(--serif); font-weight: 600; font-size: 3.4em; line-height: .78;
    padding: 6px 12px 0 0; color: var(--navy); }
  .post-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.14;
    letter-spacing: -.008em; color: var(--navy); margin-top: 1.7em; }
  .post-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
  .post-body strong { font-weight: 600; color: var(--navy); }
  .post-body blockquote { margin: 1.7em 0; padding-left: 26px; border-left: 2px solid var(--gold);
    font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.3; color: var(--navy); }
  .post-body blockquote cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-weight: 500;
    font-size: 13px; letter-spacing: .03em; color: rgba(36,31,26,.55); }
  .post-body ul { padding-left: 22px; }
  .post-body li { margin-top: .55em; }
  .post-body li::marker { color: var(--gold); }
  /* a figure that breaks out wider than the reading measure, centred on the page.
     Centred with margins (NOT transform) so [data-reveal].in { transform:none } can't offset it. */
  .post-fig { width: min(1080px, 90vw); margin-left: calc(50% - min(540px, 45vw));
    margin-top: clamp(36px, 5vh, 64px); margin-bottom: clamp(36px, 5vh, 64px); }
  .post-fig .post-media { aspect-ratio: 3 / 2; }
  .post-fig figcaption { margin-top: 12px; font-family: var(--sans); font-size: 12.5px; color: rgba(36,31,26,.5); text-align: center; }

  /* article foot — tags + share */
  .post-foot { max-width: 680px; margin: clamp(44px, 6vh, 72px) auto 0; padding-top: clamp(24px, 3.4vh, 36px);
    border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
  .post-tags { display: flex; gap: 9px; flex-wrap: wrap; }
  .post-tag { font-family: var(--sans); font-size: 12px; letter-spacing: .03em; color: rgba(36,31,26,.62);
    border: 1px solid var(--rule); border-radius: 999px; padding: 6px 13px; }
  .post-share { display: flex; align-items: center; gap: 16px; font-family: var(--sans); font-size: 13px; }
  .post-share span { color: rgba(36,31,26,.5); }
  .post-share a { color: var(--navy); text-decoration: none; position: relative; }
  .post-share a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-reveal); }
  .post-share a:hover::after, .post-share a:focus-visible::after { transform: scaleX(1); }

  /* ============ Continue reading ============ */
  .more { max-width: 1400px; margin: clamp(66px, 10vh, 120px) auto 0;
    padding: clamp(40px, 6vh, 64px) clamp(20px, 3vw, 56px) clamp(66px, 10vh, 116px); border-top: 1px solid var(--rule); }
  .more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(26px, 4vh, 44px); }
  .more-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 34px); color: var(--navy); }
  .more-head a { font-family: var(--sans); font-size: 13.5px; color: var(--navy); text-decoration: none; white-space: nowrap; position: relative; }
  .more-head a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-reveal); }
  .more-head a:hover::after, .more-head a:focus-visible::after { transform: scaleX(1); }
  .more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
  .rc { text-decoration: none; color: var(--navy); min-width: 0; }
  .rc-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 5px; background: rgba(45,20,17,.06); }
  .rc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-reveal); }
  .rc:hover .rc-media img, .rc:focus-visible .rc-media img { transform: scale(1.045); }
  .rc-cat { margin-top: 14px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
  .rc-title { margin-top: 7px; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.4vw, 22px); line-height: 1.14; color: var(--navy); text-wrap: balance; transition: color .3s var(--ease-reveal); }
  .rc:hover .rc-title, .rc:focus-visible .rc-title { color: var(--gold); }
  .rc:focus-visible { outline: 2px solid var(--navy); outline-offset: 6px; border-radius: 2px; }

  @media (max-width: 860px) {
    .more-grid { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 40px); }
  }
  @media (max-width: 620px) {
    .hdr-right .lang, .btn-find { display: none; }   /* leave only Request Call */
    .logo-img { height: 46px; } header.is-stuck .logo-img { height: 36px; }
    .post-body { font-size: 17px; }
    .post-body .lead { font-size: 19px; }
  }
  @media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .rc-media img { transition: none; }
    * { scroll-behavior: auto; }
  }


/* ===== FOOTER — "The Resolving Line" (shared) ===== */
.foot { position: relative; background: var(--black); color: var(--paper); overflow: hidden;
  padding: clamp(72px,9vh,104px) 0 calc(clamp(40px,6vh,72px) + env(safe-area-inset-bottom)); }
.foot[data-reveal] { opacity: 1; transform: none; transition: none; }
.foot-inner { max-width: calc(1440px + 2 * clamp(20px, 3vw, 56px)); margin: 0 auto; padding: 0 clamp(20px, 3vw, 56px); }
.foot-brand, .foot-grid, .foot-legal { opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease-reveal), transform .8s var(--ease-reveal); }
.foot.in .foot-brand { opacity: 1; transform: none; transition-delay: 0.05s; }
.foot.in .foot-grid  { opacity: 1; transform: none; transition-delay: 0.15s; }
.foot.in .foot-legal { opacity: 1; transform: none; transition-delay: 0.25s; }
.foot-brand { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: clamp(24px,4vw,56px); }
.foot-wordmark { width: clamp(120px,14vw,152px); height: auto; display: block; filter: brightness(0) invert(1); }
.foot-lines { max-width: 46ch; }
.foot-emotional { font-family: var(--sans); font-weight: 400; font-size: clamp(16px,1.5vw,19px); line-height: 1.35; color: rgba(244,238,228,.92); margin: 0; }
.foot-positioning { font-family: var(--sans); font-weight: 300; font-size: clamp(14px,1.15vw,16px); line-height: 1.5; color: rgba(244,238,228,.6); margin: 6px 0 0; }
.foot-grid { margin-top: clamp(48px,8vh,88px); display: grid; grid-template-columns: repeat(12,1fr); column-gap: clamp(20px,2.4vw,34px); row-gap: 40px; }
.foot-col-cta { grid-column: span 4; }
.foot-col-nav { grid-column: span 3; }
.foot-col-contact { grid-column: span 5; }
.foot-label { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(176,141,76,.92); margin: 0 0 16px; }
.foot-cta { display: inline-block; font-family: var(--sans); font-weight: 400; font-size: clamp(26px,3vw,40px); line-height: 1.06; letter-spacing: -.01em;
  color: var(--paper); background: none; border: none; padding: 0; cursor: pointer; position: relative; text-align: left; }
.foot-cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-reveal); }
.foot-cta:hover::after, .foot-cta:focus-visible::after { transform: scaleX(1); }
.foot-cta-sub { font-family: var(--sans); font-weight: 300; font-size: 14px; line-height: 1.5; color: rgba(244,238,228,.6); margin: 18px 0 0; max-width: 34ch; }
.foot-mail { display: inline-block; font-family: var(--sans); font-size: 14px; color: rgba(244,238,228,.85); background: none; border: none; padding: 0 0 2px; cursor: pointer; position: relative; text-align: left; transition: color .25s ease; }
.foot-mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: transparent; transition: background .3s ease; }
.foot-mail:hover, .foot-mail:focus-visible { color: var(--gold); }
.foot-mail:hover::after, .foot-mail:focus-visible::after { background: var(--gold); }
.foot-cta-mail { margin-top: 16px; font-size: 15px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-list a, .foot-contact a { font-family: var(--sans); font-weight: 300; color: rgba(244,238,228,.85); text-decoration: none; position: relative; width: fit-content; transition: color .25s ease; }
.foot-list a { font-size: 15px; }
.foot-list a::after, .foot-contact a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-reveal); }
.foot-list a:hover, .foot-list a:focus-visible, .foot-contact a:hover, .foot-contact a:focus-visible { color: var(--gold); }
.foot-list a:hover::after, .foot-list a:focus-visible::after, .foot-contact a:hover::after, .foot-contact a:focus-visible::after { transform: scaleX(1); }
.foot-contact { font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.55; color: rgba(244,238,228,.85); }
.foot-contact .addr { margin: 0; }
.foot-contact .indic { display: block; margin-top: 4px; font-size: 11.5px; letter-spacing: .06em; color: rgba(244,238,228,.5); }
.foot-contact .row { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.foot-contact a.tel { font-variant-numeric: tabular-nums; }
.foot-social { margin-top: 8px; display: flex; gap: 22px; }
.foot-legal { margin-top: clamp(56px,9vh,96px); padding-top: 22px; border-top: 1px solid rgba(244,238,228,.12); display: flex; justify-content: space-between; align-items: center; gap: 20px 28px; flex-wrap: wrap; }
.foot-legal-left { font-family: var(--sans); font-size: 12px; font-weight: 300; color: rgba(244,238,228,.55); display: flex; flex-wrap: wrap; align-items: center; }
.foot-legal-left a { color: rgba(244,238,228,.55); text-decoration: none; transition: color .25s ease; }
.foot-legal-left a:hover, .foot-legal-left a:focus-visible { color: rgba(244,238,228,.9); }
.foot-legal-left .sep { margin: 0 10px; color: rgba(244,238,228,.3); }
.foot-legal-right { display: flex; align-items: center; gap: 24px; }
.foot-dev { font-family: var(--sans); font-size: 12px; font-weight: 300; color: rgba(244,238,228,.45); }
.foot a:focus-visible, .foot button:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; border-radius: 1px; }
@media (max-width: 860px) {
  .foot { padding-top: clamp(56px,8vh,84px); }
  .foot-brand { grid-template-columns: 1fr; align-items: start; row-gap: 18px; }
  .foot-grid { grid-template-columns: 1fr; row-gap: 34px; }
  .foot-col-cta, .foot-col-nav, .foot-col-contact { grid-column: 1 / -1; }
  .foot-cta { font-size: clamp(26px,7.5vw,34px); }
  .foot-legal { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-legal-right { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .foot-brand, .foot-grid, .foot-legal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
