/* StoryNest Communications — redesign
   Editorial art direction: warm ivory ground, ink type, oxblood accent.
   Type: Sentient (display serif) + Switzer (grotesk), both via Fontshare. */

:root {
  --paper:      #FAF8F3;
  --paper-warm: #F3EFE7;
  --stone:      #DED6C8;
  --rule:       rgba(23, 23, 20, .16);
  --ink:        #171714;
  --ink-2:      #3D3A34;
  --ink-3:      #5B564E;
  --meta:       #6B6459;
  --meta-dark:  #57514A;
  --oxblood:    #792536;
  --oxblood-lt: #C98B99;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-micro:   240ms;
  --t-comp:    420ms;
  --t-reveal:  760ms;

  --serif: "Sentient", Georgia, "Times New Roman", serif;
  --sans:  "Switzer", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --sec-y:  clamp(44px, 7vh, 76px);
  --sec-y-lg: clamp(64px, 11vh, 132px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

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

::selection { background: var(--oxblood); color: var(--paper); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; margin: 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 13px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- editorial metadata ---------- */

.meta,
.meta-sm {
  font-family: var(--sans);
  text-transform: uppercase;
  color: var(--meta);
}

.meta a, .meta{color: #F3EFE7 !important;}
.meta    { font-size: 12px;   letter-spacing: .13em; }
.meta-sm { font-size: 11.5px; letter-spacing: .11em; }

.index {
  display: flex; align-items: baseline; gap: 16px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--meta);
  margin-bottom: clamp(20px, 3.4vh, 44px);
}
.index b { font-weight: 400; color: var(--oxblood); }

/* ---------- media ---------- */

.figure {
  position: relative; margin: 0; overflow: hidden;
  width: 100%; max-width: 100%;
  background: var(--stone);
  filter: grayscale(1) contrast(1.06);
}
.figure > img,
.figure > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figure.zoom > img { transition: transform 700ms var(--ease); }
.figure.zoom:hover > img { transform: scale(1.03); }

/* captions sit on solid ink so they read on any photograph */
.cap {
  position: absolute; left: 0; bottom: 0;
  padding: 11px 14px;
  background: var(--ink); color: var(--paper-warm);
  font-size: 11px; letter-spacing: .11em; text-transform: uppercase;
}
.cap-wide {
  left: 0; right: 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  padding: 13px 16px;
}

.rule      { border-top: 1px solid var(--rule); }
.rule-strong { border-top: 2px solid var(--ink); }

/* ---------- header ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background var(--t-comp) var(--ease), border-color var(--t-comp) var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 248, 243, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--rule);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
  padding: 22px var(--gutter);
}
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.wordmark small { font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--meta); }
.wordmark.is-light { color: var(--paper-warm); }
.wordmark.is-light small { color: #B7B1A6; }
.footer .wordmark { margin-bottom: 18px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a {
  font-size: 15px; letter-spacing: .02em; color: var(--ink);
  padding: 8px 0; border-bottom: 1px solid transparent;
  transition: border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.nav a:hover { border-bottom-color: currentColor; }
.nav a.is-cta {
  font-size: 13.5px; letter-spacing: .11em; text-transform: uppercase;
  color: var(--oxblood); padding: 9px 2px; border-bottom: 2px solid var(--oxblood);
}
.nav a.is-cta:hover { color: var(--ink); border-bottom-color: var(--ink); }

.burger {
  display: none; align-items: center; gap: 9px;
  min-height: 44px; padding: 10px 4px;
  background: none; border: 0; color: var(--ink);
  font-family: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
}
.burger span { display: block; width: 26px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }

/* full-screen editorial menu */
.menu {
  position: fixed; inset: 0; z-index: 130;
  display: none; flex-direction: column; justify-content: space-between;
  padding: 22px var(--gutter) 40px;
  background: var(--ink); color: var(--paper-warm);
  opacity: 0; transition: opacity var(--t-comp) var(--ease);
}
.menu.is-mounted { display: flex; }
.menu.is-open { opacity: 1; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top img { height: 34px; width: auto; }
.menu-close {
  min-height: 44px; min-width: 44px;
  background: none; border: 0; color: inherit;
  font-family: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.menu-nav { display: flex; flex-direction: column; gap: 2px; }
.menu-nav a {
  font-family: var(--serif); font-size: clamp(34px, 11vw, 58px); line-height: 1.12;
  color: var(--paper-warm); padding: 6px 0;
}
.menu-nav a.is-long { font-size: clamp(28px, 8vw, 44px); line-height: 1.16; }
.menu-nav a.is-cta { color: var(--oxblood-lt); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 18px 28px; opacity: .6; }

/* ---------- hero ---------- */

.hero {
  min-height: min(96vh, 940px);
  display: grid; grid-template-columns: 1.35fr .65fr;
  align-items: end; gap: clamp(28px, 4vw, 56px);
  padding: clamp(96px, 14vh, 168px) var(--gutter) clamp(28px, 4vw, 44px);
  border-bottom: 2px solid var(--ink);
}
.masthead {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--meta-dark);
  margin-bottom: clamp(24px, 5vh, 54px);
}
.hero h1 {
  font-size: clamp(46px, 7vw, 150px); line-height: .9; letter-spacing: -.035em;
  hyphens: none;
}
.hero h1 em { font-style: italic; color: var(--oxblood); }
.mask { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.18em; }
.mask > span { display: block; }
.hero-sub {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(28px, 5vh, 52px); padding-top: 22px; border-top: 1px solid var(--rule);
}
.hero-quote {
  font-family: var(--serif); font-size: clamp(17px, 2vw, 23px); line-height: 1.45; max-width: 34ch;
}
.hero-media { align-self: stretch; min-height: clamp(320px, 48vh, 720px); }
.scroll-cue {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--meta);
}
.scroll-cue i { font-style: normal; animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .45 } 50% { transform: translateY(7px); opacity: 1 } }

/* ---------- link ---------- */

.link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  transition: color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease);
}
.link:hover { color: var(--oxblood); border-bottom-color: var(--oxblood); }

