@charset "UTF-8";
/* ══════════════════════════════════════════════════════════════════════════
   Clean With Khassie

   Built in the Cleanon design language, pinned by the client: warm off-white
   ground, deep forest green bands, amber carrying every call to act, white
   cards at 10px radius on a soft wide lift.

   Rebuilt in this stylesheet rather than importing the licensed bundle —
   that template's markup carries inline style attributes and its jQuery /
   owl.carousel / jarallax plugins write more at runtime, every one of which
   this project's style-src blocks.

   All direction-dependent lengths use logical properties: Arabic ships from
   the header switcher.
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── type: self-hosted, because font-src is 'self' ─────────────────────── */
@font-face{font-family:'Poppins';src:url('../fonts/poppins-400-latin.woff2') format('woff2');font-weight:400;font-display:swap;}
@font-face{font-family:'Poppins';src:url('../fonts/poppins-500-latin.woff2') format('woff2');font-weight:500;font-display:swap;}
@font-face{font-family:'Poppins';src:url('../fonts/poppins-600-latin.woff2') format('woff2');font-weight:600;font-display:swap;}
@font-face{font-family:'Poppins';src:url('../fonts/poppins-700-latin.woff2') format('woff2');font-weight:700;font-display:swap;}
@font-face{font-family:'Rubik';src:url('../fonts/rubik-400-700-latin.woff2') format('woff2-variations');font-weight:400 700;font-display:swap;}
/* Arabic: Cairo (OFL), registered under both family names for Arabic code
   points only, so every rule that names Poppins or Rubik sets Arabic in Cairo
   and Latin text is untouched. Declared last, so it is tried first for the
   characters it covers. Loaded only when Arabic text is on the page. */
@font-face{font-family:'Poppins';src:url('../fonts/cairo-400-700-arabic.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;}
@font-face{font-family:'Rubik';src:url('../fonts/cairo-400-700-arabic.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;}

:root {
  --base:      #f1ab21;   /* amber — every primary action and every tagline */
  --base-deep: #a86f05;   /* amber pressed, and amber TEXT on light (AA) */
  --base-hover:#d9980f;   /* amber under the cursor — one step down from base */

  /* Decorative numerals: the badge figure, the step counters and the quote
     mark. Deliberately off the text ramp, because they are drawn marks rather
     than type, and sized to their component. */
  --numeral-sm: 0.75rem;   /* 12px: the smallest text on the site (labels, badges) */
  --numeral-md: 0.72rem;
  --numeral-lg: 2rem;
  --numeral-xl: 2.2rem;
  --numeral-2xl: 3rem;
  --green:     #0c342f;   /* the brand field: header, footer, feature bands */
  --green-2:   #0e3026;
  --emerald:   #0a7158;   /* the supporting green */
  --cream:     #f7f4f1;   /* page ground */
  --white:     #ffffff;
  --gray:      #595752;   /* body copy */
  --gray-soft: #6a6862;   /* secondary copy, still AA on white and cream */
  --bdr:       #ded8cf;

  /* --green is a SURFACE (header, footer, bands). Heading text needs its own
     token: using one value for both meant dark mode inverted the surface and
     left headings dark-on-dark at 1.02:1. */
  --ink:       #0c342f;

  --on-green:  #ffffff;
  --on-base:   #231703;   /* near-black on amber: amber is far too light for white */

  --radius: 10px;
  --radius-sm: 6px;

  --shadow:    0 4px 20px rgb(12 52 47 / 5%);
  --shadow-lg: 0 10px 32px rgb(12 52 47 / 10%);

  --step--2: 0.78rem;
  --step--1: 0.875rem;
  --step-0:  1rem;
  --step-1:  1.125rem;
  --step-2:  clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.4rem + 2.4vw, 2.75rem);
  --step-4:  clamp(2.3rem, 1.5rem + 3.6vw, 3.6rem);

  --gutter: 1.15rem;
  --measure: 68ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream:     #0a1614;
    --white:     #11201d;
    --green:     #081f1c;
    --green-2:   #061a17;
    --ink:       #eaf2ef;
    --gray:      #d8dedb;
    --gray-soft: #a9b3af;
    --bdr:       #27403a;
    --base:      #f6bb45;
    --base-deep: #ffd27d;
    --emerald:   #4cbb99;
    --shadow:    0 10px 40px 0 rgb(0 0 0 / 45%);
    --shadow-lg: 0 18px 60px 0 rgb(0 0 0 / 55%);
  }
}
:root[data-theme="dark"] {
  --cream:#0a1614; --white:#11201d; --green:#081f1c; --green-2:#061a17;
  --ink:#eaf2ef; --gray:#d8dedb; --gray-soft:#a9b3af; --bdr:#27403a;
  --base:#f6bb45; --base-deep:#ffd27d; --emerald:#4cbb99;
}

/* ─── reset ─────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--bdr) var(--cream); }

body {
  background: var(--cream);
  color: var(--gray);
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--step-0);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

img,picture,svg { display: block; max-width: 100%; height: auto; }

h1,h2,h3,h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p,li { text-wrap: pretty; }
p { max-width: var(--measure); }

/* ─── browser surfaces ──────────────────────────────────────────────────── */
::selection { background: var(--base); color: var(--on-base); }
:root { caret-color: var(--emerald); accent-color: var(--emerald); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--bdr); border: 3px solid var(--cream); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald); }

a { color: var(--emerald); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--base); outline-offset: 2px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── layout ────────────────────────────────────────────────────────────── */
.wrap { width: min(100% - (var(--gutter)*2), 1200px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--green { background: var(--green); color: rgb(255 255 255 / 82%); }
/* EVERY heading level on a green band, not just h2/h3. The page-head h1 on
   nine views was inheriting --ink (#0c342f) on --green (#0c342f) — invisible.
   This is the exact failure the two-tokens rule exists to prevent. */
.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4 { color: var(--on-green); }
.flow > * + * { margin-block-start: var(--fl, 1rem); }

/* The section signature: an uppercase amber tagline naming the section, then
   its heading. The tagline labels the section, it does not restate the
   heading underneath it. */
.sec-head { margin-block-end: 2.25rem; max-width: 46rem; }
.tagline {
  display: block;
  font-family: 'Rubik', sans-serif;
  color: var(--base-deep);
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  margin-block-end: 0.5rem;
}
.section--green .tagline { color: var(--base-on-green, var(--base)); }
.sec-head p { margin-block-start: 0.75rem; color: var(--gray-soft); }
.section--green .sec-head p, .section--green p { color: rgb(255 255 255 / 80%); }

/* ─── buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-block-size: 50px; padding: .7rem 1.7rem;
  font-family: 'Poppins', sans-serif; font-size: var(--step-0); font-weight: 600;
  line-height: 1.6; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color 180ms var(--ease), color 180ms var(--ease),
              transform 160ms var(--ease), box-shadow 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--base { background: var(--base); color: var(--on-base); }
.btn--base:hover { background: var(--base-hover); }

.btn--green { background: var(--green); color: var(--on-green); }
.btn--green:hover { background: var(--emerald); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--bdr); }
.btn--outline:hover { border-color: var(--ink); background: var(--white); }
.section--green .btn--outline, .hero .btn--outline { color: var(--on-green); border-color: rgb(255 255 255 / 38%); }
.section--green .btn--outline:hover, .hero .btn--outline:hover { border-color: var(--on-green); background: rgb(255 255 255 / 10%); }

.btn--block { display: flex; inline-size: 100%; }

/* ─── header ────────────────────────────────────────────────────────────── */
.site-head { position: sticky; inset-block-start: 0; z-index: 60; background: var(--green); }
.site-head__bar { display: flex; align-items: center; gap: 1rem; min-block-size: 76px; }

.brand { display: flex; align-items: center; gap: .65rem; min-block-size: 48px; text-decoration: none; }
.brand img { inline-size: 42px; block-size: 42px; object-fit: contain; background: var(--white); border-radius: var(--radius-sm); padding: 3px; }
.brand__name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: var(--step-1); color: var(--on-green); line-height: 1.15; letter-spacing: -0.01em; }
.brand__sub { display: block; font-family: 'Rubik', sans-serif; font-size: var(--numeral-sm); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--base); }

.nav { margin-inline-start: auto; display: flex; align-items: center; gap: .2rem; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: .8rem;
  font-family: 'Poppins', sans-serif; font-size: var(--step--1); font-weight: 500;
  color: rgb(255 255 255 / 90%); text-decoration: none; border-radius: var(--radius-sm);
}
.nav a:not(.btn):hover { color: var(--base-on-green, var(--base)); }
.nav a:not(.btn)[aria-current="page"] { color: var(--base-on-green, var(--base)); }

.lang { display: inline-flex; border: 1px solid rgb(255 255 255 / 30%); border-radius: var(--radius-sm); margin-inline-start: .4rem; overflow: hidden; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; min-inline-size: 46px; padding-inline: .5rem; font-family: 'Poppins', sans-serif; font-size: var(--step--2); font-weight: 600; color: rgb(255 255 255 / 90%); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--base); color: var(--on-base); }

.nav-toggle {
  display: none; margin-inline-start: auto; align-items: center; gap: .5rem;
  min-block-size: 44px; min-inline-size: 44px; padding-inline: .8rem;
  background: transparent; border: 1px solid rgb(255 255 255 / 34%); border-radius: var(--radius-sm);
  color: #ffffff; font-family: 'Poppins', sans-serif; font-size: var(--step--2);
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em; cursor: pointer;
}
.nav-toggle svg { inline-size: 16px; block-size: 16px; }

@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset-block-start: 76px; inset-inline: 0; inset-block-end: 0;
    margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 2rem; background: var(--green);
    border-block-start: 1px solid rgb(255 255 255 / 12%); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 320ms var(--ease), visibility 320ms;
  }
  .nav[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav a:not(.btn) { min-block-size: 52px; font-size: var(--step-0); border-block-end: 1px solid rgb(255 255 255 / 10%); }
  .nav .btn { margin-block-start: 1rem; }
  .lang { margin-inline-start: 0; margin-block-start: 1rem; align-self: flex-start; }
}

/* ─── hero ──────────────────────────────────────────────────────────────── */
/* The Cleanon hero: a full-bleed photograph under a deep-green wash, a tall
   content block, an amber uppercase sub-title over a large white title, the
   action beside a trust row, and a circular badge breaking the edge.
   The photo is applied in CSS from a custom property the view sets on a
   <div>, because style-src forbids inline style attributes. */
.hero { position: relative; background: var(--green); color: rgb(255 255 255 / 88%); overflow: hidden; isolation: isolate; }

.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center; }

/* Two layers: a flat wash that guarantees legibility on its own, and a
   directional gradient so the photograph still reads on the trailing side.
   `linear-gradient` takes NO logical direction — `to inline-end` is invalid
   and silently kills the whole declaration, which left white text on a bare
   photo. Hence a physical direction, mirrored for RTL. */
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--green) 72%, transparent);
}
.hero__bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, color-mix(in srgb, var(--green) 80%, transparent) 0%, color-mix(in srgb, var(--green) 45%, transparent) 55%, color-mix(in srgb, var(--green) 10%, transparent) 100%);
}
:dir(rtl) .hero__bg::before {
  background: linear-gradient(to left, color-mix(in srgb, var(--green) 80%, transparent) 0%, color-mix(in srgb, var(--green) 45%, transparent) 55%, color-mix(in srgb, var(--green) 10%, transparent) 100%);
}

.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
  max-inline-size: 46rem;
}
.hero h1 { color: var(--on-green); margin-block-start: .75rem; }
.hero .tagline { color: var(--base-on-green, var(--base)); }
.hero__lede { font-size: var(--step-1); color: rgb(255 255 255 / 88%); margin-block-start: 1.1rem; max-width: 36rem; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-block-start: 2rem; }

/* Where the template puts a star rating and a review count. We have neither,
   so this carries claims that are actually true instead. */
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-block-start: 1.9rem; padding: 0; list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: .5rem; font-size: var(--step--1); color: rgb(255 255 255 / 90%); }
.hero__trust svg { inline-size: 18px; block-size: 18px; color: var(--base-on-green, var(--base)); flex-shrink: 0; }

