/* Willow · buildwillow.com
   Shared styles for the home page and careers page.
   Palette follows the Willow house style: ink, amber, warm off-white. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d0d0b;
  --ink-2: #121210;
  --surface: #161614;
  --line: #2b2a27;
  --line-soft: #201f1d;
  --head: #f4f2ed;
  --body: #a9a8a3;
  --muted: #74736f;
  --amber: #c98b1a;
  --amber-hi: #dba03a;
  --amber-tint: #2e2717;
  --amber-tint-2: #3c3424;
  --green: #1a9e78;
  --red: #c44b4b;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 88px);
  --rail: 208px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--head); font-weight: 500; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px;
  z-index: 100;
  background: var(--amber); color: var(--ink);
  font-family: var(--mono); font-size: 14px;
  padding: 10px 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Mono labels ---------- */

.mono { font-family: var(--mono); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--amber);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 11, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--head);
}
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand img.is-missing { display: none; }
.brand-word {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.38em;
  margin-right: -0.38em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
  color: var(--body);
  transition: color 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--head); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--head);
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav .btn { margin-top: 16px; text-align: center; justify-content: center; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 18px 24px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--head);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { border-color: var(--body); }
.btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { background: var(--amber-hi); border-color: var(--amber-hi); }
.btn-sm { font-size: 13px; padding: 11px 16px; }
.nav .btn { color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */

.hero { padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 9vw, 96px); border-bottom: 1px solid var(--line); }
.hero h1 {
  font-weight: 300;
  font-size: clamp(42px, 7.2vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--head);
  margin: 0 0 32px;
  max-width: 15.5em;
}
.hero h1 .accent { color: var(--amber); }
.hero .lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  max-width: 40em;
  margin-bottom: 40px;
}
.hero .lede strong { color: var(--head); font-weight: 500; }

.title-block {
  display: inline-flex;
  flex-wrap: wrap;
  margin-top: 40px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.title-block span {
  padding: 9px 14px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.title-block span:last-child { border-right: 0; }
.title-block b { color: var(--head); font-weight: 500; margin-left: 6px; }
@media (max-width: 600px) {
  .title-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-bottom: 0; }
  .title-block span { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .title-block span:last-child { border-right: 1px solid var(--line); }
  h2.display br { display: none; }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.section-grid {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 0 0;
}
.rail {
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rail .num { display: block; color: var(--amber); margin-bottom: 6px; }
.rail .name { color: var(--muted); }

@media (max-width: 900px) {
  .section-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { padding-top: 0; margin-bottom: 20px; display: flex; gap: 14px; }
  .rail .num { margin: 0; }
}

h2.display {
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--head);
  margin: 0 0 20px;
  max-width: 16em;
}
.section-lede {
  font-size: 19px;
  max-width: 38em;
  margin-bottom: 48px;
}
h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--head);
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  line-height: 1.3;
}
.statement {
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--head);
  margin: 0 0 20px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 64px;
  margin-top: 48px;
}
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- Bordered grids (cards) ---------- */

.grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.grid > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 28px;
  min-width: 0;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-5 > * { padding: 26px 22px; }
@media (max-width: 1000px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .grid-5 { grid-template-columns: minmax(0, 1fr); }
}

.card .label { display: block; margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 16px; line-height: 1.6; }

.solve-label { margin: 56px 0 18px; display: block; }
.solve .card { padding: 22px; }
.solve .card h3 { font-size: 16px; font-weight: 500; margin: 0; }
.solve .card .label { margin-bottom: 12px; color: var(--muted); }

/* Industries */
.industry h3 { font-size: 19px; }

/* Track record */
.case .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.case .stat { min-width: 0; }
.case .stat b {
  display: block;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--amber);
}
.case .stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footnote {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Logos ---------- */

.built-label {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin: 40px 0 18px;
}
.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 600px) {
  .logos li { height: 76px; padding: 14px 12px; }
  .logos img { max-height: 26px; }
  .logos .logo-name { font-size: 13px; }
}
.logos li {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos img {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: opacity 0.15s ease;
}
.logos li:hover img { opacity: 1; }
.logos .logo-name {
  display: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--head);
  text-align: center;
  line-height: 1.25;
}
.logos li.no-img img { display: none; }
.logos li.no-img .logo-name { display: block; }

/* Careers chips (text) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--head);
  border: 1px solid var(--line);
  padding: 8px 14px;
}

/* ---------- Forms ---------- */

.form-section .section-grid { align-items: start; }
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 64px;
  align-items: start;
}
@media (max-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }

.form-intro p { font-size: 18px; }
.form-intro h2.display { font-size: clamp(32px, 3.4vw, 46px); }
.promise {
  margin-top: 28px;
  border: 1px solid var(--line);
  padding: 20px 22px;
}
.promise .label { display: block; margin-bottom: 8px; }
.promise p { font-size: 16px; color: var(--head); }

.form {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(24px, 3.2vw, 40px);
}
.field { margin-bottom: 22px; }
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

.field label, .field .field-label {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--body);
  margin-bottom: 8px;
}
.field .req { color: var(--amber); }
.field .opt { color: var(--muted); }
.help {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: -2px 0 10px;
}

.input, .select, .textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--head);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 14px;
  line-height: 1.4;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #5c5b57; }
.input:hover, .select:hover, .textarea:hover { border-color: #3d3c38; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--amber); }
.textarea { min-height: 140px; resize: vertical; }
.select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a9a8a3' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.select:invalid { color: #5c5b57; }
.select option { color: var(--head); background: var(--ink); }

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--red); }
.field.has-error .file-drop { border-color: var(--red); }
.error-msg { display: none; font-size: 14px; color: #e07a7a; margin-top: 8px; }
.field.has-error .error-msg { display: block; }

/* File upload */
.file-drop, .field label.file-drop {
  position: relative;
  display: flex;
  margin-bottom: 0;
  align-items: center;
  gap: 16px;
  border: 1px dashed #3d3c38;
  background: var(--ink);
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--amber); background: #14120c; }
.file-drop input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.file-drop:focus-within { border-color: var(--amber); border-style: solid; }
.file-btn {
  flex: none;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--head);
  border: 1px solid var(--line);
  padding: 9px 12px;
}
.file-name { font-size: 15px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop.has-file .file-name { color: var(--head); }
.file-clear {
  display: none;
  margin-top: 8px;
  background: none; border: 0; padding: 0;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  text-decoration: underline; cursor: pointer;
}
.file-clear.is-visible { display: inline-block; }

.check, .field label.check {
  display: flex;
  font-family: var(--sans);
  margin-bottom: 0;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  cursor: pointer;
  margin-top: 14px;
}
.check input {
  flex: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--amber);
}
.attest, .field label.attest { display: none; }
.attest.is-visible, .field label.attest.is-visible { display: flex; }
.field.has-error .check { color: #e07a7a; }

.notice {
  font-size: 14px;
  line-height: 1.55;
  border-left: 2px solid var(--amber);
  background: var(--amber-tint);
  color: var(--body);
  padding: 12px 14px;
  margin: 0 0 12px;
}
.notice strong { color: var(--head); font-weight: 500; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.form-actions .small { font-size: 14px; color: var(--muted); }
.form-status { margin-top: 16px; font-size: 15px; }
.form-status.is-error { color: #e07a7a; }

.form-success {
  display: none;
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  background: var(--ink-2);
  padding: clamp(28px, 3.2vw, 44px);
}
.form-success.is-visible { display: block; }
.form-success .label { color: var(--green); display: block; margin-bottom: 14px; }
.form-success h3 { font-size: 26px; font-weight: 300; letter-spacing: -0.015em; margin-bottom: 12px; }
.form-success .preview-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Careers ---------- */

.seat-list { border: 1px solid var(--line); }
.seat {
  display: block;
  padding: 30px 28px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.seat:last-child { border-bottom: 0; }
.seat:hover, .seat:focus-visible { background: var(--amber-tint-2); }
.seat .label { display: block; margin-bottom: 10px; }
.seat h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 8px; }
.seat .where { display: block; font-family: var(--mono); font-size: 13px; color: var(--body); margin-bottom: 16px; }
.seat p { font-size: 17px; max-width: 44em; }
.seat .intro-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.seat:hover .intro-cta, .seat:focus-visible .intro-cta { opacity: 1; transform: none; }
@media (hover: none) { .seat .intro-cta { opacity: 1; transform: none; } }

.email-box {
  display: block;
  width: 100%;
  max-width: 540px;
  border: 1px solid var(--amber);
  background: #1c170b;
  padding: 20px;
  margin: 32px 0 24px;
}
.email-box .field-label { display: block; font-family: var(--mono); font-size: 14px; color: var(--body); margin-bottom: 12px; }
.email-line { display: flex; gap: 8px; flex-wrap: wrap; }
.email-line a {
  flex: 1 1 200px;
  min-width: 0;
  overflow-wrap: anywhere;
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--head);
  text-decoration: none;
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.email-line a:hover { border-color: var(--amber); }
.copy-btn {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--head);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0 14px;
  min-height: 46px;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--body); }
.email-box.plain { border: 0; background: transparent; padding: 0; margin-top: 8px; }
.email-box.plain .field-label { margin-bottom: 10px; }

.steps .card { padding: 26px 22px; }
.steps .card h3 { font-size: 17px; font-weight: 500; }
.steps .card p { font-size: 15px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--body); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 26px; max-width: 44em; }

