/* Riad Dar Soufa : chaux ivoire, tadelakt rose, bois de cèdre, vert zellige */
:root {
  --bg: #f7f1e8;
  --surface: #efe5d7;
  --surface-2: #ead2c6;
  --ink: #2b1f19;
  --muted: #69564a;
  --line: rgba(43, 31, 25, .16);
  --rose: #a9503f;
  --rose-soft: #d99a8a;
  --cedar: #7a4329;
  --accent: #1d5a4a;
  --accent-hover: #164638;
  --accent-ink: #f7f1e8;
  --banner-bg: #2b1f19;
  --banner-ink: #efe5d7;
  --header-bg: rgba(247, 241, 232, .9);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23a9503f' stroke-opacity='.32' stroke-width='1'%3E%3Cpath d='M18 18h20v20H18z'/%3E%3Cpath d='M28 13.86 42.14 28 28 42.14 13.86 28z'/%3E%3Cpath d='M0 0l18 18M56 0 38 18M0 56l18-18M56 56 38 38M28 0v13.86M28 56V42.14M0 28h13.86M56 28H42.14'/%3E%3C/g%3E%3C/svg%3E");

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
  --step-0: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem);
  --gutter: clamp(1.25rem, .8rem + 2.4vw, 3rem);
  --space: clamp(4.5rem, 3rem + 7vw, 10rem);
  --max: 1280px;
  --radius-arch: 50% 50% 0 0 / 22% 22% 0 0;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110e;
    --surface: #211915;
    --surface-2: #33211b;
    --ink: #f2e8db;
    --muted: #c7b6a6;
    --line: rgba(242, 232, 219, .16);
    --rose: #e9a593;
    --rose-soft: #b86a59;
    --cedar: #d9a47f;
    --accent: #84c7ad;
    --accent-hover: #a2d8c2;
    --accent-ink: #10201a;
    --banner-bg: #0e0a08;
    --banner-ink: #e6d9c9;
    --header-bg: rgba(23, 17, 14, .88);
    --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23e9a593' stroke-opacity='.22' stroke-width='1'%3E%3Cpath d='M18 18h20v20H18z'/%3E%3Cpath d='M28 13.86 42.14 28 28 42.14 13.86 28z'/%3E%3Cpath d='M0 0l18 18M56 0 38 18M0 56l18-18M56 56 38 38M28 0v13.86M28 56V42.14M0 28h13.86M56 28H42.14'/%3E%3C/g%3E%3C/svg%3E");
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; color: transparent; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--rose); }
p { margin: 0 0 1.1em; max-width: 64ch; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 340;
  font-variation-settings: "SOFT" 100;
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.12; }
em, .it { font-style: italic; font-variation-settings: "SOFT" 100; }
h1 em, h2 em { color: var(--rose); font-weight: 300; }
strong { font-weight: 600; }

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

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: .7rem 1.1rem; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--bg); }

/* Demo banner */
#demo-banner {
  background: var(--banner-bg);
  color: var(--banner-ink);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: .02em;
  text-align: center;
  padding: .55rem var(--gutter);
  border-bottom: 1px solid rgba(217, 154, 138, .35);
}

/* Layout helpers */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * .6); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-text);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.eyebrow .num { font-family: var(--f-display); font-style: italic; letter-spacing: 0; text-transform: none; font-size: 1rem; font-weight: 400; color: var(--rose); }
.eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .5; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 38ch; }
.muted { color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--f-text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15em;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand-name { font-family: var(--f-display); font-size: 1.55rem; font-weight: 400; font-variation-settings: "SOFT" 100; letter-spacing: -.01em; }
.brand-name em { color: var(--rose); }
.brand-sub { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; font-weight: 500; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 1.8rem; }
.nav a { text-decoration: none; font-size: .975rem; font-weight: 500; padding-block: .4rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--rose); }
.header-cta { min-height: 42px; padding: .55rem 1.1rem; font-size: .9375rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  background-image: var(--pattern);
  background-size: 56px;
  display: flex; flex-direction: column;
  padding: 1.1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.mobile-nav ul { list-style: none; margin-top: 2.5rem; background: var(--bg); border-top: 1px solid var(--line); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem 0;
  font-family: var(--f-display); font-size: 2rem; font-weight: 340; text-decoration: none; font-variation-settings: "SOFT" 100;
}
.mobile-nav li a .num { font-size: 1rem; font-style: italic; color: var(--rose); width: 1.6rem; }
.mobile-nav .btn { margin-top: 2rem; width: 100%; }
.mobile-nav .mobile-contact { margin-top: 1.5rem; background: var(--bg); padding: .5rem 0; font-size: 1rem; color: var(--muted); }
.mobile-nav .mobile-contact a { display: block; }
.menu-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
body.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav { display: block; margin-right: 1.4rem; }
  .menu-toggle { display: none; }
  .brand { margin-right: 0; }
  .site-header .wrap { justify-content: space-between; }
  .nav { margin-left: auto; }
}

