/* =========================================================
   Amisos & Partners — site styles
   Palette from the corporate presentation:
   ink #231F1C · cream #F8F5EF · burgundy #790D27
   plus the gold and navy of the Kyiv skyline illustration.
   ========================================================= */

:root {
  --ink: #231F1C;
  --ink-2: #393532;
  --ink-soft: #5E5752;
  --cream: #F8F5EF;
  --paper: #FFFDF9;
  --sand: #EFE9DF;
  --line: rgba(35, 31, 28, .14);
  --line-strong: rgba(35, 31, 28, .32);
  --burgundy: #790D27;
  --burgundy-dark: #5C0A1E;
  --gold: #B8913A;
  --navy: #1E2B4A;
  --blue: #5B86D6;

  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 11vw, 160px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--burgundy); }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
::selection { background: var(--burgundy); color: var(--cream); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
em { font-style: italic; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.container.narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Typography ---------- */
.display-1, .hero-title, .display-2, .statement, .h3 { font-family: var(--f-display); letter-spacing: -.01em; }
.display-1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); line-height: .98; font-weight: 500; }
.display-2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.02; font-weight: 500; }
.h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.15; }
.display-1 em, .display-2 em, .hero-title em, .statement em { color: var(--burgundy); font-weight: 400; }
.section--dark .display-2 em, .cta .display-2 em { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.65; color: var(--ink-2); }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  margin: 0 0 1.4rem; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow-num { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: 0; color: var(--burgundy); text-transform: none; font-style: italic; }
.eyebrow:has(.eyebrow-num)::before { display: none; }
.eyebrow--light { color: rgba(248, 245, 239, .7); }
.eyebrow--light .eyebrow-num { color: var(--gold); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--burgundy); --btn-fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; gap: .75em;
  padding: 1.05em 1.7em; border: 1px solid var(--btn-bg); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .82rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.btn:hover { color: var(--cream); border-color: var(--ink); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.btn--light::after { background: var(--gold); }
.btn--light:hover { color: var(--ink); border-color: var(--gold); }
.btn--small { padding: .85em 1.3em; font-size: .74rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; margin-top: 1.6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover, a:hover > .link-arrow { background-size: 100% 1px; color: var(--burgundy); }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(4px); }
.link-arrow--light { color: var(--cream); }
.link-arrow--light:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.site-header.is-scrolled { background: rgba(248, 245, 239, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; display: block; }
.brand img { height: 30px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.main-nav > ul > li > a {
  position: relative; display: block; padding: 30px 0; font-size: .93rem; font-weight: 500; text-decoration: none;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 1px; background: var(--burgundy);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.main-nav > ul > li > a[aria-current] { color: var(--burgundy); }

.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(35, 31, 28, .25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--container); margin: 0 auto; padding: 48px var(--gutter) 56px; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.mega-title { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; margin: 0; }
.mega-title em { color: var(--burgundy); }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.mega-list a { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 1.45rem; transition: padding .35s var(--ease), color .3s; }
.mega-list a:hover { padding-left: 10px; }
.mega-list .num { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .1em; color: var(--ink-soft); }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle .bar { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle .bar:nth-of-type(2) { top: 18px; }
.menu-toggle .bar:nth-of-type(3) { top: 26px; }
.menu-open .menu-toggle .bar:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle .bar:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--cream); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu nav a { display: block; padding: 14px 0; font-family: var(--f-display); font-size: 2.2rem; line-height: 1.1; text-decoration: none; }
.mobile-menu-contact { display: grid; gap: 8px; margin-top: 32px; font-size: .95rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 9vh, 110px)) 0 0; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-size: clamp(3.6rem, 11vw, 10.5rem); line-height: .9; font-weight: 500; letter-spacing: -.025em; max-width: 11ch; }
.hero-visual { margin: 0; }
.hero-visual img { display: block; width: 100%; height: auto; }
.hero-bottom .hero-eyebrow { margin-bottom: 14px; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-top: clamp(32px, 5vw, 56px); }
.hero-bottom .lead { margin: 0; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.skyline { position: relative; margin-top: clamp(24px, 4vw, 48px); padding: 0 0 0 var(--gutter); }
.skyline img { width: min(100%, 1500px); margin-left: auto; }
.js .skyline img { clip-path: inset(0 100% 0 0); animation: draw 2.6s .5s var(--ease) forwards; }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }

/* Recurring motif: a fine line that ends in a forget-me-not. */
.hero-line, .footer-line { display: flex; align-items: center; gap: 0; }
.hero-line span, .footer-line span { flex: 1; height: 1px; background: var(--navy); opacity: .55; transform-origin: left; }
.hero-line img, .footer-line img { width: 30px; height: 30px; margin-left: -2px; }
.hero-line { padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto; }
.js .hero-line span { transform: scaleX(0); animation: grow 1.6s .3s var(--ease) forwards; }
.js .hero-line img { opacity: 0; transform: scale(.4) rotate(-90deg); animation: bloom .8s 1.6s var(--ease) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes bloom { to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { margin: 0; font-family: var(--f-display); font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; color: var(--burgundy); font-weight: 500; }
.stat-label { font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); max-width: 22ch; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .lead, .section--dark .muted { color: rgba(248, 245, 239, .72); }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 860px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.section-head--split .lead, .section-head--split .link-arrow { margin-bottom: .4rem; justify-self: start; }

/* Firm */
.firm-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.statement { font-size: clamp(1.9rem, 3.3vw, 3.05rem); line-height: 1.16; font-weight: 400; margin-bottom: 1.6rem; }
.firm-body .lead { max-width: 62ch; }
.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.capabilities li { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.4; }
.capabilities li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.capabilities .num, .service-num, .step-num, .highlight-num { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--burgundy); }

/* Services index rows */
.service-rows { border-top: 1px solid var(--line-strong); }
.service-row {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: 32px; align-items: center;
  padding: clamp(26px, 3.2vw, 42px) 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; isolation: isolate;
}
.service-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.service-title { font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.05; transition: transform .55s var(--ease); }
.service-summary { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; transition: color .4s; }
.service-arrow { width: 56px; height: 56px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.service-arrow svg { width: 22px; height: 22px; }
.service-row:hover { color: var(--cream); }
.service-row:hover::before { transform: scaleY(1); transform-origin: top; }
.service-row:hover .service-title { transform: translateX(12px); font-style: italic; }
.service-row:hover .service-summary { color: rgba(248, 245, 239, .75); }
.service-row:hover .service-num { color: var(--gold); }
.service-row:hover .service-arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 40px 32px 0 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 1px solid var(--burgundy); }
.section--alt .step::after { background: var(--paper); }
.step-title { font-family: var(--f-display); font-size: 1.65rem; line-height: 1.15; margin: 12px 0 12px; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* Sectors (dark) */
.sector-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.sector-group { font-family: var(--f-display); font-size: 1.9rem; margin-bottom: 18px; color: var(--gold); font-style: italic; }
.sector-list li { padding: 18px 0; border-bottom: 1px solid rgba(248, 245, 239, .16); font-size: 1.08rem; display: flex; gap: 14px; align-items: baseline; }
.sector-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }

/* Founder */
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.founder-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease); }
.founder-photo:hover img { transform: scale(1.03); }
.founder-role { font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); margin: 14px 0 28px; }
.credential-list { margin-top: 28px; border-top: 1px solid var(--line); }
.credential-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.credential-list strong { font-weight: 600; }
.credential-list span { color: var(--ink-soft); }

