/* ==========================================================================
   Katare Agency — site styles
   Ported directly from the wireframe's design tokens and layouts.
   Fraunces (display) + Inter (UI), warm neutral palette.
   ========================================================================== */

:root {
  --bg: #f6f3ee;
  --paper: #fbfaf6;
  --ink: #1c1a17;
  --ink-2: #4a453e;
  --muted: #8a8378;
  --line: #e6e0d5;
  --accent: #8a5a3b;
  --accent-2: #c89a6b;
  --sand: #efe7d8;

  --gut: 44px;          /* horizontal page gutter, narrows on mobile */
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------------- type */

.kicker {
  font: 500 11px/1 'Inter', sans-serif;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; display: inline-block; }
.kicker.center { justify-content: center; }

h1.display { font: 400 72px/.98 'Fraunces', Georgia, serif; letter-spacing: -.03em; margin: 0; }
h2.display { font: 400 52px/1.02 'Fraunces', Georgia, serif; letter-spacing: -.02em; margin: 0; }
h3.section { font: 400 36px/1.05 'Fraunces', Georgia, serif; letter-spacing: -.02em; margin: 0; }
.display em, .section em { font-style: italic; color: var(--accent); }

.lead { font: 400 16px/1.6 'Inter', sans-serif; color: var(--ink-2); max-width: 560px; margin: 0; }
.small { font: 400 13px/1.55 'Inter', sans-serif; color: var(--muted); }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font: 400 40px/1 'Fraunces', Georgia, serif; color: var(--ink); }
.stat span { font: 500 11px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 99px;
  font: 600 12.5px/1 'Inter', sans-serif; letter-spacing: .01em;
  cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  text-decoration: none; transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--ink); border-color: var(--ink); }
.btn.sm { padding: 8px 14px; font-size: 11.5px; }
.btn.lg { padding: 14px 26px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--line); background: var(--paper);
  border-radius: 99px; font: 500 12px/1 'Inter', sans-serif; color: var(--ink-2);
  margin: 0 6px 6px 0; text-decoration: none; transition: background .18s, color .18s, border-color .18s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.tag {
  display: inline-block; font: 600 10px/1 'Inter', sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  padding: 5px 8px; border: 1px solid var(--accent); border-radius: 3px; white-space: nowrap;
}

.row { display: flex; gap: 12px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}

/* ------------------------------------------------------------------ images */
/* .media reproduces the wireframe's woven placeholder; a real <img> sits on
   top of it once one has been uploaded, so empty slots still look intentional. */

.media {
  position: relative; overflow: hidden; border-radius: 8px;
  /* Default box shape. Ignored automatically wherever both width and height
     are already definite (.ratio-* overrides, absolutely-positioned hero art,
     masonry cells), so it only ever acts as a floor against a collapsed box. */
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 100% at 20% 10%, rgba(255,255,255,.35), transparent 50%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.035) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #d9c9ae, #b89774);
}
.media.pale {
  background:
    radial-gradient(120% 100% at 20% 10%, rgba(255,255,255,.5), transparent 50%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.03) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #efe7d8, #dcd0bd);
}
.media.dark {
  background:
    radial-gradient(120% 100% at 20% 10%, rgba(255,255,255,.15), transparent 50%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #3d342a, #221d18);
}
.media.stone {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #c7bfb3, #9b9285);
}
.media.warm {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #d8a97a, #a06c3f);
}
/* Absolutely positioned on purpose: the image's own intrinsic size can then
   never influence the container's height. A 6000×200 panorama and a 400×400
   square produce the identical box — object-fit crops to fill it. */
.media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; border-radius: inherit;
}
/* Fills a parent that already dictates the height (masonry cells). */
.media.fill { aspect-ratio: auto; height: 100%; }
.media[data-label]::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font: 500 10.5px/1 ui-monospace, Menlo, monospace; color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.4); padding: 5px 8px; border-radius: 4px;
  letter-spacing: .06em; text-transform: uppercase; pointer-events: none;
}
.media.ratio-45 { aspect-ratio: 4 / 5; }
.media.ratio-1  { aspect-ratio: 1; }

a.card-media { display: block; text-decoration: none; }
a.card-media .media img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a.card-media:hover .media img { transform: scale(1.04); }

/* --------------------------------------------------------------------- nav */

.nav-outer { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 40; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 22px; padding-bottom: 22px;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font: 700 18px/1 'Fraunces', Georgia, serif; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink);
}
.logo em { font-style: italic; font-weight: 400; color: var(--accent); }

.nav-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px;
             font: 500 13.5px/1 'Inter', sans-serif; color: var(--ink-2); }
.nav-links a { text-decoration: none; position: relative; padding: 4px 0; display: inline-block; }
.nav-links a:hover { color: var(--ink); }
.nav-links li.on a { color: var(--ink); }
.nav-links li.on a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--accent);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -------------------------------------------------------------------- hero */