/* ─── cards ─────────────────────────────────────────────────────────────── */
/* auto-fill gave 4 columns at 1200px, so a 6-item row left 2 empty cells at
   the end. Explicit breakpoints keep every row exactly full: 1 / 2 / 3. */
.grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--bdr); overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.card__body h3 a { color: inherit; text-decoration: none; }
.card__body h3 a:hover { color: var(--emerald); }
.card__desc { font-size: var(--step--1); color: var(--gray-soft); margin-block-end: .75rem; }
.card__foot { margin-block-start: auto; padding-block-start: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-block-start: 1px solid var(--bdr); }

.price { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { display: block; font-family: 'Rubik', sans-serif; font-weight: 400; font-size: var(--step--2); color: var(--gray-soft); }
.card__go { font-family: 'Poppins', sans-serif; font-size: var(--step--1); font-weight: 600; color: var(--emerald); text-decoration: none; white-space: nowrap; }
.card__go:hover { color: var(--base-deep); }

/* ─── process ───────────────────────────────────────────────────────────── */
/* Was three equal cards stamped 01 / 02 / 03. Both are named anti-patterns:
   a stock feature-card row, and enumerated step labels where the headings
   ("Choose your service", "Pick a day and time", "Confirm and relax") already
   carry the sequence. Now a connected flow with rule-work instead of chrome. */
.steps { display: grid; gap: 0; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step { padding: 1.5rem 0; border-block-start: 2px solid var(--ink); }
@media (min-width: 52rem) {
  .step { padding: 1.5rem 2rem 1.5rem 0; }
  /* a hairline joins the steps into one sequence rather than three islands */
  .step + .step { border-inline-start: 1px solid var(--bdr); padding-inline-start: 2rem; }
}
@media (max-width: 52rem) {
  .step + .step { border-block-start: 1px solid var(--bdr); }
  .step:first-child { border-block-start: 2px solid var(--ink); }
}
.step h3 { margin-block-end: .5rem; }
.step p { font-size: var(--step--1); color: var(--gray-soft); }

/* ─── price table (service sheet) ───────────────────────────────────────── */
.rates { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.rate-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-block-end: 1px solid var(--bdr); }
.rate-row:last-child { border-block-end: 0; }
.rate-row--addon { background: var(--cream); }
.rate-row__name { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); }
.rate-row__desc { font-size: var(--step--1); color: var(--gray-soft); margin-block-start: .15rem; }

.pill { display: inline-block; padding: .1rem .5rem; border-radius: 99px; background: var(--base); color: var(--on-base); font-size: var(--numeral-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ─── "to be supplied" blanks ───────────────────────────────────────────── */
/* A section whose content does not exist yet says so, naming what is
   missing. It never renders invented proof. */
.tbs {
  border: 2px dashed var(--bdr); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--white);
  display: grid; gap: .6rem; justify-items: start;
}
.tbs__label { font-family: 'Poppins', sans-serif; font-size: var(--step--2); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--base-deep); }
.tbs h3 { color: var(--ink); }
.tbs p { color: var(--gray-soft); font-size: var(--step--1); }
.tbs ul { margin: 0; padding-inline-start: 1.1rem; color: var(--gray-soft); font-size: var(--step--1); }
.section--green .tbs { background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 30%); }
.section--green .tbs h3 { color: var(--on-green); }
.section--green .tbs p, .section--green .tbs ul { color: rgb(255 255 255 / 80%); }
.section--green .tbs__label { color: var(--base-on-green, var(--base)); }

/* ─── testimonials ──────────────────────────────────────────────────────── */
.quote { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .85rem; }
.quote__mark { font-family: 'Poppins', sans-serif; font-size: var(--numeral-2xl); line-height: .7; color: var(--base); }
.quote p { font-size: var(--step--1); color: var(--gray); }
.quote__who { margin-block-start: auto; padding-block-start: .75rem; border-block-start: 1px solid var(--bdr); font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); }

/* ─── forms ─────────────────────────────────────────────────────────────── */
.panel { background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); padding: clamp(1.15rem, 3vw, 1.75rem); }
.panel + .panel { margin-block-start: 1.5rem; }

.field { display: grid; gap: .35rem; margin-block-start: 1rem; }
.field > label { font-family: 'Poppins', sans-serif; font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.field-row { display: grid; gap: 1rem; }
.field-row > *, .book-grid > *, .auth-grid > * { min-inline-size: 0; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row--tight { grid-template-columns: 1fr auto; gap: .5rem; align-items: end; }

input[type="text"],input[type="email"],input[type="tel"],input[type="number"],
input[type="search"],input[type="password"],select,textarea {
  inline-size: 100%; min-inline-size: 0; min-block-size: 50px; padding: .7rem .9rem;
  font: inherit; font-family: 'Rubik', sans-serif;
  color: var(--gray); background: var(--white);
  border: 1px solid var(--bdr); border-radius: var(--radius-sm);
}
textarea { min-block-size: 100px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--gray-soft); }
input:focus-visible,select:focus-visible,textarea:focus-visible { border-color: var(--emerald); outline: 3px solid var(--base); outline-offset: 1px; }
input:disabled,select:disabled { background: var(--cream); color: var(--gray-soft); cursor: not-allowed; }

select {
  appearance: none; padding-inline-end: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 1.45rem, calc(100% - .85rem) 1.45rem;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
:dir(rtl) select { background-position: 1.2rem 1.45rem, .85rem 1.45rem; }

input.qty { inline-size: 5.2rem; text-align: center; font-weight: 600; }

.tick { display: flex; align-items: flex-start; gap: .65rem; font-size: var(--step--1); margin-block: 1.1rem; }
.tick input { inline-size: 1.2rem; block-size: 1.2rem; min-block-size: 0; margin-block-start: .25rem; flex-shrink: 0; accent-color: var(--emerald); }

/* ─── totals ────────────────────────────────────────────────────────────── */
.totals { margin-block-start: 1rem; padding-block-start: .9rem; border-block-start: 1px solid var(--bdr); }
.totals > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .35rem; font-size: var(--step--1); }
.totals dt { color: var(--gray-soft); }
.totals dd { margin: 0; text-align: end; overflow-wrap: anywhere; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.totals__sum { margin-block-start: .5rem; padding-block-start: .75rem !important; border-block-start: 2px solid var(--bdr); font-size: var(--step-1) !important; }
.totals__sum dt { color: var(--ink) !important; font-family: 'Poppins', sans-serif; font-weight: 700; }
.totals__sum dd { font-family: 'Poppins', sans-serif; font-weight: 700; }

/* ─── booking layout ────────────────────────────────────────────────────── */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; }
@media (min-width: 64rem) {
  .book-grid { grid-template-columns: minmax(0,1fr) 22rem; gap: 2.25rem; }
  .book-grid .summary { position: sticky; inset-block-start: 96px; }
}
.summary { background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); padding: 1.35rem; }
.summary h2 { font-size: var(--step-1); }

fieldset.panel { border: 1px solid var(--bdr); min-inline-size: 0; padding-block-start: 1rem; }
fieldset.panel > legend { display: block; max-inline-size: 100%; padding-inline: .5rem; margin-block-end: .75rem; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); font-size: var(--step-1); }

.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .95rem; border-block-end: 1px solid var(--bdr); }
.opt-row:last-of-type { border-block-end: 0; }
.opt-row__name { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); cursor: pointer; }
.opt-row__desc { font-size: var(--step--1); color: var(--gray-soft); margin-block-start: .15rem; }
.opt-row__right { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
@media (max-width: 34rem) {
  .opt-row { flex-direction: column; align-items: stretch; gap: .6rem; }
  .opt-row__right { justify-content: space-between; }
}

.summary__line { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); padding-block: .2rem; }
.summary__line span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

#payment-element { min-block-size: 240px; margin-block: 1rem; }

/* ─── notices ───────────────────────────────────────────────────────────── */
.notice { padding: .9rem 1.1rem; margin-block-end: 1rem; border: 1px solid var(--bdr); border-block-start: 3px solid var(--green); border-radius: var(--radius-sm); background: var(--white); font-size: var(--step--1); }
.notice--error { border-block-start-color: #b3261e; color: #8f1e18; }
.notice--ok { border-block-start-color: var(--emerald); color: var(--emerald); }

/* ─── footer ────────────────────────────────────────────────────────────── */
.site-foot { background: var(--green); color: rgb(255 255 255 / 80%); padding-block: 3.5rem 1.5rem; }
.site-foot h2 { color: #ffffff; font-size: var(--step-0); text-transform: uppercase; letter-spacing: .08em; margin-block-end: .9rem; }
.site-foot__cols { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .site-foot__cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: 0; }
.site-foot li + li { border-block-start: 1px solid rgb(255 255 255 / 10%); }
.site-foot a { display: flex; align-items: center; min-block-size: 44px; color: rgb(255 255 255 / 84%); text-decoration: none; font-size: var(--step--1); }
.site-foot a:hover { color: var(--base-on-green, var(--base)); }
.site-foot__base { margin-block-start: 2.5rem; padding-block-start: 1.25rem; border-block-start: 1px solid rgb(255 255 255 / 14%); display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; font-size: var(--step--2); color: rgb(255 255 255 / 70%); }
.site-foot__base a { display: inline; min-block-size: 0; color: var(--base-on-green, var(--base)); }

/* ─── utilities ─────────────────────────────────────────────────────────── */
.vh { position: absolute !important; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.lede { font-size: var(--step-1); color: var(--gray-soft); max-width: 56ch; }
.muted { color: var(--gray-soft); }
.faint { color: var(--gray-soft); font-size: var(--step--1); }
.prose p + p { margin-block-start: .9rem; }
.prose ul { margin-block: .75rem; padding-inline-start: 1.15rem; }
.prose li { margin-block-end: .35rem; }

.skip { position: absolute; inset-inline-start: .5rem; inset-block-start: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--base); color: var(--on-base); border-radius: var(--radius-sm); transition: inset-block-start 160ms var(--ease); }
.skip:focus { inset-block-start: .5rem; }

[hidden] { display: none !important; }

/* Spacing utility. Exists because style-src forbids inline style attributes,
   so a one-off margin has to be a class, not style="--fl:2rem". */
.pad-t { margin-block-start: 2.25rem; }

/* ══════════════════════════════════════════════════════════════════════════
   Contrast and target-size corrections, measured in the browser
   ══════════════════════════════════════════════════════════════════════════ */

/* Amber is a brand colour, not a text colour: at full strength it reads 1.98:1
   on white. Tagline text uses a darkened amber that clears AA on both the
   cream ground (4.73:1) and white (5.19:1). */
:root { --base-text: #96620a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --base-text: #ffd27d; }
}
:root[data-theme="dark"] { --base-text: #ffd27d; }

.tagline, .tbs__label, .card__go:hover { color: var(--base-text); }

/* The hero is a green band but is not .section--green, so it was inheriting
   the dark-on-light amber and landing at 3.19:1 against the green. */
.hero .tagline { color: var(--base-on-green, var(--base)); }

/* Defensive: these containers hold their own coloured children, but any text
   placed directly in them would otherwise inherit a link or body colour that
   is unreadable on the green header. */
.brand, .lang { color: #ffffff; }

/* .faint is a light-background utility; in the green footer it has to invert. */
.site-foot .faint { color: rgb(255 255 255 / 76%); }

/* Standalone targets inside cards: the title link and the booking link were
   26px and 25px tall. Inline links inside prose are left alone — WCAG 2.2
   exempts those, and padding them would wreck the paragraph. */
.card__body h3 a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}
.card__go {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: .1rem;
}

/* The quote glyph is decorative (aria-hidden) but was nearly invisible at
   1.98:1. Larger and darker so it reads as a mark rather than an artefact. */
.quote__mark { color: var(--base-text); font-size: var(--numeral-2xl); opacity: .85; }

/* A white panel sitting inside a green section is a LIGHT surface again, so
   the section's inverted text colour must not leak into it — that put
   white-on-white text in the estimate form at 1:1. */
.section--green .panel,
.section--green .panel p,
.section--green .panel li { color: var(--gray); }
.section--green .panel h2,
.section--green .panel h3,
.section--green .panel label,
.section--green .panel legend { color: var(--ink); }
.section--green .panel .faint { color: var(--gray-soft); }

/* ─── account ───────────────────────────────────────────────────────────── */
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; align-items: start; max-inline-size: 62rem; }
.auth-grid > .panel + .panel { margin-block-start: 0; }
.auth-grid h2 { font-size: var(--step-2); }
.auth-grid aside.panel { background: transparent; border: 0; padding-block-start: .5rem; }
@media (min-width: 56rem) { .auth-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; } }

/* The account section index. Horizontal on a desk, a scrollable rail on a
   phone rather than a wrapping pile of buttons. */
.acct-nav {
  display: flex; align-items: center; gap: .25rem; flex-wrap: wrap;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .4rem;
}
.acct-nav a {
  display: inline-flex; align-items: center; min-block-size: 44px;
  padding-inline: 1rem; border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-size: var(--step--1); font-weight: 600;
  color: var(--gray); text-decoration: none;
}
.acct-nav a:hover { background: var(--cream); color: var(--ink); }
.acct-nav a[aria-current="page"] { background: var(--green); color: var(--on-green); }
.acct-nav__out { margin-inline-start: auto; }
.acct-nav__out .btn { min-block-size: 44px; padding-inline: 1.1rem; font-size: var(--step--1); }
@media (max-width: 40rem) {
  .acct-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a, .acct-nav__out { flex-shrink: 0; }
  .acct-nav__out { margin-inline-start: .25rem; }
}

/* A row in .rates can be a link (a booking) as well as a static row. */
a.rate-row { text-decoration: none; color: inherit; }
a.rate-row:hover { background: var(--cream); }

.setup-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.setup-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: .85rem 1rem; border: 1px solid var(--bdr); border-radius: var(--radius-sm);
  background: var(--cream); font-size: var(--step--1);
}
.setup-list .btn { min-block-size: 44px; padding-inline: 1.1rem; font-size: var(--step--1); }

