/* DEL Pvt. Limited — Industrial Engineering. Shared stylesheet. */
:root {
  --bone:    #f4f1ec;
  --bone-2:  #ebe6dd;
  --ink:     #0e0f0d;
  --ink-2:   #1c1d1a;
  --ink-3:   #2a2b27;
  --mute:    #6b6a64;
  --line:    #d6d2c8;
  --accent:  #d97706;
  --accent-2:#b45309;
  --ok:      #4d7c0f;

  --max:    1400px;
  --pad:    clamp(16px, 4vw, 56px);
  --radius: 2px;

  --f-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-sans:    "Inter",       "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-fast: 220ms cubic-bezier(.2,.7,.2,1);
  --t:      480ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 900ms cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 480px) {
  :root {
    --pad: 16px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--bone);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

main { width: 100%; max-width: 100%; overflow-x: hidden; }
section { width: 100%; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.mono { font-family: var(--f-mono); letter-spacing: 0.02em; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ink);
  display: inline-block;
  flex-shrink: 0;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 8vw, 132px); letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 5.5vw, 84px);  letter-spacing: -0.03em; }
h3 { font-size: clamp(18px, 2.8vw, 36px);  letter-spacing: -0.02em; }
p  { text-wrap: pretty; margin: 0; }

@media (max-width: 480px) {
  h1 { font-size: clamp(28px, 7vw, 48px); }
  h2 { font-size: clamp(22px, 5vw, 48px); }
  h3 { font-size: clamp(16px, 4vw, 28px); }
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(244, 241, 236, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}

@media (max-width: 480px) {
  .site-header {
    padding: 10px 16px;
    gap: 10px;
  }
  .brand { font-size: 16px; }
  .brand-mark { width: 24px; height: 24px; }
}
.site-header.scrolled { border-color: var(--line); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-mark {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  color: var(--ink-2);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transition: right var(--t);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }

/* Nav CTA "Request Quote" button — wider, accent orange text on dark bg */
.nav > .btn {
  margin-left: 12px;
  padding: 12px 32px !important;
  background: var(--ink) !important;
  color: var(--accent) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}
.nav > .btn .arrow { color: var(--accent) !important; }
.nav > .btn:hover {
  background: var(--accent) !important;
  color: var(--ink) !important;
}
.nav > .btn:hover .arrow { color: var(--ink) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--bone);
  font-size: clamp(13px, 2vw, 14px);
  font-weight: 500;
  border-radius: 999px;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
}
.btn:hover { transform: translateY(-1px); background: var(--accent); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform var(--t-fast); display: inline-block; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bone); }
.btn.bone { background: var(--bone); color: var(--ink); }
.btn.bone:hover { background: var(--accent); color: var(--bone); }

@media (max-width: 480px) {
  .btn {
    padding: 11px 20px;
    font-size: 13px;
  }
}

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  background: transparent;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.menu-btn:hover {
  background: var(--ink);
}
.menu-btn:hover span {
  background: var(--bone);
}
.menu-btn span {
  width: 16px; height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform var(--t-fast), opacity var(--t-fast), background var(--t-fast);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--bone);
  z-index: 200;
  padding: 16px 16px 32px;
  transform: translateY(-100%);
  transition: transform var(--t);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

@media (max-width: 480px) {
  .mobile-nav {
    padding: 12px 16px 24px;
  }
  .mobile-nav .links {
    margin-top: 32px;
  }
  .mobile-nav .links a {
    font-size: clamp(28px, 7vw, 48px);
    padding: 8px 0;
  }
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.mobile-nav .brand { color: var(--bone); }
.mobile-nav .brand-mark svg rect { fill: var(--bone); }
.mobile-nav .brand-mark svg path { fill: var(--ink); }
.mobile-nav .brand-mark svg rect:last-child { fill: var(--accent); }
.mobile-nav .brand small { color: rgba(244,241,236,.55); }
.mobile-nav .close {
  width: 42px; height: 42px;
  border: 1px solid rgba(244,241,236,.4);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mobile-nav .links {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav .links a {
  font-family: var(--f-display);
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244,241,236,.15);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--bone);
  transition: color var(--t-fast);
}
.mobile-nav .links a:hover { color: var(--accent); }
.mobile-nav .links a span {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--mute);
}
.mobile-nav .foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: rgba(244,241,236,.55);
  flex-shrink: 0;
}
.mobile-nav .foot a { color: var(--bone); }

