/* =========================================================
   Platform Plumbing — design system
   Editorial, quietly confident, design-aware
   ========================================================= */

:root {
  --ink:        #0a1520;
  --ink-2:      #1a2a3a;
  --ink-3:      #3a4a5a;
  --paper:      #f6f5f2;
  --paper-2:    #ffffff;
  --paper-3:    #efece6;
  --rule:       #d8d4cc;
  --rule-soft:  #e7e3db;
  --muted:      #6f6c66;
  --brand:      #00aeef;
  --brand-deep: #0084b8;
  --brand-ink:  #003c52;

  --max:        1320px;
  --gutter:     clamp(1.25rem, 4vw, 3rem);
  --section-y:  clamp(4rem, 9vw, 9rem);

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --t-eyebrow:  0.75rem;
  --t-body:     1.0625rem;
  --t-body-lg:  1.1875rem;
  --t-h3:       1.375rem;
  --t-h2:       clamp(1.75rem, 3vw, 2.5rem);
  --t-h1:       clamp(2.25rem, 4.5vw, 3.75rem);
  --t-display:  clamp(2.75rem, 7vw, 6.5rem);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* Base */
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--brand); color: var(--paper-2); }

/* Typography */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--ink-3);
}
.eyebrow.brand { color: var(--brand-deep); }
.eyebrow.brand::before { background: var(--brand-deep); }

.display, .h1, .h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}
.display {
  font-size: var(--t-display);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.h1 { font-size: var(--t-h1); line-height: 1.04; }
.h2 { font-size: var(--t-h2); line-height: 1.08; }
.h3 {
  font-family: var(--sans);
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.serif-italic { font-style: italic; font-weight: 300; }

p { max-width: 62ch; }
.lede {
  font-size: var(--t-body-lg);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38ch;
}
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); }

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 5rem); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,245,242,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.1rem;
}
.brandmark {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brandmark .dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--brand);
  border-radius: 50%;
  transform: translateY(-0.18em);
}
.brandmark small {
  display: block;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.1rem;
  font-weight: 500;
}
.brandmark .stack { display: flex; flex-direction: column; line-height: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 0.25rem 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: var(--paper-2) !important;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--brand-deep); }

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--rule);
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  width: 1.05rem;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after  { top: 5px; }

/* Hero */
.hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--t-display);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-deep);
}
.hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.hero-sub p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.01);
  transition: transform 1.4s var(--ease);
}
.hero-figure:hover img { transform: scale(1.04); }
.hero-figure figcaption {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10,21,32,0.55);
  padding: 0.5rem 0.85rem;
  backdrop-filter: blur(6px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--ink);
  color: var(--paper-2);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--brand-deep); }
.btn .arrow {
  display: inline-block;
  width: 1.1rem; height: 1.1rem;
  position: relative;
}
.btn .arrow::before {
  content: "→";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease);
}
.btn:hover .arrow::before { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper-2); }
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link:hover { color: var(--brand-deep); border-color: var(--brand-deep); }

/* Marquee strip */
.strip {
  border-block: 1px solid var(--rule);
  padding-block: 1.25rem;
  background: var(--paper);
  overflow: hidden;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.strip-item .bullet {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

/* Section header */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head .h2 { max-width: 14ch; }
.section-head .meta { display: flex; flex-direction: column; gap: 1rem; }
.section-head .meta p { color: var(--ink-2); }

/* Work cards */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
.work-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.work-card:last-child { border-bottom: 0; padding-bottom: 0; }
.work-card.reverse { grid-template-columns: 1fr 1.1fr; }
.work-card.reverse .work-figure { order: 2; }
.work-card.reverse .work-body   { order: 1; }
.work-figure {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--ink);
}
.work-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.work-card:hover .work-figure img { transform: scale(1.04); }
.work-figure .num {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--paper);
  letter-spacing: 0.05em;
}
.work-body { display: flex; flex-direction: column; gap: 1.25rem; }
.work-body .h2 { max-width: 12ch; }
.work-body p { color: var(--ink-2); }
.work-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
  margin-top: 0.5rem;
}
.work-body ul li {
  font-size: 0.875rem;
  color: var(--ink-3);
  padding-left: 1rem;
  position: relative;
}
.work-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 1px;
  background: var(--brand);
}

/* Capabilities grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.cap-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--paper);
  transition: background .3s var(--ease);
}
.cap-cell:hover { background: var(--paper-2); }
.cap-cell .num {
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--brand-deep);
  letter-spacing: 0.05em;
}
.cap-cell .h3 { color: var(--ink); }
.cap-cell ul li {
  font-size: 0.875rem;
  color: var(--ink-3);
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--rule-soft);
}
.cap-cell ul li:last-child { border-bottom: 0; }

/* Two col text */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.two-col .h2 { max-width: 14ch; }

