/* ==========================================================================
   Mountain Maryland Firearms Training
   Single stylesheet — mobile first, no framework, no build step.
   ========================================================================== */

:root {
  /* Gunmetal ground. Neutrals carry a slight blue bias toward the brand steel
     so they read as chosen rather than as generic grey. */
  --ink:        #070b0e;   /* deepest — header, footer */
  --bg:         #0e151a;   /* page ground */
  --bg-alt:     #141d24;   /* alternating sections */
  --surface:    #19242c;   /* cards, inputs, panels */
  --surface-hi: #1f2d36;   /* hover */
  --line:       #2a3a45;
  --line-soft:  #1e2b34;
  --line-dark:  #24333d;   /* rules on the deepest surfaces */
  --ink-800:    #0d151b;   /* mobile nav drop-down */

  /* Brand steel, from the shop's own signage, lifted to hold on a dark ground. */
  --steel:     #4d97ba;
  --steel-600: #3d7f9e;
  --steel-300: #8cc2da;

  /* Hi-vis, sampled from the target silhouettes on their range. Reserved for
     primary actions and live state — never for decoration. */
  --hivis:     #b9d45f;
  --hivis-600: #9dba45;
  --hivis-dim: rgba(185, 212, 95, .14);

  --heading: #ffffff;
  --body:    #b3c4cf;
  --muted:   #7e919e;

  --radius: 3px;
  --radius-lg: 5px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .55), 0 22px 54px rgba(0, 0, 0, .5);

  --font-head: 'Oswald', 'Haettenschweiler', 'Arial Narrow Bold', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1160px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

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

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--steel-300); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--hivis); }

ul.plain, ol.plain { list-style: none; margin: 0; padding: 0; }

address { font-style: normal; }

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

.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;
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--steel); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; text-decoration: none;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 780px; }
.center { text-align: center; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head > h2:first-child { position: relative; padding-left: .85rem; }
.section-head > h2:first-child::before {
  content: ''; position: absolute; left: 0; top: .1em; bottom: .18em;
  width: 3px; background: var(--hivis);
}
.section-head p { color: var(--muted); font-size: 1.075rem; margin-bottom: 0; }

.section-divider {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}
.section-divider::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 54px; height: 2px;
  background: var(--hivis);
}
.grid + .section-divider { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.grid { display: grid; gap: 1.25rem; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: .6rem;
}

.lede { font-size: clamp(1.075rem, 1.9vw, 1.25rem); color: var(--muted); }

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

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

.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}

.brand { display: flex; align-items: center; flex: none; }
/* Size by height: the mark is wide, and width-sizing made it fill the bar
   edge to edge and turned the sticky header into a 118px viewport eater. */
.brand-logo { height: clamp(50px, 7vw, 64px); width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--radius); color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle-close { display: block; }
.nav-toggle[aria-expanded='true'] .nav-toggle-open { display: none; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--ink-800);
  border-bottom: 1px solid var(--line-dark);
  padding: .5rem clamp(1rem, 4vw, 2rem) 1.25rem;
  box-shadow: var(--shadow-lg);
}
.site-nav ul { list-style: none; margin: 0 0 .75rem; padding: 0; }
.site-nav a {
  display: block; padding: .8rem .25rem;
  color: #e8eef2; text-decoration: none;
  font-family: var(--font-head); font-size: 1.05rem;
  letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}
.site-nav a:hover, .site-nav a[aria-current='page'] { color: #fff; }
.site-nav a[aria-current='page'] { color: var(--steel-300); }
.nav-cta { width: 100%; justify-content: center; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; align-items: center; gap: 1.75rem; position: static; padding: 0; background: none; box-shadow: none; border: 0; }
  .site-nav ul { display: flex; gap: 1.5rem; margin: 0; }
  .site-nav a { border: 0; padding: .4rem 0; font-size: .95rem; position: relative; }
  .site-nav a[aria-current='page']::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -.1rem;
    height: 2px; background: var(--steel-300);
  }
  .nav-cta { width: auto; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.25rem;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.05rem; }

