/* Self-hosted fonts (latin + latin-ext) */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-400i-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-400i-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cormorant-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cormorant-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/cormorant-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/cormorant-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/cormorant-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/cormorant-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/opensans-400i-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/opensans-400i-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/opensans-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/opensans-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/opensans-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/opensans-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/opensans-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/opensans-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/opensans-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/opensans-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #101211;
  --surface: #191c1a;
  --surface-2: #1e211f;
  --border: #2b2f2c;
  --border-strong: #3d423e;
  --text: #f2efe8;
  --muted: #a8a99f;
  --subtle: #73756c;
  --accent: #ff6a58;
  --accent-hover: #ff8371;
  --accent-subtle: #421310;
  --ink: #141210;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader::before {
  content: "";
  position: absolute;
  width: 62vw;
  height: 62vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(255, 106, 88, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 1.3s ease;
}
.loader.is-in::before { opacity: 1; }
.loader.is-out { transform: translateY(-100%); }
.loader__clip { overflow: hidden; display: inline-block; padding-bottom: 0.16em; position: relative; }
.loader__mark {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
  transform: translateY(118%);
}
.loader__mark .dot { color: var(--accent); display: inline-block; transform: scale(0); transform-origin: 50% 78%; }
.loader.is-in .loader__mark { transform: translateY(0); transition: transform 0.95s cubic-bezier(0.19, 1, 0.22, 1); }
.loader.is-in .loader__mark .dot { transform: scale(1); transition: transform 0.55s cubic-bezier(0.34, 1.5, 0.5, 1) 0.6s; }
@media (prefers-reduced-motion: reduce) {
  .loader__mark { transform: none; }
  .loader__mark .dot { transform: scale(1); }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, sans-serif;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0; }
img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  height: 46px;
  padding: 0 26px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-2); color: var(--text); }
