/* ==========================================================================
   Components
   Reusable, page-agnostic building blocks: typography helpers, eyebrows,
   buttons, cards, nav and footer. Depends on tokens.css + base.css.
   ========================================================================== */

/* --- Section rhythm ---------------------------------------------------- */
.section {
  padding-block: clamp(56px, 8vw, 96px);
  padding-inline: var(--gutter);
}

.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.section--cream { background: var(--c-cream); }
.section--sand  { background: var(--c-sand); }
.section--sage  { background: var(--c-sage); }
.section--forest{ background: var(--c-forest); }

/* --- Display & heading scale ------------------------------------------ */
.display-1 {
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-2 {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.heading {
  font-weight: 300;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading--lg { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.12; }
.heading--sm { font-size: clamp(26px, 3.5vw, 34px); }

.lead {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--c-moss);
}

.text-coral   { color: var(--c-coral); }
.on-dark      { color: var(--c-cream); }
.on-dark-muted{ color: rgba(245, 242, 234, 0.78); }

/* --- Eyebrow (coral dash + label) ------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--c-coral);
  box-shadow: var(--glow-coral-sm);
}

.eyebrow__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-moss-light);
  white-space: nowrap;
}

.eyebrow--on-sage  .eyebrow__label { color: var(--c-forest); }
.eyebrow--on-dark  .eyebrow__label { color: var(--c-coral); }

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  padding: 14px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  transition: background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}

.btn--sm { font-size: 14px; padding: 11px 24px; }
.btn--xs { font-size: 13px; padding: 9px 18px; }

/* Subtle press feedback shared by every button. */
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-coral);
  color: var(--c-ink);
}
/* Hover lifts/reveals are mouse-only flourishes: gate them behind a real
   hover-capable fine pointer so touch devices (phones + tablets) never get a
   stuck "lifted" state after a tap. Touch presses use :active instead. */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--c-coral-bright);
    box-shadow: var(--glow-coral);
    transform: translateY(-1px);
  }
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-forest);
  color: var(--c-ink);
}
.btn--ghost:hover { background: rgba(44, 58, 34, 0.08); }

.btn--dark {
  background: var(--c-forest);
  color: var(--c-cream);
}
.btn--dark:hover { background: var(--c-forest-light); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(245, 242, 234, 0.4);
  color: var(--c-cream);
}
.btn--ghost-light:hover { border-color: var(--c-coral); }

/* --- Social buttons (touch hero) --------------------------------------- */
/* On touch, the desktop hover-reveal of social links is replaced by these
   always-visible, tappable pills. Each floods with its network's brand
   gradient on press — the tactile stand-in for the desktop hover. */
.social-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 248, 237, 0.28);
  background: rgba(255, 248, 237, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #FFF8ED;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.social-btn__icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-btn__label { position: relative; z-index: 1; }

/* Brand flood, hidden until pressed. */
.social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-out);
}
.social-btn--ig::before {
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 62%, #4F5BD5 92%);
}
.social-btn--wa::before {
  background: linear-gradient(150deg, #25D366 0%, #128C7E 100%);
}
.social-btn--tt::before {
  background: linear-gradient(150deg, #25F4EE 0%, #0B0B0F 46%, #FE2C55 100%);
}
.social-btn:active {
  transform: scale(0.97);
  border-color: transparent;
  color: #fff;
}
.social-btn:active::before { opacity: 1; }

/* --- Accent rule (animated neon bar) ----------------------------------- */
.rule {
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--c-coral);
  box-shadow: var(--glow-coral-sm);
}

/* Tall diagonal neon streak used as a decorative accent in dark heroes. */
.neon-streak {
  position: absolute;
  width: 4px;
  border-radius: 4px;
  background: var(--c-coral);
  pointer-events: none;
  animation: bt-neon 3.6s ease-in-out infinite;
}

/* --- Scroll cue -------------------------------------------------------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vw, 38px);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245, 242, 234, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(245, 242, 234, 0.14);
  box-shadow: 0 14px 34px rgba(27, 36, 19, 0.18);
  color: var(--c-cream);
  cursor: pointer;
  transform: translateX(-50%);
  transition: opacity var(--t-fast) ease, visibility var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease;
  animation: bt-scroll-cue 1.5s ease-in-out infinite;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  border-color: rgba(245, 242, 234, 0.74);
  background: rgba(245, 242, 234, 0.22);
}

.scroll-cue.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-cue__arrow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 13px;
  height: 13px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes bt-scroll-cue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* --- Generic raised card ----------------------------------------------- */
.card {
  background: var(--c-cream-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card--interactive {
  transition: transform var(--t-slow) ease, box-shadow var(--t-slow) ease;
}
@media (hover: hover) and (pointer: fine) {
  .card--interactive:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
  }
}

/* --- Product card ------------------------------------------------------ */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(218, 211, 194, 0.74);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  background: var(--c-sage);
  background-image: radial-gradient(70% 70% at 52% 38%, rgba(245, 242, 234, 0.18), transparent 62%);
}
.product-card__media--wide { aspect-ratio: 4 / 3; }

/* Vertical coral marker inside the product tile. */
.product-card__media::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 20px;
  width: 3px;
  border-radius: 3px;
  background: var(--c-coral);
  box-shadow: 0 0 14px rgba(244, 135, 107, 0.6), 0 0 26px rgba(255, 154, 122, 0.4);
}

