/* Internautic Yachts — prototype design system
   Editorial luxury + soft structuralism. Liquid Glass only on floating layers (nav, pills, bars). */

:root {
  --bg: #f7f5f1;
  --bg-2: #efebe4;
  --surface: #ffffff;
  --ink: #0d1b24;
  --ink-2: #44525c;
  --ink-3: #8a949b;
  --line: rgba(13, 27, 36, 0.08);
  --line-2: rgba(13, 27, 36, 0.14);
  --accent: #517283;
  --accent-deep: #2f4a58;
  --night: #0b151c;

  --st-available: #34c759;
  --st-berth: #b07ee8;   /* lilac */
  --st-reserved: #ffb800;
  --st-sold: #ff453a;
  --st-offer: #0a84ff;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --r-md: 1rem;
  --shell-pad: 6px;

  --shadow-soft: 0 1px 2px rgba(13, 27, 36, 0.04), 0 12px 40px -12px rgba(13, 27, 36, 0.12);
  --shadow-float: 0 2px 6px rgba(13, 27, 36, 0.06), 0 24px 60px -20px rgba(13, 27, 36, 0.28);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-variation-settings: "SOFT" 60, "WONK" 0;   /* Fraunces axes; ignored by Geist */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section--tight { padding: clamp(64px, 8vw, 112px) 0; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 0.96;
  margin: 0;
}
.display em { font-style: italic; color: var(--accent); }
.h1 { font-size: clamp(2.9rem, 7.4vw, 6.6rem); }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 36ch; margin: 0; }
.muted { color: var(--ink-3); }

.eyebrow {
  justify-self: start; width: max-content; max-width: 100%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(81, 114, 131, 0.08);
  box-shadow: inset 0 0 0 1px rgba(81, 114, 131, 0.14);
}
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.eyebrow--light::before { background: #fff; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .stack { display: grid; gap: 20px; }

/* ---------- glass ---------- */
.glass {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-float);
}
.glass--dark {
  background: rgba(11, 21, 28, 0.42);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --chip: rgba(255, 255, 255, 0.14);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 22px; min-height: 52px;
  border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: 15px; letter-spacing: -0.005em;
  transition: transform 0.5s var(--ease), scale 0.16s var(--ease-out), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(13, 27, 36, 0.45);
  white-space: nowrap;
}
.btn .chip {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--chip);
  transition: transform 0.6s var(--ease);
}
.btn:hover .chip { transform: translate(3px, -1px) scale(1.05); }
.btn:active { scale: 0.97; }   /* "scale", not "transform": app.js moves the button (magnetic) with transform */
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --chip: rgba(13, 27, 36, 0.06); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, 0.14); --btn-fg: #fff; --chip: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.btn--soft { --btn-bg: rgba(13, 27, 36, 0.05); --btn-fg: var(--ink); --chip: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.btn--sm { min-height: 42px; padding: 5px 5px 5px 16px; font-size: 14px; gap: 10px; }
.btn--sm .chip { width: 32px; height: 32px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.link-arrow .chip { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 27, 36, 0.05); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.6s var(--ease), background-color 0.6s var(--ease); }
.link-arrow:hover .chip { transform: translateX(4px); background: var(--ink); color: #fff; }

.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- nav island ---------- */
.nav {
  position: fixed; z-index: 40; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1180px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 28px; border-radius: 999px;
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 56px; width: auto; transition: height 0.5s var(--ease); }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 11px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.005em;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { background: rgba(13, 27, 36, 0.06); color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 8px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(13, 27, 36, 0.05); }
.lang button { padding: 7px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.04em; transition: all 0.4s var(--ease); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13, 27, 36, 0.12); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: var(--ink); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.overlay {
  position: fixed; inset: 0; z-index: 35;
  background: rgba(247, 245, 241, 0.82);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  backdrop-filter: blur(40px) saturate(160%);
  opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease);
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px;
}
.menu-open .overlay { opacity: 1; pointer-events: auto; }
.overlay ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.overlay li { overflow: hidden; }
.overlay a {
  display: block; font-family: var(--serif); font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em;
  transform: translateY(110%); transition: transform 0.8s var(--ease);
}
.menu-open .overlay a { transform: translateY(0); }
.overlay li:nth-child(2) a { transition-delay: 0.04s; } .overlay li:nth-child(3) a { transition-delay: 0.08s; }
.overlay li:nth-child(4) a { transition-delay: 0.12s; } .overlay li:nth-child(5) a { transition-delay: 0.16s; }
.overlay li:nth-child(6) a { transition-delay: 0.20s; } .overlay li:nth-child(7) a { transition-delay: 0.24s; }
.overlay li:nth-child(8) a { transition-delay: 0.28s; }
.overlay__foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--ink-2); font-size: 14px; }
.overlay__foot a { font-family: var(--sans); font-size: 15px; line-height: 1.4; letter-spacing: 0; overflow-wrap: anywhere; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transform: scale(1.06); animation: heroIn 2.4s var(--ease-out) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 21, 28, 0.35) 0%, rgba(11, 21, 28, 0) 28%),
    linear-gradient(90deg, rgba(11, 21, 28, 0.62) 0%, rgba(11, 21, 28, 0.28) 38%, rgba(11, 21, 28, 0) 62%),
    linear-gradient(0deg, rgba(11, 21, 28, 0.78) 0%, rgba(11, 21, 28, 0.2) 45%, rgba(11, 21, 28, 0) 70%);
}
.hero__inner { position: relative; width: 100%; padding-bottom: clamp(40px, 7vh, 88px); display: grid; gap: 40px; }
.hero__copy { display: grid; gap: 26px; max-width: 760px; }
.hero .h1 { font-size: clamp(2.9rem, 5.4vw, 5.6rem); }   /* leaves air between the headline and the boat at 1280–1440 px */
.hero .display { text-shadow: 0 2px 30px rgba(11, 21, 28, 0.35); }
.hero .display em { color: #cfe0e8; }
.hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 0; border-radius: 999px; width: max-content; max-width: 100%; padding: 6px; }
.hero__stats div { padding: 10px 22px; display: grid; line-height: 1.2; }
.hero__stats div + div { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.16); }
.hero__stats b { font-family: var(--serif); font-size: 26px; font-weight: 520; }
.hero__stats span { font-size: 12px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.02em; }
/* Smaller landscape screens (tablets lying down, small laptops): narrower text column so it never reaches the boat */
@media (max-width: 1100px) and (min-aspect-ratio: 1/1) {
  .hero__copy { max-width: min(760px, 50vw); }
}
/* Portrait screens (phones, tablets upright): the photo becomes a band at the top with the whole boat on the right,
   fading into the night blue; the text sits below it and never covers the boat (the hero grows if the text needs it). */
