:root {
  --paper: #ffffff;
  --wash: #f1f1f1;
  --ink: #000000;
  --ink-soft: #4a4a4a;
  --red: #e0241b;
  --red-dark: #b81a12;
  --line: #d8d8d8;
  --max: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --head: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.cover :focus-visible, .band :focus-visible, .hdr :focus-visible, .mission :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.03em; line-height: 1; }

/* Header sits on top of the image */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: #fff; }
.hdr .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-top: 22px; padding-bottom: 22px; }
.brand { font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.brand span { font-weight: 400; opacity: .8; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: rgba(255,255,255,.55); }
.nav a[aria-current="page"] { border-bottom-color: #fff; }

/* Full-bleed cover (home) and band (subpages) */
.cover, .band {
  position: relative; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--red);
}
.cover { min-height: 100svh; }
.band { min-height: 64svh; }
.cover > img, .band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover:has(> img)::after, .band:has(> img)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,.3) 68%, rgba(0,0,0,.6) 100%);
}
.cover .wrap, .band .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(32px, 5vw, 64px); padding-top: 120px; }
.cover h1 { font-size: clamp(3.3rem, 11.5vw, 10.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.045em; }
.band h1 { font-size: clamp(3rem, 9.5vw, 8.5rem); font-weight: 800; line-height: .92; letter-spacing: -0.04em; }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: block; transform: translateY(105%); animation: rise .95s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * .13s + .1s); }
@keyframes rise { to { transform: none; } }

.cover-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(28px, 4vw, 48px); }
.cover-foot p, .band .sub { margin: 0; max-width: 30em; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45; }
.band .sub { margin-top: 24px; }

