/* ==========================================================================
   Divine Men's Saloon — Core stylesheet
   Mobile-first. Breakpoint overrides live in responsive.css,
   motion lives in animations.css.

   1. Fonts
   2. Design tokens
   3. Reset & base
   4. Utilities
   5. Buttons, links & chips
   6. Layout: container, sections, section heads
   7. Header & navigation
   8. Hero
   9. Services
   10. About
   11. Why choose us
   12. Gallery & lightbox
   13. Reviews
   14. Booking form
   15. Contact & hours
   16. Footer
   17. Floating actions
   18. Simple pages (privacy, 404)
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens ---------------------------------------------------------- */
:root {
  /* Colour — dark surfaces */
  --c-ink: #0d0c0b;
  --c-charcoal: #151412;
  --c-charcoal-2: #1c1a18;
  --c-charcoal-3: #26231f;

  /* Colour — light surfaces */
  --c-paper: #f4efe6;
  --c-paper-2: #ebe3d6;
  --c-paper-ink: #1a1714;
  --c-paper-muted: #5b5248;
  --c-paper-line: rgba(26, 23, 20, 0.14);

  /* Colour — text & accents */
  --c-cream: #f3ece0;
  --c-beige: #d9cbb3;
  --c-muted: #a69d8f;
  --c-gold: #c8a46a;
  --c-gold-light: #e0c48f;
  --c-gold-ink: #7a5c2e;
  --c-line: rgba(217, 203, 179, 0.14);
  --c-line-strong: rgba(217, 203, 179, 0.3);
  --c-success: #8fbf8a;
  --c-error: #f08c7d;
  --c-error-ink: #a2321f;

  /* Typography */
  --ff-display: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --ff-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.6vw, 3.5rem);
  --fs-h1: clamp(2.6rem, 1.5rem + 4.2vw, 5.25rem);

  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-body: 1.7;
  --tracking-wide: 0.18em;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.125rem, 0.75rem + 2vw, 2.5rem);

  /* Shape & depth */
  --radius-sm: 2px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.75);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  /* Layout */
  --container: 1240px;
  --header-h: 72px;
  --quick-bar-h: 0px;
  --focus-ring: 0 0 0 2px var(--c-ink), 0 0 0 4px var(--c-gold-light);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-ink);
  color: var(--c-cream);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

em {
  font-style: italic;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--c-gold-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--c-gold);
  color: var(--c-ink);
}

main:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

