/* JG Joel García Photography · "Amor por la luz"
   Palette sampled from his own photos: darkroom black (g54), sconce and bokeh gold (g35, g00), print cream, quince red (g43), balloon lilac (g01). */
@property --r { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --px { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --py { syntax: '<percentage>'; inherits: true; initial-value: 40%; }
:root {
  --ink: #110d0a; --ink2: #1b1511; --line: rgba(246, 239, 228, .16);
  --paper: #f6efe4; --paper2: #ede3d3; --text: #221c18; --mute: #6d6259;
  --gold: #e6ad5c; --gold2: #f3d6a2; --golddeep: #8a5a17;
  --acc: var(--gold);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --script: 'Allura', 'Snell Roundhand', 'Brush Script MT', cursive;
  --pad: clamp(16px, 4vw, 44px); --max: 1240px; --bar: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: var(--bar); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 12px 16px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* language toggle (same pattern as the other EN/ES LuxWeb sites) */
[lang-es] { display: none; }
html[data-lang=es] [lang-es] { display: inline; }
html[data-lang=es] [lang-en] { display: none; }

/* Ready mode: owner to-dos only with ?edit */
html.ready .todo, html.ready .edit-only { display: none !important; }
.todo { display: block; margin: 12px 0; padding: 10px 12px; border: 1.5px dashed #d9822b; border-radius: 6px; background: rgba(217, 130, 43, .12); color: inherit; font: 400 13px/1.45 var(--sans); }
.todo::before { content: 'edit me · '; font-weight: 600; color: #d9822b; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.light .kicker { color: var(--golddeep); }
h2 { font: 500 clamp(2.1rem, 5.4vw, 3.9rem)/1.02 var(--serif); letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; font-weight: 500; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s; }
.btn.gold { background: linear-gradient(180deg, #f1c47c, #dfa24c); color: #1a1208; box-shadow: 0 8px 30px -10px rgba(230, 173, 92, .7); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(230, 173, 92, .85); }
.btn.ghost { border-color: rgba(246, 239, 228, .55); color: var(--paper); background: rgba(17, 13, 10, .28); backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: var(--gold); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.line { border-color: rgba(34, 28, 24, .4); color: var(--text); background: transparent; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 10px var(--pad); transition: background .3s, box-shadow .3s; }
.top.solid { background: rgba(17, 13, 10, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; min-height: 44px; justify-content: center; }
.mark b { font: 500 1.42rem/1 var(--serif); letter-spacing: .01em; color: var(--paper); }
.mark b i { font-style: italic; color: var(--gold2); padding-right: 3px; }
.mark small { font: 600 9.5px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.top nav { margin-left: auto; display: flex; gap: 26px; }
.top nav a { font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .88; padding: 16px 0; }
.top nav a:hover { color: var(--gold2); opacity: 1; }
.lang { display: flex; border: 1px solid rgba(246, 239, 228, .4); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; min-width: 44px; min-height: 44px; font: 600 12px/1 var(--sans); letter-spacing: .08em; cursor: pointer; color: var(--paper); opacity: .75; }
.lang button[aria-pressed=true] { background: var(--paper); color: var(--ink); opacity: 1; }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 860px) { .top nav, .top .btn { display: none; } .lang { margin-left: auto; } }

/* ---------- hero: the darkroom ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: #070504; overflow: hidden; isolation: isolate; }
.stage { position: absolute; inset: 0; z-index: 0; }
.frame { position: absolute; inset: 0; visibility: hidden; --r: 0%; --lx: 50%; --ly: 40%; }
.frame.is-on, .frame.is-dev { visibility: visible; }
.frame.is-on { --r: 130%; z-index: 1; }
.frame.is-dev { z-index: 2; animation: dev 1.7s cubic-bezier(.33, .05, .2, 1) both; }
.frame picture, .frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame img { object-fit: cover; object-position: var(--pos, 50% 50%); }
/* the latent image: what is on the paper before the light reaches it */
.frame .latent img { filter: brightness(.27) saturate(.12) sepia(.7) contrast(1.15); }
html.lit .frame .latent { display: none; }
/* the developed photograph, revealed by light spreading from the light source inside the photo itself */
.frame .dev { -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 calc(var(--r) - 24%), transparent var(--r)); mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 calc(var(--r) - 24%), transparent var(--r)); }
.frame.is-on .dev { -webkit-mask-image: none; mask-image: none; }
html.dk .frame.is-on .dev { -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 calc(var(--r) - 24%), transparent var(--r)); mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 calc(var(--r) - 24%), transparent var(--r)); }
/* the warm edge of the light as it travels */
.frame .edge { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(255, 226, 170, .0) calc(var(--r) - 40%), rgba(255, 196, 110, .38) calc(var(--r) - 12%), rgba(255, 232, 190, .7) calc(var(--r) - 2%), rgba(255, 210, 140, .0) calc(var(--r) + 5%)); }
.frame.is-dev .edge { opacity: 1; }
html.dk .frame.is-on { animation: dev 2.3s cubic-bezier(.3, .45, .25, 1) .05s both; }
html.dk .frame.is-on .edge { opacity: 1; }
/* first spark at the light source */
.spark { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(255, 244, 214, .95) 0, rgba(255, 205, 120, .55) 5%, rgba(255, 170, 70, .16) 16%, transparent 34%); }
html.dk .spark { animation: spark 1.3s ease-out 0s both; }
@keyframes dev { from { --r: 0%; } to { --r: 130%; } }
@keyframes spark { 0% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }

/* the light that stays: follows the cursor or finger, drifts when left alone */
.pool { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 1.2s ease, --px .35s ease-out, --py .35s ease-out;
  background: radial-gradient(circle 30vmax at var(--px) var(--py), rgba(255, 214, 150, .6), rgba(255, 200, 120, .22) 45%, transparent 72%); mix-blend-mode: soft-light; animation: drift 16s ease-in-out infinite alternate; }
.pool::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle 22vmax at var(--px) var(--py), rgba(255, 190, 110, .13), transparent 70%); mix-blend-mode: screen; }
html.lit .pool { opacity: 1; }
.stage.touched .pool { animation: none; }
@keyframes drift { 0% { --px: 22%; --py: 30%; } 50% { --px: 62%; --py: 46%; } 100% { --px: 80%; --py: 26%; } }
.scrim { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(180deg, rgba(7, 5, 4, .62) 0, rgba(7, 5, 4, 0) 17%, rgba(7, 5, 4, 0) 42%, rgba(7, 5, 4, .5) 68%, rgba(7, 5, 4, .9) 100%), linear-gradient(90deg, rgba(7, 5, 4, .55) 0, rgba(7, 5, 4, 0) 55%); }

.hero-copy { position: relative; z-index: 6; width: 100%; max-width: var(--max); margin: 0 auto; padding: 96px var(--pad) clamp(26px, 5vh, 54px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 30px; }
.hero-main { max-width: 640px; min-width: 0; }
.count { font: 600 11.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold2); display: flex; align-items: center; gap: 12px; }
.count::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
h1 { font: 500 clamp(3.2rem, 7.4vw, 6.5rem)/.92 var(--serif); letter-spacing: -.015em; margin: 14px 0 0; color: #fff8ec; text-shadow: 0 2px 40px rgba(0, 0, 0, .45); }
h1 em { color: var(--gold2); }
.h1-script { font: 400 clamp(2.1rem, 4.6vw, 3.5rem)/1 var(--script); color: var(--gold); margin: 2px 0 0 4px; text-shadow: 0 0 34px rgba(230, 173, 92, .55); }
.lead { margin-top: 14px; font-size: clamp(.98rem, 1.5vw, 1.12rem); max-width: 520px; color: rgba(246, 239, 228, .92); }
.quick { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 8px; align-items: stretch; max-width: 640px; }
.quick .f { position: relative; min-width: 0; }
.quick label { position: absolute; left: 16px; top: 7px; font: 600 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); pointer-events: none; z-index: 2; }
.quick select, .quick input { width: 100%; height: 54px; padding: 18px 14px 0 15px; border-radius: 14px; border: 1px solid rgba(246, 239, 228, .42); background: rgba(17, 13, 10, .55); backdrop-filter: blur(8px); color: var(--paper); font-size: 15px; appearance: none; -webkit-appearance: none; min-width: 0; color-scheme: dark; }
.quick select { background-image: linear-gradient(45deg, transparent 50%, var(--gold2) 50%), linear-gradient(135deg, var(--gold2) 50%, transparent 50%); background-position: calc(100% - 18px) 31px, calc(100% - 13px) 31px; background-size: 5px 5px; background-repeat: no-repeat; }
.quick select option { color: #111; background: #fff; }
.quick .btn { min-height: 54px; border-radius: 14px; }
.hero-cta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.hero-cta .txt { display: inline-flex; align-items: center; min-height: 48px; font: 600 15px/1 var(--sans); text-decoration: none; border-bottom: 1px solid var(--gold); padding: 0 2px; }
.trust { font-size: 13px; color: rgba(246, 239, 228, .8); letter-spacing: .02em; }
.trust b { color: var(--gold2); font-weight: 600; }
.dots { display: flex; gap: 0; align-items: center; justify-self: end; }
.dots button { width: 44px; height: 48px; border: 0; background: transparent; cursor: pointer; font: 600 11px/1 var(--sans); letter-spacing: .1em; color: rgba(246, 239, 228, .55); position: relative; }
.dots button::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 10px; height: 1.5px; background: rgba(246, 239, 228, .3); }
.dots button[aria-current=true] { color: var(--gold2); }
.dots button[aria-current=true]::after { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* the entrance: type arriving in the light. CSS-only so it finishes even if scripts are slow. */
html.dk .mark, html.dk .lang, html.dk .top nav, html.dk .top .btn { animation: lightin .9s ease-out .4s both; }
html.dk .count { animation: lightin .8s ease-out .8s both; }
html.dk h1 { animation: glowin 1.2s cubic-bezier(.2, .7, .2, 1) .45s both; }
html.dk .h1-script { animation: glowin 1.1s cubic-bezier(.2, .7, .2, 1) .85s both; }
html.dk .lead { animation: lightin .8s ease-out 1.3s both; }
html.dk .quick { animation: lightin .8s ease-out 1.55s both; }
html.dk .hero-cta, html.dk .dots { animation: lightin .8s ease-out 1.75s both; }
html.dk .mbar { animation: lightin .8s ease-out 1.75s both; }
@keyframes lightin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes glowin { 0% { opacity: 0; filter: blur(14px) brightness(2.2); letter-spacing: .04em; } 60% { opacity: 1; filter: blur(0) brightness(1.5); } 100% { opacity: 1; filter: none; letter-spacing: -.015em; } }

@media (min-width: 1000px) {
  .stage { left: clamp(0px, 22vw, 440px); }
  .scrim { background: linear-gradient(180deg, rgba(7, 5, 4, .62) 0, rgba(7, 5, 4, 0) 17%, rgba(7, 5, 4, 0) 46%, rgba(7, 5, 4, .45) 72%, rgba(7, 5, 4, .88) 100%), linear-gradient(90deg, #070504 0, rgba(7, 5, 4, .72) 12%, rgba(7, 5, 4, 0) 46%); }
}
@media (max-width: 760px) {
  .hero { background: #070504; }
  .stage { bottom: auto; height: min(133.4vw, 74svh); }
  .frame { --lx: var(--mlx, 50%); --ly: var(--mly, 40%); }
  .frame img { object-position: var(--mpos, 50% 30%); }
  .scrim { background: linear-gradient(180deg, rgba(7, 5, 4, .78) 0, rgba(7, 5, 4, 0) 17%, rgba(7, 5, 4, 0) 56%, rgba(7, 5, 4, .78) 82%, #070504 100%); }
  .pool { background: radial-gradient(circle 46vmax at var(--px) var(--py), rgba(255, 214, 150, .6), rgba(255, 200, 120, .22) 45%, transparent 72%); }
  .hero-copy { grid-template-columns: minmax(0, 1fr); padding: 0 16px calc(var(--bar) + 12px); gap: 8px; }
  .dots { position: absolute; right: 8px; top: -19px; }
  .count #countN, .count .sep { display: none; }
  .dots button { width: 34px; }
  .dots button::after { left: 7px; right: 7px; }
  h1 { font-size: clamp(2.7rem, 13vw, 3.5rem); margin-top: 10px; }
  .h1-script { font-size: 2.05rem; }
  .lead { margin-top: 8px; font-size: .92rem; line-height: 1.4; }
  .quick { margin-top: 12px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .quick select, .quick input { height: 50px; font-size: 14.5px; border-radius: 12px; }
  .quick .btn { grid-column: 1 / -1; min-height: 50px; border-radius: 12px; }
  .hero-cta { margin-top: 2px; gap: 2px 14px; }
  .trust { font-size: 12px; }
}
@media (max-width: 760px) and (max-height: 700px) { .lead { display: none; } h1 { font-size: 2.5rem; } .h1-script { font-size: 1.8rem; } .trust { display: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(54px, 8vw, 104px) 0; }
.light { background: var(--paper); color: var(--text); }
.light h2 { color: var(--text); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 30px; margin-bottom: clamp(22px, 3.4vw, 40px); }
.sec-head h2 { margin-top: 12px; }
.sec-head p.sub { max-width: 420px; color: rgba(246, 239, 228, .75); font-size: 15px; }
.light .sec-head p.sub { color: var(--mute); }
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* strip under the hero */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; padding: 16px var(--pad); font: 600 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 239, 228, .82); text-align: center; }
.strip li b { color: var(--gold2); }

/* ---------- the work ---------- */
.work { background: var(--ink); padding-top: clamp(46px, 6vw, 80px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(246, 239, 228, .32); background: transparent; color: var(--paper); font: 600 13.5px/1 var(--sans); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip-book { margin-left: auto; }
.g-grid { display: flex; flex-wrap: wrap; gap: clamp(6px, 1vw, 12px); --rowh: 340px; margin-top: 22px; }
.g-grid::after { content: ''; flex-grow: 99; flex-basis: 30%; }
.g-item { position: relative; flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * var(--rowh)); min-width: 0; margin: 0; }
.g-item[hidden] { display: none; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: #1b1511; cursor: zoom-in; position: relative; overflow: hidden; aspect-ratio: var(--ar); }
.g-open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter 1.1s ease; }
.js .g-item:not(.in) .g-open img { filter: brightness(.25) saturate(.2) sepia(.5); }
.g-open:hover img { transform: scale(1.03); }
.g-item figcaption { display: flex; gap: 10px; align-items: baseline; padding: 8px 2px 14px; font: 400 12.5px/1.3 var(--sans); color: rgba(246, 239, 228, .72); letter-spacing: .02em; }
.g-item figcaption b { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.work-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 26px; }
@media (max-width: 760px) { .g-grid { --rowh: 212px; } .chip-book { margin-left: 0; width: 100%; } .chip { padding: 0 15px; } }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; height: 100dvh; color: var(--paper); overflow: hidden; }
.lb::backdrop { background: rgba(7, 5, 4, .96); }
.lb-in { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lb-img { min-height: 0; display: flex; align-items: center; justify-content: center; padding: 56px 10px 6px; touch-action: pan-y; }
.lb-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -20px #000; }
.lb-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 10px var(--pad) max(14px, env(safe-area-inset-bottom)); }
.lb-cap { font-size: 13.5px; color: rgba(246, 239, 228, .85); }
.lb-cap b { color: var(--gold); font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-right: 10px; }
.lb-x, .lb-nav { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(246, 239, 228, .35); background: rgba(17, 13, 10, .6); color: var(--paper); font-size: 22px; line-height: 1; cursor: pointer; }
.lb-x { right: 10px; top: 8px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
@media (max-width: 760px) { .lb-nav { top: auto; bottom: 86px; transform: none; } .lb-bar .btn { width: 100%; } }

/* ---------- book: session picker + request ---------- */
.book { --acc: #e6ad5c; --acc-soft: rgba(230, 173, 92, .16); }
.book[data-session=wedding] { --acc: #b99a6b; --acc-soft: rgba(185, 154, 107, .16); }
.book[data-session=birthday] { --acc: #b77fb0; --acc-soft: rgba(183, 127, 176, .15); }
.book[data-session=quince] { --acc: #b3273f; --acc-soft: rgba(179, 39, 63, .1); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); }
.tile { position: relative; padding: 0; border: 0; background: #ddd; cursor: pointer; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; color: #fff; text-align: left; outline: 0 solid var(--acc); transition: outline-width .2s, transform .3s; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(10, 6, 4, .82) 100%); }
.tile span.t { position: absolute; left: 14px; right: 12px; bottom: 12px; z-index: 1; font: 500 clamp(1.25rem, 2.4vw, 1.9rem)/1.05 var(--serif); }
.tile span.t small { display: block; margin-top: 6px; font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold2); }
.tile:hover img { transform: scale(1.04); }
.tile[aria-pressed=true] { outline-width: 4px; outline-offset: 3px; }
.tiles.has-pick .tile[aria-pressed=false] img { filter: saturate(.55) brightness(.8); }
.tile.plain { background: var(--paper2); color: var(--text); border: 1.5px dashed #d9822b; }
.tile.plain::after { display: none; }
.tile.plain span.t small { color: #a55c12; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { aspect-ratio: 4 / 5; } }

.req { margin-top: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.form .full { grid-column: 1 / -1; }
.fl { display: block; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 7px; }
.form input[type=text], .form input[type=tel], .form input[type=date], .form select { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid rgba(34, 28, 24, .28); border-radius: 10px; background: #fffaf2; color: var(--text); font-size: 16px; min-width: 0; appearance: none; -webkit-appearance: none; }
.form input:focus, .form select:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.form .bad { border-color: #b3261e !important; box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
.err { color: #9c1f18; font-size: 13.5px; margin-top: 6px; display: none; }
.err.on { display: block; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; }
.step button { height: 52px; border: 1.5px solid rgba(34, 28, 24, .28); background: #fffaf2; font-size: 22px; cursor: pointer; color: var(--text); }
.step button:first-child { border-radius: 10px 0 0 10px; border-right: 0; } .step button:last-child { border-radius: 0 10px 10px 0; border-left: 0; }
.step input { border-radius: 0 !important; text-align: center; -moz-appearance: textfield; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1.5px solid rgba(34, 28, 24, .28); border-radius: 10px; overflow: hidden; background: #fffaf2; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 6px 8px; font: 600 13.5px/1.2 var(--sans); cursor: pointer; border-left: 1px solid rgba(34, 28, 24, .16); }
.seg label:first-child { border-left: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--text); color: var(--paper); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: -3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.slip { position: sticky; top: 84px; background: var(--ink); color: var(--paper); padding: clamp(20px, 2.6vw, 30px); border-radius: 4px; border-top: 4px solid var(--acc); transition: border-color .4s; box-shadow: 0 30px 60px -30px rgba(17, 13, 10, .6); }
.slip .kicker { color: var(--gold); }
.slip-title { font: 500 clamp(1.7rem, 3vw, 2.3rem)/1.05 var(--serif); margin: 10px 0 4px; }
.slip dl { margin: 14px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 16px; font-size: 14.5px; }
.slip dt { font: 600 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 239, 228, .6); }
.slip dd { margin: 0; overflow-wrap: anywhere; }
.slip dd.empty { color: rgba(246, 239, 228, .45); }
.slip-actions { display: grid; gap: 10px; margin-top: 20px; }
.slip-actions .btn { width: 100%; white-space: normal; text-align: center; }
.slip-note { font-size: 12.5px; color: rgba(246, 239, 228, .65); margin-top: 12px; }
.done, .fallback { display: none; margin-top: 16px; padding: 14px; border-radius: 8px; font-size: 14.5px; }
.done.on { display: block; background: rgba(120, 190, 130, .16); border: 1px solid rgba(120, 190, 130, .5); }
.fallback.on { display: block; background: rgba(230, 173, 92, .14); border: 1px solid rgba(230, 173, 92, .5); }
.fallback .btn { margin-top: 10px; width: 100%; white-space: normal; }
@media (max-width: 900px) { .req { grid-template-columns: minmax(0, 1fr); } .slip { position: static; } }
@media (max-width: 480px) { .form { grid-template-columns: minmax(0, 1fr); } .seg label { font-size: 12.5px; } }

/* ---------- reviews ---------- */
.reviews { background: radial-gradient(90% 70% at 50% 0, rgba(230, 173, 92, .16), transparent 70%), var(--ink); text-align: center; }
.rating { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; margin-top: 14px; font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 239, 228, .8); }
.rating b { font: 500 2.6rem/1 var(--serif); letter-spacing: 0; color: var(--gold2); }
.stars { color: var(--gold); letter-spacing: .2em; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 5vw, 70px); margin-top: clamp(30px, 5vw, 56px); text-align: left; }
.q blockquote { margin: 0; font: 500 clamp(1.7rem, 3.4vw, 2.7rem)/1.12 var(--serif); font-style: italic; color: #fff8ec; }
.q blockquote::before { content: '“'; display: block; font: 400 4.4rem/.6 var(--serif); color: var(--gold); margin-bottom: 8px; }
.q .en { margin-top: 12px; font-size: 14.5px; color: rgba(246, 239, 228, .72); }
.q cite { display: block; margin-top: 16px; font: 600 11.5px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.rev-more { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- experience + how it works ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 26px); }
.exp figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--paper2); }
.exp figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.exp h3 { font: 500 clamp(1.3rem, 2.4vw, 1.85rem)/1.1 var(--serif); margin-top: 14px; }
.exp p { font-size: 14.5px; color: var(--mute); margin-top: 6px; }
.src-note { font-size: 12.5px; color: var(--mute); margin-top: 18px; }
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 60px); align-items: center; margin-top: clamp(44px, 7vw, 90px); }
.how figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.how figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how figcaption { position: absolute; left: 12px; bottom: 10px; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px #000; }
.steps { counter-reset: s; display: grid; gap: 2px; margin-top: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: baseline; padding: 15px 0; border-top: 1px solid rgba(34, 28, 24, .16); font-size: 15.5px; }
.steps li::before { content: '0' counter(s); font: 500 1.5rem/1 var(--serif); font-style: italic; color: var(--golddeep); }
.steps li b { font-weight: 600; }
@media (max-width: 760px) { .exp-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } .exp-grid .exp { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; } .exp h3 { margin-top: 0; } .how { grid-template-columns: minmax(0, 1fr); } }

/* ---------- visit ---------- */
.visit { background: var(--ink2); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.visit figure { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 4px; background: #000; }
.visit figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit address { font-style: normal; font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--serif); margin-top: 16px; }
.visit .appt { margin-top: 14px; font: 600 12.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); }
.visit .note { margin-top: 10px; font-size: 14.5px; color: rgba(246, 239, 228, .75); max-width: 440px; }
.visit .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.map { margin-top: 18px; }
.map iframe { width: 100%; height: 300px; border: 0; border-radius: 4px; filter: grayscale(.2); }
@media (max-width: 760px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-list details { border-top: 1px solid rgba(34, 28, 24, .18); }
.faq-list details:last-of-type { border-bottom: 1px solid rgba(34, 28, 24, .18); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 10px 0; font: 500 clamp(1.2rem, 2.2vw, 1.5rem)/1.2 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 400 1.6rem/1 var(--sans); color: var(--golddeep); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { padding: 0 0 18px; color: var(--mute); max-width: 640px; }

/* ---------- closing band ---------- */
.close { min-height: min(92vh, 780px); display: flex; align-items: flex-end; overflow: hidden; background: #070504; isolation: isolate; }
.close .ph, .close .ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.close .ph img { object-fit: cover; object-position: 50% 30%; }
.close .glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle 34vmax at var(--px) var(--py), rgba(255, 214, 150, .65), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.close .sc { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 5, 4, 0) 30%, rgba(7, 5, 4, .86) 100%); }
.close-copy { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(34px, 6vw, 70px); }
.close-copy h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); color: #fff8ec; }
.close-copy .script { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--gold); line-height: 1; margin-top: 4px; }
.close-copy .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- footer ---------- */
footer { background: var(--ink); border-top: 1px solid var(--line); padding: 40px 0 34px; font-size: 14px; color: rgba(246, 239, 228, .75); }
.foot { display: flex; flex-wrap: wrap; gap: 22px 40px; justify-content: space-between; align-items: flex-start; }
.foot ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid transparent; }
.foot ul a:hover { color: var(--gold2); }
.fine { margin-top: 22px; font-size: 12.5px; color: rgba(246, 239, 228, .55); display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
.fine a { color: inherit; }

/* ---------- sticky phone bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  :root { --bar: 62px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.35fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(17, 13, 10, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; align-items: center; justify-content: center; text-decoration: none; font: 600 14px/1 var(--sans); letter-spacing: .02em; color: var(--paper); border-left: 1px solid var(--line); }
  .mbar a:first-child { border-left: 0; }
  .mbar a.go { background: linear-gradient(180deg, #f1c47c, #dfa24c); color: #1a1208; }
  dialog[open] ~ .mbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .frame.is-dev { --r: 130%; }
  .js .rv { opacity: 1; transform: none; }
  .js .g-item:not(.in) .g-open img { filter: none; }
  .pool { opacity: 1; }
}
