/* ============================================================================
   SILPOZZ — Shades of Grey
   Monochrome, editorial, calm. Hand-written. Fast on every device.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Warm neutral greys */
  --bg:          #faf9f7;   /* base background                              */
  --surface:     #f0efec;   /* alternating sections                         */
  --surface-2:   #e9e8e4;   /* cards / soft tints                           */
  --line:        #e3e1dc;   /* hairline borders                            */
  --line-strong: #d2d0c9;

  --ink:         #5a584f;   /* dark warm grey — headings, buttons, dark blocks (lightened from near-black) */
  --ink-2:       #4a4940;   /* darker shade for hovers on dark elements */
  --body:        #3d3d39;   /* body copy on light                           */
  --muted:       #74736d;   /* secondary text on light                      */
  --muted-dark:  #a8a69f;   /* secondary text on dark                       */

  --tint:        rgba(27, 27, 25, 0.05);  /* subtle charcoal wash           */

  /* Type — Geist throughout */
  --sans: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Geometry */
  --radius:    6px;
  --radius-lg: 10px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --shadow-sm: 0 1px 2px rgba(27, 27, 25, 0.04);
  --shadow:    0 18px 48px -24px rgba(27, 27, 25, 0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 600;
  text-wrap: balance;
}

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

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

/* --------------------------------------------------------------- Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

.blueprint {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* --------------------------------------------------- Kicker / eyebrow */
.kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.kicker::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--ink);
}
.bg-ink .kicker { color: var(--muted-dark); }
.bg-ink .kicker::before { background: rgba(255,255,255,0.5); }
.kicker .ix { color: var(--ink); font-weight: 700; }
.bg-ink .kicker .ix { color: #fff; }

/* Section header */
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; font-size: 1.075rem; color: var(--muted); max-width: 42rem; }
.bg-ink .section-head p { color: var(--muted-dark); }

/* --------------------------------------------------------------- Buttons */
.btn {
  --pad-y: 0.85rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: var(--pad-y) var(--pad-x);
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.005em;
  border: 1.5px solid transparent; border-radius: var(--radius);
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }

.bg-ink .btn-primary, .hero .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.bg-ink .btn-primary:hover, .hero .btn-primary:hover { background: var(--surface); border-color: var(--surface); }
.bg-ink .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.bg-ink .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero .btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .btn-primary:hover { background: var(--ink-2); }

.btn-ghost { background: transparent; color: var(--ink); padding-inline: 0; gap: 0.45rem; font-weight: 600; }
.btn-ghost .arrow { transition: transform .2s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-lg { --pad-y: 1.02rem; --pad-x: 1.85rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,247,0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
@media (max-width: 480px) { .brand img { height: 38px; } }

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 0.5rem 0.95rem; font-size: 0.95rem; font-weight: 500;
  color: var(--body); border-radius: var(--radius);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 0.85rem; flex: none; }
.nav-phone { font-size: 0.9rem; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-phone svg { width: 16px; height: 16px; color: var(--muted); }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .nav-phone, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer {
    position: fixed; inset: 76px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.75rem; transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 49;
  }
  .nav-drawer.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-drawer ul { list-style: none; padding: 0; }
  .nav-drawer ul a { display: block; padding: 0.95rem 0.25rem; font-size: 1.1rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-drawer ul a.active { color: var(--muted); }
  .nav-drawer .drawer-actions { margin-top: 1.4rem; display: grid; gap: 0.75rem; }
}
@media (min-width: 921px) { .nav-drawer { display: none; } }

/* --------------------------------------------------------------- Hero */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: stretch;
  min-height: min(74vh, 660px);
}
.hero-copy { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem) 0; display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 600; letter-spacing: -0.03em; margin-top: 1.4rem; }
.hero-copy h1 em { font-style: normal; color: var(--muted); }
.hero-copy p.lede { margin-top: 1.35rem; font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 33rem; }
.hero-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-meta { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 2.4rem; }
.hero-meta .item .n { font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.hero-meta .item .l { font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }

.hero-figure { position: relative; margin: clamp(1.5rem, 3vw, 2.5rem) 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; border: 1px solid var(--line); }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-figure .figure-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
  color: #fff; background: rgba(27,27,25,0.6); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.16); padding: 0.4rem 0.7rem; border-radius: 4px;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: clamp(2.5rem,7vw,3.5rem) 0 0; order: 2; }
  .hero-figure { order: 1; min-height: 260px; margin-bottom: 0; }
}