.btn-accent { background: var(--hivis); color: #0b1116; border-color: var(--hivis); }
.btn-accent:hover { background: var(--hivis-600); color: #0b1116; border-color: var(--hivis-600); }

.site-header .nav-cta {
  background: transparent; color: var(--hivis); border-color: var(--hivis);
}
.site-header .nav-cta:hover { background: var(--hivis); color: #0b1116; border-color: var(--hivis); }

.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-outline { background: transparent; color: var(--steel-300); border-color: var(--steel-600); }
.btn-outline:hover { background: var(--steel); color: #06222e; border-color: var(--steel); }

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

.hero {
  position: relative; background: var(--ink); color: #fff; isolation: isolate;
  border-bottom: 2px solid var(--hivis);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7,11,14,.96) 0%, rgba(7,11,14,.86) 42%, rgba(7,11,14,.42) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px);
}
.hero-inner { padding-block: clamp(3.5rem, 9vw, 7rem); max-width: 42rem; }
.hero h1 { color: #fff; }
.hero .lede { color: #d3dde4; }
.hero .eyebrow { color: var(--steel-300); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.center-actions { justify-content: center; }

.trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .95rem; color: #c8d5dd;
}
.trust li { display: flex; align-items: center; gap: .45rem; }
.trust .icon { color: var(--hivis); }

/* ------------------------------------------------------------- page head */

.page-head {
  background: var(--ink); color: #fff;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.page-head h1 { color: #fff; }
.page-head .lede { color: #cdd9e1; max-width: 60ch; margin-bottom: 0; }
.page-head .eyebrow { color: var(--steel-300); }

.crumbs { font-size: .875rem; color: #9db0bd; margin-bottom: 1rem; }
.crumbs a { color: #cdd9e1; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin-inline: .35rem; }
.crumbs [aria-current] { color: #fff; margin-inline: 0; }

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

.card {
  container-type: inline-size;
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--steel); background: var(--surface-hi); }
/* Hi-vis edge on hover: the card reads as armed rather than merely lit. */
.card::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--hivis); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease; z-index: 2;
}
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card:focus-within { border-color: var(--steel); }

.card-icon, .card-media { height: 154px; }

.card-media { overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media img { transition: transform .3s ease; }

.card-icon {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--steel-300);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 2px, transparent 2px 7px),
    linear-gradient(135deg, #0a1116 0%, #16222b 100%);
  border-bottom: 1px solid var(--line-soft);
}
.card-icon .icon { width: 2.1rem; height: 2.1rem; }

.card-body { padding: 1.25rem 1.25rem .5rem; flex: 1; }
.card-body h3 { margin-bottom: .4rem; }
.card-body h3 a { color: var(--heading); text-decoration: none; }
.card-body h3 a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.card:hover h3 a { color: var(--hivis); }
.card-body p { color: var(--muted); font-size: .97rem; }

.badge {
  display: inline-block; margin: 0 0 .5rem;
  background: var(--hivis-dim); color: var(--hivis);
  border: 1px solid rgba(185, 212, 95, .35);
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px;
}

.meta {
  display: flex; flex-wrap: wrap; gap: .35rem 1.1rem;
  margin-top: 1rem; font-size: .9rem; color: var(--body); font-weight: 600;
}
.meta li { display: flex; align-items: center; gap: .4rem; }
.meta .icon { color: var(--hivis); }

.card-link {
  display: flex; align-items: center; gap: .4rem;
  padding: .9rem 1.25rem; margin-top: .5rem;
  border-top: 1px solid var(--line);
  color: var(--steel-300); font-family: var(--font-head);
  font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.card:hover .card-link { background: var(--ink); color: var(--hivis); }

/* ------------------------------------------------- billboard course card */

/* Echoes the three big slab words the old site led with. The word is the
   heading; the qualifier above it carries the full course name. */
.card-billboard .card-media { height: 260px; position: relative; }
.card-billboard .card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(7, 11, 14, .18) 0%,
    rgba(7, 11, 14, .55) 45%,
    rgba(7, 11, 14, .93) 100%);
}

.card-overlay {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
  padding: 1.1rem 1.25rem 1rem;
}
.card-overlay .badge { margin-bottom: .55rem; }
.card-overlay h3 { margin: 0; }
.card-overlay h3 a { color: #fff; text-decoration: none; display: block; }
.card-overlay h3 a::after { content: ''; position: absolute; inset: 0; }

.card-kicker {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--hivis);
  margin-bottom: .1rem;
}
/* Sized against the card, not the viewport: the longest word (RENEWAL) sat
   within a few pixels of the edges at some widths and would have overflowed. */
.card-big {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 15cqw, 3.3rem);
  font-weight: 700; line-height: .95;
  letter-spacing: .01em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}
.card-billboard:hover .card-big { color: var(--hivis); }
.card-billboard .card-body { padding-top: 1.1rem; }

/* ----------------------------------------------------------------- split */

.split { display: grid; gap: var(--gap); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1.15fr; }
  .split-reverse .split-media { order: 2; }
}
.split-media img { border-radius: var(--radius-lg); width: 100%; }
.framed img, img.framed {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split-media img, .shop-shot img, .figure img { border: 1px solid var(--line); }
.stack-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
@media (min-width: 52rem) { .stack-media { grid-template-columns: 1fr; max-width: 22rem; } }

.split-body .btn { margin-top: .5rem; }

/* ----------------------------------------------------------- tick lists */

.ticks { display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.ticks li {
  display: grid; grid-template-columns: 1.35rem 1fr; gap: .6rem;
  align-items: start; line-height: 1.55;
}
.ticks .icon { color: var(--hivis); margin-top: .28em; }
.ticks-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: .75rem 2rem; margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .85rem; }
/* Absolute marker rather than a grid row: a grid item is created per element AND
   per text run, so `<strong>x</strong> tail text` would split into two cells. */
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.8rem;
  min-height: 2rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.05em;
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--steel); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}

/* ----------------------------------------------------------- course page */

.course-head-inner { display: flex; gap: 1.25rem; align-items: start; }
.course-head-icon {
  display: none;
  width: 68px; height: 68px; flex: none;
  align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--steel-300);
}
.course-head-icon .icon { width: 2rem; height: 2rem; }
@media (min-width: 40rem) { .course-head-icon { display: flex; } }

.facts {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 2rem 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.facts dt {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #9db0bd;
  margin-bottom: .3rem;
}
.facts dt .icon { color: var(--hivis); }
.facts dd { margin: 0; color: #fff; font-size: 1.075rem; font-weight: 600; }

.prose { max-width: 68ch; }
.prose-block { margin-bottom: 2.25rem; }
.prose-block:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 0; }
.prose > p:first-child { font-size: 1.1rem; }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--hivis);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 0;
}
.callout h2 {
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hivis); margin-bottom: .6rem;
}
.callout ul { display: grid; gap: .5rem; }
.callout li { color: var(--body); }
.callout-lg { border-left-width: 1px; padding: clamp(1.5rem, 4vw, 2.25rem); }
.callout-lg h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: .01em; text-transform: none; color: var(--heading); }
.callout-lg .btn { margin-top: .5rem; }

