@charset "UTF-8";

/* ==========================================================================
   HerRise Alliance — MHT Reference Editorial Architecture
   Palette: Midnight Royal Navy & Brushed Champagne Gold
   ========================================================================== */

:root {
  /* Dark Canvas (Default Mode) */
  --paper: #050B18;
  --surface: #0A1428;
  --surface-raised: #0F1D38;
  --ink: #FDFEFF;
  --ink-secondary: #CBD5E1;
  --muted: #94A3B8;
  --lead-color: #CBD5E1;
  --line: rgba(229, 186, 85, 0.18);
  --line-strong: rgba(229, 186, 85, 0.38);
  
  /* Brand Accent: Brushed Champagne Gold */
  --gold: #E5BA55;
  --gold-light: #F5D78E;
  --gold-deep: #C59B27;
  --gold-muted: rgba(229, 186, 85, 0.14);
  --gold-glow: rgba(229, 186, 85, 0.28);
  --gold-text: var(--gold);
  
  /* Section-specific tonal colors */
  --nav-bg: rgba(5, 11, 24, 0.94);
  --focus-bg: #071224;
  --focus-line: rgba(229, 186, 85, 0.22);
  --focus-text: #CBD5E1;
  --focus-muted: #94A3B8;
  
  --contact-bg: #E5BA55;
  --contact-ink: #050B18;
  --contact-lead: #18202F;
  --contact-line: rgba(5, 11, 24, 0.18);

  /* Typography */
  --serif: "Newsreader", "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Motion & Radii */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-sm: 4px;
  --r-md: 8px;
  --r-full: 9999px;
}

/* Light Canvas Override */
[data-theme="light"] {
  --paper: #F8F7F2;
  --surface: #EEE9E0;
  --surface-raised: #FFFFFF;
  --ink: #050B18;
  --ink-secondary: #2A3630;
  --muted: #657069;
  --lead-color: #38453F;
  --line: #D7D9D2;
  --line-strong: #B8871E;
  
  --gold: #B8871E;
  --gold-light: #E5BA55;
  --gold-deep: #7D5B08;
  --gold-muted: rgba(184, 135, 30, 0.12);
  --gold-glow: rgba(184, 135, 30, 0.22);
  --gold-text: #7D5B08; /* 5.81:1 contrast against #F8F7F2 (WCAG AA passing) */
  
  --nav-bg: rgba(248, 247, 242, 0.94);
  --focus-bg: #050B18;
  --focus-line: rgba(229, 186, 85, 0.25);
  --focus-text: #CBD5E1;
  --focus-muted: #94A3B8;
  
  --contact-bg: #E5BA55;
  --contact-ink: #050B18;
  --contact-lead: #18202F;
  --contact-line: rgba(5, 11, 24, 0.18);
}

/* ==========================================================================
   Global Reset & Base
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* Accessibility: Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--gold);
  z-index: 1000;
  font-weight: 600;
  border-radius: var(--r-sm);
}

.skip:focus {
  left: 1rem;
}

/* Accessibility: High-contrast keyboard focus indicators (WCAG AA 2.4.7 & 2.4.11) */
:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[role="switch"]:focus-visible,
[role="tab"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[data-theme="light"] button:focus-visible,
[data-theme="light"] a:focus-visible,
[data-theme="light"] input:focus-visible,
[data-theme="light"] [role="switch"]:focus-visible,
[data-theme="light"] [role="tab"]:focus-visible {
  outline-color: var(--gold-deep);
}

/* ==========================================================================
   Global Sticky Header & Navigation
   ========================================================================== */

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.25s var(--ease-out);
}

.brand:hover .nav-logo-img {
  transform: scale(1.06);
}

.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--paper);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.brand:hover .mark {
  transform: scale(1.05);
  border-color: var(--gold-light);
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.nav nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
  position: relative;
}

.nav nav a:not(.nav-cta):hover {
  color: var(--gold);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #050B18 !important;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.theme-toggle:hover {
  border-color: var(--gold);
  background: var(--gold-muted);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-moon {
  display: none;
}

[data-theme="light"] .icon-sun {
  display: none;
}

[data-theme="light"] .icon-moon {
  display: block;
}

.menu {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 710px;
  padding: 110px max(8vw, 30px) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.eyebrow, .kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-text);
  margin: 0 0 16px 0;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 15px 0 32px;
  max-width: 1200px;
  font-weight: 500;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  max-width: 740px;
  color: var(--lead-color);
  margin: 0 0 32px 0;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #050B18;
  border: 1px solid var(--gold);
}

.button.primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.button.text {
  color: var(--ink);
  padding: 14px 0;
  border: none;
  background: transparent;
}

.button.text span {
  font-size: 1em;
  transition: transform 0.25s var(--ease-out);
}

.button.text:hover {
  color: var(--gold);
}

.button.text:hover span {
  transform: translate(3px, -3px);
}

.proof {
  border-top: 1px solid var(--line);
  margin-top: 95px;
  padding-top: 20px;
  display: flex;
  gap: 45px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ==========================================================================
   Section 01: Intro / Positioning Statement
   ========================================================================== */

.intro, .about {
  display: grid;
  grid-template-columns: 60px minmax(280px, 1.25fr) minmax(260px, 0.75fr);
  gap: 5vw;
  padding: 110px max(8vw, 30px);
  border-top: 1px solid var(--line);
}

.section-no {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
}

.intro h2, .section-head h2, .about h2, .contact h2, .focus h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
  color: var(--ink);
}

.intro > p:last-child, .about > div p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 600px;
  margin: 0 0 20px 0;
}

/* ==========================================================================
   Section 02: Services / Core Tracks
   ========================================================================== */

.services, .method {
  padding: 110px max(8vw, 30px);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 5vw;
  margin-bottom: 65px;
}

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-index {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.audience {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 12px;
}

.service h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  max-width: 550px;
  color: var(--ink);
}

.service > div:last-child > p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0 0 24px;
}

.service ul {
  padding-left: 20px;
  color: var(--ink-secondary);
  margin: 24px 0 30px;
}

.service li {
  margin: 10px 0;
  line-height: 1.5;
}

.service a {
  display: inline-block;
  color: var(--gold-text);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.service a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

[data-theme="light"] .service a:hover {
  color: var(--gold-deep);
}

/* ==========================================================================
   Section 03: Focus / Where we are building depth
   ========================================================================== */

.focus {
  background: var(--focus-bg);
  color: var(--ink);
  padding: 110px max(8vw, 30px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.light {
  color: var(--focus-muted) !important;
}

.focus h2 {
  color: #FDFEFF;
}

.focus-copy > p:last-child {
  color: var(--focus-text);
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 24px;
}

.focus-list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--focus-line);
}

.focus-list > div:first-child {
  border-top: none;
}

.focus-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-top: 6px;
}

.focus-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  margin: 0;
  color: #FDFEFF;
}

.focus-list p {
  grid-column: 2;
  color: var(--focus-text);
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

/* ==========================================================================
   Section 04: Method / How we work
   ========================================================================== */

.method ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.method li {
  padding: 28px 24px 20px 0;
  border-right: 1px solid var(--line);
  min-height: 200px;
}

.method li + li {
  padding-left: 24px;
}

.method li:last-child {
  border-right: 0;
}

.method li span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.method strong,
.method .method-stage-title {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  margin-top: 42px;
  color: var(--ink);
  line-height: 1.1;
}

.method li p {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.55;
  margin: 10px 0 0;
}

/* ==========================================================================
   Section 05: About / Founder-led
   ========================================================================== */

.about blockquote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.35;
  margin: 0;
  border-left: 1px solid var(--gold);
  padding-left: 25px;
  color: var(--ink);
  align-self: start;
}

.about cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 28px;
}

.founder-meta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.founder-meta-wrap cite {
  margin-top: 0;
}

.founder-meta-wrap cite strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  display: block;
}

.founder-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 06: Contact & Conversation
   ========================================================================== */

.contact {
  text-align: center;
  background: var(--contact-bg);
  color: var(--contact-ink);
  padding: 110px 24px;
  border-top: 1px solid var(--line);
}

.contact .eyebrow {
  color: var(--contact-ink);
  opacity: 0.85;
}

.contact h2 {
  max-width: 850px;
  margin: 18px auto;
  color: var(--contact-ink);
}

.contact > p:not(.eyebrow) {
  max-width: 630px;
  margin: 24px auto 36px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--contact-lead);
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.inverse {
  background: #050B18 !important;
  color: #FDFEFF !important;
  border-color: #050B18 !important;
}

.inverse:hover {
  background: #0A1428 !important;
  border-color: #0A1428 !important;
  color: var(--gold) !important;
}

.button.whatsapp {
  background: #0D6E62;
  color: #FFFFFF;
  border: 1px solid #0D6E62;
}

.button.whatsapp:hover {
  background: #084D44;
  border-color: #084D44;
}

.contact-details {
  font-size: 15px;
  color: var(--contact-ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 10px;
}

.contact-governance-btn {
  background: transparent;
  border: none;
  font: inherit;
  font-size: 13px;
  color: var(--contact-ink);
  opacity: 0.85;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 10px;
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-governance-btn:hover {
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  padding: 32px max(5vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo-img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s var(--ease-out);
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-links-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal-btn {
  background: transparent;
  border: none;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  padding: 10px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s var(--ease-out);
}

.footer-legal-btn:hover {
  color: var(--gold-text);
}

/* ==========================================================================
   Governance & PDPA Compliance Modal
   ========================================================================== */

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}

.legal-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 24, 0.85);
  backdrop-filter: blur(8px);
}

.legal-modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

[data-theme="light"] .legal-modal-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
}

.legal-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-text);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.legal-modal-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

.legal-modal-close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.legal-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.legal-tabs-nav {
  display: flex;
  gap: 8px;
  padding: 12px 30px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow-x: auto;
}

.legal-tab-btn {
  background: transparent;
  border: none;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out);
}

.legal-tab-btn.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.legal-modal-body {
  padding: 28px 30px;
  overflow-y: auto;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.legal-modal-body h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px 0;
  color: var(--ink);
}

.legal-date {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.legal-lead {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--ink);
}

.legal-article {
  margin-bottom: 20px;
}

.legal-article h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 6px 0;
}

.legal-article p {
  margin: 0;
}

.legal-article ul {
  padding-left: 20px;
  margin: 8px 0 0;
}

.legal-article li {
  margin: 4px 0;
}

.legal-contact-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 20px;
  margin-top: 10px;
  font-size: 13px;
}

.legal-contact-box p {
  margin: 4px 0;
}

.legal-contact-box a {
  color: var(--gold);
}

.legal-modal-footer {
  padding: 18px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Responsive Adaptations (MHT Alignment)
   ========================================================================== */

@media (max-width: 760px) {
  .nav {
    height: 70px;
  }

  .nav-right-group nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    gap: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  .nav-right-group nav.open {
    display: flex;
  }

  .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }

  .hero {
    min-height: 620px;
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 57px);
  }

  .proof {
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 60px;
  }

  .intro, .about, .service, .focus {
    grid-template-columns: 1fr;
  }

  .intro, .about, .services, .focus, .method {
    padding: 75px 24px;
  }

  .intro .section-no, .about .section-no {
    display: none;
  }

  .section-head {
    grid-template-columns: 35px 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .service {
    gap: 16px;
    padding: 42px 0;
  }

  .focus {
    gap: 40px;
  }

  .focus-copy > p:last-child {
    margin-top: 16px;
  }

  .method ol {
    grid-template-columns: 1fr 1fr;
  }

  .method li {
    padding: 20px 16px 20px 0;
    min-height: 160px;
    border-bottom: 1px solid var(--line);
  }

  .method li:nth-child(2) {
    border-right: none;
  }

  .method li:nth-child(3), .method li:nth-child(4) {
    border-bottom: none;
  }

  .method strong {
    margin-top: 24px;
    font-size: 24px;
  }

  .contact {
    padding: 75px 20px;
  }

  .contact h2 {
    font-size: clamp(32px, 4vw, 52px);
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
  }

  .footer-links-group {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================================================
   Mobile-First Touch Ergonomics: Thumb-Driven Bottom Navigation Bar
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Clearance above fixed thumb navigation bar */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bottom-bar {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 11, 24, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(229, 186, 85, 0.22);
    box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.375rem max(env(safe-area-inset-bottom, 0px), 0.25rem);
  }

  .mobile-bottom-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 52px;
    padding: 0.25rem 0.125rem;
    text-decoration: none;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.015em;
    position: relative;
    border-radius: var(--r-sm);
    transition: color 0.18s ease, transform 0.12s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-tab:active {
    transform: scale(0.92);
  }

  .bottom-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
    transition: transform 0.16s var(--ease-out);
  }

  .bottom-tab-icon svg {
    display: block;
    width: 19px;
    height: 19px;
  }

  .bottom-tab-label {
    line-height: 1;
  }

  .bottom-tab-dot {
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.18s ease, transform 0.18s var(--ease-out);
  }

  .mobile-bottom-tab.active {
    color: var(--gold);
  }

  .mobile-bottom-tab.active .bottom-tab-icon {
    transform: translateY(-1px);
  }

  .mobile-bottom-tab.active .bottom-tab-dot {
    opacity: 1;
    transform: scale(1);
  }

  /* Connect CTA tab accent */
  .mobile-bottom-tab.mobile-bottom-cta {
    color: var(--gold);
  }

  .mobile-bottom-tab.mobile-bottom-cta .bottom-tab-icon {
    color: var(--gold-light);
  }

  /* Light Canvas for Bottom Bar */
  [data-theme="light"] .mobile-bottom-bar {
    background: rgba(248, 247, 242, 0.96);
    border-top: 1px solid rgba(184, 135, 30, 0.25);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  [data-theme="light"] .mobile-bottom-tab {
    color: var(--muted);
  }

  [data-theme="light"] .mobile-bottom-tab.active,
  [data-theme="light"] .mobile-bottom-tab.mobile-bottom-cta {
    color: var(--gold-text);
  }

  [data-theme="light"] .bottom-tab-dot {
    background: var(--gold-text);
  }
}

/* ==========================================================================
   Motion Accessibility (WCAG 2.1 AAA §2.3.3 & Impeccable Motion Floor)
   Intentional reduced-motion: suppress disruptive spatial movement while
   preserving vital opacity, color, and state change feedback.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  /* Disarm continuous looping animations */
  *, *::before, *::after {
    animation-iteration-count: 1 !important;
  }

  /* Eliminate vestibular spatial transforms */
  .brand:hover .nav-logo-img,
  .brand:hover .mark,
  .service a:hover,
  .button.primary:hover,
  .mobile-bottom-tab.active .bottom-tab-icon {
    transform: none !important;
  }

  /* Cap transitions to brief, gentle durations (150ms) for vital state feedback */
  *, *::before, *::after {
    transition-duration: 0.15s !important;
  }
}
