/* NoorTech AV — corporate, dark, buttoned-up.
   Deep charcoal base. Restrained gold accent. Inter throughout.
   Structured grids, clear hierarchy, professional restraint. */

:root {
  --ink: #0e1116;
  --ink-1: #141821;
  --ink-2: #1a1f2a;
  --ink-line: #232833;
  --ink-line-hi: #2e3441;

  --paper: #f5f6f8;
  --paper-line: #e4e7ec;

  --text-hi: #f4f5f7;
  --text-mid: #b8bcc4;
  --text-lo: #8b909a;
  --text-ink: #0e1116;
  --text-ink-mid: #4b5563;
  --text-ink-lo: #6b7280;

  --gold: #c9a24b;
  --gold-hi: #d9b268;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1280px;
  --measure: 66ch;
  --gutter: clamp(24px, 4vw, 48px);
  --nav-h: 80px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 4px;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-hi);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  font-feature-settings: "cv11", "ss01";
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease), opacity 200ms var(--ease); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  color: var(--text-hi);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  letter-spacing: -0.03em;
  line-height: 1.03;
  font-weight: 700;
}
h2 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; font-weight: 600; }
h4 { font-size: 1rem; letter-spacing: -0.005em; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-dark { background: var(--ink); color: var(--text-hi); }
.section-elev { background: var(--ink-1); }
.section-paper {
  background: var(--paper);
  color: var(--text-ink);
}
.section-paper h1, .section-paper h2, .section-paper h3, .section-paper h4 { color: var(--text-ink); }
.section-paper .eyebrow { color: var(--gold); }

/* ---------- Nav ---------- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 17, 22, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  color: var(--text-hi);
  border-bottom: 1px solid var(--ink-line);
}
.nav-bar.on-dark { background: rgba(14, 17, 22, 0.6); border-bottom-color: transparent; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  color: var(--text-hi);
}
.nav-brand img { height: 28px; width: auto; }
.nav-brand .brand-mark {
  height: 52px;
  width: auto;
  display: block;
}
@media (max-width: 900px) { .nav-brand .brand-mark { height: 44px; } }
@media (max-width: 480px) { .nav-brand .brand-mark { height: 38px; } }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 500;
  transition: color 200ms var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text-hi); }
.nav-cta { margin-left: 8px; }
.nav-cta a {
  padding: 10px 20px;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.nav-cta a:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  color: var(--ink);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink-line-hi);
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-hi);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius);
}
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--ink-1);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--gutter);
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 280ms var(--ease);
    border-bottom: 1px solid var(--ink-line);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-toggle { display: inline-block; }
  .nav-cta { margin-left: 0; }
  .nav-cta a { display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  border: 1px solid var(--ink-line-hi);
  background: transparent;
  color: var(--text-hi);
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn:hover {
  background: var(--ink-2);
  border-color: var(--text-mid);
  color: var(--text-hi);
}
.section-paper .btn {
  border-color: var(--paper-line);
  color: var(--text-ink);
}
.section-paper .btn:hover {
  background: white;
  border-color: var(--text-ink-mid);
}
.btn-solid {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-solid:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  color: var(--ink);
}

/* ---------- Hero (corporate) ---------- */
.hero-cinematic {
  position: relative;
  height: clamp(600px, 86vh, 860px);
  overflow: hidden;
  background: var(--ink);
  margin-top: calc(var(--nav-h) * -1);
  padding-top: var(--nav-h);
}
.hero-cinematic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.7) 0%, rgba(14, 17, 22, 0.55) 40%, rgba(14, 17, 22, 0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
}
.hero-inner .eyebrow { color: var(--gold); }
.hero-inner h1 {
  color: var(--text-hi);
  max-width: 18ch;
  margin-bottom: 24px;
}
.hero-inner .lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 56ch;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Trust bar (below hero) ---------- */
.trust-bar {
  background: var(--ink-1);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.trust-cell-c {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-cell-c .icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: var(--gold);
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(201, 162, 75, 0.06);
}
.trust-cell-c .icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.trust-cell-c h4 {
  font-size: 0.9375rem;
  margin: 0 0 4px;
  color: var(--text-hi);
}
.trust-cell-c p {
  font-size: 0.8125rem;
  color: var(--text-lo);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 780px;
  margin: 0 0 clamp(48px, 6vw, 72px);
}
.section-head p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 60ch;
  margin: 12px 0 0;
}
.section-paper .section-head p { color: var(--text-ink-mid); }