.btn-lg { height: 54px; padding: 0 32px; font-size: 1rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding-top: 22px;
  pointer-events: none;
}
.header-inner {
  width: fit-content;
  min-width: 240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: auto;
  background: rgba(20, 22, 21, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 8px 10px 8px 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.wordmark {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--text);
}
.wordmark span { color: var(--accent); }
.wordmark .wordmark__sub { color: var(--text); font-weight: 400; letter-spacing: 0; }

.nav-toggle {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 40px;
  padding: 0;
  background: #ece9e1;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #141614;
}

.nav {
  display: none;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn-primary { color: var(--ink); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; border: 1px solid var(--border-strong); border-radius: 999px; padding: 7px 14px; color: var(--muted); transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.lang-switch svg { flex: none; }
.lang-switch:hover { color: var(--text); border-color: var(--text); }
.mobile-nav a.lang-switch--mobile { display: inline-flex; align-items: center; gap: 6px; justify-content: center; width: fit-content; background: transparent; border: 1px solid var(--border-strong); color: var(--muted); }
.mobile-nav a.lang-switch--mobile:hover { background: transparent; color: var(--text); border-color: var(--text); }

.mobile-nav {
  position: fixed;
  top: 74px;
  left: 16px;
  right: 16px;
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }
@media (min-width: 560px) {
  .mobile-nav { left: 50%; right: auto; transform: translateX(-50%); width: 340px; }
}
.mn-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.mn-brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--text);
}
.mn-brand span { color: var(--accent); }
.mn-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 4px;
  background: #ece9e1;
  color: #141614;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.mn-close:hover { background: #fff; }
.mobile-nav a {
  display: block;
  background: #ece9e1;
  color: #141614;
  border-radius: 4px;
  padding: 11px 16px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
}
.mobile-nav a:hover { background: #fff; color: #141614; }
.mobile-nav a[aria-current="page"] { background: var(--accent); color: var(--ink); }
.mobile-nav .btn {
  margin: 4px 0 0;
  background: var(--accent);
  color: var(--ink);
  width: 100%;
}

.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-divider { border-top: 1px solid var(--border); }
.section-alt { background: #151816; }

.hero { padding: 112px 0 68px; }
.hero h1 {
  font-size: clamp(2.05rem, 6.2vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 17ch;
}
.hero .lead {
  margin-top: 28px;
  max-width: 54ch;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}
.hero .lead + .lead { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.section-intro {
  margin-top: 44px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.prose { max-width: 66ch; }
.prose p + p { margin-top: 24px; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose .strong { color: var(--text); }

.solve {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 88px;
}
.solve.two { grid-template-columns: 1fr; }
.solve-item { background: var(--bg); padding: 30px 26px; }
.solve-item h3 { font-size: 1.2rem; font-weight: 600; }
.solve-item p { margin-top: 12px; color: var(--muted); }

.accordion { margin-top: 80px; border-top: 1px solid var(--border); }
.accordion details {
  border-bottom: 1px solid var(--border);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 22px;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
}
.accordion details[open] summary::after { content: "\2013"; }
.accordion .answer {
  padding: 0 44px 26px 0;
  color: var(--muted);
  max-width: 68ch;
}

.methodology {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
.methodology li {
  counter-increment: step;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  display: flex;
  gap: 16px;
  align-items: center;
}
.methodology li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.methodology li:last-child { border-bottom: 1px solid var(--border); }

@media (min-width: 900px) {
  .methodology { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(3, auto); column-gap: 48px; max-width: 1040px; margin-left: auto; margin-right: auto; margin-top: 72px; }
  .methodology li { white-space: nowrap; }
  .methodology li:nth-child(3) { border-bottom: 1px solid var(--border); }
}




.carousel { position: relative; margin-top: 68px; }
.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.quotes { margin-top: 0; }
.quote {
  scroll-snap-align: start;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: calc((100% - 20px) / 2);
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}
@media (max-width: 679px) { .quote { width: 100%; } }
.carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.carousel__nav { display: flex; gap: 12px; flex: none; }
.carousel__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #141210; border: 1px solid var(--accent); cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.carousel__btn:hover { background: var(--accent-strong, var(--accent)); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,106,88,0.28); }
.carousel__btn svg { width: 16px; height: 16px; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; }
.carousel__dots button:hover { background: var(--subtle); }
.carousel__dots button[aria-current="true"] { background: var(--accent); transform: scale(1.35); }

/* Our Work — sticky stacking service cards */
.work-stack-section { padding: 56px 0 72px; }
.work-stack { position: relative; display: flex; flex-direction: column; gap: 30px; }
.work-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 44px 46px;
  overflow: hidden;
  will-change: transform;
  box-shadow: 0 12px 34px rgba(0,0,0,0.3);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.work-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.work-card:hover { border-color: var(--border-strong); box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.work-card:hover::before { transform: scaleX(1); }
.work-card__num {
  display: block;
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.05em;
  color: var(--accent); margin-bottom: 14px;
}
.work-card .section-title { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.35rem); overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
.work-card__body > *:first-child { margin-top: 0; }
.work-card__sub { font-family: "Cormorant Garamond", serif; font-size: 1.15rem; font-weight: 500; margin: 30px 0 14px; }
.work-card__body .prose:first-child { margin-top: 0; }
.work-card__list { color: var(--muted); padding-left: 20px; }
.work-card__body p.prose { color: var(--muted); }
@media (min-width: 900px) {
  .work-card {
    display: grid;
    grid-template-columns: minmax(230px, 0.82fr) 1.7fr;
    gap: 52px;
    padding: 52px 56px;
  }
  .work-card__head { align-self: start; }
  .work-card .section-title { margin-top: 8px; }
}
@media (max-width: 899px) {
  .work-card { position: static; }
  .work-stack { gap: 22px; }
  .work-card__head { margin-bottom: 22px; }
}
.quote p {
  font-size: 1.02rem;
  line-height: 1.5;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--subtle);
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.article-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  margin-top: 40px;
}
@media (min-width: 720px) { .article-cards--two { grid-template-columns: 1fr 1fr; gap: 72px; } }
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.article-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 56px rgba(0,0,0,0.4); }
.article-card:hover::before { transform: scaleX(1); }
.article-meta {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--subtle);
  text-transform: uppercase;
}
.article-card h3 {
  margin-top: 16px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
}
.article-card p { margin-top: 14px; color: var(--muted); flex: 1; }
.article-card .textlink { margin-top: 22px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.filter {
  height: 40px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.filter:hover { border-color: var(--border-strong); color: var(--text); }
.filter--active { border-color: var(--accent); color: var(--accent); }
.filter--active:hover { color: var(--accent); border-color: var(--accent); }

.insights-eyebrow {
  display: inline-block;
  font-family: "Open Sans", sans-serif; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

.featured-card {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: 4px; overflow: clip;
  background: var(--surface); position: relative;
  transition: transform 0.45s cubic-bezier(0.19,1,0.22,1), border-color 0.3s ease, box-shadow 0.4s ease;
}
.featured-card::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 3; transition: width 0.6s cubic-bezier(0.19,1,0.22,1); }
.featured-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.featured-card:hover::before { width: 100%; }
.featured-card__media { position: relative; overflow: hidden; min-height: 240px; }
.featured-card__media .ph-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; }
.featured-card:hover .featured-card__media .ph-img { transform: scale(1.05); }
.featured-card__body { padding: 40px 44px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.featured-card__tag { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.featured-card__body .article-meta { color: var(--subtle); }
.featured-card__body h2 { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.12; margin: 14px 0 0; }
.featured-card__body p { color: var(--muted); margin: 18px 0 0; max-width: 46ch; }
.featured-card__body .textlink { margin-top: 26px; }
.article-cards { margin-top: 68px; }
.featured-list { display: flex; flex-direction: column; gap: 40px; margin-top: 68px; }
@media (min-width: 860px) {
  .featured-card { grid-template-columns: 1.12fr 1fr; }
  .featured-card__media { min-height: 400px; }
  .article-cards { margin-top: 80px; }
  .featured-card--flip { grid-template-columns: 1fr 1.12fr; }
  .featured-card--flip .featured-card__media { order: 2; }
  .featured-card--flip::before { left: auto; right: 0; }
}

/* Knowledge Hub — editorial index */
.kh-index-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 76px 0 4px; padding-bottom: 18px; border-bottom: 2px solid var(--text); }
.kh-index-head h2 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0; letter-spacing: -0.01em; }
.kh-count { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); white-space: nowrap; }
.kh-index { list-style: none; margin: 0; padding: 0; }
.kh-row { position: relative; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 30px; padding: 32px 10px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); transition: background 0.4s ease, padding 0.4s ease; }
.kh-row:hover { background: var(--surface); padding-left: 22px; padding-right: 22px; }
.kh-row__no { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 0.95rem; color: var(--subtle); transition: color 0.35s ease; }
.kh-row:hover .kh-row__no { color: var(--accent); }
.kh-row__title { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.85rem); letter-spacing: -0.01em; line-height: 1.14; margin: 0; transition: color 0.35s ease; }
.kh-row:hover .kh-row__title { color: var(--accent); }
.kh-row__dek { margin: 10px 0 0; color: var(--muted); max-width: 58ch; font-size: 0.98rem; line-height: 1.55; }
.kh-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; justify-self: end; text-align: right; }
.kh-row__cat { font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--subtle); white-space: nowrap; }
.kh-row__chev { color: var(--subtle); margin-top: 6px; transition: transform 0.35s ease, color 0.35s ease; }
.kh-row:hover .kh-row__chev { color: var(--accent); transform: translateX(6px); }
.kh-row__thumb { position: absolute; right: 260px; top: 50%; width: 154px; height: 98px; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(26px) scale(0.96); transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.19,1,0.22,1); z-index: 2; }
.kh-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kh-row:hover .kh-row__thumb { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
@media (max-width: 820px) {
  .kh-index-head { margin-top: 54px; }
  .kh-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
  .kh-row:hover { padding: 24px 0; background: transparent; }
  .kh-row__meta { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 16px; margin-top: 12px; }
  .kh-row__chev { display: none; }
  .kh-row__thumb { display: none; }
}

.pagination {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 48px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--subtle);
}
.pagination a { color: var(--text); }
.pagination span[aria-current] { color: var(--accent); }

.cta-panel {
  background: var(--accent-subtle);
  border-radius: 4px;
  padding: 52px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.cta-panel h2 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; max-width: 24ch; }

.article-header.wrap-narrow { padding-top: 120px; padding-bottom: 48px; text-align: center; }
.article-header > * { margin-left: auto; margin-right: auto; }
.article-header .back-link { display: inline-block; margin-bottom: 32px; }
.article-header .article-meta { margin-bottom: 26px; color: var(--accent); letter-spacing: 0.14em; }
.article-header h1 { font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.005em; max-width: 20ch; }
.article-header .standfirst {
  margin-top: 30px;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
  max-width: 54ch;
}
.back-link {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}
.back-link:hover { color: var(--accent); }

.article-body { padding-bottom: 40px; font-size: 1.15rem; }
.article-body > p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  margin: 0.05em 0.12em 0 0;
  color: var(--accent);
}
.article-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 72px 0 22px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.article-body h3 {
  font-size: 1.28rem;
  font-weight: 600;
  margin: 44px 0 14px;
}
.article-body p { margin: 0 0 26px; color: var(--text); font-size: 1.15rem; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 26px; padding-left: 26px; color: var(--text); list-style: none; }
.article-body ol { list-style: decimal; padding-left: 24px; }
.article-body ul li { position: relative; margin-bottom: 16px; line-height: 1.65; padding-left: 4px; }
.article-body ul li::before { content: ""; position: absolute; left: -22px; top: 0.62em; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.article-body ol li { margin-bottom: 16px; line-height: 1.65; padding-left: 6px; }
.article-body blockquote {
  margin: 44px 0;
  padding: 8px 0 8px 30px;
  border-left: 3px solid var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
}
.article-body strong { color: var(--text); font-weight: 600; }

.point-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 20px 0 34px;
}
.point-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
}
.point-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.point-card p { margin: 0; color: var(--muted); font-size: 1rem; }

