/* =========================================================================
   Hwy. 276 Self Storage & Stor-N-More
   One stylesheet. No framework, no build step.

   Brand architecture
   ------------------
   The sign on the building is an interstate-style shield: a red crown over a
   blue body. Each brand takes one half of that shield.
     storage  -> the blue  (#143a5e) with amber hazard accents
     shipping -> the red   (#a8362c) with a deep green accent
     shared   -> slate umbrella used for the homepage, directions and contact
   Set data-brand="storage|shipping|shared" on <html> or on any section and
   everything inside re-themes from the custom properties below.
   ========================================================================= */

/* -------------------------------------------------------------- fonts --- */

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-var.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --font-display: 'Barlow Condensed', 'Haettenschweiler', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ink: #141a20;
  --ink-2: #4a545e;
  --ink-3: #6f7982;
  --paper: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f2eee7;
  --line: #e4ddd1;
  --line-2: #cec4b3;
  --focus: #1763c7;

  --brand: #17293b;
  --brand-deep: #0d1825;
  --brand-accent: #b0352b;
  --brand-accent-ink: #9c2f26;
  --brand-wash: #f1ede5;
  --brand-tint: #e2dbcf;
  --on-brand: #ffffff;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 32, 0.07), 0 2px 8px rgba(20, 26, 32, 0.05);
  --shadow-md: 0 2px 6px rgba(20, 26, 32, 0.08), 0 14px 34px rgba(20, 26, 32, 0.1);

  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --section-y: clamp(3.25rem, 7vw, 6rem);
}

[data-brand='storage'] {
  --brand: #143a5e;
  --brand-deep: #0c2641;
  --brand-accent: #eda02f;
  --brand-accent-ink: #8a5709;
  --brand-wash: #ecf1f7;
  --brand-tint: #d6e3f0;
  --on-brand: #ffffff;
}

[data-brand='shipping'] {
  --brand: #a8362c;
  --brand-deep: #76231c;
  --brand-accent: #0f6b5c;
  --brand-accent-ink: #0f6b5c;
  --brand-wash: #f9ece7;
  --brand-tint: #f0d8d0;
  --on-brand: #ffffff;
}

[data-brand='shared'] {
  --brand: #17293b;
  --brand-deep: #0d1825;
  --brand-accent: #b0352b;
  --brand-wash: #f1ede5;
  --brand-tint: #e2dbcf;
}

/* --------------------------------------------------------------- base --- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.02;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.45rem, 1.5rem + 3.9vw, 4.35rem);
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.3vw, 2.95rem);
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.14;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-deep);
}

ul,
ol {
  padding-left: 1.2em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skiplink {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skiplink:focus {
  top: 0.75rem;
  color: #fff;
}

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

.wrap.narrow {
  max-width: 830px;
}

/* ------------------------------------------------------------ topbar --- */

.topbar {
  background: #0d1825;
  color: #c6cfd9;
  font-size: 0.86rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.6rem;
  padding-block: 0.5rem;
}

.topbar__item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__item svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  opacity: 0.75;
}

.statuspill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
  color: #8fe0b4;
}

.statuspill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(143, 224, 180, 0.18);
}

.statuspill[data-state='closed'] {
  color: #f0b4ad;
}

.statuspill[data-state='closed']::before {
  box-shadow: 0 0 0 3px rgba(240, 180, 173, 0.16);
}

@media (max-width: 640px) {
  /* Address and status will not sit side by side at 375px. */
  .topbar__inner {
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }
}