/* Photo frames with elegant fallback */
.frame {
  position: relative;
  overflow: hidden;
  background-color: var(--surface-2);
  background-image: var(--pattern);
  background-size: 56px;
  isolation: isolate;
}
.frame img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform 1.2s var(--ease); }
.frame img.is-broken { visibility: hidden; }
.frame .fallback-label {
  position: absolute; inset: auto 0 0 0; z-index: 0;
  padding: 1.2rem 1.4rem; font-family: var(--f-display); font-style: italic; font-size: 1.25rem; color: var(--rose);
}
.arch { border-radius: var(--radius-arch); }
.arch-round { border-radius: 999px 999px 0 0; }
.frame figcaption, .caption {
  font-size: .875rem; color: var(--muted); margin-top: .8rem; display: flex; gap: .6rem; align-items: baseline;
}
.caption .num { font-family: var(--f-display); font-style: italic; color: var(--rose); }

/* Hero */
.hero { padding-top: clamp(2.5rem, 2rem + 4vw, 6rem); padding-bottom: var(--space); position: relative; }
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: end; }
.hero h1 { margin-bottom: .45em; }
.hero-meta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .9375rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--rose); transform: rotate(45deg); }
.hero-visual { position: relative; }
.hero-visual .main { aspect-ratio: 4 / 5.2; width: 100%; }
.hero-visual .main img { object-position: 50% 40%; }
.hero-visual .inset {
  position: absolute; width: 38%; aspect-ratio: 3 / 4; left: -4%; bottom: -8%;
  border: 6px solid var(--bg); z-index: 2;
}
.hero-visual .inset img { object-position: 50% 60%; }
.hero-visual .stamp {
  position: absolute; right: -2%; top: 8%; z-index: 3;
  width: 110px; height: 110px; color: var(--rose);
  background: var(--bg); border-radius: 50%; padding: 4px;
}
@media (max-width: 899px) {
  .hero { padding-top: 1.25rem; }
  .hero-visual { order: -1; margin: 0 0 2.2rem 6%; }
  .hero-visual .main { aspect-ratio: 1 / 1.02; }
  .hero-visual .inset { width: 34%; left: -8%; bottom: -10%; }
  .hero-visual .stamp { width: 92px; height: 92px; right: -3%; top: 4%; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-visual { margin-bottom: 2rem; padding-left: 8%; }
  .hero-visual .main { aspect-ratio: 4 / 5; }
  .hero-visual .inset { left: 0; width: 34%; }
}

/* Page hero (inner pages) */
.page-hero { padding-top: clamp(2.5rem, 2rem + 4vw, 6rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 46ch; }
.breadcrumb { font-size: .9375rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a { color: var(--muted); }

/* Intro / welcome */
.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
  .split--rev { grid-template-columns: 7fr 5fr; }
}
.signature { font-family: var(--f-display); font-style: italic; font-size: var(--step-1); color: var(--rose); margin-top: 1.5rem; }
.materials { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.materials li { flex: 1 1 50%; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.2rem; font-variation-settings: "SOFT" 100; }
.materials li small { display: block; font-family: var(--f-text); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
@media (min-width: 700px) { .materials li { flex: 1 1 33%; } }

/* Rooms list (home) */
.rooms-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.rooms-head h2 { margin: 0; max-width: 14ch; }
.rooms { list-style: none; display: grid; gap: 2.5rem 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room-card .fallback-art { padding: 1rem; }
.room-card .fallback-art .name { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.room-card .fallback-art .note { font-size: .75rem; letter-spacing: .12em; }
.room-card { text-decoration: none; display: block; }
.room-card .frame { aspect-ratio: 3 / 4; }
.room-card:hover img { transform: scale(1.04); }
.room-card h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); margin: 1rem 0 .3rem; display: flex; gap: .55rem; align-items: baseline; }
.room-card h3 .num { font-size: .95rem; font-style: italic; color: var(--rose); }
.room-card p { font-size: .9375rem; color: var(--muted); margin: 0; }
.room-card:hover h3 { color: var(--rose); }
@media (max-width: 599px) {
  .rooms li:nth-child(even) { margin-top: 3rem; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
  .rooms li:nth-child(even) { transform: translateY(4rem); }
  .rooms { padding-bottom: 4rem; }
}
@media (min-width: 1000px) {
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem 3rem; padding-bottom: 5rem; }
  .rooms li:nth-child(3n+2) { transform: translateY(5rem); }
}

/* Exclusive band */
.band {
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 56px; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.band .wrap { position: relative; }
.band-grid { display: grid; gap: 3rem; align-items: center; }
.band .frame { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; }
.band .frame img { object-position: 50% 45%; }
.big-number { font-family: var(--f-display); font-size: clamp(5rem, 3rem + 9vw, 10rem); line-height: .85; color: var(--rose); font-weight: 300; font-variation-settings: "SOFT" 100; display: block; margin-bottom: .2em; }
@media (min-width: 900px) {
  .band-grid { grid-template-columns: 1fr 1fr; }
  .band .frame { justify-self: end; }
}

/* Full-bleed */
.bleed { position: relative; }
.bleed .frame { aspect-ratio: 4 / 5; width: 100%; }
.bleed .frame img { object-position: 42% 50%; }
.bleed-card {
  background: var(--bg); padding: 1.8rem var(--gutter) 0; position: relative;
}
@media (min-width: 800px) {
  .bleed .frame { aspect-ratio: 16 / 8; }
  .bleed-card { position: absolute; right: var(--gutter); bottom: var(--gutter); max-width: 430px; padding: 2rem 2.2rem; z-index: 2; }
}

/* Distances list */
.distances { list-style: none; border-top: 1px solid var(--line); }
.distances li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.distances .place { font-family: var(--f-display); font-size: 1.25rem; font-variation-settings: "SOFT" 100; }
.distances .place small { display: block; font-family: var(--f-text); font-size: .875rem; color: var(--muted); margin-top: .15rem; }
.distances .time { font-size: .9375rem; color: var(--muted); white-space: nowrap; text-align: right; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 18ch; margin-inline: auto; }
.cta-final p { margin-inline: auto; }
.cta-final .btn-row { justify-content: center; }
.rosette { width: 54px; height: 54px; margin: 0 auto 2rem; color: var(--rose); display: block; }

/* Rooms page rows */
.room-row { display: grid; gap: 2rem; padding-block: clamp(3rem, 2rem + 4vw, 6rem); border-top: 1px solid var(--line); }
.room-row:first-child { border-top: 0; }
.room-row .frame { aspect-ratio: 4 / 5; }
.room-row h2 { font-size: var(--step-3); margin-bottom: .3em; }
.room-row .num-big { font-family: var(--f-display); font-style: italic; color: var(--rose); font-size: 1.25rem; display: block; margin-bottom: .6rem; }
@media (min-width: 900px) {
  .room-row { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: center; }
  .room-row:nth-child(even) .frame { order: 2; }
}
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 1.5rem 0; border-top: 1px solid var(--line); }
.specs div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.specs dd { margin: .2rem 0 0; font-family: var(--f-display); font-size: 1.2rem; font-variation-settings: "SOFT" 100; }
.common { list-style: none; display: grid; gap: 0 2rem; border-top: 1px solid var(--line); }
.common li { padding: .9rem 0 .9rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.common li::before { content: ""; position: absolute; left: .2rem; top: 1.55rem; width: 7px; height: 7px; background: var(--rose); transform: rotate(45deg); }
@media (min-width: 800px) { .common { grid-template-columns: 1fr 1fr; } }

/* Room detail */
.room-hero { padding-top: clamp(2rem, 1.5rem + 3vw, 4.5rem); padding-bottom: var(--space); }
.room-hero-grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); }
.room-hero .frame.main { aspect-ratio: 4 / 5; }
.room-hero .frame.main.is-fallback { display: flex; align-items: center; justify-content: center; }
.fallback-art { position: relative; z-index: 0; text-align: center; padding: 2rem; }
.fallback-art .name { font-family: var(--f-display); font-style: italic; font-size: clamp(3rem, 2rem + 5vw, 6rem); color: var(--rose); line-height: 1; font-variation-settings: "SOFT" 100; display: block; background: var(--surface-2); padding: .2em .35em; }
.fallback-art .note { display: inline-block; margin-top: 1rem; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: .3em .6em; }
@media (min-width: 900px) {
  .room-hero-grid { grid-template-columns: 6fr 5fr; align-items: center; }
}
.price-note { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-left: 2px solid var(--rose); background: var(--surface); font-size: 1rem; }
.price-note p { margin: 0; }
.other-rooms { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.other-rooms a { display: inline-flex; padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9375rem; min-height: 44px; align-items: center; }
.other-rooms a:hover { border-color: var(--rose); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.pager a { text-decoration: none; display: flex; flex-direction: column; gap: .2rem; }
.pager a span { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager a strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; font-variation-settings: "SOFT" 100; }
.pager a:last-child { text-align: right; align-items: flex-end; }

/* Experience */
.chapter { display: grid; gap: 2.5rem; }
.chapter .frame { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: center; }
  .chapter--rev .frame-wrap { order: 2; }
}
.services { list-style: none; display: grid; gap: 0 3rem; border-top: 1px solid var(--line); }
.services li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.4rem 1fr; gap: .5rem; }
.services .num { font-family: var(--f-display); font-style: italic; color: var(--rose); }
.services strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; font-variation-settings: "SOFT" 100; }
.services span.d { color: var(--muted); font-size: 1rem; }
@media (min-width: 800px) { .services { grid-template-columns: 1fr 1fr; } }

/* Info pages */
.info-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 4fr 8fr; gap: 5rem; } }
.info-grid h2 { font-size: var(--step-2); }
.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 1.3rem 0 1.3rem 3rem; border-bottom: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1.25rem; font-family: var(--f-display); font-style: italic; color: var(--rose); font-size: 1.1rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: .35em; }
.steps p:last-child { margin-bottom: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table caption { text-align: left; font-size: .9375rem; color: var(--muted); padding-bottom: 1rem; caption-side: top; }
.table th, .table td { text-align: left; padding: .9rem .5rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom-color: var(--ink); }
.table td:last-child, .table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.table tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; font-variation-settings: "SOFT" 100; }
.stamp-tag {
  display: inline-block; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--rose); border: 1px solid currentColor; padding: .35em .8em; border-radius: 999px; margin-bottom: 1.2rem;
}
.notice { background: var(--surface); padding: 1.4rem 1.5rem; border-left: 2px solid var(--rose); margin: 1.5rem 0; }
.notice p:last-child { margin-bottom: 0; }