.article-foot {
  margin-top: 40px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--border);
}
.article-foot p { color: var(--muted); margin-bottom: 20px; font-size: 1.1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 56px;
}
.contact-details dt {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-top: 24px;
}
.contact-details dd { margin: 6px 0 0; font-size: 1.1rem; }
.contact-details dd:first-of-type { margin-top: 6px; }
.contact-heading { font-size: 1.5rem; font-weight: 700; }
.contact-heading--form { margin-bottom: 24px; }

.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 500; }
.field .opt { color: var(--subtle); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  margin-top: 24px;
  overflow: hidden;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.footer-brand .wordmark { font-size: 1.4rem; }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 34ch; }
.footer-nav h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 400;
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: var(--muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--text); }
.footer-frame {
  max-width: 1440px;
  margin: 48px auto 0;
  padding: 22px 24px 32px;
  border: 1px solid var(--border);
  border-bottom: 0;
  position: relative;
  z-index: 2;
}
.footer-copy {
  margin: 0;
  text-align: center;
  color: var(--subtle);
  font-size: 0.85rem;
}
.footer-brandword {
  display: block;
  margin: 10px 0 -0.3em;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.78;
  font-size: 23vw;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(to bottom, #2c2f2b 0%, #1b1e1b 68%, #131512 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) { .footer-brandword { font-size: 21vw; margin-bottom: -0.24em; } }

@media (min-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 32px; }
  .article-header.wrap-narrow { padding-top: 208px; padding-bottom: 64px; }
  .site-header { padding-top: 30px; }
  .hero { padding: 140px 0 96px; }
  .section { padding: 124px 0; }
  .section-tight { padding: 84px 0; }
  .solve { grid-template-columns: repeat(3, 1fr); }
  .solve.two { grid-template-columns: repeat(2, 1fr); }
  .article-cards { grid-template-columns: repeat(2, 1fr); gap: 80px; }
  .cta-panel { flex-direction: row; align-items: center; justify-content: space-between; }
  .point-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ---- Media ---- */
.ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #151816;
  filter: contrast(1.02);
}

.hero.hero--media {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: contrast(1.04) brightness(0.5);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 20% 40%, rgba(255, 106, 88, 0.10), transparent 60%),
    linear-gradient(to bottom, rgba(16, 18, 17, 0.5) 0%, rgba(16, 18, 17, 0.72) 60%, rgba(16, 18, 17, 0.95) 100%);
}
.hero.hero--media .wrap { position: relative; z-index: 2; }

