/* Blue Water Natural Foods — site styles
   Palette pulled from the sand-circle logo: deep water, desert sand, adobe. */
:root {
  --navy: #102a33;
  --navy-2: #163844;
  --teal: #1f5d6b;
  --water: #2a7a8a;
  --water-lt: #4ea3b0;
  --sand: #f7f1e6;
  --sand-2: #efe4d0;
  --sand-3: #e2d0b0;
  --clay: #c4a56a;
  --clay-dk: #8a6a32;
  --adobe: #a45a3a;
  --cactus: #3d6b4f;
  --cactus-lt: #5a8f6a;
  --ink: #1a2428;
  --muted: #5a6a6e;
  --line: rgba(16, 42, 51, .14);
  --paper: #fffcf7;
  --white: #fff;
  --shadow: 0 10px 30px rgba(16, 42, 51, .12);
  --radius: 14px;
  --max: 1120px;
  --header-h: 84px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--water); }
:focus-visible { outline: 3px solid var(--water-lt); outline-offset: 3px; }
.skip {
  position: absolute; left: 8px; top: -40px; background: var(--navy); color: #fff;
  padding: .5rem 1rem; z-index: 1000; border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; }


/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner, .wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--navy); min-width: 0;
}
.brand img {
  width: 64px; height: 64px;
  object-fit: contain; background: transparent;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: .01em; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav {
  display: flex; gap: .85rem; align-items: center; flex: none;
}
.nav a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem;
  position: relative; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--clay); border-radius: 2px;
}
.header-tools { display: flex; align-items: center; gap: .5rem; flex: none; }
.header-tools .btn { white-space: nowrap; padding: .6rem 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; cursor: pointer; text-decoration: none !important;
  font: inherit; font-weight: 650; letter-spacing: .02em;
  padding: .7rem 1.15rem; border-radius: 999px;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff !important; }
.btn-primary:hover { background: var(--navy); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--sand-2); color: var(--navy) !important; }
.btn-sand { background: var(--clay); color: var(--navy) !important; }
.btn-sand:hover { background: var(--clay-dk); color: #fff !important; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  padding: 0; cursor: pointer; color: var(--navy);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 0 1rem; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 1.25rem; width: 100%; }
  .nav a[aria-current="page"]::after { display: none; }
  .header-tools .btn { display: none; }
}
@media (min-width: 861px) and (max-width: 1280px) {
  .header-inner { gap: .55rem; }
  .nav { gap: .5rem; }
  .nav a { font-size: .84rem; }
  .header-tools { gap: .35rem; }
  .header-tools .btn { padding: .5rem .75rem; }
  .brand { gap: .45rem; }
  .brand img { width: 54px; height: 54px; }
  .badge-hours, .badge-holiday { font-size: .72rem; padding: .28rem .6rem; }
}
@media (min-width: 861px) and (max-width: 1200px) {
  .header-inner { width: min(var(--max), calc(100% - 1.1rem)); gap: .4rem; }
  .brand img { width: 48px; height: 48px; }
  .brand-text strong { font-size: .9rem; }
  .nav { gap: .4rem; }
  .nav a { font-size: .78rem; }
  .header-tools .btn { padding: .45rem .65rem; }
  .badge-hours, .badge-holiday { font-size: .68rem; padding: .26rem .5rem; }
}

