/* ==========================================================================
   DeCodeCase (decodecase.com) — Cozy High Street Design System
   100% original styles · SIL OFL Fonts · Cloudflare Pages Ready
   ========================================================================== */

:root {
  --bg: #fbf5ef;
  --bg-soft: #f4eadf;
  --surface: #ffffff;
  --surface-tint: #fffaf5;
  --ink: #2c1b12;
  --muted: #6b5347;
  --line: #ead9cc;
  --line-strong: #dcc3b0;

  --green: #2e5b47;
  --green-hover: #224636;
  --green-soft: #e3efe8;
  --green-ink: #1e4232;

  --pink: #e0648a;
  --pink-hover: #c94b72;
  --pink-soft: #fce6ed;

  --caramel: #c87d4b;
  --caramel-soft: #fbf0e4;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(44, 27, 18, 0.06);
  --shadow-md: 0 12px 32px rgba(44, 27, 18, 0.09);
  --shadow-lg: 0 22px 54px rgba(44, 27, 18, 0.14);

  --display: "Nunito", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", "Hiragino Sans", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1160px;
  --nav-h: 74px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.38rem); }
p { margin: 0; }

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(251, 245, 239, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--green);
  box-shadow: 0 3px 10px rgba(46, 91, 71, 0.25);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--bg-soft);
}

.nav-links a[aria-current="page"] {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.86rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.lang-btn:hover {
  border-color: var(--green);
  background: var(--surface-tint);
}

.lang-btn svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 172px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  z-index: 80;
}

.lang-switcher.open .lang-menu {
  display: grid;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.15s ease;
}

.lang-option:hover {
  background: var(--bg-soft);
}

.lang-option.active {
  background: var(--green-soft);
  color: var(--green-ink);
}

.lang-code {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(46, 91, 71, 0.28);
}

.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 10px 24px rgba(46, 91, 71, 0.34);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--surface-tint);
}

.btn-glass {
  background: rgba(44, 27, 18, 0.52);
  color: #ffffff;
  border-color: rgba(251, 245, 239, 0.55);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(44, 27, 18, 0.78);
  border-color: #ffffff;
}

.btn-pink {
  background: var(--pink);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(224, 100, 138, 0.28);
}

.btn-pink:hover {
  background: var(--pink-hover);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(251, 245, 239, 0.98);
  backdrop-filter: blur(14px);
  z-index: 55;
  padding: 24px;
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer a.mobile-link {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1.5px solid var(--line);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
}

/* ---------- Hero Section (Concept 01 Cozy High Street) ---------- */

.hero-section {
  padding-top: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #23150e;
  border: 1.5px solid rgba(44, 27, 18, 0.12);
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(28, 16, 10, 0.9) 0%, rgba(28, 16, 10, 0.45) 34%, rgba(28, 16, 10, 0.0) 58%),
    linear-gradient(to right, rgba(28, 16, 10, 0.35) 0%, rgba(28, 16, 10, 0) 55%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(22px, 3.6vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.hero-copy-box {
  max-width: 580px;
  display: grid;
  gap: 14px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(251, 245, 239, 0.16);
  border: 1px solid rgba(251, 245, 239, 0.32);
  backdrop-filter: blur(8px);
  color: #fff6ee;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.hero-subtitle {
  color: #fff8f0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 3 Highlight Cards (overlapping below hero like Board 01) */
.highlights-grid {
  position: relative;
  z-index: 5;
  margin-top: clamp(22px, 3vw, 30px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.highlight-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--caramel);
}

.highlight-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--caramel-soft);
  color: var(--caramel);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.highlight-text h3 {
  margin-bottom: 6px;
}

.highlight-text p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

.highlight-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 36px;
  height: 36px;
}

/* Intro Lead + Feature Pills */
.intro-strip {
  margin-top: 32px;
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  border: 1.5px solid var(--line);
  display: grid;
  gap: 18px;
  text-align: center;
  justify-items: center;
}

.intro-strip p {
  max-width: 68ch;
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 600;
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1.5px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.pill-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.pill-tag:nth-child(even)::before {
  background: var(--pink);
}

/* ---------- Shared Section Styling ---------- */

.section {
  padding-block: clamp(48px, 7vw, 84px);
}

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

.section-head {
  display: grid;
  gap: 10px;
  max-width: 68ch;
  margin-bottom: 32px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Interactive Gameplay Showcase ---------- */

.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.18s ease;
}

.tab-btn:hover {
  border-color: var(--green);
  color: var(--ink);
}

.tab-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(46, 91, 71, 0.24);
}

.tab-panel {
  display: none;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.2vw, 36px);
  box-shadow: var(--shadow-md);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.tab-panel.active {
  display: grid;
}

.tab-copy {
  display: grid;
  gap: 16px;
}

.tab-copy p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.tab-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

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

/* ---------- Screenshot Gallery & Lightbox ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  margin: 0;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink);
}

.gallery-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.4;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(24, 15, 10, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(1080px, 94vw);
  max-height: 88vh;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.lightbox-inner img {
  max-height: 76vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #fbf5ef;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(251, 245, 239, 0.14);
  border: 1px solid rgba(251, 245, 239, 0.35);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(251, 245, 239, 0.28);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Dynamic Updates / Devlog ---------- */

.updates-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
}

.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.update-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.update-card.hidden {
  display: none;
}

.update-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.update-body {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
}

.tag-badge {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  color: var(--pink-hover);
  font-weight: 800;
  font-size: 0.76rem;
}

.update-date {
  font-family: var(--mono);
  color: var(--muted);
}

.update-body p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* ---------- Studio & Privacy Trust Banner ---------- */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.studio-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  gap: 16px;
  align-content: start;
  box-shadow: var(--shadow-sm);
}

