/* ==========================================================================
   IDI — Intrastate Distributors, Inc.

   Design system: evolves the original site's language rather than replacing
   it. Bright and airy — white and pale blue-lavender ground, heavy geometric
   sans headlines with a blue→cyan gradient on the accent phrase, pastel
   tinted cards, soft background blobs, a rainbow hairline across the top.

   What changed from the original: vertical rhythm is roughly 40% tighter,
   section hierarchy is stronger, and everything is driven by real content.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */

:root {
  /* Core blues — the original's primary language */
  --blue-950: #0a1b3d;
  --blue-900: #0f2557;
  --blue-800: #16327a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --cyan-100: #cffafe;

  /* Pastel card tints, one per capability — straight from the original */
  --tint-blue: #e8f0fe;
  --tint-amber: #fdf0e3;
  --tint-teal: #e3f6f2;
  --tint-violet: #efe9fd;
  --tint-rose: #fdeaf0;
  --tint-lime: #edf7e0;

  --ink-900: #0b1220;
  --ink-800: #131c2f;
  --ink-700: #1f2a3d;
  --ink-600: #38455c;
  --ink-500: #5a6a83;
  --ink-400: #8492a8;
  --ink-300: #b6c0d0;

  --line: #e4e9f2;
  --line-soft: #eef2f8;
  --white: #ffffff;

  /* Brand accents */
  --towne: #d81f36;
  --kist: #12a3a8;
  --frostie: #e07b1f;

  --grad-accent: linear-gradient(100deg, var(--blue-700) 0%, var(--blue-500) 42%, var(--cyan-400) 100%);
  --grad-rainbow: linear-gradient(90deg, #1d4ed8, #06b6d4, #10b981, #eab308, #f97316, #ef4444);

  --font: 'Inter var', 'Inter', ui-sans-serif, system-ui, -apple-system,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.875rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.16vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.05rem + 0.34vw, 1.32rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.8rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.55rem + 2.6vw, 3.5rem);
  --step-5: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 5.5rem;

  --wrap: 1180px;
  --wrap-narrow: 720px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 37, 87, 0.06);
  --shadow-sm: 0 2px 8px rgba(15, 37, 87, 0.06), 0 1px 2px rgba(15, 37, 87, 0.04);
  --shadow: 0 8px 24px -6px rgba(15, 37, 87, 0.12), 0 2px 6px -2px rgba(15, 37, 87, 0.06);
  --shadow-lg: 0 22px 48px -14px rgba(15, 37, 87, 0.22), 0 6px 16px -6px rgba(15, 37, 87, 0.1);
  --shadow-blue: 0 10px 28px -8px rgba(29, 78, 216, 0.45);

  --ease: cubic-bezier(0.22, 0.68, 0.4, 1);
}

/* ---------------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* The rainbow hairline that ran across the top of the original. */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-rainbow);
  z-index: 200;
}

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

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); letter-spacing: -0.024em; }
h4 { font-size: var(--step-1); letter-spacing: -0.018em; }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-underline-offset: 0.16em; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
li { margin-bottom: 0.3em; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-100); color: var(--blue-900); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--blue-700); color: #fff;
  padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--r) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

/* Tighter than the original, which left very large empty runs. */
.section { padding-block: clamp(3rem, 1.8rem + 4.6vw, 5.5rem); position: relative; }
.section-sm { padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }

.section-wash {
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--blue-50), transparent 70%),
    radial-gradient(50rem 26rem at 5% 110%, var(--cyan-100), transparent 70%),
    linear-gradient(180deg, #fbfcff, #f6f9ff);
}
.section-tintblue { background: linear-gradient(180deg, var(--blue-50), #fbfcff); }

.section-deep {
  background: linear-gradient(150deg, var(--blue-950) 0%, var(--blue-800) 55%, #0d2f6b 100%);
  color: #cfe0f7;
  overflow: hidden;
  isolation: isolate;
}
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4 { color: #fff; }
.section-deep .lede { color: #a9c4e8; }
.section-deep::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40rem 22rem at 88% 8%, rgba(34, 211, 238, 0.22), transparent 65%),
    radial-gradient(34rem 20rem at 6% 96%, rgba(29, 78, 216, 0.5), transparent 65%);
}

/* Soft floating blobs, as on the original. Decorative only. */
.blob {
  position: absolute;
  border-radius: 42%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob-a { width: 13rem; height: 13rem; background: var(--blue-100); top: 8%; right: 6%; }
.blob-b { width: 8rem; height: 8rem; background: var(--cyan-100); bottom: 14%; left: 4%; }
.blob-c { width: 5rem; height: 5rem; background: var(--tint-amber); top: 62%; right: 18%; }
.section > .wrap { position: relative; z-index: 1; }

.section-head { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- pieces */

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.42em 1em 0.42em 0.85em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-xs);
  font-size: var(--step--1);
  font-weight: 650;
  color: var(--blue-900);
  margin-bottom: var(--sp-5);
}
.badge-pill .dot {
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22);
  flex: none;
}
.badge-pill svg { width: 0.95rem; height: 0.95rem; color: var(--blue-600); }

.grad-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback if background-clip:text is unsupported. */
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: var(--sp-3);
}

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-500); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.78em 1.4em;
  font-family: inherit;
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1em; height: 1em; }

.btn-primary {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(29, 78, 216, 0.55); }

.btn-white {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { border-color: var(--blue-300); }

.btn-ghost { background: transparent; color: var(--blue-700); border-color: var(--blue-300); }
.btn-ghost:hover { background: var(--blue-50); }

.section-deep .btn-white { background: #fff; color: var(--blue-900); }
.section-deep .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.section-deep .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-sm { padding: 0.55em 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 650;
  font-size: var(--step--1);
  text-decoration: none;
  color: var(--blue-700);
}
.link-arrow svg { transition: transform 0.2s var(--ease); width: 1em; height: 1em; }
.link-arrow:hover svg { transform: translateX(3px); }

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

.site-header {
  position: sticky;
  top: 4px;
  z-index: 150;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header[data-scrolled] { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }

.header-inner { display: flex; align-items: center; gap: var(--sp-5); min-height: 4.25rem; }

.brandmark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.brandmark-badge {
  width: 2.35rem; height: 2.35rem; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.brandmark-badge svg { width: 1.15rem; height: 1.15rem; }
.brandmark-text { display: flex; flex-direction: column; line-height: 1.05; }
.brandmark-name {
  font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900);
}
.brandmark-sub {
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-400);
}

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(0.5rem, 1.3vw, 1.15rem); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-sm);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-600);
  white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.site-nav a:hover { background: var(--blue-50); color: var(--blue-800); }
.site-nav a[aria-current='page'] { color: var(--blue-700); background: var(--blue-50); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: var(--step--1); font-weight: 650; text-decoration: none;
  color: var(--ink-700); white-space: nowrap;
}
.header-phone:hover { color: var(--blue-700); }
.header-phone svg { width: 0.95rem; height: 0.95rem; color: var(--blue-600); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink-800); transition: transform 0.22s var(--ease), opacity 0.22s var(--ease); }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--white); padding: var(--sp-4) 1.25rem var(--sp-6); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a { display: block; padding: 0.85rem 0.25rem; font-size: var(--step-1); font-weight: 650; text-decoration: none; color: var(--ink-800); }
.mobile-phone { display: inline-block; font-weight: 700; color: var(--blue-700); text-decoration: none; padding: 0.25rem; }

@media (max-width: 1040px) {
  .site-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 620px) {
  .header-actions .btn { display: none; }
  .header-inner { gap: var(--sp-3); }
}
@media (max-width: 360px) { .brandmark-sub { display: none; } }

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

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46rem 30rem at 78% 4%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(40rem 26rem at 12% 92%, rgba(147, 197, 253, 0.28), transparent 62%),
    linear-gradient(175deg, #ffffff 0%, #f7faff 46%, #eef4ff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.75rem, 1.6rem + 5vw, 5rem);
}
.hero h1 { font-size: var(--step-5); margin-bottom: var(--sp-5); }
.hero .lede { max-width: 32rem; margin-bottom: var(--sp-6); }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art-frame {
  position: relative;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #ffffff, #eef4ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: var(--sp-5);
}
.hero-art-frame img { max-height: 100%; width: auto; object-fit: contain; }

