/* IndustrialStrength.AI
   Type is the Industrial family in webfont/.
   Brand colors: navy #1B2632, orange #B94C04. */

@font-face {
  font-family: "Industrial";
  src: url("../webfont/industrial-light-webfont.woff2") format("woff2"),
       url("../webfont/industrial-light-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Industrial";
  src: url("../webfont/industrial-regular-webfont.woff2") format("woff2"),
       url("../webfont/industrial-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Industrial";
  src: url("../webfont/industrial-medium-webfont.woff2") format("woff2"),
       url("../webfont/industrial-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Industrial";
  src: url("../webfont/industrial-semibold-webfont.woff2") format("woff2"),
       url("../webfont/industrial-semibold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Industrial";
  src: url("../webfont/industrial-bold-webfont.woff2") format("woff2"),
       url("../webfont/industrial-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b2632;
  --ink-soft: #3c4854;
  --muted: #5e6872;
  --orange: #b94c04;
  --orange-deep: #943d03;
  --paper: #f3f0e8;
  --paper-2: #e7e2d6;
  --line: rgba(27, 38, 50, 0.16);
  --line-strong: rgba(27, 38, 50, 0.28);
  --cream: #f7f4ee;
  --display: "Industrial", "Arial Narrow", sans-serif;
  --body: "Noto Sans", "Segoe UI", sans-serif;
  --header-h: 104px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.55;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(27, 38, 50, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 38, 50, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(27, 38, 50, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 38, 50, 0.035) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
  background-position: -1px -1px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; }

a { color: inherit; }

button, input, textarea { font: inherit; color: inherit; }

p,
li {
  font-family: var(--body);
  font-weight: 400;
}

input,
textarea {
  font-family: var(--body);
}

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--orange);
  color: #fff;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.skip:focus { top: 14px; }

.wrap {
  width: min(1180px, calc(100% - 72px));
  margin-inline: auto;
}

/* Header ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid var(--line-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
  background: var(--paper);
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.logo img { height: 72px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-left: auto;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: transparent;
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after {
  background: var(--orange);
}

.site-nav .nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 0.25rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  top: 21px;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.1rem 0.78rem;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover { background: var(--orange-deep); color: #fff; }

.btn span[aria-hidden="true"] { transition: transform 0.18s ease; }
.btn:hover span[aria-hidden="true"] { transform: translateX(3px); }

.header-cta {
  flex: none;
  align-self: center;
  margin-left: 0.55rem;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  line-height: 1;
  padding-top: 0.82rem;
  padding-bottom: 0.82rem;
}

/* Hero ------------------------------------------------------------- */

.hero {
  --hero-split: 54%;
  position: relative;
  display: grid;
  grid-template-columns: var(--hero-split) 1fr;
  align-items: stretch;
  min-height: 520px;
  padding: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 1.7rem 0 2.5rem;
}

.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

a.eyebrow { text-decoration: none; }
a.eyebrow:hover { color: var(--orange); }

.eyebrow-rule {
  display: block;
  width: 2.6rem;
  height: 3px;
  background: var(--orange);
  margin: 0.55rem 0 1rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 4.5rem;
  line-height: 0.82;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.hero h1 .hot {
  color: var(--orange);
  font-size: 5.5rem;
  line-height: 0.82;
}

.signature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.45rem 0 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}

.signature i {
  display: block;
  width: 1.7rem;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.hero-figure {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(var(--hero-split) - 5%);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: transparent;
  background-image: url("../assets/hero.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 58% 42%;
}

.ruler,
.ruler-v {
  position: absolute;
  pointer-events: none;
}

.ruler {
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    rgba(27, 38, 50, 0.55) 0 1px,
    transparent 1px 16px
  );
}

.ruler-v {
  top: 0;
  bottom: 0;
  right: 0;
  width: 12px;
  background: repeating-linear-gradient(
    rgba(27, 38, 50, 0.55) 0 1px,
    transparent 1px 16px
  );
}

.marks { position: absolute; inset: 0; pointer-events: none; }

.marks b {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(27, 38, 50, 0.72);
  border-radius: 50%;
}

.marks b::before,
.marks b::after {
  content: "";
  position: absolute;
  background: rgba(27, 38, 50, 0.72);
}

.marks b::before {
  width: 1px;
  height: 25px;
  left: 50%;
  top: -6px;
}

.marks b::after {
  height: 1px;
  width: 25px;
  top: 50%;
  left: -6px;
}

.marks .a { top: 10px; left: 10px; }
.marks .b { top: 10px; right: 10px; }
.marks .c { bottom: 10px; left: 10px; }
.marks .d { bottom: 10px; right: 10px; }

/* Mission + capabilities ------------------------------------------ */

.work {
  border-top: 1px solid var(--line-strong);
  padding: 2.6rem 0 3.1rem;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2.15fr);
  gap: 2.4rem;
}

.mission {
  padding-right: 1.4rem;
  border-right: 1px solid var(--line-strong);
}

.mission .btn {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.mission h2,
.page-hero h1,
.closer h2,
.prose h2,
.thanks h2,
.card h2,
.feature-card h2,
.note-list h2,
.principle h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.mission h2 {
  margin: 0.15rem 0 0.95rem;
  font-size: clamp(2.05rem, 3vw, 2.85rem);
}

.mission p,
.closer-copy p,
.lede {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 36ch;
}

.caps-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.45rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.caps-label::before {
  content: "";
  width: 3px;
  height: 0.95rem;
  background: var(--orange);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cap-item {
  position: relative;
  padding: 0 1rem 0.2rem 1.15rem;
}

.cap-item:first-child { padding-left: 0; }

.cap-item + .cap-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--line-strong);
}

.icon {
  width: 40px;
  height: 40px;
  display: block;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.cap-num {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--orange);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.cap-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.275rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  line-height: 1.15;
}

.cap-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 22ch;
}

/* Case band -------------------------------------------------------- */

.case {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.78fr;
  background: var(--ink);
  color: var(--cream);
  min-height: 340px;
}

.case-copy { padding: 2.3rem 1.5rem 2.3rem 2rem; }

.case .eyebrow { color: rgba(247, 244, 238, 0.72); }

.case h2 {
  margin: 0.15rem 0 0.85rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.15rem, 3.3vw, 3.15rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
}

.case-copy p {
  margin: 0 0 1.3rem;
  max-width: 28ch;
  color: rgba(247, 244, 238, 0.82);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--orange);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
}

.link-arrow:hover { color: #d89d75; }

.case .link-arrow {
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.case .link-arrow:hover { color: #d89d75; }

.case-photo { position: relative; min-height: 260px; }

.case-photo img,
.plate img,
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) sepia(0.12);
}

.case-photo img { object-position: center 22%; }

.case-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.2rem 2rem 2.6rem 1.6rem;
}

.stat-num {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 8rem;
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.stat-label {
  margin: 0.45rem 0 0;
  max-width: 12ch;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hatch {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 58px;
  height: 26px;
  background: repeating-linear-gradient(
    -48deg,
    transparent 0 4px,
    rgba(247, 244, 238, 0.75) 4px 5px
  );
}

/* Closer + legal --------------------------------------------------- */

.closer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.95fr;
  gap: 2rem 2.4rem;
  align-items: center;
  padding: 3.6rem 0 2.6rem;
}

.closer h2 {
  margin: 0;
  font-size: clamp(2.05rem, 3.5vw, 3.05rem);
}

.closer h2 .bar {
  display: block;
  width: 4.6rem;
  height: 5px;
  margin: 0.72rem 0;
  background: var(--orange);
}

.closer-copy .btn {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.closer-art { justify-self: end; width: min(100%, 360px); }

.coords {
  margin: 0 0 0.35rem;
  text-align: right;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.coords span { display: block; }

.truck { width: 100%; height: auto; display: block; }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 0.95rem 0 1.7rem;
  color: var(--muted);
  font-size: 0.84rem;
  background: var(--paper);
}

.legal a { color: inherit; }
.legal a:hover { color: var(--orange); }

.legal p { margin: 0; }

.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.2rem 2.6rem;
  padding: 2.6rem 0 0.4rem;
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
}

.foot-logo { display: inline-flex; text-decoration: none; }
.foot-logo img { height: 42px; width: auto; }

.foot-brand p {
  margin: 0.9rem 0 0;
  max-width: 28ch;
  color: var(--ink-soft);
}

.foot h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot a {
  text-decoration: none;
  color: var(--ink);
}

.foot li a {
  display: inline-block;
  padding: 0.28rem 0;
}

.foot a:hover { color: var(--orange); }

/* Interior pages --------------------------------------------------- */

.page-hero { padding: 2.3rem 0 1.8rem; max-width: 18em; }

.page-hero.wide { max-width: 16em; }

.page-hero h1 {
  margin: 0.15rem 0 0.9rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero .lede { font-size: 1.16rem; max-width: 42ch; }

.stack { display: grid; gap: 0; padding-bottom: 1rem; }

.block {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.5rem 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-strong);
}

.block .cap-num { font-size: 1.15rem; padding-top: 0.35rem; }

.block h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.block p { margin: 0 0 0.7rem; max-width: 68ch; color: var(--ink-soft); }
.block p:last-child { margin-bottom: 0; }

.plate {
  position: relative;
  height: min(440px, 58vw);
  margin-bottom: 2rem;
  background: #d5d0c6;
  overflow: hidden;
}

.plate img { object-position: center 20%; }

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.7fr);
  gap: 2.2rem;
  align-items: start;
  padding-bottom: 3rem;
}

.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  background: var(--ink);
  color: var(--cream);
  padding: 1.5rem 1.4rem 1.7rem;
}

.detail-aside .eyebrow { color: rgba(247, 244, 238, 0.7); }
.detail-aside .stat-label { font-size: 1.05rem; }

.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.05rem; color: var(--ink-soft); font-size: 1.12rem; }
.prose h2 { font-size: 1.55rem; margin: 1.8rem 0 0.7rem; }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--orange);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.steps { counter-reset: step; }

