/* =========================================================================
   Zetifi Prototype V3 — editorial, calm, professional
   Less colour, tighter type, thin lines, generous air.
   ========================================================================= */

/* Tokens */
:root {
  --c-paper:      #FFFFFF;
  --c-paper-2:    #FAFAFA;
  --c-paper-3:    #F3F4F6;
  --c-ink:        #0B0F1A;
  --c-ink-soft:   #2A3142;
  --c-muted:      #6B7284;
  --c-dim:        #9099AA;
  --c-line:       #ECEEF2;
  --c-line-2:     #D9DCE3;
  --c-navy:       #00053E;
  --c-accent:     #00053E;        /* same as navy — monochrome */
  --c-success:    #1F8A3D;

  --font: 'Montserrat', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --container:    1180px;
  --gutter:       clamp(1.25rem, 3.5vw, 2.5rem);
  --y:            clamp(4rem, 8vw, 7rem);

  --r-1:          2px;
  --r-2:          4px;
  --r-3:          8px;

  --t-fast:       140ms ease;
  --t-med:        280ms cubic-bezier(.22,.61,.36,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
  color: var(--c-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.muted { color: var(--c-muted); }
.dim   { color: var(--c-dim); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.rule {
  border: 0; border-top: 1px solid var(--c-line);
  margin: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem 0;
}
.site-header__logo img { height: 28px; width: auto; }
.site-nav {
  display: none; gap: 2rem;
  margin-left: 1rem;
}
@media (min-width: 860px) { .site-nav { display: flex; } }
.site-nav a, .site-nav button {
  color: var(--c-ink);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.3rem 0;
  position: relative;
}
.site-nav a:hover, .site-nav button:hover { color: var(--c-muted); }
.site-header__actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 0.25rem;
}
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--c-ink);
  position: relative;
  border-radius: 999px;
  transition: background var(--t-fast);
}
.icon-btn:hover { background: var(--c-paper-3); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute; top: 5px; right: 5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--c-ink); color: #fff;
  border-radius: 999px;
  font-size: 0.67rem; font-weight: 700;
  display: grid; place-items: center;
}
.menu-btn { display: grid; }
@media (min-width: 860px) { .menu-btn { display: none; } }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > button::after {
  content: ""; display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5rem;
  margin-top: -3px;
  vertical-align: middle;
}
.dropdown {
  position: absolute; top: calc(100% + 0.75rem); left: -0.75rem;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-2);
  padding: 0.75rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-2);
  font-weight: 500;
}
.dropdown a:hover { background: var(--c-paper-2); }
.dropdown a strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--c-ink); }
.dropdown a small { display: block; font-size: 0.82rem; color: var(--c-muted); font-weight: 400; margin-top: 0.1rem; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(320px, 85vw);
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--t-med);
  z-index: 50;
  padding: 1.5rem;
  box-shadow: -20px 0 40px -12px rgba(11,16,32,0.12);
}
.drawer.is-open { transform: translateX(0); }
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(11,16,32,0.35);
  opacity: 0; visibility: hidden; transition: opacity var(--t-fast);
  z-index: 40;
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }
.drawer-close {
  float: right; font-size: 1.8rem; padding: 0.1rem 0.6rem;
  color: var(--c-muted); line-height: 1;
}
.drawer nav { clear: both; margin-top: 1.5rem; }
.drawer nav a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-weight: 500; font-size: 1rem;
  border-bottom: 1px solid var(--c-line);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 500; font-size: 0.93rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-2);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: var(--c-ink-soft); }
.btn-outline {
  background: transparent; color: var(--c-ink);
  border: 1px solid var(--c-line-2);
}
.btn-outline:hover { border-color: var(--c-ink); }
.btn-ghost {
  background: transparent; color: var(--c-ink);
  padding: 0.5rem 0.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--c-ink);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--c-muted); border-color: var(--c-muted); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.75rem; font-size: 0.95rem; }

/* Hero */
.hero {
  padding: clamp(3rem, 7vw, 5rem) 0 var(--y);
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
}
.hero__copy h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0.75rem 0 1.5rem;
}
.hero__copy p {
  color: var(--c-muted);
  font-size: 1.1rem;
  max-width: 44ch;
  line-height: 1.55;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__media {
  aspect-ratio: 5 / 6;
  background: var(--c-paper-3);
  border-radius: var(--r-3);
  overflow: hidden;
  position: relative;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__media__meta {
  position: absolute; left: 1rem; bottom: 1rem;
  background: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-2);
  font-size: 0.82rem;
}
.hero__media__meta strong { display: block; font-weight: 600; color: var(--c-ink); }
.hero__media__meta small { color: var(--c-muted); font-size: 0.78rem; }

/* Category row (minimal text tiles) */
.cat-row {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-line);
  margin: 0;
}
@media (min-width: 700px) { .cat-row { grid-template-columns: repeat(4, 1fr); } }