.section-head-centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-centered .eyebrow { justify-content: center; }
.section-head-centered p { margin-left: auto; margin-right: auto; }

/* ---------- Page header ---------- */
.page-header {
  padding: clamp(120px, 16vh, 200px) 0 clamp(48px, 6vw, 80px);
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.page-header h1 { max-width: 22ch; }
.page-header p {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 60ch;
  margin: 20px 0 0;
}

/* ---------- Services grid (corporate cards) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-1);
  border: 1px solid var(--ink-line);
  padding: 40px 32px 32px;
  color: inherit;
  transition: border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease);
  border-radius: var(--radius);
  position: relative;
  min-height: 260px;
}
.service-card:hover {
  border-color: var(--gold);
  background: var(--ink-2);
  transform: translateY(-2px);
}
.service-card .n {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--text-hi);
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin: 0 0 20px;
  line-height: 1.55;
  flex: 1;
}
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-hi);
  text-transform: uppercase;
  margin-top: auto;
}
.service-card .arrow::after {
  content: "→";
  transition: transform 240ms var(--ease);
}
.service-card:hover .arrow::after { transform: translateX(4px); }
.service-card:hover .arrow { color: var(--gold); }

/* ---------- Case cards (Recent Work — corporate) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.case-card {
  display: block;
  background: var(--ink-1);
  border: 1px solid var(--ink-line);
  color: inherit;
  overflow: hidden;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
  border-radius: var(--radius);
}
.case-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.case-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  filter: brightness(0.82);
  transition: filter 400ms var(--ease);
}
.case-card:hover img { filter: brightness(0.95); }
.case-card .body { padding: 24px 28px 28px; }
.case-card .kind {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.case-card h3 {
  font-size: 1.125rem;
  margin: 0 0 6px;
  color: var(--text-hi);
}
.case-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Legacy: portfolio-grid retitled to be clean symmetric ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.portfolio-item {
  display: block;
  background: var(--ink-1);
  border: 1px solid var(--ink-line);
  overflow: hidden;
  color: inherit;
  transition: border-color 240ms var(--ease);
  border-radius: var(--radius);
}
.portfolio-item:hover { border-color: var(--gold); }
.portfolio-item img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: filter 400ms var(--ease);
}
.portfolio-item:hover img { filter: brightness(0.95); }
.portfolio-item h3 { font-size: 1.125rem; margin: 20px 24px 6px; }
.portfolio-item p { font-size: 0.875rem; color: var(--text-mid); margin: 0 24px 24px; }

/* ---------- Prose ---------- */
.prose {
  max-width: var(--measure);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-mid);
}
.section-paper .prose { color: var(--text-ink-mid); }
.prose h2 {
  margin: 2em 0 0.5em;
  font-size: 1.625rem;
  color: var(--text-hi);
  letter-spacing: -0.02em;
}
.section-paper .prose h2 { color: var(--text-ink); }
.prose h3 {
  margin: 1.6em 0 0.4em;
  font-size: 1.1875rem;
  color: var(--text-hi);
}
.section-paper .prose h3 { color: var(--text-ink); }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose img { margin: 2.5em 0; border-radius: var(--radius); filter: brightness(0.92); }
.prose strong { color: var(--text-hi); font-weight: 600; }
.section-paper .prose strong { color: var(--text-ink); }
.prose a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 162, 75, 0.4);
  transition: border-color 240ms var(--ease);
}
.prose a:hover { border-bottom-color: var(--gold); }
.prose blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  background: var(--ink-1);
  border-left: 3px solid var(--gold);
  color: var(--text-hi);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.section-paper .prose blockquote { background: white; color: var(--text-ink); }