/* 4. Utilities -------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 1000;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-gold);
  color: var(--c-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.noscript-msg {
  padding: var(--sp-4);
  border: 1px solid var(--c-line-strong);
  color: var(--c-beige);
}

.noscript-msg a {
  color: var(--c-gold-light);
}

/* 5. Buttons, links & chips --------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-cream);
  --btn-border: var(--c-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.8em 1.5em;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

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

.btn--gold {
  --btn-bg: var(--c-gold);
  --btn-fg: var(--c-ink);
  --btn-border: var(--c-gold);
}

.btn--gold:hover {
  --btn-bg: var(--c-gold-light);
  --btn-border: var(--c-gold-light);
  box-shadow: 0 12px 30px -12px rgba(200, 164, 106, 0.55);
}

.btn--ghost:hover {
  --btn-border: var(--c-gold);
  --btn-fg: var(--c-gold-light);
  --btn-bg: rgba(200, 164, 106, 0.06);
}

.btn--dark {
  --btn-bg: var(--c-paper-ink);
  --btn-fg: var(--c-paper);
  --btn-border: var(--c-paper-ink);
}

.btn--dark:hover {
  --btn-bg: #000;
  --btn-border: #000;
  box-shadow: var(--shadow);
}

.btn--sm {
  min-height: 44px;
  padding: 0.65em 1.15em;
  font-size: var(--fs-xs);
}

.btn--lg {
  min-height: 54px;
  padding: 1em 1.9em;
}

.btn--block {
  width: 100%;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  color: var(--c-gold-light);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.link-arrow .icon {
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-arrow--ink {
  color: var(--c-paper-ink);
}

.link-button {
  min-height: 44px;
  padding: 0.25em 0;
  border: 0;
  background: none;
  color: var(--c-beige);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.link-button:hover {
  color: var(--c-gold-light);
}

.chip {
  min-height: 44px;
  padding: 0.55em 1.1em;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--c-beige);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.chip:hover {
  border-color: var(--c-gold);
  color: var(--c-cream);
}

.chip[aria-pressed='true'] {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-ink);
}

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

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--ink {
  background: var(--c-ink);
}

.section--charcoal {
  background: var(--c-charcoal);
}

.section--paper {
  background: var(--c-paper);
  color: var(--c-paper-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  margin-bottom: var(--sp-4);
  color: var(--c-gold);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.eyebrow__line {
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.eyebrow--ink {
  color: var(--c-gold-ink);
}

.eyebrow--center {
  justify-content: center;
}

.section-title {
  font-size: var(--fs-h2);
  color: var(--c-cream);
}

.section-title em {
  color: var(--c-gold-light);
  font-weight: 400;
}

.section-title--ink {
  color: var(--c-paper-ink);
}

.section-title--ink em {
  color: var(--c-gold-ink);
}

.section-head {
  display: grid;
  gap: var(--sp-5);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head__aside {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
  color: var(--c-muted);
  font-size: var(--fs-md);
  max-width: 34rem;
}

.section-head__aside--ink {
  color: var(--c-paper-muted);
}

.section-head--center {
  justify-items: center;
  text-align: center;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  border: 1px dashed rgba(200, 164, 106, 0.5);
  background: rgba(200, 164, 106, 0.06);
  color: var(--c-beige);
  font-size: var(--fs-sm);
}

.notice .icon {
  margin-top: 0.15em;
  color: var(--c-gold);
}

/* 7. Header & navigation ------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
}

/* Background lives on a pseudo-element: a backdrop-filter on the header itself
   would become the containing block for the fixed mobile menu. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-bottom: 1px solid var(--c-line);
  background: rgba(13, 12, 11, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled::before,
body.nav-open .site-header::before {
  opacity: 1;
}

.site-header__inner {
  position: relative;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  color: var(--c-cream);
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.brand__mark {
  width: 40px;
  height: 40px;
  color: var(--c-gold);
}

.brand__text {
  display: grid;
  line-height: 1;
}

.brand__name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand__sub {
  margin-top: 0.3rem;
  color: var(--c-beige);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  position: relative;
  z-index: 2;
}

.site-header__cta {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  color: var(--c-cream);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 26px;
  height: 12px;
}

.nav-toggle__bars span {
  position: absolute;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease), top var(--dur) var(--ease);
}

.nav-toggle__bars span:first-child {
  top: 0;
  width: 26px;
}

.nav-toggle__bars span:last-child {
  top: 10px;
  width: 17px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:last-child {
  top: 5px;
  width: 26px;
  transform: rotate(-45deg);
}

/* Mobile navigation panel */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) calc(var(--sp-6) + env(safe-area-inset-bottom));
  background: var(--c-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}

.site-nav__list {
  display: grid;
  border-top: 1px solid var(--c-line);
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-cream);
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2rem);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.site-nav__link::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--c-gold);
  border-right: 1.5px solid var(--c-gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--c-gold-light);
}

.site-nav__mobile-extra {
  display: grid;
  gap: var(--sp-5);
}

.site-nav__contact {
  display: grid;
  gap: var(--sp-2);
}

.site-nav__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 44px;
  color: var(--c-beige);
  text-decoration: none;
}

.site-nav__contact .icon {
  color: var(--c-gold);
}