/* ---- Cinematic film hero ---- */
.hero.hero--film { padding: 0; position: relative; background: var(--bg); overflow: clip; }
.hero--film .hero-stage { position: relative; min-height: 108vh; min-height: 108svh; overflow: hidden; background: var(--bg); }
.hero--film .hero-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(78% 70% at 74% 28%, rgba(255, 106, 88, 0.16), transparent 60%); will-change: transform, opacity; }
.hero--film .hero-media { position: absolute; z-index: 1; margin: 0; top: -8%; right: -6%; width: 76%; height: 100%; will-change: transform;
  -webkit-mask-image: radial-gradient(118% 96% at 82% 30%, #000 40%, transparent 76%);
  mask-image: radial-gradient(118% 96% at 82% 30%, #000 40%, transparent 76%); }
.hero--film .hero-media__img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.05) brightness(0.62); }
.hero--film .hero-veil { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,18,17,0.94) 0%, rgba(16,18,17,0.7) 32%, rgba(16,18,17,0.16) 64%, transparent 100%),
    linear-gradient(to bottom, transparent 42%, rgba(16,18,17,0.82) 96%); }
.hero--film .hero-frame { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; max-width: 1440px; margin: 0 auto; padding: 0 32px 16vh; }
.hero-title { font-family: "Cormorant Garamond", serif; font-weight: 700; letter-spacing: -0.005em; line-height: 1.0; font-size: clamp(3rem, 9vw, 7.4rem); max-width: 15ch; margin: 0; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 52px; max-width: none; }
.hero-note { margin: 0; max-width: 42ch; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }
.hero-cta { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1rem; white-space: nowrap; }
.hero-scrollcue { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); width: 1px; height: 56px; background: linear-gradient(var(--border-strong), transparent); overflow: hidden; }
.hero-scrollcue span { position: absolute; top: 0; left: 0; width: 100%; height: 42%; background: var(--accent); animation: heroCue 2.4s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
@keyframes heroCue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(340%); } }
@media (max-width: 820px) {
  .hero--film .hero-media { top: 0; right: 0; width: 100%; height: 60%;
    -webkit-mask-image: radial-gradient(140% 86% at 70% 16%, #000 42%, transparent 82%);
    mask-image: radial-gradient(140% 86% at 70% 16%, #000 42%, transparent 82%); }
  .hero--film .hero-veil { background: linear-gradient(to bottom, rgba(16,18,17,0.3) 0%, rgba(16,18,17,0.68) 50%, var(--bg) 92%); }
  .hero--film .hero-frame { padding: 0 20px 12vh; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hero-scrollcue { display: none; } }

.media-band {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 6.2;
  border: 1px solid var(--border);
}
.media-band .ph-img { transition: filter 0.6s ease; }
.media-band:hover .ph-img { filter: contrast(1.05) brightness(0.98); }

.card-media {
  margin: -30px -30px 22px;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.card-media .ph-img { transition: filter 0.4s ease, transform 0.5s ease; }
.article-card { overflow: clip; }
.article-card:hover .card-media .ph-img { filter: contrast(1.03); transform: scale(1.05); }

.article-hero-media {
  width: 100%;
  max-width: 1180px;
  margin: 20px auto 64px;
  padding: 0 20px;
}
.article-hero-media .frame {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--border);
}

/* Inline editorial figures within article bodies */
.article-figure { margin: 48px 0; }
.article-figure__frame { border-radius: 4px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 8.4; background: var(--surface); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(0.19,1,0.22,1), filter 0.6s ease; }
.article-figure:hover img { transform: scale(1.04); }
.article-figure figcaption { margin-top: 14px; font-size: 0.9rem; line-height: 1.5; color: var(--subtle); font-style: italic; max-width: 48ch; }
.article-figure--portrait { display: flex; flex-direction: column; align-items: center; text-align: center; }
.article-figure--portrait .article-figure__frame { aspect-ratio: 4 / 5; width: min(74%, 420px); }
.article-figure--portrait figcaption { text-align: center; }
.article-figure--tall .article-figure__frame { aspect-ratio: 3 / 2; }
@media (min-width: 940px) {
  .article-figure--bleed { margin-left: -88px; margin-right: -88px; }
  .article-figure--bleed .article-figure__frame { aspect-ratio: 16 / 7; }
}
@media (max-width: 620px) {
  .article-figure { margin: 34px 0; }
  .article-figure--portrait .article-figure__frame { width: 100%; }
}

.credit { color: var(--subtle); }

/* Cookie consent — corner card */
.cookie-bar {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 200;
  width: min(360px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 26px 24px;
  background: rgba(22, 24, 22, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: translateY(140%) scale(0.98);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.19,1,0.22,1), opacity 0.4s ease;
}
.cookie-bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 75%); }
.cookie-bar.is-in { transform: none; opacity: 1; }
.cookie-bar__eyebrow { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.cookie-bar__text { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.cookie-bar__actions { display: flex; gap: 10px; margin-top: 22px; width: 100%; }
.cookie-bar__btn { height: 44px; padding: 0 20px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 0.9rem; cursor: pointer; }
.btn-primary.cookie-bar__btn { flex: 1; }
.cookie-bar__btn--ghost { flex: none; background: transparent; border: 1px solid var(--border-strong); color: var(--muted); transition: color 0.3s ease, border-color 0.3s ease; }
.cookie-bar__btn--ghost:hover { color: var(--text); border-color: var(--text); }
@media (max-width: 480px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: opacity 0.3s ease; transform: none; }
}

.rv-wipe { opacity: 0; clip-path: inset(0 0 108% 0); transition: clip-path 0.95s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.55s ease; }
.rv-wipe.in { opacity: 1; clip-path: inset(0 0 -12% 0); }
.rv-rise { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease var(--d, 0ms), transform 0.85s cubic-bezier(0.19, 1, 0.22, 1) var(--d, 0ms); }
.rv-rise.in { opacity: 1; transform: none; }
.rv-slide { opacity: 0; transform: translateY(30px) scale(0.985); transition: opacity 0.7s ease var(--d, 0ms), transform 0.85s cubic-bezier(0.19, 1, 0.22, 1) var(--d, 0ms); }
.rv-slide.in { opacity: 1; transform: none; }
.rv-pop { opacity: 0; transform: scale(0.94) translateY(14px); transition: opacity 0.55s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.34, 1.35, 0.5, 1) var(--d, 0ms); }
.rv-pop.in { opacity: 1; transform: none; }
.rv-line { opacity: 0; transform: translateX(-24px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.75s cubic-bezier(0.19, 1, 0.22, 1) var(--d, 0ms); }
.rv-line.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv-wipe, .rv-rise, .rv-slide, .rv-pop, .rv-line { opacity: 1; transform: none; clip-path: none; transition: none; }
}

.mobile-nav {
  transform: translateY(-24px);
  opacity: 0;
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 560px) {
  .mobile-nav { transform: translateX(-50%) translateY(-24px); }
  .mobile-nav.open { transform: translateX(-50%) translateY(0); }
}

@supports (corner-shape: squircle) {
  *,
  *::before,
  *::after {
    corner-shape: squircle;
  }
}

@media (min-width: 720px) {
  .article-hero-media { padding: 0 32px; }
}

/* Header settles on scroll */
.site-header { transition: padding-top 0.35s ease; }
.header-inner { transition: padding 0.35s ease, background 0.35s ease, gap 0.3s ease; }
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .header-inner { padding: 6px 8px 6px 20px; background: rgba(22, 24, 22, 0.82); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }

/* Editorial chapter layout */
.who { display: grid; grid-template-columns: 1fr; gap: 32px; }
.who__eyebrow { display: inline-block; font-family: "Open Sans", sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.who__media { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; }
.who__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who__statement { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.16; letter-spacing: -0.02em; color: var(--accent); margin: 0; max-width: 20ch; }
.who__prose { max-width: 52ch; }
@media (min-width: 900px) {
  .who {
    grid-template-columns: 1.15fr 0.85fr;
    column-gap: 88px;
    row-gap: 52px;
    align-items: start;
    grid-template-areas: "head media" "statement media" "prose media";
  }
  .who__head { grid-area: head; }
  .who__statement { grid-area: statement; align-self: center; }
  .who__prose { grid-area: prose; }
  .who__media { grid-area: media; height: 100%; aspect-ratio: auto; min-height: 560px; position: sticky; top: 120px; }
}

.media-band--portrait { aspect-ratio: 5 / 6; }
.chapter__media { aspect-ratio: 4 / 5; }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .media-band--portrait { height: 100%; aspect-ratio: auto; } }

/* Micro-interactions per component family */
.textlink { transition: gap 0.28s cubic-bezier(0.19, 1, 0.22, 1), color 0.2s ease; }
.textlink:hover { gap: 15px; color: var(--accent-hover); }

.article-card { position: relative; transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease; }
.article-card::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 3; transition: width 0.55s cubic-bezier(0.19, 1, 0.22, 1); }
.article-card:hover { border-color: var(--border-strong); }
.article-card:hover::before { width: 100%; }

.quote { position: relative; transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease; }
.quote::before { content: "\201C"; position: absolute; top: 4px; left: 22px; font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--accent); opacity: 0.16; pointer-events: none; }
.quote p { position: relative; }
.quote:hover { transform: translateY(-4px); border-color: var(--border-strong); }

.solve-item { transition: background 0.35s ease; }
.solve-item:hover { background: var(--surface); }

/* Editorial composition — "What families ask us to solve" */
.solve-editorial { display: grid; grid-template-columns: 1fr; gap: 44px; margin-top: 60px; }
.editorial-col { display: flex; flex-direction: column; gap: 20px; position: relative; }
.editorial-text { display: flex; flex-direction: column; gap: 14px; }
.editorial-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: "Cormorant Garamond", serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }
.editorial-col h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.editorial-col p { margin: 0; color: var(--muted); max-width: 34ch; }
.editorial-media { border-radius: 4px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 5; }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 0.6s ease; }
.editorial-col:hover .editorial-media img { filter: contrast(1.03) brightness(1.02); }
@media (max-width: 899px) { .editorial-col:not(:last-child) { padding-bottom: 40px; border-bottom: 1px solid var(--border); } }
.section-title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 22ch; }
/* Our Company — guiding principles */
.principles { display: grid; grid-template-columns: 1fr; margin-top: 88px; }
.principle { position: relative; border-top: 2px solid var(--border); padding: 26px 0 8px; transition: border-color 0.4s ease; }
.principle::after { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.6s cubic-bezier(0.19,1,0.22,1); }
.principle:hover { border-color: transparent; }
.principle:hover::after { width: 100%; }
.principle__no { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.14em; color: var(--accent); }
.principle h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.3rem; margin: 22px 0 12px; }
.principle p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 34ch; }
@media (min-width: 720px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 52px; } }
@media (min-width: 1040px) { .principles { grid-template-columns: repeat(4, 1fr); column-gap: 36px; } }

