/* Direction D, the study: The Virtual Organiser. Paper, ink navy, her orange. Things file into place. */
@font-face { font-family: "Bitter"; src: url("/_assets/previews/d/organise/fonts/bitter.0efe0fbe60.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/_assets/previews/d/organise/fonts/atkinson.18b2a1a39a.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Shantell Sans"; src: url("/_assets/previews/d/organise/fonts/shantell.f15631aba9.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --f-display: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
  --f-body: "Atkinson Hyperlegible Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Shantell Sans", "Comic Neue", "Segoe Print", cursive;
  --ground: var(--wall-organise);
  --ground-2: light-dark(#E1E8F0, #1C2640);
  --sheet: light-dark(#FFFFFF, #1F2A46);
  --ink: light-dark(#1F2A44, #EEF2F6);
  --ink-2: light-dark(#44526E, #B7C2D6);
  --accent-text: light-dark(#A8490C, #F29A55);
  --focus: light-dark(#A8490C, #F29A55);
  --thread: light-dark(#ED802B, #F29A55);
  --line: light-dark(#1F2A44, #070B14);
  --rule: light-dark(#C5D0DE, #34405E);
  --hour: light-dark(#ED802B, #F29A55);
  --hour-empty: light-dark(#D6DEE9, #2A3654);
}

.wrap { padding-inline: clamp(1rem, 4vw, 3.5rem); }
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--step-3); padding-block: var(--step-3); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-name { font: 800 1.15rem/1.05 var(--f-display); }
.brand-sub { display: block; font: 400 .8rem/1.2 var(--f-hand); color: var(--ink-2); margin-top: .15rem; }
.top-nav { display: flex; align-items: center; gap: clamp(.25rem, 1.4vw, 1.1rem); }
.top-link { display: none; font-weight: 700; text-decoration: none; padding: .6rem .2rem; }
.top-link:hover { text-decoration: underline; text-decoration-color: var(--thread); text-decoration-thickness: 2px; }
.top .call-long { display: none; }
@media (min-width: 860px) { .top-link { display: inline-block; } .top .call-long { display: inline; } }
@media (max-width: 420px) { .brand-sub { display: none; } .top .switch-label { display: none; } .brand-name { font-size: 1rem; } .brand .seal { width: 2.25rem; } }

/* ---------- hero: the study, seen through its door ---------- */
.hero { display: grid; gap: var(--step-5); padding-block: var(--step-4) clamp(3rem, 7vw, 6rem); align-items: center; }
@media (min-width: 1000px) { .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4.5rem); } }
.hero-copy { display: grid; gap: var(--step-4); max-width: 34rem; }
.hero-room { font: 600 1rem/1.2 var(--f-hand); color: var(--ink-2); display: flex; align-items: center; gap: .45rem; }
.hero-room::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--thread); border: 1.5px solid var(--line); }
.hero h1 { font: 800 clamp(2.6rem, 1.6rem + 4vw, 5rem)/.95 var(--f-display); letter-spacing: -.025em; text-wrap: balance; }
.hero-descriptor { font: 600 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.25 var(--f-display); color: var(--accent-text); }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 32rem; }
.lede strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--step-3) var(--step-4); align-items: center; }
.text-link { font-weight: 700; text-decoration-color: var(--thread); text-decoration-thickness: 2px; min-height: 2.75rem; display: inline-flex; align-items: center; }

.doorway { position: relative; border: 4px solid var(--line); border-radius: 3px; background: var(--line); overflow: hidden; }
.doorway picture, .doorway img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.doorway-tag { position: absolute; left: .75rem; top: .75rem; z-index: 2; display: grid; padding: .25rem .6rem .3rem; background: var(--tag-paper); color: var(--tag-ink); border: 1.5px solid var(--seal-ink); border-radius: 3px 10px 10px 3px; }
.doorway-tag b { font: 700 1rem/1.1 var(--f-hand); display: flex; gap: .35rem; align-items: center; }
.doorway-tag b::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--thread); border: 1.5px solid var(--seal-ink); }
.doorway-tag span { font-size: .75rem; }
.callout { position: absolute; z-index: 2; display: none; align-items: center; gap: .4rem; font: 600 .875rem/1.15 var(--f-hand); color: var(--tag-ink); }
.callout::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--thread); border: 2px solid var(--seal-ink); flex: none; }
.callout span { background: var(--tag-paper); border: 1.5px solid var(--seal-ink); padding: .15rem .45rem; border-radius: 3px; }
@media (min-width: 640px) { .callout { display: inline-flex; } }
.c-trays { left: 25%; top: 36%; }
.c-planner { left: 31%; top: 13%; }
.c-laptop { left: 50%; top: 38%; }
.c-lamp { left: 67%; top: 22%; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { display: grid; gap: var(--step-3); max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section h2 { font: 800 clamp(2rem, 1.4rem + 2.4vw, 3.3rem)/1 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.section-head p { color: var(--ink-2); font-size: 1.125rem; }
.quote { font: 600 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.3 var(--f-display); color: var(--ink); max-width: 40rem; }
.quote::before { content: "\201C"; color: var(--thread); }
.quote::after { content: "\201D"; color: var(--thread); }
.said { font: 400 .95rem/1.3 var(--f-hand); color: var(--ink-2); }

/* the drawer of files: each service on its own tabbed file */
.files { display: grid; gap: 0; padding: 0; list-style: none; border-top: 2px solid var(--line); }
.file { display: grid; gap: .35rem var(--step-5); padding: var(--step-4) 0; border-bottom: 2px solid var(--rule); align-items: baseline; }
@media (min-width: 760px) { .file { grid-template-columns: 12rem minmax(0, 1fr); } }
.file-tab { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; font: 800 1.15rem/1.1 var(--f-display); }
.file-tab svg { width: 1.6rem; height: 1.6rem; color: var(--accent-text); }
.file p { font-size: 1.125rem; max-width: 42rem; }
.file p q { quotes: "\201C" "\201D"; }

/* prices: the timesheet */
.prices { background: var(--ground-2); }
.price-group { display: grid; gap: var(--step-4); margin-top: var(--step-5); }
.price-label { font: 700 1.2rem/1.2 var(--f-hand); color: var(--ink-2); }
.plans { display: grid; gap: var(--step-3); padding: 0; list-style: none; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--step-4); } }
.plan { display: grid; gap: var(--step-3); align-content: start; padding: var(--step-4); background: var(--sheet); border: 2px solid var(--line); border-radius: 4px; }
.plan-name { font: 800 1.5rem/1 var(--f-display); }
.plan-price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.plan-price b { font: 800 clamp(2.4rem, 2rem + 1.4vw, 3.2rem)/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.plan-price span { color: var(--ink-2); font-weight: 700; }
.plan-hours { font-weight: 700; }
.hours { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; padding: 0; list-style: none; max-width: 17rem; }
.hours li { aspect-ratio: 1; background: var(--hour); border: 1.5px solid var(--line); border-radius: 2px; }
.hours-key { font: 400 .85rem/1.2 var(--f-hand); color: var(--ink-2); }
.plan-words { color: var(--ink-2); font-size: .98rem; }
.oneoffs { display: grid; gap: var(--step-3); padding: 0; list-style: none; }
@media (min-width: 900px) { .oneoffs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--step-4); } }
.oneoff { display: grid; gap: var(--step-3); padding: var(--step-4); background: var(--sheet); border: 2px solid var(--line); border-radius: 4px; }
.oneoff-name { font: 800 1.5rem/1.05 var(--f-display); }
.oneoff-prices { display: flex; flex-wrap: wrap; gap: var(--step-3) var(--step-5); padding: 0; list-style: none; }
.oneoff-prices li { display: grid; gap: .1rem; }
.oneoff-prices span { font-weight: 700; color: var(--ink-2); }
.oneoff-prices b { font: 800 2.2rem/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; }
.prices-note { margin-top: var(--step-4); color: var(--ink-2); font-size: .95rem; }

/* do I need a VA */
.va { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .va { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.va-words { display: grid; gap: var(--step-5); padding: 0; list-style: none; }

/* booking: three steps, a real order */
.steps { display: grid; gap: var(--step-4); padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: grid; gap: .5rem; align-content: start; padding-top: var(--step-4); border-top: 3px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); font: 800 2.6rem/1 var(--f-display); color: var(--accent-text); }
.step h3 { font: 800 1.3rem/1.15 var(--f-display); }
.step p { color: var(--ink-2); }
.book-row { margin-top: var(--step-5); display: flex; flex-wrap: wrap; gap: var(--step-3) var(--step-5); align-items: center; }
.socials { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding: 0; list-style: none; }
.socials a { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 700; text-decoration-color: var(--thread); text-decoration-thickness: 2px; }

.house-section { background: var(--ground-2); }
.foot { padding-block: var(--step-5) var(--step-6); display: flex; flex-wrap: wrap; gap: var(--step-3) var(--step-5); align-items: center; justify-content: space-between; color: var(--ink-2); font-size: .95rem; }

/* ---------- motion: things file into place ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.lt-ready .doorway img { animation: settle 900ms var(--ease-out) both; }
  html.lt-ready .hero-copy > * { animation: file-in 560ms var(--ease-out) both; animation-delay: calc(60ms + var(--i, 0) * 70ms); }
  html.lt-ready .callout { animation: file-in 480ms var(--ease-out) both; animation-delay: calc(700ms + var(--i, 0) * 110ms); }
  html.lt-ready .doorway-tag { animation: tag-swing 700ms var(--ease-out) 300ms both; transform-origin: 10% 0; }
  .plans.lt-arrived .hours li { animation: hour-in 320ms ease-out both; animation-delay: calc(200ms + var(--n, 0) * 30ms); }
  .files.lt-arrived .file { animation: file-slide 480ms var(--ease-out) both; }
  .files.lt-arrived .file:nth-child(2) { animation-delay: 80ms; } .files.lt-arrived .file:nth-child(3) { animation-delay: 160ms; } .files.lt-arrived .file:nth-child(4) { animation-delay: 240ms; }
  .plan, .oneoff { transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
  .plan:hover, .oneoff:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgb(15 22 40 / .5); }
}
html[data-arrived-from-hub] .doorway img { animation-duration: 1100ms; }
@keyframes settle { from { transform: scale(1.08); } }
@keyframes file-in { from { transform: translateX(-14px); opacity: 0; } }
@keyframes tag-swing { from { transform: rotate(-8deg); } }
@keyframes hour-in { from { opacity: .25; } }
@keyframes file-slide { from { transform: translateX(-14px); } }
.hero-copy > :nth-child(2) { --i: 1; } .hero-copy > :nth-child(3) { --i: 2; } .hero-copy > :nth-child(4) { --i: 3; } .hero-copy > :nth-child(5) { --i: 4; } .hero-copy > :nth-child(6) { --i: 5; }
.c-planner { --i: 1; } .c-laptop { --i: 2; } .c-lamp { --i: 3; }
.hours li:nth-child(5n+2) { --n: 1; } .hours li:nth-child(5n+3) { --n: 2; } .hours li:nth-child(5n+4) { --n: 3; } .hours li:nth-child(5n) { --n: 4; }
.hours li:nth-child(n+6) { --n: 5; } .hours li:nth-child(n+11) { --n: 10; } .hours li:nth-child(n+16) { --n: 15; }