/* ----------------------------------------------------------- masthead --- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

body.is-scrolled .masthead {
  box-shadow: var(--shadow-sm);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.6rem;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  padding-block: 0.55rem;
}

.brandmark__shield {
  display: block;
  flex: none;
}

.shield {
  width: 2.5rem;
  height: 2.68rem;
  display: block;
}

.brandmark__words {
  display: grid;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.98;
}

.brandmark__line--1 {
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.015em;
  color: #15395e;
}

.brandmark__line--2 {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #a8362c;
}

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

.navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
}

.navtoggle__bars {
  display: grid;
  gap: 3px;
  width: 1.05rem;
}

.navtoggle__bars span {
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-decoration: none;
  color: var(--ink);
}

.nav__disclosure {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav__disclosure svg {
  width: 0.75rem;
  height: 0.55rem;
  transition: transform 0.18s ease;
}

.nav__item--group.is-open .nav__disclosure svg {
  transform: rotate(180deg);
}

.nav__childnote {
  display: block;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
}

.nav__childlabel {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

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

@media (max-width: 1019px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(23rem, 88vw);
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1.25rem var(--gutter) 2.5rem;
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 0.22s ease;
    z-index: 60;
    padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
  }

  body.nav-open .nav {
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav__item {
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav__link {
    padding: 0.95rem 0;
    font-size: 1.22rem;
  }

  .nav__disclosure {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nav__panel {
    grid-column: 1 / -1;
    display: none;
    padding-bottom: 0.6rem;
  }

  .nav__item--group.is-open .nav__panel {
    display: block;
  }

  .nav__panel ul {
    list-style: none;
    margin: 0 0 0.25rem;
    padding: 0 0 0 0.9rem;
    border-left: 2px solid var(--brand-tint);
  }

  .nav__panel a {
    display: block;
    padding: 0.55rem 0;
    text-decoration: none;
  }

  .nav__cta {
    margin: 1.4rem 0 0;
  }

  .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .navdim {
    position: fixed;
    inset: 0;
    background: rgba(13, 24, 37, 0.45);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  body.nav-open .navdim {
    opacity: 1;
    pointer-events: auto;
  }
}

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

@media (min-width: 1020px) {
  .navtoggle {
    display: none;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav__list {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__item {
    position: relative;
    display: flex;
    align-items: center;
  }

  .nav__link {
    padding: 1.55rem 0.7rem;
    font-size: 1.05rem;
    position: relative;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 1.1rem;
    height: 3px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
  }

  .nav__item--group .nav__link::after {
    right: 1.5rem;
  }

  .nav__link:hover::after,
  .nav__link.is-active::after,
  .nav__item:focus-within .nav__link::after {
    transform: scaleX(1);
  }

  .nav__disclosure {
    padding: 0 0.5rem 0 0;
    height: 100%;
  }

  .nav__panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 19rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }

  .nav__item--group:hover .nav__panel,
  .nav__item--group:focus-within .nav__panel,
  .nav__item--group.is-open .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav__panel a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius);
    text-decoration: none;
  }

  .nav__panel a:hover,
  .nav__panel a:focus-visible {
    background: var(--brand-wash);
  }

  .nav__cta .btn {
    padding: 0.6rem 1.05rem;
    font-size: 0.95rem;
  }

  .navdim {
    display: none;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}

.btn--primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-wash);
  transform: translateY(-1px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0 0;
}

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

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--pad {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--wash {
  background: var(--brand-wash);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section--dark {
  background: var(--brand-deep);
  color: #d6dde5;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.sectionhead {
  max-width: 44rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.sectionhead--center {
  margin-inline: auto;
  text-align: center;
}

.sectionhead > *:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin: 0 0 0.85rem;
}

.eyebrow::before {
  content: '';
  width: 1.9rem;
  height: 3px;
  flex: none;
  background: var(--brand-accent);
}

.sectionhead--center .eyebrow {
  justify-content: center;
}

.lede {
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  line-height: 1.52;
  color: var(--ink-2);
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose h3 {
  margin-top: 1.9rem;
}

.prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  gap: 0.6rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.6rem;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--brand-accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

.prose ol {
  display: grid;
  gap: 0.55rem;
}

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

.hero {
  background: var(--surface);
  padding-block: clamp(2.5rem, 5.5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--brand-wash) 0%, transparent 62%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  /* minmax(0, …) lets the column shrink below its content's min-content width,
     which is what keeps long condensed headlines inside narrow screens. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 5.5vw, 4.25rem);
}

.hero__inner > * {
  min-width: 0;
}

.hero__body > *:last-child {
  margin-bottom: 0;
}

.hero h1 {
  margin-bottom: 0.42em;
  max-width: 15ch;
}

.hero .lede {
  max-width: 46ch;
}

.hero__media {
  margin: 0;
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero__media::after {
  content: '';
  position: absolute;
  left: -0.75rem;
  bottom: -0.75rem;
  width: 42%;
  height: 0.6rem;
  background: var(--brand-accent);
  border-radius: 2px;
}

.hero__facts {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(7.5rem, 100%), 1fr));
  gap: 1.25rem;
}

.fact__value,
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.4rem);
  line-height: 1;
  color: var(--brand);
}

.fact__label,
.stat__label {
  display: block;
  font-size: 0.9rem;
  line-height: 1.32;
  color: var(--ink-3);
  margin-top: 0.3rem;
}

/* the dashed highway centreline that closes every hero */
.hero__rule {
  height: 0.65rem;
  background-image: repeating-linear-gradient(
    90deg,
    var(--brand-accent) 0 2.6rem,
    transparent 2.6rem 4.6rem
  );
  opacity: 0.85;
}

@media (min-width: 880px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .hero--poster .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
}

