/* =============================================================
   CLOUDNINE — Daylight PC Lounge
   LAYOUT SCHEME: E — asymmetric-12 (boxed 1280px; section
   headings live in columns 1–4, content in 5–12; grid breaks
   full-width only in hero and form).
   SPACING SCALE: monastic — sections 160px / inner 96px
   (72px on mobile). Inner step = 8px (--s-1 … --s-6).
   Do not mix container schemes or spacing scales within this site.
   ============================================================= */

:root {
  /* colors */
  --c-bg: #fbfbf9;        /* cloud white */
  --c-bg-dark: #2b3440;   /* storm */
  --c-ink: #2b3440;       /* ink on light */
  --c-ink-inv: #fbfbf9;   /* ink on dark */
  --c-a1: #60a5fa;        /* sky */
  --c-a2: #fda4af;        /* dawn */
  --c-panel: #f1f1ec;     /* soft tonal field */
  --c-panel-2: #eaeae3;
  --c-line: #dcdcd3;
  --c-mute: #6b7480;

  /* fonts */
  --f-display: "Syne", "Trebuchet MS", sans-serif;
  --f-body: "Wix Madefor Text", system-ui, sans-serif;

  /* radii */
  --r-card: 24px;
  --r-input: 16px;
  --r-cloud: 60% 40% 55% 45% / 50% 60% 40% 50%;
  --r-cloud-b: 45% 55% 40% 60% / 55% 45% 60% 40%;

  /* spacing — monastic */
  --sec: 160px;
  --sec-inner: 96px;
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 64px;

  --w-container: 1280px;
}

@media (max-width: 768px) {
  :root { --sec: 72px; --sec-inner: 48px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0; }
p { margin: 0 0 var(--s-3); }

/* ---------- container / grid ---------- */
.container {
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: 40px;
}
@media (max-width: 768px) { .container { padding-inline: 20px; } }

.section { padding-block: var(--sec); }
.section--dark {
  background: var(--c-bg-dark);
  color: var(--c-ink-inv);
  position: relative;
  overflow: hidden;
}

/* asymmetric-12: heading rail cols 1-4, content cols 5-12 */
.asym {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-6);
  align-items: start;
}
.asym__head { grid-column: 1 / 5; position: sticky; top: 104px; }
.asym__body { grid-column: 5 / 13; }
@media (max-width: 900px) {
  .asym { grid-template-columns: 1fr; gap: var(--s-5); }
  .asym__head { grid-column: 1 / -1; position: static; }
  .asym__body { grid-column: 1 / -1; }
}

/* ---------- typography ---------- */
h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.5vw, 50px); letter-spacing: -0.01em; }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
.altitude-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-mute);
  margin: 0 0 var(--s-3);
}
.section--dark .altitude-label { color: var(--c-a1); }
.lead { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.55; }

/* cloud plate motif under headings/numbers */
.cloud-plate {
  display: inline-block;
  background: #ffffff;
  border-radius: var(--r-cloud);
  padding: var(--s-2) var(--s-4);
  animation: cloudBreathe 14s ease-in-out infinite;
}
@keyframes cloudBreathe {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  50% { border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%; }
}

