/* =========================================================================
   Filippos Palace — site stylesheet
   Desktop-first. max-width queries adapt downward.
   Components reference semantic/component tokens only.
   ========================================================================= */

/* ---------------------------------------------------------------- reset - */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

html { scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[data-ground] { background: var(--bg); color: var(--ink); }

::selection { background: var(--c-gold-400); color: var(--c-ink-950); }

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

/* Long unbreakable strings (emails, urls, phone) must never set page width */
address, .wrap-any, .foot-contact, .contact-line { overflow-wrap: anywhere; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--c-gold-400); color: var(--c-ink-950);
  padding: 0.75rem 1.25rem; font-weight: 600; text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* -------------------------------------------------------------- layout - */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}
.shell--narrow { max-width: 880px; }

.section { padding-block: clamp(3.5rem, 8vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }

/* ------------------------------------------------------------ typography */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.h-xl { font-size: clamp(2.75rem, 7vw, 5.25rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.h-sm {
  font-family: var(--font-body);
  font-size: 1.0625rem; font-weight: 600; line-height: 1.35;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.lede {
  font-size: clamp(1.075rem, 1.5vw, 1.25rem);
  line-height: 1.62;
  color: var(--ink-muted);
  max-width: var(--measure);
}
p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-muted); max-width: var(--measure); }
.prose p + p { margin-top: 1.15em; }

a { color: inherit; }
.link-gold {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.link-gold:hover { border-color: var(--accent); color: var(--accent-soft); }

.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------- SIGNATURE: the drawn gold rule -
   A hairline that draws itself left-to-right when its section enters.
   transform-only, so it costs nothing and behaves identically on touch.    */
.rule {
  display: block;
  width: var(--rule-len);
  height: var(--rule-thickness);
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform-origin: left center;
  margin-block: var(--sp-5);
}
.rule--wide { width: 100%; max-width: 220px; }
.rule--center { margin-inline: auto; transform-origin: center; }
.js-enabled .rule { transform: scaleX(0); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(18, 10, 23, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(217, 183, 95, 0.22);
}
.header-inner {
  width: 100%; max-width: var(--shell-max); margin-inline: auto;
  padding-inline: var(--shell-pad);
  display: flex; align-items: center; gap: var(--sp-6);
}

.brand {
  display: flex; flex-direction: column; gap: 1px;
  text-decoration: none; color: var(--c-cream-50);
  margin-right: auto; line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--c-gold-400); font-weight: 600;
}

.nav-main ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav-main a {
  position: relative;
  text-decoration: none;
  color: var(--c-cream-50);
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.6rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-main a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--c-gold-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.nav-main a:hover { color: var(--c-gold-300); }
.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.nav-main a[aria-current="page"] { color: var(--c-gold-300); }

/* language toggle */
.lang-toggle {
  display: flex; align-items: center;
  border: 1px solid rgba(217, 183, 95, 0.4);
  border-radius: 999px; overflow: hidden;
}
.lang-toggle button {
  background: none; border: 0; cursor: pointer;
  min-width: 46px; min-height: 34px;
  padding: 0 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--c-cream-300);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.lang-toggle button:hover { color: var(--c-gold-300); }
.lang-toggle button[aria-pressed="true"] {
  background: var(--c-gold-400); color: var(--c-ink-950);
}

.header-tel {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--c-cream-50);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.header-tel:hover { color: var(--c-gold-300); }
.header-tel svg { width: 16px; height: 16px; flex: none; stroke: var(--c-gold-400); }

/* burger — hidden on desktop */
.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(217, 183, 95, 0.4);
  border-radius: var(--radius-sm); cursor: pointer;
}
.burger span {
  display: block; width: 20px; height: 1.5px; background: var(--c-cream-50);
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px;
  background: var(--c-cream-50);
  transition: transform var(--dur-mid) var(--ease-out);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* off-canvas panel (right-anchored, not full screen) */
.nav-scrim {
  display: none;
  position: fixed; inset: 0; z-index: 110;
  background: rgba(10, 5, 14, 0.6);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.nav-scrim.is-open { opacity: 1; }

.nav-panel {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: var(--nav-panel-w);
  background: var(--c-ink-900);
  border-left: 1px solid rgba(217, 183, 95, 0.28);
  padding: calc(var(--header-h-sm) + 1.25rem) 1.5rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--dur-mid) var(--ease-out);
}
.nav-panel.is-open { transform: translateX(0); }
.nav-panel ul { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-panel a.panel-link {
  display: block; padding: 0.95rem 0;
  min-height: 44px;
  text-decoration: none; color: var(--c-cream-50);
  font-family: var(--font-display); font-size: 1.4rem;
  border-bottom: 1px solid rgba(247, 242, 233, 0.1);
}
.nav-panel a.panel-link[aria-current="page"] { color: var(--c-gold-300); }
.panel-foot { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.panel-foot .lang-toggle { width: max-content; }
.panel-tel {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px;
  text-decoration: none; color: var(--c-gold-300);
  font-size: 1.05rem; font-weight: 600;
}
.panel-tel svg { width: 18px; height: 18px; stroke: var(--c-gold-400); fill: none; stroke-width: 1.5; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(36, 21, 40, 0.12), 0 4px 12px -5px rgba(36, 21, 40, 0.22);
  transition: background var(--dur-mid) var(--ease-out),
              color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { box-shadow: 0 2px 5px rgba(36, 21, 40, 0.16), 0 9px 22px -7px rgba(36, 21, 40, 0.32); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(36, 21, 40, 0.18); }
/* a dark shadow is invisible on the dark ground — give those a warm glow */
[data-ground="dark"] .btn--primary { box-shadow: 0 2px 12px -3px rgba(217, 183, 95, 0.38); }
[data-ground="dark"] .btn--primary:hover { box-shadow: 0 4px 20px -3px rgba(217, 183, 95, 0.55); }
[data-ground="dark"] .btn--ghost { box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.5); }
[data-ground="dark"] .btn--ghost:hover { box-shadow: 0 4px 18px -4px rgba(217, 183, 95, 0.4); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--accent-ink); }

/* A lone call to action is never the secondary choice. When a ghost button is
   the only thing in its row it is FILLED at rest and inverts on hover — i.e.
   what used to be the hover state is now the default. Rows that pair a ghost
   with a primary keep the outline, so the two never compete. */
.btn-row .btn--ghost:only-child {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-row .btn--ghost:only-child:hover,
.btn-row .btn--ghost:only-child:focus-visible {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
[data-ground="dark"] .btn-row .btn--ghost:only-child {
  box-shadow: 0 2px 12px -3px rgba(217, 183, 95, 0.38);
}
[data-ground="dark"] .btn-row .btn--ghost:only-child:hover {
  box-shadow: 0 4px 20px -3px rgba(217, 183, 95, 0.55);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: var(--sp-8);
  overflow: hidden;
}
/* the cove lights, as light — not as a flat background gradient wash */
.hero::before {
  content: ""; position: absolute; z-index: 0;
  top: -20%; left: -10%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, var(--glow-a), transparent 72%);
  opacity: 0.22; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: 0;
  bottom: -25%; right: 8%; width: 55%; height: 80%;
  background: radial-gradient(closest-side, var(--glow-b), transparent 72%);
  opacity: 0.14; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.hero-name {
  font-size: clamp(3rem, 7.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  display: block;
}
.hero-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: var(--sp-5);
  line-height: 1.5;
}
.hero-copy .lede { margin-top: var(--sp-5); }

.hero-figure {
  position: relative;
  padding: 14px;
  margin: 0;
}
.hero-figure::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}
.hero-figure img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}
/* The brand key visual is square and carries the logo and wordmark inside the
   frame, so it must not be cropped to a landscape ratio. */
.hero-figure--square img {
  aspect-ratio: 1 / 1;
  filter: none;
}
.hero-figcaption {
  margin-top: var(--sp-4);
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}


/* page hero (inner pages) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; z-index: 0;
  top: -40%; right: -5%; width: 55%; height: 130%;
  background: radial-gradient(closest-side, var(--glow-a), transparent 70%);
  opacity: 0.2; pointer-events: none;
}
.page-hero > .shell { position: relative; z-index: 1; }

.crumb {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: var(--sp-4);
}
.crumb a { color: var(--ink-faint); text-decoration: none; }
.crumb a:hover { color: var(--accent); }

/* ----------------------------------------------------------------- stats */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
.stat {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  line-height: 1; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-suffix { color: var(--accent-soft); }
.stat-label {
  margin-top: var(--sp-3);
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); line-height: 1.5;
}

/* ------------------------------------------------------- split (img+text) */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media { position: relative; margin: 0; }
.split-media img {
  width: 100%; height: auto;
  /* Portrait: the supplied photography is 1200x1600, so a landscape ratio
     here would throw away most of each frame. */
  aspect-ratio: 4 / 5; object-fit: cover;
}
.split-media figcaption {
  margin-top: var(--sp-3);
  font-size: 0.75rem; letter-spacing: 0.12em;
  color: var(--ink-faint); text-transform: uppercase;
}

/* ----------------------------------------------------------------- cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  padding: var(--card-pad);
  display: flex; flex-direction: column; gap: var(--sp-3);
  transition: border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out);
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
[data-ground="light"] .card {
  border-color: rgba(36, 21, 40, 0.18);
  box-shadow: 0 1px 2px rgba(36, 21, 40, 0.06), 0 10px 26px -14px rgba(36, 21, 40, 0.20);
}
[data-ground="light"] .card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(36, 21, 40, 0.10), 0 22px 46px -18px rgba(36, 21, 40, 0.34);
}
[data-ground="dark"] .card:hover { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }
.card-icon { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.25; }
.card h3 { font-family: var(--font-display); font-size: 1.5rem; }
.card p { color: var(--ink-muted); font-size: 0.96rem; }
/* Photo-backed cards. The picture sits behind a dark scrim and the card
   switches to the dark ground, because cream text on an unscreened photograph
   is unreadable. The gradient is weighted to the bottom, where the text sits:
   ~0.80-0.93 alpha there keeps contrast above 4.5:1 even over a bright
   spotlight in the image. */
.card--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  border-color: rgba(217, 183, 95, 0.30);
  min-height: 340px;
  justify-content: flex-end;
}
.card--photo > .card-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  max-width: none;
  transition: transform 700ms var(--ease-out);
}
.card--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(18, 10, 23, 0.16) 0%,
    rgba(18, 10, 23, 0.56) 48%,
    rgba(18, 10, 23, 0.86) 100%);
}
/* Body copy on a photo card uses FULL cream, not the muted tone: measured
   against the brightest pixel of each photograph the muted tone fell to
   ~2.9:1, below AA.
   The scrim above is deliberately lighter than contrast alone would want, so
   the photographs stay visible. The text-shadow pays for that: it darkens the
   few pixels immediately around each glyph, which is what actually keeps type
   readable over a blown-out highlight, without dimming the whole picture. */
.card--photo h3,
.card--photo p { color: var(--ink); text-shadow: 0 1px 3px rgba(18, 10, 23, 0.92); }
.card--photo .card-icon { filter: drop-shadow(0 1px 3px rgba(18, 10, 23, 0.92)); }
.card--photo:hover { transform: translateY(-3px); }
.card--photo:hover > .card-bg { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .card--photo:hover > .card-bg { transform: none; }
}

.card-link {
  margin-top: auto; padding-top: var(--sp-3);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); text-decoration: none;
}
.card-link:hover { color: var(--accent-soft); }