/* ---------- sections ---------- */

.section { padding: var(--sec-y-lg) var(--gutter); border-bottom: 1px solid var(--rule); padding-top: 90px;}
.section.tight { padding: var(--sec-y) var(--gutter); }
.section.warm { background: var(--paper-warm); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-grid h2 { font-size: clamp(40px, 6vw, 116px); line-height: .94; margin-bottom: clamp(24px, 4vh, 44px); }
.about-grid h2 em { font-style: italic; color: var(--oxblood); }
.about-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 3vw, 48px); padding-top: 22px; border-top: 1px solid var(--rule); }
.about-body p { color: var(--ink-2); line-height: 1.65; max-width: 46ch; }
.facts { display: flex; flex-direction: column; gap: 14px; }
.facts > div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid rgba(23,23,20,.12); }
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dd { margin: 0; color: var(--ink); letter-spacing: .06em; font-size: 11.5px; text-transform: uppercase; }
.about-figure { min-height: clamp(500px, 52vh, 620px); }

/* methodology */
.method-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 64px); align-items: end; padding-bottom: clamp(18px, 2.6vh, 30px); border-bottom: 2px solid var(--ink); }
.method-head h2 { font-size: clamp(34px, 4vw, 72px); line-height: .96; }
.method-head p { color: var(--ink-2); max-width: 38ch; font-size: 14.5px; }
.method {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 36px); row-gap: clamp(22px, 3vh, 32px);
}
.method li { display: flex; flex-direction: column; padding: clamp(16px,2.2vh,22px) clamp(18px,2vw,28px) clamp(16px,2.2vh,22px) 0; border-right: 1px solid var(--rule); }
.method li:last-child { border-right: 0; }
.method-num { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.method-num span:first-child { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: .85; color: var(--oxblood); }
.method h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -.02em; margin: 14px 0 9px; }
.method p { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; max-width: 30ch; }
.method .figure { margin-top: auto; aspect-ratio: 3 / 2; }