/* Approach list */
.steps {
  display: grid;
  gap: 1.5rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.step:first-child { padding-top: 0; }
.step .num {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--brand-deep);
  line-height: 1;
  min-width: 3rem;
}
.step h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 500; margin-bottom: 0.4rem; }
.step p  { color: var(--ink-2); font-size: 0.9375rem; }

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-cell {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trust-cell:last-child { border-right: 0; }
.trust-cell .big {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-cell .lbl {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* CTA block */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}
.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.cta .h2 { color: var(--paper); max-width: 18ch; }
.cta .h2 em { color: var(--brand); font-style: italic; }
.cta p { color: rgba(246,245,242,0.7); }
.cta .btn { background: var(--brand); color: var(--ink); }
.cta .btn:hover { background: var(--paper); }
.cta .eyebrow { color: rgba(246,245,242,0.55); }
.cta .eyebrow::before { background: rgba(246,245,242,0.55); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0.85rem; bottom: 0.85rem;
  color: var(--paper);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(10,21,32,0.55);
  padding: 0.4rem 0.7rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery .g-tall   { grid-column: span 4; aspect-ratio: 3 / 4; }
.gallery .g-wide   { grid-column: span 8; aspect-ratio: 16 / 10; }
.gallery .g-half   { grid-column: span 6; aspect-ratio: 4 / 3; }
.gallery .g-third  { grid-column: span 4; aspect-ratio: 1 / 1; }
.gallery .g-twothirds { grid-column: span 8; aspect-ratio: 4 / 3; }
.gallery .g-full   { grid-column: span 12; aspect-ratio: 16 / 7; }

/* Page hero (interior) */
.page-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.page-hero h1 em { font-style: italic; color: var(--brand-deep); font-weight: 300; }
.page-hero .lede { max-width: 42ch; }
.page-hero .meta-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.page-hero .meta-list li { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.page-hero .meta-list strong { color: var(--ink); font-weight: 500; display: block; font-size: 0.9375rem; text-transform: none; letter-spacing: 0; margin-top: 0.25rem; }

.page-hero-figure {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}
.page-hero-figure img { width:100%; height:100%; object-fit: cover; }

/* Form */
.form {
  display: grid;
  gap: 1.5rem;
  max-width: 36rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-bottom-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field-radio-group {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.field-radio {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.field-radio input { display: none; }
.field-radio:has(input:checked) {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

/* Contact info block */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-info dd {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.contact-info dd a { border-bottom: 1px solid var(--rule); }
.contact-info dd a:hover { border-color: var(--brand); }
.contact-info .small {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246,245,242,0.12);
}
.footer-brand {
  display: flex; flex-direction: column; gap: 1rem;
}
.footer-brand .brandmark { color: var(--paper); }
.footer-brand .brandmark small { color: rgba(246,245,242,0.6); }
.footer-brand p {
  color: rgba(246,245,242,0.65);
  font-size: 0.9375rem;
  max-width: 32ch;
}
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246,245,242,0.55);
  margin-bottom: 1.25rem;
}
.footer-col ul li { padding: 0.3rem 0; }
.footer-col a {
  font-size: 0.9375rem;
  color: rgba(246,245,242,0.85);
  transition: color .25s var(--ease);
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(246,245,242,0.5);
}
.footer-bottom a:hover { color: var(--brand); }

/* Small UI */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--brand-deep);
  border-radius: 999px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 960px) {
  :root { --section-y: clamp(3rem, 8vw, 5rem); }
  .hero-grid,
  .page-hero-grid,
  .work-card,
  .work-card.reverse,
  .two-col,
  .section-head,
  .cta-inner,
  .contact-grid { grid-template-columns: 1fr; }
  .work-card.reverse .work-figure { order: 0; }
  .work-card.reverse .work-body   { order: 0; }
  .hero-sub { grid-template-columns: 1fr; gap: 1rem; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .trust    { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(2) { border-right: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery .g-tall,
  .gallery .g-wide,
  .gallery .g-half,
  .gallery .g-third,
  .gallery .g-twothirds,
  .gallery .g-full { grid-column: span 12; aspect-ratio: 4/3; }
  .work-body ul { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: fixed; inset: 0; top: 64px; background: var(--paper); flex-direction: column; align-items: stretch; padding: 2rem var(--gutter); gap: 0; border-top: 1px solid var(--rule); }
  .nav.is-open { display: flex; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: 1.125rem; }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 1rem; text-align: center; justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .brandmark { font-size: 1.2rem; }
  .brandmark small { display: none; }
  .cap-grid, .trust { grid-template-columns: 1fr; }
  .trust-cell { border-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .strip-inner { justify-content: flex-start; }
}