/* included-list */
.tick-list { display: grid; gap: var(--sp-4); }
.tick-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: var(--sp-4);
  align-items: start;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
}
.tick-list svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; margin-top: 3px; }
.tick-list strong { display: block; font-weight: 600; }
.tick-list span { color: var(--ink-muted); font-size: 0.96rem; }

/* --------------------------------------------------------------- gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.tile {
  position: relative;
  grid-column: span 2;
  margin: 0;
  overflow: hidden;
  background: var(--surface-alt);
  border: 0; padding: 0; cursor: pointer;
  display: block; width: 100%;
  aspect-ratio: var(--tile-ratio);
}
.tile--tall  { grid-column: span 2; aspect-ratio: 3 / 4; }
.tile--wide  { grid-column: span 4; aspect-ratio: 16 / 9; }
.tile--hero  { grid-column: span 3; aspect-ratio: 4 / 3; }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 620ms var(--ease-out), filter 620ms var(--ease-out);
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,10,23,0.72), transparent 55%);
  opacity: 0; transition: opacity var(--dur-mid) var(--ease-out);
}
.tile-cap {
  position: absolute; left: 1rem; right: 1rem; bottom: 0.9rem; z-index: 2;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-cream-50); text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(12, 6, 16, 0.95);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lb-figure { margin: 0; max-width: min(1180px, 100%); max-height: 100%; }
.lb-figure img {
  width: auto; max-width: 100%;
  max-height: calc(100dvh - 12rem);
  margin-inline: auto; object-fit: contain;
}
.lb-cap {
  margin-top: var(--sp-4); text-align: center;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-cream-300);
}
.lb-count { display: block; margin-top: 0.4rem; color: var(--c-gold-400); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46, 30, 59, 0.8);
  border: 1px solid rgba(217, 183, 95, 0.35);
  border-radius: 50%; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.lb-btn:hover { background: var(--c-gold-400); }
.lb-btn:hover svg { stroke: var(--c-ink-950); }
.lb-btn svg { width: 20px; height: 20px; stroke: var(--c-cream-50); fill: none; stroke-width: 1.5; }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev  { left: clamp(0.5rem, 2vw, 2rem);  top: 50%; transform: translateY(-50%); }
.lb-next  { right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* --------------------------------------------------------------- reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.review {
  background: var(--surface);
  border: 1px solid var(--card-line);
  border-top: 2px solid var(--accent);
  padding: var(--card-pad);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: var(--accent); }
.review blockquote { font-size: 1rem; line-height: 1.66; color: var(--ink); }
.review-trans {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.review footer {
  margin-top: auto; padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  flex-wrap: wrap;
}
.review-name { font-weight: 600; font-size: 0.92rem; }
.review-src {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.review-src svg { width: 14px; height: 14px; flex: none; }

/* ------------------------------------------------------------- CTA band  */
.cta-panel {
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--panel-bg);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-md);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 120% at 50% 100%, var(--glow-a), transparent 70%);
  opacity: 0.3; pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .btn-row { justify-content: center; }