/* ---------- icons ---------- */
.ic { width: 24px; height: 24px; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .25s ease, background-color .25s ease;
}
.btn--primary { background: var(--c-a1); color: #fff; }
.btn--primary:hover { background: #7cb5fb; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--c-a1); }
.section--dark .btn--ghost { color: var(--c-ink-inv); border-color: rgba(251,251,249,.3); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- horizon divider (motif) ---------- */
.horizon { position: relative; height: 1px; background: var(--c-line); margin: 0; }
.section--dark + .horizon, .horizon--dark { background: rgba(251,251,249,.18); }
.horizon__sun {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px;
  border-radius: 50%; background: var(--c-a2);
  transform: translate(-50%, 6px); opacity: 0;
  transition: transform .8s ease, opacity .8s ease;
}
.horizon.is-in .horizon__sun { transform: translate(-50%, -50%); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .horizon__sun { transition: none; transform: translate(-50%, -50%); opacity: 1; }
}

/* ---------- nav (nav-hamburger-first) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  transition: padding .25s ease, background-color .25s ease, backdrop-filter .25s ease;
}
.nav.is-dense {
  padding: 12px 40px;
  background: rgba(251,251,249,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
@media (max-width: 768px) { .nav, .nav.is-dense { padding-inline: 20px; } }
.nav__logo {
  font-family: var(--f-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em; text-decoration: none; color: var(--c-ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.nav__logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-a1); }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  padding: 10px 18px; cursor: pointer; color: var(--c-ink);
}
.nav__toggle:hover { border-color: var(--c-a1); }

.nav__overlay {
  position: fixed; inset: 0; z-index: 60;
  background: var(--c-bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: var(--s-4);
  opacity: 0; transform: scale(1.02);
  transition: opacity .3s ease, transform .3s ease;
}
.nav__overlay[hidden] { display: none; }
.nav__overlay.is-open { opacity: 1; transform: scale(1); }
.nav__overlay a {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 6vw, 46px);
  text-decoration: none; color: var(--c-ink); letter-spacing: -0.02em;
}
.nav__overlay a:hover { color: var(--c-a1); }
.nav__close {
  position: absolute; top: 22px; right: 40px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  padding: 10px 18px; font-family: var(--f-display); font-weight: 700;
  cursor: pointer; color: var(--c-ink);
}
@media (max-width: 768px) { .nav__close { right: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .nav__overlay { transition: none; }
}

/* ---------- hero (hero-split-media) ---------- */
.hero { position: relative; padding-top: 132px; padding-bottom: var(--sec); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0));
  filter: blur(30px); will-change: transform;
}
.cloud--1 { width: 46vw; height: 46vw; top: -8%; left: -6%; animation: drift1 42s ease-in-out infinite; }
.cloud--2 { width: 38vw; height: 38vw; top: 20%; right: -10%;
  background: radial-gradient(closest-side, rgba(96,165,250,.16), rgba(96,165,250,0));
  animation: drift2 52s ease-in-out infinite; }
.cloud--3 { width: 30vw; height: 30vw; bottom: -12%; left: 30%;
  background: radial-gradient(closest-side, rgba(253,164,175,.14), rgba(253,164,175,0));
  animation: drift3 60s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,20px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,26px)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(24px,-30px)} }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; } }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: var(--s-6); align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__media { order: -1; }
}
.hero__text h1 { margin-bottom: var(--s-3); }
.hero__text .lead { max-width: 30ch; color: var(--c-ink); }
.hero__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-4); }
.hero__slogan {
  font-family: var(--f-display); font-weight: 800; color: var(--c-a1);
  font-size: 15px; letter-spacing: 0.04em; margin-bottom: var(--s-3);
}
.hero__media img {
  width: 100%; height: auto; border-radius: var(--r-cloud);
  animation: cloudBreathe 18s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }

/* ---------- rows cards ---------- */
.rows-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 720px) { .rows-grid { grid-template-columns: 1fr; } }
.row-card {
  background: #fff; border-radius: var(--r-card); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.row-card--window { background: var(--c-panel); position: relative; overflow: hidden; }
.row-card__num {
  font-family: var(--f-display); font-weight: 800; font-size: 64px; line-height: 1;
  color: var(--c-ink); display: inline-flex; align-items: center;
}
.row-card__num .nine { color: var(--c-a1); }
.row-card__media { border-radius: var(--r-cloud); overflow: hidden; margin-top: var(--s-2); }
.row-card__media img { width: 100%; height: 220px; object-fit: cover; }
.row-card__spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.row-card__spec li { display: flex; align-items: center; gap: var(--s-1); color: var(--c-mute); font-size: 15px; }
.row-card__spec .ic { color: var(--c-a1); }

/* ---------- band ---------- */
.band {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  min-height: 320px; display: flex; align-items: flex-end;
  color: #fff;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(43,52,64,.62), rgba(43,52,64,.12)); }
.band__inner { position: relative; z-index: 2; padding: var(--s-5); max-width: 46ch; }

/* ---------- rates ---------- */
.rates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 720px) { .rates-grid { grid-template-columns: 1fr; } }
.rate-card {
  background: #fff; border-radius: var(--r-card); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.rate-card--altitude { background: var(--c-bg-dark); color: var(--c-ink-inv); }
.rate-card__price { font-family: var(--f-display); font-weight: 800; font-size: 44px; line-height: 1; }
.rate-card__price small { font-family: var(--f-body); font-weight: 400; font-size: 15px; color: var(--c-mute); }
.rate-card--altitude .rate-card__price small { color: rgba(251,251,249,.65); }
.rate-list { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: var(--s-1); }
.rate-list li { display: flex; gap: var(--s-1); align-items: flex-start; font-size: 15px; }
.rate-list .ic { color: var(--c-a1); margin-top: 2px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--r-card); }
.gallery figcaption { margin-top: var(--s-2); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-mute); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-2); }
.faq details {
  background: #fff; border-radius: var(--r-card); padding: var(--s-3) var(--s-5);
  border: 1px solid transparent; transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--c-a1); }