.cat-item {
  background: #fff;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex; flex-direction: column;
  min-height: 160px;
  transition: background var(--t-fast);
}
.cat-item:hover { background: var(--c-paper-2); }
.cat-item__num {
  font-size: 0.78rem; color: var(--c-dim); font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.cat-item__title {
  font-size: 1.35rem; font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 0.25rem;
}
.cat-item__desc {
  font-size: 0.88rem;
  color: var(--c-muted);
  margin-bottom: auto;
}
.cat-item__foot {
  margin-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--c-ink);
  font-weight: 500;
}
.cat-item__foot .arrow { transition: transform var(--t-fast); }
.cat-item:hover .cat-item__foot .arrow { transform: translateX(3px); }

/* Sections */
.section { padding: var(--y) 0; }
.section-sm { padding: calc(var(--y) * 0.65) 0; }
.section-paper { background: var(--c-paper-2); }

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
}
.section-head p {
  color: var(--c-muted);
  max-width: 50ch;
  margin-top: 0.4rem;
}
.section-head .link {
  font-weight: 500; font-size: 0.9rem;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 1px;
}
.section-head .link:hover { color: var(--c-muted); border-color: var(--c-muted); }

/* Product grid */
.product-grid {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.product-card {
  display: flex; flex-direction: column;
  position: relative;
}
.product-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--c-paper-2);
  border-radius: var(--r-2);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms ease;
}
.product-card:hover .product-card__media img { transform: scale(1.02); }
.product-card__body {
  display: flex; flex-direction: column; gap: 0.35rem;
}
.product-card__type {
  font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted); font-weight: 600;
}
.product-card__name {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.35;
}
.product-card__name:hover { color: var(--c-muted); }
.product-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.35rem;
  gap: 0.75rem;
}
.price { font-weight: 500; color: var(--c-ink); font-size: 0.98rem; }
.price small { color: var(--c-muted); font-weight: 400; font-size: 0.78rem; margin-left: 0.15rem; }
.product-card__add {
  padding: 0.45rem 0.9rem;
  background: var(--c-ink); color: #fff;
  border-radius: var(--r-1);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--t-fast);
}
.product-card__add:hover { background: var(--c-ink-soft); }
.product-card__demo {
  font-size: 0.8rem; font-weight: 500;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 1px;
}
.product-card__demo:hover { color: var(--c-muted); border-color: var(--c-muted); }
.product-card__sublink {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--c-muted);
}
.product-card__sublink:hover { color: var(--c-ink); }

.product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.55rem;
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-1);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-ink);
}
.product-badge-demo { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* Pack row — calm horizontal split */
.pack-row {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .pack-row { grid-template-columns: repeat(3, 1fr); } }

.pack-card {
  display: block;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  padding: 1.5rem;
  transition: border-color var(--t-fast);
}
.pack-card:hover { border-color: var(--c-line-2); }
.pack-card__head {
  display: flex; justify-content: space-between; align-items: start;
  gap: 1rem; margin-bottom: 0.5rem;
}
.pack-card__title { font-weight: 600; font-size: 1.05rem; }
.pack-card__save {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-success);
  white-space: nowrap;
  padding-top: 0.15rem;
}
.pack-card p { color: var(--c-muted); font-size: 0.88rem; margin-bottom: 1rem; }
.pack-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
}

/* Fleet row */
.fleet-row {
  display: grid; gap: 2px;
  grid-template-columns: 1fr;
  background: var(--c-line);
  border-radius: var(--r-3);
  overflow: hidden;
  border: 1px solid var(--c-line);
}
@media (min-width: 800px) { .fleet-row { grid-template-columns: repeat(3, 1fr); } }

.fleet-item {
  background: #fff;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  gap: 0.75rem;
  transition: background var(--t-fast);
}
.fleet-item:hover { background: var(--c-paper-2); }
.fleet-item__type {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted);
}
.fleet-item__title { font-weight: 600; font-size: 1.1rem; }
.fleet-item p { font-size: 0.88rem; color: var(--c-muted); line-height: 1.5; }
.fleet-item__foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
}

/* Trust line (single tight row) */
.trust-line {
  padding: 1.25rem 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper-2);
}
.trust-line__inner {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 1.25rem 2.5rem;
  font-size: 0.85rem; color: var(--c-muted);
}
.trust-line__inner strong { color: var(--c-ink); font-weight: 600; }

/* Breadcrumbs */
.crumbs {
  padding: 1.5rem 0 0;
  font-size: 0.82rem; color: var(--c-muted);
}
.crumbs a:hover { color: var(--c-ink); }
.crumbs span { margin: 0 0.4rem; color: var(--c-dim); }