/* Open / closed badge */
.badge-hours {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  background: var(--sand-2); color: var(--navy);
  white-space: nowrap;
}
.badge-hours .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--muted);
}
.badge-hours.is-open { background: #e5f4ea; color: #1a4a2c; }
.badge-hours.is-open .dot { background: #2e9b57; box-shadow: 0 0 0 4px rgba(46,155,87,.2); }
.badge-hours.is-closed { background: #f8e8e2; color: #6b2e1e; }
.badge-hours.is-closed .dot { background: var(--adobe); }

.hours-cluster {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .4rem .45rem;
  min-width: 0;
}
.header-tools .hours-cluster {
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.badge-holiday {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
  /* Explicit colors so a missed variable or stale sheet still paints a chip */
  background: #c4a56a;
  background-color: var(--clay, #c4a56a);
  color: #102a33;
  color: var(--navy, #102a33);
  box-shadow: 0 0 0 1px rgba(16, 42, 51, .14);
}


/* Hero */
.hero {
  position: relative; min-height: min(88vh, 820px);
  color: #fff; display: grid; place-items: stretch;
  background: var(--navy);
  overflow: hidden;
}
.hero-slides, .hero-slide {
  position: absolute; inset: 0;
}
.hero-slide {
  opacity: 0; transition: opacity 1.1s ease;
  background: var(--navy) center/cover no-repeat;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide picture {
  display: block; width: 100%; height: 100%;
}
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
}
.hero-slide.is-active img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide.is-active img { animation: none; }
  .btn:hover { transform: none; }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(16,42,51,.15) 0%, rgba(16,42,51,.35) 40%, rgba(16,20,22,.78) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  width: min(var(--max), calc(100% - 2rem));
  margin: auto auto 4.5rem;
  padding-top: 5rem;
}
.hero-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  margin-bottom: 1rem; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sand-3);
}
.hero-kicker .hours-cluster, .hero-kicker .badge-hours, .hero-kicker .badge-holiday {
  text-transform: none; letter-spacing: .02em; font-size: .82rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600; font-size: clamp(2.05rem, 5.2vw, 3.7rem);
  line-height: 1.12; margin: 0 0 .6rem; max-width: 22ch;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 36rem;
  margin: 0 0 1.5rem; color: #f3eadb; text-shadow: 0 1px 10px rgba(0,0,0,.3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-nav {
  position: absolute; z-index: 4; bottom: 1.2rem; right: 1.2rem;
  display: flex; gap: .4rem; align-items: center;
}
.hero-nav button, .hero-dots button {
  background: rgba(255,255,255,.18); border: 0; color: #fff;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  backdrop-filter: blur(6px);
}
.hero-nav button:hover { background: rgba(255,255,255,.32); }
.hero-dots {
  position: absolute; z-index: 4; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .4rem;
}
.hero-dots button {
  width: 10px; height: 10px; padding: 0; opacity: .55;
}
.hero-dots button[aria-current="true"] { opacity: 1; background: var(--clay); }

/* Sections */
main { flex: 1; }
.section { padding: 4.25rem 0; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy-2); color: var(--sand); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .muted, .section-navy p { color: #d7e4e7; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700;
  color: var(--teal); margin: 0 0 .5rem;
}
.section-navy .eyebrow { color: var(--clay); }
h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15;
  margin: 0 0 .75rem; color: var(--navy);
}
h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.35rem; margin: 0 0 .4rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; max-width: 42rem; }
.split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.split.reverse { grid-template-columns: .9fr 1.1fr; }
.split.reverse .copy { order: 2; }
@media (max-width: 800px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .copy { order: 0; }
  .section { padding: 3rem 0; }
}
.frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--sand-2);
  aspect-ratio: 4/3;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { aspect-ratio: 3/4; }