.faq summary {
  list-style: none; cursor: pointer; font-family: var(--f-display); font-weight: 700;
  font-size: 18px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--c-a1); transition: transform .25s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq p { margin: var(--s-2) 0 0; color: var(--c-mute); }
@media (prefers-reduced-motion: reduce) { .faq summary .ic { transition: none; } }

/* ---------- form (dark) ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: var(--s-5); } }
.form {
  background: rgba(251,251,249,.06); border-radius: var(--r-card);
  padding: var(--s-6); display: grid; gap: var(--s-3);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: rgba(251,251,249,.75); }
.field input, .field select {
  font-family: var(--f-body); font-size: 15.5px;
  background: #fff; color: var(--c-ink); border: 1px solid transparent;
  border-radius: var(--r-input); padding: 13px 16px; width: 100%;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--c-a1); box-shadow: 0 0 0 4px rgba(96,165,250,.28);
}
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 520px) { .field-2 { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#formStatus { margin: 0; font-size: 15px; min-height: 1.2em; }
#formStatus.success { color: #a7f3d0; }
#formStatus.error { color: var(--c-a2); }

/* ---------- footer (footer-link-columns) ---------- */
.footer { background: var(--c-bg-dark); color: var(--c-ink-inv); padding-block: var(--sec-inner) var(--s-5); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--s-6); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.footer__brand { font-family: var(--f-display); font-weight: 800; font-size: 26px; }
.footer h4 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-a1); margin-bottom: var(--s-2); }
.footer__col a { color: var(--c-ink-inv); text-decoration: none; opacity: .85; }
.footer__col a:hover { opacity: 1; color: var(--c-a1); }
.footer__links { display: grid; gap: 8px; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a, .footer__contact span { display: flex; align-items: center; gap: var(--s-1); color: var(--c-ink-inv); text-decoration: none; opacity: .9; }
.footer__contact a:hover { color: var(--c-a1); }
.footer__contact .ic { color: var(--c-a1); }
.footer__disclaimer {
  margin-top: var(--s-6); padding-top: var(--s-4);
  border-top: 1px solid rgba(251,251,249,.16);
  font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--c-a2);
}
.footer__bottom {
  margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-3);
  justify-content: space-between; font-size: 13px; color: rgba(251,251,249,.6);
}
.footer__bottom a { color: rgba(251,251,249,.6); text-decoration: none; }
.footer__bottom a:hover { color: var(--c-a1); }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; inset: auto 16px 16px 16px; z-index: 80;
  background: var(--c-bg-dark); color: var(--c-ink-inv);
  border-radius: var(--r-card); padding: var(--s-3) var(--s-4);
  display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap;
  justify-content: space-between; max-width: 780px; margin-inline: auto;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14.5px; }
.cookie a { color: var(--c-a1); }
.cookie__actions { display: flex; gap: var(--s-2); }
.cookie .btn { padding: 9px 20px; font-size: 14px; }
.cookie__decline { background: transparent; color: var(--c-ink-inv); border: 1px solid rgba(251,251,249,.3); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* distant lightning on dark window section */
.flash { position: absolute; inset: 0; z-index: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.is-flash { animation: flashOnce .3s ease; }
@keyframes flashOnce { 0%{opacity:0} 40%{opacity:.10} 100%{opacity:0} }
@media (prefers-reduced-motion: reduce) { .flash.is-flash { animation: none; } }

/* nine reveal glow */
.row-card__num .nine { transition: opacity .5s ease, text-shadow .5s ease; }
.row-card--window.is-in .nine { text-shadow: 0 0 18px rgba(96,165,250,.5); }

/* ---------- legal pages ---------- */
.legal { padding-top: 132px; }
.legal .container { max-width: 820px; }
.legal__title { margin-bottom: var(--s-2); }
.legal__meta { color: var(--c-mute); font-size: 14px; margin-bottom: var(--s-6); }
.legal ol.soft-list { list-style: none; counter-reset: soft; padding: 0; display: grid; gap: var(--s-4); }
.legal ol.soft-list > li { counter-increment: soft; position: relative; padding-left: 52px; }
.legal ol.soft-list > li::before {
  content: counter(soft); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-panel); color: var(--c-a1);
  font-family: var(--f-display); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.legal h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: var(--s-2); }
.legal-nav { display: flex; gap: var(--s-3); margin-top: var(--s-6); font-family: var(--f-display); font-weight: 700; }
.legal-nav a { color: var(--c-a1); text-decoration: none; }
.legal-header { padding: 20px 40px; }
@media (max-width: 768px) { .legal-header { padding: 20px; } }