/* Our Company — What we believe in */
.believe-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.believe-aside .section-title { margin: 24px 0 0; }
.believe-quote { margin: 26px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: "Cormorant Garamond", serif; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.42; color: var(--text); max-width: 40ch; }
.believe-list { display: flex; flex-direction: column; }
.believe-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--border); }
.believe-item:first-child { border-top: 0; padding-top: 0; }
.believe-no { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 0.95rem; color: var(--accent); }
.believe-item p { margin: 0; color: var(--muted); line-height: 1.65; max-width: 60ch; }
@media (min-width: 900px) {
  .believe-grid { grid-template-columns: 0.82fr 1.5fr; gap: 64px; align-items: start; }
}

.section-intro--center { text-align: center; margin-left: auto; margin-right: auto; }
/* layout utilities */
.measure { max-width: 60ch; }
.measure-wide { max-width: 54ch; }
.hero--compact { padding-bottom: 20px; }
.hero--tight { padding-bottom: 24px; }
.section-link { margin-top: 48px; text-align: center; }
.more-link { margin-top: 32px; }
.prose--spaced { margin-top: 28px; }
.doc-updated { margin-top: 40px; color: var(--muted); }
.hero .lead--statement, .lead--statement { color: var(--accent); font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: clamp(1.8rem, 5vw, 3.3rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; }
.chev { display: inline-block; width: 0.9em; height: 0.9em; margin-left: 6px; vertical-align: -0.1em; }

/* Editorial split — left intro / right interactive */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; }
.split-cta { margin-top: 24px; }
.split-aside .section-intro { margin-top: 32px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 38fr 62fr; gap: 72px; align-items: start; }
  .split-aside { position: static; }
  .split-main .accordion { margin-top: 0; }
  .split-main .methodology { margin-top: 0; }
}
@media (min-width: 820px) {
  .solve-editorial { grid-template-columns: repeat(3, 1fr); gap: 72px; margin-top: 84px; align-items: start; }
  .editorial-text { min-height: 190px; }
  .editorial-col:not(:last-child)::after { content: ""; position: absolute; top: 6px; bottom: 6px; right: -36px; width: 1px; background: var(--border); }
}

