@font-face {
  font-family: REM;
  src: url('/assets/fonts/rem.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'PT Mono';
  src: url('/assets/fonts/pt-mono.woff2') format('woff2');
  font-display: swap;
}
:root {
  --ink: #141414;
  --paper: #f3f0e8;
  --white: #fffaf0;
  --gold: #efd482;
  --line: #25252532;
  --muted: #545149;
  --font: REM, 'Arial', sans-serif;
  --mono: 'PT Mono', monospace;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px / 1.62 var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, select, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1.4rem; }
::selection { background: var(--gold); color: var(--ink); }

.shell { width: min(92%, 88rem); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8vw, 8rem); }
.eyebrow, .service-detail, .figure-type, .hero-caption {
  font: 400 .81rem / 1.35 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.section-top { margin-bottom: clamp(2.25rem, 4vw, 4.25rem); }
.section-top .eyebrow { margin-bottom: 1rem; }
h2 {
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  font-weight: 620;
  letter-spacing: -.073em;
  line-height: .99;
}
h3 {
  font-size: clamp(1.42rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.046em;
  line-height: 1.14;
}
.skip {
  position: fixed;
  top: .7rem;
  left: .8rem;
  z-index: 5;
  transform: translateY(-180%);
  background: var(--gold);
  color: var(--ink);
  padding: .65rem 1rem;
}
.skip:focus { transform: translateY(0); }

.header { background: var(--ink); color: var(--white); border-bottom: 1px solid #fff3; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.header-inner { min-height: 5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; line-height: 1.02; font-size: 1.07rem; font-weight: 680; letter-spacing: -.035em; white-space: nowrap; }
.wordmark-studio { display: block; margin-top: .36rem; font: .67rem / 1 var(--mono); letter-spacing: .20em; text-transform: uppercase; }
.mark { width: 1.98rem; height: 1.98rem; background: var(--gold); clip-path: polygon(0 80%,39% 16%,66% 70%,78% 49%,100% 80%); }
nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 3rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .94rem; }
nav a:hover { text-decoration: underline; text-underline-offset: .38em; }
nav .nav-cta { padding: .47rem .94rem; border: 1px solid #fff7; }
nav .nav-cta:hover { border-color: var(--gold); text-decoration: none; color: var(--gold); }

.hero { position: relative; isolation: isolate; color: var(--white); background: #161712; }
.hero-media, .hero-media img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 65% 52%; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(90deg,#0a0a0ad6 1%,#0a0a0ac0 24%,#0a0a0a30 65%,transparent 85%), linear-gradient(0deg,#0a0a0a70,transparent 40%); }
.hero-inner { display: flex; justify-content: space-between; align-items: end; gap: 1rem; min-height: clamp(37rem, 54.6vw, 49rem); padding-block: clamp(4.1rem, 8vw, 7rem) 2.5rem; }
.hero-copy { align-self: center; padding-bottom: 1rem; max-width: 57rem; }
.hero-copy .eyebrow { color: var(--gold); margin-bottom: 1.25rem; }
h1 {
  font-size: clamp(3.55rem, 7.5vw, 8.25rem);
  font-weight: 650;
  letter-spacing: -.083em;
  line-height: .94;
  max-width: 12.2ch;
}
.hero-intro { max-width: 29rem; margin-block: 1.4rem 1.85rem; color: #f5eee0; font-size: clamp(1rem, 1.35vw, 1.25rem); }
.hero-caption { align-self: end; text-align: right; color: #eae0cb; white-space: nowrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.18rem; padding: .6rem 1.25rem; border: 1px solid transparent; font-weight: 620; text-decoration: none; cursor: pointer; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: #ffe8a7; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #34332a; }
.button:disabled { opacity: .65; cursor: wait; }

.service-row { display: grid; grid-template-columns: minmax(13rem, 1.2fr) minmax(16rem, 1.6fr) minmax(10rem, .75fr); align-items: start; column-gap: clamp(1rem, 5vw, 5rem); row-gap: .6rem; border-top: 1px solid var(--line); padding-block: 1.68rem; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row h3 { font-size: clamp(1.7rem, 3.3vw, 2.85rem); }
.service-row div > p:first-child { max-width: 35rem; }
.service-detail { color: var(--muted); margin-top: .72rem; }
.line-link { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; text-underline-offset: .35em; text-decoration-thickness: 1px; font-weight: 550; }
.line-link:hover { text-decoration-thickness: 2px; }

.work { background: #191919; color: var(--white); }
.work .section-top .eyebrow { color: var(--gold); }
.work-grid { display: grid; grid-template-columns: 1.28fr 1fr; gap: clamp(1.35rem, 3vw, 3rem); align-items: start; }
.work-figure:nth-child(2) { margin-top: clamp(0rem, 5vw, 5.75rem); }
.work-figure img { aspect-ratio: 4 / 3; object-fit: cover; background: #252822; }
.work-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem; padding-block: .9rem; border-bottom: 1px solid #fffa; }
.figure-type { color: #e7dcc4; }
.case-study { display: grid; grid-template-columns: minmax(14rem, 1.3fr) minmax(14rem, 1fr) auto; align-items: center; gap: .8rem 2.2rem; padding-top: clamp(2.4rem, 5vw, 4.6rem); }
.case-study .eyebrow { color: var(--gold); margin-bottom: .5rem; }
.case-study a { color: var(--gold); }

.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, 3vw, 3rem); }
.process-grid li { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.process-grid p { margin-top: .72rem; max-width: 24rem; }

.contact { background: #e7dbc1; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: clamp(2.2rem, 7vw, 7rem); align-items: start; }
.contact-copy .eyebrow { margin-bottom: .95rem; }
.contact-copy > p:not(.eyebrow) { max-width: 25rem; margin-block: 1rem .8rem; }
#studio-inquiry { display: grid; gap: .9rem; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
form label { display: block; font-weight: 550; font-size: .94rem; }
form label span { font-weight: 400; }
input, select, textarea { margin-top: .35rem; width: 100%; min-width: 0; min-height: 3rem; border: 1px solid #867c65; border-radius: 0; background: #fff9ed; color: var(--ink); padding: .6rem .72rem; }
select { appearance: none; padding-right: 2.15rem; background: linear-gradient(45deg,transparent 50%,#24211a 50%) right 1.03rem top 1.31rem / .35rem .35rem no-repeat, linear-gradient(135deg,#24211a 50%,transparent 50%) right .68rem top 1.31rem / .35rem .35rem no-repeat #fff9ed; }
textarea { display: block; resize: vertical; }
form .button { justify-self: start; }
.form-status { min-height: 1rem; font-weight: 500; }
.form-status:empty { min-height: 0; display: none; }
.trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }

footer { background: var(--ink); color: var(--white); }
.footer-inner { min-height: 7.25rem; padding-block: 1rem; flex-wrap: wrap; }
.footer-inner > a:not(.wordmark) { text-underline-offset: .35em; text-decoration-thickness: 1px; }

@media (max-width: 940px) {
  .hero-caption { position: absolute; right: 5%; bottom: 1.05rem; }
  .service-row { grid-template-columns: minmax(12rem,1fr) minmax(0,1.45fr); }
  .service-row > a { grid-column: 2; }
  .case-study { grid-template-columns: 1fr 1fr; }
  .case-study a { grid-column: 2; }
}
@media (max-width: 700px) {
  .shell { width: 90%; }
  .header-inner { min-height: 4.5rem; }
  nav { gap: .79rem; }
  nav a { font-size: .82rem; }
  nav .nav-cta { padding-inline: .55rem; }
  nav a[href="#process"] { display: none; }
  .hero-inner { min-height: 35rem; padding-top: 4.8rem; }
  .hero-media img { object-position: 69% center; }
  .hero::after { background: linear-gradient(90deg,#090909e3,#0a0a0a4d 82%),linear-gradient(0deg,#090909b5,transparent 77%); }
  h1 { font-size: clamp(3rem, 10vw, 4.75rem); max-width: 11.2ch; }
  .desktop-break { display: none; }
  .hero-intro { max-width: 23rem; }
  .service-row, .case-study, .contact-layout { grid-template-columns: minmax(0,1fr); }
  .service-row h3 br { display: none; }
  .service-row > a, .case-study a { grid-column: auto; }
  .work-grid { grid-template-columns: minmax(0,1fr); }
  .work-figure:nth-child(2) { margin-top: .6rem; }
  .process-grid { grid-template-columns: minmax(0,1fr); gap: 1.7rem; }
}
@media (max-width: 430px) {
  .wordmark { font-size: .95rem; gap: .4rem; }
  .mark { width: 1.55rem; height: 1.55rem; }
  nav { gap: .56rem; }
  nav a { font-size: .76rem; }
  .header-inner { gap: .5rem; }
  .field-grid { grid-template-columns: minmax(0,1fr); }
}