.product-card__placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 234, 0.82);
}

.product-card__code {
  color: rgba(245, 242, 234, 0.92);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.product-card__note {
  color: rgba(245, 242, 234, 0.68);
  font-family: var(--font-mono);
  font-size: 11px;
}

.product-card__cat {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: rgba(245, 242, 234, 0.7);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.product-card__body { padding: 22px; }

.product-card__title {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 4px;
}

.product-card__type { font-size: 13px; color: var(--c-moss-light); }

.product-card__spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-moss);
  margin: 12px 0 18px;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

.product-card__price {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--c-ink);
}

.product-card--edibles .product-card__media {
  background-color: var(--c-sand);
  background-image: radial-gradient(70% 70% at 52% 38%, rgba(244, 135, 107, 0.18), transparent 62%);
}
.product-card--edibles .product-card__code,
.product-card--edibles .product-card__note {
  color: var(--c-forest);
}
.product-card--edibles .product-card__cat {
  background: rgba(44, 58, 34, 0.10);
}
.product-card--vapes .product-card__media {
  background-color: var(--c-forest-light);
}
.product-card--concentrates .product-card__media {
  background-color: var(--c-forest);
  background-image: radial-gradient(70% 70% at 52% 38%, rgba(244, 135, 107, 0.20), transparent 62%);
}

/* --- Review card ------------------------------------------------------- */
.review-card__stars {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.review-card__quote {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.review-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.review-card__avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--c-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-cream);
}

.review-card__source {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-moss-light);
}

/* Glassmorphic variant (on the home reviews band, over dark forest). */
.review-card--glass {
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(27, 36, 19, 0.20);
  padding: 28px;
  transition: transform var(--t-slow) ease;
}
@media (hover: hover) and (pointer: fine) {
  .review-card--glass:hover { transform: translateY(-5px); }
}
.review-card--glass .review-card__quote { color: var(--c-cream); }
.review-card--glass .review-card__author { color: rgba(245, 242, 234, 0.85); }
.review-card--glass .review-card__source { color: rgba(245, 242, 234, 0.5); }

/* --- Form fields ------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }

.field__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-moss-light);
}

.field__input,
.field__textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  outline: none;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field__textarea { resize: vertical; }

.field__input:focus,
.field__textarea:focus {
  border-color: var(--c-coral);
  box-shadow: 0 0 0 3px rgba(244, 135, 107, 0.18);
}

/* --- Site navigation --------------------------------------------------- */
/* Lifted out of flow so the page's first section can bleed up to the very top
   edge with the pill floating over it. Pages that open on a light section add
   the nav height back as body padding (see .has-fixed-nav-offset below). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 0;
  pointer-events: none;
}

.site-header__inner {
  max-width: 1080px;
  margin-inline: auto;
  pointer-events: auto;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
  padding: 0 12px 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* Glass surface AND the pill's shadows live on this absolute child layer:
   iOS 26 Safari swaps the translucent status bar for an opaque block when
   the fixed header's pill carries backdrop-filter or box-shadow directly. */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(252, 251, 247, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%) contrast(108%);
  backdrop-filter: blur(20px) saturate(180%) contrast(108%);
  box-shadow: 0 12px 36px rgba(27, 36, 19, 0.16),
              0 1px 0 rgba(244, 135, 107, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: -1;
}

