/* ==========================================================================
   SeriEmas Beauty — shared stylesheet
   Mobile-first. Design tokens are defined once in :root (see CLAUDE.md).
   ========================================================================== */

:root {
  /* Colours */
  --cream: #FAF6EE;
  --sand: #F1E8D8;
  --white: #FFFFFF;
  --brown: #3B2A20;
  --brown-soft: #6B5444;
  --gold: #B8893B;
  --gold-deep: #8A6424;
  --sage: #9CB09A;
  --sage-deep: #4F6B4E;
  --sage-darker: #3F573E;
  --wa-green: #1F8F4E;
  --line: #E4D8C3;

  /* Type */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing (8px scale) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s6: 48px;
  --s8: 64px;
  --s12: 96px;

  --gutter: 20px;
  --max: 1100px;
  --radius: 16px;
  --header-h: 68px;
  --shadow: 0 6px 24px rgba(59, 42, 32, 0.08);

  /* Songket-inspired gold diamond band */
  --songket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h4M20 6h4' stroke='%23B8893B' stroke-width='1'/%3E%3Cpath d='M12 1l5 5-5 5-5-5z' fill='none' stroke='%23B8893B' stroke-width='1.2'/%3E%3Ccircle cx='12' cy='6' r='1.2' fill='%23B8893B'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--s2);
  color: var(--brown);
}
h1 { font-size: clamp(2.5rem, 9vw, 4rem); }
h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
h3 { font-size: 1.6rem; }

p { margin: 0 0 var(--s2); }

a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--brown); }

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

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 100;
  background: var(--brown);
  color: var(--white);
  padding: var(--s1) var(--s2);
  border-radius: 8px;
}
.skip-link:focus { top: var(--s1); color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--sage-deep); color: var(--white); }
.btn-primary:hover { background: var(--sage-darker); color: var(--white); }

.btn-outline { background: transparent; color: var(--gold-deep); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--brown);
  padding-block: var(--s1);
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo-name span { color: var(--gold-deep); }
.logo-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-top: 4px;
}

.nav-toggle {
  display: none; /* shown only when JS is available, see .js rules */
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--brown);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--brown);
  text-decoration: none;
  font-weight: 700;
}
.site-nav a[aria-current="page"] { color: var(--gold-deep); }

/* Mobile: without JS the nav is a simple wrapped list under the logo */
.header-inner { flex-wrap: wrap; }
.site-nav { width: 100%; }
.site-nav ul { display: flex; flex-wrap: wrap; column-gap: var(--s3); padding-bottom: var(--s1); }

/* Mobile with JS: collapsible panel */
.js .nav-toggle { display: inline-flex; }
.js .header-inner { flex-wrap: nowrap; }
.js .site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}
.js .site-nav.is-open { display: block; }
.js .site-nav ul { display: block; padding: var(--s1) var(--gutter) var(--s2); }
.js .site-nav li + li { border-top: 1px solid var(--line); }
.js .site-nav a { min-height: 56px; font-size: 1.0625rem; }
.js .site-nav a[aria-current="page"]::before {
  content: "";
  width: 6px; height: 6px;
  margin-right: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--s8); }
.section-alt { background: var(--sand); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--s6); }
.section-head h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 12px;
  margin: var(--s2) auto 0;
  background: var(--songket) center / auto 12px repeat-x;
}
.section-head p { color: var(--brown-soft); }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, #E7DCC7, #C9D3C2);
  color: var(--brown-soft);
}
.ph::after {
  /* small camera mark so it reads as "photo goes here" */
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px; height: 44px;
  opacity: .35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B2A20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 1 2-2h2l2-2h6l2 2h2a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph-tall { aspect-ratio: 4 / 5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--s6) var(--s8);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23B8893B' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M60 40c6 8 6 16 0 20-6-4-6-12 0-20zM60 80c-6-8-6-16 0-20 6 4 6 12 0 20zM40 60c8-6 16-6 20 0-4 6-12 6-20 0zM80 60c-8 6-16 6-20 0 4-6 12-6 20 0z'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Cpath d='M0 0l10 10M120 0l-10 10M0 120l10-10M120 120l-10-10'/%3E%3C/g%3E%3C/svg%3E") repeat,
    var(--cream);
  overflow: hidden;
}
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero-sub {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--s2);
}
.hero h1 { margin-bottom: var(--s2); }
.hero-lead {
  font-size: 1.15rem;
  color: var(--brown-soft);
  max-width: 34ch;
  margin-bottom: var(--s4);
}
.hero .ph { box-shadow: var(--shadow); }
.hero .ph::before {
  /* thin gold frame */
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(184, 137, 59, .55);
  border-radius: calc(var(--radius) - 6px);
}

