/* =========================================================
   Almond & Honey Nail Co. · styles
   Light mode: almond cream, ivory, raw almond, honey glow, honey.
   Dark mode: espresso and comb. "The work" is always dark.
   Brand name: Allura. Headings: Young Serif. Text: Albert Sans.
   ========================================================= */

:root {
  --bg: #F6EFE3;          /* Almond Cream */
  --surface: #FBF8F2;     /* Ivory */
  --line: #D9C4A3;        /* Raw Almond */
  --wash: #F0DDB4;        /* Honey Glow */
  --accent: #C68B2E;      /* Honey: buttons, shapes */
  --accent-text: #8E5B26; /* Caramel: colored text (5.0:1 on cream) */
  --fg: #2B2019;          /* Espresso: text only in light mode */
  --muted: #5A4632;
  --btn-fg: #2B2019;
  --header-bg: rgba(246, 239, 227, .92);

  /* Gallery is always dark */
  --work-bg: #2B2019;
  --work-fg: #F6EFE3;
  --work-accent: #D9A24A;
  --work-muted: #D9C4A3;
  --work-slot: #45331F;

  --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14,0 L28,8 L28,24 L14,32 L0,24 L0,8 Z M14,32 L14,48.5' fill='none' stroke='%23C68B2E' stroke-opacity='.42' stroke-width='1'/%3E%3C/svg%3E");
  --comb-work: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14,0 L28,8 L28,24 L14,32 L0,24 L0,8 Z M14,32 L14,48.5' fill='none' stroke='%23D9A24A' stroke-opacity='.22' stroke-width='1'/%3E%3C/svg%3E");

  --f-brand: "Allura", "Snell Roundhand", cursive;
  --f-head: "Young Serif", Georgia, "Times New Roman", serif;
  --f-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --section: clamp(64px, 10vw, 120px);
  --header-h: 64px;
  color-scheme: light;
}

/* Dark values, used by the device setting and by the toggle */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #2B2019; --surface: #45331F; --line: #6B5238; --wash: #4E3920;
    --accent: #C68B2E; --accent-text: #D9A24A; --fg: #F6EFE3; --muted: #D9C4A3; --btn-fg: #2B2019;
    --header-bg: rgba(43, 32, 25, .92);
    --work-bg: #1E1611;
    --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14,0 L28,8 L28,24 L14,32 L0,24 L0,8 Z M14,32 L14,48.5' fill='none' stroke='%23D9A24A' stroke-opacity='.26' stroke-width='1'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #2B2019; --surface: #45331F; --line: #6B5238; --wash: #4E3920;
  --accent: #C68B2E; --accent-text: #D9A24A; --fg: #F6EFE3; --muted: #D9C4A3; --btn-fg: #2B2019;
  --header-bg: rgba(43, 32, 25, .92);
  --work-bg: #1E1611;
  --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14,0 L28,8 L28,24 L14,32 L0,24 L0,8 Z M14,32 L14,48.5' fill='none' stroke='%23D9A24A' stroke-opacity='.26' stroke-width='1'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--btn-fg); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }

.label {
  font: 600 12px/1 var(--f-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head h2, .about-copy h2, .book-copy h2, .rewards-copy h2 {
  font: 400 clamp(32px, 5vw, 52px)/1.08 var(--f-head);
}

.placeholder-copy { color: var(--muted); font-style: italic; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  background: var(--accent); color: var(--btn-fg);
  font: 700 15px/1 var(--f-body); letter-spacing: .03em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-text); color: var(--bg); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.text-link {
  color: var(--accent-text); font-weight: 600; font-size: 15px;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Comb texture (prominent) ----------
   Each section gets one large patch that fades out at its edges. */
.comb { position: relative; isolation: isolate; }
.comb::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; width: min(680px, 95%); height: min(560px, 100%);
  background: var(--comb);
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
}
.comb-right::after { right: -6%; }
.comb-left::after { left: -6%; }
.comb-field {
  position: absolute; inset: 0; pointer-events: none; background: var(--comb);
  -webkit-mask-image: radial-gradient(60% 90% at 85% 50%, #000 20%, transparent 100%);
          mask-image: radial-gradient(60% 90% at 85% 50%, #000 20%, transparent 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.brand-name { font: 400 30px/1 var(--f-brand); color: var(--fg); white-space: nowrap; }
.brand .amp, .wordmark .amp { color: var(--accent); }
.brand-co { font: 600 8.5px/1 var(--f-body); letter-spacing: .42em; text-transform: uppercase; color: var(--accent-text); margin-top: 3px; padding-left: .42em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: transparent; border: 0; color: var(--fg); cursor: pointer; padding: 0;
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.icon-btn svg .dot { fill: currentColor; stroke: none; }
.icon-btn:hover { color: var(--accent-text); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
.header-actions .btn { margin-left: 8px; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 480px) {
  .header-actions .ig-icon { display: none; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 26px; }
  .header-actions .btn { margin-left: 2px; padding: 0 14px; }
  .header-actions .icon-btn { width: 40px; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; }
.mobile-menu li a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 400 30px/1.15 var(--f-head); text-decoration: none;
}
.mobile-menu .btn { align-self: stretch; }
.ig-line { color: var(--accent-text); font-weight: 600; text-decoration: none; text-align: center; padding: 10px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 6vw, 72px) clamp(48px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none;
  background: radial-gradient(45% 60% at 78% 42%, var(--wash), transparent 75%);
}
.hero.comb::after { top: -40px; width: min(820px, 110%); height: 640px; }
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: 0;
}
.wordmark { display: grid; justify-items: start; position: relative; z-index: 2; }
.wm-line { font: 400 clamp(88px, 13vw, 176px)/.9 var(--f-brand); color: var(--fg); white-space: nowrap; }
.wm-line:nth-child(2) { padding-left: .5em; }
.wm-co {
  display: flex; align-items: center; gap: 14px; width: min(100%, 420px);
  margin-top: 14px; font: 600 12px/1 var(--f-body); letter-spacing: .5em; text-transform: uppercase; color: var(--fg);
}
.wm-co::before, .wm-co::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.tagline { font: 400 clamp(26px, 3.4vw, 38px)/1.15 var(--f-head); margin-top: clamp(24px, 4vw, 40px); }
.lede { color: var(--muted); max-width: 36ch; margin-top: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }

.hero-art { position: relative; justify-self: end; width: min(100%, 380px); margin-left: -12%; }
.almond-frame {
  margin: 0; aspect-ratio: 3 / 4.6; width: 100%;
  background: linear-gradient(160deg, var(--wash), var(--line) 60%, var(--accent-text));
  position: relative; overflow: hidden;
  /* Almond nail silhouette */
  clip-path: polygon(50% 0%, 61% 1.4%, 71% 4.3%, 80% 8.6%, 87.5% 14%, 93% 20.4%, 97% 27.6%, 99.3% 35.4%, 100% 43%, 100% 100%, 0% 100%, 0% 43%, .7% 35.4%, 3% 27.6%, 7% 20.4%, 12.5% 14%, 20% 8.6%, 29% 4.3%, 39% 1.4%);
}
.almond-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-small {
  position: absolute; left: -22%; bottom: -6%; width: 44%; aspect-ratio: 1; margin: 0;
  background: linear-gradient(135deg, var(--line), var(--accent-text));
  border: 6px solid var(--bg); overflow: hidden;
}
.hero-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .almond-frame { aspect-ratio: 3 / 4.2; }
.hero-art .almond-frame img { object-position: 50% 60%; }
.vertical-handle {
  position: absolute; right: max(10px, calc((100vw - var(--max)) / 2 - 24px)); top: 50%;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font: 600 11px/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent-text); text-decoration: none; padding: 8px;
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .wm-line { font-size: clamp(76px, 25vw, 120px); }
  .hero-art { order: 2; justify-self: center; width: min(74%, 300px); margin: 28px 0 0 14%; }
  .hero-copy { display: contents; }
  .wordmark { order: 1; }
  .tagline, .lede, .hero-actions { order: 3; }
  .tagline { margin-top: 44px; }
  .vertical-handle { top: 360px; transform: rotate(180deg); right: 2px; }
}

/* ---------- Photo slots: shown until a photo is added ---------- */
.slot.is-empty:not(.work-item) { display: grid; place-items: center; }
.slot.is-empty img { display: none; }
.slot.is-empty:not(.work-item)::before {
  content: "Photo slot\A" attr(data-slot);
  white-space: pre-line; text-align: center; padding: 12px;
  font: 600 10.5px/1.6 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); opacity: .8;
}

/* ---------- The work (always dark) ---------- */
.work { background: var(--work-bg); color: var(--work-fg); padding-block: var(--section); }
.work.comb::after { background: var(--comb-work); height: 520px; width: min(760px, 100%); }
.work .label { color: var(--work-accent); }
.work-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 5vw, 48px); }
.work-head h2 { font: 400 clamp(44px, 8vw, 88px)/1 var(--f-head); }

.work-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.work-item { margin: 0; display: grid; gap: 10px; align-content: start; }
.work-open {
  display: block; width: 100%; padding: 0; border: 0; background: var(--work-slot); cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; position: relative;
}
.work-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-open::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(198, 139, 46, .28));
  opacity: 0; transition: opacity .35s;
}
.work-open:hover img, .work-open:focus-visible img { transform: scale(1.03); }
.work-open:hover::after, .work-open:focus-visible::after { opacity: 1; }
.work-open:focus-visible { outline-color: var(--work-accent); }
.work-item.is-empty .work-open { cursor: default; display: grid; place-items: center; }
.work-item.is-empty .work-open::before {
  content: "Photo slot\A" attr(data-slot); white-space: pre-line; text-align: center;
  font: 600 10.5px/1.6 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--work-muted);
}
.work-item.is-empty .work-open img { display: none; }
figcaption { font-size: 14px; color: var(--work-muted); }
.cap-name { font: 400 17px/1.3 var(--f-head); color: var(--work-fg); }
.cap-meta::before { content: "· "; }
.featured .work-open { aspect-ratio: 4 / 5.2; }
.featured .cap-name { font-size: 22px; }

