/* Lash Club by Courtney
   The original Lash Club palette (linen, ivory, nude, taupe, charcoal), upgraded:
   glass surfaces, a satin edge that echoes a lash fiber, and one hairline weight. */

:root {
  --linen: #f0e9e2;
  --ivory: #faf8f6;
  --sand: #efe6dc;
  --nude: #e6ddd3;
  --taupe: #d9cfc4;
  --mocha: #c8bbae;
  --stone: #b0a295;
  --ink: #2c2c2c;
  --ink-soft: #5a4f48;
  --white: #ffffff;
  --line: rgba(44, 44, 44, 0.12);
  --line-strong: rgba(44, 44, 44, 0.24);
  --glass: rgba(250, 248, 246, 0.62);
  --edge: linear-gradient(100deg, var(--mocha), var(--ink) 42%, var(--stone) 72%, var(--white));
  --satin: linear-gradient(135deg, var(--nude), var(--taupe));

  --display: "Anybody", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
address { font-style: normal; }

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

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--ivory); font-weight: 600; text-decoration: none;
}
.skip:not(:focus) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-200%);
}

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

/* ------------------------------------------------------------ type */

.h2 {
  font-family: var(--display);
  font-weight: 200;
  font-stretch: 140%;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink);
}

.text-link {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  background: var(--edge) left bottom / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.3s var(--ease);
}
.text-link:hover { background-size: 100% 2px; }

