/* Marina Wellness — marinawellness.dk */

@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --sky-top: #17142b;
  --night: #100d1a;
  --deep: #1a1628;
  --sun: #f7931a;
  --sun-hi: #ffab45;
  --gold: #e8b56a;
  --sand: #f6e7d2;
  --muted: #cdb8b0;
  --ink: #17142b;
  --line: rgb(232 181 106 / .26);
  --serif: "Marcellus", "Trajan Pro", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 3rem);
  --header: 4.25rem;
  --section: clamp(4.5rem, 10vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 1rem); background: var(--night); }
body {
  margin: 0;
  font: 400 clamp(1.0625rem, 1rem + .25vw, 1.1875rem)/1.65 var(--sans);
  color: var(--sand);
  background: linear-gradient(180deg, #1c1830 0, var(--deep) 45%, var(--night) 100%);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
@media (max-width: 30em) { p { hyphens: auto; } }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.25rem, min(1.4rem + 4.8vw, 9.5svh), 5.5rem); letter-spacing: -.005em; margin: 1rem 0 1.5rem; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); margin: .9rem 0 1.6rem; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { width: min(78rem, 100% - 2 * var(--gutter) - env(safe-area-inset-left) - env(safe-area-inset-right)); margin-inline: auto; }
.sr, .sprite { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--sun); color: var(--ink); }
.skip:focus { top: 1rem; }

.eyebrow { hyphens: manual; display: flex; align-items: center; gap: .9rem; margin: 0; font-size: .78rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; flex: none; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: 2px;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .06em; text-decoration: none;
  transition: background-color .25s, border-color .25s, color .25s;
}
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-line { border-color: rgb(246 231 210 / .55); color: var(--sand); background: rgb(23 20 43 / .3); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1.1rem; font-size: .95rem; }
@media (hover: hover) {
  .btn-sun:hover { background: var(--sun-hi); }
  .btn-line:hover { border-color: var(--sand); background: rgb(23 20 43 / .6); }
}

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--sky-top); padding-top: env(safe-area-inset-top); }
.top-in { display: flex; align-items: center; gap: 2rem; min-height: var(--header); }
.brand { display: flex; align-items: center; gap: .75rem; min-height: 44px; text-decoration: none; color: var(--sand); }
.brand img { border-radius: 50%; }
.brand-name { display: grid; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .04em; line-height: 1.15; }
.brand-name small { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.nav { display: none; margin-left: auto; gap: 2rem; }
.nav a {
  min-width: 44px; text-align: center;
  padding-block: .7rem; font-size: .95rem; letter-spacing: .06em; text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 85% / 0 1px no-repeat;
  transition: background-size .3s;
}
.nav a:hover { background-size: 100% 1px; }
.top-call { display: none; }

/* Hero: the sunset */
.hero {
  overflow: hidden;
  --sea: 9rem;
  --h: calc(100% - var(--sea));
  --sun-x: 20%;
  --sun-size: 7.5rem;
  position: relative; isolation: isolate; overflow: clip;
  display: grid;
  padding-top: clamp(2.25rem, 7vh, 5.5rem);
}
.sky {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    var(--sky-top) 0%,
    #231c3f calc(var(--h) - 50%),
    #45305e calc(var(--h) - 30%),
    #7d4868 calc(var(--h) - 16%),
    #c46a5a calc(var(--h) - 7%),
    #e9965a calc(var(--h) - 2.5%),
    #f6c58e var(--h));
}
.slides { position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: .75; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; }
.slides img:first-child { opacity: 1; }
.sky::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--night); opacity: 0; pointer-events: none; }
.sun {
  position: absolute; z-index: 0;
  left: var(--sun-x); top: var(--h);
  width: var(--sun-size); aspect-ratio: 1;
  translate: -50% -58%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffeccb 0 30%, #f9c27e 62%, #f2a463 100%);
  box-shadow: 0 0 4rem 1rem rgb(242 164 99 / .4), 0 0 12rem 4rem rgb(233 150 90 / .18);
  outline: 1px solid rgb(255 214 150 / .45);
  outline-offset: clamp(.6rem, 1.4vw, 1.25rem);
}
.sea {
  position: absolute; z-index: 1; inset: var(--h) 0 0;
  background: linear-gradient(#2f2547, #1c1830 55%, #1c1830);
  border-top: 1px solid rgb(255 214 150 / .75);
}
.sea::before {
  content: ""; position: absolute; top: 0; left: var(--sun-x);
  width: calc(var(--sun-size) * 1.7); height: 100%;
  translate: -50% 0;
  background: repeating-linear-gradient(180deg, rgb(246 197 142 / .6) 0 2px, transparent 2px 10px);
  mask-image: radial-gradient(ellipse 50% 100% at 50% 0, #000, transparent 78%);
}
.hero-in { display: grid; gap: 2.75rem; align-content: start; }
.hero-text { max-width: 38rem; }
.lede { font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem); max-width: 32em; color: rgb(246 231 210 / .9); text-shadow: 0 1px .9rem rgb(23 20 43 / .6); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.arch {
  justify-self: end; width: 74%; margin: 0 0 3rem;
  border-radius: 50% 50% 3px 3px / 38% 38% 3px 3px;
  outline: 1px solid rgb(255 214 150 / .5);
  outline-offset: clamp(.45rem, 1vw, .8rem);
}
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: inherit; }

/* About */
.about { padding-block: var(--section); }
.about-in { display: grid; gap: 3.5rem; }
.about-text p { max-width: 34em; color: var(--muted); }
.about-text .call-line { margin-top: 2rem; font-family: var(--serif); font-size: 1.3rem; color: var(--sand); }
.call-line a { color: var(--gold); text-underline-offset: .2em; text-decoration-thickness: 1px; white-space: nowrap; }
.duo { display: grid; grid-template-columns: repeat(10, 1fr); }
.duo img { width: 100%; object-fit: cover; }
.duo-a { grid-area: 1 / 1 / 2 / 9; aspect-ratio: 3 / 2; }
.duo-b {
  grid-area: 1 / 5 / 2 / 11; margin-top: 66%; aspect-ratio: 8 / 5;
  box-shadow: 0 0 0 clamp(.4rem, 1vw, .75rem) var(--deep);
}

/* Quote band */
.band { position: relative; isolation: isolate; overflow: hidden; overflow: clip; display: grid; align-items: center; min-height: clamp(22rem, 50vw, 40rem); padding-block: 4rem; }
.band > img { position: absolute; inset: -8% 0; z-index: -2; width: 100%; height: 116%; max-width: none; object-fit: cover; object-position: 65% 40%; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--deep), transparent 22%, transparent 78%, var(--deep)),
    rgb(19 16 33 / .72);
}
.band blockquote { margin: 0; }
.band blockquote p { font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem); line-height: 1.08; max-width: 12em; text-wrap: balance; margin: 0; hyphens: manual; }
.band blockquote footer { margin-top: 1.25rem; max-width: 24em; color: var(--gold); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }

/* Prices */
.prices { padding-block: var(--section); }
.prices-in { display: grid; gap: 4rem; }
.prices-img { display: none; }
.menu { container-type: inline-size; list-style: none; padding: 0; margin: 2.25rem 0 2.5rem; border-top: 1px solid var(--line); }
.menu-head { display: none; }
.item { padding: 1.35rem .25rem; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.item h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin-bottom: .85rem; transition: color .3s; }
.item dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; }
.item dl div { display: grid; gap: .1rem; }
.item dt { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.item dd { margin: 0; font-size: clamp(1.05rem, .95rem + .8vw, 1.3rem); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.item abbr { text-decoration: none; font-size: .78em; font-weight: 400; color: var(--muted); }
.na dd { color: rgb(205 184 176 / .45); }
@container (min-width: 40rem) {
  /* name column + three 6.5rem price columns; header and rows share the same widths */
  .menu-head { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 6.5rem); padding: 1rem .75rem; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
  .menu-head span:not(:first-child) { text-align: end; }
  .item { display: grid; grid-template-columns: minmax(0, 1fr) 19.5rem; align-items: baseline; padding: 1.4rem .75rem; }
  .item h3 { margin: 0; padding-right: 1rem; }
  .item dl { gap: 0; }
  .item dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .item dd { text-align: end; }
}
@media (hover: hover) {
  .item:hover { background: linear-gradient(90deg, rgb(232 181 106 / .08), transparent 80%); }
  .item:hover h3 { color: var(--gold); }
}

/* Visit */
.visit { padding-block: var(--section); }
.visit-in { display: grid; gap: 3.5rem; }
.hours { margin: 2rem 0 1.25rem; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.hours .today dt, .hours .today dd { color: var(--gold); }
.status { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font-size: .95rem; color: var(--sand); }
.status[hidden] { display: none; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #c9897a; }
.status[data-state="open"]::before { background: #8fd49a; box-shadow: 0 0 0 4px rgb(143 212 154 / .18); }
address { display: grid; gap: .75rem; margin-top: 2.25rem; font-style: normal; }
.addr { display: flex; align-items: flex-start; gap: 1rem; min-height: 44px; padding: 1.1rem 1.2rem; border: 1px solid var(--line); text-decoration: none; line-height: 1.4; transition: border-color .25s; }
.addr .i { color: var(--gold); margin-top: .15rem; }
.addr small { display: block; margin-top: .4rem; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (hover: hover) { .addr:hover { border-color: var(--gold); } }
.facade { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }

/* FAQ */
.faq { padding-block: 0 clamp(3rem, 6vw, 5rem); }
.faq-in { display: grid; gap: 1rem; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  position: relative; display: block; list-style: none; cursor: pointer;
  min-height: 44px; padding: 1.25rem 2.75rem 1.25rem .25rem;
  font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .5rem; top: 50%; translate: 0 -50%; font: 400 1.6rem/1 var(--sans); color: var(--gold); }
details[open] summary::after { rotate: 45deg; }
details p { margin: 0 .25rem 1.5rem; max-width: 40em; color: var(--muted); }
details a { color: var(--gold); }

/* Footer: night, the sun has set and the moon is up */
.foot {
  position: relative; overflow: hidden; overflow: clip;
  padding: clamp(4rem, 9vw, 7rem) 0 calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background:
    radial-gradient(2px 2px at 8% 22%, #fff9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 19% 64%, #fff7 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 31% 14%, #fff8 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 46% 38%, #ffe6ad99 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 18%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 67% 52%, #fff7 50%, transparent 51%),
    radial-gradient(2px 2px at 74% 10%, #fff9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 91% 48%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 70%, #fff5 50%, transparent 51%),
    linear-gradient(180deg, #0e0c18, #0a0912);
}
.foot::before {
  content: ""; position: absolute;
  top: clamp(1.75rem, 4.5vw, 3.5rem); right: max(var(--gutter), 7vw);
  width: clamp(2.25rem, 3.6vw, 3.5rem); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset -.55em .3em 0 0 #f3dcb4;
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  rotate: -18deg;
  filter: drop-shadow(0 0 1.25rem rgb(243 220 180 / .35));
}
.foot a { color: var(--sand); text-decoration: none; transition: color .25s; }
@media (hover: hover) { .foot a:hover { color: var(--gold); } }
.foot-grid { position: relative; display: grid; gap: 2.75rem 2rem; }
.foot-brand img { width: 64px; height: 64px; border-radius: 50%; }
.foot-name { display: grid; margin: 1.1rem 0 .4rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; color: var(--sand); }
.foot-name small { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.foot-tag { max-width: 22em; margin-bottom: 1.5rem; }
.foot .btn-sun { color: var(--ink); }
.foot-col h2 { margin: 0 0 1rem; font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.foot-col dl { margin: 0; }
.foot-col dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgb(232 181 106 / .12); }
.foot-col dl div:first-child { padding-top: 0; }
.foot-col dd { margin: 0; color: var(--sand); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.foot-col address { display: grid; font-style: normal; color: var(--sand); }
.foot-col address p { margin: 0 0 .5rem; }
.foot-col address a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; }
.foot-col address .i { color: var(--gold); }
.foot-mark {
  margin: clamp(3rem, 7vw, 5.5rem) 0 0; overflow: hidden;
  font-family: var(--serif); font-size: min(11.5vw, 15rem); line-height: .78; letter-spacing: .01em;
  text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgb(232 181 106 / .3);
  user-select: none;
}
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; }
.foot-base p { margin: 0; }
.foot-base a:not(.totop) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.totop { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
@media (min-width: 40em) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 72em) {
  .foot-grid { grid-template-columns: 1.5fr .9fr 1.25fr 1.15fr; gap: 3rem; }
  .foot-brand { grid-column: auto; }
}

/* Mobile call bar */
.callbar {
  position: fixed; z-index: 60;
  left: max(.75rem, env(safe-area-inset-left)); right: max(.75rem, env(safe-area-inset-right));
  bottom: calc(.75rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.4rem; padding: .5rem 1rem;
  border: 1px solid transparent; border-radius: 2px;
  background: var(--sun); color: var(--ink);
  font-size: clamp(.95rem, 4vw, 1.05rem); font-weight: 500; letter-spacing: .03em; text-decoration: none;
  box-shadow: 0 .75rem 2rem rgb(0 0 0 / .5);
}
.callbar span { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.foot { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
html { scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }

/* Layout steps */
@media (min-width: 48em) {
  .nav { display: flex; }
  .top-call { display: inline-flex; }
  .callbar { display: none; }
  .foot { padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 0; }
  .hero {
    --sea: clamp(7rem, 24%, 13rem);
    --sun-x: 42%;
    --sun-size: clamp(10rem, 15vw, 16rem);
    min-height: min(calc(100svh - var(--header)), 62rem);
  }
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-content: stretch; }
  .hero-text { align-self: start; }
  .arch { align-self: end; width: min(100%, 30rem, (100svh - 14rem) * .8); margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
}
@media (min-width: 60em) {
  .about-in { grid-template-columns: 5fr 6fr; align-items: center; gap: 5rem; }
  .band::before { background: linear-gradient(180deg, var(--deep), transparent 22%, transparent 78%, var(--deep)), linear-gradient(90deg, rgb(19 16 33 / .92), rgb(19 16 33 / .65) 45%, rgb(19 16 33 / .05) 80%); }
  .visit-in { grid-template-columns: 5fr 6fr; align-items: center; gap: 5rem; }
  .faq-in { grid-template-columns: 4fr 7fr; gap: 5rem; }
}
@media (min-width: 72em) {
  .prices-in { grid-template-columns: 4fr 8fr; gap: 5rem; align-items: start; }
  .prices-img {
    display: block; position: sticky; top: calc(var(--header) + 2rem);
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 50% 50% 3px 3px / 30% 30% 3px 3px;
  }
}
/* Tablet widths: narrow text column, so the sun moves beside the arch;
   on short tablet screens the hero grows so text always ends above the horizon */
@media (min-width: 48em) and (max-width: 71.99em) {
  .hero { --sun-x: 64%; }
}
@media (min-width: 48em) and (max-width: 76em) and (orientation: landscape) {
  h1 { font-size: clamp(2.25rem, min(4.6vw, 9.5svh), 5.5rem); }
}
@media (min-width: 48em) and (max-width: 71.99em) and (max-height: 40em) {
  .hero { min-height: auto; }
  .hero-text { padding-bottom: calc(var(--sea) + 3.5rem); }
}
/* Large and 4K screens scale everything up */
@media (min-width: 110em) { html { font-size: 112.5%; } }
@media (min-width: 160em) { html { font-size: 137.5%; } }
@media (min-width: 220em) { html { font-size: 175%; } }

/* Phones in landscape */
@media (orientation: landscape) and (max-height: 32em) {
  .hero { --sea: 4.5rem; --sun-size: 6rem; --sun-x: 64%; min-height: auto; padding-top: 1.5rem; }
  .hero-text { padding-bottom: calc(var(--sea) + 4rem); }
  .hero-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem; }
  h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-block: .6rem 1rem; }
  .arch { align-self: end; width: 100%; max-width: 13rem; margin-bottom: 1.75rem; }
}

/* Motion: only when the visitor allows it */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-text > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-text > :nth-child(5) { animation-delay: .32s; }
  .arch { animation: open 1.4s .15s cubic-bezier(.65, 0, .25, 1) both; }
  .sun { animation: sunrise 2.2s cubic-bezier(.16, .84, .3, 1) both; }
  .sea::before { animation: shimmer 5s ease-in-out infinite alternate; }
  summary::after { transition: rotate .3s; }
  .slides img { opacity: 0; animation: slide 28s linear infinite; }
  .slides img:nth-child(2) { animation-delay: 7s; }
  .slides img:nth-child(3) { animation-delay: 14s; }
  .slides img:nth-child(4) { animation-delay: 21s; }

  @supports (animation-timeline: scroll()) {
    .sun {
      animation: sunrise 2.2s cubic-bezier(.16, .84, .3, 1) both, sunset linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 90svh;
    }
    .sky::after { animation: dusk linear both; animation-timeline: scroll(root); animation-range: 0 90svh; }
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .band > img { animation: drift linear both; animation-timeline: view(); }
  }
}
@keyframes slide {
  0% { opacity: 0; scale: 1.12; }
  6%, 25% { opacity: 1; }
  31%, 100% { opacity: 0; scale: 1; }
}
@keyframes rise { from { opacity: 0; translate: 0 1.5rem; } }
@keyframes open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-2rem); } }
@keyframes sunrise { from { transform: translateY(70%); } }
@keyframes sunset { to { translate: -50% 5%; } }
@keyframes dusk { to { opacity: .55; } }
@keyframes shimmer { to { scale: 1.18 1; opacity: .7; } }
@keyframes reveal { from { translate: 0 2.5rem; scale: .97; } }
@keyframes drift { from { translate: 0 -6%; } to { translate: 0 6%; } }

/* Smooth accordion where supported */
@media (prefers-reduced-motion: no-preference) {
  @supports selector(::details-content) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
    details[open]::details-content { block-size: auto; }
  }
}

@media (forced-colors: active) {
  .btn, .callbar, .addr { border-color: CanvasText; }
  .sky, .sun, .sea { forced-color-adjust: none; }
}