.work-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px);
}
.work-strip > :nth-child(3n+2) { margin-top: 64px; }
.work-strip > :nth-child(3n) { margin-top: 28px; }
.ig-tile {
  aspect-ratio: 4 / 5; border: 1px solid var(--work-accent); text-decoration: none;
  display: grid; align-content: center; gap: 12px; padding: 22px;
  transition: background-color .3s;
}
.ig-tile:hover { background: rgba(217, 162, 74, .1); }
.ig-big { font: 400 clamp(24px, 2.4vw, 30px)/1.12 var(--f-head); color: var(--work-fg); }
.ig-tile { justify-items: center; text-align: center; }
.ig-handle { display: grid; justify-items: center; gap: 4px; font: 600 12.5px/1.4 var(--f-body); color: var(--work-accent); }
.strip-hint { display: none; }

@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-strip {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    padding-bottom: 6px; scrollbar-width: none;
  }
  .work-strip::-webkit-scrollbar { display: none; }
  .work-strip > * { flex: 0 0 66%; scroll-snap-align: start; margin-top: 0 !important; }
  .strip-hint { display: block; font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--work-muted); }
}

/* ---------- The menu ---------- */
.menu-section { padding-block: var(--section); }
.menu-card {
  position: relative; max-width: 760px; background: var(--surface);
  border-block: 1px solid var(--fg);
  padding: clamp(24px, 5vw, 48px) clamp(18px, 5vw, 56px);
  display: grid; gap: 28px; justify-items: start;
}
.menu-jump { display: flex; flex-wrap: wrap; gap: 8px 22px; width: 100%; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.menu-jump a { font-weight: 600; font-size: 14px; color: var(--accent-text); text-decoration: none; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }
.menu-jump a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-list { display: grid; gap: 36px; width: 100%; }
.menu-cat { display: grid; gap: 18px; }
.menu-cat h3 { font: 400 clamp(26px, 3.4vw, 32px)/1.1 var(--f-head); }
.menu-cat h3 .num { color: var(--accent-text); margin-right: 12px; }
.menu-items { display: grid; gap: 18px; }
.menu-cat.compact .menu-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
.m-item { display: grid; gap: 3px; }
.m-row { display: flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: 17px; }
.m-row .m-name { min-width: 0; }
.m-row::after { content: ""; order: 1; flex: 1; min-width: 20px; border-bottom: 2px dotted var(--line); transform: translateY(-5px); }
.m-price { order: 2; color: var(--accent-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-price.tbd { font-weight: 500; font-style: italic; font-size: 14px; }
.m-desc { color: var(--muted); font-size: 15px; }
.m-dur { font-size: 11.5px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; color: var(--accent-text); margin-left: 8px; white-space: nowrap; }
.menu-foot { color: var(--muted); font-size: 14px; }
.comb-corner::before {
  content: ""; position: absolute; right: 0; top: 0; width: 280px; height: 120px; pointer-events: none;
  background: var(--comb);
  -webkit-mask-image: radial-gradient(farthest-side at 100% 0%, #000 20%, transparent 100%);
          mask-image: radial-gradient(farthest-side at 100% 0%, #000 20%, transparent 100%);
}
@media (max-width: 560px) { .menu-cat.compact .menu-items { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding-block: var(--section); }
.about-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.about-photo { position: relative; margin: 0; width: min(100%, 400px); justify-self: center; }
.about-photo .almond-frame { aspect-ratio: 3 / 4.4; }
.about-photo .almond-frame img { object-position: 50% 20%; }
.almond-outline {
  position: absolute; inset: 0; width: 100%; height: 100%; transform: translate(18px, 18px); z-index: -1;
  fill: none; stroke: var(--accent); stroke-width: 1.2; overflow: visible;
}
.about-copy { display: grid; gap: 20px; max-width: 54ch; }
.about-text { display: grid; gap: 14px; color: var(--muted); }
.sign-off { color: var(--muted); margin-bottom: -14px; }
.signature { font: 400 52px/1 var(--f-brand); color: var(--accent-text); }
@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { width: min(78%, 340px); margin-right: 18px; }
}

/* ---------- Rewards ---------- */
.rewards { padding-block: 0 var(--section); }
.rewards-card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.rewards-card .comb-field { -webkit-mask-image: none; mask-image: none; opacity: .9; }
.rewards-copy { position: relative; display: grid; gap: 14px; max-width: 46ch; }
.stamps { position: relative; display: flex; gap: 6px; }
.stamps li {
  width: 52px; height: 58px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--accent-text); position: relative;
}
.stamps li::before {
  content: ""; position: absolute; inset: 1.5px;
  clip-path: inherit; background: var(--surface);
}
.stamps li.filled::before { background: var(--accent); }
.stamps li.reward span[aria-hidden] { position: relative; font: 400 20px/1 var(--f-head); color: var(--accent-text); }
@media (max-width: 700px) { .rewards-card { grid-template-columns: 1fr; } .stamps li { width: 46px; height: 52px; } }

/* ---------- Reviews (shown once real reviews exist) ---------- */
.reviews { padding-block: var(--section); }
.pull-quote { margin: 16px 0 0; display: grid; gap: 18px; max-width: 30ch; }
.pull-quote p { font: 400 clamp(28px, 4.4vw, 46px)/1.2 var(--f-head); }
.pull-quote p::before { content: "“"; color: var(--accent); margin-right: .05em; }
.pull-quote footer { color: var(--muted); font-size: 14px; letter-spacing: .08em; }

/* ---------- Accordions (policies, FAQ) ---------- */
.policies, .faq { padding-block: var(--section) 0; }
.faq { padding-bottom: var(--section); }
.accordion { border-top: 1px solid var(--fg); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font: inherit; }
.acc-item button {
  width: 100%; min-height: 64px; display: flex; align-items: center; gap: 18px;
  padding: 16px 0; background: none; border: 0; color: var(--fg); text-align: left; cursor: pointer;
}
.acc-num { font: 600 12px/1 var(--f-body); letter-spacing: .14em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.acc-title { flex: 1; font: 400 clamp(19px, 2.4vw, 23px)/1.3 var(--f-head); }
.acc-icon { width: 20px; height: 20px; position: relative; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.6px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .3s; }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item button[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { padding: 0 0 22px 0; max-width: 62ch; }
.policies .acc-panel { padding-left: 38px; }

/* ---------- Book ---------- */
.book { padding-block: 0 var(--section); }
.book-card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
}
.book-copy { position: relative; display: grid; gap: 14px; }
.book-copy > p:not(.label) { color: var(--muted); }
.book-copy .hero-actions { margin-top: 10px; }
.book-note { font-size: 14px; color: var(--accent-text) !important; }
.visit { position: relative; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.visit div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.visit dt { font: 600 12px/1.9 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.visit dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.visit a { color: var(--accent-text); font-weight: 600; }
@media (max-width: 760px) { .book-card { grid-template-columns: 1fr; } .visit div { grid-template-columns: 96px 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.brand-footer .brand-name { font-size: 44px; }
.brand-footer .brand-co { font-size: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.footer-nav a { text-decoration: none; font-size: 15px; padding: 10px 2px; display: inline-block; }
.footer-nav a:hover { color: var(--accent-text); }
.footer-small { font-size: 13px; color: var(--muted); }
.footer-small a { color: var(--accent-text); }

/* ---------- Sticky book bar (phones) ---------- */
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--header-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.book-bar .btn { width: 100%; }
@media (max-width: 760px) {
  .book-bar { display: block; }
  .book-bar.show { transform: none; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 14, 10, .94); color: #F6EFE3;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 14, 10, .6); }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 16px; }
.lightbox img { max-width: min(92vw, 900px); max-height: 78vh; object-fit: contain; }
.lightbox figcaption { font: 400 20px/1.3 var(--f-head); color: #F6EFE3; text-align: center; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border: 1px solid rgba(246, 239, 227, .35);
  background: rgba(43, 32, 25, .6); color: #F6EFE3; font-size: 30px; line-height: 1; cursor: pointer;
}
.lb-btn:hover { border-color: #D9A24A; color: #D9A24A; }
.lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; } }

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