.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 80px; padding-bottom: 90px;
}
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }

.hero-art { position: relative; height: 520px; }
.hero-art .main { position: absolute; inset: 0 60px 60px 0; }
.hero-art .inset { position: absolute; right: 0; bottom: 0; width: 200px; height: 240px; border: 6px solid var(--paper); }
.hero-badge {
  position: absolute; top: 20px; right: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,.15); z-index: 2;
}
.hero-badge .label { font: 600 11px 'Inter', sans-serif; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.hero-badge .certs { display: flex; gap: 14px; margin-top: 8px; font: 600 12px 'Inter', sans-serif; color: var(--ink); }
.hero-badge .certs i { color: var(--line); font-style: normal; }

/* --------------------------------------------------------------- trust bar */

.trustbar {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-top: 22px; padding-bottom: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  color: var(--muted); font: 500 12px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase;
}
.trustbar b { font: 600 15px 'Fraunces', Georgia, serif; color: var(--ink-2); letter-spacing: 0; text-transform: none; }

/* ---------------------------------------------------------------- sections */

.section-pad { padding-top: 96px; padding-bottom: 96px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 44px;
}
.section-head.center { display: block; text-align: center; margin-bottom: 56px; }
.section-head.center h2 { max-width: 720px; margin: 0 auto; }

/* -------------------------------------------------------------- card grids */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }

.cat-card { text-decoration: none; display: block; }
.cat-card .name-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; gap: 12px; }
.cat-card .name { font: 600 15px 'Inter', sans-serif; }
.cat-card .arrow { color: var(--muted); font: 500 12px 'Inter', sans-serif; transition: transform .2s; }
.cat-card:hover .arrow { transform: translateX(4px); color: var(--accent); }
.cat-card .small { margin-top: 4px; }

.prod-card .name-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; gap: 12px; }
.prod-card .name { font: 600 15px 'Inter', sans-serif; }
.prod-card .small { margin-top: 6px; }
.prod-card .btn { margin-top: 14px; }

/* ------------------------------------------------------------------- about */

.band-sand { background: var(--sand); }
.band-ink  { background: var(--ink); color: #e8e1d2; }
.band-ink .lead { color: #b8afa0; }
.band-ink .display { color: #fff; }
.band-ink .display em { color: var(--accent-2); }
.band-ink .kicker { color: var(--accent-2); }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split.wide-right { grid-template-columns: 1.1fr 1fr; }

.about-art { position: relative; height: 560px; }
.about-art .main { position: absolute; inset: 0 40px 40px 0; }
.about-art .inset { position: absolute; right: 0; bottom: 0; width: 220px; height: 280px; border: 8px solid var(--sand); }

.point-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin-top: 32px; }
.point { display: flex; gap: 10px; align-items: baseline; }
.point span.num { color: var(--accent); font: 600 13px 'Inter', sans-serif; }
.point span.txt { font: 500 14px 'Inter', sans-serif; color: var(--ink); }

/* ----------------------------------------------------------- why-choose-us */

.why-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.why-cell { padding: 36px 24px; border-right: 1px solid var(--line); }
.why-cell:last-child { border-right: 0; }
.why-cell h4 { font: 600 15px 'Inter', sans-serif; margin: 20px 0 0; }
.why-cell .small { margin-top: 8px; }

/* ----------------------------------------------------------------- masonry */

.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 14px; }
.masonry .media { border-radius: 8px; height: 100%; }
/* Tiles wrapped in a link must still fill the cell they span. */
.masonry > a { display: block; height: 100%; }
.span-c2 { grid-column: span 2; }
.span-r2 { grid-row: span 2; }

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(28,26,23,.92);
  display: flex; align-items: center; justify-content: center; padding: 5vh 5vw;
}
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 40px; height: 40px; border-radius: 99px; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 22px; line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ------------------------------------------------------------ quality rows */

.spec-list { margin-top: 36px; }
.spec-list .spec-row {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12);
}
.spec-list .spec-row:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.spec-list .spec-row b { font: 600 14px 'Inter', sans-serif; }
.spec-list .spec-row span { color: var(--muted); font: 400 13px 'Inter', sans-serif; }

/* --------------------------------------------------------------- CTA bands */

.cta-center { padding-top: 120px; padding-bottom: 120px; text-align: center; background: var(--paper); }
.cta-center .lead { margin: 24px auto 0; }
.cta-center h2 { max-width: 820px; margin: 0 auto; }