/* ------------------------------------------------------- Positioning bar */
.posbar { border-bottom: 1px solid var(--line); background: var(--bg); }
.posbar .row { display: flex; align-items: center; gap: clamp(1rem, 4vw, 3rem); padding-block: 1.4rem; flex-wrap: wrap; justify-content: space-between; }
.posbar .lead { font-weight: 500; color: var(--ink); font-size: 1rem; display: flex; align-items: center; gap: 0.7rem; }
.posbar .lead svg { width: 21px; height: 21px; color: var(--ink); flex: none; }
.posbar .origins { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.01em; }

/* --------------------------------------------------------- Metric grid */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.metric {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem; position: relative;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.bg-surface .metric { background: #fff; }
.metric:hover { border-color: var(--line-strong); }
.metric .num { font-size: clamp(2.7rem, 5vw, 3.7rem); font-weight: 600; letter-spacing: -0.04em; color: var(--ink); line-height: 1; display: flex; align-items: baseline; }
.metric .num .sign { font-size: 0.5em; font-weight: 600; color: var(--muted); margin-right: 0.04em; }
.metric .num .pct { font-size: 0.5em; font-weight: 600; color: var(--muted); margin-left: 0.06em; }
.metric .label { margin-top: 0.85rem; color: var(--ink); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; }
.metric .sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.metric::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.metric:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; gap: 0.85rem; } }