@media (max-aspect-ratio: 1/1) {
  .hero { min-height: 100svh; }
  .hero__media {
    bottom: auto; height: 54svh; overflow: hidden;                            /* the zoom-in never pokes out under the fade */
    -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 99%);   /* the photo melts into the night blue: no seam */
    mask-image: linear-gradient(180deg, #000 52%, transparent 99%);
  }
  .hero__media img { object-position: 100% 50%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(11, 21, 28, 0.4) 0%, rgba(11, 21, 28, 0) 24%); }
  .hero__inner { padding-top: 37svh; gap: 28px; }
  .hero__copy { gap: 20px; }
}


/* ---------- double bezel card ---------- */
.shell {
  padding: var(--shell-pad); border-radius: var(--r-xl);
  background: rgba(13, 27, 36, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.core {
  border-radius: calc(var(--r-xl) - var(--shell-pad));
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-soft);
  overflow: hidden; height: 100%;
}

/* ---------- yacht card ---------- */
.ycard { display: block; height: 100%; }
.ycard > .shell { height: 100%; }   /* the big bento card fills its two rows (photo grows, price stays at the bottom) */
.ycard:hover .shell { transform: translateY(-4px); }
.ycard .core { display: flex; flex-direction: column; }
.ycard__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.ycard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s var(--ease); }
.ycard:hover .ycard__media img { transform: scale(1.045); }
.ycard--sold .ycard__media img { filter: saturate(0.35) brightness(0.96); }
.ycard__body { padding: 20px 22px 22px; display: grid; grid-template-rows: auto auto 1fr; gap: 14px; flex: 1; }
.ycard__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ycard__name { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.ycard__year { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ycard__specs { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 6px; }
.spec-chip { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: rgba(13, 27, 36, 0.045); color: var(--ink-2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ycard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; align-self: end; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price--muted { font-family: var(--sans); font-size: 14px; color: var(--ink-3); }
.ycard__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--ink); color: #fff; transition: transform 0.6s var(--ease); }
.ycard:hover .ycard__go { transform: translate(3px, -2px); }

/* ---------- status pill ---------- */
.status-pill {
  --status: var(--st-available);
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--status) 22%, rgba(255, 255, 255, 0.18));
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff; font: 600 12.5px/1 var(--sans); letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--status); box-shadow: 0 0 8px var(--status); }
.status-pill[data-status="reserved"] { --status: var(--st-reserved); }
.status-pill[data-status="sold"] { --status: var(--st-sold); }
.status-pill[data-status="berth"] { --status: var(--st-berth); }
.status-pill[data-status="offer"] { --status: var(--st-offer); }
.status-pill[data-status="new"] { --status: var(--st-available); }

/* ---------- grids ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento > :nth-child(1) .ycard__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.bento > :nth-child(1) .ycard__body { flex: none; }   /* the photo takes the extra height, not the text */
.bento > :nth-child(1) .ycard__name { font-family: var(--serif); font-weight: 520; font-size: 36px; letter-spacing: -0.02em; }
.bento > :nth-child(n + 2) { grid-column: span 5; }
.bento > :nth-child(n + 4) { grid-column: span 6; }
/* wide screens: the big card gets 8 of 12 columns and the two cards beside it a 16:9 photo, so the big photo stays landscape */
@media (min-width: 901px) and (max-width: 1100px) {
  .bento > :nth-child(1) { grid-column: span 12; grid-row: auto; }
  .bento > :nth-child(1) .ycard__media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
  .bento > :nth-child(2), .bento > :nth-child(3) { grid-column: span 6; }
}
@media (min-width: 1101px) {
  .bento > :nth-child(1) { grid-column: span 8; }
  .bento > :nth-child(2), .bento > :nth-child(3) { grid-column: span 4; }
  .bento > :nth-child(2) .ycard__media, .bento > :nth-child(3) .ycard__media { aspect-ratio: 16 / 9; }
}
.bento > :nth-child(4):last-child { grid-column: span 12; }
.bento > :nth-child(4):last-child .core { flex-direction: row; }
.bento > :nth-child(4):last-child .ycard__media { aspect-ratio: auto; flex: 0 0 58%; min-height: 320px; }
.bento > :nth-child(4):last-child .ycard__body { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); }
.bento > :nth-child(4):last-child .ycard__name { font-family: var(--serif); font-weight: 520; font-size: 32px; letter-spacing: -0.02em; }
.bento > :nth-child(4):last-child .ycard__foot { align-self: stretch; }   /* full-width foot: price left, arrow right, whole line */
.bento > :nth-child(1) .ycard__name, .bento > :nth-child(4):last-child .ycard__name, .sheet__card h3 { line-height: 1.1; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }

/* ---------- dark band (new yachts) ---------- */
.band-dark { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.band-dark::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(81, 114, 131, 0.35), transparent 70%); pointer-events: none;
}
.band-dark .eyebrow { color: #cfe0e8; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.band-dark .eyebrow::before { background: #cfe0e8; }
.band-dark .lead { color: rgba(255, 255, 255, 0.7); }
.band-dark .display em { color: #cfe0e8; }
.band-dark .link-arrow { color: #fff; }
.band-dark .link-arrow .chip { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.ncard { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; display: block; background: #16232c; }
.ncard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ncard:hover img { transform: scale(1.05); }
.ncard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 21, 28, 0.85), rgba(11, 21, 28, 0) 55%); }
.ncard__info { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; border-radius: calc(var(--r-xl) - 12px); padding: 18px 20px; display: grid; gap: 6px; }
.ncard__info h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: 30px; letter-spacing: -0.015em; line-height: 1; }
.ncard__info p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.ncard__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; font-size: 14px; }

/* ---------- editorial split (charter) ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__sticky { position: sticky; top: 120px; display: grid; gap: 24px; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.charter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.charter-grid > *, #charter-cards > *, .isle > * { min-width: 0; }   /* the cards shrink with the column (no overflow at 901-1130 px) */
.ccard .ycard__media { aspect-ratio: 4 / 3; }
.ccard .from { font-size: 13px; color: var(--ink-3); }
.ccard .from b { font-family: var(--serif); font-weight: 520; font-size: 26px; color: var(--ink); margin: 0 4px; }
.ccard .from .per { white-space: nowrap; }
.ccard .from .vat { display: block; margin-top: 4px; font-size: 12px; }

/* ---------- service ---------- */
.svc { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.svc__intro { grid-column: span 5; grid-row: span 2; }
.svc__list { grid-column: span 7; }
.svc__photo { grid-column: span 7; display: block; }
.svc__photo .core { position: relative; aspect-ratio: 16 / 9; }
.svc__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc__photo:hover img { transform: scale(1.03); }
.svc__photo:hover { transform: translateY(-4px); }
.svc__photo .core::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8, 20, 28, 0.78) 0%, rgba(8, 20, 28, 0.34) 48%, transparent 78%); }
.svc__caption { position: absolute; left: clamp(18px, 3vw, 32px); right: clamp(18px, 3vw, 32px); bottom: clamp(18px, 3vw, 28px); z-index: 1; display: grid; gap: 8px; justify-items: start; color: #fff; }
.svc__caption h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.svc__caption p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, 0.86); max-width: 52ch; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.svc__intro .core, .svc__list .core { padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; align-content: start; }
.svc__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.svc__items li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; font-weight: 500; }
.svc__items li .n { font-family: var(--serif); font-size: 18px; color: var(--ink-3); width: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-tag { padding: 8px 14px; border-radius: 999px; background: rgba(81, 114, 131, 0.08); color: var(--accent-deep); font-size: 13.5px; font-weight: 500; }

/* ---------- sell CTA ---------- */
.sell { position: relative; border-radius: calc(var(--r-xl) + 8px); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; padding: clamp(16px, 3vw, 28px); color: #fff; }
.sell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 21, 28, 0.55), rgba(11, 21, 28, 0.05)); }
.sell__panel { position: relative; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); max-width: 560px; display: grid; gap: 20px; }
.sell .display em { color: #cfe0e8; }   /* the accent blue is too dark on the glass panel */

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post { display: grid; gap: 14px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.post time { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.post h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: 26px; line-height: 1.08; letter-spacing: -0.01em; }
.post p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(255, 255, 255, 0.72); padding: clamp(72px, 9vw, 120px) 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__logo img { height: 46px; width: auto; }
.footer h4 { margin: 0 0 16px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__claim { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: #fff; margin: 28px 0 0; letter-spacing: -0.02em; }
.footer__bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.footer__legal a { color: rgba(255, 255, 255, 0.62); }
.footer__social { display: inline-flex; gap: 14px; }
.footer__social a { display: inline-grid; place-items: center; color: rgba(255, 255, 255, 0.62); }

/* ---------- listing page ---------- */
.page-head { padding: 150px 0 40px; display: grid; gap: 22px; }
.filters {
  position: sticky; top: 104px; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px; border-radius: 999px; margin-bottom: 36px;
  transition: top 0.5s var(--ease);   /* follows the bar when it gets smaller or steps aside (end of this file) */
}
.filters .field { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); }
.filters .field--search { flex: 1 1 220px; }
.filters input, .filters select { border: 0; background: transparent; outline: none; font-size: 14px; height: 100%; min-width: 0; }
.filters input { width: 100%; }
.filters select { appearance: none; -webkit-appearance: none; padding-right: 6px; cursor: pointer; width: 100%; text-overflow: ellipsis; }
.toggle { display: inline-flex; align-items: center; gap: 10px; padding: 0 14px; height: 44px; border-radius: 999px; font-size: 14px; cursor: pointer; user-select: none; }
.toggle { position: relative; }
.toggle input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.toggle .sw { width: 36px; height: 22px; border-radius: 999px; background: rgba(13, 27, 36, 0.14); position: relative; transition: background-color 0.4s var(--ease); }
.toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.5s var(--ease); }
.toggle input:checked + .sw { background: var(--accent); }
.toggle input:checked + .sw::after { transform: translateX(14px); }
.result-count { font-size: 14px; color: var(--ink-3); margin: -12px 0 24px; }
.result-count b { color: var(--ink); font-weight: 600; }
.empty { padding: 80px 0; text-align: center; color: var(--ink-3); }

/* ---------- detail page ---------- */
.detail { padding: 120px var(--gutter) 80px; }   /* keeps the side gutter of .wrap on phones */
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.crumbs a:hover { color: var(--ink); }
.detail__grid > *, .split > *, .svc > *, .bento > *, .page-head > * { min-width: 0; }
/* tablets and small laptops: the charter block takes the full width under its text (it overflowed beside it) */
@media (min-width: 901px) and (max-width: 1180px) {
  #charter .split { grid-template-columns: minmax(0, 1fr); }
  #charter .split__sticky { position: static; }
}
.detail__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.gallery__main { position: relative; aspect-ratio: 3 / 2; border-radius: calc(var(--r-xl) - var(--shell-pad)); overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease); }
.gallery__count { position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; opacity: 0; transition: opacity 0.4s var(--ease); }
.gallery__main:hover .gallery__nav { opacity: 1; }
.gallery__nav--prev { left: 14px; } .gallery__nav--next { right: 14px; }
.thumbs { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 8px; overflow-x: auto; padding: 10px 2px 2px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; opacity: 0.55; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy { position: sticky; top: 108px; }
.buy .core { padding: clamp(24px, 3vw, 34px); display: grid; gap: 22px; }
.buy h1 { font-family: var(--serif); font-weight: 520; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 0.98; letter-spacing: -0.02em; margin: 0; }
.buy .price { font-size: 44px; }
.buy__vat { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.buy__actions { display: grid; gap: 10px; }
.buy__actions .btn { justify-content: space-between; width: 100%; }
.buy__contact { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); padding-top: 18px; border-top: 1px solid var(--line); }
.buy__contact a { display: flex; align-items: center; gap: 10px; }

.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 28px; }
.spec { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 4px; }
.spec span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.spec b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.spec--wide { grid-column: span 2; }

.block { margin-top: 56px; display: grid; gap: 20px; }
.block h2 { font-family: var(--serif); font-weight: 520; font-size: 34px; letter-spacing: -0.015em; margin: 0; }
.equip { columns: 2; column-gap: 32px; list-style: none; margin: 0; padding: 0; }
.equip li { break-inside: avoid; padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.equip li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }


.mbar { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(6, 12, 16, 0.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 18px; object-fit: contain; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.lightbox .lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-size: 13px; }

/* ---------- sheet (request viewing) ---------- */
.sheet { position: fixed; inset: 0; z-index: 55; display: grid; place-items: end center; background: rgba(13, 27, 36, 0.28); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); padding: 16px; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet__card { width: min(560px, 100%); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 16px; transform: translateY(40px); transition: transform 0.7s var(--ease); margin-bottom: 4vh; }
.sheet.open .sheet__card { transform: translateY(0); }
.sheet__card h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: 32px; letter-spacing: -0.015em; }
.sheet__card input, .sheet__card textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; outline: none; font-family: var(--sans); }
.sheet__card textarea { min-height: 96px; resize: vertical; }
.sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet__note { font-size: 12.5px; color: var(--ink-3); margin: 0; }
/* short screens (phones with the browser bars, landscape): the card scrolls inside, so «Send» is always reachable */
.sheet { overflow-y: auto; overscroll-behavior: contain; }
.sheet__card { position: relative; max-height: calc(100vh - 32px - 4vh); max-height: calc(100dvh - 32px - 4vh); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet__card h3 { padding-right: 44px; }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--ink-2); background: rgba(13, 27, 36, 0.06); border: 0; cursor: pointer; }
.sheet__close:hover { background: rgba(13, 27, 36, 0.1); }
@media (max-width: 767px) { .sheet__card { margin-bottom: 0; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); } }