.feature-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 280px;
  margin-bottom: 1.15rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.feature-card .feature-copy { padding: 1.7rem 1.6rem; }
.feature-card h2 { margin: 0.35rem 0 0.7rem; font-size: clamp(1.8rem, 2.5vw, 2.4rem); color: var(--cream); }
.feature-card p { margin: 0 0 1rem; color: rgba(247, 244, 238, 0.8); max-width: 36ch; }
.feature-card .eyebrow { color: rgba(247, 244, 238, 0.7); }
.feature-card:hover h2 { color: #dfae8e; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.35);
  text-decoration: none;
  color: inherit;
}

.card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) sepia(0.12);
}

.card-photo.clinic { object-position: center 22%; }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.95rem 1.15rem 1.15rem;
}

.card:hover { border-color: var(--orange); }
.card h2 { margin: 0.45rem 0 0.4rem; font-size: 1.28rem; }
.card-body > p { margin: 0 0 1rem; color: var(--muted); }
.card .eyebrow { margin: 0; color: var(--ink); }

.card .metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.9rem;
  margin: auto 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.card .metrics li { margin: 0; padding: 0; }

.card .stat-num { font-size: 2.15rem; color: var(--orange); }
.card .stat-label {
  margin: 0.35rem 0 0;
  max-width: none;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.note-list { border-top: 1px solid var(--line-strong); margin-bottom: 2.5rem; }

.note-list a {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.35rem 1.2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  color: inherit;
}

.note-num {
  font-family: var(--display);
  color: var(--orange);
  letter-spacing: 0.08em;
  padding-top: 0.35rem;
}

.note-list h2 { margin: 0 0 0.3rem; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.note-list p { margin: 0; color: var(--muted); }
.note-list a:hover h2 { color: var(--orange); }

.byline {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  padding: 0.4rem 0 3rem;
}

.principle { border-top: 3px solid var(--orange); padding-top: 0.9rem; }
.principle h3 { margin: 0 0 0.55rem; font-size: 1.6875rem; }
.principle p { margin: 0; color: var(--ink-soft); }

.pull {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 18ch;
}

.pull span {
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--orange);
  margin-bottom: 0.7rem;
}

/* Contact ---------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  align-items: start;
}

.field { margin: 0 0 1.15rem; }

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(27, 38, 50, 0.38);
  border-radius: 0;
  padding: 0.55rem 0;
}

textarea {
  border: 1px solid rgba(27, 38, 50, 0.38);
  padding: 0.7rem 0.75rem;
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-errors {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border-left: 3px solid var(--orange);
  background: rgba(185, 76, 4, 0.08);
  color: #4e2002;
}

.form-errors p { margin: 0; }

.thanks { border-top: 4px solid var(--orange); padding-top: 0.9rem; max-width: 46ch; }
.thanks h2 { margin: 0 0 0.6rem; font-size: 2rem; }
.thanks p { color: var(--ink-soft); }
.template-note { font-size: 0.92rem; color: var(--muted); }

/* Responsive ------------------------------------------------------- */

@media (max-width: 1040px) {
  .cap-grid { grid-template-columns: 1fr 1fr; row-gap: 1.8rem; }
  .cap-item + .cap-item::before { display: none; }
  .cap-item { padding: 0 0.85rem; }
  .cap-item:nth-child(odd) { padding-left: 0; }
  .cap-item:nth-child(even) { border-left: 1px solid var(--line-strong); }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; margin-left: auto; }
  .header-cta { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.35rem 1.25rem 1.2rem;
    background: #f3f0e8;
    border-bottom: 1px solid var(--line-strong);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a:not(.btn) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.btn)::after { display: none; }

  .site-nav .nav-cta { display: inline-flex; align-self: flex-start; margin-top: 0.95rem; font-size: 1.25rem; letter-spacing: 0.08em; }

  .hero,
  .work-grid,
  .case,
  .closer,
  .detail,
  .feature-card,
  .contact-grid { grid-template-columns: 1fr; }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 1.35rem;
    padding-top: 1.35rem;
  }
  .hero-copy { width: auto; }
  .hero-figure {
    position: relative;
    left: auto;
    right: auto;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 280px;
    margin: 0;
    padding: 0;
  }

  .mission {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 1.7rem;
    border-bottom: 1px solid var(--line-strong);
  }

  .case-copy,
  .case-stat { padding: 1.6rem 1.25rem; }
  .case-photo { height: 240px; }

  .closer-art { justify-self: start; width: min(100%, 440px); }
  .coords, .coords span { text-align: left; }

  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  .detail-aside { position: static; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: min(1180px, calc(100% - 36px)); }
  .logo img { height: 56px; }
  .hero h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .hero h1 .hot { font-size: calc(5.5 / 4.5 * 1em); }
  .cap-grid { grid-template-columns: 1fr; row-gap: 0; }
  .cap-item {
    padding: 1.1rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .cap-item:first-child { border-top: 0; padding-top: 0; }
  .block { grid-template-columns: 1fr; gap: 0.2rem; }
  .note-list a { grid-template-columns: 1fr; }
  .page-hero { padding-top: 1.6rem; }
  .card-grid { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
  .foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn span[aria-hidden="true"] { transition: none; }
}

@media print {
  .nav-toggle, .site-nav, .header-cta, body::before { display: none !important; }
  .site-header { position: static; }
  body { background: #fff; }
}