.cta-panel .lede { margin-inline: auto; }
/* the panel supplies its own gutter; don't add a second one */
.cta-panel .shell { padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* ---------------------------------------------------------------- notice */
.notice {
  border: 1px dashed var(--line);
  background: rgba(217, 183, 95, 0.07);
  padding: var(--card-pad);
  display: grid; gap: var(--sp-3);
}
.notice-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.notice p { color: var(--ink-muted); font-size: 0.95rem; max-width: var(--measure); }

/* ------------------------------------------------------------------ form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
[data-ground="light"] .form-card {
  border-color: rgba(36, 21, 40, 0.18);
  box-shadow: 0 1px 2px rgba(36, 21, 40, 0.06), 0 18px 44px -22px rgba(36, 21, 40, 0.28);
}
[data-ground="dark"] .form-card { box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
/* min-width:0 on both the column and the control: a grid/flex item defaults
   to min-width:auto and refuses to shrink below the control's intrinsic
   width. Date/number inputs carry a UA-imposed intrinsic width (notably on
   iOS Safari) wider than a phone column - that is what pushed the form off
   the screen edge. */
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted);
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
/* Strip native control chrome so these size from the column, not from the
   UA's own idea of how wide a date picker should be. */
.field input[type="date"],
.field input[type="number"],
.field select { -webkit-appearance: none; appearance: none; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* on the white form card the tinted input ground alone is too subtle —
   the border is what actually delineates the field */
[data-ground="light"] .field input,
[data-ground="light"] .field select,
[data-ground="light"] .field textarea { border-color: rgba(36, 21, 40, 0.22); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field .err { font-size: 0.8rem; color: var(--danger); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--danger);
}
/* Date field: a masked text input (always dd/mm/yyyy, whatever the visitor's
   locale) with the browser's own calendar laid transparently over the icon on
   the right. The native control keeps the picker; the text field keeps the
   format. */
.date-combo { position: relative; display: flex; width: 100%; }
/* Display surface only - the calendar beneath it is the real control, so this
   must never intercept the click that opens the picker. */
.date-combo > input[type="text"] {
  padding-right: 52px;
  pointer-events: none;
  cursor: pointer;
}
.date-combo__icon {
  position: absolute; right: 0; top: 0;
  width: 48px; height: 100%;
  display: grid; place-items: center;
  pointer-events: none;
}
.date-combo__icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent); fill: none; stroke-width: 1.5;
}
/* Scoped under .field so it outranks `.field input { width:100% }` - without
   that, the transparent picker stretches across the whole control and swallows
   every click meant for typing. */