.figure { margin: 2rem 0 0; }
.figure img { width: 100%; max-width: 460px; }
/* Render at the photo's own size so a low-resolution original is never
   stretched; it still shrinks to fit on narrow screens. */
.figure-wide img { width: auto; max-width: 100%; }
.figure figcaption { margin-top: .75rem; font-size: .9rem; color: var(--muted); }

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--steel-300); box-shadow: var(--shadow); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; cursor: pointer;
  font-family: var(--font-head); font-size: 1.075rem; font-weight: 600;
  color: var(--heading); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none;
  width: .6rem; height: .6rem;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(45deg); transform-origin: center;
  transition: transform .18s ease;
  margin-right: .25rem;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { background: var(--bg-alt); }

.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--body); }

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

.contact-grid { display: grid; gap: var(--gap); }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }

.form .field { margin-bottom: 1.1rem; }
.form label {
  display: block; margin-bottom: .35rem;
  font-weight: 600; color: var(--heading); font-size: .95rem;
}
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: .7rem .85rem;
  font: inherit; color: var(--heading);
  background: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--steel); }
.form textarea { resize: vertical; min-height: 8rem; }
.form-note { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

.contact-aside h2 { font-size: 1.15rem; margin-top: 2rem; }
.contact-aside h2:first-child { margin-top: 0; }

.contact-list { display: grid; gap: .6rem; }
.contact-list li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .6rem; align-items: start; }
.contact-list .icon { margin-top: .3em; color: var(--steel); }
.contact-list-lg { gap: 1.15rem; }
.contact-list-lg strong { color: var(--heading); }

.text-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .92rem; font-weight: 600; margin-top: .3rem;
}
.text-link .icon { width: 1em; height: 1em; }

.partner {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.partner picture {
  display: block; max-width: 190px;
  background: var(--ink); border-radius: var(--radius);
  padding: .9rem 1.1rem; margin-bottom: .85rem;
}
.partner img { width: 100%; }
.partner p { font-size: .92rem; color: var(--muted); }

/* Shop photos on the contact page: uniform crop so mixed phone aspect ratios
   still line up as a row. */
.shop-shot { margin: 0; }
.shop-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Full-bleed lead image under a page head. Capped in height so a wide photo
   does not push the page's actual content below the fold. */
.lead-shot { margin: 0; position: relative; }
.lead-shot img {
  width: 100%; height: clamp(240px, 44vw, 540px); object-fit: cover;
  border-bottom: 2px solid var(--hivis);
}

/* ------------------------------------------------------- shop services */

/* Three parallel services, not a sequence — so no numbering, just a hi-vis
   edge marking each as a thing the shop does. */
.services-section { padding-bottom: 0; }
.section-tight { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

.services {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--hivis);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.4rem;
  min-width: 0;
}
.service-icon { color: var(--hivis); margin-bottom: .6rem; }
.service-icon .icon { width: 1.6rem; height: 1.6rem; }
.service h2 {
  font-size: 1.15rem; margin-bottom: .4rem;
  letter-spacing: .02em;
}
.service p { color: var(--muted); font-size: .97rem; margin: 0; }

.section-cta { margin-top: 1.75rem; margin-bottom: 0; }

.service-line {
  font-family: var(--font-head);
  font-size: .92rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--hivis);
  margin: 0 0 1.25rem;
}

