:root {
  --ink:#1D1A4A;
  --mist:#F3F8F7;
  --sea:#E1EEEC;
  --muted:#4B4A6B;
  --sun:#FFB52E;
  --serif:"Cormorant Garamond",Georgia,serif;
  --gutter:56px;
  color:var(--ink);
  background:var(--mist);
  font-family:Inter,system-ui,sans-serif;
  font-size:17px;
  line-height:1.7;
  scroll-behavior:smooth;
}
* { box-sizing:border-box; }
body { margin:0; }
a { color:inherit; text-underline-offset:.25em; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-family:var(--serif); font-weight:500; }
h2 { font-size:2.588rem; line-height:1.1; }
p { max-width:60ch; }
.wrap { max-width:calc(1180px + 2 * var(--gutter)); padding-inline:var(--gutter); margin-inline:auto; }
.space { padding-block:120px; }
.header { position:absolute; inset:0 0 auto; height:96px; display:flex; align-items:center; justify-content:space-between; z-index:2; gap:16px; }
.wordmark { font:600 1.765rem/1 var(--serif); text-decoration:none; }
.pill { display:inline-flex; align-items:center; justify-content:center; padding:10px 20px; min-height:44px; border:1px solid currentColor; border-radius:100px; font-size:.882rem; font-weight:500; letter-spacing:.01em; text-decoration:none; }
.header { color:white; }
.header .pill:hover { background:white; color:var(--ink); }
.hero { position:relative; isolation:isolate; min-height:100svh; color:white; background:#202928 url("/film/oniri-dreams.webp") center / cover; }
.hero-film { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:42% center; z-index:-2; }
.hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#111729ba,transparent 92%),linear-gradient(180deg,#1117299e,transparent 65%,#11172980); }
.hero-copy { padding-top:clamp(125px,19svh,185px); padding-bottom:100px; }
h1 { font-size:4.235rem; line-height:1.05; letter-spacing:-.01em; max-width:13em; text-wrap:balance; }
.hero-copy p { font-size:1.176rem; line-height:1.5; margin-top:22px; }
.film-controls { position:absolute; inset:auto 0 20px; display:flex; justify-content:flex-end; pointer-events:none; }
.film-toggle { pointer-events:auto; background:#111729bc; color:white; border:1px solid #ffffff90; padding:8px 14px; min-height:44px; border-radius:100px; font-size:.882rem; }
.intro p + p { margin-top:25px; color:var(--muted); }
.statement { font:400 2.118rem/1.3 var(--serif); max-width:24em; }
.ways { background:var(--sea); }
.ways-lead { margin:12px 0 46px; color:var(--muted); }
.theme { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(30px,7vw,100px); padding-block:34px; border-top:1px solid #1d1a4a36; }
.theme:last-child { border-bottom:1px solid #1d1a4a36; }
.theme:nth-of-type(even) .tile { background:var(--tile); aspect-ratio:1.65; overflow:hidden; }
.tile img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .8s ease; }
.quiet-hours .tile img { object-position:center 38%; }
.tile:hover img { transform:scale(1.04); }
.theme h3 { font-size:3.294rem; line-height:1.05; margin-bottom:12px; }
.theme-copy > p { color:var(--muted); }
.theme-copy .theme-line { font:italic 500 1.294rem/1.4 var(--serif); margin-top:10px; color:var(--ink); }
.theme-link { display:inline-block; margin-top:15px; font-size:.882rem; font-weight:500; }
.dream { background:var(--ink); color:var(--mist); }
.dream-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(32px,7vw,100px); }
.dream h2 { margin-bottom:15px; }
.dream-layout > div p { color:#e0dfed; }
form,fieldset { min-width:0; }
form { display:grid; gap:19px; }
fieldset { padding:0; border:0; margin:0; }
legend { padding:0; margin-bottom:9px; }
form label,legend { font-size:.824rem; font-weight:600; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { position:relative; cursor:pointer; }
.sr-only,.chip input { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }
.chip span { display:block; border:1px solid #a5a2be; border-radius:100px; padding:8px 15px; font-weight:500; }
.chip input:checked + span { background:var(--tile); border-color:var(--tile); color:var(--ink); }
.chip input:focus-visible + span { outline:2px solid var(--mist); outline-offset:3px; }
.details { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
form input:not([type=checkbox]),textarea { width:100%; display:block; font-size:1rem; font-weight:400; margin-top:5px; padding:9px 11px; border:1px solid #a5a2be; border-radius:0; color:var(--mist); background:#272451; }
textarea { resize:vertical; min-height:100px; }
input[aria-invalid=true] { border-color:#FF9ECB !important; }
.send { justify-self:start; color:var(--ink); background:var(--sun); border-color:var(--sun); }
.send:focus-visible { outline-color:var(--mist); }
#form-status { font-size:.882rem; }
#form-status:empty { display:none; }
footer { background:var(--mist); }
.footer { display:flex; justify-content:space-between; flex-wrap:wrap; column-gap:24px; row-gap:8px; padding-block:27px; font-size:.765rem; }
.footer div { display:flex; flex-wrap:wrap; gap:8px 24px; }
@media (max-width:819px) {
  :root { --gutter:20px; font-size:16px; }
  .header { height:76px; }
  .wordmark { font-size:1.875rem; }
  .pill,.theme-link { font-size:.9375rem; }
  .hero-copy { padding-top:clamp(116px,18svh,160px); padding-bottom:100px; }
  h1 { font-size:2.625rem; line-height:1.1; }
  .hero-copy p { font-size:1.0625rem; }
  .space { padding-block:72px; }
  .statement { font-size:1.625rem; }
  h2 { font-size:2rem; }
  .theme,.dream-layout { grid-template-columns:1fr; gap:24px; }
  .theme:nth-of-type(even) .tile { order:0; }
  .theme h3 { font-size:2.375rem; }
  .theme-copy .theme-line { font-size:1.1875rem; }
  .footer { font-size:.8125rem; }
  form label,legend { font-size:.875rem; }
}
@media (max-width:480px) { .details { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) {
  :root { scroll-behavior:auto; }
  .tile img { animation:none; transition:none; }
  .tile:hover img { transform:none; }
}