.hero--poster .hero__body {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.hero--poster .hero__body .actions {
  justify-content: center;
}

.hero--poster .hero__body h1 {
  max-width: none;
}

.hero--poster .hero__body .lede {
  max-width: 54ch;
  margin-inline: auto;
}

.hero--poster .hero__media {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
}

.hero--poster .hero__media::after {
  display: none;
}

.hero--poster .hero__facts {
  justify-items: center;
  text-align: center;
  max-width: 54rem;
  margin-inline: auto;
}

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

.brandsplit {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 860px) {
  .brandsplit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.brandcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 6px solid var(--brand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brandcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.brandcard__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-tint);
}

.brandcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brandcard__body {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brandcard__kicker {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.88rem;
  color: var(--brand-accent-ink);
  margin: 0 0 0.45rem;
}

.brandcard__name {
  margin-bottom: 0.5rem;
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brandcard__blurb {
  margin-bottom: 1.1rem;
}

.brandcard .actions {
  margin-top: auto;
  padding-top: 1.3rem;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
}

.tick {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.22rem;
  border-radius: 50%;
  background: var(--brand-accent-ink);
  position: relative;
}

.tick::after {
  content: '';
  position: absolute;
  left: 0.33rem;
  top: 0.17rem;
  width: 0.3rem;
  height: 0.55rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ------------------------------------------------------------ feature --- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}

.feature > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .feature--flip .feature__body {
    order: 2;
  }
}

.feature__media {
  margin: 0;
}

.feature__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature__body h2 {
  color: var(--brand);
}

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

.cardgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 680px) {
  .cardgrid--2,
  .cardgrid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cardgrid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .cardgrid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cardgrid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  position: relative;
  padding-top: calc(clamp(1.25rem, 2.4vw, 1.75rem) + 0.3rem);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 2.4vw, 1.75rem);
  width: 2.4rem;
  height: 4px;
  background: var(--brand-accent);
  border-radius: 0 0 2px 2px;
}

.card__title {
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.card__body {
  margin: 0;
  font-size: 1rem;
}

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

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  text-align: center;
}

.stats li {
  padding: 1.1rem 0.5rem;
  border-left: 1px solid var(--line);
}

.stats li:first-child {
  border-left: 0;
}

.section--dark .stat__value {
  color: var(--brand-accent);
}

.section--dark .stat__label {
  color: #aab6c2;
}

.section--dark .stats li {
  border-color: rgba(255, 255, 255, 0.14);
}

/* -------------------------------------------------------------- table --- */

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.datatable {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.datatable th,
.datatable td {
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.datatable thead th {
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 0;
  white-space: nowrap;
}

.datatable tbody tr:last-child th,
.datatable tbody tr:last-child td {
  border-bottom: 0;
}

.datatable tbody tr:nth-child(even) {
  background: var(--brand-wash);
}

.datatable tbody th {
  font-weight: 600;
  color: var(--ink);
}

.tablenote {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-3);
}

@media (max-width: 620px) {
  .datatable thead {
    display: none;
  }

  .datatable,
  .datatable tbody,
  .datatable tr,
  .datatable th,
  .datatable td {
    display: block;
    width: 100%;
  }

  .datatable tr {
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0;
  }

  .datatable tr:last-child {
    border-bottom: 0;
  }

  .datatable th,
  .datatable td {
    border-bottom: 0;
    padding: 0.4rem 1.1rem;
  }

  .datatable td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    color: var(--ink-3);
  }

  .datatable tbody th {
    font-size: 1.1rem;
    padding-top: 0.75rem;
  }
}

/* ------------------------------------------------------------ gallery --- */

.gallery {
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-tint);
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
  color: var(--ink-3);
  background: var(--surface);
}

.gallery--duo {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.gallery--grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.gallery--tour {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  /* Dense packing backfills the single-width gaps a feature photo leaves. */
  grid-auto-flow: dense;
}

/* "feature": true on a photo. Below 900px there is only one column worth
   spanning, so every photo stays the same size. */
@media (min-width: 900px) {
  .gallery--tour figure.is-feature {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery--strip {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.gallery--strip img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.hourscard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.hourscard__status {
  margin: 0 0 0.9rem;
}

.hourscard .statuspill {
  color: #11795a;
  font-size: 0.95rem;
}

.hourscard .statuspill[data-state='closed'] {
  color: #a8362c;
}

.hours {
  margin: 0;
  display: grid;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed var(--line);
}

.hours__row:last-child {
  border-bottom: 0;
}

.hours__row dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.hours__row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.hours__row.is-today {
  background: var(--brand-wash);
  margin-inline: calc(-1 * clamp(1.3rem, 3vw, 2rem));
  padding-inline: clamp(1.3rem, 3vw, 2rem);
  border-bottom-color: transparent;
}

.hours__row.is-today dt::after {
  content: 'Today';
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--on-brand);
  background: var(--brand);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  vertical-align: 0.12em;
}

.hours__closed {
  color: var(--ink-3);
}

.hours__note {
  margin: 1.2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 1rem;
}

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

.contactgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.contactcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.6vw, 1.8rem);
  border-top: 4px solid var(--brand);
}

.contactcard__label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
  color: var(--ink-3);
  margin: 0 0 0.5rem;
}