/* Bevelled glass edge — lit top-left, soft bottom rim. Sits above the
   background but behind the nav content (z-index:-1, pointer-events:none). */
.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 2px 2px 5px -2px rgba(255, 255, 255, 0.5),
    inset -2px -2px 5px 2px rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: -1;
}

.navbar__brand { flex: 0 0 auto; display: flex; align-items: center; }
.navbar__logo { height: 56px; width: auto; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink);
  letter-spacing: 0.01em;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  transition: background 0.18s var(--ease-spring),
              color 0.18s var(--ease-spring),
              transform 0.18s var(--ease-spring),
              box-shadow 0.3s ease-in-out;
}

/* Liquid-glass hover: a translucent pill that picks up the same bevel as the
   bar, so the link looks like a raised piece of glass. */
.navbar__link:hover {
  color: var(--c-coral);
  background: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 2px 2px 5px -2px rgba(255, 255, 255, 0.55),
    inset -2px -1px 5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(255, 255, 255, 0.2);
}
.navbar__link:active { transform: scale(0.97); }

.navbar__link[aria-current="page"] {
  color: var(--c-coral);
  background: rgba(255, 255, 255, 0.4);
}

.navbar__cta { flex: 0 0 auto; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
}
.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transform-origin: center;
  /* This timing governs the CLOSE (X → burger): slow and deliberate — the open
     played back in reverse. (A transition takes its timing from the state it's
     moving TO, so the base rule controls the return.) */
  transition: transform 0.45s var(--ease-out), opacity 0.35s var(--ease-out);
}
/* The OPEN (burger → X) stays quick and snappy. */
.navbar__toggle[aria-expanded="true"] span {
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drop panel — opens smoothly, with links dropping like ladder rungs. */
.navbar__panel {
  position: relative;
  margin-top: 10px;
  padding: 12px 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0);
  box-shadow: 0 12px 36px rgba(27, 36, 19, 0),
              inset 0 1px 0 rgba(255, 255, 255, 0);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transform-origin: top center;
  visibility: hidden;
  transition:
    max-height 0.56s var(--ease-out) 0.34s,
    border-color 0.34s var(--ease-out) 0.46s,
    box-shadow 0.34s var(--ease-out) 0.46s,
    transform 0.46s var(--ease-out) 0.34s,
    visibility 0s linear 0.92s;
}

/* Same iOS 26 workaround as .navbar::before — glass on an absolute layer.
   The glass itself (not the panel's opacity) animates in/out, so the panel
   never sits at a fractional opacity — which would make it a backdrop root
   and cut the ::before's backdrop-filter off from the page behind it. */
