/*
Theme Name: Scandic Group
Theme URI: https://scandicgroup.co.uk/
Author: Scandic Group Ltd
Author URI: https://scandicgroup.co.uk/
Description: Bespoke luxury corporate theme featuring scroll-driven 3D particle morphing, geometric constellations, and complete corporate identity for Scandic Group.
Version: 1.0.0
License: Proprietary
Text Domain: scandic-group
*/

:root {
  /* Colors */
  --color-void: #000000;
  --color-bg-deep: #050b14;
  --color-surface: #0a1322;
  --color-surface-hover: #0f1c32;
  --color-bone-white: #ffffff;
  --color-ash-gray: #9ba6b2;
  --color-silver-mist: #d1d9e2;
  --color-gold: #d4af37;
  --color-gold-bright: #f5de95;
  --color-gold-deep: #b58d22;
  --color-navy-deep: #01204a;
  --color-navy-accent: #0f3878;
  --color-azure: #2e7dd1;
  --color-border: rgba(212, 175, 55, 0.2);
  --color-border-subtle: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-main: 'PPNeueMontreal', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-caption: 12px;
  --text-nav-label: 13px;
  --text-body: 17px;
  --text-heading-sm: 22px;
  --text-heading-md: 28px;
  --text-heading-lg: clamp(34px, 4.8vw, 64px);
  --text-display: clamp(42px, 6.8vw, 92px);

  /* Spacing */
  --spacing-6: 6px;   --spacing-12: 12px; --spacing-18: 18px; --spacing-24: 24px;
  --spacing-30: 30px; --spacing-36: 36px; --spacing-48: 48px; --spacing-60: 60px; --spacing-96: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html.home-snap {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

body {
  background: var(--color-void);
  color: var(--color-bone-white);
  font-family: var(--font-main);
  font-feature-settings: "ss01" on;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sabit WebGL Sahnesi */
#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-24) 48px;
  background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 70%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding 0.3s ease, background 0.3s ease;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-bone-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
}

.nav__menu-container {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav__links > li {
  position: relative;
}

.nav__links a {
  font-size: var(--text-nav-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ash-gray);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
  display: inline-block;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.nav__links > li > a:hover,
.nav__links > li.current-menu-item > a,
.nav__links > li.current-menu-ancestor > a,
.nav__links > li.active-nav > a {
  color: var(--color-bone-white);
}

.nav__links > li > a:hover::after,
.nav__links > li.current-menu-item > a::after,
.nav__links > li.current-menu-ancestor > a::after,
.nav__links > li.active-nav > a::after {
  width: 100%;
}

/* Nav Dropdown */
.nav__links .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: rgba(10, 19, 34, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 0;
  list-style: none;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 110;
}

.nav__links > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__links .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-silver-mist);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__links .sub-menu li a::after { display: none; }

.nav__links .sub-menu li a:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-gold-bright);
}

/* Nav Toggle for Mobile */
.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-bone-white);
}

/* ---- Buttons ---- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #d4af37 0%, #b88f28 100%);
  color: #060d17 !important;
  font-size: var(--text-nav-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-pill:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.45);
}

.btn-pill--secondary {
  background: transparent;
  color: var(--color-gold-bright) !important;
  border: 1px solid var(--color-gold);
  box-shadow: none;
}

.btn-pill--secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.2);
}

.btn-pill--lg {
  padding: 16px 36px;
  font-size: 14px;
}

.link-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--color-silver-mist);
  text-decoration: none;
  font-size: var(--text-nav-label);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.link-ghost:hover {
  color: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
}

/* ---- Vertical Slide Pagination Dots (Front Page) ---- */
.slider-dots {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 40;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.slider-dot:hover {
  border-color: var(--color-gold-bright);
  background: rgba(212, 175, 55, 0.3);
  transform: scale(1.3);
}

.slider-dot.active {
  background: var(--color-gold);
  border-color: var(--color-gold-bright);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.85);
  transform: scale(1.35);
}

/* ---- Chapters (Scroll Snap Section on Front Page) ---- */
.chapter {
  position: relative;
  z-index: 10;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  box-sizing: border-box;
  overflow: hidden;
}

.chapter__content {
  max-width: 580px;
  background: radial-gradient(ellipse at left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 70%, transparent 100%);
  padding: var(--spacing-24) 0;
  border-radius: 16px;
}

.chapter--left .chapter__content {
  margin-right: auto;
  background: radial-gradient(ellipse at left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 70%, transparent 100%);
}

.chapter--right .chapter__content {
  margin-left: auto;
  background: radial-gradient(ellipse at right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 70%, transparent 100%);
}

.chapter__label {
  font-size: var(--text-nav-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: var(--spacing-18);
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  border-left: 2px solid var(--color-gold);
}

.display {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--spacing-24);
}

.display strong,
.heading-lg strong,
.page-hero__title strong {
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 30%, var(--color-gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-lg {
  font-size: var(--text-heading-lg);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-24);
}

.tagline {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-gold-bright);
  margin-bottom: var(--spacing-18);
}

.body {
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-silver-mist);
  max-width: 520px;
  margin-bottom: var(--spacing-30);
}

.disclaimer-note {
  font-size: 12px;
  line-height: 1.55;
  color: #7b8897;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-18);
  margin-top: var(--spacing-18);
}

.chapter__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-24);
  flex-wrap: wrap;
}

/* ==========================================================
   INNER PAGES LAYOUT & STYLING
   ========================================================== */
.site-main {
  position: relative;
  z-index: 10;
  flex: 1 0 auto;
  padding-top: 120px;
  padding-bottom: 80px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: 860px;
}

/* Page Hero */
.page-hero {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 60px;
}

.page-hero__badge {
  font-size: var(--text-nav-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  padding: 5px 14px;
  border-radius: 12px;
  border-left: 2px solid var(--color-gold);
  margin-bottom: 20px;
}

.page-hero__title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.page-hero__subtitle {
  font-size: 21px;
  font-weight: 300;
  color: var(--color-gold-bright);
  line-height: 1.5;
  max-width: 780px;
}

/* Breadcrumbs (Rank Math Integration) */
.breadcrumbs-container,
.rank-math-breadcrumb {
  font-size: 13px;
  color: var(--color-silver-mist);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.rank-math-breadcrumb a {
  color: var(--color-ash-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rank-math-breadcrumb a:hover {
  color: var(--color-gold);
}

.rank-math-breadcrumb .separator {
  margin: 0 8px;
  color: var(--color-gold);
  opacity: 0.8;
}

.rank-math-breadcrumb .last {
  color: var(--color-bone-white);
  font-weight: 500;
}

/* Content Layout (Article + Sidebar) */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}

.page-layout--full {
  grid-template-columns: 1fr;
}

/* Prose Typography */
.prose {
  color: var(--color-silver-mist);
  font-size: var(--text-body);
  line-height: 1.75;
  font-weight: 300;
}

.prose p {
  margin-bottom: 24px;
}

.prose h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-bone-white);
  letter-spacing: -0.02em;
  margin: 48px 0 20px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.prose h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-gold-bright);
  margin: 36px 0 16px;
}

.prose h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-bone-white);
  margin: 24px 0 12px;
}

.prose ul, .prose ol {
  margin: 0 0 28px 24px;
}

.prose li {
  margin-bottom: 10px;
}

.prose strong {
  color: var(--color-bone-white);
  font-weight: 600;
}