/* Burger menu only visible on mobile/tablet */
@media (max-width: 880px) {
  .nav .nav-links { display: none !important; }
  .nav > .btn { display: none !important; }
  .menu-btn { display: flex !important; }
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: 64px var(--pad) 32px;
  margin-top: 100px;
}
.site-footer .row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.site-footer h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(244,241,236,.5);
  font-weight: 400;
  margin-bottom: 16px;
}
.site-footer .lead {
  font-family: var(--f-display);
  font-size: clamp(24px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 14ch;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: rgba(244,241,236,.75); transition: color var(--t-fast); font-size: 13px; }
.site-footer ul a:hover { color: var(--accent); }
.site-footer address { font-style: normal; color: rgba(244,241,236,.75); font-size: 13px; line-height: 1.7; }
.site-footer address a { color: var(--bone); transition: color var(--t-fast); }
.site-footer address a:hover { color: var(--accent); }
.site-footer .legal {
  max-width: var(--max);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(244,241,236,.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244,241,236,.5);
}
.site-footer .legal a { transition: color var(--t-fast); }
.site-footer .legal a:hover { color: var(--accent); }
@media (max-width: 880px) {
  .site-footer { padding-top: 48px; margin-top: 64px; }
  .site-footer .row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .lead-col { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer .row { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .site-footer { padding: 40px 16px 24px; margin-top: 48px; }
  .site-footer .row { gap: 20px; }
  .site-footer .lead { font-size: clamp(20px, 4vw, 32px); margin-bottom: 20px; }
  .site-footer h4 { margin-bottom: 12px; }
  .site-footer ul a,
  .site-footer address { font-size: 12px; }
  .site-footer .legal { margin-top: 40px; padding-top: 20px; font-size: 9px; gap: 8px; }
}

/* ── Hero (home) ── */
.hero {
  padding-top: clamp(100px, 16vw, 200px);
  padding-bottom: clamp(40px, 6vw, 96px);
  position: relative;
}
.hero .meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: clamp(40px, 6vw, 96px);
}
.hero h1 { max-width: 14ch; }
.hero .sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-3);
}
.hero .actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero {
    padding-top: clamp(80px, 14vw, 120px);
    padding-bottom: clamp(32px, 5vw, 56px);
  }
  .hero .meta {
    font-size: 10px;
    margin-bottom: clamp(32px, 4vw, 56px);
  }
  .hero .sub { margin-top: 16px; }
  .hero .actions { margin-top: 24px; }
}

/* ── Page hero (interior) ── */
.page-hero {
  padding-top: clamp(100px, 14vw, 180px);
  padding-bottom: clamp(32px, 4vw, 72px);
}
.page-hero .crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-hero .crumb a:hover { color: var(--ink); }
.page-hero h1 { max-width: 16ch; }
.page-hero .sub { margin-top: 20px; max-width: 60ch; font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-3); }

@media (max-width: 480px) {
  .page-hero {
    padding-top: clamp(80px, 12vw, 120px);
    padding-bottom: clamp(24px, 3vw, 48px);
  }
  .page-hero .crumb { font-size: 10px; margin-bottom: 16px; }
  .page-hero .sub { margin-top: 16px; }
}

/* ── Sections ── */
section { padding: clamp(48px, 8vw, 120px) 0; }

@media (max-width: 480px) {
  section { padding: clamp(36px, 6vw, 56px) 0; }
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
  align-items: end;
}
.section-head h2 { max-width: 16ch; }
.section-head p { color: var(--ink-3); max-width: 50ch; font-size: clamp(14px, 2vw, 16px); }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 480px) {
  .section-head { gap: 16px; margin-bottom: clamp(24px, 4vw, 40px); }
}

/* ── Card ── */
.card {
  background: var(--bone-2);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14,15,13,.12); }
.card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
}
.card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow), filter var(--t);
  filter: saturate(0.9) contrast(1.03);
}
.card:hover .img-wrap img { transform: scale(1.06); filter: saturate(1.05) contrast(1.05); }
.card .body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card .tag { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); margin-bottom: 10px; display: block; }
.card h3 { margin-bottom: 10px; font-size: clamp(18px, 2.5vw, 28px); }
.card p { color: var(--ink-3); font-size: clamp(13px, 1.8vw, 15px); flex-grow: 1; }
.card .more { margin-top: 14px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; display: inline-flex; gap: 8px; align-items: center; }

@media (max-width: 480px) {
  .card .body { padding: 16px; }
  .card .tag { font-size: 9px; margin-bottom: 8px; }
  .card .more { font-size: 10px; margin-top: 12px; }
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay:   0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay:  80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 560ms; }