/* Stat chips under the hero — the original's four coloured cards. */
.hero-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}
.chip-card {
  padding: var(--sp-4);
  border-radius: var(--r);
  background: var(--tint, var(--tint-blue));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-xs);
}
.chip-card .ic { width: 1.5rem; height: 1.5rem; margin-bottom: var(--sp-3); color: var(--ic, var(--blue-600)); }
.chip-card .k { display: block; font-weight: 750; font-size: var(--step-0); color: var(--ink-900); letter-spacing: -0.02em; }
.chip-card .v { display: block; font-size: var(--step--1); color: var(--ink-500); margin-top: 0.15rem; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art-frame { max-width: 22rem; aspect-ratio: 4 / 3; }
  .hero-chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .hero-chips { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------- page heads */

.page-head { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(2.5rem, 1.6rem + 3.6vw, 4rem); }
.page-head::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40rem 24rem at 82% 0%, rgba(34, 211, 238, 0.15), transparent 62%),
    linear-gradient(175deg, #ffffff, #f1f6ff);
}
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 54ch; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 0.45em;
  list-style: none; margin: 0 0 var(--sp-4); padding: 0;
  font-size: var(--step--1); color: var(--ink-400);
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: '/'; margin-right: 0.45em; opacity: 0.6; }
.crumbs a { color: var(--ink-500); text-decoration: none; }
.crumbs a:hover { color: var(--blue-700); }

/* ---------------------------------------------------------------- cards */

.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.card p { color: var(--ink-500); font-size: var(--step--1); line-height: 1.65; }
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-300); }

.card-tinted { background: var(--tint, var(--tint-blue)); border-color: transparent; }

.card-ic {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--ic-bg, var(--white));
  color: var(--ic, var(--blue-600));
  margin-bottom: var(--sp-4);
  box-shadow: var(--shadow-xs);
}
.card-ic svg { width: 1.25rem; height: 1.25rem; }

.card-num {
  display: inline-block;
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------- brands */

.brand-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: var(--sp-4); }

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brand-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--bc, var(--blue-600));
}

/* Two image treatments, because the source photography is not uniform.
   `.is-cutout` floats a transparent PNG on the brand tint. `.is-photo` frames
   a photograph that has no separable background — cropping it deliberately
   rather than tearing a ragged edge around the bottle. */
.brand-shot {
  display: grid;
  place-items: center;
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  background: var(--bc-tint, var(--blue-50));
  min-height: 15rem;
}
.brand-shot img {
  max-height: 13rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(11, 18, 32, 0.24));
}

/* A photo that cannot be cut out fills its frame as a cropped close-up — a
   deliberate product macro rather than a bottle floating on tint. `--focus`
   places the crop on the label; without it a tall bottle gets sliced into an
   unrecognisable band. Absolute fill, because as a centred grid item the image
   has no definite height to resolve `height: 100%` against and collapses. */
.brand-shot.is-photo {
  display: block;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.brand-shot.is-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: var(--focus, center 40%);
  filter: none;
}
/* On the wide brand rows a landscape frame crops a tall bottle to a sliver,
   so a photo gets a portrait frame and shows roughly half the bottle. */
.brand-row .brand-shot.is-photo { aspect-ratio: 3 / 4; min-height: 0; }

/* Keeps the card's top rule legible over a dark photograph. */
.brand-shot.is-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.22), transparent 38%);
  pointer-events: none;
}