/* ---------- reveal (scroll appearances; the rest of the motion is at the end of this file) ----------
   Hidden ONLY while app.js has motion on (html.motion: never with reduced motion, dropped if a script fails), so the page
   is complete without JS. app.js adds .in when the element reaches the screen and --rd = its place in that batch (stagger:
   what arrives together cascades in reading order). The animations only fill backwards: once they end the element is back
   on its own styles, so hover transitions keep their own speed and delay. */
.motion .reveal:not(.in) { opacity: 0; }
.motion .reveal.in { animation: iy-rise 0.9s var(--ease-out) backwards; animation-delay: calc(var(--rd, 0) * 60ms); }
.motion .reveal.in:is(.eyebrow, .display, .lead, .link-arrow, .reveal--text) { animation-name: iy-rise-soft; }   /* text: a breath of blur that clears */
.motion .reveal.reveal--quick.in { animation: iy-settle-in 0.32s ease-out backwards; animation-delay: calc(var(--rd, 0) * 20ms); }   /* listing filters: used a lot, so short */
.motion .reveal.reveal--done.in { animation: none; }   /* was above the screen (anchor, restored scroll): no animation */
@keyframes iy-rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
@keyframes iy-rise-soft { from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(6px); } }
@keyframes iy-fade { from { opacity: 0; } }
@keyframes iy-settle-in { from { opacity: 0.3; } }