/* Covers the WHOLE field, not just the icon: tapping anywhere on the control
   should open the calendar. (Earlier this spanned the full width by accident
   and blocked typing - now it is deliberate, and the text field is readonly.) */
.field .date-combo__native {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  min-height: 0; min-width: 0; padding: 0;
  border: 0; background: none;
  opacity: 0; cursor: pointer;
}
.date-combo__native:focus-visible + .date-combo__icon svg,
.date-combo__native:focus-visible ~ .date-combo__icon svg { stroke: var(--accent-soft); }
.date-combo:focus-within .date-combo__icon svg { stroke: var(--accent-soft); }
/* The control that takes focus is invisible, so show the ring on the field. */
.date-combo:focus-within > input[type="text"] {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--accent);
}
.date-combo__native:focus { outline: none; }

.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#cf-status {
  margin-top: var(--sp-4); font-size: 0.95rem; min-height: 1.5em;
}
#cf-status[data-state="ok"]  { color: var(--ok); }
#cf-status[data-state="err"] { color: var(--danger); }
.cf-privacy { font-size: 0.85rem; color: var(--ink-faint); margin-top: var(--sp-4); }

/* ------------------------------------------------------- contact / map   */
.contact-cols {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-line {
  display: grid; grid-template-columns: 24px 1fr; gap: var(--sp-4);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.contact-line svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.4; margin-top: 4px; }
.contact-line dt {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 3px;
}
.contact-line dd { margin: 0; font-size: 1.02rem; }
.contact-line a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-line a:hover { color: var(--accent); }

.locator {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.locator-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: var(--sp-4); }

/* --- Google Maps embed ------------------------------------------------- */
.mapframe {
  position: relative;
  width: 100%;
  aspect-ratio: 1536 / 768;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #F2F0ED;      /* Google's land tone, so the frame never flashes white */
}
.mapframe iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
/* a 2:1 strip is too letterboxed on a phone */
@media (max-width: 640px) {
  .mapframe { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--c-ink-900);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) var(--sp-6);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.foot-grid h2, .foot-grid h3 {
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-gold-400); margin-bottom: var(--sp-4);
}
.foot-grid ul { display: grid; gap: 0.7rem; }
/* The contact list carries real bullets. The address is a list item too, so it
   gets the same marker as the phone and email above it; padding-left pulls the
   markers inside the box instead of letting them hang off the left edge. */