.photo-tile {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bc-tint, var(--blue-50));
  aspect-ratio: 4 / 5;
  margin: 0;
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.brand-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.brand-since {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--bc, var(--blue-600)); margin-bottom: 0.35rem;
}
.brand-card h3 { font-size: var(--step-2); margin-bottom: var(--sp-2); }
.brand-tag { font-size: var(--step--1); font-weight: 600; color: var(--ink-500); margin-bottom: var(--sp-3); }
.brand-card p { font-size: var(--step--1); color: var(--ink-500); line-height: 1.65; }
.brand-card .link-arrow { margin-top: auto; padding-top: var(--sp-4); }

/* Wide brand row, used on the brands index and brand pages. */
.brand-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-5);
}
.brand-row .brand-shot {
  border-radius: var(--r);
  min-height: 18rem;
  padding: var(--sp-6);
}
.brand-row .brand-shot img { max-height: 16rem; }
@media (max-width: 860px) { .brand-row { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.chips li { margin: 0; }
.chip {
  display: inline-block;
  padding: 0.3em 0.75em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-600);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.chip-on { background: var(--bc, var(--blue-600)); color: #fff; border-color: transparent; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: var(--sp-4);
  list-style: none; margin: var(--sp-5) 0; padding: var(--sp-5) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.spec-grid li { margin: 0; }
.spec-grid .k { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 0.2rem; }
.spec-grid .v { font-weight: 650; color: var(--ink-900); }

/* ------------------------------------------------------------- timeline */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 0.42rem; top: 0.7rem; bottom: 0.7rem;
  width: 2px; background: linear-gradient(var(--blue-600), var(--cyan-300), var(--line));
}
.timeline li { position: relative; margin: 0; padding: 0 0 var(--sp-6) var(--sp-6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue-600);
}
.timeline .t-year { display: block; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 0.15rem; }
.timeline h4 { margin-bottom: var(--sp-2); }
.timeline p { color: var(--ink-500); font-size: var(--step--1); line-height: 1.65; }

/* --------------------------------------------------------------- stats */

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: var(--sp-4); }
.stat {
  padding: var(--sp-5);
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.stat .k {
  display: block; font-size: var(--step-3); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}
.stat .k .unit { font-size: 0.42em; letter-spacing: 0.02em; }
.stat .v { font-size: var(--step--1); font-weight: 700; color: var(--ink-900); }
.stat .d { display: block; font-size: var(--step--1); color: var(--ink-500); margin-top: 0.25rem; line-height: 1.55; }

.section-deep .stat { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.section-deep .stat .k { background: linear-gradient(100deg, #fff, var(--cyan-300)); -webkit-background-clip: text; background-clip: text; }
.section-deep .stat .v { color: #fff; }
.section-deep .stat .d { color: #a9c4e8; }

/* ------------------------------------------------------------ facility */

.facility { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: var(--sp-6); border-top: 1px solid var(--line); }
.facility:first-of-type { border-top: 0; padding-top: 0; }
.facility-size {
  font-size: var(--step-3); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-bottom: 0.3rem;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.facility-role { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); margin-bottom: var(--sp-3); }
.facility address { font-style: normal; color: var(--ink-500); margin-bottom: var(--sp-4); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; color: var(--ink-500); font-size: var(--step--1); }
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 0.42em;
  width: 0.85rem; height: 0.85rem; border-radius: 50%;
  background: var(--blue-100);
  box-shadow: inset 0 0 0 2px var(--blue-500);
}
@media (max-width: 800px) { .facility { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- store locator */

.filters {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  padding: var(--sp-5);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-5);
}
.filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-group > span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); }
.filter-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-btn {
  padding: 0.42em 0.95em;
  font: inherit; font-size: var(--step--1); font-weight: 600;
  color: var(--ink-600); background: var(--blue-50);
  border: 1px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; text-decoration: none;
  transition: all 0.16s var(--ease);
}
.filter-btn:hover { border-color: var(--blue-300); }
.filter-btn[aria-pressed='true'] { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color: #fff; }

.search-field { flex: 1 1 13rem; display: flex; flex-direction: column; gap: 0.5rem; }
.search-field label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); }
.search-field input {
  width: 100%; padding: 0.65em 0.9em;
  font: inherit; font-size: var(--step--1); color: var(--ink-900);
  background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.search-field input:focus { background: #fff; border-color: var(--blue-300); }

.result-count { font-size: var(--step--1); color: var(--ink-500); margin-bottom: var(--sp-4); }

.retailer-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); }
.retailer {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.retailer:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.retailer[hidden] { display: none; }
.retailer.is-flagship { border-color: var(--blue-500); background: linear-gradient(180deg, #fff, var(--blue-50)); }
.retailer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); }
.retailer h3 { font-size: var(--step-1); margin: 0 0 0.15rem; }
.retailer-kind { font-size: var(--step--1); color: var(--ink-400); }
.retailer-note { font-size: var(--step--1); color: var(--ink-500); line-height: 1.6; margin: 0; }
.retailer address { font-style: normal; font-size: var(--step--1); color: var(--ink-500); }
.retailer-links { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-2); }
.retailer-links a { font-size: var(--step--1); font-weight: 650; color: var(--blue-700); text-decoration: none; }
.retailer-links a:hover { text-decoration: underline; }

.badge {
  align-self: flex-start;
  padding: 0.22em 0.6em;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: var(--r-pill); background: var(--blue-50); color: var(--blue-700);
  white-space: nowrap;
}
.badge-flag { background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); color: #fff; }
.badge-online { background: var(--cyan-100); color: #0e7490; }

.empty-state { display: none; padding: var(--sp-8) var(--sp-5); text-align: center; color: var(--ink-500); border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty-state.is-visible { display: block; }

/* ----------------------------------------------------------------- blog */

.post-list { display: grid; gap: 0; }
.post-card {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--sp-5);
  padding: var(--sp-5) 0; border-top: 1px solid var(--line);
  text-decoration: none;
}
.post-card:first-child { border-top: 0; padding-top: 0; }
.post-card:hover h3 { color: var(--blue-700); }
.post-meta { font-size: var(--step--1); color: var(--ink-400); }
.post-card h3 { font-size: var(--step-2); margin-bottom: var(--sp-2); transition: color 0.18s var(--ease); }
.post-card p { color: var(--ink-500); font-size: var(--step--1); line-height: 1.65; margin-bottom: var(--sp-3); max-width: 70ch; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.post-tag { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-600); text-decoration: none; }
.post-tag::before { content: '#'; opacity: 0.55; }

.post-featured {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-6); text-decoration: none;
}
.post-featured:hover { box-shadow: var(--shadow-lg); }
.post-featured h2 { font-size: var(--step-3); }
.post-art {
  border-radius: var(--r); overflow: hidden;
  background: var(--bc-tint, var(--blue-50));
  display: grid; place-items: center; padding: var(--sp-5); min-height: 13rem;
}
.post-art img { max-height: 12rem; width: auto; filter: drop-shadow(0 12px 20px rgba(11, 18, 32, 0.2)); }

@media (max-width: 700px) {
  .post-card { grid-template-columns: 1fr; gap: var(--sp-2); }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-art { order: -1; }
}

.scheduled-note {
  padding: var(--sp-4) var(--sp-5);
  background: var(--tint-amber); border: 1px solid #f3ddc0; border-left: 4px solid #e8a33d;
  border-radius: var(--r-sm); font-size: var(--step--1); color: #7a5312;
  margin-bottom: var(--sp-5);
}

/* -------------------------------------------------------------- article */

.article-head { max-width: var(--wrap-narrow); margin-inline: auto; }
.article-head h1 { font-size: var(--step-4); margin-bottom: var(--sp-4); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); font-size: var(--step--1); color: var(--ink-400); margin-bottom: var(--sp-4); }

.prose { max-width: 66ch; margin-inline: auto; font-size: 1.05rem; line-height: 1.75; color: var(--ink-700); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; margin-bottom: 0.5em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.7em; margin-bottom: 0.45em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--blue-500); }
.prose blockquote {
  margin: 1.6em 0; padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--blue-500);
  background: var(--blue-50); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--step-1); color: var(--blue-900);
}
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--blue-50); padding: 0.12em 0.38em; border-radius: 4px; }
.prose a { color: var(--blue-700); font-weight: 550; }
.prose img { border-radius: var(--r); margin-block: 1.8em; }
.prose > p:first-of-type { font-size: 1.12em; color: var(--ink-600); }

