/* Millwork - style.css. Everything that changes the look lives in :root. */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #696969;
  --dark: #000000;
  --on-dark: #ffffff;
  --soft-dark: rgba(247, 247, 247, .8);
  --line: #000000;
  --grey-btn: #a8a8a8;
  /* thin outer glow for every text over a photo or a dark area (opposite colour of the text) */
  --glow: 0 0 2px rgba(0, 0, 0, .35), 0 0 12px rgba(0, 0, 0, .45), 0 0 28px rgba(0, 0, 0, .3);
  --glow-drop: drop-shadow(0 0 2px rgba(0, 0, 0, .3)) drop-shadow(0 0 14px rgba(0, 0, 0, .35));
  --f: "Geist", system-ui, sans-serif;
  --ls: -0.03em;
  /* one radius for photos, buttons and fields: nothing round */
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 2.78vw, 40px);
}

/* 2. BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 16px/1 var(--f); letter-spacing: var(--ls); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; font-weight: inherit; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.sec { padding: clamp(80px, 8.3vw, 120px) var(--gutter) 0; max-width: 1920px; margin: 0 auto; }

/* section bar: number, ( name ), year, with a line under it */
.bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 3.4vw, 54px); font-size: 16px; }
.bar span:last-child { text-align: right; }

/* text that rolls up on hover: the word slides out and the same word comes from below */
.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.15; }
.roll > span { display: block; text-shadow: 0 1.15em currentColor; transition: transform .5s var(--ease); }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-1.15em); }

/* entrance: every block is wiped open from its top edge down, like a blind going up (hidden with visibility, so the
   observer still sees it; the clip only runs once it is on screen) */
.js [data-in] { visibility: hidden; }
.js [data-in].on { visibility: visible; animation: wipe 1.1s var(--ease) var(--d, 0s) both; }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20% 0); } }