.frame.wide { aspect-ratio: 16/9; }
.frame-stack { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.frame-stack .frame:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.frame-stack .frame:first-child:nth-last-child(2),
.frame-stack .frame:first-child:nth-last-child(1) { grid-column: auto; aspect-ratio: 4/3; }

/* What you'll find — department grid */
.find-band {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 2.4 / 1;
  background: var(--sand-2);
}
.find-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.find-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .find-grid { grid-template-columns: repeat(2, 1fr); }
}
.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 4px 18px rgba(16,42,51,.06);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  height: 100%;
}
a.cat-card { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .2s; }
a.cat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,42,51,.12); }
.cat-icon {
  --cat-accent: var(--teal);
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sand);
  display: grid; place-items: center;
  margin-bottom: .35rem;
}
.cat-icon svg { width: 34px; height: 34px; display: block; }
.cat-card h3 { font-size: 1.15rem; margin: 0; }
.cat-card p { margin: 0; font-size: .95rem; }
.membership-feature { margin-top: 1.25rem; }
.membership-feature .card-link {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1.3fr;
  align-items: stretch;
}
.membership-feature .card-img { aspect-ratio: auto; min-height: 200px; }
.membership-feature .card-body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 700px) {
  .find-band { aspect-ratio: 16 / 9; }
  .membership-feature .card-link { grid-template-columns: 1fr; }
  .membership-feature .card-img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* Cards / highlights */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; margin-top: 2rem;
}
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(16,42,51,.08);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.card a.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card .card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--sand-2); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card-body h3 { margin-bottom: .3rem; }
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 2rem 0 0;
}
.stat {
  background: var(--sand-2); border-radius: var(--radius); padding: 1.2rem 1rem;
  text-align: center; border: 1px solid var(--line);
}
.stat b { display: block; font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); }
.stat span { font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) { .stat-row { grid-template-columns: 1fr; } }

/* Gallery */
.filters {
  display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.25rem 0 1.5rem;
}
.filters button {
  font: inherit; font-weight: 650; font-size: .9rem;
  border: 1.5px solid var(--line); background: transparent; color: var(--navy);
  border-radius: 999px; padding: .55rem 1rem; cursor: pointer;
  min-height: 44px;
}
.filters button[aria-pressed="true"], .filters button:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.filters button:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 2px;
}
.gallery-empty { margin: 1.5rem 0 2.5rem; }
@media (max-width: 640px) {
  .filters {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: .35rem; margin-right: -.5rem; padding-right: .5rem;
  }
  .filters button { flex: 0 0 auto; }
}
.masonry {
  columns: 3 240px; column-gap: .8rem;
}
.masonry figure {
  break-inside: avoid; margin: 0 0 .8rem; position: relative;
  border-radius: 12px; overflow: hidden; cursor: zoom-in;
  background: var(--sand-2);
}
.masonry img { width: 100%; height: auto; }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .6rem .75rem; font-size: .85rem; color: #fff;
  background: linear-gradient(transparent, rgba(16,20,22,.7));
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,18,22,.92); display: none;
  align-items: center; justify-content: center; padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox-cap { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: .95rem; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem;
}
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Membership tools */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 800px) { .tools { grid-template-columns: 1fr; } }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.6rem; box-shadow: 0 4px 18px rgba(16,42,51,.06);
}
.panel h3 { margin-top: 0; }
label, .label { display: block; font-weight: 650; font-size: .9rem; margin: .85rem 0 .3rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="url"], input[type="date"], input[type="month"], input[type="search"],
select, textarea {
  width: 100%; font: inherit; padding: .65rem .75rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 6rem; resize: vertical; }