/* ------------------------------------------------------------ Spec strip */
.specstrip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.bg-surface .specstrip { background: #fff; }
.specstrip .cell { padding: 1.3rem 1.5rem; border-right: 1px solid var(--line); }
.specstrip .cell:last-child { border-right: none; }
.specstrip .k { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.specstrip .v { font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-top: 0.35rem; letter-spacing: -0.02em; }
.specstrip .v .u { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
@media (max-width: 760px) {
  .specstrip { grid-template-columns: repeat(2, 1fr); }
  .specstrip .cell:nth-child(2) { border-right: none; }
  .specstrip .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------- Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.rev .split-media { order: 2; }
.split-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 1rem; }
.split-copy p { margin-top: 1.2rem; color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

.frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.frame img { width: 100%; display: block; object-fit: cover; }
.frame .cap {
  position: absolute; left: 1rem; bottom: 1rem; font-size: 0.7rem; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500; color: #fff; background: rgba(27,27,25,0.62);
  padding: 0.35rem 0.6rem; border-radius: 4px; backdrop-filter: blur(3px);
}

/* ---------------------------------------------- Packing visual (remade) */
.viz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.viz-card svg { width: 100%; height: auto; display: block; }
.viz-legend { display: flex; gap: 1.6rem; padding: 1rem 1.3rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.viz-legend .dot { display: inline-flex; align-items: center; gap: 0.5rem; }
.viz-legend .swatch { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* ------------------------------------------------------- Step / process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.bg-surface .step { background: #fff; }
.step .n { font-size: 0.78rem; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.step h3 { font-size: 1.2rem; margin-top: 0.8rem; }
.step p { margin-top: 0.6rem; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ Application cards */
.appgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.appgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.appcard {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.bg-surface .appcard { background: #fff; }
.appcard:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.appcard .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.appcard .media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.18); transition: transform .5s var(--ease), filter .3s var(--ease); }
.appcard:hover .media img { transform: scale(1.04); filter: grayscale(0); }
.appcard .body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.appcard .ix { display: none; }
.appcard h3 { font-size: 1.2rem; }
.appcard p { color: var(--muted); font-size: 0.96rem; }
.appcard .tags { margin-top: auto; padding-top: 0.6rem; display: flex; gap: 0.45rem; flex-wrap: wrap; }
.appcard .tag { font-size: 0.7rem; letter-spacing: 0.02em; color: var(--body); background: var(--surface); border: 1px solid var(--line); padding: 0.25rem 0.6rem; border-radius: 100px; }
.appgrid.cols-4 .media { aspect-ratio: 4 / 3; }
.appgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.appgrid.cols-3 .media { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .appgrid.cols-4, .appgrid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .appgrid, .appgrid.cols-4, .appgrid.cols-3 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- Comparison */
.compare { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.bg-surface .compare { background: #fff; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 1.05rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--surface); font-weight: 600; }
.compare thead th.col-silpozz { color: var(--ink); background: var(--surface-2); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.compare td.col-silpozz { font-weight: 600; color: var(--ink); background: var(--surface-2); }
.compare td.col-other { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--ink); font-weight: 700; }
.compare-note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 620px) { .compare th, .compare td { padding: 0.85rem 0.9rem; font-size: 0.9rem; } .compare tbody th { width: 40%; } }

/* ------------------------------------------------------- Feature list */
.checklist { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; }
.checklist .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.checklist .ic svg { width: 14px; height: 14px; }
.checklist strong { color: var(--ink); display: block; }
.checklist span.d { color: var(--muted); font-size: 0.96rem; }

/* ---------------------------------------------------------- Spec table */
.spectable { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spectable .row { display: grid; grid-template-columns: 1fr 1fr; }
.spectable .row:nth-child(even) { background: var(--surface); }
.spectable .row > div { padding: 1.05rem 1.5rem; }
.spectable .row .prop { font-weight: 600; color: var(--ink); border-right: 1px solid var(--line); }
.spectable .row .val { color: var(--body); font-weight: 500; }
.spectable .row .val b { color: var(--ink); font-weight: 700; }

/* ----------------------------------------------------------- Donut chart */
.composition { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.donut-wrap { max-width: 360px; margin-inline: auto; }
.donut-wrap svg { width: 100%; height: auto; }
.legend { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.legend li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.97rem; }
.legend .sw { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.legend .nm { color: var(--ink); font-weight: 500; }
.legend .vl { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.legend li.hl .nm { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .composition { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- CTA band */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band .inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.cta-band p { color: var(--muted-dark); margin-top: 1rem; max-width: 34rem; }
.cta-band .actions { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.cta-band .phone-line { color: #fff; font-size: 1.05rem; font-weight: 500; display: flex; align-items: center; gap: 0.6rem; }
.cta-band .phone-line svg { width: 18px; height: 18px; color: var(--muted-dark); }
@media (max-width: 820px) { .cta-band .inner { grid-template-columns: 1fr; gap: 1.8rem; } }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { margin-top: 1.1rem; font-size: 0.95rem; max-width: 24rem; color: var(--muted-dark); }
.footer-col h4 { color: #fff; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a, .footer-col address { color: var(--muted-dark); font-size: 0.95rem; font-style: normal; transition: color .2s var(--ease); line-height: 1.6; }
.footer-contact { font-style: normal; line-height: 1.75; color: var(--muted-dark); font-size: 0.95rem; }
.footer-contact a { color: var(--muted-dark); transition: color .2s var(--ease); }
.footer-contact a:hover { color: #fff; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.84rem; letter-spacing: 0.01em; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ Page hero (sub) */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(3.25rem, 7vw, 5rem); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 600; margin-top: 1.1rem; letter-spacing: -0.03em; }
.page-hero p { color: var(--muted); margin-top: 1.1rem; max-width: 40rem; font-size: 1.1rem; }
.crumbs { font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line-strong); margin-inline: 0.5rem; }

/* ---------------------------------------------------------- Contact bits */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 1.1rem; }
.contact-cards.cols { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.contact-cards.cols .ccard { flex-direction: column; }
@media (max-width: 760px) { .contact-cards.cols { grid-template-columns: 1fr; } .contact-cards.cols .ccard { flex-direction: row; } }
.ccard { display: flex; gap: 1.1rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; background: var(--bg); transition: border-color .2s var(--ease); }
.ccard:hover { border-color: var(--line-strong); }
.ccard .ic { flex: none; width: 46px; height: 46px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ccard .ic svg { width: 21px; height: 21px; }
.ccard .k { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ccard .v { color: var(--ink); font-weight: 600; font-size: 1.06rem; margin-top: 0.2rem; line-height: 1.45; }
.ccard .v a:hover { color: var(--muted); }

.contact-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.8rem; }
.contact-actions .btn { width: 100%; }
@media (max-width: 560px) { .contact-actions { grid-template-columns: 1fr; } }

.map-frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); height: 100%; min-height: 440px; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }
@media (max-width: 860px) { .map-frame { min-height: 340px; } .map-frame iframe { min-height: 340px; } }

.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: 0.9rem; margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--tint); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

/* ------------------------------------------- About page — tighter rhythm */
/* ~20% less vertical space per section so the page reads denser */
.about-page .section { padding-block: clamp(3.1rem, 6.2vw, 5.5rem); }
.about-page .section--tight { padding-block: clamp(2.4rem, 4vw, 3.5rem); }
.about-page .page-hero { padding-block: clamp(2.6rem, 5.4vw, 4rem); }
.about-page .section-head { margin-bottom: clamp(1.8rem, 3vw, 2.5rem); }

/* --------------------------------------------------------- Reveal anim */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .metric::after { display: none; }
}

/* --------------------------------------------------------- Utilities */
.center { text-align: center; margin-inline: auto; }
.mt-sm { margin-top: 1rem; } .mt-md { margin-top: 1.8rem; } .mt-lg { margin-top: 2.6rem; }
.lead-light { color: var(--muted); font-size: 1.1rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }
