/* CHECKMAÎTRÉX CHESS CLUB
Luxury Black & Gold Theme */
html {
  scroll-behavior: smooth;
}
:root {
--black: #0b0b0b;
--dark: #151515;
--gold: #d4af37;
--light-gold: #f1d77a;
--white: #f5f5f5;
--muted: #b8b8b8;
}

* {
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
margin: 0;
background: var(--black);
color: var(--white);
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
}

a {
color: var(--gold);
text-decoration: none;
transition: color 0.2s ease;
}

a:hover {
color: var(--light-gold);
}

header {
position: sticky;
top: 0;
z-index: 1000;
background: rgba(11, 11, 11, 0.97);
border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

nav {
max-width: 1200px;
margin: auto;
padding: 16px 5%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}

nav a {
color: var(--white);
font-weight: 600;
}

nav a:hover,
nav a.active {
color: var(--gold);
}

h1, h2, h3 {
line-height: 1.2;
}

h1, h2 {
color: var(--gold);
}

section {
padding: 64px 6%;
}

button,
.button {
display: inline-block;
padding: 12px 22px;
border: 1px solid var(--gold);
border-radius: 6px;
background: var(--gold);
color: var(--black);
font-weight: bold;
cursor: pointer;
transition: 0.2s ease;
}

button:hover,
.button:hover {
background: transparent;
color: var(--gold);
}

.card {
padding: 24px;
background: var(--dark);
border: 1px solid #333;
border-radius: 12px;
}

.card:hover {
border-color: var(--gold);
}

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

footer {
padding: 28px 6%;
text-align: center;
color: var(--muted);
background: #080808;
border-top: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 700px) {
nav {
padding: 14px 5%;
flex-wrap: wrap;
}

section {
padding: 44px 5%;
}

h1 {
font-size: 2rem;
}
}
/* =====================================
CHECKMAÎTRÉX SMOOTH DROPDOWN ANIMATION
===================================== */

/* Animate dropdown when opened */
.main-nav details[open] > .dropdown {
animation: dropdownOpen 0.25s ease both;
transform-origin: top;
}

/* Animate dropdown when closing */
.main-nav details.is-closing > .dropdown {
animation: dropdownClose 0.22s ease both;
pointer-events: none;
}

/* Dropdown entrance */
@keyframes dropdownOpen {
from {
opacity: 0;
transform: translateY(-8px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

/* Dropdown exit */
@keyframes dropdownClose {
from {
opacity: 1;
transform: translateY(0);
}

to {
opacity: 0;
transform: translateY(-8px);
}
}

/* Animate each dropdown link */
.main-nav details[open]:not(.is-closing) .dropdown a {
animation: menuItemFade 0.25s ease both;
}

.main-nav details[open] .dropdown a:nth-child(1) {
animation-delay: 0.03s;
}

.main-nav details[open] .dropdown a:nth-child(2) {
animation-delay: 0.06s;
}

.main-nav details[open] .dropdown a:nth-child(3) {
animation-delay: 0.09s;
}

.main-nav details[open] .dropdown a:nth-child(4) {
animation-delay: 0.12s;
}

@keyframes menuItemFade {
from {
opacity: 0;
transform: translateY(-5px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
.main-nav details[open] > .dropdown,
.main-nav details[open] .dropdown a,
.main-nav details.is-closing > .dropdown {
animation-duration: 0.01ms;
}
}
/* =====================================
   ABOUT THIS WEBSITE MODAL
   ===================================== */

.about-modal[hidden] {
  display: none;
}

.about-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.about-modal.is-visible {
  opacity: 1;
}

.about-modal-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  background: #0b0b0b;
  color: #f5f5f5;
  border: 1px solid #b99750;
  border-radius: 14px;
  box-shadow: 0 20px 60px #000b;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
  outline: none;
}

.about-modal.is-visible .about-modal-panel {
  transform: translateY(0) scale(1);
}

.about-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #80652f;
  border-radius: 50%;
  background: #171717;
  color: #f1d77a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.about-modal-close:hover {
  background: #d4af37;
  color: #0b0b0b;
}

.about-modal-close:focus-visible {
  outline: 2px solid #f1d77a;
  outline-offset: 3px;
}

.about-modal-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 25px;
}

.about-modal-brand img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  object-fit: contain;
}

.about-modal-eyebrow {
  margin: 0 0 5px;
  color: #d4af37;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.about-modal-brand h2 {
  margin: 0;
  color: #f1d77a;
  font-size: clamp(1.2rem, 4vw, 1.65rem);
}

.about-modal-subtitle {
  margin: 5px 0 0;
  color: #b8b8b8;
  font-size: 0.85rem;
}

.about-modal-divider {
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(
    to right,
    transparent,
    #b99750,
    transparent
  );
}

.about-modal-content h3 {
  margin: 0 0 10px;
  color: #f1d77a;
  font-size: 1.1rem;
}

.about-modal-content > p {
  color: #d0d0d0;
  font-size: 0.94rem;
  line-height: 1.75;
}

.about-modal-details {
  display: grid;
  gap: 0;
  margin: 22px 0;
  padding: 4px 16px;
  background: #171717;
  border: 1px solid #30291c;
  border-radius: 10px;
}

.about-modal-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.about-modal-detail + .about-modal-detail {
  border-top: 1px solid #39332a;
}

.about-modal-icon {
  width: 28px;
  flex-shrink: 0;
  color: #d4af37;
  font-size: 1.35rem;
  text-align: center;
}

.about-modal-label {
  color: #b8b8b8;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.about-modal-detail p {
  margin: 3px 0 0;
  color: #f5f5f5;
  overflow-wrap: anywhere;
}

.about-modal-content .about-modal-credits-title {
  margin-top: 24px;
}

.about-modal-content .about-modal-created {
  margin: 0;
  color: #b8b8b8;
  font-size: 0.85rem;
}

.about-modal-content .about-modal-creator {
  margin: 2px 0 10px;
  color: #d4af37;
  font-size: 1.3rem;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.about-modal-content .about-modal-acknowledgment {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.about-modal-footer {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.about-modal-footer p {
  margin: 0 0 8px;
  color: #f1d77a;
  font-weight: bold;
}

.about-modal-footer small {
  color: #b8b8b8;
  font-size: 0.72rem;
}

@media (max-width: 480px) {
  .about-modal {
    padding: 12px;
  }

  .about-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
    border-radius: 12px;
  }

  .about-modal-brand {
    gap: 11px;
    padding-right: 20px;
  }

  .about-modal-brand img {
    width: 58px;
    height: 58px;
  }

  .about-modal-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .about-modal-subtitle {
    font-size: 0.78rem;
  }

  .about-modal-divider {
    margin: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-modal,
  .about-modal-panel {
    transition: none;
  }
}
/* =====================================
   REPORT A PROBLEM MODAL
   ===================================== */

.report-modal[hidden],
.report-status[hidden],
.report-security-note[hidden] {
  display: none;
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.report-modal.is-visible {
  opacity: 1;
}

.report-modal-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  background: #0b0b0b;
  color: #f5f5f5;
  border: 1px solid #b99750;
  border-radius: 14px;
  box-shadow: 0 20px 60px #000b;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
  outline: none;
}

.report-modal.is-visible .report-modal-panel {
  transform: translateY(0) scale(1);
}

.report-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #80652f;
  border-radius: 50%;
  background: #171717;
  color: #f1d77a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.report-modal-close:hover {
  background: #d4af37;
  color: #0b0b0b;
}

.report-modal-close:focus-visible,
.report-modal-panel button:focus-visible,
.report-modal-panel input:focus-visible,
.report-modal-panel select:focus-visible,
.report-modal-panel textarea:focus-visible {
  outline: 2px solid #f1d77a;
  outline-offset: 3px;
}

.report-eyebrow {
  margin: 0 45px 6px 0;
  color: #d4af37;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.report-modal-panel h2 {
  margin: 0;
  color: #f1d77a;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
}

.report-intro {
  margin: 10px 0 0;
  color: #b8b8b8;
  font-size: 0.92rem;
  line-height: 1.7;
}

.report-divider {
  height: 1px;
  margin: 20px 0;
  background: linear-gradient(
    to right,
    transparent,
    #b99750,
    transparent
  );
}

#reportForm {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#reportForm label {
  margin-top: 8px;
  color: #f1d77a;
  font-size: 0.9rem;
  font-weight: bold;
}

#reportForm label span {
  color: #f1d77a;
}

#reportForm label small {
  color: #b8b8b8;
  font-size: 0.8rem;
  font-weight: normal;
}

#reportForm input,
#reportForm select,
#reportForm textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #50452e;
  border-radius: 7px;
  background: #151515;
  color: #f5f5f5;
  font: inherit;
  font-size: 0.92rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

#reportForm input:focus,
#reportForm select:focus,
#reportForm textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

#reportForm select {
  cursor: pointer;
}

#reportForm select option {
  background: #151515;
  color: #f5f5f5;
}

#reportForm textarea {
  min-height: 120px;
  resize: vertical;
}

#reportForm input::placeholder,
#reportForm textarea::placeholder {
  color: #858585;
}

#reportForm select:invalid {
  color: #858585;
}

#reportExtraFields {
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: reportFieldIn 0.22s ease both;
}

#reportExtraFields:empty {
  display: none;
}

#reportExtraFields input {
  margin-bottom: 2px;
}

@keyframes reportFieldIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.report-security-note {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #80652f;
  border-radius: 7px;
  background: #211b0e;
  color: #f1d77a;
  font-size: 0.84rem;
  line-height: 1.6;
}

.report-privacy {
  margin: 3px 0 8px;
  color: #a8a8a8;
  font-size: 0.78rem;
  line-height: 1.6;
}

.report-status {
  padding: 12px;
  border: 1px solid #50452e;
  border-radius: 7px;
  background: #171717;
  color: #f5f5f5;
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.report-status.is-success {
  border-color: #668b54;
  color: #c6e7b8;
}

.report-status.is-error {
  border-color: #a45b52;
  color: #ffb9b0;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.report-actions button {
  min-height: 44px;
}

.report-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

#reportForm .report-cancel {
  background: transparent;
  color: #d4af37;
}

#reportForm .report-cancel:hover {
  background: #292316;
  color: #f1d77a;
}

@media (max-width: 480px) {
  .report-modal {
    padding: 12px;
  }

  .report-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
    border-radius: 12px;
  }

  .report-divider {
    margin: 16px 0;
  }

  .report-actions {
    flex-direction: column-reverse;
  }

  .report-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-modal,
  .report-modal-panel,
  #reportForm input,
  #reportForm select,
  #reportForm textarea {
    transition: none;
  }

  #reportExtraFields {
    animation: none;
  }
}
/* =====================================
   CHECKMAÎTRÉX ANIMATION PACKAGE
   ===================================== */

/* 1. Smooth page transitions */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: pageFadeOut 0.2s ease both;
}

::view-transition-new(root) {
  animation: pageFadeIn 0.35s ease both;
}

@keyframes pageFadeOut {
  to {
    opacity: 0;
    transform: translateY(-5px);
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. Gold glow for links and buttons */
a,
button,
.button {
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

button:hover,
.button:hover,
a.button:hover {
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.3);
}

button:active,
.button:active {
  transform: scale(0.97);
}

/* 3. Improve card hover animations */
.card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
}

/* 4. Scroll reveal for homepage content */
@supports (animation-timeline: view()) {
  .welcome > .eyebrow,
  .welcome > h2,
  .welcome > p,
  .preview-grid .card {
    animation: scrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

@keyframes scrollReveal {
  from {
    opacity: 0.25;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility: respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =====================================
   VISIBLE WEBSITE ANIMATIONS
   ===================================== */

/* Page entrance — safe fallback */
body {
  opacity: 1;
  transition: opacity 0.35s ease;
}

body.page-loaded {
  opacity: 1;
}

body.page-leaving {
  opacity: 0;
}

/* Gold glow */
a:hover,
button:hover,
.button:hover {
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.28);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Keep dropdown and modal layers visible */
header,
.about-modal,
.report-modal {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .reveal,
  a,
  button,
  .button {
    transition: none !important;
  }

  body {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* =========================================
   CHECKMAÎTRÉX — OUR STORY PAGE REDESIGN
   Only affects our-story.html
   ========================================= */

body.story-page {
  background: #0b0b0b;
  color: #f5f5f5;
  overflow-x: hidden;
}

/* Smaller, cleaner header */
.story-page .story-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(16px, 5vw, 64px);
  background: rgba(11, 11, 11, 0.96);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(12px);
}

.story-page .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #f5f5f5;
}

.story-page .brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  max-width: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.story-page .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.story-page .brand-text strong {
  color: #d4af37;
  font-size: 0.92rem;
  letter-spacing: 1px;
}

.story-page .brand-text small {
  margin-top: 3px;
  color: #b8b8b8;
  font-size: 0.65rem;
  letter-spacing: 2px;
}

/* Navigation */
.story-page .story-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  margin: 0;
  padding: 0;
}

.story-page .story-nav > a,
.story-page .story-nav summary {
  color: #f5f5f5;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.story-page .story-nav > a:hover,
.story-page .story-nav summary:hover {
  color: #d4af37;
}

.story-page .story-dropdown {
  position: relative;
}

.story-page .story-dropdown summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.story-page .story-dropdown summary::-webkit-details-marker {
  display: none;
}

.story-page .story-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 8px;
  background: #151515;
  border: 1px solid #80652f;
  border-radius: 8px;
  box-shadow: 0 12px 30px #0009;
}

.story-page .story-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 5px;
  color: #f5f5f5;
  font-size: 0.87rem;
}

.story-page .story-dropdown-menu a:hover,
.story-page .story-dropdown-menu a[aria-current="page"] {
  background: #262012;
  color: #f1d77a;
}

/* Shared text layout */
.story-page .story-eyebrow {
  margin: 0 0 12px;
  color: #d4af37;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  line-height: 1.7;
}

.story-page .story-section-content {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.story-page .story-section h2,
.story-page .story-closing h2 {
  margin: 0 0 22px;
  color: #f1d77a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 500;
}

.story-page .story-section p:not(.story-eyebrow),
.story-page .story-closing p:not(.story-eyebrow) {
  color: #c9c9c9;
  font-size: 1rem;
  line-height: 1.95;
}

/* Hero with chess photography */
.story-page .story-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 470px;
  padding: clamp(64px, 10vw, 120px) 7%;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.97) 0%,
      rgba(5, 5, 5, 0.84) 48%,
      rgba(5, 5, 5, 0.38) 100%
    ),
    url("https://images.unsplash.com/photo-1586165368502-1bad197a6461?auto=format&fit=crop&w=1800&q=85")
    center 55% / cover no-repeat;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.story-page .story-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.story-page .story-hero h1 {
  margin: 0 0 20px;
  color: #f1d77a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.story-page .story-hero-content > p:not(.story-eyebrow) {
  max-width: 580px;
  margin: 0 0 28px;
  color: #e0e0e0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.9;
}

.story-page .story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid #d4af37;
  border-radius: 5px;
  background: #d4af37;
  color: #0b0b0b;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.story-page .story-button:hover {
  background: transparent;
  color: #f1d77a;
}

/* Story sections */
.story-page .story-section {
  padding: clamp(56px, 8vw, 96px) 7%;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.story-page .story-section-alt {
  background:
    radial-gradient(
      ellipse at 90% 50%,
      rgba(212, 175, 55, 0.07),
      transparent 55%
    ),
    #111111;
}

.story-page .story-section-content {
  position: relative;
}

.story-page .story-section-content::before {
  display: block;
  width: 54px;
  height: 2px;
  margin-bottom: 24px;
  background: #d4af37;
  content: "";
}

/* Closing section */
.story-page .story-closing {
  padding: clamp(64px, 9vw, 110px) 7%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(114, 89, 28, 0.22),
      transparent 68%
    ),
    #090909;
  text-align: center;
}

.story-page .story-closing-content {
  max-width: 760px;
  margin: 0 auto;
}

.story-page .story-closing h2 {
  margin-bottom: 18px;
}

.story-page .story-closing p:not(.story-eyebrow) {
  max-width: 620px;
  margin: 0 auto 28px;
}

.story-page .story-closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.story-page .story-button-outline {
  background: transparent;
  color: #f1d77a;
}

.story-page .story-button-outline:hover {
  background: #d4af37;
  color: #0b0b0b;
}

/* Footer */
.story-page .story-footer {
  padding: 24px 16px;
  background: #080808;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  color: #a8a8a8;
  font-size: 0.82rem;
  text-align: center;
}

.story-page .story-footer p {
  margin: 0;
}

/* Reveal sections without hiding content if JS is unavailable */
.story-page .story-section,
.story-page .story-closing {
  opacity: 1;
  transform: none;
}

.story-page .story-section.is-visible,
.story-page .story-closing.is-visible {
  animation: storySectionReveal 0.65s ease both;
}

@keyframes storySectionReveal {
  from {
    opacity: 0.65;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet and mobile */
@media (max-width: 850px) {
  .story-page .story-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 5%;
  }

  .story-page .brand-logo {
    width: 36px;
    height: 36px;
    max-width: 36px;
  }

  .story-page .story-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .story-page .story-nav > a,
  .story-page .story-nav summary {
    font-size: 0.82rem;
  }

  .story-page .story-dropdown-menu {
    top: calc(100% + 8px);
  }

  .story-page .story-hero {
    min-height: 390px;
    background-position: 58% center;
  }
}

@media (max-width: 480px) {
  .story-page .story-header {
    gap: 10px;
  }

  .story-page .brand-text strong {
    font-size: 0.8rem;
  }

  .story-page .brand-text small {
    font-size: 0.58rem;
  }

  .story-page .story-nav {
    gap: 10px 14px;
  }

  .story-page .story-hero {
    min-height: 370px;
    padding: 64px 6%;
    background-position: 60% center;
  }

  .story-page .story-hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  .story-page .story-section {
    padding: 52px 7%;
  }

  .story-page .story-section p:not(.story-eyebrow),
  .story-page .story-closing p:not(.story-eyebrow) {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .story-page .story-closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .story-page .story-closing-actions .story-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-page .story-section.is-visible,
  .story-page .story-closing.is-visible {
    animation: none;
  }
}
.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
}

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

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 1000;
}

.nav-dropdown[open] .dropdown-menu {
  display: flex;
  flex-direction: column;
}
;
}