.foot-contact ul { list-style: disc; padding-left: 1.15em; }
.foot-contact li::marker { color: var(--c-gold-400); }
.foot-contact address { margin: 0; }
.foot-grid a { color: var(--c-cream-300); text-decoration: none; font-size: 0.95rem; }
.foot-grid a:hover { color: var(--c-gold-300); }
.foot-brand .brand-name { font-size: 1.75rem; color: var(--c-cream-50); display: block; }
.foot-brand p { color: var(--c-cream-300); font-size: 0.95rem; margin-top: var(--sp-3); }
/* Global reset only - the muted colour is scoped to the footer, otherwise
   the address on the contact page renders fainter than the text beside it. */
address { font-style: normal; }
.site-footer address { color: var(--c-cream-300); font-size: 0.95rem; }
.foot-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(247, 242, 233, 0.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6);
  align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--c-cream-300);
}
.foot-bottom a { color: var(--c-cream-300); }
.social { display: flex; gap: var(--sp-3); }
.social a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(217, 183, 95, 0.32); border-radius: 50%;
  transition: background var(--dur-fast) var(--ease-out);
}
.social a:hover { background: var(--c-gold-400); }
.social a:hover svg { fill: var(--c-ink-950); }
.social svg { width: 17px; height: 17px; fill: var(--c-cream-50); }