.stay h2.display { font-size: clamp(44px, 6vw, 80px); }

/* ---------- Hiring band (home) ---------- */

.band {
  padding: clamp(56px, 7vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(201, 139, 26, 0.06), rgba(201, 139, 26, 0.06)), var(--ink);
}
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band h2 {
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--head);
  margin: 0 0 8px;
}
.band p { margin: 0; max-width: 40em; }

/* ---------- Footer ---------- */

.site-footer { padding: 40px 0 48px; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--body);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--head); }
.footer-tag { text-transform: uppercase; letter-spacing: 0.1em; }
.footer-meta { color: var(--muted); width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 20px; }

/* ---------- Simple pages (thanks, 404) ---------- */

.simple { min-height: 60vh; display: flex; align-items: center; padding: 96px 0; }
.simple h1 { font-weight: 300; font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.025em; line-height: 1.05; color: var(--head); margin: 0 0 24px; }
.simple p { font-size: 19px; max-width: 36em; margin-bottom: 32px; }

/* ---------- Utilities ---------- */
.mt-40 { margin-top: 40px; }
.mb-28 { margin-bottom: 28px; }
.measure { max-width: 44em; }
.steps-list { list-style: none; padding: 0; margin: 40px 0 28px; }

/* Logo cells with a brand mark plus name */
.logos li.has-mark { gap: 12px; }
.logos li.has-mark img { height: 26px; width: auto; max-height: 26px; filter: none; opacity: 1; flex: none; }
.logos .logo-label { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--head); letter-spacing: -0.01em; }
@media (max-width: 600px) {
  .logos li.has-mark { flex-direction: column; gap: 6px; }
  .logos li.has-mark img { height: 20px; }
  .logos .logo-label { font-size: 13px; }
}
.logos li.has-mark img.wordmark { height: 30px; max-height: 30px; }
.logos .logo-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 600px) { .logos .logo-name { font-size: 13px; } }

/* Logo set v3: one monochrome treatment for every logo */
.logos img, .logos li.has-mark img, .logos li.has-mark img.wordmark {
  filter: brightness(0) invert(1);
  opacity: 0.88;
  height: auto;
  max-height: 30px;
  max-width: 82%;
  width: auto;
}
.logos li.has-mark img { height: 28px; max-height: 28px; }
.logos .logo-text { font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; color: var(--head); opacity: 0.88; }
@media (max-width: 600px) {
  .logos img { max-height: 22px; }
  .logos li.has-mark img { height: 20px; max-height: 20px; }
  .logos .logo-text { font-size: 13px; }
}
.logos img.logo-3m { height: 44px; max-height: 44px; }
.logos .logo-text { white-space: nowrap; }
@media (max-width: 600px) { .logos img.logo-3m { height: 34px; max-height: 34px; } .logos .logo-text { font-size: 12px; letter-spacing: 0.08em; } }

/* ---------- Video ---------- */

.hero.has-video { position: relative; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,13,11,0.94) 0%, rgba(13,13,11,0.78) 45%, rgba(13,13,11,0.35) 100%),
    linear-gradient(0deg, rgba(13,13,11,1) 0%, rgba(13,13,11,0) 30%);
}
@media (max-width: 760px) {
  .hero-media::after { background: linear-gradient(0deg, rgba(13,13,11,0.96) 10%, rgba(13,13,11,0.7) 100%); }
}
.no-video video { visibility: hidden; }

.media-band { position: relative; border-bottom: 1px solid var(--line); }
.band-media {
  position: relative;
  height: clamp(240px, 38vw, 500px);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #1b1a17, #0f0f0d);
}
.band-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.band-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,13,11,0.85) 0%, rgba(13,13,11,0) 45%),
              linear-gradient(180deg, rgba(13,13,11,0.6) 0%, rgba(13,13,11,0) 20%);
}
.band-caption { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1; }
.band-caption .wrap { display: flex; align-items: baseline; gap: 14px; }
.band-word { font-weight: 300; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; color: var(--head); line-height: 1; }

/* Industry photos */
.grid > .card.industry { padding: 0 0 28px; }
.card.industry h3, .card.industry p { padding: 0 24px; }
.industry-img {
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #1b1a17, #0f0f0d);
}
.industry-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.05); transition: transform 0.4s ease; }
.card.industry:hover .industry-img img { transform: scale(1.03); }
.industry-img.no-img img { visibility: hidden; }