/* ── Marquee ── */
.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  gap: 56px;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; }
.marquee-track span::after {
  content: "";
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Stats line ── */
.statline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statline > div {
  padding: 28px 20px 28px 0;
  border-right: 1px solid var(--line);
}
.statline > div:last-child { border-right: 0; padding-right: 0; }
.statline .num {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.statline .lab {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
}
@media (max-width: 720px) {
  .statline { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .statline > div { padding: 20px 16px 20px 0; }
  .statline > div:nth-child(2) { border-right: 0; }
  .statline > div:nth-child(3) { border-top: 1px solid var(--line); }
  .statline > div:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .statline { grid-template-columns: 1fr; gap: 12px; }
  .statline > div { border-right: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .statline > div:first-child { border-top: 0; }
  .statline .num { font-size: clamp(28px, 4vw, 44px); }
  .statline .lab { font-size: 9px; margin-top: 6px; }
}

/* ── Grids ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 480px) {
  .grid-3, .grid-2 { gap: 12px; }
}

/* ── Big media block ── */
.media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-3);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ── CTA band ── */
.cta-band {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(56px, 10vw, 140px) var(--pad);
  margin-top: clamp(64px, 10vw, 140px);
}
.cta-band .inner { max-width: var(--max); margin: 0 auto; }
.cta-band h2 { max-width: 18ch; }
.cta-band .row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* CTA button — cream background, ORANGE/accent text, strong specificity */
.cta-band .row a.btn,
.cta-band .row .btn,
section.cta-band .btn {
  background: var(--bone) !important;
  background-color: var(--bone) !important;
  color: var(--accent) !important;
  font-weight: 600 !important;
  border: 1px solid var(--bone) !important;
}
.cta-band .row a.btn:hover,
.cta-band .row .btn:hover,
section.cta-band .btn:hover {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  color: var(--bone) !important;
  border-color: var(--accent) !important;
}

/* Ghost CTA button stays transparent with cream text */
.cta-band .row a.btn.ghost,
.cta-band .row .btn.ghost,
section.cta-band .btn.ghost {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--bone) !important;
  border: 1px solid rgba(244,241,236,.6) !important;
  font-weight: 500 !important;
}
.cta-band .row a.btn.ghost:hover,
.cta-band .row .btn.ghost:hover,
section.cta-band .btn.ghost:hover {
  background: rgba(244,241,236,.1) !important;
  background-color: rgba(244,241,236,.1) !important;
  color: var(--bone) !important;
  border-color: var(--bone) !important;
}

@media (max-width: 480px) {
  .cta-band {
    padding: clamp(40px, 8vw, 80px) 16px;
    margin-top: clamp(48px, 8vw, 80px);
  }
  .cta-band h2 { font-size: clamp(22px, 5vw, 48px); }
  .cta-band .row { margin-top: 24px; flex-direction: column; gap: 12px; align-items: stretch; }
  .cta-band .row .btn { width: 100%; }
}

/* ── Form ── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 16px 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px;
}
.field select {
  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 fill='%236b6a64' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); background: rgba(14,15,13,.02); }
.field input::placeholder,
.field textarea::placeholder { color: var(--line); }

@media (max-width: 480px) {
  .field label { font-size: 10px; }
  .field input,
  .field select,
  .field textarea {
    padding: 14px 14px;
    font-size: 16px;
  }
  .field textarea { min-height: 100px; }
}

/* ── Legal doc ── */
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-doc h2 { font-size: clamp(22px, 2.6vw, 32px); margin-top: 56px; }
.legal-doc h3 { font-size: clamp(18px, 2vw, 22px); margin-top: 36px; color: var(--ink-2); }
.legal-doc p, .legal-doc li { color: var(--ink-3); font-size: 16px; line-height: 1.7; }
.legal-doc p { margin: 12px 0; }
.legal-doc ul { padding-left: 20px; }
.legal-doc li { margin: 6px 0; }
.legal-doc strong { color: var(--ink); font-weight: 500; }
.legal-toc {
  background: var(--bone-2);
  padding: 28px 32px;
  margin: 32px 0 48px;
  border-left: 3px solid var(--accent);
}
.legal-toc ol { margin: 0; padding-left: 18px; }
.legal-toc li { font-size: 14px; line-height: 1.9; }
.legal-toc a { color: var(--ink-2); transition: color var(--t-fast); }
.legal-toc a:hover { color: var(--accent); }

/* ── Utility ── */
.divider { border-top: 1px solid var(--line); }
.muted { color: var(--mute); }
.hide-mobile { display: initial; }
@media (max-width: 720px) { .hide-mobile { display: none; } }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 1ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ── Mobile overrides for inline grids and prevent overflow ── */
@media (max-width: 880px) {
  /* Force any inline 2-col grids to stack */
  [style*="grid-template-columns:1.2fr"],
  [style*="grid-template-columns: 1.2fr"],
  [style*="grid-template-columns:1.4fr"],
  [style*="grid-template-columns: 1.4fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1.6fr"],
  [style*="grid-template-columns: 1fr 1.6fr"],
  [style*="grid-template-columns:80px 1fr 1.6fr"],
  [style*="grid-template-columns: 80px 1fr 1.6fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: start !important;
  }
}

@media (max-width: 600px) {
  /* Stack 2-col form rows on phones */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  /* Stack 3-col footer-style inline grids */
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    text-align: left !important;
  }
}

/* Prevent any element from causing horizontal overflow */
@media (max-width: 880px) {
  body, html { overflow-x: hidden !important; }
  table, pre, code { max-width: 100%; overflow-x: auto; }
  iframe, video, embed, object { max-width: 100%; }
  h1, h2, h3, h4, p, address, li { word-wrap: break-word; overflow-wrap: break-word; }
  .marquee-track { font-size: clamp(20px, 5vw, 32px); }
  .marquee { gap: 32px; }
  .marquee-track { gap: 32px; }
}

/* Make sure media (images) honor container */
.media { width: 100%; max-width: 100%; }
.media img { width: 100%; max-width: 100%; }

/* Tablet/desktop nav alignment */
@media (min-width: 881px) {
  .nav { display: flex; align-items: center; gap: 28px; }
  .nav-links { display: flex !important; gap: 28px; align-items: center; }
}

/* ─────────────────────────────────────────────
   Home hero — editorial (homepage only).
   Tuned to match about.html's restrained vocabulary:
   single eyebrow rule, a confident H1 with one italic accent,
   asymmetric meta+actions / headline split, hairline rules.
   ───────────────────────────────────────────── */
section.home-hero {
  padding-top: clamp(100px, 14vw, 180px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

/* Top meta line — eyebrow on the left, location on the right, one hairline. */
.hh-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-bottom: 24px;
  margin-bottom: clamp(40px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.hh-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hh-eyebrow i {
  width: 28px; height: 1px;
  background: var(--ink);
  display: inline-block;
  flex-shrink: 0;
}
.hh-loc {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* 1fr / 1.4fr split — same proportions as about.html's "Our story" */
.hh-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

/* Left side: index badge, blurb, actions */
.hh-side {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.hh-index {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.hh-num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.hh-lab {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.hh-blurb {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 38ch;
  margin: 0;
}

/* Headline — one block, italic accent, no padding stagger.
   Different typography from old hero (different weight/size, accent
   color on italic, tighter tracking) — but classical and balanced. */
.hh-headline h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 132px);
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin: 0;
  text-wrap: balance;
}
.hh-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.045em;
}

/* Buttons — refined, editorial, distinct from the global pill .btn */
.hh-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Primary: rectangular ink slab, mono caps, sliding orange wash on hover */
.hh-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--bone);
  border: 1px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.hh-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform var(--t);
  z-index: -1;
}
.hh-btn-primary:hover::before { transform: translateX(0); }
.hh-btn-primary:hover { color: var(--ink); border-color: var(--accent); }
.hh-btn-primary .hh-btn-arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}
.hh-btn-primary:hover .hh-btn-arrow { transform: translateX(3px); }

/* Secondary: tracked-mono link with retracting hairline */
.hh-btn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 0 10px;
  color: var(--ink);
  transition: color var(--t-fast);
}
.hh-btn-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: right;
  transition: transform var(--t), background var(--t-fast);
}
.hh-btn-link:hover { color: var(--accent); }
.hh-btn-link:hover::after { transform: scaleX(0); background: var(--accent); }
.hh-btn-link i {
  font-style: normal;
  display: inline-block;
  transition: transform var(--t-fast);
}
.hh-btn-link:hover i { transform: translate(2px, -2px); }

/* Caption strip below the wide hero image — quiet, two short mono lines */
.hh-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.hh-caption span:last-child { text-align: right; }

/* Responsive */
@media (max-width: 880px) {
  .hh-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }
  .hh-headline { order: 1; }
  .hh-side { order: 2; }
}
@media (max-width: 600px) {
  .hh-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 18px;
    margin-bottom: 32px;
  }
  .hh-loc { font-size: 10px; }
  .hh-eyebrow { font-size: 11px; }
  .hh-actions { gap: 20px; }
  .hh-btn-primary { padding: 14px 18px; font-size: 11px; gap: 12px; }
  .hh-caption { flex-direction: column; gap: 6px; }
  .hh-caption span:last-child { text-align: left; }
}
