/* =========================================================
   La Tinta Tropical
   Blackletter titles (tattoo heritage) + amber from the official logo on black.
   ========================================================= */

@property --r { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

:root {
  --bg: #0a0a0a;
  --bg-2: #121211;
  --bg-3: #1a1918;
  --ink: #f2ede6;
  --ink-2: #bfb8ad;
  --muted: #827b71;
  --line: rgba(242, 237, 230, .13);
  --amber: #ff8a0e;
  --amber-hi: #ffb35a;
  --amber-ink: #160900;

  --f-title: "Pirata One", "UnifrakturCook", Georgia, serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --sec: clamp(84px, 12vw, 170px);
  --hdr-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr-h); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; }

html[data-lang="en"] .es, html[data-lang="es"] .en { display: none !important; }
[hidden] { display: none !important; }

/* ---------- helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
.label { font: 700 12px/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px; }
.h2 { font-family: var(--f-title); font-size: clamp(52px, 8vw, 116px); line-height: .92; letter-spacing: .004em; margin-bottom: 28px; }
.h2 em, .h2 strong { font-style: normal; color: var(--amber); }
.lead-p { color: var(--ink-2); font-size: 18px; }
.todo {
  background: rgba(255,138,14,.12); color: var(--amber-hi); border-bottom: 1px dashed var(--amber); padding: 0 .25em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
li.todo, p.todo { display: inline-block; }

/* ---------- buttons: square, no pills ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px;
  font: 700 14px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer; border: 1px solid transparent;
  transition: color .4s var(--ease), border-color .4s, transform .3s var(--ease);
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn--amber { background: var(--amber); color: var(--amber-ink); }
.btn--amber::before { background: var(--ink); }
.btn--line { border-color: rgba(242,237,230,.4); color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--bg); border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12.5px; }
.btn--lg { min-height: 62px; padding: 0 32px; font-size: 15px; }
.btn--block { width: 100%; }
.todo-btn { border-style: dashed; border-color: var(--amber); color: var(--amber-hi); }
.todo-btn::before { background: rgba(255,138,14,.15); }
.todo-btn:hover { color: var(--amber-hi); }
.link { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.link .ico { width: 18px; height: 18px; }
.link:hover { border-color: var(--amber); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: none; place-items: center; }
.js-intro .loader { display: grid; }
.loader img { height: 30svh; max-height: 300px; width: auto; clip-path: circle(0% at 50% 42%); opacity: 0; }
.loader.go img { animation: logoInk 1.25s var(--ease) forwards; }
@keyframes logoInk {
  0% { clip-path: circle(0% at 50% 42%); opacity: 0; filter: blur(6px); }
  15% { opacity: 1; }
  100% { clip-path: circle(80% at 50% 42%); opacity: 1; filter: blur(0); }
}
.loader svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.loader path { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }
.loader.out { clip-path: inset(0 0 100% 0); transition: clip-path .95s var(--ease-io); }
.loader.out img { transform: translateY(-10vh) scale(.7); opacity: 0; transition: transform .95s var(--ease-io), opacity .6s; }
.loader { animation: loaderSafety 0s 5s forwards; }
@keyframes loaderSafety { to { visibility: hidden; pointer-events: none; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gut);
  transition: background-color .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(10,10,10,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hdr__mark { width: 24px; height: auto; }
.hdr__word { width: 124px; height: auto; }
.hdr__nav { display: none; gap: 30px; }
.hdr__nav a { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); transition: color .25s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.hdr__nav a:hover { color: var(--ink); }
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__end { display: flex; align-items: center; gap: 14px; }
.hdr__cta { display: none; }
.lang { display: flex; gap: 2px; }
.lang button { background: none; border: 0; cursor: pointer; font: 700 12px/1 var(--f-body); letter-spacing: .1em; padding: 8px; min-width: 42px; min-height: 42px; color: var(--muted); }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 380px) { .hdr__word { width: 104px; } }
@media (min-width: 1080px) { .hdr__nav { display: flex; } .hdr__cta { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__img { position: absolute; inset: 0; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.82) 36%, rgba(10,10,10,.15) 64%),
    linear-gradient(180deg, rgba(10,10,10,.75) 0%, transparent 20%);
}
.hero__text { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: clamp(28px, 6vh, 64px); max-width: 1180px; }
.hero__title { font-family: var(--f-title); font-size: clamp(66px, 10.6vw, 180px); line-height: .88; margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__lead { margin: 0 0 26px; color: var(--ink-2); font-size: clamp(15.5px, 1.6vw, 18px); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.trust { margin: 20px 0 0; font: 600 12px/1.5 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.trust__stars { color: var(--amber); letter-spacing: .14em; margin-right: 6px; }
@media (max-width: 899px) {
  .hero { height: auto; min-height: 0; padding-bottom: 36px; }
  .hero__img { position: relative; height: 62svh; min-height: 380px; }
  .hero__img picture, .hero__img img { display: block; width: 100%; height: 100%; }
  .hero__img img { object-position: 50% 26%; }
  .hero__img::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,.55) 22%, transparent 46%), linear-gradient(180deg, rgba(10,10,10,.7) 0%, transparent 22%); }
  .hero__text { position: relative; left: auto; right: auto; bottom: auto; margin: -78px var(--gut) 0; }
}
@media (max-width: 599px) { .hero__ctas .btn { width: 100%; letter-spacing: .03em; } }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46vw); }
  .hero__img { position: relative; grid-column: 2; inset: auto; height: 100svh; min-height: 620px; }
  .hero__img picture, .hero__img img { display: block; width: 100%; height: 100%; }
  .hero__img img { object-position: 30% 38%; }
  /* the photo itself fades into the black (mask), so there is no visible seam */
  .hero__img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%); }
  .hero__img::after { background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, transparent 16%), linear-gradient(0deg, rgba(10,10,10,.45) 0%, transparent 22%); }
  .hero__text { grid-column: 1; grid-row: 1; position: relative; left: auto; right: auto; bottom: auto; align-self: center;
    padding: calc(var(--hdr-h) + 20px) 0 40px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); margin-right: -6vw; z-index: 3; }
  .hero__title { font-size: clamp(76px, 9.2vw, 168px); }
}