/* black button with an arrow */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; width: min(325px, 100%); height: 55px; background: var(--ink); color: var(--bg); border-radius: var(--radius); font-size: 24px; }
.btn svg { transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

/* 3. HEADER ------------------------------------------------------------- */
.head { position: fixed; inset: 0 0 auto; z-index: 50; height: 58px; display: grid; grid-template-columns: 150px 1fr auto 1fr auto; align-items: center; padding: 0 var(--gutter);
  font-size: 16px; transition: background-color .4s, color .4s; }
.head.is-solid { background: var(--bg); }
.has-hero .head:not(.is-solid) { color: var(--on-dark); text-shadow: var(--glow); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .head.is-solid { background: var(--dark); }
.dark .foot { background: var(--bg); color: var(--ink); }
.logo { font-size: 24px; white-space: nowrap; }
.logo sup, .foot-logo sup { font-size: .6em; vertical-align: .55em; margin-left: -.1em; }
.clock { white-space: nowrap; }
.clock [data-time] { font-variant-numeric: tabular-nums; }
.nav { grid-column: 3; display: flex; gap: 22px; }
.nav-contact { grid-column: 5; }
.nav a[aria-current] { opacity: .5; }
.menu-btn { display: none; grid-column: 5; height: 36px; padding: 0 14px; border: 1px solid currentColor; border-radius: var(--radius); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 90px var(--gutter) 28px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: clamp(36px, 11vw, 64px); letter-spacing: -.04em; }
.menu-foot { display: grid; gap: 8px; color: var(--muted); line-height: 1.3; }
body.menu-on { overflow: hidden; }

/* 4. HERO --------------------------------------------------------------- */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.js .hero-photo img { transform: scale(1.22); transition: transform 2s var(--ease); }
.js .hero.on .hero-photo img { transform: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .36), rgba(0, 0, 0, .18) 22%, rgba(0, 0, 0, .24) 50%, rgba(0, 0, 0, .68)); pointer-events: none; }
.hero-body { text-shadow: var(--glow); position: absolute; z-index: 2; inset: 0; display: grid; grid-template-columns: 1fr minmax(240px, 340px); grid-template-rows: 1fr auto auto; padding: 0 var(--gutter) clamp(14px, 1.4vw, 20px); }
.hero-tags { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 40px; font-size: 20px; line-height: 1; }
.hero-lead { grid-column: 2; grid-row: 2; font-size: 20px; line-height: 1; text-align: right; margin-bottom: 18px; }
.hero-title { grid-column: 1 / -1; grid-row: 3; font-size: clamp(54px, 11.1vw, 214px); line-height: .8; font-weight: 700; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(100deg, #c9f1ea 0%, #ffffff 26%, #ffffff 70%, #e4e8e7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: var(--glow-drop); }
.hero-line { display: block; padding-bottom: .04em; }
.hero-line + .hero-line { text-align: right; }
.hero-tags { --d: .35s; } .hero-lead { --d: .45s; } .hero-line { --d: .55s; } .hero-line + .hero-line { --d: .7s; }

/* 5. ABOUT -------------------------------------------------------------- */
.statement { font-size: clamp(36px, 5.83vw, 112px); line-height: .9; max-width: 15.4em; }
.about-row { display: grid; grid-template-columns: 210px 1fr; gap: 40px 252px; margin-top: clamp(48px, 5.3vw, 90px); }
.about-pic { width: 210px; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.about-pic img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 24px; line-height: 1; align-content: start; }
.about-text .btn { margin-top: 38px; grid-column: 1; }
.about-text p + p { --d: .08s; }

/* 6. SELECTED WORKS: a big and a small photo, then one in the middle ---- */
.works { display: flex; flex-wrap: wrap; row-gap: clamp(70px, 8.6vw, 140px); }
.work { display: grid; gap: 16px; }
.work:nth-child(3n+1) { margin-left: 15%; width: 34.3%; }
.work:nth-child(3n+2) { margin-left: 18.5%; width: 17.3%; }
.work:nth-child(3n) { margin-left: 32.8%; width: 34.5%; margin-right: 32.7%; }
.work:nth-child(6n+4) { margin-left: 15%; width: 17.3%; }
.work:nth-child(6n+5) { margin-left: 18.4%; width: 34.3%; }
.work-pic { display: block; height: clamp(200px, 20.4vw, 392px); overflow: hidden; border-radius: var(--radius); }
.work-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work:hover .work-pic img { transform: scale(1.05); }
.work-cap { display: flex; justify-content: space-between; gap: 12px; font-size: clamp(16px, 1.67vw, 24px); text-transform: uppercase; white-space: nowrap; }
.work-cap span { color: var(--muted); }
.more { margin-top: clamp(60px, 5.6vw, 90px); text-align: center; }

/* 7. SERVICES (black) ---------------------------------------------------- */
.services { max-width: none; background: var(--dark); color: var(--on-dark); --line: rgba(255, 255, 255, .5); margin-top: clamp(80px, 8.3vw, 120px); padding-top: 60px; padding-bottom: 60px; }
.services > * { max-width: 1840px; margin-left: auto; margin-right: auto; }
.services > .sec-title { margin-left: max(0px, (100% - 1840px) / 2); }
.sec-title { font-size: clamp(34px, 5vw, 96px); line-height: .9; max-width: 18em; margin-bottom: clamp(40px, 4vw, 64px); }
.svc-row { display: grid; grid-template-columns: 18.5% 30.4% 27.4% 1fr; align-items: start; padding: 0 0 46px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.svc-row:last-child { margin-bottom: 0; }
.svc-n, .svc-row h3 { font-size: clamp(32px, 3.33vw, 64px); line-height: 1; }
.svc-pic { width: 210px; max-width: 100%; aspect-ratio: 210 / 270; overflow: hidden; border-radius: var(--radius); }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-row p { font-size: 20px; font-weight: 500; line-height: 1.05; color: var(--soft-dark); }

/* 8. PROCESS ------------------------------------------------------------- */
.steps { margin-left: 29.7%; }
.step { display: grid; grid-template-columns: 1fr 321px 60px; align-items: start; gap: 24px; padding: 0 0 40px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.step:last-child { margin-bottom: 0; }
.step h3 { font-size: 24px; }
.step h3 span { margin-right: 12px; }
.step p { font-size: 16px; line-height: 1; }
.dash { justify-self: end; width: 16px; height: 1px; margin-top: 10px; background: var(--ink); transition: width .5s var(--ease); }
.step:hover .dash { width: 44px; }

/* 9. TESTIMONIALS -------------------------------------------------------- */
.words { position: relative; }
.words-stage { display: grid; }
.word { grid-area: 1 / 1; display: grid; grid-template-columns: 38.6% 1fr; gap: 0 9.6%; visibility: hidden; opacity: 0; transition: opacity .7s var(--ease), visibility 0s .7s; }
.word.on { visibility: visible; opacity: 1; transition: opacity .7s var(--ease); }
.word-pic { aspect-ratio: 555 / 724; overflow: hidden; border-radius: var(--radius); }
.word-pic img { width: 100%; height: 100%; object-fit: cover; }
.word-body { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 6px; }
.word blockquote p { font-size: clamp(26px, 2.78vw, 54px); line-height: 1; }
.word .word-by { display: grid; gap: 5px; font-size: 24px; }
.word .word-by span { color: var(--muted); }
.word-nav { position: absolute; right: var(--gutter); bottom: 6px; display: flex; gap: 10px; }
.arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--ink); color: var(--bg); transition: background-color .3s; }
.arrow[data-word-prev] { background: var(--grey-btn); }
.arrow:hover { background: var(--muted); }

/* 10. STATS -------------------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-num { font-size: clamp(56px, 6.7vw, 128px); line-height: 1; letter-spacing: -.06em; margin-bottom: 26px; }
.stat-num b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.stat h3 { font-size: 24px; margin-bottom: 12px; }
.stat p:last-child { font-size: 16px; line-height: 1; color: var(--muted); max-width: 20em; }

/* 11. ARTICLES ----------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post { display: grid; gap: 10px; align-content: start; }
.post:nth-child(2) { --d: .08s; } .post:nth-child(3) { --d: .16s; } .post:nth-child(4) { --d: .24s; }
.post-pic { display: block; aspect-ratio: 325 / 368; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.post-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-pic img { transform: scale(1.05); }
.post-meta { color: var(--muted); }
.post strong { font-weight: inherit; font-size: 24px; line-height: 1; }

/* 12. CTA AND FOOTER ---------------------------------------------------- */
.cta { position: relative; height: 100vh; min-height: 560px; margin-top: clamp(80px, 8.3vw, 120px); overflow: hidden; display: grid; place-items: center; color: var(--on-dark); background: var(--dark); }
.cta-photo { position: absolute; inset: -12% 0; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.cta-body { text-shadow: var(--glow); position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; text-align: center; padding: 0 var(--gutter); }
.cta h2 { font-size: clamp(30px, 2.78vw, 54px); line-height: 1; text-transform: uppercase; }
.cta-link { padding: 8px 8px; border: 1px solid currentColor; border-radius: var(--radius); text-transform: uppercase; }
.foot { display: grid; grid-template-columns: 50.6% 1fr auto; grid-template-rows: auto 1fr auto; padding: 56px var(--gutter) 40px; min-height: 380px; column-gap: 20px; }
.foot-logo { grid-column: 1; grid-row: 1; font-size: clamp(44px, 5vw, 96px); line-height: 1; }
.foot-nav { grid-column: 2; grid-row: 1; display: grid; gap: 5px; justify-items: start; }
.foot-copy { grid-column: 1; grid-row: 3; color: var(--muted); align-self: end; }
.foot-social { grid-column: 2; grid-row: 3; display: grid; gap: 5px; justify-items: start; color: var(--muted); align-self: end; }
.foot-top { grid-column: 3; grid-row: 3; align-self: end; display: inline-flex; gap: 6px; align-items: center; }
.foot a:hover { opacity: .55; }
.to-top { position: fixed; right: var(--gutter); bottom: 20px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--bg);
  border-radius: var(--radius); transform: translateY(160%); transition: transform .6s var(--ease); }
.to-top.on { transform: none; }
@media (max-width: 767px) {
  .to-top { width: 40px; height: 40px; bottom: 16px; }
  .to-top.away { transform: translateY(160%); }
  .contact { padding-bottom: 96px; }
}

/* mail links copy the address too */
a.copied { position: relative; }
a.copied::after { content: "Copied"; position: absolute; left: 0; bottom: calc(100% + 6px); padding: 4px 8px; background: var(--ink); color: var(--bg); border-radius: var(--radius); font-size: 12px; white-space: nowrap; }


/* 13. INNER PAGES -------------------------------------------------------- */
.page-head { padding: clamp(110px, 12.5vw, 180px) var(--gutter) 0; max-width: 1920px; margin: 0 auto; }
.page-title { font-size: clamp(42px, 5vw, 96px); line-height: .9; text-transform: uppercase; margin-bottom: clamp(32px, 4.4vw, 64px); }
.post-title { text-transform: none; max-width: 14em; }
.page-head .post-meta { margin-bottom: 18px; }
.grid-sec, .more-sec, .project, .article { padding: 0 var(--gutter); max-width: 1920px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 20px; }
.card { display: grid; gap: 14px; align-content: start; }
.card-pic { display: block; aspect-ratio: 670 / 420; overflow: hidden; border-radius: var(--radius); margin-bottom: 10px; }
.posts-big .card-pic { aspect-ratio: 670 / 368; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-pic img { transform: scale(1.04); }
.card:nth-child(2n) { --d: .08s; }
.more-sec { padding-top: clamp(80px, 8.3vw, 120px); }
.more-title { font-size: clamp(32px, 3.33vw, 64px); margin-bottom: 40px; }
.p-hero { aspect-ratio: 1360 / 800; overflow: hidden; border-radius: var(--radius); }
.p-hero img { width: 100%; height: 100%; object-fit: cover; }
.p-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 64px 0 60px; font-size: 24px; line-height: 1; }
.p-info h2, .p-note h2 { font-size: 24px; text-transform: uppercase; margin-bottom: 24px; }
.p-facts ul { margin-bottom: 24px; text-transform: uppercase; }
.p-facts p, .p-facts li { text-transform: uppercase; }
.p-text p { max-width: 28em; }
.p-row { display: grid; gap: 24px; margin-bottom: 94px; }
.p-row.c2 { grid-template-columns: 1fr 1fr; }
.p-row.c2 .p-ph { aspect-ratio: 668 / 800; }
.p-row.c1 .p-ph { aspect-ratio: 1360 / 800; }
.p-ph { overflow: hidden; border-radius: var(--radius); }
.p-ph img { width: 100%; height: 100%; object-fit: cover; }
.p-row.c2 .p-ph + .p-ph { --d: .08s; }
.p-note { margin: 0 0 94px 50%; padding-left: 0; max-width: 680px; font-size: 24px; line-height: 1; }
.project > .p-row:last-child { margin-bottom: 0; }

/* studio */
.hero-plain::after { inset: 0; background: rgba(0, 0, 0, .12); }
.big-statement { font-size: clamp(36px, 5vw, 96px); line-height: .9; }
.split { display: grid; grid-template-columns: 1fr minmax(0, 575px); gap: 40px; margin-top: clamp(60px, 6.5vw, 94px); align-items: start; }
.split-pic { width: 210px; aspect-ratio: 210 / 240; overflow: hidden; border-radius: var(--radius); }
.split-pic img { width: 100%; height: 100%; object-fit: cover; }
.split-text, .approach h2 { font-size: clamp(26px, 2.78vw, 54px); line-height: 1; }
.approach { grid-template-columns: 1fr minmax(0, 596px); margin-top: clamp(90px, 9vw, 130px); }
.strip { margin-top: clamp(80px, 8.3vw, 120px); overflow: hidden; }
.strip-track { display: flex; gap: 24px; width: max-content; animation: strip 40s linear infinite; }
.strip-pic { width: 325px; aspect-ratio: 325 / 377; overflow: hidden; border-radius: var(--radius); flex: none; }
.strip-pic img { width: 100%; height: 100%; object-fit: cover; }
@keyframes strip { to { transform: translateX(-50%); } }
.clients-title { font-size: clamp(28px, 2.78vw, 54px); margin-bottom: 32px; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-tile { display: grid; place-items: center; aspect-ratio: 1.75; background: #6f6f6f; color: #fff; border-radius: var(--radius); font-size: clamp(28px, 3.6vw, 64px); }
.logo-tile:nth-child(3n+2) { --d: .06s; } .logo-tile:nth-child(3n) { --d: .12s; }
.logo-serif { font-weight: 700; letter-spacing: -.04em; }
.logo-italic { font-weight: 500; font-style: italic; letter-spacing: -.02em; }
.logo-wide { font-weight: 700; letter-spacing: .12em; font-size: clamp(22px, 2.6vw, 48px); }
.logo-lower { font-weight: 500; letter-spacing: -.06em; text-transform: lowercase; }

/* article */
.a-lead { font-size: clamp(34px, 5vw, 96px); line-height: .9; margin: clamp(60px, 6.5vw, 94px) 0; }
.a-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: clamp(60px, 6.5vw, 94px); align-items: start; }
.a-small { width: min(326px, 100%); aspect-ratio: 326 / 336; overflow: hidden; border-radius: var(--radius); }
.a-small img { width: 100%; height: 100%; object-fit: cover; }
.a-text { font-size: clamp(26px, 3.33vw, 64px); line-height: 1; }
.a-text-r { margin: clamp(60px, 6.5vw, 94px) 0 0 auto; max-width: 560px; max-width: 38.9%; }
.a-close { margin-bottom: 0; }

/* contact (dark page) */
.contact { padding: clamp(110px, 11vw, 160px) var(--gutter) clamp(80px, 8.3vw, 120px); max-width: 1920px; margin: 0 auto; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.field { display: grid; gap: 10px; }
.wide { grid-column: 1 / -1; }
.field label { font-size: 24px; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 10px 0 12px; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .45); border-radius: 0; color: var(--on-dark);
  font: 500 16px/1.3 var(--f); letter-spacing: var(--ls); outline: none; transition: border-color .3s; resize: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--on-dark); }
.field.bad input, .field.bad textarea { border-bottom-color: #ff8a7a; }
.form-note { min-height: 1em; color: rgba(255, 255, 255, .7); }
.submit { height: 55px; background: var(--on-dark); color: var(--dark); border-radius: var(--radius); font-size: 24px; text-transform: uppercase; }

/* 404 */
.hero-404 { display: grid; align-items: center; }
.nf { position: relative; z-index: 2; padding: 0 var(--gutter); display: grid; gap: 14px; justify-items: start; text-shadow: var(--glow); }
.nf h1 { font-size: clamp(48px, 5vw, 96px); line-height: 1; }
.nf p { font-size: clamp(32px, 3.33vw, 64px); margin-bottom: 16px; }
.btn-light { background: var(--on-dark); color: var(--dark); text-shadow: none; }

/* 14. TABLET AND PHONE --------------------------------------------------- */
@media (max-width: 1100px) {
  .about-row { gap: 40px 60px; }
  .steps { margin-left: 0; }
  .svc-row { grid-template-columns: 12% 26% 30% 1fr; gap: 0 16px; }
}
@media (max-width: 900px) {
  .head { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav, .nav-contact { display: none; }
  .menu-btn { display: block; grid-column: 3; }
  .hero-body { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto auto; }
  .hero-tags { grid-row: 2; margin-bottom: 20px; }
  .hero-lead { grid-column: 1; grid-row: 3; text-align: left; max-width: 24em; margin-bottom: 22px; }
  .hero-title { grid-row: 4; font-size: 12.4vw; }
  .about-row { grid-template-columns: 1fr; }
  .about-text { grid-template-columns: 1fr; font-size: 20px; }
  .about-text .btn { margin-top: 10px; }
  .works { column-gap: 16px; row-gap: 48px; }
  .work:nth-child(n) { margin: 0; width: calc(50% - 8px); }
  .work:nth-child(3n) { width: 100%; }
  .work-cap { font-size: 18px; }
  .svc-row { grid-template-columns: 56px 1fr; gap: 18px 16px; }
  .svc-pic { grid-column: 2; grid-row: 2; }
  .svc-row h3 { grid-column: 2; grid-row: 1; }
  .svc-row p { grid-column: 2; }
  .step { grid-template-columns: 1fr 40px; }
  .step p { grid-column: 1; grid-row: 2; }
  .dash { grid-column: 2; grid-row: 1; }
  .word { grid-template-columns: 1fr; gap: 24px; }
  .word-pic { aspect-ratio: 4 / 3.4; }
  .word-body { gap: 28px; padding-bottom: 70px; }
  .stat-row, .posts { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .foot { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot-logo { grid-column: 1 / -1; }
  .foot-nav { grid-column: 1; grid-row: 2; }
  .foot-social { grid-column: 2; grid-row: 2; align-self: start; }
  .foot-copy { grid-row: 3; }
  .foot-top { grid-column: 2; }
}
@media (max-width: 600px) {
  .clock { display: none; }
  .head { grid-template-columns: 1fr auto; }
  .menu-btn { grid-column: 2; }
  .bar { grid-template-columns: auto 1fr; }
  .bar span:nth-child(2) { text-align: right; }
  .bar span:last-child { display: none; }
  .hero-tags, .hero-lead { font-size: 18px; }
  .btn { font-size: 20px; }
  .work:nth-child(n) { width: 100%; }
  .work-pic { height: 66vw; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-n, .svc-pic, .svc-row h3, .svc-row p { grid-column: 1; grid-row: auto; }
  .stat-row { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .word blockquote p { font-size: 26px; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .p-info, .a-split, .split, .approach { grid-template-columns: 1fr; }
  .p-note { margin-left: 0; }
  .a-text-r { max-width: none; margin-left: 0; }
  .logos { grid-template-columns: 1fr 1fr; }
  .p-row { margin-bottom: 48px; } .p-note { margin-bottom: 48px; }
}
@media (max-width: 600px) {
  .p-row.c2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field label, .p-info, .p-note, .p-info h2, .p-note h2 { font-size: 20px; }
  .strip-pic { width: 220px; }
  .logo-tile { font-size: 22px; padding: 0 8px; text-align: center; }
  .logo-wide { font-size: 15px; }
  .big-statement, .statement { font-size: 30px; }
  .a-lead { font-size: 30px; }
  .a-text, .split-text, .approach h2 { font-size: 22px; line-height: 1.08; }
  .p-hero { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .js [data-in], .js .hero-photo img { visibility: visible !important; animation: none !important; transform: none !important; transition: none !important; }
}