/* ---------------------------------------------------------- retail / kit */

.kit { gap: 1rem; }
.kit-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.5rem;
  position: relative;
}
.kit-item::after {
  content: ''; position: absolute; left: 1.35rem; bottom: 0; width: 34px; height: 2px;
  background: var(--hivis); opacity: .8;
}
.kit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: .9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink); color: var(--hivis);
}
.kit-icon .icon { width: 1.4rem; height: 1.4rem; }
.kit-item h3 { margin-bottom: .35rem; }
.kit-item p { color: var(--muted); font-size: .97rem; margin: 0; }

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

.brands-section { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-soft); }
.brands-head {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.brand-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.25rem 2.5rem;
}
.brand-strip img {
  height: 34px; width: auto; opacity: .72;
  filter: grayscale(1) brightness(1.7);
  transition: opacity .18s ease, filter .18s ease;
}
.brand-strip li:hover img { opacity: 1; filter: none; }
.brand-word {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}

/* ----------------------------------------------------------------- hours */

.hours { margin: 0 0 1rem; display: grid; gap: .1rem; }
.hours-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  padding: .42rem .5rem; border-radius: 6px;
}
.hours dt { color: var(--body); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--heading); font-weight: 600; }
.hours .closed { color: var(--muted); font-weight: 400; }

/* Today, resolved in the shop's own timezone by main.js. */
.hours-row.is-today { background: var(--hivis-dim); box-shadow: inset 2px 0 0 var(--hivis); }
.hours-row.is-today dt { color: var(--hivis); font-weight: 700; }
.hours-row.is-today dt::after {
  content: 'Today';
  margin-left: .5rem; padding: .05rem .4rem;
  background: var(--hivis); color: var(--ink);
  font-family: var(--font-head); font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; vertical-align: .08em;
}

.hours-note { font-size: .92rem; color: var(--muted); }

/* Footer variant: dark background, tighter. */
.footer-hours-head { margin-top: 1.5rem; }
.site-footer .hours { gap: 0; font-size: .92rem; }
.site-footer .hours-row { padding: .26rem .4rem; }
.site-footer .hours dt { color: #b8c7d1; }
.site-footer .hours dd { color: #fff; font-weight: 600; }
.site-footer .hours .closed { color: #8fa2b0; font-weight: 400; }
.site-footer .hours-row.is-today { background: rgba(110, 163, 186, .16); }
.site-footer .hours-row.is-today dt { color: #fff; }

/* ------------------------------------------------------------------ band */

.band {
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.13) 0 10px, transparent 10px 24px),
    linear-gradient(180deg, #21536b 0%, #17404f 100%);
  border-block: 1px solid var(--line);
  box-shadow: inset 0 2px 0 var(--hivis);
}
.band-inner {
  display: grid; gap: 1.5rem; align-items: center;
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
}
@media (min-width: 52rem) { .band-inner { grid-template-columns: 1.4fr 1fr; } }
.band h2 { color: #fff; margin-bottom: .35rem; }
.band p { color: #cfe2ea; margin: 0; }
.band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.band .btn-accent { background: var(--hivis); color: #0b1116; border-color: var(--hivis); }
.band .btn-accent:hover { background: #fff; color: #0b1116; border-color: #fff; }

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

.site-footer { background: var(--ink); color: #b8c7d1; padding-top: clamp(2.5rem, 6vw, 4rem); }
.site-footer h2 {
  color: #fff; font-size: .82rem; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer a { color: #cfdbe3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--gap); } }

.footer-brand img { width: 190px; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }

.social { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; font-weight: 600; }

.site-footer .plain { display: grid; gap: .55rem; font-size: .95rem; }
.site-footer .contact-list .icon { color: var(--steel-300); }
.site-footer .btn { margin-top: 1.25rem; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem;
  font-size: .85rem; color: #8fa2b0;
}
.footer-bottom p { margin-bottom: .5rem; }
.disclaimer { max-width: 90ch; margin-bottom: 0; }

/* --------------------------------------------------------------- printing */

@media print {
  .site-header, .site-footer, .band, .hero-actions, .card-link, .skip-link { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-head { background: none; color: #000; }
  .hero h1, .page-head h1, .facts dd { color: #000; }
  .hero-bg, .hero::after { display: none; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; word-break: break-all; }
}
