/* ============================================================
   Arsh Consumers — components: nav, buttons, hero, cards, forms, footer
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 600; font-size: var(--step-small);
  padding: 0.85rem 1.4rem; border-radius: var(--radius-pill);
  min-height: 44px; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-mid) var(--ease-out),
              color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn__arrow { transition: transform var(--dur-mid) var(--ease-out); }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: translateX(4px); }

/* Primary: brass fill, ink text */
.btn--primary { background: var(--brass-500); color: var(--ink-900); box-shadow: var(--shadow-sm); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--brass-600); box-shadow: var(--shadow-md); }

/* Ghost on light */
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--ink-900); background: var(--paper-100); }

/* Ghost on dark */
.btn--ghost-dark { background: transparent; color: var(--text-on-dark); border: 1px solid var(--line-on-dark); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { border-color: var(--brass-500); color: var(--brass-500); }

.btn--lg { padding: 1rem 1.7rem; font-size: var(--step-body); }

/* Text link with underline wipe */
.link-wipe {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; color: var(--link); position: relative;
}
.link-wipe::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.link-wipe:hover::after, .link-wipe:focus-visible::after { transform: scaleX(1); }
.section--dark .link-wipe { color: var(--brass-500); }

/* ---------- Header / nav (floating boxed pill) ---------- */
.site-header {
  position: fixed; inset: var(--space-4) 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: center; pointer-events: none;
  padding-inline: var(--gutter);
}
.header-inner {
  pointer-events: auto; width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5);
  background: color-mix(in srgb, var(--ink-900) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid var(--line-on-dark);
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  color: var(--text-on-dark);
  transition: box-shadow var(--dur-mid) var(--ease-out), background-color var(--dur-mid) var(--ease-out);
}
.site-header.is-scrolled .header-inner {
  background: color-mix(in srgb, var(--ink-900) 94%, transparent);
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 66px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: var(--space-6); }
.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-link, .nav-sub-toggle {
  font-family: var(--font-body); font-size: var(--step-small); font-weight: 500;
  color: var(--text-on-dark); position: relative; padding-block: var(--space-2);
  display: inline-flex; align-items: center; gap: 4px; background: none;
}
.nav-link::after, .nav-sub-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--brass-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link[aria-current="page"]::after,
.nav-sub-toggle:hover::after, .nav-sub-toggle:focus-visible::after { transform: scaleX(1); }
.nav-sub-toggle .caret { transition: transform var(--dur-fast) var(--ease-out); }
.has-sub:hover .nav-sub-toggle .caret, .nav-sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Dropdown submenu */
.has-sub { position: relative; }
/* Invisible bridge so the pointer can cross the gap without the menu closing */
.submenu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px; padding: var(--space-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .submenu.is-open {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.submenu li + li { margin-top: 2px; }
.submenu a {
  display: block; padding: 0.6rem 0.9rem; border-radius: var(--radius-sm);
  font-size: var(--step-small); color: var(--text); white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.submenu a:hover, .submenu a:focus-visible { background: var(--paper-100); color: var(--brass-700); }

.nav-toggle {
  display: none; width: 44px; height: 44px; position: relative; z-index: calc(var(--z-menu) + 1);
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text-on-dark);
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span { background: var(--text-on-dark); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .brand img { height: 56px; }
  /* Drop backdrop-filter on mobile: it makes .header-inner a containing block,
     which would trap the position:fixed menu inside the pill. */
  .header-inner { backdrop-filter: none; -webkit-backdrop-filter: none;
    background: color-mix(in srgb, var(--ink-900) 96%, transparent); }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 0; z-index: var(--z-menu);
    flex-direction: column; justify-content: center; gap: var(--space-5);
    background: var(--ink-900); color: var(--text-on-dark);
    transform: translateX(100%); transition: transform var(--dur-mid) var(--ease-in-out);
    padding: var(--gutter); overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: var(--space-5); align-items: flex-start; }
  .primary-nav .nav-link, .primary-nav .nav-sub-toggle { color: var(--text-on-dark); font-size: 1.5rem; font-family: var(--font-display); }
  .primary-nav .nav-link::after, .primary-nav .nav-sub-toggle::after { background: var(--brass-500); }
  .primary-nav .btn { margin-top: var(--space-4); }
  /* Submenu inline on mobile */
  .has-sub { width: 100%; }
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: none; box-shadow: none; padding: var(--space-3) 0 0 var(--space-4);
    min-width: 0;
  }
  .submenu a { color: var(--text-on-dark-muted); font-size: 1.05rem; padding: 0.4rem 0; }
  .submenu a:hover, .submenu a:focus-visible { background: none; color: var(--brass-500); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 90svh; display: flex; align-items: flex-start;
  padding-top: calc(var(--header-h) + var(--space-6)); padding-bottom: var(--space-8); overflow: hidden; background: var(--ink-900); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,26,47,0.86) 0%, rgba(10,26,47,0.55) 42%, rgba(10,26,47,0.15) 78%),
    linear-gradient(0deg, rgba(10,26,47,0.75) 0%, rgba(10,26,47,0) 45%);
}
.hero__inner { position: relative; z-index: 2; color: var(--text-on-dark); max-width: 52rem; }
/* Left-anchor hero content to the viewport gutter (not the centered container),
   so on wide screens it hugs the left instead of floating mid-page. */
.hero .hero__inner, .page-hero .page-hero__inner { margin-inline: 0; max-width: 60rem; }
.hero .lead, .page-hero .lead { max-width: 54ch; }
.hero h1 { color: var(--text-on-dark); margin-block: var(--space-4) var(--space-5);
  font-size: clamp(2.1rem, 1.4rem + 2.3vw, 3.15rem); line-height: 1.08; }
.hero h1 .line-mask > span { white-space: nowrap; }
.hero .lead { color: var(--paper-100); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }
.hero__manifest {
  margin-top: var(--space-7); padding-top: var(--space-4);
  border-top: 1px solid var(--line-on-dark);
  font-family: var(--font-mono); font-size: var(--step-mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-on-dark-muted);
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4);
}
.hero__manifest b { color: var(--brass-500); font-weight: 500; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.tile {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius);
  overflow: hidden; display: block; color: var(--text-on-dark);
  box-shadow: var(--shadow-sm); transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,26,47,0.82) 0%, rgba(10,26,47,0.1) 55%, rgba(10,26,47,0.28) 100%); }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile__body { position: absolute; inset: auto var(--space-5) var(--space-5) var(--space-5); z-index: 1; }
