/* ============================================================
   Eve Collectibles — theme.css
   Palette: Gold / Black / White. Auto light/dark via prefers-color-scheme,
   overridable by a manual toggle (html[data-theme]).
   Display: Fraunces. Body: Inter. Utility: Inter.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

/* ---------- Tokens: light (default) ---------- */
:root {
  --gold:        #b8912f;   /* primary gold */
  --gold-soft:   #d9bf7a;
  --gold-bright: #e2c25a;

  --bg:          #ffffff;
  --bg-2:        #faf8f3;   /* warm off-white panels */
  --surface:     #ffffff;
  --ink:         #14110c;   /* near-black text */
  --ink-2:       #4c463b;   /* muted text */
  --line:        #e7e1d4;   /* hairlines */
  --line-strong: #cfc6b2;
  --gold-rule:   linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);

  --shadow:      0 1px 2px rgba(20,17,12,.05), 0 8px 24px rgba(20,17,12,.06);
  --radius:      14px;
  --radius-sm:   9px;

  --maxw:        1200px;
  --gutter:      clamp(16px, 4vw, 40px);
}

/* ---------- Tokens: dark (auto) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold:        #d7b352;
    --gold-soft:   #b8963f;
    --gold-bright: #f0d67e;

    --bg:          #000000;
    --bg-2:        #0b0b0b;
    --surface:     #101010;
    --ink:         #f4efe2;
    --ink-2:       #b6ac97;
    --line:        #262626;
    --line-strong: #383838;

    --shadow:      0 1px 2px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.6);
  }
}

/* ---------- Tokens: dark (manual override) ---------- */
:root[data-theme="dark"] {
  --gold:        #d7b352;
  --gold-soft:   #b8963f;
  --gold-bright: #f0d67e;
  --bg:          #000000;
  --bg-2:        #0b0b0b;
  --surface:     #101010;
  --ink:         #f4efe2;
  --ink-2:       #b6ac97;
  --line:        #262626;
  --line-strong: #383838;
  --shadow:      0 1px 2px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-sm { padding-block: clamp(32px, 5vw, 56px); }

/* Gold hairline divider — the structural signature */
.gold-rule { height: 1px; border: 0; background: var(--gold-rule); margin: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9em;
}
.muted { color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  /* Respect the notch / status bar so no odd sliver appears above the bar on mobile */
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .bar {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.brand-mark {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.35rem; letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-mark .amp { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--ink); }

/* Action buttons cluster (theme + cart + menu) sits on the right */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--gold); }

.cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--gold); color: #14110c;
  font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
}

/* Floating theme toggle — hidden on desktop, shown on mobile (fixed, bottom-right).
   Positioning is declared here (not only in the media query) so it can never
   render as an in-flow button if styles load oddly. */
.floating-theme {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #14110c; border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  z-index: 60;
  place-items: center;
}

/* Mobile nav */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  /* Desktop text nav becomes the slide-down panel; header keeps brand (left) + actions (right) */
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: calc(68px + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px; margin: 0;
    transform: translateY(-130%); transition: transform .3s ease;
    z-index: 49;
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }

  /* Remove the theme toggle from the header on mobile; use the floating one instead */
  .header-theme { display: none; }

  /* Show the floating toggle (positioning already defined in the base rule) */
  .floating-theme { display: inline-grid; }
  .floating-theme:active { transform: scale(.94); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1;
  transition: transform .15s ease, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #14110c; }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 6px 18px color-mix(in srgb, var(--gold) 40%, transparent); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ============================================================
   HERO
   Mobile : full-bleed image + black tint, text bottom-left,
            aligned to the content column, 40px bottom gap.
   Desktop: image ~56% on the RIGHT, thick solid black on the LEFT,
            soft gradient blend between them; text on the black,
            left edge aligned to the content column.
   ============================================================ */
.hero {
  position: relative;
  width: 100%;                      /* never let aspect-ratio inflate width past the viewport */
  max-width: 100%;
  overflow: hidden;
  background: #000;                 /* the solid-black base for the blend */
  border-bottom: 1px solid var(--line);
  min-height: 560px;
  max-height: 860px;
}
@media (max-height: 640px) and (orientation: landscape) {
  .hero { aspect-ratio: auto; min-height: 100vh; }
}

/* Image layer */
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Blend layer — mobile: even black tint for legibility */
.hero-blend {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.65) 100%);
}