/* Clients marquee */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.clients-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; margin-bottom: 36px; }
.clients-head .eyebrow, .clients-head p { margin: 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(48px, 7vw, 110px); width: max-content; padding: 0 var(--gutter); }
.marquee.is-running .marquee-track { animation: marquee var(--marquee-duration, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-logo img { height: clamp(34px, 4vw, 52px); width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; transition: filter .4s, opacity .4s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* Recognition */
.recognition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.recognition-card { display: flex; gap: 28px; align-items: center; padding: 36px; background: var(--paper); border: 1px solid var(--line); }
.section--alt .recognition-card { background: var(--cream); }
.recognition-card img { flex: none; width: 120px; height: 90px; object-fit: contain; }
.recognition-card h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.15; margin-bottom: 8px; }
.recognition-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-group + .faq-group { margin-top: clamp(64px, 8vw, 110px); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.25; transition: color .3s; }
.faq-item summary:hover .faq-q { color: var(--burgundy); }
.faq-icon { flex: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--ease), background .3s, color .3s; }
.faq-icon svg { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.faq-a { padding: 0 64px 26px 0; color: var(--ink-2); }
.faq-item[open] .faq-a { animation: fade-down .45s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* CTA */
.cta { background: var(--burgundy); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -8%; bottom: -40%; width: 60vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(248, 245, 239, .12); }
.cta::after { content: ""; position: absolute; right: 4%; bottom: -55%; width: 45vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(248, 245, 239, .08); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; }
.cta .lead { color: rgba(248, 245, 239, .8); max-width: 52ch; margin-top: 1.4rem; }
.cta-actions { display: grid; gap: 28px; justify-items: start; }
.cta-contact { display: grid; gap: 10px; }
.cta-contact a, .contact-list a, .person-contact a { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; }
.cta-contact svg, .person-contact svg { width: 20px; height: 20px; opacity: .8; }
.cta-contact a:hover { color: var(--gold); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(248, 245, 239, .78); padding: clamp(64px, 8vw, 110px) 0 32px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 24px; }
.footer-brand p { max-width: 36ch; }
.footer-title { font: 600 .74rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin-bottom: 22px; }
.footer-col li + li { margin-top: 10px; }
.footer-contact address { display: grid; gap: 12px; }
.footer-social { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: 18px; border: 1px solid rgba(248, 245, 239, .25); border-radius: 50%; }
.footer-social svg { width: 18px; height: 18px; }
.footer-line { margin: clamp(48px, 6vw, 80px) 0 24px; }
.footer-line span { background: rgba(248, 245, 239, .3); opacity: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: rgba(248, 245, 239, .55); }
.footer-bottom p { margin: 0; }

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 0; }
.page-hero .container { padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.page-hero-intro { margin: 0; max-width: 52ch; }
.page-hero--404 { min-height: 70vh; }
.page-hero--404 .lead { margin: 24px 0 32px; }
.breadcrumbs { margin-bottom: clamp(32px, 5vw, 56px); font-size: .8rem; color: var(--ink-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.content-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-list { margin-bottom: 32px; border-top: 1px solid var(--line); }
.aside-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 500; }
.aside-text { margin-bottom: 28px; }
.aside-facts { margin: 0; border-top: 1px solid var(--line); }
.aside-facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.aside-facts dt { font-size: .84rem; color: var(--ink-soft); }
.aside-facts dd { margin: 0; font-family: var(--f-display); font-size: 2.3rem; line-height: 1.1; color: var(--burgundy); }
.aside-facts dd.small { font-family: var(--f-sans); font-size: .98rem; color: var(--ink); padding-bottom: 4px; }
.content-image { margin-bottom: 48px; }

.prose { color: var(--ink-2); }
.prose--large { font-size: clamp(1.02rem, 1.2vw, 1.14rem); }
.prose > :first-child { margin-top: 0; }
.prose p:first-child:not(:only-child) { font-family: var(--f-display); font-size: 1.55em; line-height: 1.35; color: var(--ink); }
.prose h2 { font-family: var(--f-display); font-size: 2.2rem; line-height: 1.1; color: var(--ink); margin: 2.2em 0 .7em; }
.prose h3 { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); margin: 1.8em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.prose li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 1.25em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--burgundy); }
.prose ol { counter-reset: li; }
.prose ol li::before { counter-increment: li; content: counter(li, decimal-leading-zero); position: absolute; left: 0; font-family: var(--f-display); font-style: italic; color: var(--burgundy); }
.prose blockquote { margin: 2em 0; padding-left: 28px; border-left: 1px solid var(--burgundy); font-family: var(--f-display); font-size: 1.5em; line-height: 1.35; color: var(--ink); }
.prose a { color: var(--burgundy); }

/* Service cards */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.service-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(32px, 4vw, 56px); background: var(--cream); text-decoration: none; transition: background .5s var(--ease); }
.service-card:hover { background: var(--paper); color: inherit; }
.service-card-title { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.05; margin: 18px 0 16px; transition: color .3s; }
.service-card:hover .service-card-title { color: var(--burgundy); }
.service-card p { color: var(--ink-soft); max-width: 52ch; }
.service-card .link-arrow { margin-top: auto; padding-top: 16px; }
.service-card--static:hover { background: var(--cream); }
.service-card--static:hover .service-card-title { color: inherit; }
.practice-list { margin: 6px 0 0; display: grid; gap: 0; }
.practice-list li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.practice-list li:last-child { border-bottom: 1px solid var(--line); }
.practice-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--burgundy); opacity: .75; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.tag-list li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: .78rem; }