/* ─── hero booking form ─────────────────────────────────────────────────── */
/* The hero carries the first step of the booking, so it needs the hero to be
   a two-column layout rather than a single content block. */
.hero__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center;
                padding-block: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 64rem) {
  .hero__layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 24rem); gap: 3rem; }
}
.hero__inner { padding-block: 0; max-inline-size: 40rem; }

.hero-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
/* A light card inside the green hero is a light surface again — the hero's
   inverted text colour must not leak into it. */
.hero-form, .hero-form p, .hero-form label { color: var(--gray); }
.hero-form__head { font-size: var(--step-2); color: var(--ink); }
.hero-form__sub { font-size: var(--step--1); color: var(--gray-soft); margin-block-start: .3rem; }
.hero-form .field:first-of-type { margin-block-start: 1.25rem; }
.hero-form .btn { margin-block-start: 1.25rem; }
.hero-form__note {
  margin-block-start: .75rem; text-align: center;
  font-size: var(--step--2); color: var(--gray-soft);
}


/* ─── hero background video ─────────────────────────────────────────────── */
/* The <img> underneath is the real background and always shows. The video is
   appended by script and fades in only once it is actually playing, so a
   stall or a refused autoplay leaves the photograph rather than a black box. */
.hero__video {
  position: absolute; inset: 0;
  inline-size: 100%; block-size: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 900ms var(--ease);
  /* sits above the <img>, below the two overlay layers */
  z-index: 0;
}
.hero__video[data-ready="true"] { opacity: 1; }

/* The overlay layers must stay above the video, not just above the photo. */
.hero__bg::after { z-index: 1; }
.hero__bg::before { z-index: 2; }

/* ─── trust band ────────────────────────────────────────────────────────── */
/* These points used to sit inside the hero. A hero is one moment: a headline,
   a line of context and the action. A trust strip belongs in its own band
   directly beneath it. */
.trustband { background: var(--white); border-block-end: 1px solid var(--bdr); }
.trustband__inner {
  display: flex; flex-wrap: wrap; gap: .85rem 2.25rem;
  padding-block: 1.1rem;
}
.trustband span { display: flex; align-items: center; gap: .5rem; font-size: var(--step--1); color: var(--gray); }
.trustband svg { inline-size: 18px; block-size: 18px; color: var(--base-text); flex-shrink: 0; }

/* ─── pillars (replaces a 3-up row of equal text cards) ─────────────────── */
/* Three identical text cards side by side is the stock feature row. This is
   asymmetric and card-free: the lead point carries weight, the other two sit
   beside it, separated by rule-work rather than container chrome. */
.pillars { display: grid; gap: 1.75rem; }
@media (min-width: 56rem) { .pillars { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }
.pillars__lead h3 { font-size: var(--step-2); }
.pillars__lead p { margin-block-start: .6rem; color: var(--gray-soft); }
.pillars__rest { display: grid; gap: 1.5rem; align-content: start; }
.pillars__rest > div { padding-block-start: 1.25rem; border-block-start: 2px solid var(--bdr); }
.pillars__rest h3 { font-size: var(--step-1); }
.pillars__rest p { margin-block-start: .4rem; font-size: var(--step--1); color: var(--gray-soft); }

/* The closing estimate form is a form, not a banner. Left unconstrained it
   inherits the full 1200px container, giving 1144px-wide inputs and a button
   that reads as a stripe rather than a control. */
.section--green .panel.estimate { max-inline-size: 34rem; }

/* ─── long-form content (about, terms, privacy, careers) ────────────────── */
.longform { max-inline-size: 70ch; }
.longform h2 {
  font-size: var(--step-1);
  margin-block: 2rem .6rem;
  padding-block-start: 1.25rem;
  border-block-start: 2px solid var(--bdr);
}
.longform h2:first-child { margin-block-start: 0; padding-block-start: 0; border-block-start: 0; }
.longform p { margin-block-end: .9rem; }
.longform ul { margin-block: .75rem 1.25rem; padding-inline-start: 1.15rem; }
.longform li { margin-block-end: .4rem; }
.longform a { color: var(--emerald); }

/* ─── FAQs ──────────────────────────────────────────────────────────────── */
.faq-layout { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 64rem) {
  .faq-layout { grid-template-columns: minmax(0,1fr) 20rem; gap: 2.25rem; }
  .faq-layout .summary { position: sticky; inset-block-start: 96px; }
}
.faq-group + .faq-group { margin-block-start: 2.5rem; }
.faq-group > h2 { font-size: var(--step-1); margin-block-end: .9rem; }

/* <details> carries the open/closed state natively, so this needs no script
   and keeps working with JavaScript off. */
.faq {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-block-end: .75rem;
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-block-size: 56px; padding: .9rem 1.15rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex-shrink: 0;
  inline-size: 10px; block-size: 10px;
  border-inline-end: 2px solid var(--base-text);
  border-block-end: 2px solid var(--base-text);
  rotate: 45deg;
  transition: rotate 200ms var(--ease);
}
.faq[open] summary::after { rotate: -135deg; }
.faq summary:hover { background: var(--cream); }
.faq__body { padding: 0 1.15rem 1.15rem; font-size: var(--step--1); color: var(--gray); }
.faq__body ul { margin-block: .5rem 0; padding-inline-start: 1.1rem; }
.faq__body li { margin-block-end: .3rem; }

/* ─── honeypot ──────────────────────────────────────────────────────────── */
/* Off-screen rather than display:none: some bots skip hidden inputs, and
   screen readers skip it because the wrapper is aria-hidden. */
.trap {
  position: absolute !important;
  inline-size: 1px; block-size: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

/* ─── Editorial rhythm and service browsing ─────────────────────────────── */
.sec-head--split { max-inline-size: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.sec-head--split > div { max-inline-size: 39rem; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; min-block-size: 44px; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link > span { font-size: 1.25em; }
.card__media--type { display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: var(--green); color: var(--on-green); }
.card__media--type span { font-size: var(--step--2); letter-spacing: .06em; text-transform: uppercase; }
.card__media--type strong { font-family: 'Poppins', sans-serif; font-size: var(--step-2); line-height: 1.2; font-weight: 600; }
.catalogue-filter { padding-block: 1.75rem; background: var(--white); border-block-end: 1px solid var(--bdr); }
.filter-label { display: block; color: var(--gray-soft); font-size: var(--step--2); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-block-end: .65rem; }
.filter-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.filter-nav a { display: inline-flex; align-items: center; min-block-size: 44px; padding-block: .4rem; color: var(--gray); text-decoration: none; font-size: var(--step--1); border-block-end: 2px solid transparent; }
.filter-nav a:hover, .filter-nav a[aria-current="page"] { color: var(--ink); border-block-end-color: var(--base); }
.filter-nav a[aria-current="page"] { font-weight: 600; }
.closing-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.closing-cta h2 { max-inline-size: 19ch; }
.closing-cta p { margin-block-start: 1rem; }
.closing-cta__actions { display: grid; gap: .75rem; justify-items: start; }
.closing-cta .text-link { color: var(--on-green); font-size: var(--step--1); }
.lookup-form { max-inline-size: 46rem; }
.lookup-form .faint { margin-block-start: 1rem; }
.panel > .btn[type="submit"] { margin-block-start: 1.25rem; }
.panel .field > .btn[type="submit"] { margin-block-start: .25rem; }
@media (max-width: 48rem) {
  .sec-head--split, .closing-cta { flex-direction: column; align-items: start; }
  .sec-head--split { gap: .5rem; }
  .closing-cta__actions { inline-size: 100%; }
}
@media (max-width: 25rem) {
  .brand__name { font-size: .95rem; }
  .brand img { inline-size: 36px; block-size: 36px; }
  .site-head__bar { gap: .5rem; }
  .nav-toggle { padding-inline: .65rem; }
}

/* ─── Staff workspace: a focused surface, separate from marketing ───────── */
.staff-shell { display: flex; flex-direction: column; }
.staff-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem clamp(1.15rem, 4vw, 3.5rem); background: var(--green); }
.staff-head__back { color: var(--on-green); min-block-size: 44px; display: inline-flex; align-items: center; gap: .75rem; font-size: var(--step--1); text-decoration: none; }
.staff-head__back:hover { text-decoration: underline; }
.staff-main { flex: 1; inline-size: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; padding-block: clamp(2.5rem, 8vw, 6rem); }
.staff-notices { max-inline-size: 38rem; margin-inline: auto; margin-block-end: 1.5rem; }
.staff-auth { display: grid; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.staff-intro h1 { font-size: clamp(2.1rem, 3.6vw, 3.5rem); max-inline-size: 15ch; line-height: 1.15; }
.staff-intro > p { margin-block-start: 1.25rem; }
.staff-intro__note { margin-block-start: 3rem; font-size: var(--step--1); color: var(--gray-soft); }
.staff-rule { display: block; inline-size: 3rem; block-size: 3px; background: var(--base); margin-block-end: 1rem; }
.staff-card { background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); }
.staff-card h2 { font-size: var(--step-2); }
.staff-card__heading { margin-block-end: 1.75rem; }
.staff-card__heading p { margin-block-start: .5rem; color: var(--gray-soft); font-size: var(--step--1); }
.staff-card .field { margin-block-start: 1.25rem; }
.staff-reset { display: flex; align-items: center; justify-content: end; min-block-size: 44px; margin-block: .25rem 1rem; font-size: var(--step--1); }
.staff-card__foot { margin-block-start: 1.75rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--bdr); font-size: var(--step--1); color: var(--gray-soft); }
.staff-focus { max-inline-size: 36rem; margin-inline: auto; }
.staff-focus__head { margin-block-end: 2rem; }
.staff-focus__head h1 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.staff-focus__head > p { margin-block-start: .85rem; }
.staff-card > .faint { margin-block-start: .75rem; }
.staff-card .btn { margin-block-start: 1.5rem; }
.staff-card .staff-reset + .btn { margin-block-start: 0; }
.staff-code-form { margin-block-start: 1.5rem; }
.staff-exit { display: flex; justify-content: center; margin-block-start: 1rem; }
.text-button { display: inline-flex; align-items: center; min-block-size: 44px; padding: .4rem .75rem; font: inherit; color: var(--emerald); background: transparent; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.setup-key { font-family: ui-monospace, monospace !important; font-size: .9rem !important; letter-spacing: .025em; }
.recovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; list-style: none; padding: 0; margin-block: 1.5rem; }
.recovery-grid li { padding-block: .65rem; border-block-end: 1px solid var(--bdr); }
.recovery-grid code { font-size: var(--step--1); color: var(--ink); overflow-wrap: anywhere; }
.staff-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 1.25rem clamp(1.15rem, 4vw, 3.5rem); border-block-start: 1px solid var(--bdr); font-size: var(--step--2); color: var(--gray-soft); }
.staff-foot a { color: inherit; }
.staff-workspace { max-inline-size: 52rem; margin-inline: auto; }
.workspace-account { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.75rem; border-block: 1px solid var(--bdr); }
.workspace-account h2 { font-size: var(--step-1); }
.workspace-account p { font-size: var(--step--1); margin-block-start: .35rem; overflow-wrap: anywhere; }
.workspace-links { margin-block-start: 1rem; }
.workspace-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-block-end: 1px solid var(--bdr); color: var(--ink); font-weight: 500; text-decoration: none; }
.workspace-links a:hover { color: var(--emerald); }
.workspace-links small { display: block; font-size: var(--step--1); font-weight: 400; color: var(--gray-soft); margin-block-start: .25rem; }
@media (min-width: 56rem) { .staff-auth { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); } }
@media (max-width: 40rem) {
  .staff-head { align-items: start; gap: .75rem; }
  .staff-head__back { font-size: var(--step--2); max-inline-size: 6rem; line-height: 1.4; }
  .staff-intro__note { display: none; }
  .staff-intro h1 { max-inline-size: none; }
  .staff-auth { gap: 1.75rem; }
  .workspace-account { flex-direction: column; align-items: start; }
}