/* Text layer — wrapped in .container so it aligns to the content column */
.hero-inner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2;
}
.hero-copy {
  width: 100%;
  max-width: 460px;                 /* never wider than a phone column */
  padding-bottom: 40px;             /* Option B bottom gap (mobile) */
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn { flex: 0 1 auto; }
.hero-inner .eyebrow { color: var(--gold-bright); }
.hero-inner h1 {
  color: #fdfaf2;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
  margin-bottom: .5em;
}
.hero-inner h1 span { color: var(--gold-bright); font-style: italic; }
.hero-inner .lede { color: #f0e9db; }

/* Light-outline button for use on the dark hero */
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(2px); }
.btn-outline-light:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

@media (min-width: 781px) {
  .hero {
    aspect-ratio: auto;
    min-height: 640px;
    max-height: none;
  }
  /* Image shrinks to the right ~56% of the hero, fully aligned right */
  .hero-img { left: auto; right: 0; width: 56%; }
  .hero-img img { object-position: center; }

  /* Thick solid black on the left (~48%) blending into the image (Option B) */
  .hero-blend {
    background: linear-gradient(90deg,
      #000 0%,
      #000 46%,
      rgba(0,0,0,.6) 58%,
      rgba(0,0,0,0) 74%);
  }
  .hero-copy { max-width: 560px; padding-bottom: 64px; }
  .hero-inner h1 { font-size: clamp(2.4rem, 3.8vw, 3.7rem); }
}


/* ---------- Brand strip (two major brands) ---------- */
.brand-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-card {
  position: relative; padding: 40px 32px; border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--gold) 14%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: border-color .2s, transform .2s, box-shadow .2s;
  overflow: hidden;
}
.brand-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 30%, transparent), transparent 70%);
  pointer-events: none;
}
.brand-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.brand-card h3 { margin-bottom: .3em; font-size: 1.5rem; }
.brand-card .arrow { color: var(--gold); font-weight: 600; margin-top: 18px; display: inline-block; }
@media (max-width: 640px) { .brand-cards { grid-template-columns: 1fr; } .brand-card { padding: 32px 26px; } }