.site-nav__hours {
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

/* 8. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + var(--sp-6));
  overflow: hidden;
  background: var(--c-ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media picture,
.hero__img {
  width: 100%;
  height: 100%;
}

.hero__img {
  object-fit: cover;
  object-position: 68% 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.55) 0%, rgba(13, 12, 11, 0.25) 30%, rgba(13, 12, 11, 0.8) 72%, var(--c-ink) 100%),
    linear-gradient(90deg, rgba(13, 12, 11, 0.85) 0%, rgba(13, 12, 11, 0.35) 60%, rgba(13, 12, 11, 0.15) 100%);
}

.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.hero__content {
  max-width: 44rem;
}

.hero__eyebrow {
  margin-bottom: var(--sp-5);
}

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--c-cream);
}

.hero__title em {
  color: var(--c-gold-light);
  font-weight: 400;
}

.hero__lead {
  max-width: 34rem;
  margin-top: var(--sp-5);
  color: var(--c-beige);
  font-size: var(--fs-md);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero__actions .btn {
  flex: 1 1 100%;
}

.hero__facts {
  display: grid;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
}

.hero__fact {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.hero__fact > .icon {
  margin-top: 0.2em;
  color: var(--c-gold);
}

.hero__fact-label {
  display: block;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__fact-value {
  display: inline-block;
  color: var(--c-cream);
  font-weight: 600;
  text-decoration: none;
}

a.hero__fact-value:hover {
  color: var(--c-gold-light);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5em;
  border-radius: 50%;
  background: var(--c-muted);
  vertical-align: 0.1em;
}

.status-dot--open {
  background: var(--c-success);
  box-shadow: 0 0 0 4px rgba(143, 191, 138, 0.18);
}

.status-dot--closed {
  background: var(--c-error);
}

/* 9. Services ---------------------------------------------------------------- */
.services__grid {
  display: grid;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  background: var(--c-charcoal);
  transition: background-color var(--dur) var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}

.service-card:hover,
.service-card:focus-within {
  background: var(--c-charcoal-2);
}

.service-card:hover::before,
.service-card:focus-within::before {
  transform: scaleX(1);
}

.service-card--featured {
  background:
    linear-gradient(160deg, rgba(200, 164, 106, 0.12), rgba(200, 164, 106, 0) 55%),
    var(--c-charcoal);
}

.service-card--featured::before {
  transform: scaleX(1);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--c-line-strong);
  color: var(--c-gold);
}

.service-card__icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.3;
}

.service-card__badge {
  padding: 0.3em 0.7em;
  border: 1px solid var(--c-gold);
  color: var(--c-gold-light);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card__name {
  font-size: var(--fs-xl);
  color: var(--c-cream);
}

.service-card__desc {
  flex: 1;
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.service-card__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
}

.service-card__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--c-beige);
  font-size: var(--fs-sm);
}

.service-card__duration .icon {
  color: var(--c-gold);
  width: 1.05em;
  height: 1.05em;
}

.service-card__price {
  display: grid;
  justify-items: end;
  line-height: 1.1;
  text-align: right;
}

.service-card__price-value {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--c-gold-light);
}

.service-card__price-label {
  margin-top: 0.3em;
  color: var(--c-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card__book {
  align-self: flex-start;
  margin-top: calc(var(--sp-2) * -1);
}

/* 10. About ---------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 2rem + 4vw, 6rem);
  align-items: center;
}

.about__media {
  position: relative;
  padding-bottom: 18%;
}

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

.about__figure--main {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}

.about__figure--main::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.about__figure--detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 8px solid var(--c-paper);
  box-shadow: var(--shadow-lg);
}

.about__media::before {
  content: '';
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 38%;
  height: 46%;
  border-top: 1px solid var(--c-gold);
  border-left: 1px solid var(--c-gold);
  pointer-events: none;
}

.about__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 52%;
  color: var(--c-paper-muted);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.about__content {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
}

.about__content .eyebrow,
.about__content .section-title {
  margin-bottom: 0;
}

.about__text {
  display: grid;
  gap: var(--sp-4);
  color: var(--c-paper-muted);
  font-size: var(--fs-md);
}

.about__pillars {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--c-paper-line);
}

.about__pillars li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--c-paper-line);
  color: var(--c-paper-muted);
}

.about__pillars strong {
  color: var(--c-paper-ink);
}

.about__pillar-num {
  color: var(--c-gold-ink);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-lg);
  line-height: 1.2;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-2);
}

/* 11. Why choose us ----------------------------------------------------------- */
.why__grid {
  display: grid;
  border-top: 1px solid var(--c-line);
}

.feature {
  position: relative;
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--c-line);
}

.feature__num {
  position: absolute;
  top: var(--sp-6);
  right: 0;
  color: var(--c-muted);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-sm);
}

.feature__icon {
  width: 34px;
  height: 34px;
  margin-bottom: var(--sp-2);
  color: var(--c-gold);
  stroke-width: 1.2;
}

.feature__title {
  font-size: var(--fs-lg);
  color: var(--c-cream);
}

.feature p {
  max-width: 30rem;
  color: var(--c-muted);
}

