@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f3f0e8;
  --ink: #11130f;
  --soft: #4a4e45;
  --muted: #767b71;
  --green: #b4c4ae;
  --green-dark: #5d725d;
  --line: rgba(17, 19, 15, 0.22);
  --cream: #faf8f1;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --header-h: 5.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--green); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--cream);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(243, 240, 232, .92);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; font-weight: 600; letter-spacing: .04em; }
.brand small { color: var(--green-dark); font-size: .65rem; letter-spacing: .1em; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.site-nav a { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.site-nav a:hover { color: var(--green-dark); }
.nav-pdf { border-bottom: 1px solid currentColor; }
.menu-toggle { display: none; border: 0; background: none; padding: .6rem; }
.menu-toggle span { display: block; width: 1.5rem; height: 1px; margin: .35rem 0; background: currentColor; }

.section-pad { padding: clamp(5.5rem, 11vw, 9.5rem) var(--pad); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-green { background: var(--green); }
.eyebrow { margin: 0 0 2.1rem; color: var(--green-dark); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.section-dark .eyebrow { color: var(--green); }
.display { margin: 0; font-size: clamp(2.6rem, 6.2vw, 7rem); font-weight: 400; line-height: .96; letter-spacing: -.05em; }

.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 4.5rem);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  position: relative;
}
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 600; letter-spacing: .13em; }
.hero-title { align-self: center; margin: 2rem 0; font-size: clamp(2.9rem, 6.2vw, 7rem); font-weight: 400; line-height: .94; letter-spacing: -.058em; }
.hero-title span { color: var(--green-dark); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.hero-bottom p { max-width: 39rem; margin: 0; font-size: clamp(1rem, 1.35vw, 1.25rem); color: var(--soft); }
.text-link { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.text-link span { display: inline-block; margin-left: .5rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateY(.35rem); }
.hero-ticker { display: flex; justify-content: space-between; gap: 2rem; margin: 0 calc(var(--pad) * -1) calc(clamp(5.5rem, 11vw, 9.5rem) * -1); padding: 1rem var(--pad); background: var(--ink); color: var(--green); font-size: .7rem; font-weight: 600; letter-spacing: .14em; }

.intro-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.intro-copy { max-width: 38rem; padding-top: .3rem; font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--soft); }
.intro-copy p { margin: 0 0 1.25rem; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(4rem, 9vw, 8rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts article { padding: 2rem 2rem 2rem 0; }
.about-facts article + article { border-left: 1px solid var(--line); padding-left: 2rem; }
.about-facts span, .work-info span { color: var(--green-dark); font-size: .68rem; font-weight: 600; letter-spacing: .13em; }
.about-facts p { margin: 1.15rem 0 0; color: var(--soft); }
.about-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.about-ledger > div { padding: 1.6rem 2rem 1.6rem 0; }
.about-ledger > div + div { border-left: 1px solid var(--line); padding-left: 2rem; }
.about-ledger span { color: var(--green-dark); font-size: .68rem; font-weight: 600; letter-spacing: .13em; }
.about-ledger p { margin: .7rem 0 0; color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }

.section-heading { display: grid; grid-template-columns: 1fr minmax(18rem, 30rem); gap: 3rem; align-items: end; margin-bottom: clamp(4rem, 8vw, 8rem); }
.section-heading > p { align-self: center; justify-self: center; max-width: 28rem; margin: 0; color: var(--muted); font-size: 1.05rem; text-align: center; }
.section-dark .section-heading > p { color: rgba(250, 248, 241, .6); }
.featured { overflow: hidden; }
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(19rem, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(3rem, 6vw, 6rem) 0; border-top: 1px solid rgba(250, 248, 241, .22); }
.case-reverse .case-media { order: 2; }
.case-reverse .case-copy { order: 1; }
.video-cover { position: relative; width: 100%; padding: 0; overflow: hidden; border: 0; background: #000; cursor: pointer; text-align: left; }
.video-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1), filter .35s ease; }
.video-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.3)); transition: background .3s ease; }
.video-cover:hover img { transform: scale(1.025); filter: saturate(1.08); }
.video-cover:hover::after { background: rgba(17,19,15,.08); }
.play { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; min-width: 4.4rem; height: 4.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--ink); font-size: .67rem; font-weight: 700; letter-spacing: .09em; transition: transform .25s ease, background .25s ease; }
.video-cover:hover .play { transform: rotate(-6deg) scale(1.06); background: var(--cream); }
.case-index { margin-bottom: 1.1rem; color: var(--green); font-size: .7rem; font-weight: 600; letter-spacing: .15em; }
.case-copy h3 { margin: 0; font-size: clamp(2.4rem, 5vw, 5.8rem); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.case-role { margin: 1.25rem 0; color: var(--green); font-size: .72rem; font-weight: 600; letter-spacing: .1em; }
.case-copy > p:not(.case-role) { max-width: 37rem; color: rgba(250, 248, 241, .68); }
.scope { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0; padding: 0; list-style: none; }
.scope li { padding: .45rem .65rem; border: 1px solid rgba(180,196,174,.42); color: var(--green); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 .25rem; background: none; color: var(--cream); font-size: .79rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.text-button:hover { color: var(--green); }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.2vw, 2.5rem); align-items: stretch; }
.work-card { display: flex; flex-direction: column; min-width: 0; }
.work-info { display: flex; flex: 1; flex-direction: column; padding-top: 1.2rem; }
.work-info h3 { margin: .7rem 0 .45rem; font-size: clamp(1.5rem, 2.4vw, 2.5rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.work-info p { flex: 1; margin: 0; max-width: 30rem; color: var(--soft); }
.work-link { align-self: flex-start; margin-top: 1.25rem; color: var(--green-dark); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-underline-offset: .28rem; text-transform: uppercase; }

.contact { min-height: 72svh; display: flex; flex-direction: column; justify-content: flex-start; }
.contact-title { margin: 0 0 clamp(3rem, 8vw, 7rem); font-size: clamp(3.5rem, 9.5vw, 11rem); font-weight: 400; line-height: .84; letter-spacing: -.07em; }
.contact-row { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,248,241,.25); }
.contact-row + .contact-row { margin-top: 2rem; }
.contact-row a { color: var(--green); font-size: clamp(1rem, 1.4vw, 1.25rem); text-underline-offset: .35rem; overflow-wrap: anywhere; }
.contact-row-primary .contact-email { font-size: clamp(1.4rem, 3.4vw, 4.25rem); font-weight: 400; letter-spacing: -.04em; text-decoration-thickness: 1px; }
.contact-row-secondary { border-top-color: rgba(250,248,241,.12); }
.contact-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 5rem; color: rgba(250,248,241,.55); font-size: .67rem; font-weight: 600; letter-spacing: .12em; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem var(--pad); border-top: 1px solid var(--line); font-size: .66rem; font-weight: 600; letter-spacing: .1em; }
.site-footer a { text-decoration: none; }

