/* ============================================================
   New Realm Beverage Company — newrealmbeverage.com
   Concept: "Precision Partner"
   Stack: static HTML5 + this stylesheet + minimal vanilla JS
   Type:  Space Grotesk (display) / IBM Plex Sans (text)
   ============================================================ */

/* --- Self-hosted variable fonts (latin subset) ---------------
   No render-blocking third-party CSS; files live in assets/fonts. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.woff2') format('woff2');
}

:root {
  /* palette */
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --panel: #F4F5F3;
  --ink: #101318;
  --body: #4C5560;
  --muted: #67707A;
  --line: #DFE3E8;
  --line-strong: #C6CCD4;
  --blue: #2456C8;
  --blue-deep: #16388A;
  --blue-tint: #EFF4FE;
  --navy: #0F1B33;
  --navy-text: #B9C3D6;

  /* type */
  --font-display: 'Space Grotesk', 'Trebuchet MS', Arial, sans-serif;
  --font-text: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;

  /* rhythm */
  --container: 1240px;
  --gutter: 24px;
  --radius: 6px;
  --radius-lg: 10px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }

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

/* ---------- layout primitives ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 88px; }
.section--tight { padding-block: 64px; }
.section--panel { background: var(--panel); border-block: 1px solid var(--line); }
.section--surface { background: var(--surface); }
.section--surface + .section--surface { border-top: 1px solid var(--line); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.015em; }
.h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: 22px; font-weight: 700; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--body); max-width: 62ch; margin-top: 18px; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head .lede { margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 28px;
  font-family: var(--font-text); font-size: 15.5px; font-weight: 600; line-height: 1.2;
  border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--blue-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover, .btn--light:focus-visible { background: var(--blue-tint); color: var(--navy); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.site-header__logo img { height: 32px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  color: var(--ink); font-size: 15px; font-weight: 500; padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--ink); }
.site-nav .btn { min-height: 46px; padding: 11px 22px; }
/* the menu-link colours above must not repaint the button's label (dark on blue, blue on blue when hovered) */
.site-nav .btn--primary, .site-nav .btn--primary:hover, .site-nav .btn--primary:focus-visible { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 10px 12px; cursor: pointer; color: var(--ink);
}

/* ---------- hero (home) ---------- */
/* Full-width hero: the production still (and, on desktop, the b-roll loop) fills the band behind the copy under
   a navy wash that is strongest behind the text (.hero--navy on the <section>; chosen over a white wash). */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero__inner { padding-block: 80px 64px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 660px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; }
.hero__proof li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); list-style: none; }
.hero__proof { padding: 0; margin-bottom: 0; }
/* Hero background layer: slow-drifting photo with a dormant loop-video slot
   (activates only if assets/video/hero-loop.mp4 exists on the server), then the wash on top. */
.hero__motion { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__motion::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero__motion img.hero__photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.04);
  animation: hero-drift 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__motion--video .hero__video { opacity: 1; }