/* 12. Gallery & lightbox ---------------------------------------------------- */
.gallery__filters {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery__filters::-webkit-scrollbar {
  display: none;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 36vw, 220px);
  grid-auto-flow: dense;
  gap: var(--sp-2);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--c-charcoal-2);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item.is-hidden {
  display: none;
}

.gallery__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--c-cream);
  text-decoration: none;
  cursor: zoom-in;
}

.gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter var(--dur-slow) var(--ease);
  filter: saturate(0.9);
}

.gallery__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13, 12, 11, 0.85) 100%);
  opacity: 0.85;
  transition: opacity var(--dur) var(--ease);
}

.gallery__meta {
  position: absolute;
  left: var(--sp-4);
  right: var(--sp-4);
  bottom: var(--sp-3);
  z-index: 1;
  display: grid;
  gap: 0.15rem;
  transition: transform var(--dur) var(--ease);
}

.gallery__tag {
  color: var(--c-gold-light);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery__title {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  line-height: 1.25;
}

.gallery__link:hover img,
.gallery__link:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.gallery__link:focus-visible {
  outline-offset: -3px;
}

.gallery__note {
  margin-top: var(--sp-5);
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 7, 6, 0.97);
  color: var(--c-cream);
}

.lightbox::backdrop {
  background: rgba(8, 7, 6, 0.9);
}

.lightbox__inner {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  padding: var(--sp-3) var(--sp-3) calc(var(--sp-5) + env(safe-area-inset-bottom));
}

.lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.lightbox__counter {
  padding-left: var(--sp-2);
  color: var(--c-muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
}

.lightbox__figure {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--sp-4);
  min-height: 0;
  padding-block: var(--sp-4);
}

.lightbox__img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

.lightbox__caption {
  text-align: center;
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
}

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: rgba(13, 12, 11, 0.6);
  color: var(--c-cream);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.lightbox__btn:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-light);
}

.lightbox__nav {
  position: absolute;
  bottom: calc(var(--sp-3) + env(safe-area-inset-bottom));
}

.lightbox__nav--prev {
  left: var(--sp-3);
}

.lightbox__nav--next {
  right: var(--sp-3);
}

/* 13. Reviews -------------------------------------------------------------- */
.reviews__grid {
  display: grid;
  gap: var(--sp-4);
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
  border: 1px solid var(--c-paper-line);
  background: #fbf8f2;
}

.review-card--placeholder {
  border-style: dashed;
  border-color: rgba(122, 92, 46, 0.45);
  background: transparent;
}

.review-card__quote {
  width: 34px;
  height: 34px;
  color: var(--c-gold-ink);
}

.review-card__text {
  flex: 1;
  color: var(--c-paper-ink);
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  line-height: 1.45;
}

.review-card--placeholder .review-card__text {
  color: var(--c-paper-muted);
  font-style: italic;
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-paper-line);
}

.review-card__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-paper-ink);
  color: var(--c-paper);
  font-family: var(--ff-display);
  font-size: var(--fs-md);
}

.review-card__name {
  display: block;
  color: var(--c-paper-ink);
  font-weight: 700;
}

.review-card__service {
  display: block;
  color: var(--c-paper-muted);
  font-size: var(--fs-sm);
}

.review-card__flag {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  padding: 0.25em 0.65em;
  border: 1px solid var(--c-gold-ink);
  color: var(--c-gold-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 14. Booking form ------------------------------------------------------------ */
.booking {
  overflow: hidden;
}

.booking::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 40rem at 100% 0%, rgba(200, 164, 106, 0.08), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(200, 164, 106, 0.05), transparent 60%);
  pointer-events: none;
}

.booking__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: start;
}

.booking__intro {
  display: grid;
  gap: var(--sp-5);
}

.booking__intro .eyebrow,
.booking__intro .section-title {
  margin-bottom: 0;
}

.booking__lead {
  color: var(--c-beige);
  font-size: var(--fs-md);
  max-width: 32rem;
}

.steps {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.steps__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--sp-3);
  align-items: start;
  color: var(--c-muted);
}

.steps__item strong {
  color: var(--c-cream);
  font-weight: 700;
}

.steps__num {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  color: var(--c-gold-light);
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  line-height: 1;
}

.booking__call {
  display: grid;
  gap: var(--sp-3);
  justify-items: start;
  margin-top: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
}

.booking__card {
  position: relative;
  padding: clamp(1.25rem, 0.9rem + 2vw, 2.75rem);
  border: 1px solid var(--c-line-strong);
  background: var(--c-charcoal);
  box-shadow: var(--shadow-lg);
}

.booking__card::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}

.form {
  display: grid;
  gap: var(--sp-5);
}

.form__help {
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

.form__row {
  display: grid;
  gap: var(--sp-5);
}

.form__summary {
  padding: var(--sp-4);
  border: 1px solid var(--c-error);
  border-left-width: 3px;
  background: rgba(240, 140, 125, 0.08);
  color: var(--c-cream);
  font-size: var(--fs-sm);
}

.form__summary:focus-visible {
  outline-offset: 2px;
}

.form__summary ul {
  margin: var(--sp-2) 0 0;
  padding-left: 1.2em;
}

.form__summary a {
  color: var(--c-error);
}

.field {
  display: grid;
  gap: var(--sp-2);
  min-width: 0;
}

.field__label {
  color: var(--c-beige);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.field__req {
  color: var(--c-gold);
}

.field__optional {
  color: var(--c-muted);
  font-weight: 400;
}

.field__input {
  width: 100%;
  min-height: 52px;
  padding: 0.85em 1em;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  background: var(--c-ink);
  color: var(--c-cream);
  font-size: 1rem; /* 16px prevents iOS zoom on focus */
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field__input::placeholder {
  color: #7d756a;
}

.field__input:hover {
  border-color: rgba(217, 203, 179, 0.45);
}

.field__input:focus,
.field__input:focus-visible {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 106, 0.25);
}

.field__input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.field__input[aria-invalid='true'] {
  border-color: var(--c-error);
}

.field__input[aria-invalid='true']:focus {
  box-shadow: 0 0 0 3px rgba(240, 140, 125, 0.25);
}

.field__input[type='date'] {
  color-scheme: dark;
}

.field__input[type='date']::-webkit-calendar-picker-indicator {
  opacity: 0.7;
  cursor: pointer;
}

.field__textarea {
  min-height: 110px;
  resize: vertical;
}

.field__select-wrap {
  position: relative;
}

.field__select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1.1em;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--c-gold);
  border-bottom: 1.5px solid var(--c-gold);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field__select {
  padding-right: 2.75em;
  cursor: pointer;
}

.field__select option {
  background: var(--c-charcoal);
  color: var(--c-cream);
}

.field__prefix-wrap {
  position: relative;
}

.field__prefix {
  position: absolute;
  top: 50%;
  left: 1em;
  color: var(--c-beige);
  transform: translateY(-50%);
  pointer-events: none;
}

.field__input--prefixed {
  padding-left: 3.4em;
}

.field__hint {
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

.field__hint--end {
  text-align: right;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
  color: var(--c-error);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.field__error:empty {
  display: none;
}

.field__error::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15em;
  border-radius: 50%;
  background: var(--c-error);
  color: var(--c-ink);
  font-size: 0.7rem;
  font-weight: 800;
}

.form__fineprint {
  color: var(--c-muted);
  font-size: var(--fs-xs);
  line-height: 1.6;
}

.form-success {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  color: var(--c-gold-light);
}

.form-success__icon .icon {
  width: 26px;
  height: 26px;
}

.form-success__title {
  font-size: var(--fs-xl);
  color: var(--c-cream);
}

.form-success p {
  color: var(--c-beige);
}

.form-success__important {
  padding: var(--sp-4);
  border-left: 2px solid var(--c-gold);
  background: rgba(200, 164, 106, 0.07);
}

.form-success__important strong {
  color: var(--c-cream);
}

.form-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.form-success__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

/* 15. Contact & hours ---------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
}

.contact__map {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line-strong);
  background: var(--c-charcoal-2);
  overflow: hidden;
}

.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.contact__info {
  display: grid;
  gap: var(--sp-6);
  align-content: start;
}

.contact__block {
  display: grid;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--c-line);
}

.contact__block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-cream);
  font-size: var(--fs-lg);
}

.contact__heading .icon {
  color: var(--c-gold);
}

.contact__address {
  color: var(--c-beige);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.contact__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.contact__list {
  display: grid;
  gap: var(--sp-1);
}

.contact__list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-3);
  min-height: 44px;
  padding-block: var(--sp-2);
  color: var(--c-cream);
  font-size: var(--fs-md);
  font-weight: 600;
  text-decoration: none;
}

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

.contact__list-label {
  min-width: 6.5rem;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.75em;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  color: var(--c-beige);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.hours-table th,
.hours-table td {
  padding: 0.7em 0;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}

.hours-table th {
  color: var(--c-beige);
  font-weight: 600;
  padding-right: var(--sp-4);
}

.hours-table td {
  color: var(--c-muted);
  text-align: right;
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--c-gold-light);
}

.hours-table tr.is-today th::after {
  content: 'Today';
  margin-left: 0.6em;
  padding: 0.1em 0.5em;
  border: 1px solid currentColor;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

/* 16. Footer ------------------------------------------------------------------ */
.site-footer {
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  padding-bottom: calc(var(--sp-5) + var(--quick-bar-h) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--c-line);
  background: var(--c-ink);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

.site-footer__top {
  display: grid;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.site-footer__brand {
  display: grid;
  gap: var(--sp-5);
  justify-items: start;
  max-width: 24rem;
}

.site-footer__desc {
  line-height: 1.7;
}

.site-footer__heading {
  margin-bottom: var(--sp-4);
  color: var(--c-cream);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.site-footer__heading--spaced {
  margin-top: var(--sp-6);
}

.site-footer__col ul {
  display: grid;
  gap: var(--sp-1);
}

.site-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.site-footer__col a:hover {
  color: var(--c-gold-light);
}

.site-footer__address {
  margin-bottom: var(--sp-3);
  line-height: 1.7;
}

.site-footer__hours li {
  padding-block: 0.2rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-xs);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-muted);
}

.site-footer__legal a:hover {
  color: var(--c-gold-light);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-beige);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.social a:hover {
  border-color: var(--c-gold);
  color: var(--c-ink);
  background: var(--c-gold);
}

.social .icon {
  width: 18px;
  height: 18px;
}

/* 17. Floating actions -------------------------------------------------------- */
.quick-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--c-line-strong);
  background: rgba(13, 12, 11, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease);
}

.quick-bar.is-visible {
  transform: none;
}

.quick-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 58px;
  color: var(--c-cream);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.quick-bar__item + .quick-bar__item {
  border-left: 1px solid var(--c-line);
}

.quick-bar__item .icon {
  color: var(--c-gold);
}

.quick-bar__item--primary {
  background: var(--c-gold);
  color: var(--c-ink);
}

.quick-bar__item--primary .icon {
  color: var(--c-ink);
}

.fab-whatsapp {
  display: none;
}

.back-to-top {
  position: fixed;
  right: var(--sp-4);
  bottom: calc(var(--quick-bar-h) + var(--sp-4) + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: rgba(21, 20, 18, 0.92);
  color: var(--c-cream);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease), bottom var(--dur) var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
}

.back-to-top:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-light);
}

