/* Framewell Studio, site v2 (13 Nov 2026)
   Idea: the whole site is a contact sheet of vertical 9:16 frames. The memorable part is
   the strip of eight filming techniques, each one a tiny frame you can play (Rewind can be scrubbed). */


:root {
  --fog: #E7EAEE;      /* page */
  --paper: #F7F8FA;    /* frame mattes, form fields */
  --ink: #161A23;      /* brand ink */
  --slate: #586174;    /* secondary text */
  --line: #C9CED6;     /* rules */
  --dot: #D9512C;      /* the dot in the logo; primary action only */
  /* system fonts: SF Pro (Apple), Segoe UI (Windows), Roboto (Android). Nothing loads from Google. */
  --sans: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tc: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace; /* timecodes only */
  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fog); color: var(--ink); font: 400 18px/1.55 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--dot); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 0.98; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.012em; }
p { margin: 0; }
.lede { font-size: 20px; color: var(--slate); max-width: 34em; }
.muted { color: var(--slate); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(231, 234, 238, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.04em; text-decoration: none; }
.wordmark .dot { color: var(--dot); }
.nav { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--dot); color: #fff; border: 1px solid var(--dot); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #c3441f; border-color: #c3441f; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.quiet:hover { background: var(--ink); color: #fff; }
.btn.small { padding: 9px 16px; font-size: 14px; }

section { padding: clamp(72px, 10vw, 128px) 0; }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.head p { color: var(--slate); max-width: 30em; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- the 9:16 frame (shared by every scene) ---------- */
.frame { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #2a2f3b; isolation: isolate; }
.frame .scene, .frame .layer, .frame video { position: absolute; inset: 0; }
.frame video { width: 100%; height: 100%; object-fit: cover; z-index: 5; }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 33%; }
.cap { position: absolute; left: 8%; right: 8%; bottom: 13%; z-index: 4; color: #fff; font: 600 clamp(14px, 1.6vw, 19px)/1.25 var(--sans); text-shadow: 0 1px 12px rgba(0,0,0,.45); }

/* products drawn in CSS (stand-ins until real demo videos are added) */
.prod { position: absolute; left: 50%; transform: translateX(-50%); z-index: 3; }
.prod .lid, .prod .body { position: relative; }
.prod.jar { bottom: 31%; width: 42%; aspect-ratio: 1 / 0.84; }
.prod.jar .lid { height: 21%; margin: 0 4%; border-radius: 7px 7px 2px 2px; background: var(--lid, #3b2c26); }
.prod.jar .body { height: 79%; border-radius: 4px 4px 16px 16px; background: var(--bod, #f3ebdf); }
.prod.bottle { bottom: 30%; width: 21%; aspect-ratio: 1 / 2.6; }
.prod.bottle .lid { height: 19%; margin: 0 28%; border-radius: 4px 4px 0 0; background: var(--lid, #2b2f3a); }
.prod.bottle .body { height: 81%; border-radius: 18px 18px 8px 8px; background: var(--bod, #f3ebdf); }
.prod.tin { bottom: 31%; width: 46%; aspect-ratio: 1 / 0.5; }
.prod.tin .lid { height: 30%; border-radius: 8px 8px 3px 3px; background: var(--lid, #c9ccd2); }
.prod.tin .body { height: 70%; border-radius: 3px 3px 10px 10px; background: var(--bod, #e9e3d7); }
.prod .body::after { content: ""; position: absolute; top: 8%; bottom: 10%; left: 9%; width: 9%; border-radius: 9px; background: rgba(255,255,255,.35); }
.prod .label { position: absolute; inset: 22% 12% auto; text-align: center; font: 700 clamp(7px, .8vw, 10px)/1.15 var(--display); letter-spacing: .02em; color: var(--ink2, #3a2b23); }
.prod.shadowed { filter: drop-shadow(0 18px 18px rgba(0,0,0,.35)); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px 72px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); }
.hero h1 .rot { display: grid; color: var(--ink); }
.hero h1 .rot > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .45s, transform .45s; }
.hero h1 .rot > span:not(.on) { opacity: 0; transform: translateY(.35em); }
.hero .lede { margin-top: 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .note { margin-top: 22px; font-size: 15px; color: var(--slate); }
@media (max-width: 520px) { .hero h1 .rot > span { white-space: normal; } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .stage { max-width: 340px; margin: 0 auto; } }

/* hero frame: one orchestrated 10 s loop = a "Rhyme cut" (moon → jar lid → warm room → caption → end card) */
.stage { perspective: 1200px; }
.tilt { transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.hero-frame { box-shadow: 0 40px 80px -30px rgba(22,26,35,.55), 0 0 0 10px var(--ink); }
.hero-frame .sky { background: radial-gradient(130% 80% at 50% 0%, #2b3550 0%, #121625 70%); }
.hero-frame .moon { position: absolute; left: 50%; top: 34%; width: 58%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 38% 34%, #fbf6ea 0 30%, #e9dcc4 62%, #cdbb9d 100%); box-shadow: 0 0 60px 10px rgba(251,246,234,.25); z-index: 2; }
.hero-frame .room { background: radial-gradient(120% 70% at 70% 12%, #f6c79a 0%, #c7764d 38%, #3a2a2a 78%); opacity: 0; }
.hero-frame .room .floor { background: linear-gradient(180deg, #5b4136, #2a1f1f); }
.hero-frame .prod { opacity: 0; }
.hero-frame .cap, .hero-frame .end { opacity: 0; }
.hero-frame .end { position: absolute; inset: auto 0 0; z-index: 6; padding: 18px 8% 22%; background: linear-gradient(0deg, rgba(22,26,35,.92), rgba(22,26,35,0)); color: #fff; }
.hero-frame .end strong { display: block; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.hero-frame .end span { font-size: 14px; opacity: .85; }
.play .moon { animation: moon 10s cubic-bezier(.7,0,.3,1) infinite; }
.play .room { animation: room 10s linear infinite; }
.play .prod { animation: prodIn 10s linear infinite; }
.play .cap { animation: capIn 10s linear infinite; }
.play .end { animation: endIn 10s linear infinite; }
@keyframes moon { 0%, 22% { top: 34%; width: 58%; opacity: 1; } 34% { top: 52%; width: 38%; opacity: 1; } 38%, 100% { top: 52%; width: 38%; opacity: 0; } }
@keyframes room { 0%, 30% { opacity: 0; } 38%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes prodIn { 0%, 32% { opacity: 0; } 37%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes capIn { 0%, 46% { opacity: 0; transform: translateY(8px); } 50%, 72% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; } }
@keyframes endIn { 0%, 76% { opacity: 0; } 80%, 96% { opacity: 1; } 100% { opacity: 0; } }
.hud { position: absolute; z-index: 7; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; color: rgba(255,255,255,.8); font: 500 11px/1 var(--tc); }
.hud .rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); margin-right: 6px; vertical-align: 1px; }
.stage .under { display: flex; gap: 16px; justify-content: space-between; margin-top: 22px; font-size: 14px; color: var(--slate); }

/* ---------- techniques strip ---------- */
.techniques { background: var(--ink); color: #fff; }
.techniques .head p { color: #b8bfcc; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 4px var(--gut) 18px; margin: 0 calc(var(--gut) * -1); }
.tq { scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
.tq button.frame { width: 100%; border: 0; padding: 0; cursor: pointer; text-align: left; }
.tq h3 { font-size: 19px; }
.tq p { font-size: 15px; color: #b8bfcc; }
.tq .hint { position: absolute; z-index: 8; right: 10px; bottom: 10px; font: 600 12px/1 var(--sans); color: #fff; background: rgba(22,26,35,.6); padding: 6px 9px; border-radius: 999px; }
.tq.on .hint { opacity: 0; }

/* 1 still frame: a sunbeam crosses the wall, nothing else moves */
.t-still .scene { background: #d9cbb7; }
.t-still .beam { position: absolute; top: -10%; bottom: 20%; width: 34%; left: -40%; background: linear-gradient(90deg, rgba(255,240,205,0), rgba(255,240,205,.85), rgba(255,240,205,0)); transform: skewX(-14deg); z-index: 2; }
.t-still .floor { background: #bda88d; }
.tq.on .t-still .beam { animation: beam 4s ease-in-out infinite; }
@keyframes beam { from { left: -40%; } to { left: 110%; } }

/* 2 stop-motion: the jar hops in whole steps */
.t-stop .scene { background: #9fb59a; }
.t-stop .floor { background: #6f8a6b; }
.t-stop .prod { left: 22%; }
.tq.on .t-stop .prod { animation: hop 2.4s steps(6, end) infinite; }
@keyframes hop { 0% { left: 22%; } 50% { left: 78%; } 100% { left: 22%; } }

/* 3 rewind: scrub it (the bear melts / rebuilds) */
.t-rew .scene { background: radial-gradient(120% 70% at 50% 0%, #f2d7c2, #b98466 70%); }
.t-rew .floor { background: #7b5442; }
.t-rew .dish { position: absolute; left: 22%; right: 22%; bottom: 31%; height: 7%; border-radius: 0 0 60% 60%; background: #efe8de; z-index: 2; }
.t-rew .pool { position: absolute; left: 50%; bottom: 36.5%; height: 2.4%; width: calc(8% + 40% * var(--m, 0)); transform: translateX(-50%); border-radius: 50%; background: #f6e7d6; z-index: 3; }
.t-rew .bear { position: absolute; left: 50%; bottom: 37%; width: 22%; aspect-ratio: 1 / 1.25; transform: translateX(-50%) scaleY(calc(1 - var(--m, 0) * .92)) scaleX(calc(1 + var(--m, 0) * .3)); transform-origin: 50% 100%; z-index: 3; }
.t-rew .bear i { position: absolute; background: #f3e4d2; border-radius: 50%; }
.t-rew .bear i:nth-child(1) { inset: 34% 6% 0; border-radius: 46% 46% 40% 40%; }
.t-rew .bear i:nth-child(2) { left: 18%; right: 18%; top: 4%; height: 40%; }
.t-rew .bear i:nth-child(3) { left: 12%; top: 0; width: 22%; height: 18%; }
.t-rew .bear i:nth-child(4) { right: 12%; top: 0; width: 22%; height: 18%; }
.t-rew .scrub { position: absolute; z-index: 9; left: 10%; right: 10%; bottom: 9%; }
.t-rew .scrub input { width: 100%; accent-color: var(--dot); }

/* 4 shadow play: a wing shadow sweeps the wall, the jar stays in the light */
.t-shadow .scene { background: #ece6db; }
.t-shadow .floor { background: #d6cdbf; }
.t-shadow .wing { position: absolute; z-index: 2; top: 8%; left: -70%; width: 80%; height: 40%; border-radius: 60% 40% 70% 30% / 60% 70% 30% 40%; background: rgba(40,34,30,.55); filter: blur(3px); transform: rotate(-12deg); }
.tq.on .t-shadow .wing { animation: wing 3.6s ease-in-out infinite; }
@keyframes wing { 0% { left: -80%; } 100% { left: 110%; } }

/* 5 inside-out: we look out of a dark box as the lid opens */
.t-inside .scene { background: radial-gradient(120% 70% at 50% 10%, #cfe6ee, #5e9bb0 60%, #173544); }
.t-inside .floor { background: #9c8f75; }
.t-inside .mask { position: absolute; inset: 0; z-index: 6; background: radial-gradient(circle at 50% 46%, transparent 0 var(--r, 18%), #0d0f15 calc(var(--r, 18%) + 1%)); }
.tq.on .t-inside .mask { animation: aperture 3.2s ease-in-out infinite alternate; }
@property --r { syntax: "<percentage>"; inherits: false; initial-value: 18%; }
@keyframes aperture { from { --r: 18%; } to { --r: 66%; } }

/* 6 miniature world: tilt-shift blur at top and bottom, tiny town, full-size jar */
.t-mini .scene { background: linear-gradient(180deg, #a8c6d8 0 40%, #7aa36f 40%); }
.t-mini .town { position: absolute; left: 0; right: 0; top: 36%; height: 12%; z-index: 1; background:
  linear-gradient(#c8553d,#c8553d) 6% 100%/7% 55% no-repeat, linear-gradient(#efe7d6,#efe7d6) 18% 100%/9% 75% no-repeat,
  linear-gradient(#3e5a7a,#3e5a7a) 33% 100%/6% 45% no-repeat, linear-gradient(#efe7d6,#efe7d6) 46% 100%/8% 85% no-repeat,
  linear-gradient(#d9a441,#d9a441) 62% 100%/7% 50% no-repeat, linear-gradient(#efe7d6,#efe7d6) 78% 100%/10% 70% no-repeat,
  linear-gradient(#c8553d,#c8553d) 93% 100%/6% 60% no-repeat; }
.t-mini .car { position: absolute; z-index: 1; top: 50%; left: 0; width: 6%; height: 1.6%; background: #fff; border-radius: 2px; }
.t-mini .blur { position: absolute; left: 0; right: 0; z-index: 4; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.t-mini .blur.top { top: 0; height: 30%; } .t-mini .blur.bot { bottom: 0; height: 18%; }
.tq.on .t-mini .car { animation: drive 3s linear infinite; }
@keyframes drive { from { left: -6%; } to { left: 100%; } }

/* 7 home movie: faded colour, grain, light leak, gate weave */
.t-home .scene { background: radial-gradient(120% 70% at 30% 10%, #f1d29a, #b8794b 55%, #4a2c1c); filter: sepia(.35) saturate(.9) contrast(.95); }
.t-home .floor { background: #6b4a32; }
.t-home .leak { position: absolute; inset: 0; z-index: 5; background: radial-gradient(60% 40% at 90% 20%, rgba(255,120,60,.55), transparent 70%); mix-blend-mode: screen; opacity: .35; }
.t-home .grain { position: absolute; inset: -20%; z-index: 6; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }
.tq.on .t-home .scene { animation: weave .18s steps(2) infinite; }
.tq.on .t-home .grain { animation: grain .3s steps(3) infinite; }
.tq.on .t-home .leak { animation: leak 2.2s ease-in-out infinite alternate; }
@keyframes weave { 0% { transform: translate(0, 0); } 100% { transform: translate(1px, -1px); } }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -2%); } }
@keyframes leak { from { opacity: .15; } to { opacity: .6; } }

/* 8 rhyme cut: a full moon turns out to be the jar lid */
.t-rhyme .sky { background: radial-gradient(130% 80% at 50% 0%, #2b3550, #121625 70%); }
.t-rhyme .room { background: #d8c6ad; opacity: 0; }
.t-rhyme .room .floor { background: #a68d70; }
.t-rhyme .moon { position: absolute; z-index: 4; left: 50%; top: 32%; width: 56%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 38% 34%, #fbf6ea 0 30%, #e3d4b8 70%); }
.t-rhyme .prod { opacity: 0; }
.tq.on .t-rhyme .moon { animation: rmoon 3.6s ease-in-out infinite; }
.tq.on .t-rhyme .room, .tq.on .t-rhyme .prod { animation: rroom 3.6s ease-in-out infinite; }
@keyframes rmoon { 0%, 25% { top: 32%; width: 56%; opacity: 1; } 55% { top: 50%; width: 34%; opacity: 1; } 62%, 100% { opacity: 0; top: 50%; width: 34%; } }
@keyframes rroom { 0%, 50% { opacity: 0; } 60%, 95% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- photo in, ad out ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px 72px; align-items: center; }
.compare .frame { max-width: 360px; }
.compare .frame .after { z-index: 2; clip-path: inset(0 0 0 var(--x, 50%)); }
.compare .before { background: #fff; }
.compare .after { background: radial-gradient(120% 70% at 30% 10%, #9fb59a, #3e5143 55%, #1b231e); }
.compare .after .floor { background: linear-gradient(180deg, #4b3a2c, #241c16); }
.compare .handle { position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(22,26,35,.25); pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.compare .slider { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; z-index: 4; top: 12px; font: 600 12px/1 var(--sans); padding: 6px 9px; border-radius: 999px; }
.compare .tag.l { left: 12px; background: var(--fog); color: var(--ink); }
.compare .tag.r { right: 12px; background: rgba(22,26,35,.7); color: #fff; }
.compare ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.compare li { padding-left: 22px; position: relative; color: var(--slate); }
.compare li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .compare .frame { margin: 0 auto; } }

/* ---------- work (demo brands; real clips replace the drawings) ---------- */
.work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.work figure { margin: 0; }
.work figcaption { margin-top: 12px; font-size: 15px; }
.work figcaption strong { display: block; font-weight: 600; }
.work figcaption span { color: var(--slate); }
@media (max-width: 900px) { .work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work-note { margin-top: 26px; font-size: 15px; color: var(--slate); max-width: 46em; }

/* ---------- process (a real sequence, so numbered) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); counter-reset: s; }
.process li { padding: 22px 24px 0 0; counter-increment: s; }
.process li::before { content: counter(s); display: block; font: 700 44px/1 var(--display); color: var(--dot); margin-bottom: 18px; }
.process p { color: var(--slate); font-size: 16px; margin-top: 8px; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; gap: 24px 0; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- rate card ---------- */
.rates { border-top: 2px solid var(--ink); }
.rate { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, .7fr) auto; gap: 16px 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rate h3 { font-size: 21px; }
.rate .what { color: var(--slate); font-size: 16px; }
.rate .price { font: 700 30px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.rate .price small { display: block; font: 400 13px/1.3 var(--sans); color: var(--slate); letter-spacing: 0; margin-top: 4px; }
.rate.pick { background: var(--paper); margin: 0 -18px; padding-left: 18px; padding-right: 18px; border-radius: 8px; border-bottom-color: transparent; }
.rate.pick h3::after { white-space: nowrap; content: "Most picked"; margin-left: 10px; vertical-align: 3px; font: 600 12px/1 var(--sans); color: #fff; background: var(--ink); padding: 4px 8px; border-radius: 999px; letter-spacing: 0; }
.rates-sub { margin-top: 56px; margin-bottom: 4px; font-size: 26px; }
.free-line { margin-top: 28px; font-size: 16px; color: var(--slate); }
@media (max-width: 860px) { .rate { grid-template-columns: 1fr auto; } .rate .what { grid-column: 1 / -1; order: 3; } .rate .btn { grid-column: 1 / -1; order: 4; justify-self: start; } }

/* ---------- order ---------- */
.order { background: var(--ink); color: #fff; }
.order .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 72px; align-items: start; }
.order .lede { color: #b8bfcc; margin-top: 22px; }
.order .contact { margin-top: 28px; font-size: 16px; color: #b8bfcc; }
.order .contact a { color: #fff; }
form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: #dfe3ea; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 8px; border: 1px solid #3a4152; background: #1f2430; color: #fff; font: 400 16px/1.4 var(--sans); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7f8798; }
.hp { position: absolute; left: -5000px; }
.form-msg { font-size: 15px; min-height: 1.4em; color: #dfe3ea; }
.form-msg.err { color: #ffb4a0; }
.consent { font-size: 13px; color: #9aa2b3; }
.consent a { color: #dfe3ea; }
@media (max-width: 860px) { .order .wrap { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 19px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 26px/1 var(--sans); color: var(--slate); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--slate); max-width: 44em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer .muted a { color: var(--slate); }

/* ---------- legal + private pages ---------- */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 28px; }
.page h2 { font-size: 24px; letter-spacing: -.015em; margin: 36px 0 10px; }
.page p, .page li { color: #2e3442; max-width: 42em; }
.page p + p { margin-top: 12px; }
.todo { background: #fde6dd; color: #8a2e14; padding: 1px 5px; border-radius: 3px; }

/* sample page */
.page.sample .wrap { max-width: var(--wrap); }
.sample .wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 48px 72px; align-items: start; }
.sample .frame { max-width: 380px; }
.sample .meta { margin-top: 18px; font-size: 14px; color: var(--slate); }
.sample h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 20px; }
.sample .offers { margin-top: 36px; }
.sample .offers .rate { grid-template-columns: minmax(0, 1fr) auto; }
.sample .offers .rate .what { grid-column: 1 / -1; order: 3; }
.sample .offers .rate .btn { grid-column: 1 / -1; order: 4; justify-self: start; }
.sample .frame video { object-fit: cover; }
@media (max-width: 860px) { .sample .wrap { grid-template-columns: 1fr; } .sample .frame { margin: 0 auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-frame .room, .hero-frame .prod, .hero-frame .cap { opacity: 1; }
  .hero-frame .moon { opacity: 0; }
}