.approach-layout { display: grid; gap: 1.5rem; }
.approach-layout .sec-head { margin-block-end: 0; }
@media (min-width: 56rem) { .approach-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (max-width: 60rem) { body.nav-open { overflow: hidden; } }

/* Compact service browsing and quantities on phones. */
@media (max-width: 40rem) {
  .grid--services { gap: 1rem; }
  .grid--services .card { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .grid--services .card__media { aspect-ratio: auto; min-block-size: 12rem; }
  .grid--services .card__body { min-inline-size: 0; padding: .85rem; gap: .35rem; }
  .grid--services .card__body h3 { font-size: var(--step-0); }
  .grid--services .card__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-block-end: .5rem; }
  .grid--services .card__foot { flex-wrap: wrap; gap: .1rem .5rem; padding-block-start: .5rem; }
  .grid--services .price { font-size: var(--step--1); }
  .grid--services .card__go { margin-inline-start: auto; }
  .grid--services .card__media--type { padding: 1rem; }
  .grid--services .card__media--type strong { font-size: var(--step-1); }
  .grid--services .card__media--type span { font-size: .65rem; }
  .site-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
  .site-foot__cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
  .opt-row { flex-direction: row; align-items: center; }
  .opt-row__right { flex-direction: column; align-items: flex-end; gap: .35rem; }
  .opt-row__name { font-size: var(--step--1); }
}
.tick { min-block-size: 44px; align-items: center; }
.tick input { margin-block-start: 0; }

/* Authenticator provisioning stays local; preserve a white QR quiet zone in dark mode. */
.authenticator-qr { margin-block: 1.5rem; display: grid; justify-items: center; gap: .75rem; }
.authenticator-qr img { inline-size: min(100%, 256px); block-size: auto; background: #fff; image-rendering: pixelated; }
.authenticator-qr figcaption { max-inline-size: 29ch; text-align: center; font-size: var(--step--1); color: var(--gray-soft); }
.authenticator-manual { border-block: 1px solid var(--bdr); padding-block: .5rem; margin-block-start: 1rem; }
.authenticator-manual summary { min-block-size: 44px; padding-block: .6rem; cursor: pointer; font-size: var(--step--1); color: var(--emerald); }
.authenticator-manual .field { margin-block-start: .5rem; }
.authenticator-manual .faint { margin-block: .5rem; }

/* ─── Staff workspace: operations, CRM and analytics ──────────────────────
   A working tool, so denser than the marketing site: hairline panels on
   cream, no lift, Poppins figures with tabular numerals, one accent family.
   Chips always carry a word; colour only reinforces it. */
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.block { display: block; }
.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prewrap { white-space: pre-line; overflow-wrap: anywhere; }
.pad-t-btn { margin-block-start: 1.25rem; }
.staff-shell--app input[type="date"], .staff-shell--app input[type="time"], .staff-shell--app input[type="datetime-local"], .staff-shell--app input[type="url"], .staff-shell--app input:not([type]) {
  inline-size: 100%; min-inline-size: 0; min-block-size: 50px; padding: .7rem .9rem; font: inherit; font-family: 'Rubik', sans-serif;
  color: var(--gray); background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius-sm);
}
.staff-shell--app input[type="date"]:focus-visible, .staff-shell--app input[type="time"]:focus-visible, .staff-shell--app input:not([type]):focus-visible { border-color: var(--emerald); outline: 3px solid var(--base); outline-offset: 1px; }
.btn--sm { min-block-size: 44px; padding: .45rem 1.05rem; font-size: var(--step--1); }
.btn--danger { color: #9b2019; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.staff-shell--app .staff-head { position: sticky; inset-block-start: 0; z-index: 20; padding-block: .6rem; gap: 1rem; }
.ws-search { flex: 1; max-inline-size: 30rem; }
.ws-search input { min-block-size: 44px; background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 22%); color: var(--on-green); }
.ws-search input::placeholder { color: rgb(255 255 255 / 70%); }
.ws-user { display: flex; align-items: center; gap: .75rem; color: var(--on-green); font-size: var(--step--1); }
.ws-user__out { min-block-size: 44px; padding-inline: .9rem; background: transparent; color: var(--on-green); border: 1px solid rgb(255 255 255 / 30%); border-radius: var(--radius-sm); font: inherit; cursor: pointer; }
.ws-user__out:hover { background: rgb(255 255 255 / 10%); }
/* Light/dark switch, in both headers: the quiet outline of Sign out, one
   icon per mode. Both headers sit on the green field. */
.mode-switch { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-block-size: 44px; min-inline-size: 44px; padding-inline: .75rem; background: transparent; color: var(--on-green); border: 1px solid rgb(255 255 255 / 30%); border-radius: var(--radius-sm); font: inherit; font-size: var(--step--1); cursor: pointer; transition: background-color 160ms var(--ease); }
.mode-switch:hover { background: rgb(255 255 255 / 10%); }
.mode-switch__icon { display: none; flex-shrink: 0; }
.mode-switch[data-mode="auto"] .mode-switch__icon--auto, .mode-switch[data-mode="light"] .mode-switch__icon--light, .mode-switch[data-mode="dark"] .mode-switch__icon--dark { display: block; }
.nav .mode-switch { margin-inline-start: .4rem; }

.ws { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.ws-nav { display: flex; gap: .25rem; overflow-x: auto; padding: .5rem var(--gutter); background: var(--white); border-block-end: 1px solid var(--bdr); scrollbar-width: thin; }
.ws-nav a { position: relative; display: inline-flex; align-items: center; gap: .55rem; min-block-size: 44px; padding-inline: .8rem; border-radius: var(--radius-sm); color: var(--gray); text-decoration: none; font-weight: 500; font-size: var(--step--1); white-space: nowrap; }
.ws-nav a:hover { color: var(--ink); background: var(--cream); }
.ws-nav a[aria-current="page"] { color: var(--ink); background: var(--cream); box-shadow: inset 0 -3px 0 var(--base); }
.ws-nav svg { flex-shrink: 0; color: var(--emerald); }
.ws-badge { min-inline-size: 1.4rem; padding: 0 .4rem; border-radius: 99px; background: var(--base); color: var(--on-base); font-size: var(--numeral-sm); font-weight: 700; text-align: center; line-height: 1.4rem; font-variant-numeric: tabular-nums; }
.ws-main { min-inline-size: 0; padding: clamp(1.25rem, 3vw, 2.25rem) var(--gutter) 3rem; }
@media (min-width: 64rem) {
  .ws { grid-template-columns: 14.5rem minmax(0, 1fr); }
  .ws-nav { flex-direction: column; overflow: visible; padding: 1.25rem .75rem; border-block-end: 0; border-inline-end: 1px solid var(--bdr); position: sticky; inset-block-start: 4rem; align-self: start; min-block-size: calc(100vh - 4rem); }
  .ws-nav a { padding-inline: .85rem; }
  .ws-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--base); }
  .ws-nav .ws-badge { margin-inline-start: auto; }
  .ws-main { padding-inline: clamp(1.5rem, 3vw, 3rem); }
}
@media (max-width: 48rem) {
  .staff-shell--app .staff-head { flex-wrap: wrap; }
  .staff-shell--app .brand__sub, .ws-user__name, .ws-user .mode-switch__label { display: none; }
  .ws-user .mode-switch { padding-inline: 0; }
  .ws-search { order: 3; flex-basis: 100%; max-inline-size: none; }
}

.ws-page { max-inline-size: 84rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.ws-page--narrow { max-inline-size: 46rem; }
.ws-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.ws-title h1 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.ws-title .tagline { margin-block-end: .25rem; }
.ws-title__meta { margin-block-start: .6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: var(--step--1); }
.ws-title__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ws-back { justify-self: start; display: inline-flex; align-items: center; min-block-size: 44px; font-size: var(--step--1); color: var(--emerald); text-decoration: none; margin-block-end: -1rem; }
.ws-back:hover { text-decoration: underline; }
.ws-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-block-end: 1rem; }
.ws-section-head h2, .ws-panel h2 { font-size: var(--step-1); }
.ws-panel > h2 { margin-block-end: 1rem; }
.ws-section-head a { font-size: var(--step--1); color: var(--emerald); }
.ws-panel { background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); padding: clamp(1rem, 2.4vw, 1.5rem); min-inline-size: 0; }
.ws-panel h3 { font-size: var(--step-0); }
.ws-empty { color: var(--gray-soft); font-size: var(--step--1); }
.ws-panel.ws-empty { padding-block: 2.5rem; text-align: center; }
.ws-count { font-size: var(--step--1); color: var(--gray-soft); margin-block-end: -.75rem; }
.ws-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 60rem) { .ws-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.ws-detail__main, .ws-detail__side { display: grid; gap: 1.5rem; min-inline-size: 0; }
@media (min-width: 70rem) { .ws-detail { grid-template-columns: minmax(0, 1fr) 22rem; } }

/* KPI tiles: one number, one label, one comparison in words. */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); overflow: hidden; }
/* Hairline dividers that never leave an empty block when tiles wrap: each tile
   draws its trailing edges and the container clips the outermost ones. */
.kpi { padding: 1rem 1.15rem; display: grid; align-content: start; gap: .2rem; border-inline-end: 1px solid var(--bdr); border-block-end: 1px solid var(--bdr); margin-inline-end: -1px; margin-block-end: -1px; }
.kpi dt { font-size: var(--step--1); color: var(--gray-soft); }
.kpi dd { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.7rem); color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.25; }
.kpi dd.kpi__text { font-size: var(--step-0); padding-block-start: .35rem; }
.kpi p { font-size: var(--step--2); color: var(--gray-soft); }
.kpis--compact .kpi dd { font-size: var(--step-1); }
.delta { font-weight: 600; color: var(--gray-soft); }
.delta--good { color: var(--emerald); }
.delta--bad { color: #a3241c; }

.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .55rem; border-radius: 99px; font-size: var(--step--2); font-weight: 600; line-height: 1.6; white-space: nowrap; border: 1px solid transparent; }
.chip::before { content: ""; inline-size: .45rem; block-size: .45rem; border-radius: 50%; background: currentColor; }
.chip--quiet::before { display: none; }
/* Chip tones come from the theme: a light wash of the colour on the card
   surface, and text mixed from the theme's AA-checked text colour toward ink,
   which only ever adds contrast. One rule serves light and dark mode. */