/* demo ribbon */
.demo-tag { position: fixed; left: 16px; bottom: 16px; z-index: 30; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .news { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .bento > * { grid-column: span 12 !important; grid-row: auto !important; }
  .bento > :nth-child(1) .ycard__media { aspect-ratio: 3 / 2; min-height: 0; }
  .bento > :nth-child(4):last-child .core { flex-direction: column; }
  .bento > :nth-child(4):last-child .ycard__media { aspect-ratio: 3 / 2; min-height: 0; flex: none; }
  .ncards { grid-template-columns: 1fr; }
  .ncard { aspect-ratio: 4 / 3; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__sticky { position: static; }
  .svc__intro, .svc__list, .svc__photo { grid-column: span 12; grid-row: auto; }
  .detail__grid { grid-template-columns: minmax(0, 1fr); }
  .buy { position: static; }
}
@media (max-width: 767px) {
  .nav { padding-left: 16px; }
  .nav .lang { display: none; }
  .nav__cta { display: none; }
  .hero__stats { border-radius: var(--r-lg); width: 100%; }
  .hero__stats div { flex: 1 1 33%; padding: 10px 14px; }
  .hero__stats b { font-size: 22px; }
  .charter-grid { grid-template-columns: 1fr; }
  .svc__items { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .filters { border-radius: var(--r-lg); top: 90px; position: static; }   /* phones: not sticky (it took ~25 % of the screen) */
  .nav__logo img { height: 46px; }
  .filters .field { flex: 1 1 calc(50% - 8px); }
  .filters .field--search { flex-basis: 100%; }
  .equip { columns: 1; }
  .spec--wide { grid-column: span 1; }
  .sheet__row { grid-template-columns: 1fr; }
  .detail { padding-top: 96px; padding-bottom: 120px; }
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; gap: 8px; padding: 8px; border-radius: 999px; }
  .mbar .btn { flex: 1; justify-content: space-between; }
  body:has(.mbar) .footer { padding-bottom: 96px; }   /* the fixed Call / WhatsApp bar never covers the legal links */
  .demo-tag { display: none; }
}

/* ---------- category tabs + brand chips (listing) ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(13, 27, 36, 0.05); box-shadow: inset 0 0 0 1px var(--line); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease); white-space: nowrap; }
.tabs button span { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(13, 27, 36, 0.08), 0 6px 18px -8px rgba(13, 27, 36, 0.2); }
.brandbar { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 18px; margin-bottom: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.brandbar::-webkit-scrollbar { display: none; }
.brandbar button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: all 0.5s var(--ease); }
.brandbar button span { font-size: 11.5px; color: var(--ink-3); }
.brandbar button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.brandbar button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.brandbar button[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.6); }
[hidden] { display: none !important; }

/* ---------- status filter: liquid glass chips (same dot + tint as the photo labels) ---------- */
.statusbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; }
.st-chip {
  --status: var(--ink-3);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 14px; border-radius: 999px;
  font: 600 13.5px/1 var(--sans); color: var(--ink); letter-spacing: 0.005em;
  background: color-mix(in srgb, var(--status) 12%, rgba(255, 255, 255, 0.72));
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--status) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(13, 27, 36, 0.05);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.5s var(--ease);
}
.st-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--status); box-shadow: 0 0 8px var(--status); }
.st-chip span { font-weight: 500; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.st-chip:hover { transform: translateY(-1px); }
.st-chip:active { transform: scale(0.97); }
.st-chip[aria-pressed="true"] {
  background: color-mix(in srgb, var(--status) 30%, rgba(255, 255, 255, 0.6));
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--status) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1.5px color-mix(in srgb, var(--status) 55%, transparent);
}
.st-chip[aria-pressed="true"] span { color: var(--ink-2); }
.st-chip[data-empty] { opacity: 0.5; }
.st-chip--all::before { background: conic-gradient(var(--st-available), var(--st-berth), var(--st-reserved), var(--st-sold), var(--st-available)); box-shadow: none; }
.st-chip--all[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 10px 26px -12px rgba(13, 27, 36, 0.6); border-color: transparent; }
.st-chip--all[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.6); }
.st-chip[data-st="available"] { --status: var(--st-available); }
.st-chip[data-st="berth"] { --status: var(--st-berth); }
.st-chip[data-st="reserved"] { --status: var(--st-reserved); }
.st-chip[data-st="sold"] { --status: var(--st-sold); }
.st-chip[data-st="offer"] { --status: var(--st-offer); }
.st-chip[data-st="new"] { --status: var(--st-available); }
@media (max-width: 767px) {
  .statusbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .statusbar::-webkit-scrollbar { display: none; }
  .st-chip { flex: none; }
}

/* ---------- catalogue additions ---------- */
.spec-chip--loc { display: inline-flex; align-items: center; gap: 4px; background: rgba(81, 114, 131, 0.08); color: var(--accent-deep); }
.spec-chip--loc .icon { width: 13px; height: 13px; }