/* Collection page top */
.collection-head {
  padding: 2rem 0 3rem;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .collection-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; }
}
.collection-head h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}
.collection-head p { color: var(--c-muted); font-size: 1.05rem; max-width: 52ch; }
.collection-head__meta {
  display: flex; flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem; color: var(--c-muted);
  align-self: end;
}
.collection-head__meta dl {
  display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem;
}
.collection-head__meta dt { color: var(--c-muted); }
.collection-head__meta dd { color: var(--c-ink); font-weight: 500; }

.filters {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 1.25rem 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-line);
}
.chip {
  padding: 0.45rem 1rem;
  background: transparent;
  color: var(--c-muted);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--r-1);
  transition: color var(--t-fast), background var(--t-fast);
}
.chip:hover { color: var(--c-ink); }
.chip.is-active {
  background: var(--c-ink); color: #fff;
}

/* PDP */
.pdp {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding: 2rem 0 var(--y);
}
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: 4rem; }
}
.pdp-gallery {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.pdp-gallery__main {
  aspect-ratio: 4 / 5;
  background: var(--c-paper-2);
  border-radius: var(--r-3);
  overflow: hidden;
}
.pdp-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery__thumbs {
  display: flex; gap: 0.5rem;
  overflow-x: auto;
}
.pdp-gallery__thumb {
  flex: 0 0 72px; width: 72px; height: 90px;
  background: var(--c-paper-2);
  border: 1px solid transparent;
  border-radius: var(--r-2);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.pdp-gallery__thumb.is-active { border-color: var(--c-ink); }
.pdp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info {
  display: flex; flex-direction: column;
}
.pdp-info .pdp-type {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
}
.pdp-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pdp-info .pdp-sub {
  color: var(--c-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}
.pdp-price-row {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 1.5rem;
}
.pdp-price {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pdp-price small {
  font-size: 0.85rem; font-weight: 400;
  color: var(--c-muted);
  margin-left: 0.5rem;
}

.pdp-bullets {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.pdp-bullets li {
  display: flex; gap: 0.75rem;
  font-size: 0.93rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 0.6rem;
}
.pdp-bullets li:last-child { border-bottom: 0; }
.pdp-bullets li::before {
  content: "—"; color: var(--c-muted); flex-shrink: 0;
}

.qty-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.qty-row label { font-size: 0.85rem; color: var(--c-muted); font-weight: 500; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-2);
}
.qty button { width: 40px; height: 44px; color: var(--c-ink); font-size: 1rem; }
.qty button:hover { background: var(--c-paper-2); }
.qty input {
  width: 44px; height: 44px; text-align: center;
  border: 0; border-left: 1px solid var(--c-line); border-right: 1px solid var(--c-line);
  font-weight: 500;
}
.qty input:focus { outline: 0; background: var(--c-paper-2); }

.pdp-cta { display: flex; flex-direction: column; gap: 0.5rem; }

.pdp-ship {
  margin-top: 1.25rem;
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  color: var(--c-muted); font-size: 0.82rem;
}
.pdp-ship span::before { content: "·"; margin-right: 0.5rem; color: var(--c-ink); font-weight: 700; }

.pdp-alt {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-2);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.pdp-alt strong { display: block; font-weight: 600; font-size: 0.92rem; }
.pdp-alt small { color: var(--c-muted); font-size: 0.82rem; }

.pdp-accordion {
  margin-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.pdp-accordion details { border-bottom: 1px solid var(--c-line); }
.pdp-accordion summary {
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary::after {
  content: "+"; color: var(--c-muted); font-size: 1.15rem;
  font-weight: 300;
}
.pdp-accordion details[open] summary::after { content: "−"; }
.pdp-accordion__body {
  padding-bottom: 1.1rem;
  color: var(--c-ink-soft);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Demo form */
.demo-form {
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  padding: 1.5rem;
}
.demo-form h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.demo-form label {
  display: block; font-size: 0.82rem; font-weight: 500;
  color: var(--c-muted); margin-bottom: 0.4rem;
}
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-2);
  font-size: 0.93rem;
  margin-bottom: 1rem;
  color: var(--c-ink);
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: 0; border-color: var(--c-ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
  margin-top: var(--y);
  background: var(--c-paper-2);
}
.site-footer h4 {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-grid a { color: var(--c-ink-soft); font-size: 0.88rem; }
.footer-grid a:hover { color: var(--c-muted); }
.site-footer__mark {
  font-weight: 600; font-size: 1rem; color: var(--c-ink);
  margin-bottom: 0.75rem;
}
.site-footer__tag {
  font-size: 0.88rem; color: var(--c-muted);
  max-width: 32ch; line-height: 1.55;
}
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: var(--c-muted);
}

/* Small utilities */
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: initial; } }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