/* Pagination dots for the mobile reviews rail. Built by JS, so they simply
   do not exist without it - the rail still scrolls either way. */
.reviews-dots { display: none; }

/* --------------------------------------------------- reveal (JS-gated) - */
.js-enabled [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ======================================================================== */
/* ============================ BREAKPOINTS =============================== */
/* ======================================================================== */

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); }
  .nav-main ul { gap: 1rem; }
  .nav-main a { font-size: 0.8rem; }
}

/* ---- tablet & below: desktop chrome is REPLACED, never merely removed -- */
@media (max-width: 1023px) {
  :root { --header-h: 64px; }

  .nav-main { display: none; }              /* -> .nav-panel links */
  .header-tel span { display: none; }       /* icon-only; the tel: link stays */
  .header-tel { padding: 0.5rem; min-width: 44px; min-height: 44px; justify-content: center; }
  .header-inner > .lang-toggle { display: none; }  /* -> .panel-foot toggle */
  .burger { display: flex; }
  .nav-scrim, .nav-panel { display: block; }
  .nav-scrim[hidden], .nav-panel[hidden] { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero-figure { order: -1; }

  .split, .contact-cols { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-media { order: 0; }

  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 4; }
  .tile--hero { grid-column: span 2; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- touch sizing: every tap target reaches 44x44 once we are on touch --
   Inline links in the footer, breadcrumb and contact list are ~18px tall by
   default, which is a fine mouse target and a poor thumb one. -------------- */
@media (max-width: 1023px) {
  .foot-grid li a,
  .foot-bottom a,
  .crumb a,
  .contact-line dd a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* .brand stays a column flex — only its height grows */
  .brand { min-height: 44px; justify-content: center; }
  .foot-grid ul { gap: 0.15rem; }
  .foot-bottom { gap: var(--sp-2) var(--sp-5); }
  .contact-line dd + dd { margin-top: 0; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  /* uniform, short items go two-up rather than into one long stack */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Reviews become a horizontal, snapping rail instead of a long stack.
     Cards are sized so the next one peeks past the right edge - that peek is
     the whole affordance; without it nobody knows to swipe. The rail bleeds to
     the screen edges but scrolls internally, so the page never moves sideways. */
  .reviews {
    display: flex;
    grid-template-columns: none;
    gap: var(--sp-4);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--shell-pad) * -1);
    padding-inline: var(--shell-pad);
    padding-bottom: var(--sp-4);
    scroll-padding-inline: var(--shell-pad);   /* snap to the text edge, not the screen edge */
    scrollbar-width: none;
  }
  .reviews > .review { flex: 0 0 86%; scroll-snap-align: start; }
  /* Scrollbar hidden: the peeking card and the dots are the affordance. */
  .reviews::-webkit-scrollbar { display: none; }

  .reviews-dots {
    display: flex; justify-content: center; gap: 0.25rem;
    margin-top: var(--sp-2);
  }
  .reviews-dots button {
    width: 44px; height: 44px;            /* full touch target ... */
    padding: 0; border: 0; background: none; cursor: pointer;
    display: grid; place-items: center;
  }
  .reviews-dots button::before {         /* ... around a small visible dot */
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--line-soft);
    transition: background var(--dur-fast) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
  }
  .reviews-dots button[aria-current="true"]::before {
    background: var(--accent); transform: scale(1.4);
  }
  /* The rail is keyboard-scrollable, so it must show where focus is. */
  .reviews:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--tall, .tile--wide, .tile--hero {
    grid-column: span 1; aspect-ratio: var(--tile-ratio);
  }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-figure img { max-height: calc(100dvh - 14rem); }
  .btn { width: 100%; }
  .btn-row { gap: var(--sp-3); }
}

@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.2em; }
  .header-inner { gap: 0.75rem; }
  .tile-cap { font-size: 0.68rem; left: 0.7rem; right: 0.7rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.1em; }
}

/* ------------------------------------------------------- reduced motion - */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-enabled [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js-enabled .rule { transform: scaleX(1) !important; }
  .tile:hover img { transform: none; }
}