/* industries */
.ind-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ind-grid h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: clamp(26px, 4vh, 44px); max-width: 22ch; }
.ind-list { border-top: 2px solid var(--ink); }
.ind-list li { border-bottom: 1px solid var(--rule); }
.ind-list button {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  min-height: 44px; padding: clamp(14px, 2vh, 20px) clamp(10px, 1.4vw, 18px) clamp(14px, 2vh, 20px) 0;
  background: none; border: 0; color: inherit; font-family: inherit; text-align: left; cursor: pointer;
  transition: background 280ms var(--ease);
}
.ind-list button:hover { background: #F1ECE1; }
.ind-name { display: flex; align-items: baseline; gap: clamp(12px, 1.8vw, 26px); }
.ind-name b { font-weight: 400; font-size: 12px; letter-spacing: .13em; color: #736C60; transition: color 280ms var(--ease); }
.ind-name span { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.06; letter-spacing: -.025em; transition: color 280ms var(--ease); }
.ind-list [aria-pressed="true"] { background: #F1ECE1; }
.ind-list [aria-pressed="true"] .ind-name b,
.ind-list [aria-pressed="true"] .ind-name span { color: var(--oxblood); }
.ind-figure { aspect-ratio: 4.5 / 5; min-height: clamp(280px, 44vh, 540px); }
.ind-figure img { transition: opacity 340ms var(--ease); }

/* leadership */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: end; padding-bottom: clamp(40px, 7vh, 80px); border-bottom: 2px solid var(--ink); }
.founder-figure { min-height: clamp(360px, 62vh, 700px); }
.founder h2 { font-size: clamp(40px, 6vw, 104px); line-height: .94; margin: 0 0 18px; }
.founder-role { font-size: 13px; line-height: 1.55; color: var(--oxblood); margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); max-width: 44ch; }
.founder-bio { font-family: var(--serif); font-size: clamp(16px, 1.7vw, 21px); line-height: 1.5; color: #2A2721; max-width: 50ch; }
.team { margin-top: clamp(36px, 6vh, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: clamp(16px, 2.5vw, 34px); }
.team li { display: flex; flex-direction: column; gap: 14px; }
.team .figure { height: clamp(260px, 34vh, 340px); }
.team-name { padding-top: 12px; border-top: 1px solid var(--rule); }
.team-name h3 { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.14; letter-spacing: -.02em; margin-bottom: 5px; }

/* clients */
.clients { padding: clamp(56px, 9vh, 110px) 0; border-bottom: 1px solid var(--rule); overflow: hidden; padding-top: 90px;}
.clients-head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: clamp(28px, 5vh, 52px); }
.clients-head h2 { font-size: clamp(26px, 3vw, 44px); line-height: 1.06; letter-spacing: -.025em; max-width: 26ch; }
.ticker-rail { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ticker { display: flex; width: max-content; animation: ticker 64s linear infinite; }
.ticker > div {
  display: flex; align-items: center; justify-content: center;
  width: clamp(200px, 22vw, 300px); height: clamp(96px, 12vh, 132px);
  border-right: 1px solid rgba(23,23,20,.12);
  filter: grayscale(1); opacity: .62;
  transition: opacity 300ms var(--ease), filter 300ms var(--ease);
}
.ticker > div:hover { opacity: 1; filter: grayscale(0); }
.ticker span { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.01em; color: var(--ink); text-align: center; padding: 0 16px; }
.ticker-rail:hover .ticker { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* our story */
.story h2 { font-size: clamp(44px, 7vw, 104px); line-height: .9; letter-spacing: -.04em; margin-bottom: clamp(20px, 3vh, 34px); }
.story h2 em { font-style: italic; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.story-figure { min-height: clamp(240px, 38vh, 420px); }
.story-grid p { color: var(--ink-2); line-height: 1.65; margin-bottom: clamp(20px, 3vh, 32px); max-width: 44ch; }
.pull { padding-top: 20px; border-top: 2px solid var(--ink); }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.16; letter-spacing: -.025em; max-width: 24ch; margin: 0; }

/* why choose */
.why h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.02; margin-bottom: clamp(20px, 3vh, 34px); max-width: 22ch; }
.why-list { border-top: 1px solid var(--rule); }
.why-list li {
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 44px);
  padding: clamp(12px, 1.7vh, 20px) 0; border-bottom: 1px solid var(--rule);
  transition: transform 300ms var(--ease);
}
.why-list li:hover { transform: translateX(12px); }
.why-list b { font-weight: 400; font-size: 12px; letter-spacing: .13em; color: #736C60; transition: color 300ms var(--ease); }
.why-list li:hover b { color: var(--oxblood); }
.why-list h3 { font-size: clamp(22px, 3vw, 42px); line-height: 1.06; }

/* services */
.services { padding: var(--sec-y) 0 0; border-bottom: 2px solid var(--ink); padding-top: 90px; padding-bottom: 90px; }
.services-head { padding: 0 var(--gutter); }
.services-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(18px, 2.6vh, 30px); }
.services-title h2 { font-size: clamp(34px, 4.8vw, 72px); line-height: .96; letter-spacing: -.035em; }
.svc-list { border-top: 1px solid var(--rule); }
.svc { border-bottom: 1px solid var(--rule); transition: background 340ms var(--ease); }
.svc:hover { background: #F6F2EB; }
.svc.is-open { background: var(--paper-warm); }
.svc-row {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  min-height: 44px; padding: clamp(11px, 1.6vh, 18px) var(--gutter);
  background: none; border: 0; color: inherit; font-family: inherit; text-align: left; cursor: pointer;
}
.svc-label { display: flex; align-items: baseline; gap: clamp(14px, 2.5vw, 40px); transition: transform 340ms var(--ease); }
.svc:hover .svc-label { transform: translateX(12px); }
.svc.is-open .svc-label { transform: none; }
.svc-label b { font-weight: 400; font-size: 12px; letter-spacing: .13em; color: #736C60; transition: color 300ms var(--ease); }
.svc:hover .svc-label b, .svc.is-open .svc-label b { color: var(--oxblood); }
.svc-label span { font-family: var(--serif); font-size: clamp(21px, 2.7vw, 40px); line-height: 1.04; letter-spacing: -.03em; }
.svc-plus { font-size: 15px; color: var(--oxblood); transition: transform 340ms var(--ease); }
.svc.is-open .svc-plus { transform: rotate(45deg); }
.svc-panel { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 460ms var(--ease), opacity 400ms var(--ease); }
.svc.is-open .svc-panel { max-height: 520px; opacity: 1; }
.svc-panel-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 56px); padding: 0 var(--gutter) clamp(20px, 3vh, 32px); }
.svc-panel-in p { font-family: var(--serif); font-size: clamp(17px, 1.8vw, 24px); line-height: 1.4; max-width: 38ch; }
.svc-panel-in .figure { height: clamp(150px, 20vh, 200px); }
.svc-panel-in .link { grid-column: 1 / -1; justify-self: start; }

/* testimonials */
.testi { padding: var(--sec-y) var(--gutter); background: var(--paper-warm); border-bottom: 1px solid var(--rule); }
.testi-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 18px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--meta); margin-bottom: clamp(20px, 3vh, 34px); }
.testi-head > span:first-child { display: flex; gap: 16px; }
.testi-head b { font-weight: 400; color: var(--oxblood); }
.testi-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(220px, .45fr); gap: clamp(24px, 4vw, 64px); align-items: start; touch-action: pan-y; cursor: grab; }
.testi-col { min-height: clamp(240px, 34vh, 330px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.testi blockquote { margin: 0; transition: opacity 380ms var(--ease), transform 380ms var(--ease); }
.testi blockquote.is-out { opacity: 0; transform: translateX(-22px); }
.testi-quote { font-family: var(--serif); font-weight: 300; font-size: clamp(17px, 1.75vw, 25px); line-height: 1.4; letter-spacing: -.015em; margin-bottom: clamp(16px, 2.4vh, 26px); max-width: 56ch; }
.testi footer { display: flex; flex-direction: column; gap: 5px; padding-top: 14px; border-top: 1px solid rgba(23,23,20,.2); max-width: 56ch; }
.testi cite { font-style: normal; font-size: 14px; }
.testi-controls { display: flex; align-items: center; gap: 26px; }
.testi-controls button { min-height: 44px; min-width: 44px; background: none; border: 0; color: var(--ink); font-family: var(--sans); font-size: 15px; cursor: pointer; }
.testi-controls button:hover { color: var(--oxblood); }
.testi-count { font-size: 12px; letter-spacing: .16em; }
.testi-count span { color: #736C60; }
.testi-figure { aspect-ratio: 4 / 5; min-height: clamp(220px, 32vh, 360px); }
.testi-figure img { transition: opacity 380ms var(--ease); }

/* poster statement */
.poster { background: var(--oxblood); color: var(--paper-warm); padding: clamp(64px, 13vh, 150px) var(--gutter); }
.poster .meta { color: rgba(243,239,231,.7); margin-bottom: clamp(24px, 4vh, 44px); }
.poster p:last-child { font-family: var(--serif); font-size: clamp(34px, 6.6vw, 110px); line-height: 1; letter-spacing: -.035em; max-width: 20ch; }
.poster em { font-style: italic; }

/* events */
.events-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: clamp(28px, 5vh, 56px); }
.events h2 { font-size: clamp(40px, 6vw, 110px); line-height: .94; letter-spacing: -.035em; margin-bottom: clamp(32px, 6vh, 68px); }
.feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: end; padding-bottom: clamp(36px, 6vh, 68px); border-bottom: 2px solid var(--ink); }
.feature .figure { min-height: clamp(280px, 52vh, 620px); }
.feature h3 { font-size: clamp(28px, 3.2vw, 60px); line-height: 1.04; margin-bottom: 16px; }
.feature h3 a { color: var(--ink); }
.feature h3 a:hover { color: var(--oxblood); }
.feature p { color: var(--ink-2); line-height: 1.65; margin-bottom: 22px; max-width: 46ch; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--meta); margin-bottom: 18px; }
.event-meta b { font-weight: 400; color: var(--oxblood); }