/* ---------- Gear ---------- */
.gear-category { margin-bottom: clamp(56px, 8vw, 88px); }
.gear-category h2 {
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--ink-line);
  color: var(--text-hi);
}
.section-paper .gear-category h2 { border-bottom-color: var(--paper-line); color: var(--text-ink); }
.gear-category .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  background: transparent;
  border: 0;
}
.gear-item {
  background: var(--ink-1);
  border: 1px solid var(--ink-line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: var(--radius);
  transition: border-color 240ms var(--ease);
}
.gear-item:hover { border-color: var(--gold); }
.section-paper .gear-item { background: white; border-color: var(--paper-line); }
.gear-item h4 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-hi);
}
.section-paper .gear-item h4 { color: var(--text-ink); }
.gear-item p { margin: 0; color: var(--text-mid); font-size: 0.9375rem; line-height: 1.5; }
.section-paper .gear-item p { color: var(--text-ink-mid); }
.gear-item .tag {
  align-self: flex-start;
  padding: 3px 10px;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.35);
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  color: inherit;
  display: block;
  background: var(--ink-1);
  border: 1px solid var(--ink-line);
  overflow: hidden;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
  border-radius: var(--radius);
}
.blog-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.blog-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  filter: brightness(0.85);
  transition: filter 400ms var(--ease);
}
.blog-card:hover img { filter: brightness(0.95); }
.blog-card-body { padding: 24px 28px 28px; }
.blog-card .meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 1.1875rem;
  margin: 0 0 8px;
  color: var(--text-hi);
  line-height: 1.3;
}
.blog-card p { color: var(--text-mid); font-size: 0.9375rem; margin: 0 0 16px; line-height: 1.5; }
.blog-card .read-more {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-hi);
}
.blog-card .read-more::after { content: " →"; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--ink-line);
}
.section-paper .faq-list { border-top-color: var(--paper-line); }
.faq-item {
  border-bottom: 1px solid var(--ink-line);
  padding: 24px 0;
}
.section-paper .faq-item { border-bottom-color: var(--paper-line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-hi);
  letter-spacing: -0.005em;
}
.section-paper .faq-item summary { color: var(--text-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  margin-left: auto;
  color: var(--gold);
  font-weight: 300;
  font-size: 1.25rem;
  transition: transform 300ms var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 12px 0 0;
  color: var(--text-mid);
  max-width: 60ch;
  line-height: 1.65;
}
.section-paper .faq-item p { color: var(--text-ink-mid); }

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  color: var(--text-hi);
  font-weight: 500;
  text-wrap: balance;
}
.section-paper .testimonial blockquote { color: var(--text-ink); }
.testimonial cite {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lo);
  font-style: normal;
  font-weight: 600;
}
.section-paper .testimonial cite { color: var(--text-ink-lo); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-1);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: clamp(48px, 6vw, 72px);
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.section-paper .cta-band { background: white; border-color: var(--paper-line); }
.cta-band h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin: 0 0 16px;
}
.cta-band p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  max-width: 52ch;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.section-paper .cta-band p { color: var(--text-ink-mid); }
.cta-band .btn { padding: 16px 32px; }
.dual-phone {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: var(--text-mid);
  letter-spacing: 0.01em;
}
.dual-phone a {
  color: var(--text-hi);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.dual-phone a:hover { border-bottom-color: var(--gold); opacity: 1; }
.section-paper .dual-phone { color: var(--text-ink-mid); }
.section-paper .dual-phone a { color: var(--text-ink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 24px; max-width: 780px; }
.form-row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.8125rem;
  color: var(--text-mid);
  font-weight: 600;
}
.section-paper .form-field label { color: var(--text-ink-mid); }
.form-field .req { color: var(--gold); margin-left: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--ink-line-hi);
  background: var(--ink-1);
  color: var(--text-hi);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  transition: border-color 200ms var(--ease);
  border-radius: var(--radius);
  width: 100%;
  outline: none;
}
.section-paper .form-field input,
.section-paper .form-field select,
.section-paper .form-field textarea {
  background: white;
  color: var(--text-ink);
  border-color: var(--paper-line);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.8125rem; color: var(--text-lo); }