.navbar__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(252, 251, 247, 0);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  backdrop-filter: blur(0px) saturate(100%);
  pointer-events: none;
  z-index: -1;
  transition:
    background 0.34s var(--ease-out) 0.46s,
    -webkit-backdrop-filter 0.34s var(--ease-out) 0.46s,
    backdrop-filter 0.34s var(--ease-out) 0.46s;
}
.navbar__panel.is-open {
  max-height: 420px;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 36px rgba(27, 36, 19, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition:
    max-height 0.52s var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    transform var(--t-base) var(--ease-out),
    visibility 0s;
}
.navbar__panel.is-open::before {
  background: rgba(252, 251, 247, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition:
    background var(--t-base) var(--ease-out),
    -webkit-backdrop-filter var(--t-base) var(--ease-out),
    backdrop-filter var(--t-base) var(--ease-out);
}

.navbar__panel nav { display: flex; flex-direction: column; gap: 4px; }

.navbar__panel-link {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink);
  padding: 13px 4px;
  border-bottom: 1px solid rgba(218, 211, 194, 0.45);
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity var(--t-base) var(--ease-out),
    transform 0.36s var(--ease-out),
    color var(--t-fast) ease;
  transition-delay: calc((4 - var(--i, 0)) * 55ms + 80ms);
}
.navbar__panel-link:nth-child(1) { --i: 0; }
.navbar__panel-link:nth-child(2) { --i: 1; }
.navbar__panel-link:nth-child(3) { --i: 2; }
.navbar__panel-link:nth-child(4) { --i: 3; }
.navbar__panel-link:nth-child(5) { --i: 4; }
.navbar__panel.is-open .navbar__panel-link {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.navbar__panel-link[aria-current="page"] { color: var(--c-coral); }
.navbar__panel-cta {
  margin-top: 16px;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity var(--t-base) var(--ease-out),
    transform 0.36s var(--ease-out);
  transition-delay: 0ms;
}
.navbar__panel.is-open .navbar__panel-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 355ms;
}

@media (prefers-reduced-motion: reduce) {
  .navbar__toggle span,
  .navbar__panel,
  .navbar__panel::before,
  .navbar__panel-link,
  .navbar__panel-cta {
    transition: none;
  }
}

/* Hamburger whenever the screen is narrow OR the device is touch — so touch
   tablets (incl. iPad landscape, wider than 860) also get the mobile nav,
   keeping "burger shown" and "no desktop flourishes" the same state. */
@media (max-width: 860px), (pointer: coarse) {
  .navbar__links,
  .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }
}

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--c-forest);
  color: var(--c-cream);
  padding: 80px var(--gutter) 36px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 48px;
}

.site-footer__logo { height: 60px; width: auto; margin-bottom: 20px; }

.site-footer__about {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 242, 234, 0.62);
  max-width: 260px;
}

.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin-bottom: 6px;
}

.site-footer__col-rule { margin-bottom: 20px; }

.site-footer__nav { display: flex; flex-direction: column; gap: 12px; }

.site-footer__link {
  font-size: 14px;
  text-decoration: none;
  color: rgba(245, 242, 234, 0.78);
  transition: color var(--t-fast) ease;
}
.site-footer__link:hover { color: var(--c-coral); }
.site-footer__link--static { cursor: default; }
.site-footer__link--static:hover { color: rgba(245, 242, 234, 0.78); }

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 242, 234, 0.78);
}
.site-footer__contact .mono { font-family: var(--font-mono); font-size: 13px; }

.site-footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 242, 234, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.site-footer__legal,
.site-footer__meta span {
  font-size: 12px;
  color: rgba(245, 242, 234, 0.45);
}
.site-footer__meta { display: flex; gap: 24px; }

/* Phones: the auto-fit grid collapses to one column, stacking all four blocks
   into an endless ribbon. Lay it out deliberately instead — brand spans the
   top, the two link columns sit side by side, contact spans the bottom. */
@media (max-width: 640px) {
  .site-footer { padding-top: 56px; }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .site-footer__grid > :first-child,
  .site-footer__grid > :last-child {
    grid-column: 1 / -1;
  }
  .site-footer__bottom { margin-top: 36px; }
}

/* --- Social pills (shared by footer + contact) ------------------------- */
.social { display: flex; gap: 10px; }

.social__item {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 242, 234, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(245, 242, 234, 0.6);
  text-decoration: none;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease, background var(--t-fast) ease;
}

.social__item:hover,
.social__item:focus-visible {
  border-color: var(--c-coral);
  color: var(--c-cream);
  background: rgba(244, 135, 107, 0.12);
  outline: none;
}

.social--light .social__item {
  width: 40px;
  height: 40px;
  border-color: var(--c-border);
  color: var(--c-moss-light);
}

/* --- Touch targets ----------------------------------------------------- */
/* Finger input: lift interactive controls to at least a 44px hit area
   (Apple/Google minimum). Mouse/desktop density is left untouched. */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .filter-chip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .social__item,
  .social--light .social__item { width: 44px; height: 44px; }
}

/* --- Map guard (touch tap-to-interact) --------------------------------- */
/* Overlay injected by map-guard.js over embedded maps on touch devices. */
.map-guard__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.map-guard__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-ink);
  background: rgba(252, 251, 247, 0.92);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  box-shadow: var(--shadow-soft);
}
