/* Escobar Tailors demo site
   Palette: deep navy + warm ivory + antique gold. Type: Cormorant Garamond (display) + Jost (text). */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #0b1322;
  --navy-900: #121d33;
  --navy-800: #1a2843;
  --navy-700: #263657;
  --charcoal: #1c1d21;
  --ivory: #f6f0e4;
  --ivory-2: #efe5d2;
  --paper: #fbf8f2;
  --ink: #1b1d23;
  --muted: #5b574e;
  --muted-light: #b9b3a6;
  --gold: #c9a66b;
  --gold-soft: #e3cb9c;
  --gold-deep: #7a5a26;
  --line: rgba(27, 29, 35, .14);
  --line-light: rgba(246, 240, 228, .16);
  --ok: #7fc79a;
  --closed: #e59a8a;
  --error: #a3271b;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dialog { padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-950); padding: 10px 16px; font-weight: 500;
  border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ivory :focus-visible, .paper :focus-visible, .form-card :focus-visible { outline-color: var(--gold-deep); }

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.i.flip { transform: scaleX(-1); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 0; border-top: 1.5px dashed currentColor; }
.eyebrow-light { color: var(--gold); }

h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h2 { font-size: clamp(2.5rem, 7.4vw, 4.2rem); line-height: 1; font-weight: 500; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.navy h2 em, .charcoal h2 em, .hero h1 em { color: var(--gold); }
h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; font-weight: 600; }