.table-scroll { overflow-x: auto; margin-block: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.prose th, .prose td { padding: 0.65em 0.85em; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; background: var(--blue-50); white-space: nowrap; color: var(--ink-900); }

.article-footer { max-width: 66ch; margin: var(--sp-7) auto 0; padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); }
.post-nav a { padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--white); box-shadow: var(--shadow-xs); }
.post-nav a:hover { border-color: var(--blue-300); }
.post-nav .dir { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 0.25rem; }
.post-nav .ttl { font-weight: 700; color: var(--ink-900); letter-spacing: -0.015em; }

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

.form-card { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.field-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--sp-4); }
.field-full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 650; color: var(--ink-800); }
.field .req { color: var(--towne); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.68em 0.85em;
  font: inherit; font-size: var(--step--1); color: var(--ink-900);
  background: #fbfcff; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--blue-300); }
.form-note { font-size: var(--step--1); color: var(--ink-400); margin-top: var(--sp-3); }

.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: flex; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-lines li:last-child { border-bottom: 0; }
.contact-lines .k { flex: none; width: 6rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); padding-top: 0.35em; }
.contact-lines .v a { text-decoration: none; font-weight: 650; color: var(--ink-900); }
.contact-lines .v a:hover { color: var(--blue-700); }
.contact-big { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.03em; }

