/* ===========================================================
   Hotel Jean Paul — Base / Reset / Motion primitives
   =========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Defensive guard against any element (a stray fixed width, an
   under-constrained flex/grid child, a decorative absolute shape without
   its own overflow:clip) pushing wider than the viewport and creating
   horizontal scroll — most visible on narrow phones and stricter in
   Safari/iOS than most other mobile browsers. This does not replace
   fixing the underlying element; it just stops one bad element from
   breaking the whole page's scroll behavior.
   Deliberately only on html, not body: any overflow value other than
   visible on body (or any other ancestor of .site-header-group) turns
   that ancestor into the sticky element's containing block instead of
   the viewport, which silently breaks position: sticky on the header. */
html { overflow-x: hidden; }
body { max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-stone);
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-ink); color: var(--color-white);
  padding: var(--space-2) var(--space-3); z-index: 200;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 2px;
}

/* --- Scroll-driven reveal (2026: native, zero-JS, compositor-only) ---
   Progressive enhancement: if animation-timeline isn't supported, the
   `animation-timeline` value is dropped, falling back to the default
   document timeline — the element just fades in once on load instead of
   on scroll. Never left stuck invisible either way. */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-up 0.7s var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 0% cover 35%;
}

/* Keeps image slots a fixed shape before the image loads, so nothing
   jumps as photos come in (real Core Web Vitals / CLS discipline). */
.media {
  position: relative;
  overflow: hidden;
  background: var(--color-stone-dim);
  border-radius: var(--radius-md);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.media:hover img { transform: scale(1.06); }

.eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem);
  letter-spacing: 0.01em; text-transform: none; line-height: 1;
  color: var(--color-brass); margin: 0 0 var(--space-2);
}
.eyebrow::before { content:""; width: 34px; height: 1px; background: var(--color-brass); align-self: center; }

.badge {
  display: inline-block;
  padding: 0.3em 0.9em;
  border: 1px solid var(--color-brass);
  border-radius: 999px;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brass);
}

/* --- Signature: an elegant handwritten accent for a select few titles —
   gold, cursive, used sparingly as a flourish, never for body or nav text. */
.signature {
  font-family: var(--font-script); font-weight: 400;
  color: var(--color-brass); line-height: 1;
}

.lead { font-size: var(--fs-lead); color: var(--color-ink-soft); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-size: var(--fs-small); font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), color var(--dur-fast);
}
.btn--primary { background: var(--color-ink); color: var(--color-white); }
.btn--primary:hover { background: var(--color-forest); transform: translateY(-2px); }
.btn--outline { border-color: var(--color-line-on-dark); color: inherit; }
.btn--outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--brass { background: var(--color-brass); color: var(--color-ink); }
.btn--brass:hover { background: var(--color-white); color: var(--color-ink); transform: translateY(-2px); }

/* --- Link-more: a minimal underlined text link with an animated arrow,
   for secondary "read more" actions. Keeps the solid pill button reserved
   for the one action that matters most on a hotel site — booking —
   instead of every link on the page competing as an equally loud button. */
.link-more {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding-block: 0.3em;
  border-bottom: 1px solid var(--color-line);
  transition: gap var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.link-more svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-out); }
.link-more:hover { gap: 0.9em; border-color: var(--color-forest); }
.link-more:hover svg { transform: translateX(2px); }
.link-more--on-dark { border-bottom-color: var(--color-line-on-dark); }
.link-more--on-dark:hover { border-color: var(--color-brass-soft); }