.cta-strip {
  background: var(--ink); color: #fff;
  padding-top: 36px; padding-bottom: 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-strip .title { font: 400 24px 'Fraunces', Georgia, serif; }
.cta-strip .sub { color: #a8a196; font: 400 13px 'Inter', sans-serif; margin-top: 4px; }

/* ------------------------------------------------------------- page header */

.page-hero {
  padding-top: 80px; padding-bottom: 36px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end;
}
.page-hero.tall { padding-bottom: 60px; padding-top: 96px; }
.page-hero h1 { font-size: 60px; }

.breadcrumb {
  padding-top: 20px; padding-bottom: 20px;
  font: 500 12px 'Inter', sans-serif; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-style: normal; margin: 0 8px; }
.breadcrumb .here { color: var(--ink); }

/* --------------------------------------------------------------- filterbar */

.filterbar {
  padding-top: 24px; padding-bottom: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.filterbar .meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 12px 'Inter', sans-serif; }
.filterbar .meta i { width: 1px; height: 12px; background: var(--line); display: inline-block; }

.pagination { display: flex; justify-content: center; gap: 8px; align-items: center; padding-bottom: 60px; }

/* ---------------------------------------------------------- product detail */

.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-top: 56px; padding-bottom: 56px; }
.pdp-gallery .main { margin-bottom: 14px; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp-thumbs button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; }
.pdp-thumbs .media { border: 2px solid transparent; }
.pdp-thumbs button[aria-current="true"] .media { border-color: var(--accent); }

.pdp h1 { font-size: 48px; margin-top: 14px; }
.pdp .lead { margin-top: 20px; }

.pdp-specs { margin-top: 32px; border-top: 1px solid var(--line); }
.pdp-specs .row-spec {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.pdp-specs dt {
  color: var(--muted); font: 500 12px/1.4 'Inter', sans-serif;
  letter-spacing: .1em; text-transform: uppercase; margin: 0;
}
.pdp-specs dd { font: 500 14px 'Inter', sans-serif; margin: 0; }
.swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.swatches i { width: 22px; height: 22px; border-radius: 99px; border: 1px solid var(--line); display: inline-block; }
.swatches .note { font: 500 12px 'Inter', sans-serif; color: var(--muted); margin-left: 8px; }

/* ------------------------------------------------------------ about layout */

.about-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 60px;
  padding-top: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line);
}
.about-row .kicker { margin: 0; }
.about-row h3 + .lead { margin-top: 16px; max-width: 640px; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 44px; border-top: 1px solid rgba(0,0,0,.15); }
.timeline .node { padding: 24px 20px 0; border-right: 1px solid rgba(0,0,0,.15); position: relative; }
.timeline .node:last-child { border-right: 0; }
.timeline .node::before {
  content: ""; width: 12px; height: 12px; background: var(--accent);
  border-radius: 99px; position: absolute; top: -6px; left: 20px;
}
.timeline .year { font: 400 28px 'Fraunces', Georgia, serif; }
.timeline .small { margin-top: 8px; }

