:root {
  --ink: #171817;
  --paper: #f5f5f1;
  --yellow: #ffdf32;
  --muted: #63645e;
  --line: #c6c7c0;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(1.125rem, 4.2vw, 5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
.site-header, .hero, .work, .studio, .contact, .site-footer { padding-inline: max(var(--gutter), calc((100vw - 1600px) / 2)); }
.site-header { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
.site-header::after { content: ''; position: absolute; bottom: 0; left: max(var(--gutter), calc((100vw - 1600px) / 2)); right: max(var(--gutter), calc((100vw - 1600px) / 2)); height: 1px; background: var(--line); }
.wordmark { display: inline-flex; align-items: flex-start; font-size: 1.875rem; font-weight: 900; letter-spacing: -.115rem; white-space: nowrap; min-height: 44px; align-content: center; padding-block: .4rem; }
.wordmark span { font-size: .625rem; letter-spacing: 0; margin: .3rem 0 0 .3rem; }
nav { display: flex; gap: clamp(.875rem, 3vw, 2.625rem); font-size: .875rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; }
nav a::after { content: ''; position: absolute; bottom: 6px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.hero { padding-block: 2.25rem 4rem; }
.eyebrow { font-size: .75rem; letter-spacing: .065em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 1.5rem; line-height: 1.6; }
h1 { font-size: clamp(3rem, 8.5vw, 9.375rem); line-height: 1.06; font-weight: 500; letter-spacing: -.075em; margin-block: 3.625rem 2.625rem; }
.line { display: block; overflow: hidden; padding-block: .02em .1em; }
.line > span { display: block; animation: rise 1s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .12s; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.065em; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hero-bottom p { font-size: 1.0625rem; line-height: 1.6; max-width: 25rem; }
.pill { border: 1px solid var(--ink); border-radius: 3rem; padding: 1.125rem 1.8rem; font-size: .875rem; text-align: center; flex-shrink: 0; transition: background .3s, transform .4s var(--ease); }
.hero-note { font-size: .75rem; line-height: 1.9; letter-spacing: .035em; text-transform: uppercase; }
.work { padding-block: 2.25rem 7rem; color: var(--paper); background: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; margin-bottom: 1.75rem; }
.section-heading h2 { font-weight: 400; font-size: 1.125rem; line-height: 1.4; }
.section-heading > span { font-size: .8125rem; color: #bcbdb7; }
.project { min-width: 0; scroll-margin-top: 1.5rem; }
.project-image { overflow: hidden; aspect-ratio: 1.414; display: flex; align-items: center; justify-content: center; background: #fff; }
.project-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.1s var(--ease); }
.featured .project-image { aspect-ratio: 2.05; }
.featured .project-image img { width: 85%; }
.project-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem 2rem; margin-top: 1.5rem; }
.project-caption h3 { font-size: 1.625rem; font-weight: 400; letter-spacing: -.035em; }
.project-caption p { grid-row: 2; color: #bcbdb7; line-height: 1.65; font-size: 1rem; max-width: 36rem; }
.project-type { font-size: .75rem; letter-spacing: .05em; align-self: center; text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 2.25rem; margin-block: 4.5rem; }
.offset { margin-top: 7rem; }
.project-grid .project-caption { display: flex; flex-direction: column; gap: .75rem; }
.project-grid .project-type { align-self: flex-start; }
.wide { width: 75%; margin-top: 3rem; }
.wide .project-image { aspect-ratio: 1.8; background: #4d4e1c; }
.wide .project-image img { width: 90%; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 48px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.plus { display: block; width: 16px; height: 16px; flex: 0 0 16px; position: relative; transition: transform .32s var(--ease); }
.plus::before, .plus::after { content: ''; position: absolute; background: currentColor; }
.plus::before { width: 16px; height: 1px; left: 0; top: 7px; }
.plus::after { width: 1px; height: 16px; top: 0; left: 7px; }
details[open] > summary .plus { transform: rotate(45deg); }
.case-study { margin-top: 1.5rem; border-top: 1px solid #50514b; border-bottom: 1px solid #50514b; }
.case-study summary { font-size: .875rem; padding-block: 1rem; line-height: 1.5; }
.details-inner { padding-block: .75rem 1.5rem; }
.case-copy, .scope { font-size: 1rem; line-height: 1.75; max-width: 46rem; color: #d0d1cb; }
.scope { margin-block: 1rem 1.5rem; }
.scope strong { font-weight: 400; color: var(--paper); }
.case-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.case-gallery img { width: 100%; background: white; }
figcaption { font-size: .8125rem; line-height: 1.6; color: #bcbdb7; margin-top: .75rem; }
.project-grid .case-gallery { grid-template-columns: 1fr; }
.studio { padding-block: 7rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8%; }
.studio-intro h2 { font-size: clamp(2.375rem, 4vw, 4rem); line-height: 1.12; font-weight: 400; letter-spacing: -.055em; margin-block: 2rem; }
.studio-intro h2 > span { color: var(--muted); }
.studio-copy { max-width: 30rem; font-size: 1.0625rem; line-height: 1.75; }
.studio-copy p + p { color: var(--muted); margin-top: 1.25rem; }
.services { padding-top: .2rem; }
.services h2 { font-size: 1rem; font-weight: 400; margin-bottom: 2.5rem; }
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { padding-block: 1.5rem; }
.service h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.4; }
.service p { font-size: 1rem; line-height: 1.75; color: var(--muted); }
.text-link { display: inline-block; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; padding-block: .875rem .5rem; line-height: 1.5; }
.contact { background: var(--yellow); padding-block: 2.5rem 5rem; }
.contact h2 { font-size: clamp(3.5rem, 8.5vw, 8.75rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 400; margin-block: 4rem 2.5rem; }
.contact-body { display: flex; align-items: start; justify-content: space-between; gap: 3rem; }
.contact-link { font-size: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 2px solid; padding-bottom: .5rem; display: inline-block; flex-shrink: 0; transition: opacity .3s; }
.contact-link:hover { opacity: .7; }
.contact-brief { max-width: 28rem; }
.contact-brief h3 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
.contact-brief p { font-size: 1rem; line-height: 1.7; }
.contact-brief p + p { margin-top: 1rem; }
.site-footer { background: var(--yellow); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 7rem; padding-block: 1.5rem; border-top: 1px solid #17181755; }
.site-footer > span, .site-footer > a:not(.wordmark) { font-size: .875rem; }
.site-footer > a:not(.wordmark) { min-height: 44px; display: inline-flex; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1.25rem; top: -5rem; background: var(--yellow); padding: .875rem; z-index: 10; }
.skip:focus { top: 1rem; }
/* Enhance only offscreen imagery/headings. All copy is visible without JavaScript. */
[data-reveal-ready] { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .95s var(--ease); }
[data-reveal-ready].visible { opacity: 1; transform: none; }
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: var(--yellow); transform: translateY(-3px); }
  .project-image:hover img { transform: scale(1.025); }
}
@media (max-width: 1050px) {
  .hero-note { display: none; }
  .hero-bottom p { max-width: 27rem; }
  .project-caption { display: flex; flex-direction: column; }
  .project-type { align-self: flex-start; }
  .section-heading > span { max-width: 15rem; text-align: right; line-height: 1.5; }
  .studio { gap: 5%; }
}
@media (max-width: 700px) {
  .site-header { min-height: 5rem; gap: .75rem; flex-wrap: wrap; padding-block: .75rem; }
  .wordmark { font-size: 1.5rem; letter-spacing: -.09rem; }
  .wordmark span { font-size: .5rem; }
  nav { font-size: .875rem; gap: 1rem; }
  .hero { padding-block: 1.75rem 2.5rem; }
  .eyebrow { font-size: .75rem; letter-spacing: .025em; }
  .hero .eyebrow { flex-wrap: wrap; }
  .hero .eyebrow span { flex: 1 1 8rem; min-width: 0; }
  .hero .eyebrow span:last-child { max-width: 12rem; text-align: right; }
  h1 { font-size: clamp(2rem, 9.2vw, 4rem); margin-block: 2.75rem 1.75rem; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .hero-bottom p { font-size: 1rem; max-width: 27rem; }
  .pill { padding: 1rem 1.5rem; }
  .work { padding-block: 1.75rem 3.75rem; }
  .section-heading > span { display: none; }
  .section-heading h2 { font-size: 1rem; }
  .featured .project-image { aspect-ratio: 1.414; }
  .featured .project-image img { width: 100%; }
  .project-caption { gap: .75rem; margin-top: 1.25rem; }
  .project-caption h3 { font-size: 1.5rem; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-block: 2.5rem; }
  .offset { margin: 0; }
  .wide { width: 100%; margin: 0; }
  .wide .project-image { aspect-ratio: 1.414; }
  .case-gallery { grid-template-columns: minmax(0, 1fr); }
  .studio { padding-block: 3.75rem; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .studio-intro h2 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .studio-copy { font-size: 1rem; }
  .services h2 { margin-bottom: 1.5rem; }
  .service h3 { font-size: 1.25rem; }
  .contact { padding-block: 1.75rem 3rem; }
  .contact .eyebrow span:last-child { display: none; }
  .contact h2 { font-size: clamp(2.75rem, 12.5vw, 5rem); margin-block: 3rem 2rem; }
  .contact-body { flex-direction: column; gap: 2.5rem; }
  .site-footer { gap: 1rem 1.5rem; }
  .site-footer > span:last-child { flex-basis: 100%; }
}
@media (max-width: 370px) {
  .site-header { align-items: center; gap: .25rem; }
  .site-header .wordmark span { display: none; }
  nav { gap: .875rem; }
  .hero .eyebrow { flex-direction: column; gap: .5rem; }
  .hero .eyebrow span { flex: none; }
  .hero .eyebrow span:last-child { max-width: none; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal-ready] { opacity: 1; transform: none; }
}
@media print {
  html { scroll-behavior: auto; }
  .line > span, [data-reveal-ready] { animation: none; opacity: 1; transform: none; }
  .project-grid, .studio { display: block; }
  .project { width: 100%; margin-block: 2rem; break-inside: avoid; }
  nav, .skip { display: none; }
}