.scroller {
  margin-top: clamp(36px, 6vh, 72px);
  display: flex; gap: clamp(20px, 2.4vw, 34px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  padding-bottom: 14px;
}
.scroller li { flex: 0 0 calc((100% - 2 * clamp(20px, 2.4vw, 34px)) / 3); scroll-snap-align: start; }
.scroller article { display: flex; flex-direction: column; gap: 16px; }
.scroller .figure { height: clamp(200px, 26vh, 260px); }
.scroller .event-meta { padding-top: 12px; border-top: 1px solid var(--rule); margin-bottom: 0; }
.scroller h3 { font-size: clamp(20px, 2vw, 27px); line-height: 1.14; letter-spacing: -.02em; }
.scroller h3 a { color: var(--ink); }
.scroller h3 a:hover { color: var(--oxblood); }
.scroller p { font-size: 13.5px; color: var(--ink-3); }

/* contact */
.contact { background: var(--ink); color: var(--paper-warm); padding: clamp(64px, 12vh, 150px) var(--gutter); padding-top: 90px;}
.contact .index { color: #8A8378; }
.contact .index b { color: var(--oxblood-lt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(36px, 5vw, 88px); line-height: .98; letter-spacing: -.035em; margin-bottom: 26px; max-width: 20ch; }
.contact h2 em { font-style: italic; color: var(--oxblood-lt); }
.contact-lede { color: #B7B1A6; line-height: 1.65; margin-bottom: clamp(28px, 5vh, 48px); max-width: 40ch; }
.contact-details { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.contact-details a { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; color: var(--paper-warm); border-bottom: 1px solid rgba(243,239,231,.3); }
.contact-details a:hover { color: var(--oxblood-lt); border-bottom-color: var(--oxblood-lt); }
.contact-details span { color: #8A8378; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 34px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.span { grid-column: 1 / -1; }
.field label { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: #8A8378; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(243,239,231,.35); border-radius: 0;
  color: var(--paper-warm); font-family: inherit; font-size: 16px; padding: 10px 0;
  transition: border-color var(--t-micro) var(--ease); width: 100%;
}
.field input, .field select { min-height: 44px; }
.field select { appearance: none; }
.field option { color: #fff; }
.field textarea { resize: vertical; height: 120px;}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom: 1px solid #fff; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none !important; border-bottom: 1px solid #fff;}
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.submit {
  min-height: 48px; padding: 14px 30px;
  background: var(--paper-warm); color: var(--ink);
  border: 0; border-radius: 0;
  font-family: inherit; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  text-align: left; cursor: pointer;
  transition: background var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.submit:hover { background: var(--oxblood-lt); }
.form-status { font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--oxblood-lt); }
.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 14px;
  font-weight: normal;
  display: block;
  margin-top: 5px;
  font-style: italic;
  font-family: var(--sans);
  letter-spacing: 1px;
}
.wpcf7 form .wpcf7-response-output {
  margin: 25px 0 0 0;
  font-size: 14px;
  padding: 0px;
  border: none;
  font-style: italic;
  font-family: var(--sans);
  letter-spacing: 1px;
}

/* footer */
.footer { background: var(--ink); color: var(--paper-warm); padding: clamp(48px, 8vh, 90px) var(--gutter) 26px; border-top: 1px solid rgba(243,239,231,.16); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 7vh, 80px); }
.footer img { height: 36px; width: auto; margin-bottom: 16px; }
.footer p.footer-lede { font-size: 13.5px; line-height: 1.6; color: #B7B1A6; max-width: 30ch; }
.footer-col-title { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: #8A8378; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-links a, .footer-links span { color: var(--paper-warm); }
.footer-links span { color: #B7B1A6; }
.footer-links a:hover { color: var(--oxblood-lt); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: #8A8378; }

/* ---------- reveals ---------- */

.js-reveal [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal [data-curtain] { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease); }
.js-reveal [data-curtain].is-in { clip-path: inset(0 0 0 0); }
.js-reveal .mask > span { transform: translateY(108%); transition: transform 900ms var(--ease); }
.js-reveal .mask.is-in > span { transform: none; }

/* ---------- overflow + fluid guards ---------- */

/* Grid and flex children default to min-width:auto, which is what lets a long
   word or a wide image push a column past the viewport. */
.hero > *, .hero-sub > *, .about-grid > *, .about-body > *, .method-head > *,
.method li, .ind-grid > *, .founder > *, .story-grid > *, .feature > *,
.contact-grid > *, .form > *, .svc-panel-in > *, .testi-grid > *,
.team li, .footer-grid > *, .scroller li { min-width: 0; }

h1, h2, h3, .svc-label span, .ind-name span, .why-list h3 { overflow-wrap: break-word; }
.testi-quote, .founder-bio, .hero-quote, p { overflow-wrap: break-word; }

.brand{display: flex; align-items: center;}
.brand img{width: 200px;}

/* ---------- responsive ---------- */

/* wide desktop — cap the measure so the grid does not stretch thin */
@media (min-width: 1700px) {
  .header-in, .section, .services-head, .clients-head, .testi, .contact, .footer { --gutter: clamp(56px, 5vw, 104px); }
  .hero { padding-left: clamp(56px, 5vw, 104px); padding-right: clamp(56px, 5vw, 104px); }
  .method-head p, .about-body p, .story-grid p { max-width: 52ch; }
}

/* laptop */
@media (max-width: 1400px) {
  .founder-figure { min-height: clamp(320px, 52vh, 560px); }
  .feature .figure { min-height: clamp(260px, 44vh, 520px); }
}

/* small laptop / large tablet landscape */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: clamp(240px, 38vh, 420px); }
  .hero h1 { font-size: clamp(48px, 11vw, 132px); }

  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method li { border-right: 1px solid var(--rule); }
  .method li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .method .figure { aspect-ratio: 16 / 9; }

  .about-body { grid-template-columns: 1fr; gap: 22px; }
  .facts { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
  .facts > div { border-bottom: 0; padding-bottom: 0; }

  .ind-grid { grid-template-columns: minmax(0, 1.35fr) minmax(200px, .65fr); gap: clamp(24px, 3.5vw, 48px); }
  .ind-meta { display: none; }
  .founder { grid-template-columns: minmax(190px, .75fr) minmax(0, 1.25fr); }
  .story-grid { grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr); }
  .feature { grid-template-columns: 1fr; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; gap: clamp(32px, 5vh, 56px); }
  .testi-grid { grid-template-columns: minmax(0, 1.7fr) minmax(170px, .3fr); }

  .scroller li { flex: 0 0 calc((100% - clamp(20px, 2.4vw, 34px)) / 2); }
}

/* tablet portrait */
@media (max-width: 1024px) {
  :root { --sec-y-lg: clamp(52px, 8vh, 96px); }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .about-grid, .method-head { grid-template-columns: 1fr; gap: 26px; }
  .about-figure { min-height: clamp(260px, 36vh, 380px); }
  .founder-figure { min-height: clamp(300px, 44vh, 460px); }
  .team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
}

/* The 7-item nav needs ~910px of bar to fit, so it hands over here — ahead of
   the 900px layout tier below. */
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-in { padding: 16px var(--gutter); }
  .wordmark { font-size: 23px; }
}

@media (max-width: 900px) {

  :root { --sec-y-lg: clamp(48px, 7vh, 80px); --sec-y: clamp(36px, 5.5vh, 60px); }

  .hero { padding-top: clamp(86px, 12vh, 120px); min-height: auto; }
  .hero h1 { font-size: clamp(46px, 13vw, 96px); }
  .masthead { font-size: 12px; gap: 6px 18px; margin-bottom: 26px; }

  .ind-grid, .founder, .story-grid, .testi-grid, .svc-panel-in { grid-template-columns: 1fr; }
  .founder { align-items: start; }
  .ind-figure { aspect-ratio: 16 / 10; min-height: clamp(220px, 30vh, 320px); }
  .story-figure { min-height: clamp(220px, 30vh, 320px); }
  .testi-figure { display: none; }
  .testi-col { min-height: 0; }

  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .svc-panel-in .figure { height: clamp(160px, 22vh, 220px); }
  .svc.is-open .svc-panel { max-height: 760px; }

  .feature .figure { min-height: clamp(240px, 34vh, 340px); }
  .scroller li { flex: 0 0 62%; }
  .scroller .figure { height: clamp(200px, 26vh, 250px); }

  /* hover-driven shifts are noise on a device that cannot hover */
  .why-list li:hover, .svc:hover .svc-label { transform: none; }
  .figure.zoom:hover > img { transform: none; }
}

/* large phone */
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(44px, 14vw, 76px); }
  .hero-sub { gap: 22px; }
  .about-grid h2 { font-size: clamp(36px, 9vw, 60px); }
  .founder h2 { font-size: clamp(34px, 9vw, 56px); }
  .story h2, .events h2, .services-title h2, .method-head h2 { font-size: clamp(32px, 8.5vw, 52px); }
  .contact h2 { font-size: clamp(30px, 8vw, 48px); }
  .poster p:last-child { font-size: clamp(30px, 8.5vw, 56px); }
  .feature h3 { font-size: clamp(24px, 6.5vw, 38px); }
  .ind-name span { font-size: clamp(21px, 6vw, 30px); }
  .svc-label span { font-size: clamp(20px, 5.6vw, 30px); }
  .why-list h3 { font-size: clamp(21px, 5.8vw, 30px); }
  .clients-head h2, .ind-grid h2 { font-size: clamp(24px, 6vw, 34px); }

  .ticker > div { width: clamp(150px, 42vw, 200px); height: clamp(88px, 16vw, 110px); }
  .footer-grid { gap: 30px; padding-bottom: 44px; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

/* small phone */
@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .method { grid-template-columns: 1fr; row-gap: 26px; }
  .method li { border-right: 0; padding-right: 0; }
  .method .figure { aspect-ratio: 3 / 2; }
  .form { grid-template-columns: 1fr; }
  .hero-sub { grid-template-columns: 1fr; }
  .scroller li { flex: 0 0 86%; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .team .figure { aspect-ratio: 3 / 4; }
  .menu-nav a { font-size: 24px; }
  .menu-nav a.is-long { font-size: 24px; }
  .facts { flex-direction: column; gap: 12px; }
  .testi-controls { gap: 18px; }
  .submit { width: 100%; text-align: center; }
  .menu-foot{margin-top: 20px;}
  .menu-foot span{min-height: 30px !important;}
}

/* very small / older phones */
@media (max-width: 380px) {
  .hero h1 { font-size: 42px; }
  .masthead { font-size: 11.5px; }
  .wordmark small { display: none; }
  .team { grid-template-columns: 1fr; }
  .team .figure { aspect-ratio: 4 / 3; }
  .menu-nav a { font-size: 20px; }
  .menu-foot span{min-height: 24px !important;}
}

/* landscape phone — vh-based heights collapse, so pin them off vh */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 92px; }
  .hero-media { min-height: 220px; }
  .menu { padding-top: 14px; padding-bottom: 20px; }
  .menu-nav a { font-size: 26px; padding: 2px 0; }
  .menu-nav a.is-long { font-size: 22px; }
  .testi-col { min-height: 0; }
}

/* touch + small screens: every link is a real 44px target */
@media (hover: none), (max-width: 900px) {
  .footer-links { gap: 0; }
  .footer-links a, .footer-links span,
  .menu-foot span { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-details span { min-height: 44px; display: inline-flex; align-items: center; }
}

/* touch: no hover affordances, and the scroller gets visible affordance */
@media (hover: none) {
  .figure.zoom:hover > img { transform: none; }
  .ticker > div { opacity: .8; }
  .scroller { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal], [data-curtain], .mask > span,
  .js-reveal [data-reveal], .js-reveal [data-curtain], .js-reveal .mask > span { opacity: 1; transform: none; clip-path: none; }
}

@media print {
  .header, .menu, .scroll-cue, .burger { display: none; }
  body { background: #fff; }
}