.studio-card p {
  color: var(--muted);
}

.studio-note {
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--caramel-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.trust-card {
  background: var(--green-soft);
  border: 1.5px solid #c5dfd0;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  gap: 16px;
  align-content: space-between;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--green-ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.trust-card p {
  color: #294639;
  font-size: 0.96rem;
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Inner Pages (Privacy, Data Deletion, Support, Terms, Press) ---------- */

.page-hero {
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.page-hero-inner {
  display: grid;
  gap: 12px;
  max-width: 72ch;
}

.meta-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.meta-chip {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.doc-wrap {
  padding-block: clamp(36px, 5vw, 64px);
  display: grid;
  gap: 24px;
  max-width: 860px;
}

.callout-tldr {
  background: var(--green-soft);
  border: 1.5px solid #c5dfd0;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: grid;
  gap: 8px;
}

.callout-tldr strong {
  font-family: var(--display);
  color: var(--green-ink);
  font-size: 1.1rem;
}

.doc-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.doc-card p {
  color: var(--muted);
}

.doc-card ul {
  margin: 4px 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--ink);
}

.doc-card a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Support & FAQ */
.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--green);
  color: #ffffff;
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Press Kit */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fact-cell {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}

.fact-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-val {
  font-weight: 800;
  font-size: 0.96rem;
}

.press-blurb {
  background: var(--surface-tint);
  border: 1.5px dashed var(--caramel);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 1.04rem;
  color: var(--ink);
}

.press-assets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.press-asset-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
}

.press-asset-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.press-asset-bar {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- Heritage Shop-Sign Green Footer ---------- */

.site-footer {
  background: var(--green);
  color: #f4ece3;
  margin-top: 32px;
  padding-block: 40px 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(251, 245, 239, 0.18);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-links a {
  color: #e6f2ec;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.83rem;
  color: rgba(244, 236, 227, 0.78);
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Toast notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.94rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 150;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .highlights-grid,
  .updates-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }
  .tab-panel,
  .studio-grid,
  .support-cards,
  .press-assets-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-cta-desktop {
    display: none;
  }
  .hero-overlay {
    position: static;
    background: #2c1b12;
    padding: 22px 20px 24px;
  }
  .hero-scrim {
    background: linear-gradient(to top, rgba(44, 27, 18, 0.45) 0%, transparent 40%);
  }
  .hero-ctas {
    width: 100%;
  }
  .hero-ctas .btn {
    flex: 1 1 160px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

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