.tile__body h3 { color: var(--text-on-dark); font-size: 1.5rem; }
.tile__spec { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brass-500); margin-bottom: var(--space-2); }
.tile__cta { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2);
  font-size: var(--step-small); font-weight: 600; color: var(--text-on-dark); }
.tile__cta .btn__arrow { transition: transform var(--dur-mid) var(--ease-out); }
.tile:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Feature rows (why India) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-7); }
.feature { border-top: 1px solid var(--line); padding-top: var(--space-4); }
.feature__n { font-family: var(--font-mono); font-size: var(--step-mono); color: var(--brass-700); letter-spacing: 0.1em; }
.section--dark .feature { border-top-color: var(--line-on-dark); }
.section--dark .feature__n { color: var(--brass-500); }
.feature h3 { margin-block: var(--space-3) var(--space-2); font-size: 1.2rem; }
.feature p { font-size: var(--step-small); color: var(--text-muted); }
.section--dark .feature p { color: var(--text-on-dark-muted); }

/* ---------- Metrics manifest ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-7); }
.metric { border-left: 2px solid var(--brass-500); padding-left: var(--space-4); }
.metric__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--text-on-dark); }
.metric__label { font-family: var(--font-mono); font-size: var(--step-mono); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-on-dark-muted); margin-top: var(--space-3); }
.metric__flag { color: var(--brass-500); }

/* ---------- Process signature (self-drawing supply line) ---------- */
.process { position: relative; }
.process__grid { display: grid; grid-template-columns: 40px 1fr; gap: 0 var(--space-5); }
.process__spine { position: relative; }
.process__spine svg { position: sticky; top: 40vh; width: 40px; height: 60px; overflow: visible; }
.process__line { position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: var(--line-on-dark); }
.process__line-fill { position: absolute; left: 19px; top: 0; width: 2px; height: 0; background: var(--brass-500);
  box-shadow: 0 0 12px rgba(199,154,62,0.5); }
