:root {
  --navy: #071b2e;
  --midnight: #0b253f;
  --blue: #004a90;
  --bright-blue: #0f74c9;
  --green: #22a684;
  --paper: #f3f0e7;
  --white: #fff;
  --ink: #0d1820;
  --muted: #93a5b2;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--navy); font-family: "DM Sans", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.backdrop { position: fixed; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; background-image: url("assets/maple-republic-backdrop.webp"); background-position: center calc(var(--backdrop-y, 0px) * -1); background-size: cover; background-repeat: repeat; filter: brightness(.75); }
main, .site-footer { position: relative; z-index: 1; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 12px 18px; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 4vw, 68px); color: var(--white); background: rgba(7,27,46,.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.1); transition: height .3s; }
.site-header.scrolled { height: 64px; }
.wordmark { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; }
.wordmark img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: 13px; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-contact) { border-bottom: 1px solid transparent; }
.site-nav a:not(.nav-contact):hover { border-color: var(--green); }
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--green); }
.nav-contact { padding: 11px 17px; border: 1px solid rgba(255,255,255,.5); border-radius: 100px; }
.menu-button { display: none; border: 0; background: none; color: var(--white); font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

.hero { position: relative; width: min(100%, 1600px); margin-inline: auto; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 60px); grid-template-areas: "copy art" "bottom art"; grid-template-rows: auto auto; align-content: center; padding: calc(var(--header-h) + 48px) clamp(24px, 7vw, 112px) 88px; color: var(--white); background: transparent; }
.hero-copy, .hero-art, .hero-bottom { position: relative; z-index: 2; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-bottom { grid-area: bottom; align-self: start; }
.eyebrow, .kicker { margin: 0 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font: 500 clamp(72px, 9.5vw, 150px)/.82 "Oswald", sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-intro { max-width: 560px; margin: 32px 0 0; color: #d9e5ec; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; gap: 30px; align-items: center; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 100px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: var(--navy); }
.text-link { display: inline-flex; gap: 10px; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hero-art { grid-area: art; justify-self: start; align-self: center; width: min(100%, 650px); transform: rotate(0deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-art img { position: relative; z-index: 2; width: 100%; }
.tape { position: absolute; z-index: 4; width: 140px; height: 45px; left: 38%; top: 2%; background: rgba(231,224,201,.75); transform: rotate(-7deg); mix-blend-mode: screen; }
.stamp { position: absolute; z-index: 5; right: -20px; bottom: 6%; display: grid; place-items: center; width: 116px; height: 116px; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font: 600 16px/1.1 "Oswald", sans-serif; letter-spacing: .08em; text-align: center; text-transform: uppercase; transform: rotate(11deg); }
.hero-footer { position: absolute; z-index: 2; inset: auto clamp(24px, 7vw, 112px) 26px; display: flex; gap: 30px; color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

.section-number { padding-top: 8px; font: 600 12px "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; border-top: 2px solid var(--green); }
.section-number.light { color: #b6c7d2; }
.manifesto { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 7vw, 120px); padding: 130px clamp(24px, 7vw, 112px); }
.manifesto-copy { max-width: 1050px; }
.kicker { color: var(--blue); }
.manifesto h2, .approach h2 { margin: 0; font: 500 clamp(44px, 6vw, 88px)/1.03 "Oswald", sans-serif; letter-spacing: -.025em; text-transform: uppercase; }
.manifesto h2 span { color: var(--blue); }
.split-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 780px; margin: 58px 0 0 auto; color: #46545d; font-size: 16px; line-height: 1.75; }

.work { padding: 110px clamp(24px, 7vw, 112px) 130px; color: var(--white); background: var(--midnight); }
.work-heading { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 7vw, 120px); margin-bottom: 70px; }
.work-heading h2 { margin: 0; font: 500 clamp(54px, 7vw, 100px)/.95 "Oswald", sans-serif; letter-spacing: -.03em; text-transform: uppercase; }
.feature-card { display: grid; grid-template-columns: 1.4fr .75fr; min-height: 560px; background: #0e2d4b; }
.feature-visual { position: relative; overflow: hidden; min-height: 520px; }
.noise-film { display: flex; align-items: flex-end; padding: clamp(24px, 4vw, 60px); background: radial-gradient(circle at 63% 38%, rgba(150,31,44,.8), transparent 25%), linear-gradient(125deg, #06090e 0 38%, #40202c 39% 60%, #0b1019 61%); }
.noise-film::before, .noise-film::after { content: ""; position: absolute; background: rgba(14,5,8,.62); transform: rotate(-24deg); }
.noise-film::before { width: 130%; height: 110px; left: -15%; top: 25%; }
.noise-film::after { width: 85%; height: 70px; right: -20%; bottom: 24%; }
.film-grain { position: absolute; inset: 0; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='x'%3E%3CfeTurbulence baseFrequency='.7' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23x)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.project-title { position: relative; z-index: 2; font: 600 clamp(90px, 15vw, 220px)/.7 "Oswald", sans-serif; letter-spacing: -.06em; text-shadow: 0 10px 35px rgba(0,0,0,.7); }
.project-index { position: absolute; z-index: 3; top: 24px; left: 24px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
.project-label { position: absolute; right: 22px; bottom: 20px; z-index: 2; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.feature-copy { align-self: center; padding: clamp(38px, 5vw, 72px); }
.feature-copy h3, .project-card h3 { margin: 0 0 22px; font: 500 clamp(42px, 5vw, 72px)/1 "Oswald", sans-serif; text-transform: uppercase; }
.feature-copy > p:not(.eyebrow) { color: #c6d3dc; line-height: 1.7; }
.feature-copy .example-note { color: #8fa4b3; font-size: 12px; }
.light-link { margin-top: 20px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 26px; gap: 26px; }
.project-card { position: relative; display: flex; align-items: end; min-height: 360px; padding: 58px 42px 42px; color: var(--white); }
.project-card .project-index { left: auto; right: 24px; }
.project-card h3 { max-width: 500px; font-size: clamp(38px, 4.6vw, 68px); }
.project-card p:last-child { max-width: 460px; line-height: 1.6; }
.blue-card { background: linear-gradient(145deg, var(--blue), #002c57); }
.paper-card { color: var(--ink); background: var(--paper); }
.paper-card::before { content: ""; position: absolute; inset: 20px; border: 1px dashed rgba(13,24,32,.28); }

.approach { display: grid; grid-template-columns: 220px minmax(300px,.8fr) 1fr; gap: clamp(30px, 6vw, 90px); padding: 130px clamp(24px, 7vw, 112px); }
.approach-title h2 { font-size: clamp(48px, 5.8vw, 82px); }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid #b8b7b0; }
.process-list li:last-child { border-bottom: 1px solid #b8b7b0; }
.process-list li > span { color: var(--green); font: 600 13px "Oswald", sans-serif; }
.process-list h3 { margin: 0 0 8px; font: 500 24px "Oswald", sans-serif; text-transform: uppercase; }
.process-list p { margin: 0; color: #52616a; line-height: 1.6; }

.contact { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; min-height: 620px; padding: 110px clamp(24px, 7vw, 112px); color: var(--white); background: var(--blue); }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .24; background: linear-gradient(112deg, transparent 0 44%, rgba(255,255,255,.15) 44.3% 45%, transparent 45.3%); }
.contact-text, .contact-card { position: relative; z-index: 2; }
.contact h2 { margin: 0; font: 500 clamp(80px, 11vw, 166px)/.77 "Oswald", sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
.contact h2 em { color: var(--green); font-style: normal; }
.contact-card { justify-self: end; max-width: 420px; padding: 34px; color: var(--navy); background: var(--paper); transform: rotate(1.5deg); box-shadow: 15px 18px 0 rgba(7,27,46,.22); }
.contact-card p { margin: 0 0 28px; line-height: 1.65; }
.button-light { background: var(--navy); color: var(--white); }
.contact-mark { position: absolute; right: -60px; bottom: -100px; color: rgba(255,255,255,.055); font: 600 380px/.8 "Oswald", sans-serif; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(24px, 7vw, 112px); color: #d9e5ec; background: rgba(7,27,46,.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.18); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding: 90px max(24px, calc((100vw - 1376px) / 2)); color: var(--white); background: rgba(7,27,46,.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.14); }
.about-strip h2 { margin: 0; font: 500 clamp(38px, 5vw, 68px)/1 "Oswald", sans-serif; text-transform: uppercase; }
.about-strip-copy p { max-width: 480px; margin: 0 0 22px; color: #d9e5ec; line-height: 1.7; }
.about-strip .text-link { color: var(--white); }

.home-noise-feature { padding: 44px clamp(24px, 7vw, 112px) 88px; color: var(--white); }
.home-noise-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(35px, 6vw, 90px); width: min(100%, 1376px); margin-inline: auto; padding: clamp(28px, 4vw, 60px); background: rgba(7,27,46,.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.18); }
.home-noise-visual { position: relative; min-width: 0; padding: 0 0 45px 52px; }
.home-noise-slideshow { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 16px 30px rgba(0,0,0,.28); }
.home-noise-slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s linear; }
.home-noise-slideshow img.is-active { opacity: 1; }
.home-noise-poster { position: absolute; left: 0; bottom: 0; width: clamp(92px, 12vw, 150px); box-shadow: 0 16px 30px rgba(0,0,0,.4); }
.home-noise-toggle { position: absolute; right: 0; bottom: 0; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.6); border-radius: 100px; background: rgba(7,27,46,.85); color: var(--white); font: 600 13px "DM Sans", sans-serif; cursor: pointer; }
.home-noise-copy { max-width: 510px; }
.home-noise-copy h2 { margin: 0 0 8px; font: 500 clamp(68px, 8vw, 110px)/.9 "Oswald", sans-serif; letter-spacing: -.03em; }
.home-noise-meta { margin: 0 0 24px; color: #a9c8d8; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.home-noise-logline { max-width: 470px; margin: 0 0 32px; color: #d9e5ec; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }

.inner-page { width: min(100%, 1300px); min-height: calc(100svh - 68px); margin-inline: auto; padding: 170px clamp(24px, 7vw, 112px) 100px; color: var(--white); }
.page-intro { max-width: 780px; margin-bottom: 56px; }
.page-intro h1 { margin: 0 0 22px; font: 500 clamp(70px, 11vw, 150px)/.9 "Oswald", sans-serif; text-transform: uppercase; }
.page-intro > p:last-child { max-width: 640px; margin: 0; color: #d9e5ec; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; }
.simple-card { display: block; max-width: 700px; padding: clamp(30px, 5vw, 58px); color: var(--white); background: rgba(7,27,46,.88); border: 1px solid rgba(255,255,255,.2); }
.simple-card + .simple-card { margin-top: 24px; }
.simple-card-label { color: #86d2bd; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.simple-card h2 { margin: 14px 0 20px; font: 500 clamp(38px, 4vw, 58px)/1 "Oswald", sans-serif; text-transform: uppercase; }
.simple-card p { margin: 0 0 30px; color: #d9e5ec; line-height: 1.65; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-option { max-width: none; text-decoration: none; transition: transform .2s, border-color .2s; }
.contact-option:hover { transform: translateY(-3px); border-color: var(--green); }
.contact-option .text-link { color: var(--white); }
.contact-direct { margin: 36px 0 0; color: #d9e5ec; }
.contact-direct a { color: var(--white); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "bottom" "art"; padding-top: 125px; }
  .hero-art { width: min(80vw, 580px); justify-self: center; margin: 40px 0 25px; }
  .manifesto, .work-heading, .approach { grid-template-columns: 1fr; }
  .section-number { width: 180px; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-copy { max-width: 720px; }
  .approach-title { max-width: 650px; }
  .process-list { max-width: 760px; margin-left: auto; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; inset: var(--header-h) 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 16px 24px 28px; background: rgba(7,27,46,.98); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 0; }
  .nav-contact { border: 0; border-radius: 0; color: var(--green); }
  .hero { padding: 112px 24px 64px; gap: 0; }
  .hero h1 { font-size: clamp(32px, 10.5vw, 48px); line-height: 1; letter-spacing: -.025em; }
  .hero-art { width: min(100%, 420px); margin: 26px 0 12px; }
  .hero-intro { margin-top: 0; }
  .hero-actions { margin-top: 22px; align-items: flex-start; flex-direction: column; }
  .stamp { width: 88px; height: 88px; right: -8px; font-size: 12px; }
  .hero-footer { gap: 16px; }
  .manifesto, .work, .approach, .contact { padding-top: 86px; padding-bottom: 86px; }
  .split-copy, .project-grid, .contact { grid-template-columns: 1fr; }
  .split-copy { gap: 12px; margin-top: 38px; }
  .feature-visual { min-height: 400px; }
  .project-title { font-size: 32vw; }
  .project-card { min-height: 330px; }
  .contact { min-height: 680px; align-items: start; }
  .contact-card { justify-self: start; margin-top: 22px; }
  .site-footer { flex-direction: column; }
  .about-strip, .contact-options { grid-template-columns: 1fr; }
  .about-strip { padding: 72px 24px; }
  .home-noise-feature { padding: 22px 24px 72px; }
  .home-noise-card { grid-template-columns: 1fr; gap: 25px; padding: 24px; }
  .home-noise-visual { padding: 0 0 28px 38px; }
  .home-noise-poster { width: clamp(78px, 24vw, 115px); }
  .home-noise-copy h2 { font-size: 72px; }
  .inner-page { padding: 125px 24px 72px; }
  .page-intro { margin-bottom: 36px; }
}

@media (max-width: 720px) and (orientation: portrait) {
  .hero { grid-template-areas: "copy" "art" "bottom"; align-content: start; padding-top: 80px; }
  .hero-copy, .hero-bottom { text-align: center; }
  .hero h1 span { display: block; white-space: nowrap; }
  .hero-intro { margin-inline: auto; }
  .hero-actions { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .home-noise-slideshow img { transition-duration: 1s !important; }
}