.section { padding: clamp(76px, 12vw, 132px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-lede { margin-top: 20px; font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.navy .section-lede, .charcoal .section-lede { color: var(--muted-light); }

.ivory { background: var(--ivory); }
.paper { background: var(--paper); }
.navy { background: var(--navy-900); color: var(--ivory); }
.charcoal { background: var(--charcoal); color: var(--ivory); }
.pinstripe {
  background-image: repeating-linear-gradient(90deg, transparent 0 27px, rgba(246, 240, 228, .035) 27px 28px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(246, 240, 228, .4); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: var(--ivory); }
.btn .i { width: 1.1em; height: 1.1em; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15px; letter-spacing: .04em; text-decoration: none;
  color: var(--navy-900); border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}
.text-link .i { transition: transform .25s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }
.text-btn { background: none; border: 0; padding: 6px 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topbar-h);
  color: var(--ivory);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.topbar.scrolled, .topbar.open { background: rgba(11, 19, 34, .96); box-shadow: 0 1px 0 var(--line-light); }
@supports (backdrop-filter: blur(8px)) {
  .topbar.scrolled { background: rgba(11, 19, 34, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 34px; width: auto; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(246, 240, 228, .3);
  background: transparent; color: var(--ivory); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.burger { display: grid; gap: 6px; width: 18px; }
.burger span { height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.topbar.open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.topbar.open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--topbar-h) 0 auto 0;
  background: rgba(11, 19, 34, .98);
  display: grid; padding: 8px var(--gutter) 28px;
  border-bottom: 1px solid var(--line-light);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.js .topbar.open .menu { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.menu a {
  font-family: var(--serif); font-size: 1.7rem; text-decoration: none; padding: 10px 0;
  border-bottom: 1px dashed var(--line-light);
}
.menu a:hover { color: var(--gold-soft); }
.menu .menu-book { color: var(--gold); border-bottom: 0; }
.hide-md { display: none; }

@media (min-width: 1000px) {
  :root { --topbar-h: 80px; }
  .brand img { height: 40px; }
  .menu-toggle { display: none; }
  .menu {
    position: static; display: flex; gap: 28px; padding: 0; background: none; border: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .menu a {
    font-family: var(--sans); font-size: 14px; letter-spacing: .06em; padding: 6px 0;
    border-bottom: 1px solid transparent;
  }
  .menu a:hover { border-bottom-color: var(--gold); color: var(--ivory); }
  .menu .menu-book { display: none; }
  .hide-md { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 70% at 85% 10%, rgba(201, 166, 107, .13), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(246, 240, 228, .035) 27px 28px),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 70%);
  color: var(--ivory);
  padding: calc(var(--topbar-h) + 36px) 0 64px;
}
.lapel {
  position: absolute; top: 40px; right: -110px; width: 420px; height: auto;
  opacity: .5; pointer-events: none;
}
.lapel path { fill: none; stroke: var(--gold); vector-effect: non-scaling-stroke; }
.lapel-line { stroke-width: 1; opacity: .55; }
.lapel-stitch { stroke-width: 1; stroke-dasharray: 3 5; opacity: .5; }
.js .lapel-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-grid { position: relative; display: grid; gap: 48px; }
.hero h1 {
  font-size: clamp(3.6rem, 17vw, 7.4rem);
  line-height: .9; font-weight: 500; letter-spacing: -.02em;
}
.hero h1 em { display: inline-block; padding-left: .5em; }
.hero-lede { margin-top: 26px; font-size: 1.1rem; line-height: 1.6; color: #d9d2c3; max-width: 34em; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ctas .btn { flex: 1 1 220px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .02em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-light); flex: none; }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(127, 199, 154, .6); animation: pulse 2.4s infinite; }
.status.is-closed .status-dot { background: var(--closed); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(127, 199, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 199, 154, 0); } }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #d9d2c3; }
.hero-rating strong { color: var(--ivory); font-weight: 500; }
.hero-rating:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .i { width: 15px; height: 15px; }
.stars .dim { opacity: .3; }
.stars .half { -webkit-mask: linear-gradient(90deg, #000 45%, rgba(0, 0, 0, .3) 45%); mask: linear-gradient(90deg, #000 45%, rgba(0, 0, 0, .3) 45%); }

.hero-figure { position: relative; max-width: 440px; width: 86%; margin-left: auto; }
.hero-frame {
  position: relative; padding: 10px;
  border: 1px solid rgba(201, 166, 107, .5);
}
.hero-frame::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  border: 1px dashed rgba(201, 166, 107, .45);
}
.hero-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.hero-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--muted-light); letter-spacing: .02em; }

.hang-tag {
  position: absolute; left: -16%; bottom: 13%;
  width: 150px; padding: 30px 16px 18px;
  background: var(--ivory); color: var(--navy-900);
  border-radius: 6px 6px 10px 10px;
  clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  text-align: center; display: grid; gap: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transform: rotate(-6deg);
}
.hang-tag::before {
  content: ""; position: absolute; top: 11px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--navy-900); box-shadow: inset 0 0 0 2px var(--gold);
}
.hang-tag::after {
  content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(18, 29, 51, .35); border-radius: 4px;
  clip-path: inherit; pointer-events: none;
}
.hang-tag-k { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hang-tag-v { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.hang-tag-n { font-family: var(--serif); font-size: 2.3rem; font-style: italic; line-height: 1; color: var(--gold-deep); }
.js .hang-tag { animation: swing 1.4s .6s var(--ease) both; transform-origin: 50% 0; }
@keyframes swing { from { transform: rotate(4deg) translateY(-10px); opacity: 0; } to { transform: rotate(-6deg); opacity: 1; } }

@media (min-width: 960px) {
  .hero { padding: calc(var(--topbar-h) + 72px) 0 110px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
  .hero-figure { width: 100%; margin-right: 0; }
  .lapel { right: 4%; top: calc(var(--topbar-h) + 8px); width: 500px; opacity: .45; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .hang-tag { left: -70px; width: 164px; }
}

/* ---------- Career band (tape measure) ---------- */
.tape {
  position: relative;
  background: var(--ivory-2);
  color: var(--navy-900);
  padding: 34px 0 30px;
}
.tape::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(18, 29, 51, .55) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(18, 29, 51, .7) 0 1px, transparent 1px 50px);
  background-size: auto 6px, auto 12px; background-repeat: repeat-x;
}
.tape-inner { display: grid; gap: 18px; }
.tape-title {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.tape-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.tape-list li { display: grid; border-left: 1px dashed rgba(18, 29, 51, .3); padding-left: 14px; }
.tape-list strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.tape-list span { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .tape-inner { grid-template-columns: 220px 1fr; align-items: center; }
  .tape-list { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Services ---------- */
.duo { display: grid; gap: 28px; }
.duo > *, .hero-grid > *, .about-grid > * { min-width: 0; }
.duo-card { background: var(--paper); border: 1px solid var(--line); display: grid; }
.duo-media { overflow: hidden; }
.duo-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-card:hover .duo-media img { transform: scale(1.03); }
.duo-body { padding: 28px 24px 30px; display: grid; gap: 16px; align-content: start; }
.duo-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.duo-body h3 { font-size: clamp(1.8rem, 5.4vw, 2.2rem); }
.duo-body .text-link { justify-self: start; margin-top: 4px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.ticks .i { color: var(--gold-deep); margin-top: .25em; width: 18px; height: 18px; }
@media (min-width: 960px) {
  .duo { grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
  .duo-card:nth-child(2) { margin-top: 64px; }
  .duo-media img { aspect-ratio: 5 / 4; }
  .duo-body { padding: 34px 36px 38px; }
}

.specialties { display: grid; gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.spec { background: var(--ivory); padding: 28px 24px; display: grid; gap: 10px; align-content: start; }
.spec-icon { width: 44px; height: 44px; color: var(--gold-deep); }
.spec h3 { font-size: 1.55rem; }
.spec p { color: var(--muted); font-size: 16px; }
@media (min-width: 820px) { .specialties { grid-template-columns: repeat(3, 1fr); } .spec { padding: 34px 30px; } }
.fineprint { margin-top: 24px; font-size: 14px; color: var(--muted); }
.fineprint a { color: var(--navy-900); }

/* ---------- Rails (products + reviews) ---------- */
.rack-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.rack-head .section-lede { max-width: 54ch; }
.rail { position: relative; }
.rail-track {
  display: grid; grid-auto-flow: column; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 24px;
  scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) {
  .rail-track { padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--wrap)) / 2 + var(--gutter)); }
}
.rail-track > li { scroll-snap-align: start; }
.rail-btns { display: none; gap: 10px; flex: none; }
.round {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid rgba(246, 240, 228, .35); color: var(--ivory);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.round:hover { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.round:disabled { opacity: .3; cursor: default; background: transparent; color: inherit; }
.round-dark { border-color: rgba(18, 29, 51, .35); color: var(--navy-900); }
.round-dark:hover { background: var(--navy-900); color: var(--ivory); border-color: var(--navy-900); }
@media (min-width: 720px) { .rail-btns { display: flex; } }

.product { width: min(70vw, 260px); }
.product picture { background: #f0f0f0; border-radius: 2px; overflow: hidden; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover img { transform: scale(1.04); }
.product-brand { margin-top: 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.product h3 { font-size: 1.45rem; margin-top: 4px; font-weight: 500; }
.product-meta { margin-top: 6px; font-size: 14px; color: var(--muted-light); display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line-light); padding-top: 8px; }
.price { font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: var(--ivory); font-weight: 600; }
.rack-note { margin-top: 8px; font-size: 14px; color: var(--muted-light); max-width: 70ch; }
.rack-note a { color: var(--gold-soft); white-space: nowrap; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step { position: relative; border-top: 1px dashed rgba(27, 29, 35, .3); padding-top: 20px; display: grid; gap: 14px; grid-template-columns: 1fr; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold-deep); }
.step h3 { font-size: 1.6rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }
.step picture { overflow: hidden; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 600px) and (max-width: 959px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 26px; }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { align-content: start; }
  .step:first-child { padding-top: 20px; }
  .step img { aspect-ratio: 3 / 4; }
  .step:first-child .step-body { padding-top: 0; }
  .step:first-child::after {
    content: ""; display: block; aspect-ratio: 3 / 4; order: -1;
    background:
      repeating-linear-gradient(45deg, transparent 0 9px, rgba(122, 90, 38, .12) 9px 10px),
      repeating-linear-gradient(-45deg, transparent 0 9px, rgba(122, 90, 38, .12) 9px 10px),
      var(--ivory-2);
    border: 1px dashed rgba(122, 90, 38, .35);
  }
  .step:first-child { grid-template-rows: auto auto 1fr; }
  .step:first-child .step-num { order: -2; }
}
.process-note {
  margin-top: 44px; display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px; background: var(--ivory); border-left: 3px solid var(--gold);
  font-size: 16px; color: var(--muted);
}
.process-note strong { color: var(--ink); font-weight: 500; }
.process-note .i { color: var(--gold-deep); width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery li { min-width: 0; }
.g-wide { grid-column: 1 / -1; }
.g-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000;
  cursor: zoom-in; overflow: hidden; text-align: left; color: var(--ivory);
}
.g-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .94; }
.g-wide .g-item img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
.g-item img.pos-left { object-position: 22% 50%; }
.g-item:hover img { transform: scale(1.04); opacity: 1; }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 16px; }
  .g-wide { grid-column: span 2; grid-row: span 2; }
  .g-wide .g-item, .g-wide picture { height: 100%; }
  .g-wide .g-item img { height: 100%; aspect-ratio: auto; }
}

.lightbox {
  border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  margin: 0; color: var(--ivory);
}
.lightbox[open] { display: grid; place-items: center; align-content: center; gap: 14px; }
.lightbox::backdrop { background: rgba(6, 10, 18, .92); }
.lightbox img { max-width: min(92vw, 900px); max-height: 78vh; width: auto; height: auto; object-fit: contain; }
.lightbox p { font-size: 15px; color: var(--muted-light); padding: 0 24px; text-align: center; }
.lb-close { position: fixed; top: 14px; right: 14px; }
.lb-close, .lb-nav {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(246, 240, 228, .1); border: 1px solid rgba(246, 240, 228, .3); color: var(--ivory);
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--navy-950); }
.lb-nav { position: fixed; top: 50%; margin-top: -24px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* ---------- Reviews ---------- */
.reviews-head { display: grid; gap: 28px; margin-bottom: 40px; }
.scores { display: flex; flex-wrap: wrap; gap: 12px; }
.score {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 14px;
  border: 1px solid var(--line); background: var(--paper); text-decoration: none; border-radius: 2px;
}
.score:hover { border-color: var(--gold-deep); }
.score strong { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 600; }
.score > span { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.score .stars { color: var(--gold-deep); }
@media (min-width: 900px) { .reviews-head { grid-template-columns: 1fr auto; align-items: end; } }

.review {
  width: min(84vw, 380px);
  background: var(--paper); border: 1px solid var(--line);
  padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.review::before {
  content: "\201C"; position: absolute; top: 2px; right: 20px;
  font-family: var(--serif); font-size: 5.5rem; line-height: 1; color: var(--gold); opacity: .35;
}
.review .stars { color: var(--gold-deep); }
.quote { margin: 0; font-family: var(--serif); font-size: 1.28rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.quote p + p { margin-top: .7em; }
.quote.clamped { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.more { align-self: flex-start; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 14px; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.who > span:last-child { display: grid; line-height: 1.3; }
.who strong { font-weight: 500; }
.who small { font-size: 13px; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; }
.rail-progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; max-width: 420px; }
.rail-progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--gold-deep); transition: width .2s linear, left .2s linear; }
.review-links { margin-top: 26px; font-size: 14px; color: var(--muted); }
.review-links a { color: var(--navy-900); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 56px; }
.portrait { position: relative; max-width: 440px; }
.portrait-frame { padding: 12px; background: var(--ivory); border: 1px solid var(--line); position: relative; }
.portrait-frame::after { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(122, 90, 38, .45); pointer-events: none; }
.portrait-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.portrait figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.portrait-mono { position: absolute; right: -14px; bottom: 54px; width: 120px; height: auto; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); }
.about-copy { display: grid; gap: 18px; align-content: start; }
.about-copy h2 { margin-bottom: 8px; }
.about-copy > p { color: var(--muted); }
.about-copy .about-lede { font-size: 1.15rem; color: var(--ink); }
.pull { margin: 18px 0 6px; padding: 26px 0 22px; border-top: 1px dashed rgba(27, 29, 35, .3); border-bottom: 1px dashed rgba(27, 29, 35, .3); }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 4.5vw, 1.9rem); line-height: 1.3; color: var(--navy-900); }
.pull footer { margin-top: 12px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts li { background: var(--paper); padding: 14px 16px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.facts li > span:first-child { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin-bottom: 4px; }
.press { font-size: 14px; color: var(--muted); }
.press a { color: var(--navy-900); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .portrait { position: sticky; top: calc(var(--topbar-h) + 30px); }
  .facts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Booking ---------- */
.book-grid { display: grid; gap: 28px; }
.book-grid > * { min-width: 0; }
@media (min-width: 1000px) { .book-grid { grid-template-columns: 1.35fr 1fr; align-items: start; gap: 36px; } }

.form-card { background: var(--paper); color: var(--ink); padding: 26px 20px 28px; border-radius: 2px; position: relative; }
.form-card::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(122, 90, 38, .35); pointer-events: none; }
@media (min-width: 600px) { .form-card { padding: 38px 36px 40px; } }
.form-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.form-card-head h3 { font-size: 1.9rem; }
.demo-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--gold-deep); color: var(--gold-deep); border-radius: 999px; font-weight: 500; }
.demo-note { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; background: var(--ivory); font-size: 14px; color: var(--muted); line-height: 1.5; }
.demo-note .i { color: var(--gold-deep); margin-top: 1px; }
.demo-note a { color: var(--navy-900); }

.field { border: 0; margin: 28px 0 0; padding: 0; min-width: 0; }
.field legend { padding: 0; display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 14px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy-900); color: var(--gold); font-family: var(--sans); font-size: 13px; font-weight: 500; }
.hint { font-size: 14px; color: var(--muted); margin: -6px 0 12px; }
.label { display: block; font-size: 14px; font-weight: 500; margin: 14px 0 6px; letter-spacing: .02em; }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.input .label { margin-top: 0; }
.row-2 .input + .input .label, .field > .input .label { margin-top: 14px; }
@media (min-width: 600px) { .row-2 .input + .input .label { margin-top: 0; } }

input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font-size: 16px; padding: 13px 14px; min-height: 50px;
  border: 1px solid rgba(27, 29, 35, .28); border-radius: 2px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
input:focus, textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(201, 166, 107, .45); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.err { display: none; color: var(--error); font-size: 14px; margin-top: 8px; font-weight: 500; }
.err.show { display: block; }

.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 600px) { .chips { display: flex; flex-wrap: wrap; } }
.chip { position: relative; }
.chip input, .day input, .slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; gap: 9px; min-height: 48px; height: 100%; padding: 8px 14px; line-height: 1.25;
  border: 1px solid rgba(27, 29, 35, .28); border-radius: 24px; font-size: 15px; background: #fff;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid rgba(27, 29, 35, .4); flex: none; transition: all .2s; }
.chip input:checked + span { background: var(--navy-900); color: var(--ivory); border-color: var(--navy-900); }
.chip input:checked + span::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 2.5px var(--navy-900); }
.chip input:focus-visible + span, .day input:focus-visible + span, .slot input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.chip:hover span { border-color: var(--navy-900); }

.days-wrap { margin: 0 -20px; position: relative; }
@media (min-width: 600px) { .days-wrap { margin: 0 -36px; } }
.days {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: 8px;
  overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 20px 10px;
  scrollbar-width: thin; scrollbar-color: rgba(27, 29, 35, .25) transparent;
}
@media (min-width: 600px) {
  .days-wrap { margin: 0; }
  .days { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); grid-auto-columns: auto; overflow: visible; padding: 4px 0 0; }
  .day { grid-column: var(--col, auto); }
  .day.week-start span { box-shadow: none; }
}
.day { position: relative; scroll-snap-align: start; }
.day span {
  display: grid; justify-items: center; gap: 0; padding: 10px 4px 9px; min-height: 84px;
  border: 1px solid rgba(27, 29, 35, .22); border-radius: 2px; background: #fff; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s;
}
.day small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.day b { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.day.week-start span { box-shadow: -5px 0 0 -4px rgba(122, 90, 38, .6); }
.day input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.day input:checked + span small { color: var(--gold); }
.day:hover span { border-color: var(--navy-900); }
.day em { font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.day input:checked + span em { color: var(--gold-soft); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot span {
  display: grid; place-items: center; min-height: 46px; border: 1px solid rgba(27, 29, 35, .22); border-radius: 2px;
  background: #fff; font-size: 15px; font-variant-numeric: tabular-nums; transition: all .2s;
}
.slot input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.slot:hover span { border-color: var(--navy-900); }
.slots-group { grid-column: 1 / -1; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 6px; }

.drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px;
  border: 1.5px dashed rgba(27, 29, 35, .3); border-radius: 2px; background: var(--ivory); cursor: pointer; font-size: 15px; color: var(--muted);
}
.drop strong { color: var(--ink); font-weight: 500; }
.drop .i { width: 26px; height: 26px; color: var(--gold-deep); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:hover, .drop:focus-within { border-color: var(--navy-900); }
.drop:focus-within { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.previews li { position: relative; width: 64px; height: 64px; }
.previews img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; }
.previews button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--navy-900); color: var(--ivory); display: grid; place-items: center; cursor: pointer; padding: 0; }
.previews button .i { width: 14px; height: 14px; }

#booking-form .btn-block { margin-top: 30px; }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--error); min-height: 1em; }

.form-done { text-align: left; padding-top: 18px; display: grid; gap: 14px; }
.form-done:focus { outline: none; }
.done-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; }
.done-badge .i { width: 28px; height: 28px; }
.form-done h3 { font-size: 2rem; }
.form-done > p { color: var(--muted); }
.summary { margin: 4px 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 16px 18px; background: var(--ivory); font-size: 15px; }
.summary dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); padding-top: 3px; font-weight: 500; }
.summary dd { margin: 0; word-break: break-word; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.done-actions .btn { flex: 1 1 200px; }

.visit { display: grid; gap: 14px; }
.visit-card { background: var(--navy-800); border: 1px solid var(--line-light); padding: 24px 22px; }
.visit-card h3 { font-size: 1.8rem; margin-bottom: 12px; }
.status-card { margin-bottom: 14px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px dashed var(--line-light); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--muted-light); font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--gold-soft); font-weight: 500; }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; padding: 2px 6px; border-radius: 999px; vertical-align: 2px; }
.contact-card { padding: 6px 22px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 16px 0; text-decoration: none; border-bottom: 1px dashed var(--line-light); }
.contact:last-child { border-bottom: 0; }
.contact .i { width: 22px; height: 22px; color: var(--gold); }
.contact span { display: grid; line-height: 1.35; word-break: break-word; }
.contact small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); }
.contact:hover span { color: var(--gold-soft); }
.map { border: 1px solid var(--line-light); background: var(--navy-800); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.02); }
.social { display: flex; gap: 22px; font-size: 14px; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted-light); }
.social a:hover { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--muted-light); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); font-size: 15px; position: relative; }
.footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); opacity: .6;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
.footer-brand img { width: 220px; height: auto; }
.footer-tag { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); }
.footer h3 { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); font-weight: 500; margin-bottom: 10px; }
.footer a { text-decoration: none; word-break: break-word; }
.footer a:hover { color: var(--gold-soft); }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
.demo-line { color: var(--gold); }
@media (min-width: 900px) {
  .footer { padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
}

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 19, 34, .96); border-top: 1px solid var(--line-light);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.dock.show { transform: none; }
.dock .btn { min-height: 50px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .lapel-line { stroke-dashoffset: 0; }
}
