@font-face {
  font-family: "Montserrat";
  src: url("./assets/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0a0a0a;
  --graphite: #1a1a1a;
  --gray-dark: #2a2a2a;
  --gray: #686864;
  --gray-light: #e8e8e6;
  --white: #ffffff;
  --orange: #ff6b00;
  --line: rgba(10, 10, 10, 0.13);
  --page: min(1440px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gray-light);
  color: var(--black);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { 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;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 16px;
  background: var(--black); color: var(--white); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 82px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header.scrolled {
  height: 68px; background: rgba(232,232,230,.91); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(0,0,0,.09);
}
.brand { position: relative; z-index: 2; width: 146px; height: 48px; overflow: hidden; }
.brand-crop { display: block; position: relative; width: 146px; height: 46px; overflow: hidden; }
.brand-crop img { position: absolute; width: 197px; max-width: none; left: -23px; top: -51px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .875rem; font-weight: 600; letter-spacing: .04em; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 18px; background: var(--black); color: var(--white); transition: background .25s ease, transform .25s ease; }
.nav-cta:hover { background: var(--orange); transform: translateY(-2px); }
.menu-button { display: none; border: 0; background: none; width: 44px; height: 44px; cursor: pointer; }

.hero { position: relative; min-height: 100svh; background: #ececea; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(236,236,234,.98) 0%, rgba(236,236,234,.9) 28%, rgba(236,236,234,.26) 57%, rgba(236,236,234,0) 74%),
    linear-gradient(180deg, rgba(236,236,234,.02) 64%, rgba(236,236,234,.46) 100%);
}
.hero-media img, .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-video { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hero-video.ready { opacity: 1; }
.hero-media { touch-action: pan-y; }
.hero-watermark {
  position: absolute; z-index: 1; left: -1vw; bottom: 2vh; color: transparent;
  -webkit-text-stroke: 1px rgba(10,10,10,.07); font-size: clamp(9rem, 23vw, 25rem);
  font-weight: 850; line-height: .72; letter-spacing: -.09em; pointer-events: none;
}
.hero-shutter { position: absolute; z-index: 5; inset: 0; background: var(--black); animation: shutter 1.25s cubic-bezier(.82,0,.18,1) .15s both; }
.hero-accent { position: absolute; z-index: 4; background: var(--orange); mix-blend-mode: multiply; }
.hero-accent-top { width: clamp(80px, 11vw, 190px); aspect-ratio: 1.15; right: 0; top: 0; animation: floatTop 8s ease-in-out infinite; }
.hero-content {
  position: absolute; z-index: 10; left: max(40px, 5vw); top: 50%; width: min(610px, 46vw);
  transform: translateY(-45%); animation: rise .8s ease 1.05s both;
}
.hero-kicker { margin: 0 0 26px; font-size: .68rem; font-weight: 650; text-transform: uppercase; letter-spacing: .17em; }
.hero-kicker::before { content: ""; display: inline-block; width: 36px; height: 3px; margin: 0 12px 2px 0; background: var(--orange); }
.hero-content h1 { display: flex; flex-direction: column; margin: 0; font-size: clamp(4.4rem, 7.5vw, 8.5rem); line-height: .78; letter-spacing: -.07em; font-weight: 850; }
.hero-content h1 span, .hero-content h1 em { display: block; }
.hero-content h1 em { color: var(--orange); }
.hero-intro { max-width: 530px; margin: 36px 0 0; color: #4f4f4c; font-size: clamp(.96rem, 1.15vw, 1.08rem); line-height: 1.7; font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.hero-actions a { padding: 16px 19px; border: 1px solid rgba(10,10,10,.28); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.hero-actions a:hover { transform: translateY(-3px); border-color: var(--orange); }
.hero-actions .hero-primary { background: var(--black); border-color: var(--black); color: var(--white); }
.hero-actions .hero-primary:hover { background: var(--orange); border-color: var(--orange); }
.hero-actions span { margin-left: 8px; }
.hero-signature { margin: 30px 0 0; color: #777772; font-size: .58rem; text-transform: uppercase; letter-spacing: .16em; }
.scroll-cue {
  position: absolute; z-index: 9; right: 43px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  writing-mode: vertical-rl; font-size: .58rem; text-transform: uppercase; letter-spacing: .2em;
}
.scroll-cue i { width: 1px; height: 54px; background: var(--black); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--orange); animation: scrollLine 2s ease-in-out infinite; }

@keyframes shutter { 0% { transform: translateX(0); } 100% { transform: translateX(101%); } }
@keyframes heroZoom { from { transform: scale(1.075); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatTop { 50% { transform: translate(-9px, 8px); } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 55%,100% { transform: translateY(100%); } }

.section { width: var(--page); margin: 0 auto; padding: 120px 0; }
.section-kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 34px;
  font-size: .65rem; text-transform: uppercase; font-weight: 650; letter-spacing: .17em;
}
.section-kicker span { display: block; width: 36px; height: 3px; background: var(--orange); }
.section-intro { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 70px; margin-bottom: 64px; }
.section-intro h2, .work-heading h2, .process h2, .contact h2, .about-copy > h2 {
  margin: 0; font-size: clamp(3rem, 6vw, 6.8rem); line-height: .89; letter-spacing: -.065em; font-weight: 820;
}
em { color: var(--orange); font-style: normal; }
.section-intro p { margin: 0; max-width: 420px; font-size: 1.04rem; line-height: 1.7; color: var(--gray); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  position: relative; min-height: 260px; padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: color .35s ease, background .35s ease, transform .35s ease;
}
.service-card:hover { background: var(--black); color: var(--white); transform: translateY(-8px); }
.card-index { display: block; margin-bottom: 70px; color: var(--orange); font-size: .68rem; font-weight: 750; letter-spacing: .08em; }
.service-card h3 { margin: 0 0 12px; font-size: 1.2rem; }
.service-card p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--gray); transition: color .35s ease; }
.service-card:hover p { color: #bababa; }
.corner { position: absolute; top: 24px; right: 24px; width: 18px; height: 18px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); }

.about { display: grid; grid-template-columns: 42% 58%; min-height: 850px; background: var(--white); }
.about-photo { position: relative; min-height: 760px; overflow: hidden; background: #e9e5df; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.about-photo:hover img { transform: scale(1.025); }
.photo-tag { position: absolute; right: 0; bottom: 0; padding: 16px 20px; background: var(--orange); color: var(--white); font-size: .62rem; text-transform: uppercase; letter-spacing: .17em; }
.about-copy { padding: 110px max(6vw, 70px); }
.about-copy > h2 { font-size: clamp(3.2rem, 5.4vw, 6.2rem); margin-bottom: 42px; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 830px; }
.about-text p { margin: 0; color: var(--gray); line-height: 1.78; font-size: .93rem; }
.brand-thesis { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 76px; padding-top: 36px; border-top: 1px solid var(--line); }
.brand-thesis strong { font-size: clamp(1.45rem, 2.2vw, 2.45rem); line-height: 1.07; letter-spacing: -.04em; }
.brand-thesis ul { list-style: none; padding: 0; margin: 0; font-size: .61rem; line-height: 1.9; text-transform: uppercase; letter-spacing: .16em; }

.work { padding-bottom: 135px; }
.work-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; }
.work-heading h2 { font-size: clamp(2.6rem, 5vw, 5.9rem); }
.work-heading > a { padding-bottom: 10px; border-bottom: 1px solid var(--black); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.case-list { display: grid; gap: 92px; }
.case-study { display: grid; grid-template-columns: 1.45fr .55fr; gap: clamp(34px, 5vw, 84px); align-items: center; }
.case-study-reverse { grid-template-columns: .55fr 1.45fr; }
.case-study-reverse .case-visual { order: 2; }
.case-visual { position: relative; display: block; min-height: 590px; overflow: hidden; background: var(--black); }
.case-main { width: 100%; height: 100%; min-height: 590px; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.case-detail { position: absolute; width: 39%; right: 24px; bottom: 24px; border: 8px solid var(--gray-light); box-shadow: 0 18px 45px rgba(0,0,0,.24); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.case-visual::after { content: "↗"; position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 46px; height: 46px; background: var(--orange); color: var(--white); font-weight: 800; }
.case-visual:hover .case-main { transform: scale(1.025); filter: saturate(.9); }
.case-visual:hover .case-detail { transform: translate(-7px, -7px); }
.case-copy > span { display: block; margin-bottom: 28px; color: var(--orange); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.case-copy h3 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.8rem); line-height: .9; letter-spacing: -.06em; }
.case-copy h3 em { display: inline-block; margin-top: 8px; font-size: .48em; line-height: 1.04; letter-spacing: -.035em; }
.case-copy p { margin: 30px 0; color: var(--gray); font-size: .94rem; line-height: 1.72; }
.case-copy > a { display: inline-flex; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--black); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }

.process { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; padding: 120px max(4vw, 40px); background: var(--black); color: var(--white); }
.section-kicker-light { color: #c6c6c4; }
.process h2 { font-size: clamp(3rem, 5.4vw, 6.4rem); margin-bottom: 32px; }
.process-intro > p { max-width: 460px; color: #a4a4a0; font-size: .95rem; line-height: 1.75; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.process-list li { min-height: 240px; padding: 28px; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.process-list li:nth-child(even) { border-right: 1px solid rgba(255,255,255,.15); }
.process-list li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list span { color: var(--orange); font-size: .64rem; letter-spacing: .1em; }
.process-list h3 { margin: 68px 0 9px; font-size: 1.12rem; }
.process-list p { margin: 0; max-width: 260px; color: #949491; font-size: .8rem; line-height: 1.65; }

.contact { position: relative; min-height: 650px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; padding: 125px max(4vw, 40px); background: var(--graphite); color: var(--white); overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 80% 80%, rgba(255,107,0,.17), transparent 32%); }
.contact h2 { font-size: clamp(3.5rem, 7vw, 8rem); }
.contact-text > p { max-width: 610px; margin: 40px 0 0; color: #aaa; line-height: 1.75; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; position: relative; z-index: 2; }
.contact-actions a { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.2); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: background .25s ease, color .25s ease, transform .25s ease; }
.contact-actions a:hover { transform: translateX(8px); border-color: var(--orange); }
.contact-actions .contact-primary { background: var(--orange); border-color: var(--orange); }
.contact-actions .contact-primary:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.contact-watermark { position: absolute; z-index: -1; right: -1vw; top: -4vw; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); font-size: clamp(8rem, 19vw, 24rem); font-weight: 850; letter-spacing: -.09em; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; padding: 26px 40px; background: var(--white); border-top: 1px solid var(--line); }
.footer-brand { width: 148px; height: 46px; overflow: hidden; }
.site-footer p { margin: 0; font-size: .61rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  :root { --page: calc(100vw - 48px); }
  .site-header { padding-inline: 24px; }
  .hero-content { left: 32px; width: min(540px, 52vw); }
  .scroll-cue { right: 27px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 46% 54%; }
  .about-copy { padding: 90px 44px; }
  .about-text { grid-template-columns: 1fr; }
  .brand-thesis { align-items: flex-start; flex-direction: column; }
  .case-study, .case-study-reverse { grid-template-columns: 1.2fr .8fr; }
  .case-study-reverse .case-visual { order: 0; }
  .case-visual, .case-main { min-height: 480px; }
  .process { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 34px); }
  .site-header { height: 66px; padding-inline: 17px; background: rgba(232,232,230,.78); backdrop-filter: blur(12px); }
  .brand, .brand-crop { width: 126px; height: 42px; }
  .brand-crop img { width: 170px; left: -20px; top: -44px; }
  .menu-button { display: grid; place-content: center; gap: 7px; position: relative; z-index: 2; }
  .menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--black); transition: transform .25s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 80px 34px; background: var(--gray-light); font-size: 1.35rem; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .main-nav.open { transform: translateX(0); }
  .nav-cta { margin-top: 18px; font-size: .8rem; }
  .hero { min-height: 720px; }
  .hero-media { inset: 0 0 auto; height: 56%; }
  .hero-media img, .hero-video { object-position: 58% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(236,236,234,.04) 45%, rgba(236,236,234,.98) 100%); }
  .hero-watermark { bottom: 32%; font-size: 32vw; }
  .hero-accent-top { width: 84px; }
  .hero-content { left: 17px; right: 17px; top: auto; bottom: 34px; width: auto; transform: none; }
  .hero-kicker { margin-bottom: 16px; font-size: .58rem; }
  .hero-content h1 { font-size: clamp(3.8rem, 19vw, 5.4rem); line-height: .78; }
  .hero-intro { max-width: 94%; margin-top: 22px; font-size: .9rem; line-height: 1.58; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 9px; margin-top: 20px; }
  .hero-actions a { text-align: center; }
  .hero-signature { margin-top: 18px; line-height: 1.5; }
  .scroll-cue { display: none; }
  .section { padding: 88px 0; }
  .section-kicker { margin-bottom: 24px; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .section-intro h2 { font-size: clamp(3.25rem, 15vw, 5.1rem); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 218px; }
  .card-index { margin-bottom: 54px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 620px; }
  .about-copy { padding: 82px 22px; }
  .about-copy > h2 { font-size: 3.35rem; }
  .about-text { gap: 20px; }
  .brand-thesis { margin-top: 52px; }
  .work-heading { display: block; }
  .work-heading h2 { margin-bottom: 34px; }
  .case-list { gap: 72px; }
  .case-study, .case-study-reverse { grid-template-columns: 1fr; gap: 30px; }
  .case-study-reverse .case-visual { order: 0; }
  .case-visual, .case-main { min-height: 380px; }
  .case-detail { width: 43%; right: 14px; bottom: 14px; border-width: 5px; }
  .process { padding: 86px 20px; gap: 52px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:nth-child(even), .process-list li:nth-last-child(-n+2) { border: 1px solid rgba(255,255,255,.15); border-bottom: 0; }
  .process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
  .contact { min-height: 720px; grid-template-columns: 1fr; gap: 64px; padding: 88px 20px 52px; }
  .contact h2 { font-size: clamp(3.3rem, 16vw, 5.5rem); }
  .contact-actions { align-self: end; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-shutter { display: none; }
  .reveal { opacity: 1; transform: none; }
}