/* ---------- fixed pages & blog (page.html) ---------- */
[class*="serif"], .footer__claim, .price, .post h3 { font-weight: 520; }
.phero { padding-top: 150px; padding-bottom: 48px; display: grid; gap: 22px; justify-items: start; }
.phero .lead { max-width: 52ch; }
.phero__img { margin-top: 18px; }
.phero__img .core { padding: 0; overflow: hidden; }
.phero__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.pcard { display: block; }
.pblock .core, .bcard .core, .pform .core, .cta-band .core { padding: clamp(22px, 3vw, 32px); }
.pcard .core { padding: 0; overflow: hidden; height: 100%; display: grid; grid-template-rows: auto 1fr; }
.pcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.pcard__meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pcard h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: 25px; line-height: 1.1; letter-spacing: -0.01em; }
.pcard p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.article { max-width: 760px; margin: 0 auto; padding: 130px var(--gutter) 40px; }
.article h1 { font-family: var(--serif); font-weight: 520; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; margin: 18px 0 0; }
.article__img { margin: 34px 0 10px; }
.article__img .core { padding: 0; overflow: hidden; }
.article__img img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 520; font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); margin: 1.6em 0 0.5em; }
.prose ul { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
/* Blog bodies (rich() in app.js, posts from tools/import_blog.py): h3, links, pictures, galleries, video; "All news" */
.prose h3 { font-family: var(--serif); font-weight: 520; font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 1.5em 0 0.45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose__img { margin: 1.6em 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.prose__img img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.prose__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; margin: 1.6em 0; }
.prose__gallery .prose__img { margin: 0; aspect-ratio: 4 / 3; }
.prose__gallery .prose__img img { width: 100%; height: 100%; object-fit: contain; }
.prose__video { display: block; width: 100%; max-height: 80vh; margin: 1.6em 0; border-radius: var(--r-lg); background: #000; }
.pgrid--short > :nth-child(n + 13) { display: none; }
.more-wrap { display: flex; justify-content: center; margin: 36px 0 0; }
.pblocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pblock .core { display: grid; gap: 12px; align-content: start; height: 100%; }
.pblock h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: 28px; letter-spacing: -0.015em; line-height: 1.05; }
.pblock p { margin: 0; color: var(--ink-2); }
.pblock .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent); }
.numlist { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line-2); font-size: 17px; color: var(--ink-2); }
.numlist li::before { content: counter(n, decimal-leading-zero); font-family: var(--serif); font-size: 26px; color: var(--ink-3); line-height: 1; }
.psplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.bcard .core { display: grid; gap: 18px; min-height: 190px; align-content: space-between; }
.bcard h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: 34px; letter-spacing: -0.02em; line-height: 1; }
.bcard__links { display: flex; flex-wrap: wrap; gap: 8px; }
.bcard__links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(81, 114, 131, 0.08); color: var(--accent-deep); transition: background-color 0.4s var(--ease); }
.bcard__links a:hover { background: rgba(81, 114, 131, 0.16); }
.bcard__links .icon { width: 14px; height: 14px; }
.ogrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ocard { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.ocard b { font-family: var(--serif); font-weight: 520; font-size: 22px; }
.ocard span { color: var(--ink-2); font-size: 14.5px; }
.pform .core { display: grid; gap: 12px; }
.pform h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 520; font-size: 28px; }
.pform input, .pform textarea, .pform select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font: 500 15px/1.4 var(--sans); color: var(--ink); outline: none; transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease); }
.pform input:focus, .pform textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(81, 114, 131, 0.12); }
.pform textarea { min-height: 120px; resize: vertical; }
.pform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pform label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.pform label.check input { width: 18px; height: 18px; padding: 0; margin-top: 2px; accent-color: var(--accent); }
.pform .btn { justify-self: start; }
.pform .msg { margin: 0; font-size: 14px; font-weight: 600; color: #1d7a3a; min-height: 1.2em; }
.pform .note { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.cinfo { display: grid; gap: 22px; }
.cinfo a, .cinfo span { display: flex; gap: 12px; align-items: center; font-size: 17px; color: var(--ink); }
.cinfo a:hover { color: var(--accent); }
.cinfo .icon { width: 20px; height: 20px; color: var(--accent); flex: none; }
.cta-band .core { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-band h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.015em; }
.pbody { display: grid; gap: clamp(56px, 8vw, 96px); padding-bottom: clamp(72px, 10vw, 128px); }
.post { color: inherit; }
.post:hover h3 { color: var(--accent); }
@media (max-width: 900px) {
  .pblocks, .ogrid { grid-template-columns: 1fr; }
  .psplit { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .phero { padding-top: 120px; }
  .article { padding-top: 110px; }
  .prose { font-size: 17px; }
  .pform .row { grid-template-columns: 1fr; }
  .phero__img img { aspect-ratio: 4 / 3; }
}

/* forms: consent + anti-robot trap field (2026-10-08) */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sheet__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-2); text-align: left; }
.sheet__check input { width: 18px; height: 18px; padding: 0; margin-top: 1px; flex: none; accent-color: var(--accent); box-shadow: none; background: none; }
.sheet__check a, .pform label.check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* charter on the home page: one block per island (2026-10-08) */
#charter-cards { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; }
.isle { display: grid; gap: 20px; }
.isle__cover { display: block; }
.isle__cover .core { position: relative; aspect-ratio: 16 / 9; }
.isle__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.4s var(--ease); }
.isle__cover:hover img { transform: scale(1.03); }
.isle__cover:hover { transform: translateY(-4px); }
.isle__cover .core::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8, 20, 28, 0.62) 0%, rgba(8, 20, 28, 0.18) 42%, transparent 70%); }
.isle__label { position: absolute; left: clamp(18px, 3vw, 32px); bottom: clamp(18px, 3vw, 30px); z-index: 1; display: grid; gap: 10px; justify-items: start; color: #fff; }
.isle__label h3, .isle__soon h3 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.025em; }
.isle__label p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.isle__go { position: absolute; right: clamp(14px, 2.4vw, 24px); bottom: clamp(16px, 2.6vw, 26px); z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.isle__go .chip { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); transition: transform 0.5s var(--ease); }
.isle__cover:hover .isle__go .chip { transform: translate(2px, -1px) scale(1.05); }
.isle__soon .core { display: grid; gap: 14px; justify-items: start; padding: clamp(26px, 4vw, 44px); background:
  radial-gradient(120% 140% at 100% 0%, rgba(81, 114, 131, 0.16) 0%, transparent 55%),
  radial-gradient(90% 120% at 0% 100%, rgba(214, 190, 150, 0.22) 0%, transparent 60%), var(--surface); }