.hero__motion--video img.hero__photo { animation-play-state: paused; }
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(-1.2%, -0.8%, 0); }
  to   { transform: scale(1.14) translate3d(1.2%, 0.8%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__motion img.hero__photo { animation: none; transform: none; }
  .hero__video { display: none; }
}
.hero__facilities {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-top: 40px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.9);
}
.hero__facility { padding: 18px 22px; min-width: 0; }
.hero__facility + .hero__facility { border-left: 1px solid var(--line); }
.hero__facility strong {
  display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 5px;
}
.hero__facility span { font-size: 13.5px; line-height: 1.5; color: var(--body); }
/* navy wash: white text, light button, translucent facility cards */
.hero--navy { background: var(--navy); border-bottom-color: var(--navy); }
.hero--navy .hero__motion::after {
  background: linear-gradient(90deg, rgba(15,27,51,.94) 0%, rgba(15,27,51,.90) 60%, rgba(15,27,51,.68) 82%, rgba(15,27,51,.54) 100%);
}
.hero--navy .eyebrow { color: #8FB0F7; }
.hero--navy .h1 { color: #fff; }
.hero--navy .lede, .hero--navy .hero__proof li { color: #D5DCEA; }
.hero--navy .check path { stroke: #8FB0F7; }
.hero--navy .btn--primary { background: #fff; color: var(--navy); }
.hero--navy .btn--primary:hover, .hero--navy .btn--primary:focus-visible { background: var(--blue-tint); color: var(--navy); }
.hero--navy .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.hero--navy .btn--ghost:hover, .hero--navy .btn--ghost:focus-visible { border-color: #fff; color: #fff; }
.hero--navy .hero__facilities { background: rgba(10, 20, 38, 0.62); border-color: rgba(199, 209, 228, 0.28); }
.hero--navy .hero__facility + .hero__facility { border-color: rgba(199, 209, 228, 0.28); }
.hero--navy .hero__facility strong { color: #8FB0F7; }
.hero--navy .hero__facility span { color: #D5DCEA; }
.check { flex: none; }

/* ---------- category chips ---------- */
.chips-bar { padding-block: 24px; border-bottom: 1px solid var(--line); }
.chips-bar__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.chips-bar__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-right: 8px;
}
.chip {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 15px;
  font-size: 13px; font-weight: 500; color: var(--ink); background: var(--surface); white-space: nowrap;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px; }
.stat { border-top: 3px solid var(--blue); padding-top: 18px; min-width: 0; }
.stat__num {
  font-family: var(--font-display); font-size: clamp(36px, 3.4vw, 46px);
  font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: 0.55em; font-weight: 500; }
.stat__label { font-size: 13px; line-height: 1.45; color: var(--body); margin-top: 8px; }

/* ---------- cards / buckets ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: 0 1px 2px rgba(16,19,24,0.05); min-width: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.card__index { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--blue); }
.card__title { font-size: 23px; }
.card ul.ticklist { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ticklist li { display: flex; gap: 11px; font-size: 15px; line-height: 1.5; color: var(--body); list-style: none; }
.ticklist li::before {
  content: ""; flex: none; width: 6px; height: 6px; background: var(--blue); margin-top: 9px;
}

/* ---------- case studies ---------- */
.cases-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.case img { width: 100%; height: 175px; object-fit: cover; }
.case__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.case__title { font-size: 19px; line-height: 1.3; }
.case__blurb { font-size: 14.5px; line-height: 1.55; color: var(--body); }
/* single-case layout (second card on hold, Oct 2026): one wide card, image left, copy right */
.case-grid--single { grid-template-columns: minmax(0, 1fr); }
.case--wide { flex-direction: row; }
.case--wide img { width: 40%; height: 360px; flex: none; }
.case--wide .case__body { padding: 38px 42px; justify-content: center; }
.case--wide .case__title { font-size: 24px; }
.case--wide .case__blurb { font-size: 15.5px; max-width: 46ch; }
@media (max-width: 860px) {
  .case--wide { flex-direction: column; }
  .case--wide img { width: 100%; height: 200px; min-height: 0; }
  .case--wide .case__body { padding: 24px 26px 26px; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); }
.cta-band__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 48px; padding-block: 76px;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.01em; }
.cta-band p { color: var(--navy-text); font-size: 16.5px; margin-top: 12px; max-width: 62ch; }
.cta-band__action { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-band__note { font-size: 12.5px; color: #8A97AF; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 72px; }
.page-hero .lede { margin-top: 16px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); display: inline-block; padding-block: 13px; margin-block: -13px; }   /* 44px touch target, same layout */
.breadcrumbs a:hover { color: var(--blue); }

/* ---------- process timeline (services) ---------- */
.process { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 28px;
  padding-block: 34px; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums;
}
.step__title { font-size: 22px; margin-bottom: 10px; }
.step__body { font-size: 16px; color: var(--body); max-width: 70ch; }

/* ---------- highlight band ---------- */
.highlight {
  background: var(--blue-tint); border: 1px solid #D6E2F8; border-radius: var(--radius-lg);
  padding: 34px 38px; display: flex; gap: 22px; align-items: flex-start;
}
.highlight svg { flex: none; margin-top: 3px; }
.highlight p { font-size: 17px; color: var(--ink); font-weight: 500; max-width: 75ch; }

/* ---------- spec tables / facility columns ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.spec-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; min-width: 0;
}
.spec-card__loc {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}
.spec-card h3 { font-size: 21px; margin-bottom: 16px; }
.spec-card ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.spec-card li { display: flex; gap: 11px; font-size: 15px; line-height: 1.5; color: var(--body); list-style: none; }
.spec-card li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--blue); margin-top: 9px; }
.spec-card__photo { display: block; width: 100%; height: 180px; object-fit: cover; margin-bottom: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); }

/* format chips grid */
.format-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.format {
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
  padding: 12px 18px; font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.format small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* photo feature rows */
.feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.feature-row img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.photo-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  height: 320px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  background: var(--panel); color: var(--muted); font-size: 14px; padding: 24px;
}

/* ---------- values (about) ---------- */
.values { display: flex; flex-direction: column; gap: 0; }
.value {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 28px;
  padding-block: 26px; border-top: 1px solid var(--line); align-items: baseline;
}
.value:last-child { border-bottom: 1px solid var(--line); }
.value__num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--blue); }
.value__text { font-size: clamp(19px, 2vw, 24px); font-family: var(--font-display); font-weight: 500; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; align-items: start; }
.person {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; text-align: left; min-width: 0;
}
.person img, .person .person__photo-placeholder {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 18px;
  border: 1px solid var(--line);
}
.person .person__photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--panel); color: var(--muted); font-size: 11px; text-align: center; padding: 8px;
}
.person h3 { font-size: 19px; }
.person__role { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin: 6px 0 12px; }
.person p { font-size: 14.5px; color: var(--body); }
/* expandable full bio (added Nov 2026) */
.person__more { margin-top: 12px; }
.person__more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
}
.person__more summary::-webkit-details-marker { display: none; }
.person__more summary::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.person__more[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.person__more[open] summary { margin-bottom: 10px; }
.person__more p { font-size: 14px; line-height: 1.6; }
.person__more p + p { margin-top: 10px; }

/* ---------- QA groups ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

/* certifications */
.cert-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cert {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  padding: 10px 18px; font-size: 14px; font-weight: 500;
}
.cert svg { flex: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px;
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font-family: var(--font-text); font-size: 15.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--blue-tint); border-color: var(--blue);
}
.field-combo { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; }
@media (max-width: 350px) { .field-combo { grid-template-columns: minmax(0, 1fr); } }
.field [aria-invalid="true"] { border-color: #B83A3A; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-note a, .lede a { text-decoration: underline; text-underline-offset: 2px; }   /* a link inside running text must not rely on colour alone */
.form-alert {
  display: none; background: #FDF1F1; border: 1px solid #E8B4B4; color: #8A2A2A;
  border-radius: var(--radius); padding: 12px 16px; font-size: 14.5px; margin-bottom: 18px;
}
.form-alert--show { display: block; }
.turnstile { margin: 0; min-width: 0; }
.turnstile:not(:empty) { margin-bottom: 14px; }
.turnstile iframe { display: block; max-width: 100%; }
.turnstile-note { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--body); }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.info-block { border-top: 3px solid var(--blue); padding-top: 20px; margin-bottom: 34px; }
.info-block h2 { font-size: 20px; margin-bottom: 10px; }
.info-block p, .info-block li { font-size: 15px; color: var(--body); }
.info-block ul { margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.info-block li { list-style: none; }
.info-block .email { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.info-block .email a { display: inline-block; padding-block: 9px; }   /* phone and email: 44px touch target */
.info-block .addr { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.info-block .addr .nowrap { white-space: nowrap; }   /* city, state and ZIP stay together when the line wraps */

/* ---------- text pages (privacy) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 10px; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16px; color: var(--body); }
.prose p + p, .prose ul + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose .prose__meta { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 32px; }
.site-footer__grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-footer__brand { max-width: 400px; }
.site-footer__brand img { height: 28px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { font-size: 14px; color: var(--body); }
.site-footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.site-footer__col h2 {
  font-family: var(--font-text); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a, .site-footer__col span { font-size: 14px; color: var(--ink); }
.site-footer__col a:hover { color: var(--blue); }
.site-footer__col .addr { display: block; line-height: 1.5; padding-top: 5px; }   /* first line level with the links beside it */
.site-footer__base {
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.site-footer__base a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__base a:hover, .site-footer__base a:focus-visible { color: var(--blue); }

/* ---------- utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .card-grid, .case-grid, .qa-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .section { padding-block: 64px; }
  .hero__inner { padding-block: 56px 48px; }
  .hero--navy .hero__motion::after { background: rgba(15, 27, 51, 0.86); }
  .contact-grid, .split, .feature-row { grid-template-columns: minmax(0, 1fr); }
  .feature-row img, .photo-placeholder { height: 240px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__action { align-items: flex-start; }

  /* mobile nav */
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .site-nav .btn { margin-top: 16px; }

  /* footer links: 44px touch targets on phones and tablets */
  .site-footer__col ul { gap: 0; }
  .site-footer__col a, .site-footer__col span { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer__col span.addr { display: block; min-height: 0; padding-block: 11px; }
  .site-footer__base a { display: inline-block; padding-block: 13px; margin-block: -13px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .card-grid, .case-grid, .qa-grid, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__facilities { grid-template-columns: minmax(0, 1fr); }
  .hero__facility + .hero__facility { border-left: none; border-top: 1px solid var(--line); }
  .step, .value { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
  .step__num { font-size: 30px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form-card { padding: 26px 22px; }
  .highlight { flex-direction: column; padding: 26px; }
}


/* ============================================================
   Contract Brewing page (contract-brewing.html) and the link lines to it - added November 25, 2026
   ============================================================ */
.faq { max-width: 78ch; }
.faq h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin: 56px 0 6px; }
.faq > h2:first-child { margin-top: 0; }
.faq__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: 20px; line-height: 1.3; }
.faq__item p { font-size: 16px; color: var(--body); margin-top: 10px; }
.faq__item a { text-decoration: underline; text-underline-offset: 2px; }
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) {
  .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
.band-photo { display: block; width: 100%; height: clamp(150px, 21vw, 260px); object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.related { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 600; color: var(--ink); }
.related a:hover, .related a:focus-visible { border-color: var(--blue); color: var(--blue); }
.after-link { margin-top: 26px; font-size: 16px; }
.after-link a { text-decoration: underline; text-underline-offset: 2px; }
.after-link a { display: inline-block; padding-block: 11px; font-weight: 600; }
.nw { white-space: nowrap; }


/* ============================================================
   Ad landing pages (lp-*.html) - added November 20, 2026
   ============================================================ */
.lp-top { display: flex; align-items: center; gap: 18px; }
.lp-top__phone { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); white-space: nowrap; padding: 12px 4px; }
.lp-top__phone:hover { color: var(--blue); }
.lp-hero { padding-block: 52px 68px; background: var(--surface); border-bottom: 1px solid var(--line); }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr); gap: 56px; align-items: start; }
.lp-hero__copy .h1 { font-size: clamp(32px, 4.1vw, 50px); }
.lp-proof { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-proof li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--ink); }
.lp-proof svg { flex: none; margin-top: 4px; }
.lp-contact { margin: 26px 0 0; font-size: 15.5px; color: var(--body); }
.lp-contact a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.lp-form-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0 0 14px; }
.lp-hero__form .form-card { scroll-margin-top: 96px; }
.lp-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-band { background: var(--panel); border-block: 1px solid var(--line); }
.lp-band__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.lp-band h3 { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin: 0 0 8px; }
.lp-band p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.lp-cta .container { max-width: 760px; text-align: center; }
.lp-cta .lede { margin-inline: auto; }
.lp-cta .btn { margin-top: 24px; }
.lp-cta__phone { margin: 16px 0 0; font-size: 15px; color: var(--body); }
.lp-cta__phone a { color: var(--blue); font-weight: 600; padding: 12px 2px; white-space: nowrap; }
.site-footer--lp .site-footer__base { margin-top: 0; }
@media (max-width: 980px) {
  .lp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-specs, .lp-band__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .lp-top__phone { display: none; }
  .lp-hero { padding-block: 34px 48px; }
}