.process__steps { display: grid; gap: var(--space-6); padding-bottom: var(--space-6); }
.step { position: relative; padding-left: var(--space-2); }
.step__node { position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink-800); border: 2px solid var(--line-on-dark); transition: background var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out); }
.step.is-active .step__node { background: var(--brass-500); border-color: var(--brass-500); box-shadow: 0 0 0 4px rgba(199,154,62,0.18); }
.step__n { font-family: var(--font-mono); font-weight: 600; font-size: var(--step-mono); color: var(--brass-500); }
.step h3 { color: var(--text-on-dark); font-size: 1.35rem; margin-block: var(--space-1) var(--space-2); }
.step__spec { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-on-dark-muted); text-transform: uppercase; }

.process__wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: var(--space-8); align-items: start; }
.process__aside { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
.process__aside .lead { margin-top: var(--space-4); }
.process__figure { margin-top: var(--space-6); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.process__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.process__aside .btn { margin-top: var(--space-6); }
@media (max-width: 1023px) {
  .process__wrap { grid-template-columns: 1fr; gap: var(--space-7); }
  .process__aside { position: static; }
  .process__figure { display: none; }
}

/* ---------- Split (chairman, sustainability, about) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; }
.quote em { font-style: italic; }
.attribution { margin-top: var(--space-5); }
.attribution strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.attribution span { font-size: var(--step-small); color: var(--text-muted); }
.section--dark .attribution span { color: var(--text-on-dark-muted); }

/* ---------- Chips / lists (portfolios) ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.chip {
  font-family: var(--font-mono); font-size: var(--step-mono); letter-spacing: 0.02em;
  padding: 0.5rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  color: var(--text); background: var(--surface); transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.chip:hover { border-color: var(--brass-600); background: var(--paper-100); }
.section--dark .chip { color: var(--text-on-dark); background: var(--ink-800); border-color: var(--line-on-dark); }

/* Promise / benefit cards (used by "Our promise", "Why buyers choose") */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.check-list li {
  display: flex; gap: var(--space-4); align-items: center; font-size: var(--step-small);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-5); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
}
.check-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.check-list svg {
  flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%;
  color: var(--brass-700); background: color-mix(in srgb, var(--brass-500) 16%, transparent);
}
.section--dark .check-list li { background: var(--ink-800); border-color: var(--line-on-dark); color: var(--text-on-dark); }
.section--dark .check-list svg { color: var(--brass-500); background: color-mix(in srgb, var(--brass-500) 20%, transparent); }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band h2 { max-width: 20ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 600; font-size: var(--step-small); }
.field .hint { font-size: 0.8rem; color: var(--text-muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 0.9rem; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); min-height: 44px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B7785; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass-600); box-shadow: 0 0 0 3px rgba(199,154,62,0.22);
}
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: var(--danger); }
.field .error { font-size: 0.8rem; color: var(--danger); min-height: 1em; }
.field .error:empty { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: var(--step-small); padding: var(--space-4); border-radius: var(--radius-sm); }
.form__status[data-state="success"] { background: #E7F0E5; color: #2C5321; border: 1px solid #B7D3AE; }
.form__status[data-state="error"] { background: #F6E3DF; color: var(--danger); border: 1px solid #E4B6AD; }
.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--text-on-dark); padding-block: var(--space-8) var(--space-6); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: var(--space-6) var(--space-7); align-items: start; }
.footer-brand img { height: 52px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { color: var(--text-on-dark-muted); font-size: var(--step-small); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-500); margin-bottom: var(--space-4); font-weight: 600; }
.footer-col li + li { margin-top: var(--space-3); }
.footer-col a { color: var(--text-on-dark); font-size: var(--step-small); }
.footer-col a:hover { color: var(--brass-500); }
.footer-contact { display: grid; gap: var(--space-4); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--brass-500); }
.footer-contact a { color: var(--text-on-dark-muted); font-size: var(--step-small); line-height: 1.5; }
.footer-contact a:hover { color: var(--brass-500); }
.footer-bottom { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line-on-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  font-size: 0.8rem; color: var(--text-on-dark-muted); }