/* Highlights */
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.highlight { padding: 40px 36px 44px; background: var(--paper); transition: background .4s; }
.highlight:hover { background: var(--cream); }
.highlight h3 { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.15; margin: 14px 0 12px; }
.highlight p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.other-services { display: flex; flex-wrap: wrap; gap: 12px; }
.other-services a { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border: 1px solid var(--line-strong); border-radius: 100px; text-decoration: none; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.other-services a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.other-services svg { width: 18px; height: 18px; }

/* Sectors page */
.sector-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sector-block-head { position: sticky; top: calc(var(--header-h) + 32px); }
.sector-block-head .eyebrow-num { display: block; margin-bottom: 12px; font-size: 1.4rem; }
.sector-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector-card { padding: 32px; background: var(--cream); }
.section--alt .sector-card { background: var(--paper); }
.sector-card h3 { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.15; margin-bottom: 8px; }
.sector-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* People */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 32px; margin-top: 48px; }
.person-card a { display: block; text-decoration: none; }
.person-card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); margin-bottom: 20px; }
.person-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(.3); transition: transform 1s var(--ease), filter .6s; }
.person-card a:hover img { transform: scale(1.04); filter: none; }
.person-card h3 { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; }
.person-card p { margin: 6px 0 0; color: var(--ink-soft); font-size: .92rem; }
.person-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-contact { display: grid; gap: 12px; margin-top: 32px; }
.spaced { margin-top: 56px; }