.isle__soon p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.isle__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 640px) {
  .isle__cover .core { aspect-ratio: 4 / 5; }
  .isle__go { left: 18px; right: auto; bottom: 18px; }
  .isle__label { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .isle__cover img, .isle__cover { transition: none; } .isle__cover:hover img, .isle__cover:hover { transform: none; } }
@media (max-width: 640px) {
  .isle .charter-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .isle .charter-grid::-webkit-scrollbar { display: none; }
  .isle .charter-grid > * { scroll-snap-align: start; }
}
.ccard .from b { white-space: nowrap; }

/* ---------- consent boxes: required (privacy) + optional (commercial messages), never pre-ticked ---------- */
.check--opt, .sheet__check--opt { color: var(--ink-3); font-size: 13px; }
.check--opt input, .sheet__check--opt input { accent-color: var(--ink-3); }

/* legal page (legal.js): table of contents and sub-headings in the sans (blog h3 stays in the serif) */
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 8px; font-size: 15px; }
.legal-toc a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose--legal h3 { font-family: var(--sans); font-weight: 650; font-size: 19px; line-height: 1.3; letter-spacing: 0; color: var(--ink); margin: 1.5em 0 0.4em; }
.prose h2[id], .prose span[id] { scroll-margin-top: 120px; }
.pform .note a, .sheet__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.buy__op { color: var(--ink-2); }

/* =====================================================================================================================
   MOTION (2026-10-15) — calm, physical, never in the way. Behaviour in app.js (section "motion").
   Rules: only transform / opacity per frame (clip-path and a little blur only in one-off entrances); custom ease-out curves;
   pointer effects only with a mouse; everything off with prefers-reduced-motion (app.js never adds html.motion then) and
   nothing hidden unless html.motion is on. Nothing loops by itself except the brand carousel.
   ===================================================================================================================== */
:root { --spring: cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ---------- page to page: a soft cross-fade (View Transitions between documents; browsers without it just change page) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }   /* after the rule above: the last one wins */
::view-transition-group(root) { animation-duration: 0.38s; animation-timing-function: var(--spring); }