.video-dialog { width: min(92vw, 1100px); max-width: none; padding: 0; border: 0; background: var(--ink); color: var(--cream); box-shadow: 0 2rem 7rem rgba(0,0,0,.55); }
.video-dialog::backdrop { background: rgba(11,12,10,.82); backdrop-filter: blur(8px); }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(250,248,241,.2); }
.dialog-bar h2 { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.dialog-bar button { border: 0; background: none; color: var(--green); font-size: .72rem; font-weight: 600; letter-spacing: .1em; cursor: pointer; }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.youtube-link { display: inline-block; margin: 1rem 1.25rem 1.25rem; color: var(--green); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-underline-offset: .3rem; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --header-h: 4.6rem; }
  .brand small { display: none; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: var(--header-h); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--pad) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .hero-title { font-size: clamp(2.8rem, 9.7vw, 5.4rem); }
  .intro-grid, .section-heading { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 1rem; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts article { padding: 1.5rem 0; }
  .about-facts article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .case, .case-reverse { grid-template-columns: 1fr; }
  .case-reverse .case-media, .case-reverse .case-copy { order: initial; }
  .case-copy { max-width: 43rem; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { min-height: 92svh; }
  .hero-meta span:nth-child(2) { display: none; }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .hero-ticker { flex-wrap: wrap; gap: .8rem 1.5rem; }
  .hero-ticker span { flex: 1 1 42%; }
  .hero-ticker span:nth-child(even) { text-align: right; }
  .display { font-size: clamp(2.35rem, 12vw, 4.5rem); }
  .section-heading { margin-bottom: 3.5rem; }
  .section-heading > p { font-size: 1rem; }
  .work-card { margin: 0 0 3.5rem; }
  .about-ledger { grid-template-columns: 1fr; }
  .about-ledger > div { padding: 1.4rem 0; }
  .about-ledger > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .contact-meta { flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .play { width: 3.8rem; min-width: 3.8rem; height: 3.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