/* --------------------------------------------------------- buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: 500 15px/1 var(--body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.2s var(--ease), background-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.98); }

/* A satin glint sweeps across a button on hover, like light along a lash. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--ink {
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 0 10px 30px -12px rgba(44, 44, 44, 0.55);
}
.btn--ink::after { background: linear-gradient(110deg, transparent 30%, rgba(230, 221, 211, 0.35) 50%, transparent 70%); }
.btn--ink:hover { background: #3a3532; }

.btn--glass {
  background: var(--glass);
  color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.85); }

.btn--lg { min-height: 60px; padding: 0 38px; font-size: 17px; }

/* Satin hairline border that works on translucent surfaces. */
.edge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.interior .site-header {
  background: rgba(240, 233, 226, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-word {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 150%;
  font-size: 21px;
  letter-spacing: 0.02em;
}
.brand-by {
  font-size: 13px;
  color: var(--ink-soft);
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

.header-book { min-height: 42px; padding: 0 20px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg { margin: auto; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.menu-toggle path { transition: transform 0.3s var(--ease); transform-origin: center; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { transform: translate(-2px, -4px) rotate(-45deg) scaleX(1.29); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 104px var(--gutter) 40px;
  background: rgba(240, 233, 226, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 200;
  font-stretch: 140%;
  font-size: 30px;
  text-decoration: none;
}
.mobile-menu-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-soft); font-size: 15px; }
.mobile-menu-meta a { text-decoration: none; }

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--linen);
}

.hero-media,
.hero-media picture,
.hero-media img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img,
.hero-video { object-fit: cover; object-position: 30% 50%; }
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(240, 233, 226, 0.95) 0%, rgba(240, 233, 226, 0.6) 26%, rgba(240, 233, 226, 0) 52%),
    linear-gradient(to right, rgba(240, 233, 226, 0.75) 0%, rgba(240, 233, 226, 0.35) 38%, rgba(240, 233, 226, 0) 60%),
    linear-gradient(to bottom, rgba(240, 233, 226, 0.6) 0%, rgba(240, 233, 226, 0) 16%);
}

.hero-content {
  position: relative;
  padding-top: 140px;
  padding-bottom: clamp(56px, 9vh, 104px);
}

.hero-title {
  font-family: var(--display);
  font-weight: 150;
  font-stretch: 150%;
  font-size: clamp(42px, 8.2vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero-title span { display: block; white-space: nowrap; }

.hero-sub {
  max-width: 34ch;
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: #453d39;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 9vh, 104px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
}
.video-toggle[hidden] { display: none; }
.video-toggle svg { fill: currentColor; grid-area: 1 / 1; }
.video-toggle .i-play,
.video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }

/* The one orchestrated moment: the headline stretches open like a lash fan. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span {
    animation: stretch 1.8s var(--ease) both;
  }
  .hero-title span + span { animation-delay: 0.12s; }
  .hero-sub,
  .hero-actions {
    animation: rise 1s var(--ease) both 0.9s;
  }
  .hero-actions { animation-delay: 1.02s; }
}
@keyframes stretch {
  from { font-stretch: 55%; opacity: 0; filter: blur(10px); }
  40% { opacity: 1; }
  to { font-stretch: 150%; opacity: 1; filter: blur(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------- sections */

.section { padding-block: clamp(88px, 12vw, 168px); }
.section + .section { border-top: 1px solid var(--line); }
.section--ivory { background: var(--ivory); }

.section-head {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head p { color: var(--ink-soft); max-width: 56ch; }

/* ------------------------------------------------------------ menu */

.menu-cols,
.menu-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 120px 110px 90px;
  align-items: center;
  column-gap: 32px;
}
.menu-cols {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.menu-cols span:nth-child(n + 3) { text-align: right; }

.menu-list { position: relative; z-index: 0; }
.menu-list li { border-bottom: 1px solid var(--line); }

.menu-row {
  position: relative;
  padding-block: 26px;
  text-decoration: none;
}
.menu-row::after {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  z-index: -1;
  border-radius: 20px;
  background: radial-gradient(120% 140% at 0% 50%, rgba(255, 255, 255, 0.95), rgba(250, 248, 246, 0.6) 50%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.menu-row:hover::after,
.menu-row:focus-visible::after { opacity: 1; }

.glyph {
  width: 120px;
  height: 56px;
  fill: none;
  stroke: url(#lash-stroke) var(--ink);
  stroke-width: 0.9;
  stroke-linecap: round;
  transition: stroke-width 0.3s var(--ease);
}
.menu-row:hover .glyph { stroke-width: 1.2; }
.glyph .glyph-line { stroke: var(--ink); stroke-width: 1.4; opacity: 0.8; }

.menu-name h3 {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 130%;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
}
.menu-name span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 15px; }

.menu-figures { display: contents; }
.menu-figures > div { text-align: right; }
.menu-figures dt {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.menu-figures dd {
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}
.menu-figures div:first-child dd { color: var(--ink-soft); font-size: 15px; }
.menu-figures div:not(:first-child) dd {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 120%;
  font-size: 24px;
}

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 48px;
}
.menu-foot p { color: var(--ink-soft); font-size: 15px; }

/* ----------------------------------------------------------- about */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

/* Almond "eye" window onto the hero footage. */
.eye-window {
  position: relative;
  aspect-ratio: 11 / 6.4;
  clip-path: ellipse(50% 46% at 50% 54%);
  -webkit-mask: radial-gradient(52% 50% at 50% 54%, #000 74%, transparent 100%);
  mask: radial-gradient(52% 50% at 50% 54%, #000 74%, transparent 100%);
}
.eye-window img { width: 100%; height: 100%; object-fit: cover; }

.about-copy { display: grid; gap: 24px; justify-items: start; }
.about-copy p:not(.lede) { color: var(--ink-soft); max-width: 52ch; }
.about-copy .btn { margin-top: 8px; }

/* -------------------------------------------------------- timeline */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 40px;
  margin-bottom: 48px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--ink), var(--mocha) 70%, transparent);
}
.timeline > li { position: relative; }
.timeline > li::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 4px var(--ivory), 0 0 18px 4px rgba(255, 255, 255, 0.9);
}
.timeline h3 {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 130%;
  font-size: 22px;
  margin-bottom: 18px;
}
.timeline ul { display: grid; gap: 12px; }
.timeline ul li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
}
.timeline ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 1px;
  background: var(--line-strong);
}

/* -------------------------------------------------------- policies */

.policies-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.policies-grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.policies-grid .text-link { justify-self: start; }

.rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}
.rules > div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.rules dt {
  font-weight: 600;
  margin-bottom: 6px;
}
.rules dd { color: var(--ink-soft); font-size: 16px; }
.rules dd a { color: var(--ink); }

/* ----------------------------------------------------------- visit */