.result {
  margin-top: 1rem; padding: 1rem; border-radius: 10px;
  background: var(--sand-2); display: none;
}
.result.is-shown { display: block; }
.result.is-yes { background: #e5f4ea; }
.result.is-no { background: #f8e8e2; }
.calc-out { font-size: 1.05rem; }
.calc-out b { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); }
.terms details { margin: .6rem 0; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.terms summary { cursor: pointer; font-weight: 650; color: var(--navy); }

/* Visit / map */
.map-wrap {
  border-radius: var(--radius); overflow: hidden; min-height: 320px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { margin: 0 0 .8rem; }
.contact-list a { font-weight: 650; }

/* Footer */
.site-footer {
  background: var(--navy); color: #d7e4e7; padding: 3rem 0 1.5rem; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
}
.site-footer a { color: #f3eadb; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.footer-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; background: transparent; flex: none; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; color: #9eb0b5; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  justify-content: space-between;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(180deg, rgba(16,42,51,.55), rgba(16,42,51,.55)),
    var(--navy) center/cover no-repeat;
  color: #fff; padding: 5rem 0 3.5rem;
}
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: .3rem 0 .5rem; font-weight: 600;
}
.page-hero p { margin: 0; max-width: 38rem; color: #f3eadb; }

/* Careers wizard */
.progress-wrap { margin: 0 0 1.5rem; }
.progress-bar {
  height: 8px; background: var(--sand-2); border-radius: 99px; overflow: hidden;
}
.progress-bar > span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .3s ease; }
.progress-label { font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.wizard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); }
.step { display: none; }
.step.is-active { display: block; }
.step h2 { font-size: 1.6rem; }
.field { margin: 1rem 0; }
.field .hint { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }
.field.is-error input, .field.is-error select, .field.is-error textarea {
  border-color: var(--adobe);
}
.field-error { color: var(--adobe); font-size: .85rem; display: none; margin-top: .25rem; }
.field.is-error .field-error { display: block; }
.choices { display: flex; flex-direction: column; gap: .4rem; }
.choices label, .check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; margin: 0; }
.choices.inline { flex-direction: row; flex-wrap: wrap; gap: .6rem 1.1rem; }
.hidden, [hidden] { display: none !important; }
.disqualify {
  background: #f8e8e2; border-radius: 10px; padding: 1rem; margin-top: 1rem;
}
.wizard-nav { display: flex; justify-content: space-between; gap: .7rem; margin-top: 1.5rem; flex-wrap: wrap; }
.stars { display: flex; gap: .25rem; flex-wrap: wrap; }
.stars button {
  width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--navy);
}
.stars button[aria-pressed="true"], .stars button.is-on {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.quiz-card { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: .8rem; margin: .8rem 0; background: #fff; }
.quiz-card img { width: 140px; height: 110px; object-fit: contain; background: var(--sand); border-radius: 8px; }
@media (max-width: 560px) { .quiz-card { grid-template-columns: 1fr; } }
.sig-pad { border: 1.5px dashed var(--line); border-radius: 10px; background: #fff; touch-action: none; width: 100%; height: 140px; display: block; }
.review dl { display: grid; grid-template-columns: 12rem 1fr; gap: .3rem 1rem; }
.review dt { color: var(--muted); font-weight: 650; }
@media (max-width: 600px) { .review dl { grid-template-columns: 1fr; } }

/* 404 / employees */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }

/* Print */
@media print {
  .site-header, .site-footer, .hero-nav, .hero-dots, .nav-toggle { display: none !important; }
}
.job-demands {
  background: var(--sand); padding: 1rem 1.1rem; border-radius: 10px;
  border: 1px solid var(--line); margin: .4rem 0 1rem; line-height: 1.55;
}
.star-matrix { display: flex; flex-direction: column; gap: .35rem; }
.wizard [data-step-pane] { outline: none; }
.wizard h2 { margin-top: 0; }
html-block, .html-block p:first-child { margin-top: 0; }
@media (max-width: 600px) {
  .site-header .header-tools .badge-hours { display: none; }
  .header-tools { max-width: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img, .footer-brand img { width: 52px; height: 52px; }
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { order: 5; margin-left: .25rem; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    width: 22px; height: 2.5px; background: var(--navy);
  }
  .header-tools { margin-left: auto; max-width: calc(100% - 8.5rem); }
  .hours-cluster { justify-content: flex-end; }
  .badge-hours, .badge-holiday { font-size: .7rem; padding: .28rem .65rem; }
}


/* Membership feature card on the home-page department grid */
.card.membership-feature a.card-link {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  align-items: stretch;
}
.card.membership-feature .card-img {
  aspect-ratio: 4 / 3;
  min-height: 0;
  max-height: 260px;
}
.card.membership-feature .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 700px) {
  .card.membership-feature a.card-link { grid-template-columns: 1fr; }
  .card.membership-feature .card-img { aspect-ratio: 16 / 9; max-height: none; }
}
