/* Kvora. Direction: colour chapters (seed 1947322058). One face (Chillax),
   black ground, one flat candy field per chapter, archival pictures. */

:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-2: #1a1a1a;
  --ink: #ffffff;
  --muted: #b3b3b3;
  --accent: #93f1f7;
  --accent-ink: #000000;
  --field-1: #9ae187;
  --field-2: #93f1f7;
  --field-3: #f3ea7a;
  --field-4: #fbb65c;
  --field-5: #b9c8ff;
  --field-ink: #000000;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.25rem, 8.6vw, 8.25rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Chillax", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { padding-inline: var(--margin); max-width: 1600px; margin-inline: auto; }

h1, h2 { font-weight: 600; letter-spacing: -0.03em; line-height: 1; }

/* ---------- buttons: square, flat, one shape everywhere ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  font: 500 var(--step-body)/1 "Chillax", system-ui, sans-serif;
  text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn-paper { background: var(--ink); color: #000; }
.btn-paper:hover { background: var(--accent); }
.btn-ink { background: #000; color: #fff; }
.btn-ink:hover { background: #2b2b2b; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: var(--step-small); background: var(--accent); color: var(--accent-ink); }
.btn-small:hover { background: #fff; }

/* ---------- fixed bar: takes the ink of the chapter under it ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--margin);
  pointer-events: none;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 300ms ease, transform 300ms var(--ease-out), color 300ms ease;
  color: #fff;
}
.bar.on { opacity: 1; transform: none; }
.bar a { pointer-events: auto; text-decoration: none; font-weight: 600; }
.bar-mark { font-size: 20px; letter-spacing: -0.03em; }
.bar-act { font-size: var(--step-small); font-weight: 500 !important; padding: 10px 16px; background: currentColor; transition: transform var(--t-press) var(--ease-out); }
.bar-act:active { transform: scale(0.96); }
.bar[data-ink="dark"] { color: #000; }
.bar .bar-act { color: inherit; }
.bar .bar-act { background: transparent; }
.bar[data-ink="dark"] .bar-act { background: #000; color: #fff; }
.bar[data-ink="light"] .bar-act { background: #fff; color: #000; }

/* ---------- hero: photo panel + swatch column ---------- */
.hero {
  display: grid; grid-template-columns: 10fr 2fr; gap: 0;
  height: 100svh; min-height: 620px; padding: 10px; background: var(--bg);
}
.hero-panel { position: relative; overflow: hidden; border-radius: 12px; background: #222; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%;
  filter: grayscale(1) contrast(1.05);
}
.hero-panel::after { /* neutral scrim so the white type holds over the pale water */
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.32); pointer-events: none;
}
.hero-panel > :not(img) { position: relative; z-index: 1; }
.hero-mark { position: absolute !important; top: 28px; left: 28px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.hero-title {
  position: absolute !important; left: 0; right: 0; top: 17%;
  text-align: center; font-size: var(--step-display); line-height: 0.95;
  padding-inline: 4%; max-width: 9.5em; margin-inline: auto;
}
.hero-sub { position: absolute !important; left: 28px; bottom: 36px; max-width: 30ch; font-size: 18px; line-height: 1.45; }
.hero-btn { white-space: nowrap; position: absolute !important; left: 50%; bottom: 36px; transform: translateX(-50%); }
.hero-btn:active { transform: translateX(-50%) scale(0.97); }

.swatches { display: grid; grid-template-rows: repeat(5, 1fr); margin-left: 10px; }
.sw {
  padding: 20px; color: #000; text-decoration: none; font-size: 16px; font-weight: 500;
  transition: padding-left var(--t-hover) var(--ease-out);
}
.sw:hover { padding-left: 28px; }
.sw-3 { background: var(--field-3); }
.sw-1 { background: var(--field-1); }
.sw-2 { background: var(--field-2); }
.sw-4 { background: var(--field-4); }
.sw-5 { background: var(--field-5); }

/* ---------- chapters ---------- */
.ch { min-height: 90svh; padding-block: clamp(96px, 12vw, 180px); }
.ch-1 { background: var(--field-1); color: var(--field-ink); }
.ch-2 { background: var(--field-2); color: var(--field-ink); }
.ch-3 { background: var(--field-3); color: var(--field-ink); }
.ch-4 { background: var(--field-4); color: var(--field-ink); }
.ch-5 { background: var(--field-5); color: var(--field-ink); }
.ch-dark { background: var(--bg); color: var(--ink); }

/* ---------- week: banded agenda + calculator ---------- */
.week-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.h-list { font-size: var(--step-head); max-width: 18em; }
.h-list .soft { opacity: 0.55; }
.week-intro { margin-top: 28px; max-width: 58ch; }
.week { display: grid; grid-template-columns: 170px 1fr; gap: 40px; margin-top: 56px; }
.days { display: flex; flex-direction: column; gap: 6px; }
.day {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  width: 100%; height: 68px; padding: 0 16px; border: 0; border-radius: var(--radius);
  background: rgba(0,0,0,0.10); color: #000; font: inherit; text-align: left; cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.day span { font-size: 16px; font-weight: 600; }
.day small { font-size: 13px; opacity: 0.75; }
.day:hover { background: rgba(0,0,0,0.18); }
.day:active { transform: scale(0.98); }
.day[aria-selected="true"] { background: #000; color: var(--field-1); }
.day-title { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; display: none; }
.js .day-panel { display: none; }
.js .day-panel.on { display: block; }
html:not(.js) .day-title { display: block; }
html:not(.js) .days { display: none; }
html:not(.js) .week { grid-template-columns: 1fr; }
html:not(.js) .day-panel + .day-panel { margin-top: 32px; }
.band {
  display: grid; grid-template-columns: 70px 1fr auto 44px; align-items: center; gap: 16px;
  min-height: 80px; padding: 12px 20px; margin-bottom: 4px;
  background: rgba(255,255,255,0.42);
  transition: background-color var(--t-hover) ease, opacity var(--t-hover) ease;
}
.band:nth-child(even) { background: rgba(255,255,255,0.28); }
.band.off { opacity: 0.45; }
.time { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.task b { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; }
.task small { display: block; font-size: 13px; opacity: 0.75; margin-top: 2px; }
.mins { display: flex; align-items: center; gap: 6px; font-size: 16px; white-space: nowrap; }
.mins input, .rate input {
  width: 76px; height: 44px; padding: 0 10px; border: 0; border-radius: var(--radius);
  background: #000; color: #fff; font: 500 18px/1 "Chillax", system-ui, sans-serif; font-variant-numeric: tabular-nums; text-align: right;
}
.pick { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.pick input { appearance: none; width: 28px; height: 28px; margin: 0; background: rgba(0,0,0,0.15); border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.pick input:checked { background: #000; }
.pick input:checked::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--field-1); border-bottom: 3px solid var(--field-1); transform: translateY(-2px) rotate(-45deg); }
.pick input:active { transform: scale(0.9); }

.sum { margin-top: 64px; padding: 40px clamp(20px, 3vw, 48px); background: #000; color: #fff; display: grid; gap: 14px; }
.sum-big { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--field-1); font-variant-numeric: tabular-nums; }
.sum-line { font-size: var(--step-lead); line-height: 1.4; max-width: 46ch; }
.sum-line b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rate { display: inline-flex; align-items: center; gap: 6px; }
.rate input { background: #222; height: 40px; }
.sum-note { font-size: 16px; color: var(--muted); max-width: 62ch; }

/* ---------- pair: two fields, two pictures ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; }
.pair-panel { position: relative; height: 92svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.pair-a { background: var(--surface-2); color: #fff; }
.pair-b { background: var(--field-2); color: #000; }
.pair-img {
  position: absolute; left: 50%; top: 0; width: 140%; max-width: none; height: 74%; object-fit: cover;
  transform: translateX(-50%); filter: grayscale(1) contrast(1.08);
}
.pair-a .pair-img { object-position: 50% 80%; opacity: 0.92; }
.pair-b .pair-img { mix-blend-mode: multiply; object-position: 50% 60%; width: 160%; }
.h-pair { position: absolute; top: 28px; left: 28px; z-index: 1; font-size: var(--step-head); max-width: 9em; background: var(--surface-2); padding: 8px 14px 10px; }
.pair-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 28px; }
.pair-foot p b { display: block; font-size: 20px; font-weight: 500; }
.pair-foot p span { display: block; font-size: 18px; max-width: 38ch; margin-top: 4px; }

/* ---------- grow: three tiles, each larger ---------- */
.grow-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 10px; row-gap: 0; align-items: end; }
.h-grow { grid-column: 1 / 8; grid-row: 1; align-self: start; font-size: var(--step-head); }
.tile { grid-row: 1; display: flex; flex-direction: column; }
.t1 { grid-column: 1 / 4; }
.t2 { grid-column: 4 / 8; }
.t3 { grid-column: 8 / 13; }
.tile-fill { overflow: hidden; background: #000; }
.t1 .tile-fill { height: 30vh; background: var(--field-1); }
.t2 .tile-fill { height: 44vh; background: var(--field-4); }
.t3 .tile-fill { height: 62vh; background: var(--field-5); }
.tile-fill img, .tile-fill video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; transition: transform 900ms var(--ease-soft); }
.tile:hover .tile-fill img, .tile:hover .tile-fill video { transform: scale(1.04); }
.tile figcaption { padding-top: 16px; min-height: 9.5em; }
.tile figcaption b { display: block; font-size: 20px; font-weight: 500; }
.tile figcaption span { display: block; font-size: 16px; margin-top: 4px; max-width: 34ch; }
.grow .wrap { position: relative; }
.grow-grid { padding-top: 0; }
.h-grow { margin-bottom: calc(62vh - 30vh); }

/* ---------- price: one plan as a sentence ---------- */
.price { display: flex; align-items: center; min-height: 80svh; }
.price .wrap { width: 100%; }
.h-price { font-size: clamp(3.25rem, 8.6vw, 8.5rem); line-height: 0.95; max-width: 10em; }
.price-block { display: inline-block; background: #000; color: var(--field-4); padding: 0 0.15em; }
.price-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-top: 64px; }
.price-row p { grid-column: 1 / 8; font-size: 20px; line-height: 1.5; max-width: 60ch; }
.price-row .btn { grid-column: 10 / 13; justify-self: end; }

/* ---------- about: side facts, wide paragraph ---------- */
.about-row { display: grid; grid-template-columns: 34% 1fr; gap: 0; }
.facts { display: grid; gap: 20px; align-content: start; }
.facts dt { font-size: 13px; opacity: 0.7; }
.facts dd { font-size: 18px; font-weight: 500; }
.about-text { font-size: var(--step-lead); line-height: 1.35; max-width: 34em; }
.about-lists { margin-top: 120px; grid-template-columns: 34% 1fr 1fr; }
.list-word { font-size: 16px; font-weight: 600; }
.rec li { font-size: 16px; padding: 5px 0; }
.about-lists .rec:last-child { grid-column: 3; }
.about-lists { column-gap: 64px; }
.about-lists .rec:nth-of-type(1) { grid-column: 2; grid-row: 1; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: start; }
.h-faq { font-size: var(--step-head); position: sticky; top: 96px; max-width: 6em; }
.faq-list { display: grid; gap: 8px; }
details { background: var(--surface-2); border-radius: var(--radius); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
details:hover { background: #262626; }
details[open] { background: var(--accent); color: var(--accent-ink); }
summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; padding: 16px 24px; font-size: 20px; font-weight: 500; cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: 0 0 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; background: currentColor; transition: transform var(--t-hover) var(--ease-out); }
.pm::before { left: 0; right: 0; top: 6.5px; height: 3px; }
.pm::after { top: 0; bottom: 0; left: 6.5px; width: 3px; }
details[open] .pm::after { transform: rotate(90deg); }
details p { padding: 0 24px 24px; font-size: 18px; max-width: 52ch; }

/* ---------- contact ---------- */
.contact { min-height: 80svh; padding-top: 48px; overflow: hidden; }
.strip { overflow: hidden; margin-bottom: 72px; }
.strip-track { display: flex; gap: 8px; width: max-content; }
.strip-track img { height: 150px; width: auto; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
.strip-track img:nth-child(3n+1) { aspect-ratio: 3 / 4; }
.strip-track img:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.strip-track img:nth-child(3n) { aspect-ratio: 3 / 2; }
.h-contact { font-size: var(--step-head); }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; }
.cell { display: block; height: 96px; background: rgba(255,255,255,0.5); border-radius: var(--radius); transition: background-color var(--t-hover) ease; }
.cell:focus-within { background: #fff; }
.cell input { width: 100%; height: 100%; border: 0; background: transparent; text-align: center; font: 400 18px/1 "Chillax", system-ui, sans-serif; color: #000; padding: 0 16px; }
.cell input::placeholder { color: #000; opacity: 0.7; }
.cell input:focus { outline: none; }
.cell-go { border: 0; background: #000; color: #fff; font: 500 20px/1 "Chillax", system-ui, sans-serif; cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.cell-go:hover { background: #2b2b2b; }
.cell-go:active { transform: scale(0.98); }
.cells-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; font-size: 14px; }
.cells-notes p:last-child { grid-column: 3; }

/* ---------- footer: the mark, built large ---------- */
.foot { background: var(--bg); color: var(--ink); padding-block: 96px 32px; }
.mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; }
.mark span {
  flex: 1; height: var(--h); background: var(--c); color: #000;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: clamp(4rem, 14vw, 15rem); font-weight: 600; line-height: 0.78; letter-spacing: -0.04em; overflow: hidden;
}
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr) 2fr; gap: 24px; margin-top: 56px; font-size: 16px; }
.foot-cols li { padding: 4px 0; }
.foot-cols a { text-decoration: none; transition: color var(--t-hover) ease; }
.foot-cols a:hover { color: var(--accent); }
.foot-cols address { font-style: normal; justify-self: end; text-align: right; }
.credits { margin-top: 56px; font-size: 14px; line-height: 1.6; color: var(--ink); max-width: 75ch; }
.credits a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.foot-last { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font-size: 14px; }

/* ---------- motion: entrances (content stays visible without script) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .band { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), background-color var(--t-hover) ease; transition-delay: var(--d, 0ms); }
.js .day-panel.on .band.in { opacity: 1; transform: none; }
.js .day-panel.on .band.in.off { opacity: 0.45; }
.hero-img { animation: drift 24s var(--ease-soft) infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
.js .hero-title, .js .hero-sub, .js .hero-btn-wrap { animation: rise 900ms var(--ease-out) both; }
.js .hero-sub { animation-delay: 180ms; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.strip-track { animation: marquee 60s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mark span { transform-origin: bottom; }
.js .mark span { transform: scaleY(0.2); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .mark.in span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .strip-track, .js .hero-title, .js .hero-sub { animation: none; }
  .js .reveal, .js .band, .js .mark span { transition: none; transform: none; opacity: 1; }
  .js .day-panel.on .band.off { opacity: 0.45; }
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .grow-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .h-grow, .t1, .t2, .t3 { grid-column: 1; grid-row: auto; margin-bottom: 0; }
  .t1 .tile-fill { height: 34vw; } .t2 .tile-fill { height: 46vw; } .t3 .tile-fill { height: 62vw; }
  .tile figcaption { min-height: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .h-faq { position: static; max-width: none; }
  .about-row, .about-lists { grid-template-columns: 1fr; row-gap: 32px; }
  .about-lists .rec:nth-of-type(1), .about-lists .rec:last-child { grid-column: 1; grid-row: auto; }
  .facts { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; order: 2; }
  .about-text { order: 1; }
  .price-row { grid-template-columns: 1fr; }
  .price-row p, .price-row .btn { grid-column: 1; justify-self: start; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  .hero { display: block; height: auto; min-height: 0; padding: 8px; }
  .hero-panel { height: 64svh; min-height: 440px; }
  .hero-title { top: 22%; font-size: 12vw; }
  .hero-sub { display: none; }
  .hero-btn { bottom: 24px; }
  .swatches { display: grid; grid-template-rows: none; margin: 8px 0 0; }
  .sw { height: 52px; padding: 0 16px; display: flex; align-items: center; font-size: 16px; }
  .h-list { font-size: 2rem; }
  .week-head .btn { width: 100%; }
  .week { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .days { flex-direction: row; position: sticky; top: 64px; z-index: 2; gap: 4px; overflow-x: auto; background: var(--field-1); padding-block: 6px; }
  .day { flex: 1 0 64px; height: 56px; padding: 0 8px; }
  .day small { display: none; }
  .band { grid-template-columns: 1fr auto; grid-template-areas: "time pick" "task task" "mins mins"; gap: 8px; padding: 16px; }
  .time { grid-area: time; } .task { grid-area: task; } .mins { grid-area: mins; } .pick { grid-area: pick; justify-self: end; }
  .sum { margin-top: 40px; }
  .pair { grid-template-columns: 1fr; }
  .pair-panel { height: 78svh; min-height: 480px; }
  .pair-img { width: 150%; height: 66%; }
  .pair-b .pair-img { width: 200%; }
  .h-pair { font-size: 26px; }
  .pair-foot { flex-direction: column; align-items: stretch; }
  .pair-foot .btn { width: 100%; }
  .h-price { font-size: 11vw; }
  .price-row { margin-top: 40px; }
  .price-row p { font-size: 18px; }
  .price-row .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  summary { font-size: 18px; min-height: 64px; padding: 14px 20px; }
  details p { font-size: 16px; padding: 0 20px 20px; }
  .h-faq { font-size: 9vw; }
  .strip { margin-bottom: 48px; }
  .strip-track img { height: 110px; }
  .h-contact { font-size: 9vw; }
  .cells { grid-template-columns: 1fr; }
  .cell { height: 60px; }
  .cells-notes { grid-template-columns: 1fr; }
  .cells-notes p:last-child { grid-column: 1; }
  .mark { height: 22svh; min-height: 140px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols address { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