.btn { display: inline-block; padding: 16px 30px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 999px; transition: background-color .2s, color .2s; }
.btn:hover { background: var(--red); color: #fff; }
.btn.blue { background: var(--red); color: #fff; }
.btn.blue:hover { background: var(--ink); }

.bg-plan { position: absolute; right: -4%; top: 22%; width: min(60vw, 640px); height: auto; opacity: .35; z-index: 1; }
.bg-plan .parcel { fill: none; stroke: #fff; stroke-width: 1.5; }
.bg-plan .target { fill: #000; stroke: none; }
.bg-plan .road { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 6 7; }

/* Sections */
section { padding: clamp(64px, 9vw, 140px) 0; }
.statement { font-family: var(--head); font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 21em; margin: 0; }
.kicker { font-family: var(--head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 28px; }

/* Ruled index of services */
.index { border-top: 2px solid var(--ink); }
.index-row {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px clamp(24px, 6vw, 96px);
  padding: clamp(24px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.index-row h3 { font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: .98; transition: color .2s; }
.index-row p { margin: 0; color: var(--ink-soft); align-self: end; max-width: 30em; }
.index-row:hover h3 { color: var(--red); }
.index-row:hover { border-bottom-color: var(--red); }

/* Project tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.tile { position: relative; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: clamp(20px, 2.6vw, 36px); color: #fff; text-decoration: none; overflow: hidden; background: var(--ink); }
.tile svg, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile:hover svg, .tile:hover img { transform: scale(1.045); }
.tile .cap { position: relative; z-index: 2; }
.tile h3 { font-size: clamp(2.4rem, 5.6vw, 5rem); font-weight: 800; letter-spacing: -0.04em; }
.tile p { margin: 10px 0 0; max-width: 22em; opacity: .92; }

.more { margin: 32px 0 0; font-weight: 600; }

/* Mission */
.mission { background: var(--red); color: #fff; }
.mission .statement { max-width: 20em; }

/* Big contact line */
.cta-line { display: block; font-family: var(--head); font-weight: 800; letter-spacing: -0.045em; line-height: .95; font-size: clamp(2.2rem, 7.6vw, 7rem); color: var(--ink); text-decoration: none; word-break: break-word; }
.cta-line:hover { color: var(--red); }
.cta-sub { margin: 0 0 20px; color: var(--ink-soft); font-size: 1.2rem; max-width: 28em; }

/* Services page */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(24px, 6vw, 96px); padding: clamp(32px, 4.5vw, 64px) 0; border-top: 2px solid var(--ink); }
.svc h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: .98; }
.svc p { margin: 0; color: var(--ink-soft); max-width: 34em; font-size: 1.15rem; }
.svc ul { margin: 18px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.todo { background: #fff3b8; padding: 2px 6px; border-radius: 2px; color: #5b4a00; }

/* Cases page */
.case-big { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 64px); padding: clamp(32px, 4vw, 56px) 0; border-top: 2px solid var(--ink); align-items: end; }
.case-big .art { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink); }
.case-big .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-big h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 800; letter-spacing: -0.045em; margin-bottom: 16px; }
.case-big p { margin: 0; color: var(--ink-soft); font-size: 1.15rem; }
.case-big dl { margin: 22px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; color: var(--ink-soft); }
.case-big dt { color: var(--ink); font-weight: 600; }
.case-big dd { margin: 0; }

/* About */
.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.portrait { aspect-ratio: 4 / 4.6; background: var(--wash); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.profile h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; }
.profile .role { margin: 8px 0 28px; color: var(--ink-soft); }
.profile p { max-width: 36em; }

/* Contact */
.contact-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 2px solid var(--ink); max-width: 760px; }
.contact-list li { display: grid; grid-template-columns: 9rem 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #e6e6e6; padding: 72px 0 40px; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 56px; }
.site-footer p { margin: 0; }
.tagline { font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.fine { width: 100%; font-size: .9rem; color: #9a9a9a; border-top: 1px solid #333333; padding-top: 20px; }

@media (max-width: 860px) {
  .index-row, .svc, .case-big, .profile { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 4.4; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .cover { min-height: 92svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line > span { transform: none; animation: none; }
  .tile svg, .tile img { transition: none; }
}

/* Language switcher */
.lang { display: inline-flex; gap: 10px; margin-left: 8px; font-size: .9rem; }
.lang a { text-decoration: none; opacity: .75; }
.lang a:hover { opacity: 1; }
.lang [aria-current="true"] { font-weight: 700; }


/* Three project tiles in one row */
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-3 .tile h3 { font-size: clamp(1.6rem, 3vw, 2.8rem); }
@media (max-width: 860px) { .tiles-3 { grid-template-columns: 1fr; } .tiles-3 .tile h3 { font-size: clamp(2.2rem, 9vw, 3rem); } }

/* Case photo gallery */
.case-big .gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.case-big .gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* Photos in tiles and case rows */
.case-big .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile:has(> img)::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0) 62%); }

.case-big .gallery.contain img { object-fit: contain; background: #fff; border: 1px solid #e6e6e6; }
.case-big .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
.case-big .logos img { height: 38px; width: auto; max-width: 150px; object-fit: contain; }

.tile:has(> img[src$=".svg"])::after { display: none; }

/* ===== Editorial layer ===== */
body { counter-reset: kick idx svc cs; }
section { padding: clamp(72px, 10vw, 150px) 0; }

/* Section labels: small caps with running number */
.kicker, .cta-sub {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px);
}
.kicker { counter-increment: kick; }
.kicker::before { content: counter(kick, decimal-leading-zero); color: var(--red); }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.cta-sub { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.2rem; color: var(--ink-soft); display: block; }

/* Lead statement: short red rule, tighter measure, larger size */
section:nth-of-type(1) .statement { font-weight: 700; font-size: clamp(2.1rem, 5.4vw, 4.9rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 17em; }
section:nth-of-type(1) .statement::before { content: ""; display: block; width: 72px; height: 6px; background: var(--red); margin-bottom: clamp(24px, 3vw, 40px); }

/* Service index with numerals */
.index { border-top: 0; }
.index-row { counter-increment: idx; grid-template-columns: 1.15fr .85fr; align-items: start; }
.index-row h3::before { content: counter(idx, decimal-leading-zero); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--red); margin-bottom: 14px; }
.index-row p { align-self: end; font-size: 1.05rem; }

/* Work: images clean, captions underneath, 7/5 then 5/7 rhythm */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 5vw, 72px) clamp(16px, 2vw, 32px); align-items: start; }
.work { display: block; color: var(--ink); text-decoration: none; }
.work.w0 { grid-column: 1 / span 7; }
.work.w1 { grid-column: 8 / span 5; margin-top: clamp(40px, 9vw, 140px); }
.work.w2 { grid-column: 1 / span 5; }
.work.w3 { grid-column: 6 / span 7; margin-top: clamp(40px, 9vw, 140px); }
.work-img { position: relative; display: block; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.work.w1 .work-img, .work.w2 .work-img { aspect-ratio: 4 / 5; }
.work-img svg, .work-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-img svg, .work:hover .work-img img { transform: scale(1.04); }
.work-cap { display: block; padding-top: 18px; }
.work .no { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.work h3 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; transition: color .2s; }
.work:hover h3 { color: var(--red); }
.work p { margin: 12px 0 0; color: var(--ink-soft); max-width: 26em; }
.more { margin-top: clamp(40px, 5vw, 64px); }
.more a { font-weight: 700; letter-spacing: .04em; }

/* Mission as pull quote */
.mission .statement { font-weight: 700; font-size: clamp(2rem, 5vw, 4.4rem); max-width: 18em; position: relative; }
.mission .statement::before { content: "\201C"; display: block; font-size: 2.4em; line-height: .6; height: .5em; margin-bottom: .1em; opacity: .55; }

/* Contact line */
.cta-line { font-size: clamp(2rem, 7vw, 6.4rem); border-bottom: 2px solid var(--ink); padding-bottom: .12em; }
.cta-line:hover { border-bottom-color: var(--red); }

/* Services page numerals */
.svc { counter-increment: svc; border-top: 1px solid var(--ink); position: relative; }
.svc h2::before { content: counter(svc, decimal-leading-zero); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--red); margin-bottom: 18px; }
.svc p { font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.svc ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.svc li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Case articles: numbered, alternating, ruled facts */
.case-big { counter-increment: cs; border-top: 1px solid var(--ink); padding: clamp(40px, 5vw, 72px) 0; align-items: start; }
.case-big:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.case-big:nth-child(even) > .art { grid-column: 2; grid-row: 1; }
.case-big:nth-child(even) > div:not(.art):not(.gallery) { grid-column: 1; grid-row: 1; }
.case-big h2::before { content: "No. " counter(cs, decimal-leading-zero); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.case-big h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.case-big > div:not(.art):not(.gallery) > p { font-size: 1.35rem; line-height: 1.35; color: var(--ink); max-width: 20em; }
.case-big dl { gap: 0; border-top: 1px solid var(--ink); margin-top: 28px; }
.case-big dt, .case-big dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.case-big dt { padding-right: 22px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-top: 15px; }
.case-big .gallery { margin-top: clamp(8px, 1.5vw, 20px); }

/* About: lede + offset portrait */
.profile p:first-of-type { font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.3; color: var(--ink); max-width: 24em; }
.profile .portrait { position: sticky; top: 24px; }
.profile h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }

/* Band: small folio above the headline */
.band h1, .cover h1 { position: relative; }

@media (max-width: 860px) {
  .works { grid-template-columns: 1fr; }
  .work.w0, .work.w1, .work.w2, .work.w3 { grid-column: 1; margin-top: 0; }
  .work .work-img, .work.w1 .work-img, .work.w2 .work-img { aspect-ratio: 4 / 3.4; }
  .case-big:nth-child(even) { grid-template-columns: 1fr; }
  .case-big:nth-child(even) > .art, .case-big:nth-child(even) > div:not(.art):not(.gallery) { grid-column: auto; grid-row: auto; }
  .profile .portrait { position: static; }
}

/* Facts row, footer nav */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(16px, 3vw, 48px); margin: clamp(48px, 6vw, 88px) 0 0; border-top: 1px solid var(--ink); }
.facts div { padding: 18px 0 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.foot-nav { display: flex; flex-direction: column; gap: 6px; }
.foot-nav a { color: #fff; text-decoration: none; font-weight: 500; }
.foot-nav a:hover { color: var(--red); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } .facts div { padding-bottom: 14px; border-bottom: 1px solid var(--line); } }

/* ===== Style pass ===== */
/* Light bands on subpages: white, big black title, red rule */
body.light .hdr, body.light .hdr .brand, body.light .nav a { color: var(--ink); }
body.light .nav a:hover { border-bottom-color: var(--red); }
body.light .nav a[aria-current="page"] { border-bottom-color: var(--red); }
body.light .hdr :focus-visible { outline-color: var(--red); }
.band:not(:has(> img)) { background: var(--paper); color: var(--ink); min-height: 52svh; }
.band:not(:has(> img)) .wrap { padding-top: 150px; padding-bottom: clamp(40px, 6vw, 88px); }
.band:not(:has(> img)) h1 { font-size: clamp(3.6rem, 12vw, 11rem); letter-spacing: -0.05em; line-height: .86; }
.band:not(:has(> img)) h1::after { content: ""; display: block; width: 96px; height: 8px; background: var(--red); margin-top: clamp(20px, 3vw, 36px); }
.band:not(:has(> img)) .sub { color: var(--ink-soft); font-size: clamp(1.2rem, 1.9vw, 1.55rem); max-width: 28em; }
.bg-plan { display: none; }
.band:not(:has(> img)) + section, .band:not(:has(> img)) + div { border-top: 0; }

/* Full-bleed feature image on the home page */
.bleed { margin: 0 0 clamp(72px, 10vw, 150px); }
.bleed a { display: block; overflow: hidden; }
.bleed img { width: 100%; height: clamp(300px, 52vw, 760px); object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.bleed a:hover img { transform: scale(1.03); }
.bleed figcaption { padding-top: 14px; font-size: .9rem; color: var(--ink-soft); }
.bleed figcaption::before { content: "Fig. "; font-weight: 700; color: var(--red); letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin-right: 8px; }

/* Larger imagery on case pages */
.case-big { grid-template-columns: 1.3fr .7fr; }
.case-big:nth-child(even) { grid-template-columns: .7fr 1.3fr; }
@media (max-width: 860px) { .case-big, .case-big:nth-child(even) { grid-template-columns: 1fr; } }

/* Mission: pull quote on a quiet band instead of full red */
.mission { background: var(--wash); color: var(--ink); }
.mission .statement::before { color: var(--red); opacity: 1; font-family: var(--serif); }
.mission .statement { border-top: 0; }
@media (max-width: 860px) {
  .index-row { grid-template-columns: 1fr; }
  .index-row p { align-self: start; }
}


/* ===== Calm / luxury pass: Helvetica, narrower column, lots of white ===== */
:root { --max: 1240px; --gutter: clamp(24px, 9vw, 150px); }
section { padding: clamp(96px, 14vw, 220px) 0; }

/* Quiet typography: lighter weights, smaller sizes, narrow measures */
.statement, section:nth-of-type(1) .statement, .mission .statement {
  font-family: var(--head); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  line-height: 1.22; letter-spacing: -0.02em; max-width: 19em;
}
section:nth-of-type(1) .statement::before { width: 48px; height: 3px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.mission .statement::before { font-family: var(--head); font-size: 3em; height: .45em; }
.index-row h3, .svc h2, .work h3, .case-big h2, .profile h2, .facts dd { font-family: var(--head); font-synthesis: auto; }
.index-row h3 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.svc h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.work h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.case-big h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.profile h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.facts dd { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.kicker { margin-bottom: clamp(40px, 5vw, 72px); }
.kicker::after { background: var(--line); }
.facts { border-top-color: var(--line); margin-top: clamp(64px, 8vw, 120px); }

/* Offset content so pages do not fill the full width */
@media (min-width: 900px) {
  .statement, .facts, .index, .works, .more, .cta-line, .cta-sub, .contact-list, .svc, .case-big, .profile { margin-left: 16.66%; }
  .kicker { margin-left: 16.66%; }
  section:nth-of-type(1) .statement { margin-left: 16.66%; }
  .mission .statement { margin-left: 16.66%; }
}
.index, .svc { border-color: var(--line); }
.svc, .case-big { border-top-color: var(--line); }
.index-row { padding: clamp(32px, 4vw, 56px) 0; }

/* Work grid: smaller images, big gaps */
.works { gap: clamp(72px, 10vw, 160px) clamp(16px, 2vw, 32px); }
.work.w0 { grid-column: 1 / span 6; }
.work.w1 { grid-column: 8 / span 5; margin-top: clamp(60px, 14vw, 220px); }
.work.w2 { grid-column: 2 / span 5; }
.work.w3 { grid-column: 8 / span 5; margin-top: clamp(60px, 14vw, 220px); }
.work-img, .work.w1 .work-img, .work.w2 .work-img { aspect-ratio: 4 / 5; }
.work.w0 .work-img { aspect-ratio: 5 / 4; }
.work p { font-size: .98rem; }

/* Feature image: inset, not full-bleed */
.bleed { margin: 0 auto clamp(96px, 14vw, 220px); max-width: var(--max); padding: 0 var(--gutter); }
.bleed a { width: 66%; margin-left: auto; }
.bleed img { height: auto; aspect-ratio: 3 / 2; }
.bleed figcaption { width: 66%; margin-left: auto; padding: 14px 0 0; max-width: none; }

/* Subpage titles: quieter */
.band:not(:has(> img)) { min-height: 46svh; }
.band:not(:has(> img)) .wrap { padding-top: 170px; padding-bottom: clamp(56px, 8vw, 120px); }
.band:not(:has(> img)) h1 { font-size: clamp(2.8rem, 8vw, 7rem); font-weight: 700; letter-spacing: -0.045em; line-height: .92; }
.band:not(:has(> img)) h1::after { width: 48px; height: 3px; margin-top: clamp(28px, 4vw, 48px); }
.band:not(:has(> img)) .sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 26em; }
.cover h1 { font-size: clamp(3rem, 9vw, 8.4rem); }
.band h1 { font-size: clamp(2.8rem, 8vw, 7rem); }

/* Case articles and about: more air */
.case-big { gap: clamp(32px, 6vw, 96px); padding: clamp(64px, 9vw, 140px) 0; grid-template-columns: 1fr 1fr; }
.case-big:nth-child(even) { grid-template-columns: 1fr 1fr; }
.case-big > div:not(.art):not(.gallery) > p { font-size: 1.15rem; max-width: 22em; }
.case-big .gallery { margin-top: clamp(24px, 3vw, 48px); }
.profile { gap: clamp(40px, 8vw, 140px); }
.profile p:first-of-type { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

/* Mission and contact */
.mission { background: var(--paper); border-top: 1px solid var(--line); }
.cta-line { font-size: clamp(1.8rem, 5vw, 4.4rem); font-weight: 700; border-bottom: 1px solid var(--ink); }
.site-footer { padding: 96px 0 40px; }

@media (max-width: 899px) {
  .work.w0, .work.w1, .work.w2, .work.w3 { grid-column: 1; margin-top: 0; }
  .bleed a, .bleed figcaption { width: 100%; }
  section { padding: clamp(72px, 16vw, 120px) 0; }
}
@media (max-width: 860px) { .case-big, .case-big:nth-child(even) { grid-template-columns: 1fr; } }

/* ===== Gestalt pass =====
   Proximity: spacing scale, small inside a group, large between groups.
   Alignment / continuity: two vertical axes (A = left edge, B = column 8 of 12) used by everything.
   Similarity: equal tiles, every case built the same way.
   Common region: hairlines enclose each group; whitespace is the figure's ground. */
:root { --in: 12px; --grp: clamp(32px, 4vw, 56px); --sec: clamp(96px, 13vw, 200px); }

/* Proximity inside groups: label, title and text sit tight */
.work .no, .case-big h2::before, .svc h2::before, .index-row h3::before { margin-bottom: var(--in); }
.work-cap { padding-top: 16px; }
.work p, .case-big h2 { margin-top: var(--in); margin-bottom: var(--in); }
.case-big dl { margin-top: var(--grp); }

/* One 12-column system for rows: A = col 1, B = col 8 */
@media (min-width: 900px) {
  .index-row, .svc, .case-big { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
  .index-row > :first-child, .svc > :first-child { grid-column: 1 / span 6; }
  .index-row > :last-child, .svc > :last-child { grid-column: 8 / span 5; }

  /* Cases: same pattern every time (media on axis A, text on axis B), no alternation */
  .case-big, .case-big:nth-child(even) { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .case-big > .art, .case-big:nth-child(even) > .art { grid-column: 1 / span 6; grid-row: 1; }
  .case-big > div:not(.art):not(.gallery), .case-big:nth-child(even) > div:not(.art):not(.gallery) { grid-column: 8 / span 5; grid-row: 1 / span 2; }
  /* Gallery belongs to its image: same column, directly beneath, small gap */
  .case-big > .gallery { grid-column: 1 / span 6; grid-row: 2; align-self: start; margin-top: var(--in);
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--in); }
  .case-big > .gallery img { aspect-ratio: 4 / 3; }
  .case-big > .gallery.contain { grid-template-columns: repeat(3, 1fr); }

  /* Work tiles: identical size on two axes, constant offset on the right column */
  .works { gap: var(--sec) clamp(16px, 2vw, 32px); }
  .work.w0, .work.w2 { grid-column: 1 / span 5; margin-top: 0; }
  .work.w1, .work.w3 { grid-column: 8 / span 5; margin-top: clamp(80px, 12vw, 180px); }
  .work.w2 { margin-top: calc(-1 * clamp(80px, 12vw, 180px) + var(--sec) * 0); }
  .work.w0 .work-img, .work.w1 .work-img, .work.w2 .work-img, .work.w3 .work-img { aspect-ratio: 4 / 5; }

  /* Feature image: spans from axis A to the right content edge, same edges as the text above and below */
  .bleed { max-width: none; padding: 0; margin-left: 16.66%; margin-right: var(--gutter); }
  .bleed a, .bleed figcaption { width: 100%; }
  .bleed img { aspect-ratio: 16 / 9; }
}
/* Groups apart: space between cases bigger than inside a case */
.case-big { padding: var(--sec) 0 0; border-top: 1px solid var(--line); }
.case-big:first-child { padding-top: var(--grp); }
.case-big:last-child { padding-bottom: var(--sec); border-bottom: 0 !important; }
.index-row, .svc { padding: var(--grp) 0; }
.band + section, .band + .wrap { padding-top: 0; }
.facts div { padding-top: var(--in); }
@media (min-width: 900px) { .facts { margin-right: 0; } }

/* Gestalt fixes: gallery hugs its image; feature image shares the text axis */
@media (min-width: 900px) {
  .case-big, .case-big:nth-child(even) { grid-template-rows: auto 1fr; }
  .bleed { max-width: var(--max); margin: 0 auto clamp(96px, 14vw, 220px); padding: 0 var(--gutter); }
  .bleed a, .bleed figcaption { width: auto; margin-left: 16.66%; max-width: none; padding-left: 0; padding-right: 0; }
}
@media (min-width: 900px) { .case-big h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); overflow-wrap: anywhere; } }

/* ===== Alignment fix: one left axis shared with header, hero and footer; narrower side margins ===== */
:root { --max: 1480px; --gutter: clamp(20px, 5vw, 80px); }
@media (min-width: 900px) {
  .statement, .facts, .index, .works, .more, .cta-line, .cta-sub, .contact-list, .svc, .case-big, .profile, .kicker,
  section:nth-of-type(1) .statement, .mission .statement { margin-left: 0 !important; }
  .statement { max-width: 20em; }
  /* Axis A = column 1, axis B = column 7, for every two-part row */
  .index-row > :first-child, .svc > :first-child { grid-column: 1 / span 5; }
  .index-row > :last-child, .svc > :last-child { grid-column: 7 / span 5; }
  .case-big > .art, .case-big:nth-child(even) > .art { grid-column: 1 / span 5; }
  .case-big > div:not(.art):not(.gallery), .case-big:nth-child(even) > div:not(.art):not(.gallery) { grid-column: 7 / span 5; }
  .case-big > .gallery { grid-column: 1 / span 5; }
  .work.w0, .work.w2 { grid-column: 1 / span 5; }
  .work.w1, .work.w3 { grid-column: 7 / span 5; }
  .bleed { max-width: var(--max); padding: 0 var(--gutter); margin: 0 auto clamp(96px, 14vw, 200px); }
  .bleed a, .bleed figcaption { margin-left: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
.case-big > .art { aspect-ratio: 4 / 3; }
section { padding: clamp(80px, 11vw, 170px) 0; }

/* Symmetry: left block cols 1-5, right block cols 8-12 (ends on the same right edge as the hairlines) */
@media (min-width: 900px) {
  .index-row > :last-child, .svc > :last-child { grid-column: 8 / span 5; }
  .case-big > div:not(.art):not(.gallery), .case-big:nth-child(even) > div:not(.art):not(.gallery) { grid-column: 8 / span 5; }
  .work.w1, .work.w3 { grid-column: 8 / span 5; }
}

/* Footer on the same axes: brand at A, links at B, contact at the right edge of B */
@media (min-width: 900px) {
  .site-footer .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
  .site-footer .tagline { grid-column: 1 / span 5; }
  .site-footer .foot-nav { grid-column: 8 / span 2; }
  .site-footer .wrap > p:not(.tagline):not(.fine) { grid-column: 10 / span 3; }
  .site-footer .fine { grid-column: 1 / -1; }
}

/* ===== Rust pass: a spacing scale, airy text rhythm, clear separation after headers ===== */
:root {
  --gutter: clamp(24px, 7vw, 120px);
  --s1: 8px; --s2: 16px; --s3: 32px; --s4: 64px; --s5: clamp(80px, 10vw, 160px); --s6: clamp(120px, 16vw, 260px);
}
body { line-height: 1.7; }
section { padding: var(--s6) 0; }
/* Space between a header band and the content that follows */
.band + section, .band + .wrap, .band + div, .band + main { padding-top: var(--s5) !important; }
.band:not(:has(> img)) + section, .band:not(:has(> img)) + div { padding-top: var(--s4) !important; }
.band .wrap { padding-bottom: var(--s4); }

/* Text rhythm: one gap between paragraphs, comfortable measure, soft grey for secondary text */
p { margin: 0 0 1.5em; max-width: 36em; line-height: 1.7; }
p:last-child { margin-bottom: 0; }
.profile p { font-size: 1.05rem; }
.profile p:first-of-type { line-height: 1.5; margin-bottom: 2em; }
.profile h2 { margin-bottom: var(--s1); }
.profile h2 + p, .profile .role { margin-bottom: var(--s3); }
.profile { gap: var(--s5); align-items: start; }
.statement { line-height: 1.3; }
.svc p, .index-row p { line-height: 1.7; }
.svc ul li { padding: 16px 0; line-height: 1.5; }
.case-big dd, .case-big dt { padding: 18px 0; line-height: 1.65; }
.case-big > div > p { margin-bottom: 0; }

/* Group spacing: roomy between blocks, tight inside */
.index-row, .svc { padding: var(--s4) 0; }
.case-big { padding-top: var(--s6); }
.works { gap: var(--s6) clamp(16px, 2vw, 32px); }
.work.w1, .work.w3 { margin-top: var(--s5); }
.kicker { margin-bottom: var(--s5); }
.facts { margin-top: var(--s5); }
.facts div { padding-top: var(--s2); }
.cta-line { margin-top: var(--s3); }
.cta-sub { margin-bottom: var(--s2); }
.site-footer { padding: var(--s5) 0 var(--s3); }
@media (max-width: 899px) { section { padding: var(--s5) 0; } }
.site-footer p, .site-footer .fine, .kicker, .cta-sub { max-width: none; }
.site-footer p { margin-bottom: 0; }
.cta-sub { max-width: 30em; }
.case-big dl { grid-template-columns: 9em 1fr; column-gap: var(--s2); }
.case-big { padding-bottom: var(--s4); }
.case-big .logos { margin-top: var(--s3); }
.case-big:last-child { padding-bottom: var(--s5); }
@media (max-width: 899px) { .case-big dl { grid-template-columns: 1fr; } .case-big dt { padding-bottom: 0; border-bottom: 0; } }

/* Tiles follow the format of the images (16:9) so nothing is cropped awkwardly */
.work-img, .work.w0 .work-img, .work.w1 .work-img, .work.w2 .work-img, .work.w3 .work-img { aspect-ratio: 16 / 9 !important; }
.work.w1, .work.w3 { margin-top: var(--s4); }
.works { gap: var(--s5) clamp(16px, 2vw, 32px); }
.facts { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ===== Cases: result first, challenge and approach on request ===== */
.case-more { margin-top: var(--s3); }
.case-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--ink); }
.case-more summary::-webkit-details-marker { display: none; }
.case-more summary::after { content: "+"; font-size: 1.3em; line-height: 1; color: var(--red); }
.case-more[open] summary::after { content: "\2212"; }
.case-more[open] summary { margin-bottom: var(--s2); }
.case-more dl { margin-top: var(--s2); }

/* ===== Small portrait before the final call to action ===== */
.signoff { padding: 0; }
.signoff .sign { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.4; }
.signoff .sign img { width: 72px; height: 72px; object-fit: cover; object-position: 50% 22%; border-radius: 50%; filter: grayscale(1); }
.signoff .sign span { color: var(--ink-soft); }
.signoff .sign strong { color: var(--ink); font-weight: 600; }
.signoff .sign:hover strong { color: var(--red); }

/* ===== Contact page: details left, form right ===== */
.contact-grid { display: grid; gap: var(--s5) 0; }
.contact-info .cta-line { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
.form { display: grid; gap: var(--s3); align-content: start; }
.form h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.form label { display: grid; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.form input, .form textarea { font: inherit; font-size: 1.1rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; width: 100%; }
.form textarea { resize: vertical; min-height: 7em; line-height: 1.6; }
.form input:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.form button { justify-self: start; font: inherit; font-weight: 600; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 16px 36px; cursor: pointer; transition: background .2s; }
.form button:hover { background: var(--red); }
.form button:disabled { opacity: .6; cursor: default; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.ok { color: var(--ink); }
.form-status.err { color: var(--red); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
  .contact-info { grid-column: 1 / span 5; }
  .form { grid-column: 8 / span 5; }
}
.mission { padding-bottom: var(--s5); }
.signoff { padding: 0 0 var(--s3) !important; }
.signoff + section { padding-top: var(--s3) !important; }
.contact-info .contact-list { border-top: 0; margin-top: var(--s3); }
.case-more[open] summary { border-bottom-color: transparent; }

/* Home title: smaller, more air between the lines */
.cover h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; }
.cover h1 .line { padding-bottom: .04em; }