/* ---------- Interior page header ---------- */
.page-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-start;
  padding-top: calc(var(--header-h) + var(--space-6)); padding-bottom: var(--space-8);
  background: var(--ink-900); color: var(--text-on-dark); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,26,47,0.92) 0%, rgba(10,26,47,0.62) 55%, rgba(10,26,47,0.4) 100%); }
.page-hero__inner { position: relative; z-index: 2; max-width: 52rem; }
.page-hero h1 { color: var(--text-on-dark); margin-block: var(--space-4) var(--space-4); }
.page-hero .lead { color: var(--paper-100); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.breadcrumb a { color: var(--brass-500); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform var(--dur-slow) var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { aspect-ratio: 4/3.4; }

/* ============================================================
   Responsive — mobile-first overrides at 1024 and 640
   ============================================================ */
@media (max-width: 1023px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile:nth-child(1), .tile:nth-child(2) { grid-column: span 1; aspect-ratio: 4/5; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--reverse .split__media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-brand { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:first-child img { aspect-ratio: 16/9; }
}

@media (max-width: 639px) {
  .tiles { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: span 1; }
  .hero__cta .btn, .cta-band__actions .btn { width: 100%; justify-content: center; }
  .process__grid { grid-template-columns: 28px 1fr; gap: 0 var(--space-4); }
  .step__node { left: -28px; }
  .hero h1 .line-mask > span { white-space: normal; }
  .hero h1 { font-size: clamp(1.9rem, 5.5vw, 2.4rem); }
}

/* Parallax + magnetic only on fine pointers ≥1024px (JS-gated too) */
@media (max-width: 1023px), (pointer: coarse) {
  .hero__media img { transform: none !important; }
}

/* ---------- Contact: simple two-column ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: start; }
.contact-panel { min-width: 0; }
.form--compact { gap: var(--space-4); }
.form--compact .field { gap: var(--space-1); }
.reach-cards { display: grid; gap: var(--space-3); }
.reach-card { display: flex; gap: var(--space-4); align-items: center;
  background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--space-4);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.reach-card:hover { border-color: var(--brass-600); }
.reach-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--brass-500) 18%, transparent); color: var(--brass-700); }
.reach-ic svg { width: 22px; height: 22px; }
.reach-k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.reach-card a { color: var(--text); font-weight: 500; font-size: var(--step-small); line-height: 1.45; }
.reach-card a:hover { color: var(--brass-700); }
.reach-map { margin-top: var(--space-5); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.reach-map iframe { width: 100%; height: 240px; border: 0; display: block; }
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--paper-50); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }

/* Full-width, left-aligned context block with larger body copy */
.context-block { text-align: left; max-width: var(--maxw); }
.context-block h2 { max-width: 24ch; }
.context-block .lead { max-width: 82ch; font-size: clamp(1.2rem, 0.95rem + 0.9vw, 1.5rem); line-height: 1.6; color: var(--text); }