/* ---------- sections ---------- */
section { position: relative; }
.work, .artist, .how, .consult, .reviews, .shop, .visit, .faq { padding: var(--sec) 0; }

/* ---------- portfolio grid ---------- */
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 40px; margin-bottom: 26px; }
.work__head .h2 { margin-bottom: 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .tabs { margin: 0; padding: 0; } }
.tab {
  flex: none; cursor: pointer; background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 14px; min-height: 46px; font: 700 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: color .3s, border-color .3s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--amber); }
.tab[hidden] { display: none; }
.work__intro { max-width: 760px; margin: 0 0 36px; }
.work__intro[hidden] { display: none; }
.work__lead { margin: 0; color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }
.work__lead strong { display: block; font: 400 clamp(34px, 4.4vw, 54px)/1 var(--f-title); color: var(--ink); margin-bottom: 8px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.g-item { margin: 0; }
.g-item[hidden] { display: none; }
.g-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 5; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-btn::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--amber); transition: box-shadow .35s var(--ease); }
.g-btn:hover img { transform: scale(1.06); }
.g-btn:hover::after { box-shadow: inset 0 0 0 3px var(--amber); }
.grid.is-switching .g-item:not([hidden]) { animation: gridIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes gridIn { from { clip-path: inset(100% 0 0 0); transform: translateY(24px); } to { clip-path: inset(0); transform: none; } }
.work__more { margin: 36px 0 0; }

/* ---------- studio reel ---------- */
.studio { padding-top: clamp(70px, 9vw, 120px); }
.studio__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 30px; margin-bottom: clamp(20px, 3vw, 34px); }
.studio__title { font: 400 clamp(40px, 5.4vw, 76px)/.95 var(--f-title); margin: 0; }
@media (max-width: 699px) { .studio__head { flex-direction: column; align-items: flex-start; } }
.studio__hint { margin: 0; font: 600 12px/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reel { overflow: hidden; padding: 24px 0 8px; cursor: grab; touch-action: pan-y; user-select: none; }
.reel.dragging { cursor: grabbing; }
.reel__track { display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; will-change: transform; }
.reel__item { flex: none; margin: 0; height: clamp(280px, 36vw, 480px); aspect-ratio: 3 / 4; }
.reel__item--wide { aspect-ratio: 16 / 10; }
.reel__item .g-btn { width: 100%; height: 100%; aspect-ratio: auto; cursor: zoom-in; }
.reel__item .g-btn::after { display: none; }
.reel__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--ease); }
.reel__item .g-btn:hover img { transform: scale(1.05); }
.reel.is-static { overflow-x: auto; }