/* ---------- home hero: the headline rises line by line out of a mask, the rest follows (app.js heroIntro) */
.hero__line { display: block; }
.hero__line > span { display: block; }
.motion .hero--intro .hero__line { clip-path: inset(-0.6em -0.6em -0.24em -0.6em); }   /* open at the sides and top (italics, shadow) and below the baseline (descenders) */
.motion .hero--intro .hero__line > span { animation: iy-line 1.15s var(--spring) backwards; animation-delay: var(--d, 0s); }
.motion .hero--intro .hero__fx { animation: iy-rise 1s var(--ease-out) backwards; animation-delay: var(--d, 0s); }
.motion .hero--intro :is(.eyebrow, .lead).hero__fx { animation-name: iy-rise-soft; }   /* glass (buttons, figures) never gets a filter */
@keyframes iy-line { from { transform: translate3d(0, 165%, 0); filter: blur(10px); } 55% { filter: blur(0); } }   /* far enough that no accent peeks out */
.hero__stats b { font-variant-numeric: tabular-nums; }   /* the counting figures do not wobble */
/* scroll cue: a word and a hairline that draws itself once (no loop); fades away as soon as the page moves */
.hero__cue {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 88px); z-index: 1;
  display: grid; justify-items: center; gap: 12px; padding: 6px 4px 0;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
  transition: color 0.4s var(--ease);
}
.hero__cue::after { content: ""; width: 1px; height: 48px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); transform-origin: 50% 0; }
.hero__cue:hover { color: #fff; }
.motion .hero--intro .hero__cue { animation: iy-fade 0.9s ease-out backwards; animation-delay: var(--d, 0s); }
.motion .hero--intro .hero__cue::after { animation: iy-draw 1.2s var(--spring) backwards; animation-delay: calc(var(--d, 0s) + 0.2s); }
@keyframes iy-draw { from { transform: scaleY(0); } }
@media (max-aspect-ratio: 1/1), (max-height: 620px) { .hero__cue { display: none; } }

/* ---------- floating bar: a little smaller and more glass once the page moves; on phones it steps aside going down
   and comes back going up (app.js). The sticky filter bar of the listing follows it so nothing is covered or jumps. */
.nav.nav--compact {
  padding-top: 6px; padding-bottom: 6px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 8px rgba(13, 27, 36, 0.07), 0 20px 50px -18px rgba(13, 27, 36, 0.34);
}
.nav--compact .nav__logo img { height: 46px; }
.nav.nav--hidden { transform: translate(-50%, calc(-100% - 24px)); }
.nav--compact ~ main .filters { top: 86px; }
@media (max-width: 767px) {
  .nav--compact .nav__logo img { height: 40px; }
  .nav--compact ~ main .filters { top: 80px; }
  .nav--hidden ~ main .filters { top: 12px; }
}

/* ---------- scroll appearances: big photos open from a mask while they settle (zoom-out) */
.motion .reveal.in:is(.isle__cover, .svc__photo, .sell, .phero__img, .article__img) { animation: iy-unmask 1.3s var(--spring) backwards; animation-delay: calc(var(--rd, 0) * 60ms); }
.motion .reveal.in:is(.isle__cover, .svc__photo, .phero__img, .article__img) img,
.motion .sell.reveal.in > img { animation: iy-settle 1.8s var(--spring) backwards; animation-delay: calc(var(--rd, 0) * 60ms); }
/* the big card of each bento (featured, Cranchi): its photo opens inside the card while the card rises */
.motion .bento > .ycard.reveal.in:first-child .ycard__media { animation: iy-unmask-in 1.3s var(--spring) backwards; animation-delay: calc(var(--rd, 0) * 60ms + 80ms); }
.motion .bento > .ycard.reveal.in:first-child .ycard__media img { animation: iy-settle 1.8s var(--spring) backwards; animation-delay: calc(var(--rd, 0) * 60ms); }
@keyframes iy-unmask { from { opacity: 0; clip-path: inset(7% 5% 7% 5% round 40px); } 35% { opacity: 1; } to { clip-path: inset(0 0 0 0 round 32px); } }
@keyframes iy-unmask-in { from { clip-path: inset(5% 4% 5% 4% round 20px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes iy-settle { from { transform: scale(1.12); } }

/* ---------- photos: they fade in when they have loaded (never kept hidden: app.js shows them on load AND on error) */
.motion img.is-wait { opacity: 0; }
.motion img.is-fading { transition: opacity 0.7s ease, transform 1.2s var(--ease), filter 0.6s var(--ease); }

/* ---------- yacht cards */
.ycard .shell { position: relative; }
.ycard .shell::after {   /* deeper shadow on hover: an opacity change, not a shadow repaint */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 34px 64px -30px rgba(13, 27, 36, 0.42); opacity: 0; transition: opacity 0.6s var(--ease);
}
.ycard__glare {   /* light that follows the pointer (app.js); moved with transform only */
  position: absolute; left: 0; top: 0; z-index: 1; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0));
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.ycard.is-tilt > .shell { transition: transform 0.55s var(--spring); will-change: transform; }
.ycard.is-tilt .ycard__glare { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .ycard:hover .shell::after { opacity: 1; }
}

/* ---------- arrows: on hover the arrow leaves its chip and comes back from the other side (mouse only) */
.btn .chip, .link-arrow .chip, .isle__go .chip { overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  :is(.btn, .isle__cover, .ycard):hover :is(.chip, .ycard__go) .icon--arrow { animation: iy-arrow 0.6s; }
  :is(.btn, .link-arrow, .pcard):hover .chip .icon--right { animation: iy-arrow-r 0.6s; }
  .pcard:hover .link-arrow .chip { transform: translateX(4px); background: var(--ink); color: #fff; }
}
@keyframes iy-arrow {
  0% { transform: none; animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
  38% { transform: translate(150%, -150%); }
  38.01% { transform: translate(-150%, 150%); animation-timing-function: var(--spring); }
  100% { transform: none; }
}
@keyframes iy-arrow-r {
  0% { transform: none; animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
  38% { transform: translateX(160%); }
  38.01% { transform: translateX(-160%); animation-timing-function: var(--spring); }
  100% { transform: none; }
}

/* ---------- touch: pressing a card answers (after a hair of delay, so a scroll that starts on a card does not flicker);
   hover lifts are switched off, a tap would leave them stuck */
@media (hover: none) {
  :is(.ycard, .pcard) > .shell, .isle__cover, .svc__photo { transition: transform 0.35s var(--ease-out); }
  .ycard:hover .shell, .isle__cover:hover, .svc__photo:hover { transform: none; }
  :is(.ycard, .pcard):active > .shell, .isle__cover:active, .svc__photo:active { transform: scale(0.98); transition: transform 0.14s ease-out 0.06s; }
}


/* ---------- detail gallery: a native swipe track (finger 1:1, momentum, one photo at a time); arrows and thumbnails glide it */
.gallery__track {
  display: flex; width: 100%; height: 100%;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__main .gallery__slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; -webkit-user-drag: none; user-select: none; }
.lightbox img { transform: scale(0.96); transition: transform 0.5s var(--ease-out), opacity 0.3s ease; }
.lightbox.open img { transform: none; }

/* ---------- blog post: a fine reading bar at the top edge (app.js, the same frame as the rest of the scroll effects) */
.readbar { position: fixed; z-index: 45; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.readbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, #8fb3c4); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- print and safety: everything visible and still */
@media print {
  .motion .reveal, .motion img.is-wait { opacity: 1 !important; animation: none !important; }
  .readbar, .hero__cue { display: none; }
}

/* ---------- cookies (Google Analytics only with consent; app.js cookieBanner) ---------- */
/* Accept and Reject look the same (AEPD 2023): neither is highlighted. It never blocks the page (no cookie wall). */
.cookies {
  position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px));   /* under the sheet (55) and the lightbox (60): never hides «Enviar» */
  padding: 20px 20px 16px; border-radius: 24px; color: var(--ink); background: rgba(255, 255, 255, 0.92);
  animation: iy-ck-in 0.6s var(--ease-out) both;
}
.cookies__title { font-family: var(--serif); font-size: 21px; font-weight: 520; margin: 0 0 6px; }
.cookies__text { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.cookies__text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cookies__prefs { display: grid; gap: 10px; margin: 14px 0 2px; }
.cookies__prefs[hidden] { display: none; }
.cookies__row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.cookies__row b { color: var(--ink); font-weight: 600; }
.cookies__row input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.cookies__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.cookies__btn {
  flex: 1 1 120px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font: 500 14.5px/1 var(--sans);
  transition: scale 0.16s var(--ease-out), opacity 0.3s var(--ease);
}
.cookies__btn:active { scale: 0.97; }
.cookies__link {
  flex: 1 0 100%; min-height: 36px; border: 0; background: none; cursor: pointer;
  color: var(--ink-2); font: 500 13.5px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px;
}
.footer__ck { border: 0; background: none; padding: 0; color: rgba(255, 255, 255, 0.62); font: inherit; cursor: pointer; }
.footer__ck:hover { text-decoration: underline; }
@keyframes iy-ck-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 720px) {
  .cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .cookies { animation: none; } }

/* legal texts: long addresses wrap on small phones (policies.google.com/technologies/partner-sites) */
.legal, .legal p, .legal li, .prose p, .prose li { overflow-wrap: anywhere; }