/* 18. Simple pages ------------------------------------------------------------ */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--c-line);
  background: rgba(13, 12, 11, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 100%;
}

.page-hero {
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-bottom: 1px solid var(--c-line);
}

.page-hero .section-title {
  margin-bottom: var(--sp-4);
}

.page-hero p {
  color: var(--c-muted);
}

.prose {
  max-width: 46rem;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
  color: var(--c-beige);
}

.prose h2 {
  margin: var(--sp-7) 0 var(--sp-4);
  color: var(--c-cream);
  font-size: var(--fs-xl);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin-bottom: var(--sp-4);
}

.prose ul {
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: var(--sp-2);
}

.prose a {
  color: var(--c-gold-light);
}

.prose strong {
  color: var(--c-cream);
}

.not-found {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--sp-8);
  text-align: center;
  overflow: hidden;
}

.not-found__code {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  color: transparent;
  font-family: var(--ff-display);
  font-size: clamp(10rem, 6rem + 25vw, 26rem);
  font-style: italic;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(200, 164, 106, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.not-found__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-5);
  justify-items: center;
  max-width: 34rem;
}

.not-found__content p {
  color: var(--c-muted);
  font-size: var(--fs-md);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.simple-footer {
  padding-block: var(--sp-6);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

.simple-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
}

.simple-footer a {
  color: var(--c-muted);
}

.simple-footer a:hover {
  color: var(--c-gold-light);
}