.accordion summary::after { transition: transform 0.3s ease, color 0.3s ease; }
.accordion summary:hover { color: var(--accent); }
.accordion details[open] summary::after { content: "+"; transform: rotate(45deg); }

.btn-primary:active { transform: translateY(0); }

/* ============================================================
   Phone layer — dedicated small-screen refinements (≤600px)
   Additive only; desktop (min-width) rules are untouched.
   ============================================================ */
@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  /* No word should ever punch through the viewport */
  h1, h2, h3, h4, .hero-title, .section-title, .kh-row__title,
  .featured-card__body h2, .work-card__sub, .believe-quote {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Rhythm — tighten the generous desktop vertical spacing */
  .section { padding: 60px 0; }
  .section-tight { padding: 44px 0; }
  .hero { padding: 104px 0 44px; }

  /* Hero (cinematic film) — right-size the stage and headline for a phone */
  .hero--film .hero-stage { min-height: 92svh; }
  .hero--film .hero-media { height: 56%;
    -webkit-mask-image: radial-gradient(150% 82% at 66% 14%, #000 44%, transparent 84%);
    mask-image: radial-gradient(150% 82% at 66% 14%, #000 44%, transparent 84%); }
  .hero--film .hero-frame { padding: 0 20px 11vh; }
  .hero-title { font-size: clamp(2.35rem, 10vw, 2.9rem); line-height: 1.04; max-width: 18ch; }
  .hero-foot { margin-top: 32px; gap: 20px; }
  .hero-note { font-size: 1.02rem; max-width: none; }
  .hero-cta { font-size: 0.98rem; }
  .hero-scrollcue { height: 44px; bottom: 16px; }

  /* Simple/media heroes */
  .hero.hero--media { min-height: 78vh; }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.7rem); }
  .hero .lead { font-size: 1.05rem; margin-top: 22px; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; min-width: calc(50% - 5px); }

  /* Section headings */
  .section-title { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  .section-intro { margin-top: 26px; font-size: 1.02rem; }

  /* Two-column editorial chapters already stack; tighten media height */
  .who { gap: 26px; }
  .who__media { aspect-ratio: 4 / 3.4; }
  .solve-editorial { gap: 34px; margin-top: 44px; }
  .editorial-media--tall, .editorial-media--wide, .editorial-media--std,
  .editorial-media { aspect-ratio: 16 / 11; }

  /* Cards & grids */
  .article-cards { gap: 40px; margin-top: 40px; }
  .article-card { padding: 24px; }
  .card-media { margin: -24px -24px 20px; height: 168px; }
  .article-card h3 { font-size: 1.2rem; }
  .featured-card__body { padding: 28px 24px; }
  .featured-card__media { min-height: 210px; }
  .point-cards { gap: 14px; }

  /* Our Work — sticky stack becomes calm flat cards on phones */
  .work-stack-section { padding: 40px 0 52px; }
  .work-stack { gap: 18px; }
  .work-card { padding: 30px 24px; }
  .work-card__sub { font-size: 1.05rem; margin: 24px 0 12px; }
  .work-card .section-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }

  /* Guiding principles / believe list */
  .principles { margin-top: 52px; }
  .believe-grid { gap: 34px; }
  .believe-item { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }

  /* CTA panel — 52px desktop padding is far too heavy on a phone */
  .cta-panel { padding: 30px 24px; gap: 22px; border-radius: 4px; }
  .cta-panel h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .cta-panel .btn { width: 100%; justify-content: center; }

  /* Carousel — one card, comfortable controls */
  .carousel { margin-top: 44px; }
  .quote { padding: 24px; }
  .carousel-head { gap: 16px; }
  .carousel__dots { margin-top: 22px; }
  .carousel__dots button { width: 9px; height: 9px; }

  /* Article reading view */
  .article-header.wrap-narrow { padding-top: 104px; padding-bottom: 36px; }
  .article-header h1 { font-size: clamp(1.9rem, 8.2vw, 2.6rem); }
  .article-header .standfirst { font-size: 1.12rem; margin-top: 22px; }
  .article-hero-media { margin: 12px auto 44px; }
  .article-hero-media .frame { aspect-ratio: 4 / 3; }
  .article-body { font-size: 1.06rem; }
  .article-body p { font-size: 1.06rem; line-height: 1.72; margin-bottom: 22px; }
  .article-body h2 { margin: 48px 0 18px; padding-top: 22px; font-size: 1.4rem; }
  .article-body h3 { margin: 34px 0 12px; }
  .article-body > p:first-of-type::first-letter { font-size: 3em; }
  .article-body blockquote { margin: 32px 0; padding-left: 20px; }
  .article-figure { margin: 30px 0; }

  /* Forms — full-width, comfortable tap targets */
  .contact-grid { gap: 36px; margin-top: 40px; }
  .field input, .field select, .field textarea { padding: 14px 15px; font-size: 1rem; }
  .form .btn, .form .btn-lg { width: 100%; justify-content: center; }
  .consent input { width: 22px; height: 22px; }

  /* Touch-target minimums */
  .filter { height: 44px; padding: 0 18px; }
  .mn-close { width: 44px; height: 44px; }
  .footer-nav a { display: inline-block; padding: 4px 0; }
  .footer-nav li { margin-bottom: 6px; }

  /* Footer */
  .site-footer { padding-top: 44px; }
  .footer-top { gap: 30px; }
  .footer-frame { padding: 20px 18px 28px; }

  /* Pagination wraps cleanly */
  .pagination { flex-wrap: wrap; gap: 12px 18px; }
}

@media (max-width: 380px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
  .hero-title { font-size: 2.15rem; }
  .work-card { padding: 26px 20px; }
  .article-card { padding: 20px; }
  .card-media { margin: -20px -20px 18px; }
  .cta-panel { padding: 26px 20px; }
}

/* Classic refinements */
.wordmark { font-size: 1.3rem; font-weight: 600; }
.mn-brand { font-size: 1.3rem; }
.loader__mark { font-weight: 600; }
.hero-title { font-weight: 600; }
.quote p { font-size: 1.3rem; line-height: 1.4; }
.editorial-num, .work-card__num, .insights-eyebrow, .article-meta { font-family: "Open Sans", system-ui, sans-serif; }
.work-card__num, .insights-eyebrow { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; }
.btn { letter-spacing: 0.02em; }
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

.hero--page { min-height: 58vh; padding-top: 140px; }
.hero--page .lead { position: relative; z-index: 2; }
@media (max-width: 600px) { .hero--page { min-height: 44vh; padding-top: 120px; } }