.visit {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, var(--linen), var(--sand));
}
.visit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1200px, 140vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.visit .wrap { position: relative; }
.visit-title {
  max-width: 14ch;
  margin: 0 auto 40px;
  font-family: var(--display);
  font-weight: 150;
  font-stretch: 150%;
  font-size: clamp(36px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(64px, 9vw, 112px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.visit-grid h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.visit-grid address { margin-bottom: 12px; font-size: 18px; }
.visit-grid p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.visit-big {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 115%;
  font-size: clamp(20px, 2vw, 26px);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.visit-big:hover { color: var(--ink-soft); }

/* ---------------------------------------------------------- footer */

.site-footer {
  padding: 56px 0 120px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--nude), var(--taupe));
}
.footer-word {
  font-family: var(--display);
  font-weight: 100;
  font-stretch: 150%;
  font-size: clamp(40px, 11vw, 166px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--ink), var(--ink-soft) 55%, var(--stone));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-tag { color: var(--ink-soft); max-width: 30ch; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-col h2 { font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 4px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink-soft);
}

/* Mobile booking bar, shown once the hero is out of view. */
.book-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 40px -10px rgba(44, 44, 44, 0.5);
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.book-bar span { font-weight: 400; font-size: 14px; color: var(--taupe); }
.book-bar.is-visible { transform: none; }

/* -------------------------------------------------- interior pages */

.page-head {
  position: relative;
  padding: 168px 0 64px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand), var(--linen));
}
.page-head-glow {
  position: absolute;
  right: -10%;
  top: -40%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.page-head .wrap { position: relative; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumb-sep { opacity: 0.5; }

.page-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
}
.page-title {
  font-family: var(--display);
  font-weight: 150;
  font-stretch: 150%;
  font-size: clamp(38px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.015em;
}

.facts { display: flex; gap: 10px; flex-wrap: wrap; }
.facts > div {
  position: relative;
  min-width: 112px;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.facts dt { font-size: 13px; color: var(--ink-soft); }
.facts dd {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 120%;
  font-size: 24px;
}

.page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 7vw, 112px);
  padding-block: 72px 120px;
  align-items: start;
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  margin-top: 56px;
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 130%;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
}
.prose p:not(.lede) { color: #4a423e; }
.prose a { color: var(--ink); text-decoration-color: var(--stone); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose b { color: var(--ink); font-weight: 600; }

.points { display: grid; gap: 14px; }
.points li {
  position: relative;
  padding-left: 26px;
  color: #4a423e;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 14px;
  height: 1px;
  background: var(--edge);
}

.windows { display: grid; gap: 0; }
.windows li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.windows b {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 120%;
  font-size: 18px;
}
.windows span { color: #4a423e; }

.rules--page { grid-template-columns: 1fr; margin-top: 24px; }

.page-rail { position: sticky; top: 108px; display: grid; gap: 24px; }

.book-card {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.95), transparent 60%),
    var(--sand);
  box-shadow: 0 24px 60px -30px rgba(44, 44, 44, 0.35);
}
.book-card h2 {
  font-family: var(--display);
  font-weight: 300;
  font-stretch: 125%;
  font-size: 24px;
  line-height: 1.15;
}
.book-card p { font-size: 14px; color: var(--ink-soft); }

.rail-list { display: grid; }
.rail-list h2 { font-size: 14px; font-weight: 500; color: var(--ink-soft); padding-bottom: 12px; }
.rail-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.rail-list a span:last-child { color: var(--ink-soft); font-size: 15px; }
.rail-list a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-tag { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-book { display: none; }
  .book-bar { display: flex; }
  .site-footer { padding-bottom: 104px; }

  .menu-cols { display: none; }
  .menu-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name glyph" "figs figs";
    row-gap: 14px;
  }
  .menu-glyph { grid-area: glyph; }
  .menu-glyph:empty { display: none; }
  .menu-name { grid-area: name; }
  .menu-figures {
    grid-area: figs;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
  }
  .menu-figures > div { text-align: left; }
  .menu-figures dt {
    position: static; width: auto; height: auto; overflow: visible; clip: auto;
    font-size: 13px; color: var(--ink-soft);
  }
  .glyph { width: 96px; height: 45px; }

  .about-grid,
  .policies-grid,
  .page-body { grid-template-columns: 1fr; }
  .policies-grid .section-head { position: static; }
  .page-rail { position: static; }

  .timeline { grid-template-columns: 1fr; gap: 36px; padding-top: 0; padding-left: 36px; }
  .timeline::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--ink), var(--mocha)); }
  .timeline > li::before { top: 6px; left: -36px; }

  .visit-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-row { height: 64px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 18px; }
  .brand-by { font-size: 12px; white-space: nowrap; }
  .hero-content { padding-bottom: 96px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .video-toggle { bottom: 24px; }
  .rules { grid-template-columns: 1fr; }
  .windows li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-head { padding-top: 128px; }
}

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