.chip--warn { background: color-mix(in srgb, var(--base) 24%, var(--white)); color: color-mix(in srgb, var(--base-text) 55%, var(--ink)); }
.chip--info { background: color-mix(in srgb, var(--emerald) 12%, var(--white)); color: color-mix(in srgb, var(--emerald) 65%, var(--ink)); }
.chip--live { background: var(--green); color: var(--on-green); }
.chip--ok { background: color-mix(in srgb, var(--emerald) 18%, var(--white)); color: color-mix(in srgb, var(--emerald) 55%, var(--ink)); }
.chip--muted { background: var(--cream); color: var(--gray-soft); border-color: var(--bdr); }
.chip--quiet { background: transparent; border-color: var(--bdr); }
.chip--quiet.chip--warn { color: color-mix(in srgb, var(--base-text) 55%, var(--ink)); border-color: color-mix(in srgb, var(--base) 55%, var(--white)); }
.chip--quiet.chip--ok { color: var(--emerald); }

.tabs { position: relative; display: flex; gap: .25rem; overflow-x: auto; border-block-end: 1px solid var(--bdr); scrollbar-width: thin; }
.tabs a { display: inline-flex; align-items: center; gap: .4rem; min-block-size: 44px; padding-inline: .85rem; color: var(--gray); text-decoration: none; font-size: var(--step--1); font-weight: 500; white-space: nowrap; border-block-end: 3px solid transparent; margin-block-end: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-block-end-color: var(--base); font-weight: 600; }
.tabs__n { font-size: var(--step--2); color: var(--gray-soft); font-variant-numeric: tabular-nums; }
.tabs__end { margin-inline-start: auto; color: var(--emerald) !important; }

.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; }
.filters .field { margin-block-start: 0; flex: 1 1 11rem; }
.filters .filters__q { flex: 3 1 16rem; }
.filters__more { flex-basis: 100%; order: 3; }
.filters__more summary, .summary-link { display: inline-flex; align-items: center; min-block-size: 44px; cursor: pointer; font-size: var(--step--1); color: var(--emerald); }
.filters__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .75rem 1rem; }
.filters__grid .field { margin-block-start: 0; }
.filters__go { display: flex; gap: .5rem; }

.ws-table-wrap { position: relative; background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); overflow-x: auto; }
.ws-panel .ws-table-wrap { border: 0; border-radius: 0; margin-inline: calc(-1 * clamp(1rem, 2.4vw, 1.5rem)); }
.ws-table { inline-size: 100%; border-collapse: collapse; font-size: var(--step--1); }
.ws-table th, .ws-table td { padding: .8rem 1rem; text-align: start; vertical-align: top; border-block-end: 1px solid var(--bdr); }
.ws-table th.num, .ws-table td.num { text-align: end; }
.ws-table thead th { font-weight: 600; color: var(--gray-soft); font-size: var(--step--2); text-transform: uppercase; letter-spacing: .05em; background: var(--cream); white-space: nowrap; }
.ws-table tbody tr:last-child > * { border-block-end: 0; }
.ws-table tbody tr:hover { background: color-mix(in srgb, var(--cream) 55%, transparent); }
.ws-table__link { font-weight: 600; color: var(--ink); }
.ws-table td .chip { margin-block-end: .2rem; }
.ws-table--plain { margin-block-start: 1rem; }
.row--off { opacity: .6; }
/* Phones: each row becomes a labelled card rather than a sideways scroll. */
@media (max-width: 44rem) {
  .ws-table thead { display: none; }
  .ws-table, .ws-table tbody, .ws-table tr, .ws-table td { display: block; }
  .ws-table tr { padding: .75rem 1rem; border-block-end: 1px solid var(--bdr); }
  .ws-table tbody tr:last-child { border-block-end: 0; }
  .ws-table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; padding: .3rem 0; border: 0; text-align: start; }
  .ws-table td.num { text-align: start; }
  .ws-table td::before { content: attr(data-label); color: var(--gray-soft); font-size: var(--step--2); padding-block-start: .15rem; }
  .ws-table td[data-label=""]::before { content: none; }
}
.pager { display: flex; align-items: center; justify-content: end; gap: .75rem; font-size: var(--step--1); color: var(--gray-soft); }

.joblist, .feed, .queue, .tasks, .inbox, .timeline, .plain-list, .ranked { list-style: none; padding: 0; margin: 0; }
.joblist li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .75rem; align-items: start; padding-block: .8rem; border-block-end: 1px solid var(--bdr); }
.joblist li:last-child { border-block-end: 0; }
.joblist__time { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; padding-block-start: .1rem; }
.joblist__main { display: grid; gap: .1rem; color: var(--gray); text-decoration: none; font-size: var(--step--1); min-block-size: 44px; }
.joblist__main strong { color: var(--ink); font-size: var(--step-0); }
.joblist__main:hover strong { color: var(--emerald); text-decoration: underline; }

.queue > li { border-block-end: 1px solid var(--bdr); }
.queue > li:last-child { border-block-end: 0; }
.queue > li > a { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .75rem; align-items: start; padding-block: .75rem; color: var(--gray); text-decoration: none; }
.queue > li > a:hover strong { text-decoration: underline; }
.queue strong { display: block; color: var(--ink); font-size: var(--step--1); }
.queue small { display: block; font-size: var(--step--2); color: var(--gray-soft); }
.queue__n { display: grid; place-items: center; block-size: 2.4rem; border-radius: var(--radius-sm); background: var(--cream); font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--gray-soft); font-variant-numeric: tabular-nums; }
.queue--on .queue__n { background: var(--base); color: var(--on-base); }
.queue__items { list-style: none; margin: -.25rem 0 .75rem; padding-inline-start: 3.5rem; font-size: var(--step--2); display: grid; gap: .3rem; }

.feed li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; padding-block: .55rem; font-size: var(--step--1); border-block-end: 1px solid var(--bdr); }
.feed li:last-child { border-block-end: 0; }
.feed__when { color: var(--gray-soft); font-size: var(--step--2); font-variant-numeric: tabular-nums; padding-block-start: .15rem; }

.loadtable { inline-size: 100%; border-collapse: collapse; font-size: var(--step--1); }
.loadtable th, .loadtable td { padding: .5rem .25rem; border-block-end: 1px solid var(--bdr); text-align: start; }
.loadtable thead { display: none; }
.loadtable tbody tr:last-child > * { border-block-end: 0; }
.loadtable th a { color: var(--ink); font-weight: 500; }
.loadtable td:last-child { inline-size: 45%; }
.loadtable td.num { color: var(--gray-soft); padding-inline-end: 1rem; }

/* Ranked list: the label and value are text; the bar is a meter beneath. */
.ranked li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; padding-block: .55rem; font-size: var(--step--1); }
.ranked__label { color: var(--ink); overflow-wrap: anywhere; }
.ranked__value { color: var(--gray-soft); font-variant-numeric: tabular-nums; text-align: end; }
.ranked__bar { grid-column: 1 / -1; display: block; block-size: 8px; border-radius: 4px; background: var(--cream); overflow: hidden; }
.loadtable .ranked__bar { inline-size: 100%; }
.ranked__bar > span { display: block; block-size: 100%; background: var(--emerald); border-radius: 4px; }
.ranked__bar--full > span { background: var(--base-deep); }
.w0 { inline-size: 0; } .w5 { inline-size: 5%; } .w10 { inline-size: 10%; } .w15 { inline-size: 15%; } .w20 { inline-size: 20%; }
.w25 { inline-size: 25%; } .w30 { inline-size: 30%; } .w35 { inline-size: 35%; } .w40 { inline-size: 40%; } .w45 { inline-size: 45%; }
.w50 { inline-size: 50%; } .w55 { inline-size: 55%; } .w60 { inline-size: 60%; } .w65 { inline-size: 65%; } .w70 { inline-size: 70%; }
.w75 { inline-size: 75%; } .w80 { inline-size: 80%; } .w85 { inline-size: 85%; } .w90 { inline-size: 90%; } .w95 { inline-size: 95%; } .w100 { inline-size: 100%; }

/* Server-rendered SVG chart. */
.chart { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.chart__grid { stroke: var(--bdr); stroke-width: 1; stroke-dasharray: 2 4; }
.chart__base { stroke: var(--gray-soft); stroke-width: 1; }
.chart__axis { fill: var(--gray-soft); font-family: 'Rubik', sans-serif; font-size: 11px; font-variant-numeric: tabular-nums; }
.chart__bar { fill: var(--emerald); }
.chart__hit { fill: transparent; }
.chart__mark:hover .chart__bar { fill: var(--green); }
.chart__mark:hover .chart__hit { fill: color-mix(in srgb, var(--emerald) 8%, transparent); }
.table-toggle { margin-block-start: .75rem; }
.table-toggle summary { display: inline-flex; align-items: center; min-block-size: 44px; cursor: pointer; font-size: var(--step--1); color: var(--emerald); }

.heat { border-collapse: separate; border-spacing: 3px; font-size: var(--step--2); inline-size: 100%; }
.heat th { color: var(--gray-soft); font-weight: 500; text-align: center; padding: .2rem; font-variant-numeric: tabular-nums; }
.heat tbody th { text-align: start; padding-inline-end: .5rem; }
.heat td { block-size: 2.1rem; min-inline-size: 2.1rem; border-radius: 4px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--cream); }
/* Heat steps follow the theme: two washes with ink text, then the link
   colour and two steps toward ink, carrying the card surface colour as text
   (the theme holds --emerald at AA against --white in both modes). */
.heat--1 { background: color-mix(in srgb, var(--emerald) 14%, var(--white)) !important; color: var(--ink); }
.heat--2 { background: color-mix(in srgb, var(--emerald) 30%, var(--white)) !important; color: var(--ink); }
.heat--3 { background: var(--emerald) !important; color: var(--white); }
.heat--4 { background: color-mix(in srgb, var(--emerald) 72%, var(--ink)) !important; color: var(--white); }
.heat--5 { background: color-mix(in srgb, var(--emerald) 50%, var(--ink)) !important; color: var(--white); }

.rangebar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.rangebar .tabs { flex: 1 1 28rem; }
.rangebar__custom { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.rangebar__custom .field { flex: 1 1 8.5rem; }
.rangebar__custom .field { margin-block-start: 0; }
.rangebar__custom label { font-size: var(--step--2); }

.facts { display: grid; gap: .65rem; margin: 0; }
.facts > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; font-size: var(--step--1); }
.facts > div { display: block; min-inline-size: 0; }
.facts dt { color: var(--gray-soft); }
.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.facts--tight > div { grid-template-columns: minmax(0, 1fr) auto; }
.callout { margin-block-start: 1rem; padding: .85rem 1rem; border: 1px solid var(--bdr); background: var(--cream); border-radius: var(--radius-sm); font-size: var(--step--1); }
.callout strong { display: block; color: var(--ink); margin-block-end: .2rem; }
.lines { inline-size: 100%; border-collapse: collapse; font-size: var(--step--1); }
.lines td, .lines th { padding: .55rem 0; border-block-end: 1px solid var(--bdr); text-align: start; font-weight: 400; }
.lines tfoot th { color: var(--gray-soft); }
.lines__sum th, .lines__sum td { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); border-block-end: 0; font-size: var(--step-0); }
.plain-list { display: grid; gap: .55rem; font-size: var(--step--1); margin-block-start: .5rem; }

.ws-person { font-size: var(--step-0); }
.ws-person a { color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: .85rem; }
.ws-title .contact-actions { margin-block-start: 0; }
.actions { display: grid; gap: .75rem; }
.actions--row { display: flex; flex-wrap: wrap; gap: .5rem; }
.action-form .tick, .action-detail .tick { margin-block: .25rem .5rem; }
.action-form .faint { margin-block-end: .25rem; }
.action-detail summary { list-style: none; }
.action-detail summary::-webkit-details-marker { display: none; }
.action-detail[open] summary { margin-block-end: .5rem; }
.action-detail .field { margin-block-start: .25rem; }
.inline-form { display: flex; align-items: end; gap: .5rem; }
.inline-form .field { flex: 1; margin-block-start: 0; }
.summary-h { display: inline; font-size: var(--step-1); }
.ws-panel details > summary { cursor: pointer; min-block-size: 44px; display: flex; align-items: center; }
.ws-panel .action-detail > summary { display: inline-flex; }
.summary-hint { margin-inline-start: auto; font-size: var(--step--1); color: var(--emerald); }
details[open] > summary .summary-hint { display: none; }
.ws-panel .btn--sm { margin-block-start: .75rem; }
.ws-panel .inline-form .btn--sm, .contact-actions .btn--sm, .actions--row .btn--sm, .action-detail summary.btn { margin-block-start: 0; }

.tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-block-start: .35rem; }
.tag { padding: .05rem .5rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--bdr); font-size: var(--step--2); color: var(--gray); text-decoration: none; }
a.tag:hover { border-color: var(--emerald); color: var(--emerald); }

.seg { display: flex; flex-wrap: wrap; gap: .35rem; border: 0; padding: 0; margin: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: .85rem; border: 1px solid var(--bdr); border-radius: var(--radius-sm); font-size: var(--step--1); color: var(--gray); background: var(--white); }
.seg input:checked + span { border-color: var(--emerald); color: var(--ink); background: color-mix(in srgb, var(--emerald) 10%, var(--white)); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--base); outline-offset: 2px; }
.log-form .field { margin-block-start: .75rem; }

.timeline li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; padding-block: .8rem; font-size: var(--step--1); border-block-end: 1px solid var(--bdr); }
.timeline li:last-child { border-block-end: 0; }
.timeline strong { color: var(--ink); }
.timeline p { margin-block-start: .25rem; }
.timeline .chip { margin-inline-start: .25rem; }

.tasks li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .5rem; align-items: start; padding-block: .5rem; border-block-end: 1px solid var(--bdr); font-size: var(--step--1); }
.tasks li:last-child { border-block-end: 0; }
.tasks strong { display: block; color: var(--ink); font-weight: 500; }
.tasks small { display: block; color: var(--gray-soft); font-size: var(--step--2); }
.tasks--late small { color: #a3241c; font-weight: 600; }
.tasks--done strong { text-decoration: line-through; color: var(--gray-soft); }
.task-tick { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border: 0; background: transparent; cursor: pointer; color: transparent; padding: 0; }
.task-tick svg { box-sizing: content-box; padding: 2px; border: 2px solid var(--bdr); border-radius: 50%; }
.task-tick:hover { color: var(--emerald); }
.task-tick:hover svg { border-color: var(--emerald); }
.tasks--done .task-tick { color: var(--on-green); }
.tasks--done .task-tick svg { background: var(--emerald); border-color: var(--emerald); }
.ws-panel.tasks { padding-block: .5rem; }

.inbox { display: grid; gap: .5rem; }
.inbox a { display: grid; gap: .3rem; padding: 1rem 1.15rem; background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); color: var(--gray); text-decoration: none; font-size: var(--step--1); }
.inbox a:hover { border-color: var(--emerald); }
.inbox--new a { border-color: var(--base); }
.inbox__head { display: flex; justify-content: space-between; gap: 1rem; }
.inbox__head strong { color: var(--ink); font-size: var(--step-0); }
.inbox__meta { display: flex; align-items: center; gap: .4rem; color: var(--gray-soft); font-size: var(--step--2); }
.message { font-size: var(--step-0); color: var(--ink); line-height: 1.7; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .delta--bad, :root:not([data-theme="light"]) .tasks--late small, :root:not([data-theme="light"]) .btn--danger { color: #ff9c92; }
  :root:not([data-theme="light"]) .ws-search input { background: rgb(255 255 255 / 6%); }
}
:root[data-theme="dark"] .delta--bad, :root[data-theme="dark"] .tasks--late small, :root[data-theme="dark"] .btn--danger { color: #ff9c92; }

/* ─── Workspace, round 2: new booking, schedule, hours, payments ───────── */
.pad-t-sm { margin-block-start: 1rem; }
.nb { display: grid; gap: 1.5rem; }
fieldset.ws-panel { margin: 0; min-inline-size: 0; }
.nb__legend { float: inline-start; inline-size: 100%; margin-block-end: .75rem; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: var(--step-1); color: var(--ink); padding: 0; }
.nb__legend + * { clear: both; }
.nb-options { list-style: none; margin: 0; padding: 0; }
.nb-options li { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem; gap: 1rem; align-items: center; padding-block: .6rem; border-block-end: 1px solid var(--bdr); }
.nb-options label { display: grid; gap: .1rem; font-size: var(--step--1); color: var(--ink); cursor: pointer; }
.nb-options small { color: var(--gray-soft); font-variant-numeric: tabular-nums; }
.nb-options input { text-align: center; }
.nb-estimate { margin-block-start: 1rem; font-size: var(--step--1); }
.nb-estimate strong { font-family: 'Poppins', sans-serif; font-size: var(--step-1); color: var(--ink); font-variant-numeric: tabular-nums; }
.nb .btn--base { margin-block-start: 1rem; }

.sheet__jobs { list-style: none; margin: 0; padding: 0; }
.sheet__job { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-block-start: 1px solid var(--bdr); }
.sheet__job--done { opacity: .55; }
.sheet__time { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: var(--step-1); color: var(--ink); font-variant-numeric: tabular-nums; }
.sheet__title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-weight: 600; color: var(--ink); }
.sheet__title a { color: var(--ink); }
.sheet__body .faint { margin-block: .25rem .5rem; }
.facts--sheet > div { grid-template-columns: 7rem minmax(0, 1fr); }

.hours th[scope="row"] { font-weight: 600; color: var(--ink); vertical-align: middle; }
.hours td { vertical-align: middle; }
.hours input[type="number"] { max-inline-size: 6rem; }
.hours__open { margin: 0; min-block-size: 44px; }
.closed-date { grid-template-columns: auto minmax(0, 1fr) !important; align-items: center !important; }
.closed-date .btn--sm { margin: 0; }
.refund { margin-block: .5rem; }
.refund form { margin-block-start: .5rem; padding: .75rem; background: var(--cream); border-radius: var(--radius-sm); }
.refund .field { margin-block-start: 0; }

@media print {
  .staff-head, .ws-nav, .staff-foot, .no-print, .skip, .notice { display: none !important; }
  body, .staff-shell, .ws-main, .ws-panel { background: #fff !important; color: #000 !important; }
  .ws { display: block; }
  .ws-main { padding: 0; }
  .ws-panel { border: 0; padding: 0; }
  .sheet { break-before: page; }
  .sheet:first-of-type { break-before: auto; }
  .sheet__job { break-inside: avoid; }
  a { color: #000 !important; text-decoration: none; }
  .chip { border: 1px solid #999; background: none !important; color: #000 !important; }
}
@media (max-width: 30rem) {
  .facts > div, .facts--sheet > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .sheet__job { grid-template-columns: 3.25rem minmax(0, 1fr); gap: .75rem; }
}

/* ─── Workspace, round 3: grouped nav, catalogue, coupons, reviews ─────── */
.ws-nav__group { display: none; }
@media (min-width: 64rem) {
  .ws-nav__group { display: block; padding: 1rem .85rem .35rem; font-family: 'Rubik', sans-serif; font-size: var(--step--2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-soft); }
  .ws-nav__group:first-child { padding-block-start: 0; }
  .ws-nav { gap: .1rem; }
  .ws-nav a { min-block-size: 40px; }
}
.cat-h { font-size: var(--step-1); margin-block: .5rem .75rem; }
.opts td { vertical-align: top; }
.opts input[type="text"], .opts input[type="number"] { min-block-size: 44px; padding: .5rem .6rem; }
.opts td:nth-child(2) input { inline-size: 7rem; text-align: end; font-variant-numeric: tabular-nums; }
.opts td:nth-child(3) input { inline-size: 7.5rem; }
.opts td:nth-child(4) input, .opts td:nth-child(7) input { inline-size: 4.5rem; }
.opts__desc { margin-block-start: .35rem; font-size: var(--step--1); }
.opts__new { background: color-mix(in srgb, var(--cream) 60%, transparent); }
.tick--cell { margin: 0; justify-content: center; min-block-size: 44px; }
.photo-current { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-block-start: .75rem; }
.photo-current img { inline-size: 240px; block-size: auto; border-radius: var(--radius-sm); border: 1px solid var(--bdr); }
.cat-row__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-block-start: .75rem; }
.cat-row__foot .tick { margin: 0; }
.cat-row__foot .btn--sm { margin: 0; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; color: var(--ink); }
.review { display: grid; gap: .6rem; }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.review__title { font-size: var(--step-0); }
.review__by { margin: 0; }
.stars { display: flex; align-items: center; gap: .5rem; font-size: var(--step--1); }
.stars__row { display: inline-flex; gap: 2px; }
.star--on { fill: var(--base-deep); }
.star--off { fill: var(--bdr); }
@media (max-width: 44rem) {
  .opts td:nth-child(n+2) input { inline-size: 100%; text-align: start; }
  .tick--cell { justify-content: start; }
}
.ws-stack { display: grid; gap: 1.5rem; min-inline-size: 0; }
.opts th, .opts td { padding: .55rem .45rem; }
.opts td:first-child { min-inline-size: 16rem; }
.opts td:nth-child(3) input { inline-size: 6.5rem; }
@media (max-width: 44rem) { .opts td:first-child { min-inline-size: 0; } }

/* ─── Public content sections: track record, team, our work, blog ─────────
   Placeholders are designed blanks in the .tbs family: a dashed cream frame
   naming the photo that belongs there, and an amber-ruled "Sample" tag on any
   sample text. Both disappear with the "Show sample content" switch. */
.sample-tag { display: inline-block; vertical-align: middle; margin-inline-start: .35rem; padding: .05rem .45rem; border: 1px dashed var(--base-deep); border-radius: var(--radius-sm); font-family: 'Rubik', sans-serif; font-size: var(--numeral-sm); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--base-text); background: transparent; line-height: 1.5; }
.section--green .sample-tag { color: var(--base-on-green, var(--base)); border-color: var(--base-on-green, var(--base)); }
.ph { display: grid; place-items: center; align-content: center; gap: .4rem; inline-size: 100%; aspect-ratio: 4 / 3; background: var(--cream); border: 1.5px dashed var(--bdr); border-radius: var(--radius); color: var(--gray-soft); font-size: var(--step--1); text-align: center; padding: 1rem; }
.ph svg { color: var(--base-deep); }

.statsband { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.statsband__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1.5rem 2rem; margin: 0; }
.statsband__item { display: flex; flex-direction: column-reverse; gap: .25rem; padding-block-start: .75rem; border-block-start: 1px solid rgb(255 255 255 / 28%); }
.statsband__item dd { margin: 0; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--on-green); line-height: 1.1; font-variant-numeric: tabular-nums; }
.statsband__item dt { color: rgb(255 255 255 / 80%); font-size: var(--step--1); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 1.75rem; }
.person { display: grid; gap: .35rem; align-content: start; }
.person__photo { inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-block-end: .5rem; }
.person h3 { font-size: var(--step-1); }
.person__role { color: var(--base-text); font-size: var(--step--1); font-weight: 600; }
.person__bio { color: var(--gray-soft); font-size: var(--step--1); }

.ba { display: grid; gap: .5rem; align-content: start; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-block-end: .5rem; }
.ba__pair figure { margin: 0; position: relative; }
.ba__img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.ba__pair .ph { border-radius: var(--radius-sm); font-size: var(--step--2); padding: .5rem; }
.ba__pair figcaption { position: absolute; inset-block-start: .4rem; inset-inline-start: .4rem; padding: .05rem .5rem; border-radius: var(--radius-sm); background: var(--green); color: var(--on-green); font-size: var(--numeral-sm); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.ba h3, .ba__title { font-size: var(--step-1); }

.projects { display: grid; gap: 2.5rem; }
.project { display: grid; gap: 1.5rem; align-items: start; }
.project__img { inline-size: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.project h3 { font-size: var(--step-2); }
.project > div > * + * { margin-block-start: .75rem; }
@media (min-width: 52rem) { .project:not(.project--text) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem; } }
.project--text { max-inline-size: 46rem; }

/* A job written up in words, for showcase items without a photo pair. */
.job { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--bdr); border-block-start: 3px solid var(--base); border-radius: var(--radius); }
.section--white .job { background: var(--cream); }
.job__service { margin: 0; color: var(--base-text); font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.job__title { margin: 0; font-size: var(--step-1); }
.job__meta { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin: 0; padding: 0; list-style: none; }
.job__meta li { padding: .1rem .6rem; border-radius: 999px; background: var(--cream); color: var(--gray); font-size: var(--step--1); }
.section--white .job__meta li { background: var(--white); }
.job__summary { margin: 0; color: var(--gray); }
.job__link { margin-block-start: auto; padding-block-start: .25rem; }

.post-card { display: grid; gap: .5rem; align-content: start; }
.post-card__media { display: block; margin-block-end: .5rem; }
.post-card__img { inline-size: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.post-card .ph { aspect-ratio: 16 / 10; }
.post-card h3, .post-card__title { font-size: var(--step-1); }
.post-card h3 a, .post-card__title a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover, .post-card__title a:hover { text-decoration: underline; }
.post__title { max-inline-size: 24ch; margin-block-start: 1rem; }
.post__lede { font-size: var(--step-1); color: var(--ink); }
.post__cover { inline-size: 100%; border-radius: var(--radius); margin-block-end: 1.5rem; }
.post__figure { margin: 0 0 1.5rem; }
.post__figure .post__cover { margin-block-end: 0; }
.post__credit { margin-block-start: .4rem; font-size: .8rem; color: var(--gray-soft); }
.text-link--light { color: var(--on-green); }
.quote__ctx { display: block; font-weight: 400; font-size: var(--step--1); color: var(--gray-soft); }

/* ─── Workspace, round 4: website content, pages, FAQs, settings, log ──── */
.post-card__media, .post-card__media:hover { text-decoration: none; }
.samples--open { border-block-start: 3px solid var(--base); }
.sample-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .5rem; }
.sample-list a { display: grid; gap: .2rem; min-block-size: 44px; padding: .85rem 1rem; border: 1px solid var(--bdr); border-radius: var(--radius-sm); background: var(--white); color: var(--gray); text-decoration: none; font-size: var(--step--1); }
.sample-list a:hover { border-color: var(--emerald); }
.sample-list strong { color: var(--ink); font-size: var(--step-0); }
.code-area { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--step--1); line-height: 1.6; }
.field small { display: block; margin-block-start: .2rem; }
.faq-edit > summary { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--ink); }
.faq-edit[open] > summary { margin-block-end: .5rem; }
.danger-zone { margin-block-start: 1rem; }
.danger-zone details { display: flex; gap: .75rem; align-items: center; }
.danger-zone details[open] { display: flex; flex-wrap: wrap; }
.danger-zone summary { list-style: none; display: inline-flex; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone .btn--sm { margin: 0; }
.danger-zone details[open] > .btn { margin-inline-start: .5rem; }
.gallery-admin { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.gallery-admin li { display: grid; gap: .4rem; align-content: start; font-size: var(--step--2); }
.gallery-admin img { inline-size: 100%; block-size: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--bdr); }
.gallery-admin .btn--sm { margin: 0; justify-self: start; }
.gallery-add { padding-block-start: 1rem; border-block-start: 1px solid var(--bdr); }
.audit-meta { font-size: var(--step--2); max-inline-size: 28rem; overflow-wrap: anywhere; }

/* ─── Compliance: cookie banner, review form ───────────────────────────────
   The banner is a non-modal region pinned to the bottom: it never blocks the
   page, and "Necessary only" is exactly as prominent as "Accept all". */
.narrow-panel { max-inline-size: 40rem; margin-inline: auto; }
.cookie-banner { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { max-inline-size: 64rem; margin-inline: auto; display: grid; gap: 1rem 2rem; padding: 1.25rem 1.5rem; background: var(--white); color: var(--gray); border: 1px solid var(--bdr); border-block-start: 3px solid var(--base); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cookie-banner__title { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; color: var(--ink); line-height: 1.2; font-size: var(--step-1); margin-block-end: .35rem; }
.cookie-banner p { font-size: var(--step--1); }
.cookie-banner__choices { margin-block-start: .5rem; }
.cookie-banner__choices .tick { margin-block: .25rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; align-content: start; }
.cookie-banner__actions .btn { flex: 1 1 8rem; min-block-size: 44px; padding: .4rem .75rem; font-size: var(--step--1); }
@media (max-width: 40rem) {
  .cookie-banner__inner { padding: 1rem; gap: .75rem; }
  .cookie-banner p { font-size: var(--step--2); }
  .cookie-banner__actions [data-cookie="choose"], .cookie-banner__actions [data-cookie="save"] { flex-basis: 100%; }
}
@media (min-width: 52rem) { .cookie-banner__inner { grid-template-columns: minmax(0, 1fr) 20rem; align-items: center; } }

.review-form h2 { margin-block-end: .35rem; }
.rating { border: 0; padding: 0; margin: 1rem 0 0; }
.rating__stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .25rem; }
.rating legend { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: var(--step--1); color: var(--ink); margin-block-end: .35rem; }
.rating input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.rating label { display: grid; place-items: center; inline-size: 44px; block-size: 44px; cursor: pointer; color: var(--bdr); }
.rating label svg { fill: currentColor; }
.rating label:hover, .rating label:hover ~ label, .rating input:checked ~ label { color: var(--base-deep); }
.rating input:focus-visible + label { outline: 3px solid var(--base); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ─── Promo popup ──────────────────────────────────────────────────────────
   A native modal dialog: focus moves in, Escape and the backdrop close it.
   Green band for the offer, amber for the one action, the code in a dashed
   "coupon" box. Small print comes from the code's real rules. */
.promo { margin: auto; inline-size: min(100% - 2rem, 26rem); max-block-size: calc(100dvh - 2rem); overflow-y: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--gray); box-shadow: var(--shadow-lg); overflow: hidden; }
.promo::backdrop { background: color-mix(in srgb, var(--green-2) 70%, transparent); }
.promo[open] { animation: promo-in 320ms var(--ease); }
@keyframes promo-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.promo > :not(.promo__close):not(.promo__big):not(.promo__badge) { margin-inline: 1.5rem; }
.promo__badge { position: absolute; inset-block-start: 1rem; inset-inline-start: 1.25rem; padding: .15rem .6rem; border-radius: 99px; background: var(--base); color: var(--on-base); font-family: 'Rubik', sans-serif; font-size: var(--numeral-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.promo .promo__big { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; text-wrap: balance; margin: 0; padding: 3.5rem 1.5rem 1.5rem; background: var(--green); color: var(--on-green); font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.promo .btn--block { inline-size: auto; }
.promo__text { margin-block-start: 1.25rem; font-size: var(--step--1); }
.promo__code { display: flex; align-items: center; gap: .75rem; margin-block-start: 1.25rem; padding: .6rem .6rem .6rem 1rem; border: 2px dashed var(--base-deep); border-radius: var(--radius-sm); background: var(--cream); }
.promo__code span { font-size: var(--step--2); color: var(--gray-soft); text-transform: uppercase; letter-spacing: .06em; }
.promo__code strong { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--step-1); letter-spacing: .12em; color: var(--ink); }
.promo__code .btn--sm { margin: 0; }
.promo__copied { min-block-size: 1.25rem; margin-block: .35rem .5rem; font-size: var(--step--2); color: var(--emerald); }
.promo__terms { margin-block: .75rem 1.5rem; font-size: var(--step--2); color: var(--gray-soft); }
.promo__close { position: absolute; inset-block-start: .5rem; inset-inline-end: .5rem; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 12%); color: var(--on-green); cursor: pointer; }
.promo__close:hover { background: rgb(255 255 255 / 22%); }
.popup-edit { margin-block-start: .35rem; }
.popup-edit form { padding: .75rem; margin-block-start: .25rem; background: var(--cream); border-radius: var(--radius-sm); }
.popup-edit .field { margin-block-start: .5rem; }

/* ─── Theme palette page ───────────────────────────────────────────────── */
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.swatch { display: grid; gap: .25rem; align-content: start; font-size: var(--step--1); }
.swatch__pair { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-block-end: .35rem; }
.swatch__chip { display: block; inline-size: 100%; block-size: 4.5rem; }
.swatch strong { color: var(--ink); }
.swatch__meta { font-size: var(--step--2); }
.contrast { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.contrast strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.type-sample { font-size: var(--step-0); color: var(--gray); }
.type-sample--head { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: var(--step-2); color: var(--ink); margin-block-end: .5rem; }

/* ─── Theme picker ─────────────────────────────────────────────────────── */
.themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: 1rem; }
.theme-card { display: grid; gap: .3rem; align-content: start; padding: .75rem; border: 1px solid var(--bdr); border-radius: var(--radius); background: var(--white); font-size: var(--step--1); }
.theme-card--live { border-color: var(--emerald); box-shadow: inset 0 0 0 1px var(--emerald); }
.theme-card strong { color: var(--ink); }
.theme-mini { display: block; inline-size: 100%; block-size: auto; border-radius: var(--radius-sm); border: 1px solid var(--bdr); margin-block-end: .35rem; }
.theme-card__actions { display: flex; gap: .5rem; margin-block-start: .35rem; }
.theme-card__actions .btn--sm { margin: 0; }
.custom-theme__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .5rem 1rem; }
.custom-theme input[type="color"] { inline-size: 100%; min-block-size: 50px; padding: .25rem; border: 1px solid var(--bdr); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; }
.theme-preview-bar { position: sticky; inset-block-start: 0; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; padding: .5rem var(--gutter); background: #111; color: #fff; font-size: var(--step--1); }
.theme-preview-bar .btn--sm { margin: 0; min-block-size: 44px; }
.theme-preview-bar .btn--outline { color: #fff; border-color: rgb(255 255 255 / 45%); }

/* ─── Design review fixes (2026-10-24) ─────────────────────────────────── */
/* Pause control for the hero video: always available while it plays. */
.hero__pause { position: absolute; inset-block-end: 1rem; inset-inline-end: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; min-block-size: 44px; padding: .5rem .9rem; border: 1px solid rgb(255 255 255 / 40%); border-radius: 99px; background: rgb(0 0 0 / 35%); color: #fff; font: 500 var(--step--1)/1 'Rubik', sans-serif; cursor: pointer; }
.hero__pause:hover { background: rgb(0 0 0 / 55%); }

/* Large text (200%): nothing may force the page wider than the screen.
   Grid columns cap their minimum at the available width (above), long words
   in headings hyphenate, and a column never grows to fit one word. */
h1, h2, h3, .hero__lede, .tagline { overflow-wrap: break-word; hyphens: auto; }
.site-foot a { overflow-wrap: anywhere; }
.site-foot__cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
/* One-choice options (property sizes, hour packages): large tappable cards. */
.choices { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.choice { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; min-block-size: 56px; padding: .8rem 1rem; border: 1.5px solid var(--bdr); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__name { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); }
.choice__desc { display: block; font-family: 'Rubik', sans-serif; font-weight: 400; font-size: var(--step--1); color: var(--gray-soft); }
.choice:hover { border-color: var(--emerald); }
.choice:has(input:checked) { border-color: var(--emerald); background: color-mix(in srgb, var(--emerald) 8%, var(--white)); box-shadow: inset 0 0 0 1px var(--emerald); }
.choice:has(input:checked) .choice__name::before { content: ""; display: inline-block; inline-size: .55rem; block-size: .55rem; margin-inline-end: .5rem; border-radius: 50%; background: var(--emerald); vertical-align: middle; }
.choice:has(input:focus-visible) { outline: 3px solid var(--base); outline-offset: 2px; }
/* Countable options: price and quantity drop below the name when text is large. */
.opt-row { flex-wrap: wrap; }
.opt-row > div:first-child { flex: 1 1 12rem; min-inline-size: 0; }
.opt-row__right { flex-shrink: 1; min-inline-size: 0; }
/* Field-level validation: a rule, a word and an icon-free message, never colour alone. */
.field-error { margin-block-start: .35rem; font-size: var(--step--1); font-weight: 600; color: #8f1e18; }
[aria-invalid="true"] { border-color: #b3261e !important; box-shadow: inset 0 0 0 1px #b3261e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error { color: #ff9c92; } }
:root[data-theme="dark"] .field-error { color: #ff9c92; border-inline-start-color: #ff9c92; }
/* Phone checkout: the running total follows the visitor. */
.price-bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--white); border-block-start: 1px solid var(--bdr); box-shadow: var(--shadow-lg); }
.price-bar[hidden] { display: none; }
.price-bar__total { font-size: var(--step--1); color: var(--gray); }
.price-bar__total strong { display: block; font-family: 'Poppins', sans-serif; font-size: var(--step-1); color: var(--ink); font-variant-numeric: tabular-nums; }
.price-bar .btn--sm { margin: 0; }
/* The promo is a non-modal card (design review): a corner on wide screens,
   a strip along the bottom on phones. No backdrop, no focus trap. */
.promo { position: fixed; inset: auto 1.25rem 1.25rem auto; margin: 0; inline-size: min(100% - 2.5rem, 22rem); max-block-size: calc(100dvh - 2.5rem); z-index: 55; }
.promo .promo__big { padding: 2.75rem 1.25rem 1rem; font-size: clamp(1.6rem, 6vw, 2rem); }
.promo > :not(.promo__close):not(.promo__big):not(.promo__badge) { margin-inline: 1.25rem; }
@media (max-width: 40rem) {
  .promo { inset: auto .75rem calc(.75rem + env(safe-area-inset-bottom)) .75rem; inline-size: auto; }
  .promo .promo__text { display: none; }
}
/* Charts: a phone-sized canvas below 44rem, so axis labels stay legible. */
.chart--compact { display: none; }
@media (max-width: 44rem) { .chart--wide { display: none; } .chart--compact { display: block; } }
/* Workspace menu on phones: everyday sections plus "More" (design review). */
.ws-nav__more { display: none; }
@media (max-width: 63.99rem) {
  .ws-nav { flex-wrap: wrap; overflow: visible; }
  .ws-nav__extra { display: none !important; }
  .ws-nav__more { display: inline-flex; align-items: center; gap: .55rem; min-block-size: 44px; padding-inline: .8rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--gray); font-family: 'Rubik', sans-serif; font-weight: 500; font-size: var(--step--1); cursor: pointer; }
  .ws-nav__more:hover { background: var(--cream); color: var(--ink); }
  .ws-nav[data-open="true"] { flex-direction: column; flex-wrap: nowrap; }
  .ws-nav[data-open="true"] .ws-nav__extra { display: inline-flex !important; }
  .ws-nav[data-open="true"] .ws-nav__group { display: block; padding: .75rem .8rem .25rem; font-size: var(--step--2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-soft); }
  .ws-nav[data-open="true"] .ws-nav__more { order: 99; }
}
.promo .promo__big { padding-inline-end: 3.75rem; } /* clear of the close button */

/* Service "at a glance" facts: label over value, wrapping into as many
   columns as fit. Plain facts that search and AI answers can quote. */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .75rem 1.25rem; margin: 0 0 2rem; padding: 1.25rem; background: var(--cream); border: 1px solid var(--bdr); border-radius: var(--radius); }
.facts dt { font-size: var(--step--1); color: var(--gray-soft); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: .15rem 0 0; color: var(--ink); font-weight: 600; }

/* ─── Overview, interactive: period switch, trend lines, quick actions ─── */
/* Period switch: a compact segmented control. The current period takes the
   green field (a selection, not an action, so not amber). */
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--white); border: 1px solid var(--bdr); border-radius: var(--radius); }
.seg a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: .85rem; border-radius: var(--radius-sm); color: var(--gray); font-size: var(--step--1); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.seg a:hover { background: var(--cream); color: var(--ink); }
.seg a[aria-current="page"] { background: var(--emerald); color: var(--white); font-weight: 600; }

/* Trend line under a figure: one point per day, scaled to its own peak.
   It draws in once on load; with reduced motion it is simply there. */
.kpi .spark { display: block; inline-size: 100%; block-size: 2rem; margin-block: .35rem .15rem; overflow: visible; }
.spark__area { fill: color-mix(in srgb, var(--emerald) 12%, transparent); stroke: none; }
.spark__line { fill: none; stroke: var(--emerald); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .spark__line { animation: spark-draw 900ms var(--ease) both; }
  .spark__area { animation: spark-fill 900ms var(--ease) both; }
}
@keyframes spark-draw { from { stroke-dashoffset: 1; } }
@keyframes spark-fill { from { opacity: 0; } }
.kpis--fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
.kpis__note { max-inline-size: none; margin-block-start: .6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-size: var(--step--2); color: var(--gray-soft); }
.kpis__note a { font-size: var(--step--1); color: var(--emerald); }

/* Today's jobs: a "now" rule between what is done and what is next. */
.joblist__now { display: flex !important; align-items: center; gap: .6rem; line-height: 1; padding-block: .35rem !important; border-block-end: 0 !important; color: var(--emerald); font-size: var(--step--2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.joblist__now::before { content: ""; inline-size: .55rem; block-size: .55rem; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px color-mix(in srgb, var(--emerald) 18%, transparent); flex-shrink: 0; }
.joblist__now span:last-child { display: flex; align-items: center; gap: .6rem; flex: 1; }
.joblist__now span:last-child::after { content: ""; flex: 1; block-size: 1px; background: color-mix(in srgb, var(--emerald) 45%, transparent); }
.joblist--past .joblist__time, .joblist--past .joblist__main { opacity: .6; }
.joblist--past:hover .joblist__time, .joblist--past:hover .joblist__main { opacity: 1; }

/* Needs attention: each booking carries the action that clears it. */
.queue__items > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; padding-block: .35rem; border-block-start: 1px dashed transparent; }
.queue__items > li + li { border-block-start-color: var(--bdr); border-block-start-style: solid; }
.queue__who { min-inline-size: 0; flex: 1 1 14rem; color: var(--gray); }
.queue__amt { display: inline; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); font-size: inherit; font-variant-numeric: tabular-nums; }
.queue__act { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.queue__act select { inline-size: auto; min-inline-size: 9rem; min-block-size: 44px; padding-block: .3rem; font-size: var(--step--1); }
.queue__act .btn--sm { padding-inline: .9rem; }
.queue__tick { font-size: var(--step--2); color: var(--gray); margin: 0; }
.queue__more { margin: -.5rem 0 .75rem; padding-inline-start: 3.5rem; }
.queue__more > .queue__items { margin: 0; padding-inline-start: 0; }
.queue__more summary { display: inline-flex; align-items: center; gap: .3rem; min-block-size: 44px; cursor: pointer; list-style: none; color: var(--emerald); font-size: var(--step--1); font-weight: 500; }
.queue__more summary::-webkit-details-marker { display: none; }
.queue__more summary:hover { text-decoration: underline; text-underline-offset: .18em; }
.queue__more summary svg { inline-size: 1rem; block-size: 1rem; transition: transform 200ms var(--ease); }
.queue__more[open] summary svg { transform: rotate(180deg); }
.queue__all { margin: -.4rem 0 .75rem; padding-inline-start: 3.5rem; font-size: var(--step--1); }
@media (max-width: 34rem) {
  .queue__items, .queue__more, .queue__all { padding-inline-start: 0; }
  .queue__act { inline-size: 100%; }
  .queue__act select { flex: 1; }
}

/* Next 7 days: one column per day, the bar filled against team capacity.
   Each column is a link to that day's bookings. */
.weekbars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.weekbar { position: relative; display: grid; grid-template-rows: auto 9rem auto; justify-items: center; gap: .45rem; padding: .5rem .2rem .6rem; border-radius: var(--radius-sm); color: var(--gray); text-decoration: none; transition: background-color 160ms var(--ease); }
.weekbar:hover { background: var(--cream); }
.weekbar__n { display: grid; justify-items: center; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; text-align: center; }
.weekbar__n small { font-family: 'Rubik', sans-serif; font-weight: 400; font-size: var(--numeral-sm); color: var(--gray-soft); }
.weekbar__track { position: relative; inline-size: min(100%, 2.25rem); block-size: 100%; border-radius: var(--radius-sm); background: var(--cream); overflow: hidden; }
.weekbar__fill { position: absolute; inset-inline: 0; inset-block-end: 0; border-radius: var(--radius-sm); background: var(--emerald); transition: background-color 160ms var(--ease); }
.weekbar:hover .weekbar__fill { background: var(--green); }
.weekbar--full .weekbar__fill { background: var(--base-deep); }
.weekbar--closed .weekbar__track { background: repeating-linear-gradient(135deg, var(--cream) 0 6px, transparent 6px 12px); border: 1px solid var(--bdr); }
.weekbar--closed .weekbar__n { font-family: 'Rubik', sans-serif; font-weight: 400; font-size: var(--step--2); color: var(--gray-soft); }
.weekbar__day { font-size: var(--step--2); color: var(--gray-soft); white-space: nowrap; }
.weekbar--today .weekbar__day { color: var(--ink); font-weight: 600; }
.weekbar--today .weekbar__track { outline: 2px solid color-mix(in srgb, var(--emerald) 35%, transparent); outline-offset: 2px; }
.h0 { block-size: 0; } .h5 { block-size: 5%; } .h10 { block-size: 10%; } .h15 { block-size: 15%; } .h20 { block-size: 20%; }
.h25 { block-size: 25%; } .h30 { block-size: 30%; } .h35 { block-size: 35%; } .h40 { block-size: 40%; } .h45 { block-size: 45%; }
.h50 { block-size: 50%; } .h55 { block-size: 55%; } .h60 { block-size: 60%; } .h65 { block-size: 65%; } .h70 { block-size: 70%; }
.h75 { block-size: 75%; } .h80 { block-size: 80%; } .h85 { block-size: 85%; } .h90 { block-size: 90%; } .h95 { block-size: 95%; } .h100 { block-size: 100%; }
@media (max-width: 34rem) { .weekbar { grid-template-rows: auto 7rem auto; } .weekbars { gap: .15rem; } }

/* ─── Arabic (dir="rtl") ─────────────────────────────────────────────────
   Layout is already written in logical properties, so it mirrors on its own.
   Tracking pulls connected Arabic letters apart, so it is removed, and
   Arabic headings get a little more line height for their taller marks. */
:root[lang="ar"] * { letter-spacing: 0 !important; }
:root[lang="ar"] :is(h1, h2, h3) { line-height: 1.35; }
/* Arrow glyphs point along the reading direction: mirrored in Arabic. */
.dir-flip { display: inline-block; }
:root[dir="rtl"] .dir-flip { transform: scaleX(-1); }
/* On the Arabic site, text the business writes is still English until it is
   translated. Each block takes its direction from its own first letter, so an
   English sentence keeps its full stop at its end instead of being thrown to
   the left by the page's right-to-left direction. */
:root[dir="rtl"] :is(p, h1, h2, h3, h4, li, dt, dd, td, th, summary, blockquote, figcaption, label, legend, [class*="__name"], [class*="__title"], [class*="__desc"]) { unicode-bidi: plaintext; }

/* Professionals and hours: two steppers side by side, 44px tap targets. */
.crew__rate { margin: 0 0 1rem; font-weight: 600; color: var(--ink); }
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.stepper { display: grid; gap: .4rem; padding: 1rem; background: var(--cream); border: 1px solid var(--bdr); border-radius: var(--radius); }
.stepper__label { font-weight: 600; color: var(--ink); }
.stepper__ctl { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; align-items: center; gap: .5rem; }
.stepper__btn { inline-size: 2.75rem; block-size: 2.75rem; border: 1px solid var(--bdr); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.stepper__btn:hover { border-color: var(--base); }
.stepper__btn:focus-visible { outline: 3px solid var(--base); outline-offset: 2px; }
.stepper__ctl input { inline-size: 100%; min-block-size: 2.75rem; text-align: center; font-size: var(--step-1); font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper__ctl input::-webkit-outer-spin-button, .stepper__ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__hint { margin: 0; color: var(--gray-soft); font-size: var(--step--1); }
.crew__hint { margin: 1rem 0 0; font-size: var(--step--1); }

/* Homepage: three service groups, each listing its sub-services. */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; }
.group { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.group__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.group__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.group:hover .group__media img { transform: scale(1.04); }
.group__body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1.5rem; }
.group__title { margin: 0; font-size: var(--step-2); }
.group__title a { color: var(--ink); text-decoration: none; }
.group__title a:hover { text-decoration: underline; }
.group__text { margin: 0; color: var(--gray); }
.group__subs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.group__subs a { display: inline-flex; align-items: center; min-block-size: 2rem; padding: .2rem .7rem; border: 1px solid var(--bdr); border-radius: 999px; color: var(--ink); font-size: var(--step--1); text-decoration: none; }
.group__subs a:hover { border-color: var(--base); }
.group .card__foot { margin-block-start: auto; padding-block-start: .25rem; }
.group__subs .group__more { border-style: dashed; color: var(--base-text); font-weight: 600; }