/* ---------- Product grid & cards ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head .link-more { color: var(--gold); font-weight: 600; font-size: .92rem; }

.product-grid {
  display: grid; gap: 14px;
  /* Mobile-first: always 2 per row on phones */
  grid-template-columns: repeat(2, 1fr);
}
/* Small tablets: 3 across */
@media (min-width: 560px) {
  .product-grid { gap: 18px; grid-template-columns: repeat(3, 1fr); }
}
/* Desktop: auto-fill with a comfortable min width */
@media (min-width: 900px) {
  .product-grid { gap: 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
.product-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media {
  position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--bg-2);
  overflow: hidden;
  flex: 0 0 auto;      /* never stretch to fill extra card height */
}
/* Image is absolutely positioned to fill the box EXACTLY, so a non-square
   photo crops to cover instead of leaving a gap. This is reliable in mobile
   Safari where percentage height against an aspect-ratio box is not. */
.product-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; transition: transform .4s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
/* Placeholder text (no image) centered in the box */
.product-media .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'Fraunces', serif; color: var(--gold); opacity: .4; font-size: 1.4rem;
}
.badge {
  position: absolute; top: 10px; left: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.badge-sold { background: #14110c; color: #fff; }
.badge-low  { background: var(--gold); color: #14110c; }
.badge-feat { background: color-mix(in srgb, var(--gold) 18%, var(--surface)); color: var(--gold); border: 1px solid var(--gold); }

.product-body { padding: 12px 13px 15px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-cat { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.3; }
.product-name { font-family: 'Fraunces', serif; font-size: .92rem; font-weight: 500; line-height: 1.25; }
.product-price { font-weight: 600; color: var(--ink); margin-top: auto; font-size: .9rem; }
.product-price .from { font-size: .72rem; color: var(--ink-2); font-weight: 500; }
@media (min-width: 560px) {
  .product-body { padding: 14px 16px 18px; gap: 6px; }
  .product-cat { font-size: .72rem; }
  .product-name { font-size: 1.05rem; }
  .product-price { font-size: 1rem; }
}

/* ---------- Shop filter rail ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.filter-rail { position: sticky; top: 88px; }
.filter-group { margin-bottom: 26px; }
.filter-group h4 {
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filter-list a {
  display: block; padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--ink-2); transition: background .2s, color .2s;
}
.filter-list a:hover { color: var(--ink); background: var(--bg-2); }
.filter-list a.active { color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); font-weight: 600; }
.filter-list .brand-label { color: var(--ink); font-weight: 600; padding: 7px 10px; }

@media (max-width: 820px) {
  /* Stack: filters become compact wrapping chips above the product grid */
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .filter-rail { position: static; }
  .filter-rail-inner { display: block; }
  .filter-group { margin-bottom: 16px; }
  .filter-group h4 {
    margin-bottom: 10px; padding-bottom: 8px;
  }
  .filter-list {
    flex-direction: row; flex-wrap: wrap; gap: 8px;
  }
  .filter-list a {
    padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
    font-size: .84rem; white-space: nowrap;
  }
  .filter-list a.active { border-color: var(--gold); }
}

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.pd-gallery .main {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button {
  width: 66px; height: 66px; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); padding: 0;
}
.pd-thumbs button.active { border-color: var(--gold); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-price { font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--ink); margin: 8px 0 18px; }
.variant-row { margin: 20px 0; }
.variant-row label {
  display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 10px;
}
.variant-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-chip {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); font-size: .9rem; font-weight: 500;
  transition: border-color .2s, background .2s, color .2s;
}
.variant-chip:hover { border-color: var(--gold); }
.variant-chip.selected { background: var(--gold); color: #14110c; border-color: var(--gold); }
.variant-chip[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.qty-row { display: flex; align-items: center; gap: 16px; margin: 22px 0; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 40px; height: 42px; background: transparent; color: var(--ink); font-size: 1.2rem; border: 0; }
.qty-stepper button:hover { color: var(--gold); }
.qty-stepper input { width: 44px; height: 42px; text-align: center; border: 0; background: transparent; color: var(--ink); font-size: 1rem; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-note { font-size: .85rem; color: var(--ink-2); }
.stock-note.low { color: var(--gold); font-weight: 600; }
.stock-note.out { color: #c0392b; font-weight: 600; }
@media (max-width: 720px) { .pd-grid { grid-template-columns: 1fr; } }

/* ---------- Cart & checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 0 0 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.cart-table td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 14px; }
.cart-item .thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); background: var(--bg-2); object-fit: cover; border: 1px solid var(--line); }
.cart-item .meta .name { font-family: 'Fraunces', serif; font-size: 1rem; }
.cart-item .meta .variant { font-size: .82rem; color: var(--ink-2); }
.link-remove { color: var(--ink-2); font-size: .82rem; background: none; border: 0; padding: 0; text-decoration: underline; }
.link-remove:hover { color: #c0392b; }

.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.summary-row.total { font-family: 'Fraunces', serif; font-size: 1.3rem; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; }

.checkout-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font-family: inherit; font-size: .95rem; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 90px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--ink-2); margin-top: 5px; }

/* ---------- Notices ---------- */
.notice { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 20px; border: 1px solid; }
.notice-info { background: color-mix(in srgb, var(--gold) 10%, var(--bg)); border-color: var(--gold); color: var(--ink); }
.notice-error { background: color-mix(in srgb, #c0392b 8%, var(--bg)); border-color: #c0392b; color: var(--ink); }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .ph { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--gold); opacity: .5; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 56px; }
.footer-grid h4 { font-family: 'Inter', sans-serif; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 16px; }
.footer-grid a { display: block; color: var(--ink-2); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand .brand-mark { font-size: 1.5rem; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--ink-2); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.contact-detail { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-detail .ic { color: var(--gold); flex: none; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