/* Contact */
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .3rem; }
.contact-list .k { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list .v { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); font-variation-settings: "SOFT" 100; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a.v:hover { color: var(--rose); }

/* Footer */
.site-footer { background: var(--surface); padding-top: clamp(4rem, 3rem + 4vw, 7rem); padding-bottom: calc(6rem + env(safe-area-inset-bottom)); position: relative; }
.footer-band { height: 28px; background-image: var(--pattern); background-size: 56px; opacity: .9; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-title { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); font-weight: 340; line-height: 1; margin-bottom: 1rem; font-variation-settings: "SOFT" 100; }
.footer-title em { color: var(--rose); }
.site-footer h2.k { font-family: var(--f-text); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 5fr 3fr 3fr 3fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 50;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .55rem;
  height: 54px; padding: 0 1.15rem 0 .95rem;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(20, 40, 33, .55);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.wa-float:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }

/* Reveal animation (only when JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 420px) {
  .brand-sub .long { display: none; }
  .brand-name { font-size: 1.4rem; }
  .header-cta { padding: .55rem .95rem; }
}
.site-footer .link-arrow { white-space: nowrap; font-size: .9375rem; }
.fallback-art.behind { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 0; }
.room-card .fallback-art.behind .name { font-size: clamp(1.6rem, 1.2rem + 2vw, 3rem); }
@media (max-width: 599px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float svg { width: 27px; height: 27px; }
  .room-hero .frame.main { aspect-ratio: 1 / 1.04; }
}