/* ---------- 3D carousel (paintings) ---------- */
.cf { position: relative; height: clamp(380px, 52vw, 600px); perspective: 1500px; touch-action: pan-y; cursor: grab; user-select: none; outline: none; }
.cf.dragging { cursor: grabbing; }
.cf__item {
  position: absolute; left: 50%; top: 50%; width: clamp(220px, 27vw, 400px); aspect-ratio: 3 / 4; margin: 0;
  transform: translate(-50%, -50%); transform-style: preserve-3d;
  transition: transform .75s var(--ease), filter .75s, opacity .75s; will-change: transform;
}
.cf.dragging .cf__item { transition: none; }
.cf__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; box-shadow: 0 34px 70px rgba(0,0,0,.6); }
.cf__nav {
  position: absolute; z-index: 300; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border: 0; cursor: pointer;
  background: rgba(242,237,230,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink);
  font: 300 34px/1 var(--f-body); display: grid; place-items: center; transition: background-color .3s, color .3s;
}
.cf__nav:hover { background: var(--amber); color: var(--amber-ink); }
.cf__prev { left: calc(50% - clamp(220px, 27vw, 400px) / 2 - 100px); }
.cf__next { right: calc(50% - clamp(220px, 27vw, 400px) / 2 - 100px); }
.cf__cap { margin: 18px 0 0; text-align: center; font: 700 12px/1 var(--f-body); letter-spacing: .14em; color: var(--ink-2); }
@media (max-width: 699px) {
  .cf__item { width: 62vw; }
  .cf__nav { width: 44px; height: 44px; font-size: 26px; }
  .cf__prev { left: 8px; } .cf__next { right: 8px; }
}

/* ---------- artist ---------- */
.artist { background: var(--bg-2); }
.artist__grid { display: grid; gap: 56px; }
.artist__photo { position: relative; margin: 0 0 40px; }
.artist__frame { overflow: hidden; aspect-ratio: 4 / 5; }
.artist__frame img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.artist__inset { position: absolute; width: 42%; right: -4%; bottom: -40px; aspect-ratio: 4 / 5; object-fit: cover; border: 6px solid var(--bg-2); }
.quote { margin: 38px 0 30px; padding: 0 0 0 22px; border-left: 2px solid var(--amber); }
.quote p { font: italic 400 clamp(21px, 2.2vw, 27px)/1.4 var(--f-body); margin: 0; }
.words .w { opacity: .16; transition: opacity .5s; }
.words .w.on { opacity: 1; }
@media (max-width: 959px) { .artist__inset { right: 0; width: 40%; } }
.awards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; }
@media (min-width: 960px) {
  .artist__grid { grid-template-columns: 5fr 6fr; gap: clamp(56px, 8vw, 120px); align-items: center; }
  .artist__photo { margin-bottom: 0; }
}

/* ---------- how it works ---------- */
.steps { position: relative; list-style: none; margin: 10px 0 0; padding: 0 0 0 4px; display: grid; }
.steps__line { position: absolute; left: 26px; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--amber); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 46px 1fr; column-gap: 22px; padding: 18px 0 34px; }
.step__n { position: relative; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--amber); color: var(--amber); font: 400 28px/1 var(--f-title); }
.step h3 { font: 700 19px/1.3 var(--f-body); margin: 10px 0 6px; }
.step p { margin: 0; color: var(--ink-2); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); padding: 0; gap: 32px; }
  .steps__line { left: 23px; right: 23px; top: 23px; bottom: auto; width: auto; height: 1px; }
  .steps__line span { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { grid-template-columns: 1fr; padding: 0; }
  .step__n { margin-bottom: 26px; }
}