/* ------------------------------------------------------------------ FAQ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) 0; font-size: var(--step-1); font-weight: 700;
  color: var(--ink-900); letter-spacing: -0.02em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 0.62rem; height: 0.62rem;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg); transition: transform 0.22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding-bottom: var(--sp-5); color: var(--ink-500); max-width: 68ch; }

/* ----------------------------------------------------------------- misc */

.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: var(--sp-3); }
.logo-wall div {
  display: grid; place-items: center; min-height: 5rem; padding: var(--sp-4);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  font-weight: 700; color: var(--ink-600); text-align: center; font-size: var(--step--1);
  box-shadow: var(--shadow-xs);
}
.section-deep .logo-wall div { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); color: #e2ecfa; }

.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--blue-950), var(--blue-700) 62%, #1b6fd4);
  box-shadow: var(--shadow-lg);
  color: #cfe0f7;
}
.cta-inner h2 { color: #fff; margin: 0 0 var(--sp-2); max-width: 18ch; font-size: var(--step-3); }
.cta-inner p { color: #a9c4e8; max-width: 44ch; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.notice {
  padding: var(--sp-4) var(--sp-5);
  background: var(--cyan-100); border-left: 4px solid var(--cyan-500);
  border-radius: var(--r-sm); font-size: var(--step--1); color: #0b5563;
}

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

.site-footer { background: var(--blue-950); color: #93a9c9; padding-block: var(--sp-8) var(--sp-5); font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--sp-6); padding-bottom: var(--sp-6); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer .brandmark-name { color: #fff; }
.site-footer .brandmark-sub { color: #6c83a5; }
.footer-blurb { margin: var(--sp-4) 0; max-width: 32ch; line-height: 1.65; }
.footer-address { font-style: normal; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-address a { text-decoration: none; color: #bed0e8; }
.footer-address a:hover { color: #fff; }
.footer-phone { font-weight: 700; font-size: var(--step-0); }
.footer-hours { color: #6c83a5; }

.footer-col h2 { font-family: var(--font); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-300); margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { text-decoration: none; color: #93a9c9; }
.footer-col a:hover { color: #fff; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-5); color: #6c83a5; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #93a9c9; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ utilities */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }

.js [data-reveal] { opacity: 0; transform: translateY(12px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

@media print {
  body::before, .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  .prose { max-width: none; }
}