.contactcard__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.contactcard__value a {
  text-decoration: none;
  color: var(--brand);
}

.contactcard__value a:hover {
  text-decoration: underline;
}

.contactcard__note {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- map --- */

.mapblock__frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  background-image:
    linear-gradient(var(--brand-wash) 1px, transparent 1px),
    linear-gradient(90deg, var(--brand-wash) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

.mapblock__placeholder {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.mapblock__address {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.mapblock__hint {
  max-width: 34rem;
  margin: 0 auto;
}

.mapblock__placeholder .actions {
  justify-content: center;
}

.mapblock__privacy {
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.mapblock__frame iframe {
  display: block;
  width: 100%;
  height: clamp(20rem, 48vw, 30rem);
  border: 0;
}

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

.cta-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.ctaband {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 1.25rem 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ctaband::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 0.5rem;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--brand-accent) 0 0.85rem,
    transparent 0.85rem 1.7rem
  );
}

.ctaband h2 {
  color: #fff;
  margin-bottom: 0.35em;
}

.ctaband p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 48ch;
}

.ctaband .actions {
  margin: 0;
}

.ctaband .btn--primary {
  background: #fff;
  border-color: #fff;
  color: var(--brand);
}

.ctaband .btn--primary:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #1a1407;
}

.ctaband .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.ctaband .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

@media (min-width: 860px) {
  .ctaband {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* ---------------------------------------------------------------- faq --- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.75rem 1.15rem 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  line-height: 1.25;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '';
  position: absolute;
  right: 0.35rem;
  top: 1.5rem;
  width: 0.85rem;
  height: 0.85rem;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
  top: 1.75rem;
}

.faq__item summary:hover {
  color: var(--brand);
}

.faq__answer {
  padding: 0 2.75rem 1.35rem 0;
}

/* ------------------------------------------------------- breadcrumbs --- */

.breadcrumbs {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin: 0;
  padding: 0.7rem 0;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.6rem;
  color: var(--line-2);
}

.breadcrumbs a {
  color: var(--ink-3);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.breadcrumbs [aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}

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

.footer {
  background: #0d1825;
  color: #9fabb8;
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  font-size: 0.98rem;
}

.footer__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  }
}

.footer__shield .shield {
  width: 3rem;
  height: 3.2rem;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.1;
  color: #fff;
  margin: 0.75rem 0 0.6rem;
  max-width: 16ch;
}

.footer__address {
  font-style: normal;
  margin-bottom: 0.75rem;
}

.footer__contact a,
.footer__social a,
.footer__links a,
.footer__bar a {
  color: #d6dee6;
  text-decoration: none;
}

.footer__contact a:hover,
.footer__social a:hover,
.footer__links a:hover,
.footer__bar a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__col[data-brand] .footer__brandname {
  color: #fff;
}

.footer__brandname {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0 0 0.9rem;
  padding-top: 0.75rem;
  border-top: 3px solid var(--brand-accent);
  display: block;
}

.footer__col[data-brand='storage'] .footer__brandname {
  border-top-color: #4d8ec9;
}

.footer__col[data-brand='shipping'] .footer__brandname {
  border-top-color: #d9604f;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer__hours {
  margin: 0 0 0.9rem;
  display: grid;
  gap: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.footer__hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 14rem;
}

.footer__hours dt {
  color: #d6dee6;
  font-weight: 600;
}

.footer__hours dd {
  margin: 0;
}

.footer__note {
  margin: 0;
  font-size: 0.9rem;
  color: #8894a1;
  max-width: 32ch;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #76828f;
}

.footer__bar p {
  margin: 0;
}

/* ---------------------------------------------------------- 404 page --- */

.errorpage h1 {
  max-width: 16ch;
}

.errorpage .cardgrid {
  margin-top: 2.25rem;
}

/* ----------------------------------------------------------- motion --- */

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

/* ------------------------------------------------------------- print --- */

@media print {
  .topbar,
  .navtoggle,
  .nav,
  .breadcrumbs,
  .hero__rule,
  .mapblock__frame,
  .actions,
  .footer__links {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .masthead {
    position: static;
  }

  .footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #000;
  }

  .footer__name,
  .footer__contact a,
  .footer__brandname {
    color: #000;
  }

  .section {
    padding-block: 1rem;
    break-inside: avoid;
  }
}