/* Feature Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.card {
  background: rgba(10, 19, 34, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.card__icon {
  font-size: 28px;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: inline-block;
}

.card__number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-bone-white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-ash-gray);
  margin-bottom: 20px;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(1, 32, 74, 0.6) 0%, rgba(10, 19, 34, 0.8) 100%);
  border: 1px solid var(--color-gold);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  margin: 40px 0;
}

.highlight-box h3 {
  font-size: 22px;
  color: var(--color-gold-bright);
  margin-top: 0;
  margin-bottom: 14px;
}

/* Sidebar Components */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.widget {
  background: rgba(10, 19, 34, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.widget__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.widget__links {
  list-style: none;
}

.widget__links li {
  margin-bottom: 12px;
}

.widget__links a {
  color: var(--color-silver-mist);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.widget__links a:hover {
  color: var(--color-gold-bright);
  padding-left: 4px;
}

/* ==========================================================
   FORMS STYLING (General Enquiries & Project Proposals)
   ========================================================== */
.scandic-form {
  background: rgba(10, 19, 34, 0.85);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(14px);
  margin-top: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-bone-white);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group label span.req {
  color: var(--color-gold);
  margin-left: 4px;
}

.form-group .form-hint {
  font-size: 12px;
  color: var(--color-ash-gray);
  margin-top: 6px;
  display: block;
}

.form-control {
  width: 100%;
  background: rgba(5, 11, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-bone-white);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  border-color: var(--color-gold-bright);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.form-feedback {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(21, 132, 110, 0.2);
  border: 1px solid #15846e;
  color: #55ecc9;
}

.form-feedback.error {
  display: block;
  background: rgba(200, 40, 40, 0.2);
  border: 1px solid #d94545;
  color: #ff9999;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative;
  z-index: 10;
  background: #02050a;
  border-top: 1px solid var(--color-border);
  color: var(--color-ash-gray);
  font-size: 13px;
  margin-top: auto;
}

body.scandic-frontpage .footer {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.footer__top {
  padding: 60px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__col-brand .footer__logo {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-silver-mist);
  max-width: 380px;
  margin-bottom: 20px;
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--color-ash-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-gold-bright);
}

.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #64748b;
  max-width: 780px;
}

/* ---- Reveal Animations ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { padding: 16px 20px; }
  .nav__links { display: none; }
  .nav__menu-container { display: none; }
  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-bone-white);
  }
}

/* Mobile Nav Overlay & State */
body.mobile-nav-active {
  overflow: hidden !important;
  touch-action: none;
}

body.mobile-nav-active .nav {
  background: #060d17 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
}

body.mobile-nav-active .nav__toggle {
  color: var(--color-gold);
}

.nav__toggle line {
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-nav-active .nav__toggle .line-top {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-active .nav__toggle .line-mid {
  opacity: 0;
}

.mobile-nav-active .nav__toggle .line-bot {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .mobile-nav-active .nav__menu-container {
    display: flex !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 72px) !important;
    height: calc(100dvh - 72px) !important;
    background: #060d17 !important;
    background: linear-gradient(180deg, #060d17 0%, #0a1322 100%) !important;
    flex-direction: column !important;
    padding: 24px 28px 60px !important;
    transform: none !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
  }

  .mobile-nav-active .nav__links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-nav-active .nav__links > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    width: 100%;
  }

  .mobile-nav-active .nav__links > li > a {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-bone-white);
    display: block;
    padding: 6px 0;
  }

  .mobile-nav-active .nav__links .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(212, 175, 55, 0.05) !important;
    border: none !important;
    border-left: 2px solid var(--color-gold) !important;
    border-radius: 4px;
    padding: 8px 0 8px 16px !important;
    margin: 8px 0 6px 0;
    min-width: 100%;
  }

  .mobile-nav-active .nav__links .sub-menu li a {
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-silver-mist);
    display: block;
  }
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .chapter {
    padding: 0 20px;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
  }
  .chapter--right .chapter__content { margin: 0; }
  .chapter__content {
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    padding: var(--spacing-18) var(--spacing-16);
    border-radius: 16px;
    max-height: 85vh;
    max-height: 85dvh;
    overflow-y: auto;
  }
  .body { font-size: 14px; line-height: 1.55; }
  .heading-lg { font-size: 26px; }
  .display { font-size: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Mobile Slider Dots (subtle, slim on the right margin) */
  .slider-dots {
    display: flex !important;
    right: 8px;
    gap: 8px;
  }
  .slider-dot {
    width: 6px;
    height: 6px;
  }
  .slider-dot.active {
    height: 18px;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .btn-pill:hover { transform: none; }
}