.section-paper .form-hint { color: var(--text-ink-lo); }
.form-checks {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ink-line);
  cursor: pointer;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  background: var(--ink-1);
  transition: border-color 200ms var(--ease);
}
.section-paper .form-check { background: white; border-color: var(--paper-line); }
.form-check:hover { border-color: var(--gold); }
.form-check input { accent-color: var(--gold); }
.form-hp { position: absolute; left: -9999px; visibility: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-1);
  color: var(--text-hi);
  padding: clamp(72px, 10vw, 112px) 0 32px;
  border-top: 1px solid var(--ink-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .mark {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 16px;
  display: block;
  letter-spacing: -0.02em;
}
.footer-brand .footer-logo {
  height: 68px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}
@media (max-width: 640px) {
  .footer-brand .footer-logo { height: 56px; }
}
.footer-brand p { color: var(--text-mid); font-size: 0.9375rem; max-width: 36ch; margin-bottom: 8px; line-height: 1.5; }
.footer-brand .contact-line {
  color: var(--text-hi);
  font-size: 0.9375rem;
  font-weight: 500;
}
.footer-col h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--text-mid); font-size: 0.9375rem; transition: color 200ms var(--ease); }
.footer-col a:hover { color: var(--text-hi); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-lo);
}
.footer-bottom a { color: var(--text-lo); }
.footer-bottom a:hover { color: var(--text-hi); }

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 12px;
  background: var(--ink-1);
  border-top: 1px solid var(--ink-line);
}
.mobile-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 640px) { .mobile-cta { display: flex; } }

/* ---------- Legacy compat ---------- */
.rail { display: none !important; }
.signal-path, .hero-io, .brand-logos, .brands { display: none; }
.hero-caption { display: none; }
.intro-grid, .photo-essay, .index-list { display: none; }

/* Legacy .tile / .card-image → corporate card look */
.tile, .card-image {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--ink-1);
  border: 1px solid var(--ink-line);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: border-color 240ms var(--ease);
  gap: 12px;
}
.tile:hover, .card-image:hover { border-color: var(--gold); }
.section-paper .tile, .section-paper .card-image { background: white; border-color: var(--paper-line); }
.card-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: -32px -28px 12px;
  width: calc(100% + 56px);
  max-width: none;
  filter: brightness(0.85);
  transition: filter 400ms var(--ease);
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-image:hover img { filter: brightness(0.95); }
.card-image .card-body { padding: 0; }
.card-image h3, .tile h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-hi);
}
.section-paper .card-image h3, .section-paper .tile h3 { color: var(--text-ink); }
.card-image p, .tile p { color: var(--text-mid); font-size: 0.9375rem; margin: 0; line-height: 1.5; }
.section-paper .card-image p, .section-paper .tile p { color: var(--text-ink-mid); }
.card-image .card-link, .tile .tile-link, .tile .tile-ch {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-top: 8px;
}
.tile .tile-ch { color: var(--gold); }
.card-image .card-link::after { content: " →"; color: var(--gold); }
.grid { display: block; background: transparent; }

/* Legacy .trust fallback (from older pages) */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.trust-cell { display: flex; flex-direction: column; gap: 4px; background: transparent; padding: 0; }
.trust-cell .metric { display: none; }
.trust-cell .value {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-cell .caption { font-size: 0.9375rem; color: var(--text-mid); margin-top: 4px; line-height: 1.5; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--radius); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