/* Insights */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 32px; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.post-card-img { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 20px; background: var(--sand); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card a:hover img { transform: scale(1.04); }
.post-card time { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.post-card h3 { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.15; margin: 10px 0 12px; }
.post-card p { color: var(--ink-soft); font-size: .96rem; }
.post-card .link-arrow { margin-top: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-list { border-top: 1px solid var(--line); margin-bottom: 28px; }
.contact-list li { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--burgundy); margin-top: 3px; }
.contact-list strong { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 4px; }
.contact-list a { font-size: 1.08rem; }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
  font: inherit; color: var(--ink); transition: border-color .3s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23231F1C' stroke-width='1.5'/%3E%3C/svg%3E") right center / 18px no-repeat; cursor: pointer; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--burgundy); box-shadow: 0 1px 0 var(--burgundy); }
.field [aria-invalid="true"] { border-bottom-color: #B3261E; }
.field-error { margin: 0; color: #B3261E; font-size: .86rem; }
.form-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.form-footer p { margin: 0; max-width: 40ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 16px; align-items: center; padding: 18px 22px; margin-bottom: 32px; border: 1px solid; }
.notice p { margin: 0; }
.notice--success { border-color: rgba(30, 43, 74, .3); background: rgba(91, 134, 214, .08); }
.notice--error { border-color: rgba(179, 38, 30, .35); background: rgba(179, 38, 30, .06); color: #8C1D18; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .skyline img { clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .capabilities li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .capabilities li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .brand img { height: 26px; }
  .hero-bottom, .page-hero-grid, .section-head--split, .firm-grid, .founder-grid, .faq-grid, .cta-inner,
  .content-grid, .contact-grid, .sector-block, .person-hero { grid-template-columns: 1fr; }
  .hero-bottom, .page-hero-grid { gap: 28px; }
  .hero-actions { justify-content: flex-start; }
  .firm-grid { gap: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-row { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 16px 18px; }
  .service-summary { grid-column: 2 / 3; }
  .service-arrow { grid-row: 1; grid-column: 3; width: 44px; height: 44px; }
  .service-cards, .sector-cards, .sector-columns { grid-template-columns: 1fr; }
  .content-aside, .sector-block-head { position: static; }
  .founder-photo { max-width: 460px; }
  .person-photo { max-width: 380px; }
  .faq-a { padding-right: 0; }
}
@media (max-width: 600px) {
  .capabilities { grid-template-columns: 1fr; }
  .capabilities li:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps, .highlight-grid, .post-grid, .footer-top { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .recognition-card { flex-direction: column; align-items: flex-start; padding: 28px; }
  .skyline { padding-left: 0; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Refinements ---------- */
/* Cormorant defaults to old-style figures ("10" reads like "IO"); use lining figures everywhere. */
body, .display-1, .display-2, .hero-title, .statement, .h3, .stat-value, .aside-facts dd { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.stat-value { white-space: nowrap; font-size: clamp(2.3rem, 3.8vw, 3.6rem); }
/* Consecutive sections on the same background: avoid doubled spacing. */
.firm + .services-index, .services-index + .approach { padding-top: 0; }
.firm { padding-bottom: clamp(72px, 9vw, 130px); }
.services-index { padding-bottom: clamp(72px, 9vw, 130px); }
.recognition + .faq-teaser, .recognition + .insights-teaser, .insights-teaser + .faq-teaser { padding-top: 0; }
/* Hero text animates with pure CSS (no JS wait) so it paints immediately for LCP. */
.hero-anim { animation: hero-in 1.1s var(--ease) both; }
.hero-title.hero-anim, .hero-visual.hero-anim { animation-delay: .08s; }
.hero-bottom.hero-anim { animation-delay: .22s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }

/* Clients grouped by sector */
.clients { padding-bottom: clamp(56px, 7vw, 96px); }
.clients .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.client-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 80px); }
.client-group { background: var(--cream); padding: 30px 28px 32px; }
.client-group-title { font: 600 .72rem/1.4 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 18px; }
.client-group li + li { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.client-name { display: block; font-family: var(--f-display); font-size: 1.55rem; line-height: 1.15; text-decoration: none; }
.client-sector { display: block; margin-top: 4px; font-size: .86rem; color: var(--ink-soft); }
.client-group { display: flex; flex-direction: column; }
.client-group-text { margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); font-size: .9rem; line-height: 1.6; color: var(--ink-2); }

/* Back-to-top button */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 45;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(35, 31, 28, .35);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s, color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--burgundy); color: var(--cream); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 1.5; }
.to-top-ring { stroke: var(--line); }
.to-top-progress { stroke: var(--burgundy); transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top-progress { stroke: var(--gold); }
.to-top .to-top-arrow { position: static; width: 20px; height: 20px; transform: none; transition: transform .35s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }
body.menu-open .to-top { opacity: 0; visibility: hidden; }
@media print { .to-top { display: none; } }

/* Cookie consent (bottom-left) */
.cookie-banner {
  position: fixed; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 60;
  width: min(420px, calc(100% - 32px)); padding: 24px 24px 22px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(35, 31, 28, .35);
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cookie-icon { width: 22px; height: 22px; color: var(--burgundy); flex: none; }
.cookie-title { margin: 0; font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; }
.cookie-text { margin: 0 0 18px; font-size: .88rem; line-height: 1.6; color: var(--ink-2); }
.cookie-text a { color: var(--burgundy); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1 1 0; justify-content: center; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.link-button:hover { color: var(--gold); }
body.cookie-open .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
}
@media print { .cookie-banner { display: none !important; } }

/* Selected clients: logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-tile { display: grid; place-items: center; min-height: 150px; padding: 32px 28px; background: var(--paper); transition: background .4s var(--ease); }
.logo-tile a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-tile img { width: auto; height: auto; max-width: 170px; max-height: 64px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .7; transition: filter .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease); }
.logo-tile:hover { background: var(--cream); }
.logo-tile:hover img { filter: none; opacity: 1; transform: scale(1.03); }
.clients .logo-tile { background: var(--cream); }
.clients .logo-tile:hover { background: var(--paper); }
@media (max-width: 600px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { min-height: 110px; padding: 22px 16px; }
  .logo-tile img { max-width: 130px; max-height: 48px; }
}

/* Logo grid v2: separate cards, last row centred (no empty grey cells), balanced logo sizes */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; background: none; border: 0; }
.logo-tile { flex: 0 0 calc((100% - 5 * 14px) / 6); min-height: 128px; padding: 26px 22px; border: 1px solid var(--line); }
.logo-tile img { max-width: 140px; max-height: 58px; }
@media (max-width: 1100px) { .logo-tile { flex-basis: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 700px) { .logo-tile { flex-basis: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 480px) {
  .logo-grid { gap: 10px; }
  .logo-tile { flex-basis: calc((100% - 10px) / 2); min-height: 100px; padding: 18px 14px; }
  .logo-tile img { max-width: 120px; max-height: 46px; }
}
.logo-tile img { opacity: .85; filter: grayscale(1) contrast(1.2) brightness(.92); }

/* ---------- News (compact) ---------- */
.news-head { padding: calc(var(--header-h) + 32px) 0 0; }
.news-head .breadcrumbs { margin-bottom: 18px; }
.news-index { padding: 0 0 clamp(64px, 8vw, 110px); }
.news-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.05; margin-bottom: 14px; }
.news-title em { color: var(--burgundy); font-weight: 400; }
.news-intro { margin: 0 0 8px; max-width: 60ch; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 12px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.news-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.news-meta-item svg { width: 15px; height: 15px; }
.news-featured { margin-top: clamp(28px, 4vw, 44px); }
.news-featured a { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; padding: clamp(18px, 2.4vw, 28px); background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease); }
.news-featured a:hover { border-color: var(--line-strong); box-shadow: 0 24px 50px -30px rgba(35, 31, 28, .35); color: inherit; }
.news-featured-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-featured a:hover img { transform: scale(1.03); }
.news-featured h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.1; margin: 0 0 14px; }
.news-featured p { color: var(--ink-2); margin: 0 0 6px; }
.news-featured .link-arrow { margin-top: 16px; }
.news-index .post-grid { margin-top: 28px; }
/* cards: no top rule, image + body */
.post-card a { padding-top: 0; border-top: 0; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease); }
.post-card a:hover { border-color: var(--line-strong); box-shadow: 0 20px 40px -28px rgba(35, 31, 28, .35); color: inherit; }
.post-card-img { margin-bottom: 0; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card h3 { margin: 4px 0 10px; }
.post-card time { font-size: inherit; letter-spacing: inherit; }

/* article */
.article { padding: 0 0 clamp(56px, 7vw, 96px); }
.article-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.06; margin: 0 0 16px; }
.article-lead { margin: 0; }
.article-cover { margin-top: clamp(24px, 3.5vw, 40px); margin-bottom: clamp(28px, 4vw, 48px); max-width: calc(1040px + var(--gutter) * 2); }
.article-cover img { width: 100%; height: auto; border: 1px solid var(--line); }
.article-body { margin-top: 0; }
.article-body > p:first-child { font-family: var(--f-sans); font-size: inherit; color: var(--ink-2); }
.article-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.like-button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 100px; background: transparent; color: var(--ink); font: 600 .82rem/1 var(--f-sans); letter-spacing: .06em; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .2s; }
.like-button svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.like-button:hover { border-color: var(--burgundy); color: var(--burgundy); }
.like-button:active svg { transform: scale(1.25); }
.like-button.is-liked { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.like-button.is-liked svg path { fill: currentColor; }
.like-count { padding-left: 10px; border-left: 1px solid currentColor; opacity: .8; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.share-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.copy-done { font-size: .82rem; color: var(--burgundy); }
@media (max-width: 860px) {
  .news-featured a { grid-template-columns: 1fr; }
  .article-actions { flex-direction: column; align-items: flex-start; }
}
.article-cover { max-width: calc(920px + var(--gutter) * 2); }

/* Contact form verification code */
.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.captcha img { display: block; width: 190px; height: 60px; border: 1px solid var(--line, #E4DCD2); border-radius: 4px; background: #FAF5EE; user-select: none; }
.captcha-refresh { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line, #E4DCD2); border-radius: 50%; background: transparent; color: var(--burgundy); cursor: pointer; transition: transform .3s ease, background-color .2s ease; }
.captcha-refresh:hover { background: rgba(122, 22, 32, .06); transform: rotate(90deg); }
.captcha-refresh svg { width: 20px; height: 20px; }
.captcha input { flex: 1 1 180px; min-width: 0; max-width: 260px; text-transform: uppercase; letter-spacing: .2em; }
.captcha input::placeholder { text-transform: none; letter-spacing: normal; }

/* Memberships */
.membership-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.membership-card { background: #fff; border: 1px solid var(--line); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.membership-card:hover { border-color: rgba(122, 22, 32, .35); box-shadow: 0 14px 34px -22px rgba(40, 20, 20, .45); transform: translateY(-2px); }
.membership-card > a, .membership-card > .membership-logo { color: inherit; text-decoration: none; }
.membership-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.membership-logo { display: grid; place-items: center; height: 190px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.membership-logo img { max-width: 100%; max-height: 136px; width: auto; height: auto; object-fit: contain; }
.membership-video { display: block; width: 100%; height: 100%; max-height: 142px; object-fit: contain; object-position: center; background: #fff; }
.membership-text { padding: 22px 26px 26px; text-align: center; }
.membership-text h3 { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.15; margin: 0 0 6px; }
.membership-text p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.memberships + .recognition { padding-top: 0; }
@media (max-width: 640px) {
  .membership-logo { height: 140px; }
  .membership-logo img { max-height: 96px; }
  .membership-video { max-height: 100px; }
}

/* Offices (footer) */
.footer-office { display: grid; gap: 2px; }
.footer-office-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }

/* Developer credit */
.footer-credit a { color: rgba(248, 245, 239, .75); text-decoration: none; border-bottom: 1px solid rgba(248, 245, 239, .25); }
.footer-credit a:hover { color: var(--cream); border-bottom-color: var(--cream); }