/* ---------- Intro ---------- */
.intro { display: grid; gap: var(--s6); }
.intro-text p { font-size: 1.1rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
}
.check-list .icon { color: var(--gold); margin-top: 0.2em; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: var(--s3); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .ph { border-radius: 0; aspect-ratio: 16 / 10; }
/* Whole card clickable via the heading link (keeps one link per card for screen readers) */
.card { position: relative; transition: transform .2s, box-shadow .2s; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(59, 42, 32, 0.12); }
.card:hover .card-link { color: var(--gold-deep); }
.card-body { padding: var(--s3); }
.card-body h3 { margin-bottom: var(--s1); }
.card-body p { margin: 0; color: var(--brown-soft); }
.section-cta { text-align: center; margin-top: var(--s6); }

/* ---------- Reviews widget slot ---------- */
.widget-slot {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .5);
}
.dev-note {
  /* Developer placeholder label — delete together with the TODO marker */
  font-size: 1rem;
  font-family: ui-monospace, Consolas, monospace;
  color: var(--brown-soft);
  text-align: center;
  margin: 0;
}

/* ---------- Location teaser ---------- */
.location-card {
  display: grid;
  gap: var(--s3);
  max-width: 560px;
  margin-inline: auto;
  padding: var(--s4) var(--s3);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.location-card .icon-lg { width: 40px; height: 40px; margin-inline: auto; color: var(--gold); }
.location-card address { font-style: normal; font-size: 1.1rem; }
.location-card .btn { justify-self: center; }

/* ---------- Inner page heading ---------- */
.page-hero {
  padding-block: var(--s8) var(--s6);
  text-align: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23B8893B' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M60 40c6 8 6 16 0 20-6-4-6-12 0-20zM60 80c-6-8-6-16 0-20 6 4 6 12 0 20zM40 60c8-6 16-6 20 0-4 6-12 6-20 0zM80 60c-8 6-16 6-20 0 4-6 12-6 20 0z'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3C/g%3E%3C/svg%3E") repeat,
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); margin-bottom: 0; }
.page-hero h1::after {
  content: "";
  display: block;
  width: 140px;
  height: 12px;
  margin: var(--s2) auto 0;
  background: var(--songket) center / auto 12px repeat-x;
}
.page-hero .lead {
  max-width: 560px;
  margin: var(--s3) auto 0;
  font-size: 1.15rem;
  color: var(--brown-soft);
}

/* ---------- About: story ---------- */
.story { display: grid; gap: var(--s6); align-items: start; }
.story-photo { max-width: 420px; width: 100%; margin-inline: auto; }
.story-text p { font-size: 1.1rem; }
.story-sign {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--gold-deep);
}

/* ---------- Feature cards (icon + title + text) ---------- */
.feature-grid { display: grid; gap: var(--s3); }
.feature {
  padding: var(--s4) var(--s3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--s2);
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
}
.feature-icon .icon { width: 30px; height: 30px; }
.feature h3 { font-size: 1.5rem; margin-bottom: var(--s1); }
.feature p { margin: 0; color: var(--brown-soft); }

/* ---------- Services page ---------- */
.section-tight { padding-block: var(--s6); }

.cat-nav {
  padding-block: var(--s3);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--s1);
  overflow-x: auto;              /* phones: one scrollable row */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* let pills run to the screen edge while scrolling */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.cat-list::-webkit-scrollbar { display: none; }
.cat-list li { flex: none; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 20px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: var(--white);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.pill:hover { background: var(--gold); color: var(--white); }

.svc-grid { display: grid; gap: var(--s3); }
.svc-card {
  display: flex;
  flex-direction: column;
  padding: var(--s3);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.svc-card h3 { font-size: 1.55rem; margin-bottom: var(--s1); }
.svc-desc { color: var(--brown-soft); flex: 1; }

.price-list { list-style: none; margin: var(--s1) 0 0; padding: 0; }
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s2);
  padding-block: 12px;
  border-top: 1px dashed var(--line);
}
.price-dur { font-weight: 700; min-width: 4.5em; }
.price-amt { font-weight: 700; color: var(--gold-deep); margin-right: auto; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }

.note-box {
  max-width: 760px;
  margin-inline: auto;
  padding: var(--s3);
  background: var(--sand);
  border-left: 4px solid var(--sage-deep);
  border-radius: 12px;
}
.note-box p { margin: 0; }

/* ---------- Contact page ---------- */
.info-grid { display: grid; gap: var(--s3); }
.info-card {
  padding: var(--s4) var(--s3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card h2 { font-size: 1.9rem; margin-bottom: var(--s2); }
.info-card address { font-style: normal; font-size: 1.1rem; }
.info-card-accent { border-top: 3px solid var(--sage-deep); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: var(--s2); }
.hours th, .hours td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.hours th { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brown-soft); }
.hours td { font-weight: 700; }
.hours td:first-child { white-space: nowrap; }
.small-note { font-size: 1rem; color: var(--brown-soft); margin: 0; }
.btn-lg { min-height: 56px; padding: 14px 20px; font-size: 1.05rem; width: 100%; }
.contact-number { margin: var(--s2) 0 var(--s1); font-size: 1.25rem; font-weight: 700; }
.map-slot {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
  overflow: hidden;
}
.map-slot iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Reviews page ---------- */
.share-card {
  max-width: 640px;
  margin-inline: auto;
  padding: var(--s6) var(--s3);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.share-card .feature-icon { margin-inline: auto; }
.share-card p { font-size: 1.1rem; margin-bottom: var(--s4); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: #EFE6D6;
  padding-block: var(--s8) calc(var(--s8) + 72px); /* room for floating button on mobile */
}
.site-footer::before {
  content: "";
  display: block;
  height: 12px;
  margin-top: calc(var(--s8) * -1);
  margin-bottom: var(--s6);
  background: var(--songket) center / auto 12px repeat-x;
  opacity: .9;
}
.footer-grid { display: grid; gap: var(--s4); }
.footer-brand .logo { color: var(--white); padding: 0; }
.footer-brand .logo-tag { color: #CDBFA8; }
.site-footer address { font-style: normal; margin-top: var(--s2); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.footer-list li { display: flex; gap: var(--s2); align-items: flex-start; }
.footer-list .icon { color: var(--gold); margin-top: 0.25em; }
.site-footer a { color: #F2D9A6; }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--s3); }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.footer-bottom {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid rgba(239, 230, 214, .2);
  font-size: 1rem;
  color: #CDBFA8;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp button (mobile) ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.wa-float:hover { color: var(--white); transform: scale(1.05); }
.wa-float .icon { width: 32px; height: 32px; }

/* ==========================================================================
   Tablet & desktop
   ========================================================================== */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }

  .section { padding-block: var(--s12); }
  .hero { padding-block: var(--s12); }

  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s8); }
  .intro { grid-template-columns: 1.2fr 1fr; gap: var(--s8); align-items: center; }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .map-slot { aspect-ratio: 16 / 7; }
  .section-tight { padding-block: var(--s8); }
  .cat-list { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .page-hero { padding-block: var(--s12) var(--s8); }
  .story { grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); }
  .story-photo { position: sticky; top: calc(var(--header-h) + var(--s4)); }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer { padding-bottom: var(--s8); }

  .wa-float { display: none; }
}

/* Desktop nav needs ~1010px for logo + 5 links on one line */
@media (min-width: 1080px) {
  /* Desktop nav: always visible inline, no toggle */
  .nav-toggle, .js .nav-toggle { display: none; }
  .header-inner, .js .header-inner { flex-wrap: nowrap; }
  .site-nav, .js .site-nav {
    display: block;
    position: static;
    width: auto;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul, .js .site-nav ul { display: flex; gap: var(--s3); padding: 0; }
  .js .site-nav li + li { border-top: 0; }
  .site-nav a, .js .site-nav a { min-height: var(--header-h); font-size: 1rem; position: relative; }
  .js .site-nav a[aria-current="page"]::before { display: none; }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 18px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .2s;
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