/* ---------- consultation builder ---------- */
.consult { background: var(--bg-3); }
.consult__grid { display: grid; gap: 40px; }
.consult__sub { color: var(--ink-2); font-size: 18px; max-width: 28em; }
.trip { margin-top: 32px; padding: 26px 24px 24px; background: var(--amber); color: var(--amber-ink); }
.trip__k { font: 700 11px/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; opacity: .75; }
.trip__text { margin: 0; font-size: 17px; line-height: 1.5; }
.trip__text strong { display: block; font: 400 30px/1.05 var(--f-title); margin-bottom: 8px; }
.builder { background: var(--bg); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.q { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.q legend { display: flex; align-items: center; gap: 12px; font: 700 17px/1.3 var(--f-body); margin-bottom: 14px; padding: 0; }
.q__n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1px solid var(--amber); color: var(--amber); font: 400 20px/1 var(--f-title); transition: background-color .3s, color .3s; }
.q.is-done .q__n { background: var(--amber); color: var(--amber-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.chip > span, .chip--date {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover > span { border-color: rgba(242,237,230,.4); color: var(--ink); }
.chip input:checked + span { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.chip input:focus-visible + span { outline: 2px solid var(--amber-hi); outline-offset: 2px; }
.chip--date { padding: 0 6px 0 14px; }
.chip--date input { background: none; border: 0; color: var(--ink); min-height: 46px; color-scheme: dark; font-size: 15px; }
.chip--date.is-set { border-color: var(--amber); }
.builder__end { border-top: 1px solid var(--line); padding-top: 22px; }
.builder__preview { font-size: 13.5px; line-height: 1.6; color: var(--muted); white-space: pre-line; min-height: 1.6em; }
@media (min-width: 960px) { .consult__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } .consult__intro { position: sticky; top: calc(var(--hdr-h) + 32px); } }

/* ---------- reviews ---------- */
.reviews__grid { display: grid; gap: 36px; }
.reviews__stars { color: var(--amber); font-size: 26px; letter-spacing: .25em; margin: 0 0 16px; }
.reviews__stars span { display: inline-block; }
.reviews.is-in .reviews__stars span { animation: star .6s var(--ease) both; }
.reviews.is-in .reviews__stars span:nth-child(2) { animation-delay: .08s; }
.reviews.is-in .reviews__stars span:nth-child(3) { animation-delay: .16s; }
.reviews.is-in .reviews__stars span:nth-child(4) { animation-delay: .24s; }
.reviews.is-in .reviews__stars span:nth-child(5) { animation-delay: .32s; }
@keyframes star { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.reviews__plugin { min-height: 260px; display: grid; place-items: center; padding: 40px 20px; border: 1px dashed rgba(255,138,14,.4); }
@media (min-width: 960px) { .reviews__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; } }

/* ---------- shop: paintings carousel ---------- */
.shop { background: var(--bg-2); overflow: hidden; }
.shop__head { max-width: var(--max); margin-bottom: clamp(10px, 2vw, 24px); }
.shop__head .lead-p { max-width: 36em; }
.shop__ctas { display: flex; justify-content: center; margin-top: 26px; padding: 0 var(--gut); }

/* ---------- visit ---------- */
.visit__grid { display: grid; gap: 40px; }
.visit__photo { margin: 0; overflow: hidden; }
.visit__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.open { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 11px 14px; border: 1px solid var(--line); margin-bottom: 22px; }
.open[hidden] { display: none; }
.open__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open.is-open .open__dot { background: #5bd38a; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91,211,138,.6); } 70% { box-shadow: 0 0 0 10px rgba(91,211,138,0); } 100% { box-shadow: 0 0 0 0 rgba(91,211,138,0); } }
@media (min-width: 960px) { .visit__grid { grid-template-columns: 6fr 5fr; gap: 80px; align-items: center; } .visit__photo { order: 2; } }

/* ---------- faq ---------- */
.faq { background: var(--bg-2); }
.faq__grid { display: grid; gap: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; min-height: 44px; font: 600 clamp(17px, 1.8vw, 20px)/1.35 var(--f-body); transition: color .3s;
}
.faq summary:hover { color: var(--amber-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--f-body); color: var(--amber); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__a p { color: var(--ink-2); margin: -6px 0 26px; max-width: 40em; }
.faq details[open] .faq__a { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

/* ---------- close ---------- */
.close { text-align: center; padding: var(--sec) var(--gut); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.close__mark { width: clamp(110px, 15vw, 160px); margin-bottom: 36px; }
.close__title { font: 400 clamp(56px, 9vw, 132px)/.92 var(--f-title); margin-bottom: 44px; max-width: 11em; }
.close__title em { font-style: normal; color: var(--amber); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-2); }
.ftr__grid { display: grid; gap: 28px; margin-bottom: 40px; }
.ftr__word { width: 200px; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__links a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.ftr__links a:hover { border-color: var(--amber); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; color: var(--muted); padding-bottom: 76px; }
.ftr__bar p { margin: 0; }
.ftr__bar a { color: var(--ink-2); }
@media (min-width: 960px) { .ftr__grid { grid-template-columns: 1fr auto; align-items: end; } .ftr__links { text-align: right; } .ftr__bar { padding-bottom: 0; } }

/* ---------- dock ---------- */
.dock {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px;
  background: var(--amber); color: var(--amber-ink); text-decoration: none;
  font: 700 14px/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 14px 34px rgba(0,0,0,.55);
  transition: transform .5s var(--ease), opacity .4s;
}
.dock svg { width: 24px; height: 24px; }
.dock.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 960px) {
  .dock { left: auto; right: 24px; bottom: 24px; width: 62px; height: 62px; padding: 0; }
  .dock__label { display: none; }
  .dock:hover { transform: translateY(-3px); }
  .dock svg { width: 28px; height: 28px; }
}

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(6,6,6,.97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100vh; height: 100dvh; overscroll-behavior: contain; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 0 18px; }
.lb__cap { margin: 0; font: 700 12px/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lb__fig { margin: 0; min-height: 0; height: 100%; display: flex; align-items: center; justify-content: center; padding: 8px 12px; overflow: hidden; }
.lb__fig img { display: block; width: auto; height: auto; max-width: min(100%, 1400px); max-height: 100%; max-height: calc(100dvh - 150px); object-fit: contain; touch-action: pan-y; user-select: none; }
.lb__bottom { display: flex; justify-content: center; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); }
.lb__close, .lb__nav { background: rgba(242,237,230,.08); border: 0; cursor: pointer; color: var(--ink); width: 48px; height: 48px; font: 300 30px/1 var(--f-body); display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 12px; } .lb__next { right: 12px; }
.lb__close:hover, .lb__nav:hover { background: rgba(255,138,14,.35); }
@media (max-width: 719px) { .lb__nav { display: none; } }
body.lb-open { overflow: hidden; }

/* ---------- motion (content is fully visible without JS) ---------- */
.js .hero__text > * { opacity: 0; transform: translateY(24px); }
.js .hero__img img { transform: scale(1.06); opacity: 0; }
.is-ready .hero__text > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero__text > *:nth-child(2) { transition-delay: .12s; }
.is-ready .hero__text > *:nth-child(3) { transition-delay: .26s; }
.is-ready .hero__text > *:nth-child(4) { transition-delay: .36s; }
.is-ready .hero__text > *:nth-child(5) { transition-delay: .46s; }
.is-ready .hero__img img { transform: none; opacity: 1; transition: transform 2.4s var(--ease), opacity 1.2s ease; }
.js .hero__text > *, .js .hero__img img { animation: heroSafety 0s 5.5s forwards; }
@keyframes heroSafety { to { opacity: 1; transform: none; } }
.is-ready .hero__text > *, .is-ready .hero__img img { animation: none; }

.js [data-ink] { clip-path: circle(0% at 50% 45%); transition: clip-path 1.8s var(--ease); }
.js [data-ink].is-revealed { clip-path: circle(80% at 50% 45%); }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 6% 12% 6%); transition: clip-path 1.3s var(--ease); }
.js .reveal-img.is-revealed { clip-path: inset(0 -20% -60px -20%); }
.js .reveal-img img:not([data-parallax]) { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .reveal-img.is-revealed img:not([data-parallax]) { transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- WordPress only ---------- */
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
.reviews__plugin:has(.ti-widget) { border: 0; padding: 0; min-height: 0; display: block; }
#trp-floater-ls, .trp-floating-switcher, .trp-floater-ls-names { display: none !important; }