/* ------------------------------------------------------------------- forms */

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 36px; }
.form-card h2 { font: 400 26px 'Fraunces', Georgia, serif; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-grid .full { grid-column: span 2; }

.field label {
  display: block; margin-bottom: 6px;
  font: 400 13px/1.55 'Inter', sans-serif; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; padding: 0 14px; color: var(--ink);
  font: 400 13px 'Inter', sans-serif;
}
.field textarea { height: 110px; padding: 14px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field.err input, .field.err select, .field.err textarea { border-color: #b3261e; }
.field .msg { color: #b3261e; font: 400 12px 'Inter', sans-serif; margin-top: 5px; }
.req { color: var(--accent); }

/* Hidden honeypot — bots fill it, humans never see it. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: 8px; padding: 14px 16px; font: 400 14px/1.5 'Inter', sans-serif; margin-bottom: 20px; }
.notice.ok  { background: #e9f3ec; color: #205d38; border: 1px solid #bfdfc9; }
.notice.bad { background: #fbeceb; color: #8d2019; border: 1px solid #eec6c3; }

/* ----------------------------------------------------------------- contact */

.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding-top: 80px; padding-bottom: 80px; }
.contact-list { margin-top: 44px; display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.contact-item .t { font: 600 13px 'Inter', sans-serif; }
.contact-item .small { margin-top: 2px; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--accent); }

.map {
  position: relative; height: 340px; border-radius: 12px; overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(180deg, #e6e0d5, #d8d0c2);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map .pin {
  position: absolute; width: 44px; height: 44px; background: var(--accent);
  border: 4px solid #fff; border-radius: 99px 99px 99px 0;
  rotate: -45deg; box-shadow: 0 8px 20px -4px rgba(0,0,0,.3);
  top: 50%; left: 38%;
}
.map .pin.alt { width: 36px; height: 36px; background: var(--ink); top: 34%; left: 68%; }
.map .plate {
  position: absolute; left: 24px; bottom: 24px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px;
}
.map .plate b { font: 600 13px 'Inter', sans-serif; }

/* ------------------------------------------------------------------ footer */

.foot { background: var(--ink); color: #d8d0c2; padding: 56px 0 24px; }
.foot .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot h5 { font: 600 11px/1 'Inter', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;
           font: 400 13px/1.4 'Inter', sans-serif; color: #a8a196; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: #fff; }
.foot .brand { display: flex; flex-direction: column; gap: 14px; }
.foot .brand .logo { color: #fff; }
.foot .brand .logo em { color: var(--accent-2); }
.foot .brand p { margin: 0; font-size: 13px; line-height: 1.55; color: #a8a196; max-width: 280px; }
.foot .bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font: 400 11.5px/1 'Inter', sans-serif; color: #6f6a60;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center; color: #a8a196; text-decoration: none;
}
.socials a:hover { border-color: var(--accent-2); color: #fff; }

.empty { padding: 60px 0; text-align: center; color: var(--muted); font: 400 15px/1.6 'Inter', sans-serif; }

/* ------------------------------------------------------------- site banner */
/* One-line notice managed at /admin/settings.php. Deliberately has NO
   display:none rule at any breakpoint — it must stay visible on every device. */

.site-banner {
  width: 100%;
  padding: 10px 16px;
  text-align: center;
  font: 500 12.5px/1.45 'Inter', sans-serif;
  letter-spacing: .01em;
}
.site-banner span {
  display: inline-block;
  max-width: 900px;
}
.site-banner--accent { background: var(--accent); color: #fff; }
.site-banner--dark   { background: #12100e; color: #e8e1d2; }
.site-banner--sand   { background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); }
.site-banner--warn   { background: #8a6d1f; color: #fff; }

.site-banner.is-fixed {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  box-shadow: 0 -4px 16px -6px rgba(0,0,0,.35);
  /* Keep clear of the iOS home indicator. */
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.site-banner-spacer { height: 46px; }

@media (max-width: 560px) {
  .site-banner { font-size: 12px; padding: 9px 14px; text-align: left; }
  .site-banner-spacer { height: 56px; }
}

/* ==========================================================================
   Responsive — follows wireframes 3a / 3b / 3c
   ========================================================================== */

@media (max-width: 1080px) {
  h1.display { font-size: 58px; }
  h2.display { font-size: 42px; }
  .page-hero h1 { font-size: 48px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-cell:nth-child(3n) { border-right: 0; }
  .why-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --gut: 24px; }

  .nav-toggle { display: flex; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav .btn { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { padding: 14px 0; font-size: 15px; width: 100%; }
  .nav-links li.on a::after { display: none; }
  .nav-links li.on a { color: var(--accent); }

  .hero, .split, .split.wide-right, .pdp, .contact-split,
  .page-hero, .about-row { grid-template-columns: 1fr; gap: 36px; }

  .hero { padding-top: 40px; padding-bottom: 48px; }
  .hero-art { height: 380px; }
  .hero-art .main { inset: 0 40px 40px 0; }
  .hero-art .inset { width: 140px; height: 170px; }
  .hero-badge { position: static; margin-bottom: 16px; display: inline-block; }
  .hero-stats { gap: 28px; margin-top: 36px; }

  .about-art { height: 400px; }
  .about-art .inset { width: 150px; height: 190px; }

  .section-pad { padding-top: 56px; padding-bottom: 56px; }
  .cta-center { padding-top: 72px; padding-bottom: 72px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .point-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-cell:nth-child(n) { border-right: 1px solid var(--line); }
  .why-cell:nth-child(2n) { border-right: 0; }
  .why-cell:nth-child(n+3) { border-top: 1px solid var(--line); }

  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }

  .timeline { grid-template-columns: 1fr; border-top: 0; }
  .timeline .node { border-right: 0; border-top: 1px solid rgba(0,0,0,.15); padding: 24px 0 16px 24px; }
  .timeline .node::before { left: 0; }

  .foot .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-card { padding: 24px; }
  .pdp-specs .row-spec { grid-template-columns: 1fr; gap: 6px; }
  .trustbar { justify-content: flex-start; gap: 16px 28px; }
}

@media (max-width: 560px) {
  h1.display { font-size: 40px; }
  h2.display { font-size: 30px; }
  h3.section { font-size: 26px; }
  .page-hero h1 { font-size: 36px; }
  .pdp h1 { font-size: 32px; }
  .lead { font-size: 15px; }

  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .why-cell { border-right: 0 !important; border-top: 1px solid var(--line); }
  .why-cell:first-child { border-top: 0; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; }
  .foot .grid { grid-template-columns: 1fr; }
  .cta-strip { padding-top: 28px; padding-bottom: 28px; }
  .stat b { font-size: 32px; }
  .hero-stats { gap: 20px; }
}

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

@media print {
  .nav-outer, .foot, .cta-strip, .btn { display: none; }
}
