/* Human Resources — site styles. Mobile first. */
/* The page's colors are registered (@property) so the browser can animate them: switching Light / Dark eases
   these few values on <html> and every element, which only ever uses them, changes in step with them. */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #F9F2E2; }
@property --bg-2 { syntax: "<color>"; inherits: true; initial-value: #F2E9D3; }
@property --card { syntax: "<color>"; inherits: true; initial-value: #FFFCF5; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #111111; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #06398A; }
@property --press { syntax: "<color>"; inherits: true; initial-value: #111111; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(17, 17, 17, 0.16); }
@property --muted { syntax: "<color>"; inherits: true; initial-value: rgba(17, 17, 17, 0.68); }
@property --error { syntax: "<color>"; inherits: true; initial-value: #B3261E; }
@property --thumb { syntax: "<color>"; inherits: true; initial-value: #06398A; }
@property --thumb-ink { syntax: "<color>"; inherits: true; initial-value: #F9F2E2; }
@property --nav-under { syntax: "<color>"; inherits: true; initial-value: rgba(249, 242, 226, 0); }
@property --globe-swap { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --scrim { syntax: "<color>"; inherits: true; initial-value: rgba(17, 17, 17, 0.42); }
@property --sheet-edge { syntax: "<color>"; inherits: true; initial-value: rgba(249, 242, 226, 0); }
@property --sheet-shadow { syntax: "<color>"; inherits: true; initial-value: rgba(0, 0, 0, 0.35); }
@property --col-hover { syntax: "<color>"; inherits: true; initial-value: #111111; }
@property --chart-line { syntax: "<color>"; inherits: true; initial-value: #06398A; }
:root {
  --fade: .6s ease;
  transition: --bg var(--fade), --bg-2 var(--fade), --card var(--fade), --ink var(--fade), --accent var(--fade), --press var(--fade),
    --line var(--fade), --muted var(--fade), --error var(--fade), --thumb var(--fade), --thumb-ink var(--fade), --nav-under var(--fade), --globe-swap var(--fade),
    --scrim var(--fade), --sheet-edge var(--fade), --sheet-shadow var(--fade), --col-hover var(--fade), --chart-line var(--fade);
  /* the brand colors, the same in light and dark: blue fills (bands, buttons) and the ivory text on them */
  --blue: #06398A;
  --ivory: #F9F2E2;
  --black: #111111;
  --ivory-2: #F2E9D3; /* ivory, one step deeper */
  /* the page's colors, which change in dark mode (below) */
  --bg: var(--ivory);       /* the page */
  --bg-2: var(--ivory-2);   /* alternating bands, cards, the footer */
  --card: #FFFCF5;          /* boxes you type in, chat bubbles */
  --ink: var(--black);      /* text */
  --accent: var(--blue);    /* blue text, links, lines and marks */
  --press: var(--black);    /* a blue button while pressed or hovered */
  --line: rgba(17, 17, 17, 0.16);
  --muted: rgba(17, 17, 17, 0.68);
  --error: #B3261E;
  --thumb: var(--blue);           /* the Light / Dark / Auto switch's sliding thumb, and its words */
  --thumb-ink: var(--ivory);
  --nav-under: rgba(249, 242, 226, 0); /* the computer menu's current-page underline: dark mode only */
  --globe-swap: 0;                /* Ada's globe picture: 0 the blue picture, 1 the ivory stand-in */
  --scrim: rgba(17, 17, 17, 0.42);  /* the dim behind the phone's sliding panels */
  --sheet-edge: rgba(249, 242, 226, 0); /* their top edge line: dark mode only */
  --sheet-shadow: rgba(0, 0, 0, 0.35);
  --col-hover: #111111;           /* admin chart: the bar you point at */
  --chart-line: var(--blue);      /* admin chart: the line, blue in both themes (a lighter blue on black) */
  color-scheme: light;
  --head: "Inter Tight", "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
  --r: 12px;     /* cards, panels: the rounded corners from the Rate Card + booking post */
  --r-sm: 8px;   /* buttons, inputs, tables */
}
/* Dark mode: when the device is set to dark (unless "Light" was picked at the bottom of a page), or when
   "Dark" was picked. Black page, ivory text; blue bands and buttons keep the real blue. Blue text and lines
   turn ivory (the real blue is too dark to read on black); a pressed blue button goes a deeper navy. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111111; --bg-2: #1A1917; --card: #201F1C; --ink: #F9F2E2; --accent: #F9F2E2; --press: #0B2A5C;
    --line: rgba(249, 242, 226, 0.16); --muted: rgba(249, 242, 226, 0.68); --error: #FF8A80;
    --thumb: #F9F2E2; --thumb-ink: #111111; --nav-under: #F9F2E2; --globe-swap: 1;
    --scrim: rgba(0, 0, 0, 0.6); --sheet-edge: rgba(249, 242, 226, 0.16); --sheet-shadow: rgba(0, 0, 0, 0.6); --col-hover: rgba(249, 242, 226, 0.6); --chart-line: #7FA6EE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111111; --bg-2: #1A1917; --card: #201F1C; --ink: #F9F2E2; --accent: #F9F2E2; --press: #0B2A5C;
  --line: rgba(249, 242, 226, 0.16); --muted: rgba(249, 242, 226, 0.68); --error: #FF8A80;
    --thumb: #F9F2E2; --thumb-ink: #111111; --nav-under: #F9F2E2; --globe-swap: 1;
    --scrim: rgba(0, 0, 0, 0.6); --sheet-edge: rgba(249, 242, 226, 0.16); --sheet-shadow: rgba(0, 0, 0, 0.6); --col-hover: rgba(249, 242, 226, 0.6); --chart-line: #7FA6EE;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }
/* phones and small tablets: the row of page links under the top bar (see .nav-m) */
:root { --nav-m-h: 0px; --hero-peek: 0px; }
@media (max-width: 899.98px) { :root { --nav-m-h: 45px; } }
/* phones held upright: the home photo stops short of the bottom so the next section shows it's there */
@media (max-width: 899.98px) and (min-height: 501px) { :root { --hero-peek: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cta-band :focus-visible, .section-blue :focus-visible, .hero :focus-visible, .shop-hero :focus-visible { outline-color: var(--ivory); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; } /* the hidden attribute always wins over a component's display rule */
/* Browser-drawn parts in the page's own colors, so they fade with everything else when the theme changes
   (left to the browser they follow color-scheme, which can only switch at once). Scrollbars: a solid thumb on
   the page color (inner scroll areas keep their own background). Checkboxes and radios: drawn here, matching
   the browser's look (square with a tick / ring with a dot). Placeholders: a soft ink. */
html { scrollbar-color: color-mix(in srgb, var(--ink) 30%, var(--bg)) var(--bg); }
body * { scrollbar-color: color-mix(in srgb, var(--ink) 30%, var(--bg)) transparent; }
::placeholder { color: color-mix(in srgb, var(--ink) 58%, transparent); opacity: 1; }
input[type="checkbox"], input[type="radio"] { -webkit-appearance: none; appearance: none; display: inline-grid; place-content: center; width: 18px; height: 18px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 55%, var(--card)); border-radius: 3px; background: var(--card); color: var(--card); cursor: pointer; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::before { content: ""; width: 10px; height: 10px; background: currentColor; transform: scale(0);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
input[type="checkbox"]:checked::before { transform: scale(1); }
input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
input[type="radio"]:checked { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--card); }
input[type="checkbox"]:disabled, input[type="radio"]:disabled { opacity: .45; cursor: not-allowed; }
@media (forced-colors: active) { input[type="checkbox"], input[type="radio"] { -webkit-appearance: auto; appearance: auto; } input[type="checkbox"]::before { content: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Type ---------- */
.display, .display-sm, .h2, .wordmark, .footer-name, .tile-price, .num {
  font-family: var(--head); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9;
}
/* "RESOURCES" sets about 5.4x its font size wide: size it to the space inside the side gutters */
.display { font-size: clamp(40px, calc((100vw - 2 * var(--gutter)) * 0.178), 168px); text-transform: uppercase; }
.display-sm { font-size: clamp(40px, 10vw, 88px); }
.h2 { font-size: clamp(30px, 7vw, 52px); line-height: 0.95; margin-bottom: 20px; color: var(--accent); }
.h3 { font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; margin: 28px 0 10px; color: var(--accent); }
.rule { padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.eyebrow { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow a { color: inherit; }
.lede { font-size: 18px; line-height: 1.5; font-weight: 500; max-width: 62ch; }
.lede-lg { font-size: clamp(19px, 2.6vw, 24px); }
.muted { color: var(--muted); }
section p, section li, section dd { max-width: 72ch; }

/* ---------- Marks (logo PNGs used as masks so they take exact brand colors) ---------- */
.mark { display: inline-block; background-color: var(--accent); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.mark-globes { -webkit-mask-image: url(/assets/img/double-globe.png); mask-image: url(/assets/img/double-globe.png); aspect-ratio: 1200 / 405; }
.mark-seal { -webkit-mask-image: url(/assets/img/seal.png); mask-image: url(/assets/img/seal.png); aspect-ratio: 690 / 680; }
.mark-globe { -webkit-mask-image: url(/assets/img/globe.png); mask-image: url(/assets/img/globe.png); aspect-ratio: 1; }
.mark-ivory { background-color: var(--ivory); }
.mark-black { background-color: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-sm); border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; line-height: 1;
}
.btn-blue, .btn-inquire { background: var(--blue); color: var(--ivory); }
.btn-blue:hover, .btn-inquire:hover { background: var(--press); }
.btn-ivory { background: var(--ivory); color: var(--blue); }
.btn-ivory:hover { background: var(--black); color: var(--ivory); }
.btn-outline-ivory { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.btn-outline-ivory:hover { background: var(--ivory); color: var(--blue); }
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 17px; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .mark { width: 54px; flex: none; }
.wordmark { font-size: 17px; line-height: 0.86; text-transform: uppercase; letter-spacing: -0.04em; }
.btn-inquire { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-inquire[aria-current="page"] { background: var(--press); }
.brand { min-width: 0; }
.menu-toggle { flex: none; }
.bar-right { display: flex; align-items: center; gap: 12px; }
/* smallest phones (320–359px): keep logo, wordmark, Inquire and menu on one row */
/* phones: logo, wordmark, the Ask Ada pill and Inquire on one row, a step smaller as the screen narrows */
@media (min-width: 360px) and (max-width: 439px) {
  .bar, .bar-right { gap: 10px; }
  .brand { gap: 8px; }
  .brand .mark { width: 44px; }
  .wordmark { font-size: 15px; }
  .btn-inquire { padding: 8px 12px; }
}
/* 360–389px: a little tighter still, with room to spare even before the web font loads */
@media (min-width: 360px) and (max-width: 389px) {
  .bar, .bar-right { gap: 8px; }
  .brand { gap: 7px; }
  .brand .mark { width: 38px; }
  .wordmark { font-size: 14px; }
  .btn-inquire { padding: 8px 10px; }
}
/* under 360px: the logo mark alone (the link still says Human Resources to screen readers) */
@media (max-width: 359px) {
  .bar, .bar-right { gap: 6px; }
  .brand .mark { width: 38px; }
  .wordmark { display: none; }
  .brand { min-height: 44px; min-width: 44px; } /* the logo alone is still a full-size way home */
  .btn-inquire { padding: 8px 10px; font-size: 13px; }
}
.menu-toggle { display: none; } /* retired: phones show the pages under the top bar instead */
.menu-toggle-old { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .burger { background: transparent; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; }
.nav a[aria-current="page"] { color: var(--accent); }
/* Mobile menu panel */
.nav.open {
  display: block; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
  background: var(--bg); padding: 16px var(--gutter) 40px; overflow-y: auto; border-top: 1px solid var(--line);
}
.nav.open > ul > li { border-bottom: 1px solid var(--line); }
.nav.open > ul > li > a { display: block; padding: 16px 0; font-size: 32px; letter-spacing: -0.04em; }
.nav.open .sub { padding: 0 0 14px 2px; }
.nav.open .sub a { display: block; padding: 8px 0; font-size: 20px; color: var(--accent); }
body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav { display: block; }
  .nav > ul { display: flex; gap: 28px; }
  .nav > ul > li { position: relative; }
  .nav > ul > li > a { display: block; padding: 10px 0; font-size: 16px; white-space: nowrap; }
  .nav > ul > li > a:hover { color: var(--accent); }
  .nav .sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 190px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 0; }
  .nav .sub a { display: block; padding: 8px 16px; font-size: 15px; }
  .nav .sub a:hover { background: var(--blue); color: var(--ivory); }
  .nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }
  .nav .sub { z-index: 61; } /* above the Ask Ada panel */
  .bar { gap: 28px; max-width: none; padding: 0 clamp(24px, 3vw, 48px); } /* logo to the left edge, menu to the right */
  .bar-right { gap: 28px; }
  .brand .mark { width: 62px; }
  .wordmark { font-size: 19px; }
  .btn-inquire { margin-left: 4px; padding: 10px 20px; }
}
/* three menu links plus Ask Ada and Inquire: a little tighter on tablets and small laptops */
@media (min-width: 900px) and (max-width: 1099.98px) { .nav > ul, .bar, .bar-right { gap: 18px; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0 56px; }
.section-alt { background: var(--bg-2); }
.section-blue { background: var(--blue); color: var(--ivory); }
.section-blue .eyebrow, .section-blue a { color: var(--ivory); }
.project-list { font-family: var(--head); font-weight: 700; font-size: clamp(20px, 3.4vw, 28px); letter-spacing: -0.02em; line-height: 1.2; margin: 18px 0 22px; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.page-head { padding: 40px 0 24px; }
@media (min-width: 768px) { .page-head { padding: 72px 0 32px; } }
.page-head .display-sm { color: var(--accent); margin-bottom: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { background: var(--blue); color: var(--ivory); padding: 40px 0 56px; }
.hero .eyebrow { color: var(--ivory); }
.hero-lede { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; max-width: 34ch; margin-top: 22px; }
.hero-tag span { display: block; }
.hero-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.8; margin: 14px 0 0; }
.hero-slogan { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.025em; line-height: 1.1; margin: 22px 0 18px; }
.disciplines { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.8; max-width: none; }
.disciplines span { white-space: nowrap; } /* phones: wrap between services, never inside one */
@media (min-width: 768px) {
  /* tablet + desktop: one line, scaled to fit its column (needs ~48 font-sizes of width) */
  .hero-copy { container-type: inline-size; }
  .disciplines { white-space: nowrap; font-size: 12px; font-size: min(12px, 100cqi / 48.5); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* Home hero. Phones and tablets: the photo fills the screen, with the name, slogan and three clear buttons
   over it. Computers (900px+): split in half, the blue text half on the left, the photo half on the right.
   Either way the photo changes every few seconds (site.js). */
.hero-split { display: block; }
.hero-side { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* the photo: the right half on computers, a tall photo under the blue block on phones and tablets */
.hero-photos { position: relative; overflow: hidden; background: #0b2a5c; aspect-ratio: 4 / 5; max-height: 74vh; max-height: 74svh; width: 100%; }
.hero-shot, .hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* every photo is zoomed to fill, never stretched: the first one sits inside <picture>, the rest are the
   <img> itself, so both need it */
.hero-shot img, img.hero-shot { object-fit: cover; object-position: 50% 50%; }
.hero-photos::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.22)); }
.hero-shot { opacity: 0; transition: opacity 1.2s ease; }
.hero-shot.is-on { opacity: 1; }
.hero-gallery { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid #fff; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); text-shadow: 0 1px 3px rgba(0,0,0,.35); transition: background .2s, color .2s; }
.hero-gallery:hover, .hero-gallery:focus-visible { background: #fff; color: var(--black); text-shadow: none; }
@media (max-width: 899.98px), (max-height: 500.98px) { /* phones and tablets, and phones turned sideways however wide */
  /* the photo fills the screen under the top bar; the words and buttons sit on it, centered */
  .hero { padding: 0; background: #0b2a5c; }
  /* the screen under the top bar (its 1px bottom line included) and the page links, less the peek */
  .hero-split { display: grid; grid-template-areas: "stack";
    min-height: calc(100vh - var(--header-h) - 1px - var(--nav-m-h) - var(--hero-peek));
    min-height: calc(100svh - var(--header-h) - 1px - var(--nav-m-h) - var(--hero-peek)); }
  .hero-split > * { grid-area: stack; }
  .hero-photos { aspect-ratio: auto; max-height: none; }
  /* a shade over the photo so the white words stay readable on any picture, bright ones included:
     strongest behind the words (the middle of the screen) */
  .hero-photos::after { background:
    radial-gradient(ellipse 85% 42% at 50% 50%, rgba(0,0,0,.24), rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.36) 30%, rgba(0,0,0,.36) 72%, rgba(0,0,0,.5) 100%); }
  .hero-gallery { display: none; } /* it joins Inquire and Services below the words */
  .hero-side { position: relative; z-index: 2; display: flex; padding: 40px var(--gutter) 68px; } /* 68px: room for Next frame */
  .hero-copy { width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
  /* the name fits the width and, on a phone turned sideways, the height too, so the buttons stay on screen */
  .hero .display { margin: 0; line-height: .9;
    font-size: min(clamp(40px, calc((100vw - 2 * var(--gutter)) * 0.178), 168px), calc((100vh - var(--header-h) - var(--nav-m-h)) * 0.16));
    font-size: min(clamp(40px, calc((100vw - 2 * var(--gutter)) * 0.178), 168px), calc((100svh - var(--header-h) - var(--nav-m-h)) * 0.16)); }
  .hero-tag { margin-top: 18px; font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 14px rgba(0,0,0,.4); }
  .hero-slogan { margin: 18px 0 0; }
  .hero .disciplines { display: none; } /* the services are one tap away */
  .hero-foot .actions { margin-top: 28px; justify-content: center; gap: 10px; }
  /* filled pill buttons: Inquire in ivory, Services and Full Gallery in smoked glass, so each reads as a button */
  .hero-foot .actions .btn { min-height: 46px; padding: 10px 18px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff;
    font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .12em; white-space: nowrap;
    background: rgba(17,17,17,.58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-shadow: none; transition: background .2s, color .2s; }
  .hero-foot .actions .btn-ivory { background: var(--ivory); border-color: var(--ivory); color: var(--blue); }
  .hero-foot .actions .btn:hover, .hero-foot .actions .btn:focus-visible { background: #fff; border-color: #fff; color: var(--black); }
  /* "Next frame": another photo, only when tapped */
  .hero-next { position: absolute; z-index: 3; right: var(--gutter); bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
    min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(17,17,17,.5); color: #fff;
    font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .hero-next:hover, .hero-next:focus-visible { background: #fff; color: var(--black); }
  .hero-next[aria-busy="true"] { opacity: .7; }
  .hero :focus-visible { outline-color: #fff; }
}
/* short phones held upright (e.g. 320x568): a little tighter so the next section still peeks in */
@media (max-width: 899.98px) and (min-height: 501px) and (max-height: 620px) {
  .hero-side { padding-top: 22px; padding-bottom: 62px; }
  .hero-tag { margin-top: 12px; }
  .hero-slogan { margin-top: 12px; }
  .hero-foot .actions { margin-top: 18px; gap: 8px; }
  .hero-foot .actions .btn { min-height: 44px; padding: 9px 16px; }
}
/* phones turned sideways: tighter spacing so the name, words and buttons fit the short screen */
@media (max-height: 500.98px) {
  .hero-next { top: 10px; bottom: auto; min-height: 36px; padding: 6px 12px; }
  .hero-side { padding: 18px var(--gutter) 20px; }
  .hero-tag { margin-top: 10px; line-height: 1.5; }
  .hero-slogan { margin-top: 10px; font-size: 22px; }
  .hero-foot .actions { margin-top: 14px; }
  .hero-foot .actions .btn { min-height: 40px; padding: 8px 16px; }
}
/* very short screens: who and where on one line, smaller slogan, so the buttons still fit */
@media (max-height: 340px) {
  .hero-side { padding: 12px var(--gutter) 14px; }
  .hero-tag { margin-top: 8px; }
  .hero-tag span { display: inline; }
  .hero-tag span + span::before { content: " · "; }
  .hero-slogan { margin-top: 6px; font-size: 18px; }
  .hero-foot .actions { margin-top: 10px; }
}
@media (min-width: 900px) and (min-height: 501px) { .hero-only-phone, .hero-next { display: none; } }
@media (min-width: 900px) and (min-height: 501px) { /* computers: the split hero */
  .hero { padding: 0; }
  .hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(560px, calc(100vh - var(--header-h)), 860px); min-height: clamp(560px, calc(100svh - var(--header-h)), 860px); }
  /* each half is centered on itself: equal padding left and right, the block in the middle top to bottom */
  .hero-side { max-width: none; margin: 0; display: flex; padding: 48px clamp(32px, 5vw, 80px); }
  /* centered, sitting a little above the middle: the name, who and where, the slogan, then the
     services and buttons under a thin line */
  .hero-copy { min-width: 0; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
  .hero .display { margin: 0; line-height: .9; }
  .hero-tag { margin-top: 22px; font-size: 13px; opacity: .9; }
  .hero-slogan { margin: 22px 0 0; }
  .hero-foot { width: 100%; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(249,242,226,.35);
    display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .hero-foot .disciplines { margin: 0; opacity: .9; }
  .hero-foot .actions { margin-top: 0; justify-content: center; }
  /* size the headline to its half of the screen */
  .hero .display { font-size: min(150px, calc((50vw - 2 * clamp(32px, 5vw, 80px)) * 0.17)); }
  .hero-photos { aspect-ratio: auto; max-height: none; }
}@media (prefers-reduced-motion: reduce) { .hero-shot { transition: none; } }

/* ---------- Home ---------- */
/* "File 01"-style labels: a quiet internal-document touch above plain headings */
.file-label { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.home-work .h2, .home-rates .h2, .home-who .h2 { margin-bottom: 18px; }
@media (max-width: 767px) { .home-work, .home-rates, .home-ada, .home-who { padding: 44px 0; } .home-work { padding-top: 22px; } }
.nw { white-space: nowrap; }

/* Selected Work: the index, then a chapter per kind of shoot (a lead photo and a pair) */
.work-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-index a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; min-height: 48px; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.work-index a:hover .wi-name { color: var(--accent); }
.wi-num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.wi-name { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.work-index li:last-child .wi-name { font-family: var(--body); font-weight: 500; font-size: 15px; letter-spacing: 0; }
.wi-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.work-mix { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.wk-chapter { margin-top: 44px; scroll-margin-top: calc(var(--header-h) + 12px); }
.wk-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-family: var(--head); font-weight: 800; font-size: clamp(24px, 6.4vw, 34px); letter-spacing: -0.035em; line-height: 1.05; }
.wk-title .wi-num { flex: none; width: 24px; }
.wk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wk-grid figure { margin: 0; min-width: 0; }
.wk-grid .wk-lead { grid-column: 1 / -1; }
.wk-grid a { display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-2); }
.wk-grid img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .4s ease; }
.wk-grid .wk-lead img { aspect-ratio: 4 / 5; }
.wk-grid a:hover img { transform: scale(1.02); }
.wk-grid figcaption { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wk-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 0; }
.wk-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 600px) {
  .work-index { max-width: 760px; }
  .wk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .wk-grid .wk-lead { grid-column: auto; }
  .wk-grid img, .wk-grid .wk-lead img { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .wk-grid img { transition: none; } .wk-grid a:hover img { transform: none; } }

/* Rates: six tiles. Phones: one stack of long, short boxes (name and note on the left, price on the right);
   tablets: three across; computers: six across */
.rate-tiles { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.rate-tiles a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label price" "note price"; align-items: center;
  column-gap: 12px; row-gap: 2px; height: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.rate-tiles a:hover, .rate-tiles a:focus-visible { border-color: var(--accent); }
.tile-label { grid-area: label; align-self: end; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.35; }
.tile-price { grid-area: price; font-size: 24px; color: var(--accent); white-space: nowrap; }
.tile-note { grid-area: note; align-self: start; font-size: 13px; line-height: 1.35; color: var(--muted); }
@media (min-width: 600px) {
  .rate-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .rate-tiles a { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 14px 12px; }
  .tile-label, .tile-note { align-self: auto; }
  .tile-price { order: 2; margin-top: auto; font-size: clamp(24px, 3.4vw, 30px); }
  .tile-note { order: 3; }
}
@media (min-width: 1000px) {
  .rate-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile-price { font-size: clamp(22px, 2.1vw, 28px); }
}
/* the by-inquiry services: a blue strip under the tiles, one line across on computers */
.rl-inquiry { margin: 0 0 20px; padding: 14px 16px; border-radius: var(--r); background: var(--blue); color: var(--ivory); container-type: inline-size; }
.rl-label { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.rl-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; line-height: 1.2; }
/* phones and tablets: each service a small outlined pill, so nothing dangles when they wrap */
.rl-items li { white-space: nowrap; padding: 6px 11px; border: 1px solid rgba(249,242,226,.35); border-radius: 999px; }
@media (min-width: 1000px) {
  .rl-inquiry { display: flex; align-items: baseline; gap: 18px; padding: 14px 20px; }
  .rl-label { flex: none; margin: 0; }
  /* computers: one line, separated by dots */
  .rl-items { flex: 1; min-width: 0; flex-wrap: nowrap; justify-content: space-between; gap: 0; font-size: min(16px, 100cqi / 68); line-height: 1.35; }
  .rl-items li { padding: 0; border: 0; border-radius: 0; }
  .rl-items li + li::before { content: "·"; margin: 0 .5em 0 0; opacity: .55; }
}

/* Ask Ada: a scoped helper, with a person and a form beside her */
.ada-card { max-width: 760px; padding: 24px 20px; border: 1.5px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--r); background: var(--card); }
.ada-card-title { margin: 0 0 10px; font-family: var(--head); font-weight: 800; font-size: clamp(22px, 5.6vw, 30px); letter-spacing: -0.03em; line-height: 1.1; color: var(--accent); }
.ada-card > p { margin: 0 0 16px; max-width: 60ch; }
.ada-starts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.btn.ada-start { min-height: 46px; padding: 10px 16px; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; }
.btn.ada-start:hover, .btn.ada-start:focus-visible { background: var(--blue); color: var(--ivory); }
.ada-alt { display: flex; flex-wrap: wrap; column-gap: 20px; margin: 0 0 18px; font-size: 14px; }
.ada-alt .sep { display: none; } /* the gap separates them, so nothing dangles when they wrap */
.ada-alt a { display: inline-block; padding: 10px 0; color: var(--accent); overflow-wrap: anywhere; }
.ada-quote { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--muted); }
.ada-quote span { display: block; margin-top: 4px; font-style: normal; font-size: 12px; }
@media (min-width: 768px) { .ada-card { padding: 32px 36px; } }

/* Who: the mission, word for word, and the person behind it */
.who-mission { max-width: 46ch; margin: 0 0 22px; font-size: clamp(18px, 4.6vw, 22px); line-height: 1.55; }
.who-founder { display: flex; gap: 16px; align-items: flex-start; max-width: 62ch; }
.who-founder p { margin: 0; color: var(--muted); }
.who-founder .link-arrow { color: var(--accent); white-space: nowrap; }
.who-photo { flex: none; width: 96px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); }

/* Ready?: the booking steps from the Terms */
.next-steps { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid rgba(249,242,226,.3); max-width: 760px; }
.next-steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(249,242,226,.3); line-height: 1.45; }
.ns-num { flex: none; width: 24px; font-size: 12px; font-weight: 600; letter-spacing: .08em; opacity: .75; padding-top: 3px; font-variant-numeric: tabular-nums; }
.next-steps strong { font-weight: 700; }
.book-line { margin: 0 0 22px; font-size: 14px; opacity: .9; line-height: 1.6; }
.next-alt { margin: 18px 0 0; font-size: 14px; }
.next-alt a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
.avail-note { display: inline-block; margin: 0 0 20px; padding: 8px 14px; border-radius: 999px; background: var(--ivory); color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.avail { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; }
.avail li { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: var(--r-sm); border: 1px solid rgba(249,242,226,.35); font-size: 13px; font-weight: 600; }
.avail li span { font-weight: 400; font-size: 12px; opacity: .8; }
.avail .av-full { opacity: .55; text-decoration: line-through; }
.av-updated { margin: 0 0 14px; font-size: 12px; opacity: .7; }

/* phones and small tablets: the four pages under the top bar, in plain sight (it scrolls away) */
.nav-m { display: none; }
@media (max-width: 899.98px) {
  .nav-m { display: block; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-m ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); display: flex; justify-content: space-between; }
  .nav-m a { display: flex; align-items: center; height: 44px; padding: 0 2px; color: var(--ink); text-decoration: none; white-space: nowrap;
    font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  /* five links: tighter type so they share one row on phones */
  @media (max-width: 599.98px) { .nav-m a { font-size: 11.5px; letter-spacing: .06em; } }
  @media (max-width: 374.98px) { .nav-m ul { padding: 0 10px; } .nav-m a { font-size: 10.5px; letter-spacing: .03em; } }
  .nav-m a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
}
.cta-band { background: var(--blue); color: var(--ivory); }
.cta-band .display-sm { color: var(--ivory); margin-bottom: 18px; }
.cta-band a:not(.btn) { color: var(--ivory); }
/* Services' Ready band: one quiet line, then Inquire (the footer right below has the hours, area and contacts) */
.ready-band .display-sm { margin-bottom: 8px; }
.ready-note { margin: 0 0 22px; opacity: .85; }
@media (max-width: 899.98px) { .ready-band .btn { display: flex; width: 100%; justify-content: center; } }

/* ---------- About ---------- */
.pull { margin: 32px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--accent); }
.pull p { font-family: var(--head); font-weight: 700; font-size: clamp(20px, 3vw, 28px); letter-spacing: -0.02em; line-height: 1.2; max-width: 40ch; }
.pull cite { display: block; margin-top: 4px; font-style: normal; font-size: 14px; color: var(--muted); }
.facts { font-size: 15px; }
.two-col, .three-col { display: grid; gap: 8px 40px; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } .three-col { grid-template-columns: repeat(3, 1fr); } }
.name { font-weight: 700; margin-bottom: 6px; }
.numbered { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px 40px; }
.numbered li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.numbered .num { font-size: 30px; color: var(--accent); }
.numbered .h3 { margin-top: 2px; }
@media (min-width: 900px) { .numbered { grid-template-columns: 1fr 1fr; } }
/* About: Why Us as full-width rows (number · title · text across the page) */
@media (min-width: 900px) {
  .numbered-wide { grid-template-columns: 1fr; }
  .numbered-wide li { grid-template-columns: 80px 1fr; padding: 28px 0; max-width: none; }
  .numbered-wide li > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 0 48px; align-items: baseline; }
  .numbered-wide p { margin: 0; max-width: 62ch; }
}
/* About: centered headings and text that runs the full width of the page */
.about-page { background: var(--bg-2); padding: 28px 0 44px; }
@media (min-width: 768px) { .about-page { padding: 44px 0 64px; } }
.about-page .wrap, .about-center .h2 { text-align: center; }
.about-founder .h2 { text-align: left; }
.about-page .display-sm { margin-bottom: 18px; }
.about-page .lede { max-width: min(860px, 88%); margin: 0 auto; }
.about-mission { padding-top: 40px; }
@media (min-width: 768px) { .about-mission { padding-top: 56px; } }
.about-col { margin: 36px 0 0; text-align: center; }
.about-col p, .founder-text p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; max-width: none; margin: 0 0 1.1em; }
.about-col p:last-child, .founder-text p:last-of-type { margin-bottom: 0; }
.about-quote { margin: 48px 0 0; padding: 32px 0 0; border-top: 2px solid var(--accent); text-align: center; }
.about-quote p { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 3.4vw, 40px); letter-spacing: -0.02em; line-height: 1.2; max-width: none; margin: 0 auto 14px; }
.about-quote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
/* Founder: the bio on the left, the portrait on the right (stacked on phones) */
.founder-grid { display: grid; gap: 32px; margin-top: 36px; text-align: left; }
@media (min-width: 900px) { .founder-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
@media (min-width: 900px) { .founder-grid.founder-solo { grid-template-columns: minmax(0, 1fr); } } /* no portrait: the bio takes the width */
.founder-media .founder-photo { display: block; width: 100%; max-width: 440px; margin: 0 auto; border-radius: var(--r); }
img.founder-photo { aspect-ratio: 4 / 5; object-fit: cover; }
.founder-media .founder-photo-empty { aspect-ratio: 4 / 5; background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--accent) 18%, transparent); display: grid; place-items: center; }
.founder-photo-empty img { width: 34%; opacity: .14; }
/* About: Values as big blue pills, like the Studio filter buttons */
.values { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.values li { background: var(--blue); color: var(--ivory); border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: clamp(26px, 8vw, 34px); letter-spacing: -0.01em; line-height: 1; padding: .42em .95em .4em; white-space: nowrap; }
@media (min-width: 768px) {
  .values { flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 14px; }
  .values li { font-size: min(44px, 3.15vw); }
}
/* About on computers: a centred title with the double globe; Our Mission and Founder with their headings
   on the left over a rule; the mission in two columns; the IBM quote centred between blue rules; the
   founder's bio on the left and the portrait space (for now the turning globe) on the right. */
.about-mark { display: none; }
.founder-globe { display: none; }
@media (min-width: 900px) {
  .about-page { padding: 80px 0 88px; }
  .about-mark { display: block; width: 116px; margin: 0 auto 30px; }
  .about-page .display-sm { font-size: clamp(40px, 4vw, 58px); margin-bottom: 46px; } /* room between the question and the answer */
  /* the answer in bold, then the rest wider and quieter */
  .about-page .lede { max-width: 940px; font-size: 18px; line-height: 1.65; color: var(--muted); text-wrap: pretty; } /* three full lines on a laptop */
  .about-kicker { display: block; font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 22px; text-wrap: balance; }
  .about-mission { padding: 88px 0; }
  .about-mission .h2 { text-align: left; }
  .about-mission .about-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; text-align: left; }
  .about-mission .about-col p { font-size: 18px; margin: 0; }
  .about-quote { max-width: 860px; margin: 64px auto 0; padding: 40px 0; border-bottom: 2px solid var(--accent); }
  .about-founder { padding: 88px 0; }
  .founder-grid.founder-has-globe { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .founder-text p { font-size: 18px; }
  .founder-globe { display: grid; place-items: center; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: end; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
  .founder-globe .founder-globe-host { width: 62%; height: auto; aspect-ratio: 1; } /* beats the small default globe size */
}
/* computers: the portrait space stays on the right although it comes first in the markup */
@media (min-width: 900px) {
  .founder-grid > .founder-text { grid-column: 1; grid-row: 1; }
  .founder-grid > .founder-media { grid-column: 2; grid-row: 1; }
}
/* phones and tablets: everything on About left-aligned, headings included; it reads easier on a narrow screen
   (after the base rules above, so it wins) */
@media (max-width: 899.98px) {
  .about-page .wrap, .about-center .h2, .about-col, .about-col p, .about-quote { text-align: left; }
  .about-page .lede { max-width: none; margin: 0; }
}
/* phones and tablets (Mari's pick, Nov 16): the double globe back at the top, one bold line leading each
   part, the quote between blue rules, a small portrait frame beside the founder's first paragraph with
   "Read more" for the rest, and Values as four small outlined tags, two by two. Computers are unchanged. */
@media (max-width: 899.98px) {
  .about-mark { display: block; width: 72px; margin: 0 0 22px; }
  .about-page .display-sm { margin-bottom: 18px; }
  .about-kicker { display: block; font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
  .about-page .lede { font-size: 16px; line-height: 1.6; color: var(--muted); }
  .about-pull { display: block; font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; }
  .about-col { margin-top: 24px; }
  .about-col p { font-size: 16px; }
  .about-quote { margin-top: 32px; padding: 22px 0; border-bottom: 2px solid var(--accent); }
  .about-quote p { font-size: 20px; margin-bottom: 10px; }
  .founder-grid { display: block; margin-top: 24px; }
  .founder-grid::after { content: ""; display: table; clear: both; }
  .founder-media { float: left; width: 96px; margin: 4px 16px 8px 0; }
  .founder-globe { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
  .founder-globe .founder-globe-host { width: 64%; height: auto; aspect-ratio: 1; }
  .founder-media .founder-photo { max-width: none; }
  .founder-text p { font-size: 16px; }
  .founder-text.is-short p:not(:first-child) { display: none; }
  .founder-text p:focus { outline: none; } /* where "Read more" leaves the focus; it isn't a control */
  .founder-more { font: inherit; font-size: 15px; color: var(--accent); background: none; border: 0; padding: 4px 0; margin-top: 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .values li { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); font-size: 16px; text-align: center; padding: .7em .5em; white-space: normal; }
}
@media (min-width: 900px) { .founder-more { display: none; } }
/* About, phones and tablets: Why Us with each number as a small label over its title, so the text gets the
   full width; the Ready band keeps its blue but adds one quiet line and a full-width button */
.about-ready-note { display: none; }
@media (max-width: 899.98px) {
  .numbered-wide li { display: block; padding: 16px 0 18px; }
  .numbered-wide .num { display: block; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 6px; }
  .numbered-wide .h3 { margin: 0 0 6px; color: var(--ink); font-size: 19px; }
  .numbered-wide p { margin: 0; color: var(--muted); }
  .about-ready .display-sm { margin-bottom: 8px; }
  .about-ready-note { display: block; margin: 0 0 20px; opacity: .85; }
  .about-ready .btn { display: flex; width: 100%; justify-content: center; }
}
.process { padding-left: 1.4em; margin: 12px 0 0; }
.process li { padding: 6px 0; }

/* ---------- Services ---------- */
/* Top of Services: a price-list outline, three cards (Shoots / Projects / Additional). Each row names a
   service with its starting price from the Rate Card / booking post, and opens that service below. */
.outline { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 960px) { .outline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; } } /* three across only once there's room for name + price */
.ol-card { background: var(--bg-2); border-radius: var(--r); padding-bottom: 6px; }
.ol-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 16px 18px 12px; margin: 0; }
.ol-head > a { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--accent); border-radius: var(--r-sm); }
.ol-title { font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.ol-head > a:hover .ol-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ol-list { list-style: none; margin: 0; padding: 0 18px; }
.ol-list li { border-top: 1px solid var(--line); }
.ol-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.ol-name { flex: 1 1 auto; min-width: 0; font-weight: 500; font-size: 16px; line-height: 1.3; }
.ol-note { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.ol-head .tag { white-space: nowrap; }
.ol-list a:hover .ol-name { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ol-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; }
.ol-price { flex: none; font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; line-height: 1.1; color: var(--accent); white-space: nowrap; }
.ol-sub { font-size: 12px; line-height: 1.3; color: var(--muted); white-space: nowrap; margin-top: 2px; }
.ol-price.ol-tag { font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; padding: 4px 10px; border: 1.5px solid var(--accent); border-radius: 999px; }
.ol-list a:not(:has(.ol-price))::after { content: "→"; content: "→" / ""; color: var(--accent); font-weight: 600; transition: transform .15s; }
.ol-list a:hover::after { transform: translateX(3px); }

/* Section bar: stays under the header while you scroll the details */
.svc-nav, .chip-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); margin-top: 20px; }
.svc-nav-row, .chip-row { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.svc-nav-row::-webkit-scrollbar, .chip-row::-webkit-scrollbar { display: none; }
.svc-nav a, .chip-row button { flex: none; color: var(--accent); background: transparent; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--accent); border-radius: 999px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.svc-nav a:hover, .chip-row button:hover { background: var(--bg-2); }
.svc-nav a[aria-current="true"], .chip-row button[aria-pressed="true"] { background: var(--blue); color: var(--ivory); }
html:has(.svc-nav), html:has(.chip-bar) { scroll-padding-top: calc(var(--header-h) + 78px); } /* anchors and keyboard focus land below the stuck bar */

/* Detail sections: numbered groups, each a stack of rows that open in place */
.svc-group { padding: 40px 0 8px; }
@media (min-width: 768px) { .svc-group { padding: 64px 0 8px; } }
/* Shoots / Projects / Additional / FAQ: each a big bar that slides open (site.js) to its stack of rows */
.svc-group-cat { padding: 0; }
.svc-nav + .svc-group-cat { margin-top: 32px; }
@media (min-width: 768px) { .svc-nav + .svc-group-cat { margin-top: 48px; } }
.svc-group-cat:has(#faq) { padding-bottom: 56px; }
@media (min-width: 768px) { .svc-group-cat:has(#faq) { padding-bottom: 88px; } }
.svc-cat { border-top: 2px solid var(--accent); min-width: 0; }
#additional, #faq { border-bottom: 2px solid var(--accent); }
.svc-cat > summary { list-style: none; cursor: pointer; position: relative; display: flex; align-items: baseline; gap: 14px;
  padding: 22px 64px 22px 0; color: var(--accent); border-radius: var(--r-sm); }
@media (min-width: 768px) { .svc-cat > summary { padding: 30px 76px 30px 0; } }
.svc-cat > summary::-webkit-details-marker { display: none; }
.svc-cat > summary .svc-num { font-size: 18px; }
.svc-cat > summary:hover .group-title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.svc-cat .cat-icon { right: 0; width: 44px; height: 44px; margin-top: -22px; }
@media (min-width: 768px) { .svc-cat .cat-icon { right: 0; width: 52px; height: 52px; margin-top: -26px; } }
.svc-cat .cat-icon::before, .svc-cat .cat-icon::after { width: 18px; margin-left: -9px; }
.svc-cat[open] > summary .cat-icon::after { transform: rotate(0deg); }
.svc-cat.closing > summary .cat-icon::after { transform: rotate(90deg); }
.svc-cat > summary:hover .cat-icon { background: var(--press); }
.svc-cat.sliding { overflow: hidden; }
.cat-body { padding: 0 0 28px; }
@media (min-width: 768px) { .cat-body { padding-bottom: 40px; } }
.group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); color: var(--accent); }
.group-head .svc-num { font-size: 18px; }
.group-title { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 7.5vw, 60px); letter-spacing: -0.045em; line-height: 0.95; }
.group-intro { margin-bottom: 18px; }
.group-intro .project-list { color: var(--accent); margin-top: 0; }

.stack { display: grid; gap: 10px; }
.svc-item { background: var(--bg-2); border-radius: var(--r); min-width: 0; }
.svc-item[open] { box-shadow: inset 0 0 0 2px var(--accent); }
.svc-item > summary {
  list-style: none; cursor: pointer; position: relative; border-radius: var(--r);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  min-height: 72px; padding: 18px 66px 18px 18px;
}
.svc-item > summary::-webkit-details-marker { display: none; }
.svc-item > summary:focus-visible { outline-offset: -3px; }
.svc-item[open] > summary:focus-visible { outline-color: var(--ink); } /* stands apart from the open row's blue ring */
.item-title { font-family: var(--head); font-weight: 800; font-size: clamp(22px, 4.6vw, 28px); letter-spacing: -0.035em; line-height: 1.05; color: var(--accent); }
.item-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.item-meta { flex-basis: 100%; font-size: 15px; line-height: 1.45; color: var(--muted); }
.svc-item[open] .item-meta { display: none; }
/* round + / – button */
.item-icon { position: absolute; right: 16px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--blue); transition: background .15s; }
.item-icon::before, .item-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ivory); border-radius: 2px; transition: transform .2s; }
.item-icon::after { transform: rotate(90deg); }
.svc-item[open] .item-icon::after { transform: rotate(0deg); }
/* while a row slides (site.js): clip its contents; flip the icon back to + as soon as it starts closing */
.svc-item.sliding { overflow: hidden; }
.svc-item.closing .item-icon::after { transform: rotate(90deg); }
.svc-item > summary:hover .item-icon { background: var(--press); }
.item-body { padding: 0 18px 8px; min-width: 0; }
@media (min-width: 768px) {
  .svc-item > summary { min-height: 84px; padding: 22px 84px 22px 30px; }
  .item-icon { right: 26px; width: 40px; height: 40px; margin-top: -20px; }
  .item-body { padding: 0 30px 18px; }
}
@media (prefers-reduced-motion: reduce) { .item-icon::before, .item-icon::after, .item-icon { transition: none; } }

.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; padding: 4px 10px; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); }
.tag-solo { margin: 0 0 12px; }
.panel-sub { color: var(--muted); margin: 0 0 12px; }
.item-body .lede { font-size: 17px; padding-left: 12px; border-left: 3px solid var(--accent); margin-bottom: 16px; }
.h4 { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; line-height: 1.2; margin: 24px 0 8px; color: var(--accent); }
.item-body > .h4:first-child { margin-top: 4px; }
.item-body .def { margin-top: 4px; }
.item-body .bullets { list-style: none; padding-left: 0; }
.item-body .bullets li { position: relative; padding-left: 18px; }
.item-body .bullets li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.item-body .three-col .h4 { margin-top: 18px; }
.item-body .process { margin-bottom: 8px; }

/* FAQ: same stack, lighter rows */
.faq-item > summary { min-height: 60px; padding: 15px 60px 15px 18px; }
.faq-item .item-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.faq-item .item-icon { width: 30px; height: 30px; margin-top: -15px; }
.faq-item .item-icon::before, .faq-item .item-icon::after { width: 12px; margin-left: -6px; }
@media (min-width: 768px) {
  .faq-item > summary { min-height: 64px; padding: 16px 76px 16px 30px; }
  .faq-item .item-icon { width: 32px; height: 32px; margin-top: -16px; }
}

/* Key Terms: an outlined rounded box, like the booking post's contact box */
.terms-card { border: 2px solid var(--accent); border-radius: var(--r); padding: 20px 18px 6px; }
@media (min-width: 768px) { .terms-card { padding: 28px 30px 12px; } }
.def { margin: 8px 0 20px; }
.def > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.def > div:last-child { border-bottom: 1px solid var(--line); }
.def dt { font-weight: 700; }
.def dd { margin: 0; }
@media (min-width: 768px) { .def > div { grid-template-columns: 240px 1fr; gap: 24px; } }
.table-wrap { overflow-x: auto; margin: 14px 0 20px; -webkit-overflow-scrolling: touch; background: var(--blue); border-radius: 10px; }
.rates { border-collapse: collapse; width: 100%; min-width: 0; font-variant-numeric: tabular-nums; color: var(--ivory); font-size: 15px; }
.rates th, .rates td { text-align: left; padding: 11px 12px; border-bottom: 1px solid rgba(249,242,226,.32); vertical-align: top; line-height: 1.35; }
.rates tr > * + * { border-left: 1px solid rgba(249,242,226,.32); }
.rates tbody tr:last-child > * { border-bottom: 0; }
.rates thead th { font-size: 14px; font-weight: 700; }
.rates tbody th { font-weight: 700; }
.rates td { font-style: italic; }
.rates td:nth-child(2) { white-space: nowrap; }
/* small phones: tables use a little of the row's side padding and tighter cells, so they never scroll sideways */
@media (max-width: 479px) { .item-body .table-wrap { margin-left: -8px; margin-right: -8px; } .rates { font-size: 14px; } .rates th, .rates td { padding: 10px 9px; } }
@media (min-width: 768px) { .rates th, .rates td { padding: 12px 16px; } .rates { font-size: 16px; } }
.table-pair { display: grid; gap: 0 16px; }
@media (min-width: 768px) { .table-pair { grid-template-columns: 1fr 1fr; align-items: start; } }
.bullets { padding-left: 1.2em; margin: 8px 0 18px; }
.bullets li { padding: 4px 0; }
.book-facts { margin: 0 0 28px; display: grid; gap: 12px; }
.book-facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: .75; }
.book-facts dd { margin: 0; }

/* ---------- Studio ---------- */
/* Studio: big title only, then the filter bar sticks under the header */
.page-head-studio { padding-bottom: 4px; }
.page-head-studio .display-sm { margin-bottom: 0; }
.studio-bar { margin-top: 12px; }
.gallery { padding: 16px 0 56px; }
@media (min-width: 768px) { .gallery { padding-top: 24px; } }
.studio-more { margin: 28px 0 0; }
/* Justified rows: order runs left to right, top to bottom, as the page shuffled them */
.jgrid { display: flex; flex-wrap: wrap; gap: 6px; }
.jgrid::after { content: ""; flex-grow: 999999; }
.jgrid a { position: relative; display: block; flex-grow: calc(var(--ar) * 100); flex-basis: max(calc(var(--ar) * 150px), calc(100% / 4 + 1px)); background: var(--bg-2); } /* phones: at most 3 per row, even on wide phones */
.jgrid a[hidden] { display: none; }
/* hover: the photo grows a little and lifts above its neighbours */
@media (hover: hover) {
  .jgrid a { transition: transform .25s ease, box-shadow .25s ease; }
  .jgrid a:hover, .jgrid a:focus-visible { transform: scale(1.05); z-index: 2; box-shadow: 0 10px 28px rgba(17,17,17,.28); }
}
.jgrid.is-moving a { transform: none; transition: none; box-shadow: none; } /* set by site.js while photos glide */
@media (prefers-reduced-motion: reduce) { .jgrid a { transition: none; } }
.jgrid a i { display: block; padding-bottom: calc(100% / var(--ar)); }
.jgrid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* video tiles in the Studio rows: a small play button and the length, the same size as the photos around them */
.jgrid .jplay { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(249,242,226,.92); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.jgrid .jplay::after { content: ""; position: absolute; left: 19px; top: 15px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--black); }
/* the Video tab: one video per row, full width, every one the same 16:9 size */
.jgrid.is-stack::after { display: none; }
.jgrid.is-stack a { flex: 0 0 100%; }
.jgrid.is-stack a i { padding-bottom: 56.25%; }
.jgrid.is-stack a:hover, .jgrid.is-stack a:focus-visible { transform: none; box-shadow: 0 10px 28px rgba(17,17,17,.2); }
.jgrid.is-stack .jplay { transform: scale(1.4); }
.jgrid .jnostill { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 10px 12px; background: var(--black); color: var(--ivory); font-size: 13px; font-weight: 600; line-height: 1.3; }
.lb-guard { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.jgrid .jlen { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 4px; background: rgba(17,17,17,.72); color: var(--ivory); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* tablet + desktop: bigger photos. The max() keeps every photo wider than a sixth of the row,
   so a row can never hold more than 5 (desktop: 5 across at most; 1024px: 4; tablet: 3). */
@media (min-width: 768px) { .jgrid { gap: 12px; } .jgrid a { flex-basis: max(calc(var(--ar) * 300px), calc(100% / 6 + 1px)); } }
/* Home: one row of 5 same-size photos (a fresh film + digital mix each visit, picked by the inline
   script in build.py). Desktops: all 5 side by side. Phones and tablets: the same row scrolls sideways
   (about 2.5 photos in view on phones, 3.5 on tablets), snapping photo by photo. */
.home-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 40%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.home-grid::-webkit-scrollbar { display: none; }
.home-grid > a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); scroll-snap-align: start; }
.home-grid > a[hidden] { display: none; }
.home-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (hover: hover) { .home-grid > a:hover img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .home-grid img { transition: none; } }
@media (min-width: 768px) { .home-grid { grid-auto-columns: 28%; gap: 14px; } }
@media (min-width: 1024px) {
  .home-grid { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 0; padding: 0; }
}
.videos { display: grid; gap: 32px; }
@media (min-width: 900px) { .videos { grid-template-columns: 1fr 1fr; } }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--black); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(17,17,17,.96); display: none; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.lb.open { display: flex; }
.lb img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; user-select: none; }
@media (min-width: 768px) { .lb img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); } }
.lb button { position: absolute; border: 0; border-radius: var(--r-sm); background: rgba(17,17,17,.5); color: var(--ivory); width: 48px; height: 48px; font-size: 26px; cursor: pointer; display: grid; place-items: center; }
.lb .lb-close { top: 8px; right: 8px; }
.lb .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-video { width: min(92vw, calc(80vh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lb-video[hidden] { display: none; }
.lb-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb img[hidden] { display: none; }
.lb .lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: var(--ivory); font-size: 13px; letter-spacing: .1em; }

/* ---------- Shop ---------- */
.shop-hero { background: var(--blue); color: var(--ivory); min-height: calc(100vh - var(--header-h) - var(--nav-m-h)); min-height: calc(100svh - var(--header-h) - var(--nav-m-h)); display: flex; align-items: center; padding: 56px 0; }
.shop-hero .eyebrow { color: var(--ivory); }
.shop-mark { width: min(60vw, 260px); margin-bottom: 32px; }
.shop-hero .display { font-size: clamp(52px, 15vw, 150px); margin-bottom: 36px; }
.signup { max-width: 520px; }
.signup-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.signup-row { display: flex; flex-direction: column; gap: 10px; }
.signup input { min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px; border: 2px solid var(--ivory); background: transparent; color: var(--ivory); border-radius: var(--r-sm); width: 100%; }
.signup input:focus { outline: none; background: rgba(249,242,226,.08); }
@media (min-width: 560px) { .signup-row { flex-direction: row; } .signup-row .btn { flex: none; min-height: 52px; } }

/* ---------- Forms ---------- */
.inquiry { display: grid; gap: 4px; }
.field { border: 0; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); min-width: 0; }
.field-row { display: grid; gap: 0 20px; }
.field-row .field + .field { border-top: 0; padding-top: 0; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field + .field { border-top: 1px solid var(--line); padding-top: 18px; } }
.field label, .field legend { display: block; font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; padding: 0; }
.field .sub-label { font-size: 15px; margin-top: 12px; }
.opt, .hint { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.help { font-size: 14px; color: var(--muted); margin: -2px 0 10px; }
.inquiry input[type="text"], .inquiry input[type="email"], .inquiry input[type="tel"], .inquiry input[type="number"], .inquiry textarea {
  width: 100%; min-height: 48px; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: var(--r-sm);
}
.inquiry textarea { resize: vertical; }
.inquiry input:not([type="checkbox"]):not([type="radio"]):focus, .inquiry textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.choices { display: grid; gap: 2px; }
.choices label, .agree { display: flex; align-items: flex-start; gap: 10px; font-family: var(--body); font-weight: 400; font-size: 16px; letter-spacing: 0; margin: 0; padding: 7px 0; cursor: pointer; line-height: 1.4; }
.choices-inline { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.choices input, .agree input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
@media (min-width: 640px) { #fs-service .choices { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.field.invalid { box-shadow: inset 4px 0 0 var(--error); padding-left: 14px; }
.field.invalid legend, .field.invalid > label { color: var(--error); }
.terms-box { margin-top: 18px; padding: 20px 18px; background: var(--bg); border: 2px solid var(--accent); border-radius: var(--r); }
@media (min-width: 768px) { .terms-box { padding: 26px 30px; } }
.terms-box .h3 { margin-top: 0; }
.terms-box .lede { font-size: 16px; }
.terms-box .bullets { font-size: 15px; }
.agree { font-weight: 600; margin-top: 8px; }
.agree.invalid { color: var(--error); }
.form-error { color: var(--error); font-weight: 600; margin: 12px 0 0; }
.inquiry button[type="submit"] { margin-top: 18px; width: 100%; }
@media (min-width: 640px) { .inquiry button[type="submit"] { width: auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--accent); padding: 48px 0 24px; font-size: 15px; border-top: 1px solid color-mix(in srgb, var(--accent) 12%, transparent); }
.site-footer a { color: var(--accent); }
.site-footer .eyebrow { opacity: .75; margin: 16px 0 4px; }
.site-footer .mark { width: 88px; margin-bottom: 14px; }
.footer-name { font-size: 26px; text-transform: uppercase; margin-bottom: 6px; }
.footer-grid { display: grid; gap: 8px 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
/* Home's last section: the newest Writer's Room piece (build.py render_home_writing) */
.home-writing { padding: 44px 0 52px; }
.hw-sub { margin: 8px 0 0; max-width: 60ch; color: var(--muted); }
.hw-meta { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.hw-links { display: flex; align-items: center; gap: 22px; margin: 18px 0 0; }
.hw-all { font-size: 14px; }

.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); margin-top: 32px; padding-top: 16px; font-size: 13px; }
.footer-base p { margin: 0; }
.footer-base .theme-pick { align-self: center; }
/* phones: a tighter footer (after the base rules above, so it wins). Two columns only once both fit;
   the long email address may break rather than squeeze its neighbour */
@media (max-width: 767px) {
  .site-footer { padding-top: 32px; }
  .footer-grid { gap: 4px 20px; }
  .footer-grid a { overflow-wrap: anywhere; }
  .site-footer .mark { width: 64px; }
  .footer-base { flex-direction: column; gap: 6px; margin-top: 20px; }
  .footer-base .theme-pick { align-self: flex-start; margin-top: 8px; }
}
/* every screen (Mari's picks, Nov 16): the email and Instagram links have no underline and slowly breathe
   instead (still, with the underline back, for anyone whose device asks for less motion); the bottom is
   PRIVACY · TERMS · ADMIN centred on one line, the copyright centred under it, then the Light/Dark switch */
.footer-admin { display: none; }
.footer-grid a { text-decoration: none; animation: fb-breathe 2.6s ease-in-out infinite; }
.footer-grid > div:nth-child(2) > p:last-child a { animation-delay: .4s; }
.footer-grid a:hover, .footer-grid a:focus-visible { animation-play-state: paused; opacity: 1; }
@keyframes fb-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .footer-grid a { animation: none; text-decoration: underline; } }
.footer-base { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 0; padding-top: 18px; text-align: center; }
.footer-base > p { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-base > p a { text-decoration: none; }
.footer-base > p a:hover, .footer-base > p a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.footer-base .fb-long { display: none; }
.footer-base > p:nth-child(3)::before, .footer-admin-m::before { content: "·"; opacity: .4; margin: 0 10px; }
.footer-admin-m a { opacity: .6; }
.footer-base > p:first-child { order: 2; flex-basis: 100%; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .65; }
.footer-base .theme-pick { order: 3; flex: 0 0 auto; margin-top: 4px; align-self: center; }
/* phones: one column, each line a label on the left and its value on the right, like a spec sheet, so the
   email address and the hours never break mid-word */
@media (max-width: 767.98px) {
  .footer-grid { display: block; }
  .footer-grid > div:first-child { margin-bottom: 14px; }
  .footer-grid > div:not(:first-child) { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .footer-grid > div:not(:first-child) > * { margin: 0; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
  .site-footer .footer-grid .eyebrow { margin: 0; padding-top: 12px; font-size: 11px; }
  .footer-grid > div:not(:first-child) > p:not(.eyebrow) { text-align: right; font-size: 14px; line-height: 1.45; padding-left: 14px; }
  .footer-grid a { overflow-wrap: normal; white-space: nowrap; }
  .footer-base { flex-direction: row; margin-top: 0; }
  .footer-base .theme-pick { align-self: center; margin-top: 4px; }
}
/* the narrowest phones: the label over its value, so the email address still fits on one line */
@media (max-width: 359.98px) {
  .footer-grid > div:not(:first-child) { display: block; }
  .footer-grid > div:not(:first-child) > p:not(.eyebrow) { text-align: left; border-top: 0; padding-top: 2px; padding-left: 0; }
}

/* ---------- Inquire: Work Order assistant ---------- */
.wo .wrap { display: grid; gap: 14px; }
/* Ada's box shows only with JavaScript: straight away (.wo-js, set at the top of the page) and after
   assistant.js confirms she's on (.wo-ready). Meanwhile the plain form stays out of sight: no flash.
   Without JavaScript, or if the script never runs, only the plain form shows. */
#assistant { display: none; }
.wo-js #assistant, .wo-ready #assistant { display: block; }
.wo-js #plain-form { display: none; }
/* Inquire: a compact head so Ada sits near the top; the title stays on one line */
.page-head-inquire { padding: 28px 0 4px; }
@media (min-width: 768px) { .page-head-inquire { padding: 48px 0 8px; } }
.page-head-inquire .display-sm { font-size: min(56px, 6.5vw); white-space: nowrap; margin-bottom: 0; }
.page-head-inquire + .wo { padding-top: 18px; }
/* Ada's chat: one card, a header, the conversation on a soft panel, the composer at the bottom */
.wo-card { border: 2px solid var(--accent); border-radius: 18px; background: var(--bg); overflow: hidden;
  box-shadow: 0 22px 44px -30px rgba(6,57,138,.45); }
.wo-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
/* "Start over" in both chats: a quiet text button; the first tap asks for a second */
.ada-restart { margin-left: auto; flex: none; border: 0; background: transparent; padding: 6px 4px; font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; white-space: nowrap; }
.ada-restart:hover, .ada-restart:focus-visible { color: var(--accent); }
.ada-restart.is-armed { color: var(--accent); }
.ada-restart[disabled] { opacity: .4; cursor: default; }
.ada-restart[hidden] { display: none; }
.ada-panel-head .ada-restart { margin-left: 0; }
@media (min-width: 768px) { .wo-head { padding: 16px 22px; } }
.wo-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ivory-2); padding: 4px; } /* Ada's blue globe keeps its ivory circle in dark mode too */
.wo-head .wo-label { margin-bottom: 2px; }
.wo-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.wo-note, .wo-privacy, .wo-small { font-size: 14px; color: var(--muted); margin: 0; }
/* "What's collected": a small button that opens to show the note */
.wo-privacy-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 20px; margin-top: 12px; }
.wo-privacy-row .wo-privacy { flex: 1 1 260px; }
.wo-privacy > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-weight: 600; color: var(--accent); min-height: 32px; }
.wo-privacy > summary::-webkit-details-marker { display: none; }
.wo-privacy > summary::after { content: "+"; font-size: 15px; line-height: 1; transition: transform .2s ease; }
.wo-privacy[open] > summary::after { transform: rotate(45deg); }
.wo-privacy > summary:hover, .wo-privacy > summary:focus-visible { color: var(--ink); }
.wo-privacy > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.wo-privacy-body { overflow: hidden; } /* site.js slides it open and closed */
.wo-privacy p { margin: 0; padding-top: 6px; max-width: 72ch; line-height: 1.5; }
/* "Prefer the plain form?": no underline, an arrow that nudges forward instead */
.wo-privacy-row #wo-use-form { text-decoration: none; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.wo-privacy-row #wo-use-form::after { content: "→"; transition: transform .2s ease; }
.wo-privacy-row #wo-use-form:hover, .wo-privacy-row #wo-use-form:focus-visible { color: var(--ink); }
.wo-privacy-row #wo-use-form:hover::after, .wo-privacy-row #wo-use-form:focus-visible::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .wo-privacy-row #wo-use-form::after { transition: none; } }
@media (prefers-reduced-motion: reduce) { .wo-privacy > summary::after { transition: none; } }
.wo-log { display: flex; flex-direction: column; gap: 12px; min-height: 240px; max-height: min(60vh, 560px); overflow-y: auto; padding: 18px 14px; overscroll-behavior: contain;
  background: var(--bg-2); }
@media (min-width: 768px) { .wo-log { padding: 22px 22px; } }
.wo-msg { overflow-wrap: anywhere; max-width: 86%; padding: 12px 16px; border-radius: 18px; line-height: 1.5; font-size: 16px; }
.wo-msg p { margin: 0; max-width: none; }
.wo-msg p + p { margin-top: 12px; }
.wo-assistant { align-self: flex-start; background: var(--card); border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(17,17,17,.04); }
.wo-user { align-self: flex-end; background: var(--blue); color: var(--ivory); border-bottom-right-radius: 6px; }
/* The spinning globe (ada.js, from spinning-globe.html): a picture until D3 has loaded, then the live globe */
.wo-typing { display: inline-flex; align-items: center; padding: 10px 16px; }
.hr-globe-host { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; color: var(--accent); }
.hr-globe-host img, .hr-globe { width: 100%; height: 100%; display: block; }
/* no fade when the live globe takes over: it starts on exactly the frame the still shows */
.hr-globe-grid { stroke-width: .6; opacity: .55; }
.hr-globe-rim { stroke-width: 1.4; }
/* new messages fade and glide up into place */
.wo-in { animation: wo-in .42s cubic-bezier(.2, .7, .2, 1) both; transform-origin: bottom left; }
.wo-user.wo-in { transform-origin: bottom right; }
@keyframes wo-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .wo-in { animation: none; }
}
.wo-estimate { align-self: flex-start; width: min(100%, 460px); }
.wo-estimate .table-wrap { margin: 6px 0 8px; }
.wo-estimate-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0; }
.wo-estimate .rates td { white-space: nowrap; }
.wo-estimate .wo-total th, .wo-estimate .wo-total td { font-style: normal; font-weight: 800; }
.wo-composer { display: flex; gap: 10px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); background: var(--bg); }
@media (min-width: 768px) { .wo-composer { padding: 14px 18px; } }
.wo-composer[hidden] { display: none; }
.wo-composer textarea { flex: 1; min-height: 52px; max-height: 180px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 16px; resize: none; }
.wo-composer textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.wo-composer .btn { min-height: 52px; border-radius: 16px; padding-left: 22px; padding-right: 22px; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--ivory); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wo-order { display: grid; gap: 14px; }
.wo-memo { overflow-wrap: anywhere; border: 2px solid var(--accent); border-radius: var(--r); padding: 20px 18px; background: var(--bg); }
@media (min-width: 768px) { .wo-memo { padding: 28px 32px; } }
.wo-memo-head { border-bottom: 2px solid var(--accent); padding-bottom: 12px; margin-bottom: 6px; }
.wo-number { font-family: var(--head); font-weight: 800; font-size: clamp(26px, 6vw, 38px); letter-spacing: -0.03em; line-height: 1; color: var(--accent); margin: 2px 0 6px; }
.wo-sec { font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--accent); margin: 20px 0 6px; }
.wo-memo .def { margin: 4px 0 0; }
.wo-lines { list-style: none; padding: 0; margin: 4px 0 8px; }
.wo-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--line); }
.wo-lines .wo-total { font-weight: 700; border-top: 2px solid var(--accent); }
.wo-amt { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wo-refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wo-refs a { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--bg-2); }
.wo-refs img { width: 100%; height: 100%; object-fit: cover; }
.wo-steps { padding-left: 1.3em; margin: 4px 0 0; }
.wo-steps li { padding: 4px 0; }
.wo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wo-memo-meta { margin: 6px 0 14px; display: grid; gap: 4px; }
.wo-memo-meta div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.wo-memo-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.wo-memo-meta dd { margin: 0; }

/* ---------- Cookie choice (track.js) and the Privacy page ---------- */
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.cc { position: fixed; z-index: 110; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 500px; padding: 14px 16px 16px; background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--r); box-shadow: 0 10px 30px rgba(17,17,17,.18); }
@media (min-width: 600px) { .cc { left: 20px; right: auto; bottom: 20px; } }
.cc-label { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cc-text { margin: 0; font-size: 15px; line-height: 1.45; }
.cc-text a { color: inherit; font-weight: 600; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* side by side when both fit on one line, otherwise stacked full width: always the same size as each other */
.cc-actions .btn { flex: 1 1 130px; white-space: nowrap; }
/* while it's open, the end of every page can still be scrolled clear of it */
.cc-open body { padding-bottom: var(--cc-h, 0px); }
.cc-open .svc-sticky { bottom: calc(var(--cc-h, 0px) + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: no-preference) {
  .cc { animation: cc-in .35s ease both; }
  @keyframes cc-in { from { opacity: 0; transform: translateY(14px); } }
}
@media print { .cc { display: none; } }
.pv-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .pv-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; } .pv-choice { position: sticky; top: calc(var(--header-h) + 16px); } }
.pv-choice { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; background: var(--card); }
.pv-choice .eyebrow { color: var(--accent); margin: 0 0 8px; }
.pv-state { margin: 0; }
.pv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pv-actions .btn { flex: 1 1 auto; }
.pv-actions .btn[aria-pressed="true"]::before { content: "✓"; }
.pv-body { max-width: 68ch; }
.pv-body h2 { font-family: var(--head); font-size: 20px; margin: 28px 0 6px; }
.pv-body h2:first-child { margin-top: 0; }
.pv-body p { margin: 0 0 12px; }
.pv-body code { font-size: .92em; background: color-mix(in srgb, var(--ink) 6%, transparent); padding: 1px 5px; border-radius: 4px; }

/* ---------- Activity report (/stats/, private) ---------- */
.st-lede { max-width: 60ch; margin: 0; }
/* the admin sign-in: just a password box in the middle of the page */
.adm-gate { min-height: calc(100vh - var(--header-h) - 220px); min-height: calc(100dvh - var(--header-h) - 220px); display: grid; place-content: center; justify-items: center; gap: 22px; }
.adm-gate[hidden] { display: none; }
.adm-mark { width: 64px; display: block; }
.adm-row { display: flex; align-items: center; gap: 6px; width: min(340px, 82vw); height: 50px; padding: 0 5px 0 18px; border: 1.5px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 999px; background: var(--card); }
.adm-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.adm-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; letter-spacing: .04em; }
.adm-go { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blue); color: var(--ivory); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.adm-go:hover, .adm-go:focus-visible { background: var(--press); }
.adm-msg, .adm-status { text-align: center; }
.adm-status { min-height: 40vh; display: grid; place-items: center; }
.adm-status[hidden] { display: none; }
/* Work Orders on the admin page */
.st-wo-intro { margin: 0 0 14px; }
.st-wo { border-top: 1px solid var(--line); }
.st-wo:last-child { border-bottom: 1px solid var(--line); }
.st-wo-sum { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 14px 0; cursor: pointer; list-style: none; }
.st-wo-sum::-webkit-details-marker { display: none; }
.st-wo-num { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.st-wo-who { font-weight: 600; }
.st-wo-svc, .st-wo-date { grid-column: 2; font-size: 14px; color: var(--muted); }
@media (min-width: 800px) { .st-wo-sum { grid-template-columns: 150px minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: baseline; } .st-wo-svc, .st-wo-date { grid-column: auto; } }
.st-wo-body { padding: 0 0 22px; max-width: 760px; }
.st-wo-reply { display: inline-flex; margin: 6px 0 4px; min-height: 38px; padding: 8px 16px; font-size: 13px; }
.st-wo-h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 18px 0 6px; }
.st-wo-text { margin: 0; white-space: pre-wrap; }
.st-wo-dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.st-wo-dl dt { color: var(--muted); }
.st-wo-dl dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.st-wo-total { font-weight: 700; color: var(--ink) !important; }
.st-wo-more { margin-top: 18px; }
/* Conversations (admin): one row per conversation with Ada, opening to the transcript */
.st-chat-sum { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 14px 0; cursor: pointer; list-style: none; }
.st-chat-sum::-webkit-details-marker { display: none; }
.st-chat-sum:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.st-chat-meta { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-chat-first { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-chat-end { font-size: 14px; color: var(--muted); }
.st-chat-end.is-sent { color: var(--accent); font-weight: 600; }
.st-chat-sum:hover .st-chat-first { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 800px) {
  .st-chat-sum { grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
  .st-chat-meta { grid-column: 1; }
  .st-chat-first { grid-column: 1; }
  .st-chat-end { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; }
}
.st-chat-log { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.st-chat-msg { padding-left: 12px; border-left: 2px solid var(--line); }
.st-chat-msg.is-ada { border-left-color: var(--accent); }
.st-chat-who { margin: 0 0 2px; font-size: 13px; color: var(--muted); }
.st-chat-who strong { color: var(--ink); font-weight: 600; }
.st-chat-msg .st-wo-text { overflow-wrap: anywhere; }
.st-chat-msg .st-small { margin-top: 4px; }
/* Before this Work Order: the client's earlier visits, folded */
.st-wo-hist { margin-top: 18px; }
.st-wo-hist > summary { cursor: pointer; list-style: none; display: grid; gap: 2px; min-height: 44px; padding: 4px 0; }
.st-wo-hist > summary::-webkit-details-marker { display: none; }
.st-wo-hist > summary .st-wo-h { margin: 0; }
.st-wo-hist > summary .st-wo-h::after { content: " +"; }
.st-wo-hist[open] > summary .st-wo-h::after { content: " \2212"; }
.st-wo-hist-sum { font-size: 15px; }
.st-wo-hist > summary:hover .st-wo-hist-sum { text-decoration: underline; text-underline-offset: 3px; }
.st-wo-hist > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.st-wo-hist-list { list-style: none; margin: 8px 0 0; padding: 0; }
.st-wo-hist-list > li { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.st-wo-hist-list p { margin: 0; }
.st-wo-hist-pages { font-size: 14px; overflow-wrap: anywhere; }
.st-wo-hist-none { margin-top: 14px; }
.st-keynote { margin: 0 0 18px; }
.st-gate { max-width: 420px; display: grid; gap: 8px; }
.st-gate label { font-weight: 600; }
.st-gate-row { display: flex; gap: 8px; }
.st-gate-row input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); color: var(--ink); }
.st-msg { margin: 0; }
.st-small { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.st-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.st-range { display: flex; flex-wrap: wrap; gap: 6px; }
.st-range button { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.st-range button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.st-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
@media (min-width: 768px) { .st-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .st-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.st-tile { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--card); }
.st-tile-label { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.st-tile-value { font-family: var(--head); font-weight: 700; font-size: 28px; line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.st-sec { border-top: 1px solid var(--line); padding: 28px 0 8px; margin-top: 24px; }
.st-h { font-family: var(--head); font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.st-h3 { font-size: 16px; font-weight: 600; margin: 20px 0 4px; }
.st-empty { color: var(--muted); margin: 12px 0 0; }
.st-table-wrap { overflow-x: auto; margin-top: 12px; }
.st-table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.st-table th, .st-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; font-weight: 400; }
.st-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.st-table .num { text-align: right; white-space: nowrap; }
.st-table tbody th { width: 40%; min-width: 7.5em; overflow-wrap: break-word; } /* names wrap between words, never letter by letter */
.st-lab { display: inline-flex; align-items: center; gap: 10px; }
.st-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; }
.st-rank { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.st-track { flex: 1; min-width: 0; }
.st-rank i { display: block; height: 10px; background: var(--accent); border-radius: 0 4px 4px 0; }
.st-rank b { font-weight: 600; min-width: 4ch; text-align: right; }
.st-cols { margin-top: 16px; }
.st-cols-grid { position: relative; padding-top: 18px; }
.st-axis-top { position: absolute; top: 0; left: 0; font-size: 12px; color: var(--muted); }
.st-cols-plot { display: flex; align-items: flex-end; gap: 2px; height: 180px; border-top: 1px solid var(--line); border-bottom: 1px solid color-mix(in srgb, var(--ink) 40%, transparent); }
.st-col { flex: 1 1 0; min-width: 1px; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: default; outline-offset: 2px; }
.st-col i { display: block; width: 100%; max-width: 24px; background: var(--accent); border-radius: 4px 4px 0 0; }
.st-col:hover i { background: var(--col-hover); }
.st-cols-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
/* the line chart (Visits per day / week / hour): a 2px blue line over a faint wash, hairline guides, a crosshair */
.st-line { margin-top: 16px; }
.st-line-grid { position: relative; padding-top: 18px; }
.st-line-plot { position: relative; cursor: crosshair; touch-action: pan-y; border-radius: 2px; } /* a sideways drag scrubs; up and down still scroll */
.st-line-svg { display: block; max-width: 100%; overflow: visible; } /* never wider than its box, even for the moment before a redraw */
.st-line-path { fill: none; stroke: var(--chart-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.st-line-area { fill: var(--chart-line); fill-opacity: .08; stroke: none; }
.st-line-guide { stroke: var(--line); stroke-width: 1; }
.st-line-base { stroke: color-mix(in srgb, var(--ink) 40%, transparent); stroke-width: 1; }
.st-line-cross { stroke: var(--muted); stroke-width: 1; }
.st-line-dot { fill: var(--chart-line); stroke: var(--bg); stroke-width: 2; }
.st-line-tick { fill: var(--muted); font-size: 12px; }
.st-table-toggle { margin-top: 10px; font-size: 14px; }
.st-table-toggle summary { cursor: pointer; color: var(--muted); }
.st-tip { position: absolute; z-index: 50; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 13px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.st-tip strong { font-weight: 700; }
.st-link { font: inherit; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.st-foot { margin-top: 32px; }
.st-reset { margin-top: 18px; font-size: 14px; max-width: 520px; }
.st-reset summary { cursor: pointer; color: var(--muted); }
.st-reset form { display: grid; gap: 8px; margin-top: 10px; }
.st-reset label { font-weight: 600; }
.st-reset input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); color: var(--ink); }
.st-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tabs [role="tab"] { font: inherit; font-weight: 600; font-size: 15px; padding: 12px 14px; min-height: 44px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; color: var(--muted); cursor: pointer; white-space: nowrap; }
.st-tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.st-tabs [role="tab"]:hover { color: var(--ink); }
.st-summary { font-size: clamp(20px, 2.6vw, 26px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 22px; max-width: 40ch; }
.st-summary strong { font-weight: 700; color: var(--accent); }
.st-live { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 16px 18px; margin: 0 0 20px; background: var(--card); }
.st-live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.st-live-head .st-live-time { margin: 0 0 0 auto; }
.st-live-count { font-family: var(--head); font-size: 20px; font-weight: 700; margin: 0; }
.st-live-dot { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 25%, transparent); flex: none; }
.st-live.is-on .st-live-dot { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
@media (prefers-reduced-motion: no-preference) { .st-live.is-on .st-live-dot { animation: st-pulse 2s ease-in-out infinite; } @keyframes st-pulse { 50% { box-shadow: 0 0 0 7px rgba(6,57,138,.05); } } }
.st-live-list { list-style: none; margin: 10px 0 0; padding: 0; }
.st-live-list > li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.st-filters { margin: 14px 0 16px; }
.st-chart-kind { margin: 4px 0 14px; }
.st-chart-kind button { padding: 5px 12px; font-size: 13px; }
.st-filters button[hidden] { display: none; }
.st-v-intro { margin: 0; }
.st-visit-list { display: grid; gap: 12px; }
.st-visit { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--card); }
.st-v-head { display: grid; gap: 2px; margin-bottom: 10px; }
.st-v-who, .st-v-when { margin: 0; }
.st-v-when { font-size: 14px; color: var(--muted); }
.st-badge { justify-self: start; margin: 6px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent); }
.st-badge-sent { background: var(--blue); color: var(--ivory); }
.st-path { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.st-path > li { position: relative; }
.st-path > li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.st-p-line { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.st-p-name { font-weight: 600; }
.st-p-meta { font-size: 13px; color: var(--muted); }
.st-p-photos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.st-p-photos .st-thumb { width: 36px; height: 36px; }
.st-p-did { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.st-v-person { margin-top: 12px; font-size: 14px; }
.st-more { margin-top: 16px; }

.inquiry .wo-privacy { margin: 0 0 16px; }

/* ---------- The Writer's Room ---------- */
.wr-head .display-sm { margin-bottom: 0; }
.wr-lede { margin: 14px 0 0; color: var(--muted); }
/* The stack: one row per piece (number + title | line + reading time | open), opening in place */
.wr-stack { border-bottom: 1.5px solid var(--ink); }
.wr-item { border-top: 1.5px solid var(--ink); }
.wr-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 16px; padding: 22px 0; align-items: start; }
.wr-row-name { grid-column: 1; }
.wr-row-about { grid-column: 1; }
.wr-open { grid-column: 2; grid-row: 1; }
@media (min-width: 800px) {
  .wr-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 32px; padding: 28px 0; align-items: center; }
  .wr-row-about { grid-column: 2; grid-row: 1; }
  .wr-open { grid-column: 3; align-self: center; }
}
.wr-row-name .eyebrow { color: var(--accent); margin-bottom: 6px; }
.wr-row-about .wr-dek { margin-bottom: 6px; }
.wr-row.is-live { cursor: pointer; }
.wr-item-title { font-family: var(--head); font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1; margin: 0; }
.wr-item-title a { color: var(--ink); text-decoration: none; }
.wr-item-title a:hover, .wr-item-title a:focus-visible { color: var(--accent); }
.wr-open { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.wr-open[hidden] { display: none; }
.wr-open:hover, .wr-open:focus-visible { background: var(--ink); color: var(--bg); }
.wr-plus { position: relative; width: 14px; height: 14px; transition: transform .3s ease; }
.wr-plus::before, .wr-plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; }
.wr-plus::after { transform: rotate(90deg); }
.wr-open[aria-expanded="true"] .wr-plus { transform: rotate(45deg); }
/* opening slides down: the panel's height grows from 0 to its content (grid rows 0fr to 1fr) */
.wr-more[hidden] { display: none; }
.wr-more { display: grid; grid-template-rows: 1fr; }
.wr-stack.is-live .wr-more { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s; }
.wr-stack.is-live .wr-more.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
/* overflow is clipped while it slides, so the room for the cover's shadow is inside (side padding, bottom padding on each child) */
.wr-more-in { min-height: 0; overflow: hidden; display: grid; gap: 24px; align-items: start; margin: 0 -12px; padding: 0 12px; }
.wr-more-in > * { padding-bottom: 40px; }
.wr-stack.is-live .wr-more-in { opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.wr-stack.is-live .wr-more.is-open .wr-more-in { opacity: 1; transform: none; transition: opacity .35s ease .08s, transform .45s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  .wr-plus, .wr-stack.is-live .wr-more, .wr-stack.is-live .wr-more.is-open, .wr-stack.is-live .wr-more-in, .wr-stack.is-live .wr-more.is-open .wr-more-in { transition: none; }
}
/* every piece opens the same way: its cover (same column width for all, so a wide one comes out shorter) |
   its chapters, or its opening lines, then Read. A piece with no cover keeps the same columns, its chapters
   starting where the others' do */
@media (min-width: 800px) {
  .wr-more-in { grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 48px; }
  .wr-more-in > .wr-more-text:first-child { grid-column: 2; }
}
.wr-excerpt { margin: 0; padding: 2px 0 0 18px; border-left: 2px solid var(--accent); }
.wr-excerpt p { margin: 0; font-size: 18px; line-height: 1.7; max-width: 52ch; }
@media (max-width: 599.98px) { .wr-excerpt p { font-size: 17px; } }
.wr-more .wr-chlist { margin-top: 0; margin-bottom: 0; }
.wr-cover { display: block; max-width: 420px; }
.wr-cover.is-wide { max-width: none; }
.wr-cover img, .wr-slide img, .wr-banner img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(17,17,17,.45); }
.wr-dek { margin: 0 0 10px; max-width: 46ch; font-size: 17px; line-height: 1.45; color: var(--muted); }
.wr-read { margin: 22px 0 0; }
.wr-more .wr-read:first-child { margin-top: 0; }
/* a continuous piece with a picture: the picture in the left column, staying in view while the text scrolls */
.wr-side-fig { margin: 0; }
.wr-side-fig img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(17,17,17,.45); }
@media (min-width: 1000px) {
  .wr-grid.wr-grid-photo { grid-template-columns: 340px minmax(0, 1fr); }
  .wr-side { position: sticky; top: calc(var(--header-h) + 24px); }
}
/* the top of a piece: the wide banner on computers, the cover on phones */
.wr-banner { margin: 0 0 40px; }
@media (max-width: 699.98px) { .wr-banner.has-tall-cover { max-width: 440px; } }
.wr-meta { margin: 0; font-size: 14px; color: var(--muted); }
.wr-chlist { list-style: none; margin: 14px 0 22px; padding: 0; }
.wr-chlist li { border-bottom: 1px solid var(--line); max-width: none; }
.wr-chlist a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; color: var(--ink); text-decoration: none; }
.wr-chlist a:hover, .wr-chlist a:focus-visible { color: var(--accent); }
.wr-toc .wr-chlist a[aria-current] { color: var(--accent); font-weight: 600; }
.wr-n { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
/* the reading page */
.wr-top .eyebrow a { color: inherit; }
.wr-top .display-sm { margin-bottom: 10px; }
.wr-top .wr-dek { margin-bottom: 8px; max-width: 52ch; }
.wr-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .wr-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 64px; align-items: start; } }
.wr-toc-box { border: 1.5px solid var(--line); border-radius: var(--r); }
.wr-toc-box > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wr-toc-box .wr-chlist { margin: 0; padding: 0 16px 8px; }
.wr-toc-box .wr-chlist li:last-child { border-bottom: 0; }
.wr-toc-box .wr-chlist a { padding: 8px 0; font-size: 15px; }
@media (min-width: 1000px) {
  .wr-toc { position: sticky; top: calc(var(--header-h) + 16px); }
  .wr-toc-box { border: 0; }
  .wr-toc-box > summary { padding: 0 0 6px; }
  .wr-toc-box .wr-chlist { padding: 0; }
}
.wr-body { max-width: 66ch; }
.wr-note { border-left: 3px solid var(--accent); background: var(--bg-2); padding: 16px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; }
.wr-note p { margin: 0 0 10px; }
.wr-note p:last-child { margin-bottom: 0; }
.wr-note-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wr-ch { margin-top: 64px; padding-top: 28px; border-top: 1.5px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 12px); }
.wr-ch-h { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 18px; }
.wr-ch-n { display: block; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.wr-slide { margin: 0 0 22px; max-width: 440px; }
.wr-sub { margin: 0 0 22px; font-size: 17px; color: var(--muted); max-width: 52ch; }
.wr-text p { font-size: 18px; line-height: 1.7; margin: 0 0 1.05em; max-width: 64ch; }
.wr-next { margin: 28px 0 0; }
.wr-cover-fig { margin-bottom: 40px; }
.wr-cover-fig.is-wide { max-width: none; }
.wr-solo { margin: 0 auto; }
.wr-part { margin-top: 56px; scroll-margin-top: calc(var(--header-h) + 12px); }
.wr-cover-fig + .wr-part { margin-top: 0; }
.wr-part-n { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1; margin: 0 0 16px; color: var(--accent); font-variant-numeric: tabular-nums; }
.wr-end { margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 599.98px) { .wr-text p { font-size: 17px; } }

/* ---------- Terms + Conditions page ---------- */
.terms-head .terms-cover { font-size: 15px; color: var(--muted); max-width: 70ch; margin: 0 0 10px; }
.terms-grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .terms-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; } }
.terms-toc-box { border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg); }
.terms-toc-box > summary { cursor: pointer; padding: 12px 16px; font-family: var(--head); font-weight: 700; color: var(--accent); list-style-position: inside; }
.terms-toc-list { list-style: none; margin: 0; padding: 0 16px 14px; }
.terms-toc-list li { max-width: none; }
.terms-toc-list a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.35; }
.terms-toc-list a:hover, .terms-toc-list a:focus-visible { color: var(--accent); text-decoration: underline; }
.terms-toc-list ol { list-style: none; margin: 0 0 4px; padding: 0 0 0 12px; border-left: 1px solid var(--line); }
.terms-toc-list ol a { font-size: 13px; color: var(--muted); padding: 3px 0; }
@media (min-width: 1000px) {
  .terms-toc { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain; }
  .terms-toc-box { border: 0; background: none; }
  .terms-toc-box > summary { padding: 0 0 8px; }
  .terms-toc-list { padding: 0; }
}
.terms-body { max-width: 72ch; }
.terms-body h2, .terms-body h3, .terms-body h4 { scroll-margin-top: calc(var(--header-h) + 16px); }
.terms-body h2 { font-family: var(--head); font-weight: 800; color: var(--accent); font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.15; margin: 52px 0 14px; padding-top: 18px; border-top: 2px solid var(--accent); }
.terms-body h2:first-child { margin-top: 0; }
.terms-body h3 { font-family: var(--head); font-weight: 700; color: var(--accent); font-size: 19px; margin: 30px 0 8px; }
.terms-body h4 { font-weight: 700; font-size: 16px; margin: 22px 0 6px; }
.terms-body p, .terms-body li { font-size: 16px; line-height: 1.65; }
.terms-body ul, .terms-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.terms-body li { margin: 0 0 .35em; }
.terms-body .table-wrap { margin: 8px 0 20px; background: none; border-radius: 0; }
.terms-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.terms-table th, .terms-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--line); white-space: normal; }
.terms-table tr:last-child td { border-bottom: 1px solid var(--line); }
.terms-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border-top: 2px solid var(--accent); }
.terms-table td:first-child { width: 32%; }
.terms-table td:last-child, .terms-table th:last-child { padding-right: 0; }
@media (max-width: 599px) { .terms-table td:first-child { width: 38%; } .terms-table { font-size: 14px; } }

/* ---------- "Ask Ada" in the top bar ----------
   Computers (1100px+): the box sits in the middle of the bar; the full chat drops down under it.
   Phones and tablets: a globe button in the bar; tapping it turns the bar into the same box, and the full
   chat slides up from the bottom. Everything else (sending, the reply on the line) is the same. */
.ada-bar { display: none; }
:root { --ada-grow: .55s cubic-bezier(.65, 0, .35, 1); }
/* Ask Ada closed to a globe (computers: .ada-bar.is-closed; phones: the globe button). The words under it
   trade places, "Ask Ada" then "Click to open" ("Tap to open" on phones), so people know it opens. */
.ada-tag { position: absolute; left: 50%; top: calc(100% + var(--header-h) * .25 - 16px); /* halfway between the globe and the bar's bottom line */ transform: translateX(-50%); display: grid; font: 700 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 78%, transparent); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s ease; cursor: pointer; }
.ada-tag > span { grid-area: 1 / 1; justify-self: center; animation: ada-tag-a 7s ease-in-out infinite; }
.ada-tag > span + span { animation-name: ada-tag-b; }
.ada-tag > span:last-child { display: none; animation: none; } /* the still version, for less motion */
@keyframes ada-tag-a { 0%, 40% { opacity: 1; } 45%, 95% { opacity: 0; } 100% { opacity: 1; } }   /* one leaves before the other arrives */
@keyframes ada-tag-b { 0%, 45% { opacity: 0; } 50%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }

.ada-m-btn { display: none; }
/* the box itself (both) */
.ada-bar-form { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 5px 0 12px; overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 999px; background: var(--card); transition: border-color .2s, box-shadow .2s, padding var(--ada-grow); }
.ada-bar-form:focus-within, .ada-bar-form.is-showing, .ada-bar.is-open .ada-bar-form { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.ada-field { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; }
.ada-field input { width: 100%; }
.ada-stage { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; pointer-events: none; }
.ada-bar-form.is-showing .ada-stage { pointer-events: auto; cursor: text;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 18px), transparent); }
.ada-bar-form.is-thinking .ada-stage { -webkit-mask-image: none; mask-image: none; }
.ada-bar-form.is-showing input { opacity: 0; }
.ada-line { display: inline-block; white-space: nowrap; font-size: 15px; color: var(--ink); will-change: transform; }
.ada-in { animation: ada-in .35s ease both; }
@keyframes ada-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ada-out { animation: ada-out .25s ease forwards; }
@keyframes ada-out { to { opacity: 0; transform: translateY(-8px); } }
.ada-thinking { display: inline-flex; align-items: center; font-size: 14px; color: var(--muted); animation: ada-in .3s ease both; white-space: nowrap; }
.ada-full { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--accent); font-size: 17px; cursor: pointer; display: grid; place-items: center; }
.ada-full:hover, .ada-bar.is-open .ada-full { background: var(--bg-2); }
.ada-sent { position: absolute; top: 50%; max-width: calc(100% - 120px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; color: var(--ink);
  pointer-events: none; transform: translateY(-50%); animation: ada-sent .5s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes ada-sent { to { opacity: 0; transform: translateY(-170%); } }
/* the box's line glides through while it's empty and waiting (the real placeholder shows once you click in) */
.ada-hint { position: absolute; inset: 0; display: none; align-items: center; overflow: hidden; pointer-events: none; font-size: 15px; color: color-mix(in srgb, var(--ink) 50%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 16px), transparent); }
.ada-hint-track { display: inline-flex; white-space: nowrap; animation: ada-glide 16s linear infinite; }
.ada-hint-track > span { flex: none; padding-right: 40px; }
@keyframes ada-glide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ada-bar-form:not(:focus-within):not(.is-showing) .ada-field:has(input:placeholder-shown) .ada-hint { display: flex; }
.ada-bar-form:not(:focus-within):not(.is-showing) .ada-field:has(input:placeholder-shown) input::placeholder { color: transparent; }
.ada-bar-icon { width: 26px; height: 26px; flex: none; }
.ada-bar-form input { min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 0; outline: none; }
.ada-bar-form input::placeholder { color: color-mix(in srgb, var(--ink) 50%, transparent); }
.ada-bar-send { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--blue); color: var(--ivory); font-size: 17px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.ada-bar-send:hover { background: var(--press); }
.ada-m-close { display: none; }
/* the full chat (both) */
.ada-panel { background: var(--bg); overflow: hidden; }
.ada-panel-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px 10px 18px; border-bottom: 1px solid var(--line); }
.ada-panel-head .wo-label { margin: 0 auto 0 0; }
.ada-grab { display: none; }
.ada-open { font-size: 13px; font-weight: 600; color: var(--accent); }
.ada-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.ada-close:hover { background: var(--bg-2); }
.ada-log { min-height: 220px; max-height: min(58vh, 520px); padding: 16px 14px; background: var(--bg-2); }
.ada-log .wo-msg { font-size: 15px; max-width: 90%; }
.ada-log .wo-estimate { width: 100%; }
.ada-cta { display: inline-flex; margin-top: 10px; min-height: 38px; padding: 8px 16px; font-size: 13px; }
.ada-panel-note { margin: 0; padding: 9px 18px 11px; font-size: 12px; color: var(--muted); }
/* "Mari can read this conversation…": under the box on the Inquire page, on its own line in the top-bar chat */
.ada-keep { font-size: 12px; line-height: 1.45; color: var(--muted); }
.ada-panel-note .ada-keep { display: block; margin-top: 2px; }
.ada-keep a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ada-keep a:hover, .ada-keep a:focus-visible { color: var(--ink); }
.wo-keep { margin: 0; padding: 0 12px 12px; background: var(--bg); }
@media (min-width: 768px) { .wo-keep { padding: 0 18px 14px; } }
.wo-composer[hidden] + .wo-keep { padding-top: 10px; border-top: 1px solid var(--line); }
/* the same note under the top-bar box, while it's in use and nothing has been sent yet (ada.js sets .is-new) */
.ada-bar-keep { display: none; position: absolute; z-index: 61; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 7px 12px 8px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: center; }
.ada-bar.is-new:focus-within .ada-bar-keep, .ada-bar.is-new .ada-bar-keep:hover { display: block; } /* hover: a click on its link still lands */
.ada-m-closing .ada-bar.is-new .ada-bar-keep { display: none; } /* while the box folds back (phones) */

@media (min-width: 1100px) {
  /* computers: the name on the left (where people click to go home), Ask Ada in the middle, and the booking
     path on the right in reading order: Studio, Services + Rates, About, then Inquire last. Same type as before. */
  .bar, .ada-bar-on .bar { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px; }
  .brand { grid-column: 1; justify-self: start; margin: 0; }
  .brand .mark { display: none; }
  .wordmark { text-align: left; font-size: 22px; }
  .ada-bar { display: block; position: relative; grid-column: 2; width: clamp(210px, 24vw, 340px); transition: width var(--ada-grow); }
  /* closed: just the turning globe, with a soft pulse and "Ask Ada" under it. Clicking it (or tabbing to it)
     opens the box outward from the middle in both directions; the globe rides to the left end. */
  .ada-bar.is-closed { width: 44px; }
  .ada-bar.is-closed .ada-bar-form { padding-left: 7.5px; cursor: pointer; }
  .ada-bar.is-closed .ada-bar-form:hover { border-color: var(--accent); }
  .ada-bar.is-closed .ada-tag { opacity: 1; pointer-events: auto; }
  .ada-bar.is-new.is-closed .ada-bar-keep { display: none; } /* folded to the globe */
  .ada-bar-keep { left: 50%; right: auto; width: max(100%, 300px); transform: translateX(-50%); }
  .ada-field, .ada-bar-send, .ada-full { transition: opacity .25s ease .3s; }
  .ada-bar.is-closed .ada-field, .ada-bar.is-closed .ada-bar-send, .ada-bar.is-closed .ada-full { opacity: 0; transition: opacity .12s ease; }
  .bar-right { grid-column: 3; justify-self: end; gap: clamp(16px, 1.9vw, 28px); }
  .nav > ul { gap: clamp(16px, 1.9vw, 28px); }
  .ada-bar-form input { font-size: 15px; }
  .ada-panel { position: absolute; z-index: 60; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: min(480px, 92vw);
    border: 2px solid var(--accent); border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(6,57,138,.5);
    animation: ada-drop .28s cubic-bezier(.2, .7, .2, 1); }
  @keyframes ada-drop { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
}

@media (max-width: 1099px) {
  .bar { position: relative; }
  /* the Ask Ada box (a short version of the computer's): the turning globe and its line gliding past,
     in the middle of the bar between the name and Inquire */
  /* centred on the page, exactly where the box grows from */
  .ada-m-btn { position: absolute; z-index: 2; left: 50%; top: calc((var(--header-h) - 44px) / 2 - 1px); margin-left: -19px; /* a touch high, so the words fit under it */
    display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; overflow: visible;
    border: 1.5px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 999px; background: var(--card);
    cursor: pointer; transition: opacity .2s ease, border-color .2s; }
  .ada-m-btn .ada-m-tag { opacity: 1; top: calc(100% + var(--header-h) * .25 - 12.5px); padding: 2px 4px 3px; /* halfway between the globe and the bar's bottom line */ font-size: 9.5px; letter-spacing: .12em; pointer-events: auto; } /* part of the button: tapping the words opens it too */
  .ada-m-btn:hover, .ada-m-btn:focus-visible { border-color: var(--accent); }
  .ada-m-globe { width: 26px; height: 26px; }
  .ada-m-globe img { width: 26px; height: 26px; display: block; }
  .btn-inquire { border-radius: 999px; }
  /* tapped: the bar becomes the box (the logo and menu step aside) */
  .brand, .bar-right { transition: opacity .2s ease, transform .25s ease; }
  .ada-m-open .brand { opacity: 0; transform: translateX(-12px); pointer-events: none; }
  .ada-m-open .bar-right { opacity: 0; transform: translateX(12px); pointer-events: none; }
  .ada-m-open .ada-m-btn { opacity: 0; pointer-events: none; transition: none; }
  /* placed without a transform, so the full chat below can still sit at the bottom of the screen */
  .ada-m-open .ada-bar { display: block; position: absolute; z-index: 70; left: var(--gutter); right: var(--gutter); top: calc((var(--header-h) - 44px) / 2); }
  /* tapped: the box grows out of the globe, from the middle in both directions; closing runs it back */
  .ada-m-open .ada-bar-form { margin: 0 auto; animation: ada-m-grow var(--ada-grow) both; }
  .ada-m-closing .ada-bar-form { animation: ada-m-shrink .42s cubic-bezier(.65, 0, .35, 1) both; }
  .ada-m-closing .ada-bar, .ada-m-closing .ada-bar * { pointer-events: none !important; } /* while it folds, a tap on the globe reopens it */
  .ada-m-closing .ada-m-btn { pointer-events: auto; transition: none; animation: ada-m-show .14s linear .25s both; } /* shows as the box reaches globe size */
  .ada-m-closing .ada-m-tag { opacity: 0; } /* the words come back once the box is gone */
  @keyframes ada-m-grow { from { width: 38px; height: 38px; margin-top: -1px; padding-left: 4.5px; } to { width: 100%; height: 44px; margin-top: 0; padding-left: 12px; } }
  @keyframes ada-m-shrink { from { width: 100%; height: 44px; margin-top: 0; padding-left: 12px; } to { width: 38px; height: 38px; margin-top: -1px; padding-left: 4.5px; } }
  .ada-m-open .ada-field, .ada-m-open .ada-bar-send, .ada-m-open .ada-m-close, .ada-m-open .ada-full { animation: ada-m-show .25s ease .3s both; }
  .ada-m-closing .ada-field, .ada-m-closing .ada-bar-send, .ada-m-closing .ada-m-close, .ada-m-closing .ada-full { animation: none; opacity: 0; transition: opacity .1s; }
  @keyframes ada-m-show { from { opacity: 0; } to { opacity: 1; } }
  .ada-m-close { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
  /* the full chat slides up from the bottom (part way for a long reply) */
  .ada-panel { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 86vh; max-height: 86dvh;
    border-radius: 22px 22px 0 0; box-shadow: 0 -1px 0 var(--sheet-edge), 0 -18px 40px -20px var(--sheet-shadow); animation: ada-up .32s cubic-bezier(.2, .7, .2, 1) backwards; }
  .ada-panel.is-peek { max-height: 52vh; max-height: 52dvh; }
  @keyframes ada-up { from { transform: translateY(100%); } to { transform: none; } }
  .ada-panel-head { padding-top: 18px; touch-action: none; }
  .ada-grab { display: block; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 20%, transparent); }
  .ada-log { flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
  .ada-panel-note { padding-bottom: calc(11px + env(safe-area-inset-bottom)); }
}
/* phones: just the name (the globe is Ada's), the Ask Ada box centred between it and Inquire */
@media (max-width: 899px) {
  .bar { gap: 10px; }
  .brand { margin-right: 0; flex: none; }
  .brand .mark { display: none; }
  .bar-right { margin-left: auto; }
}
/* under 360px the name is hidden (see above), so the logo mark comes back as the way home */
@media (max-width: 359px) { .brand .mark { display: block; } }
@media (prefers-reduced-motion: reduce) { .ada-hint-track { animation: none; } .ada-hint-track > span + span { display: none; }
  .ada-bar, .ada-bar-form, .ada-field, .ada-bar-send, .ada-full { transition: none; }
  .ada-tag > span { display: none; } .ada-tag > span:last-child { display: block; } /* "Click to ask Ada", still */
  .ada-m-open .ada-bar-form, .ada-m-closing .ada-bar-form, .ada-m-open .ada-field, .ada-m-open .ada-bar-send, .ada-m-open .ada-m-close, .ada-m-open .ada-full { animation: none; } }
@media (prefers-reduced-motion: reduce) { .ada-panel, .ada-sent, .ada-in, .ada-out, .ada-thinking, .ada-m-open .ada-bar-form { animation: none; } .ada-line { overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .brand, .bar-right { transition: none; } }

/* ================= Services, reorganized =================
   Phones (under 1000px): a swipeable price strip, compact cards (price + up to three lines), Details
   sliding up from the bottom, short Key Terms and FAQ, and a "Get a quote" button that stays on screen.
   Computers: the overview cards, then the list of services on the left and the chosen one on the right. */
.svc-head { padding-bottom: 8px; }
.price-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 6px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 10px; scroll-padding: 0 var(--gutter); }
.price-strip::-webkit-scrollbar { display: none; }
.ps-card { flex: none; scroll-snap-align: start; width: 156px; display: grid; gap: 2px; padding: 14px 14px 13px; border-radius: 16px;
  background: var(--blue); color: var(--ivory); text-decoration: none; }
.ps-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; opacity: .85; min-height: 2.6em; }
.ps-price { font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1.05; }
.ps-note { font-size: 12px; opacity: .8; }
.svc-head .outline { display: none; }
@media (min-width: 1000px) {
  .price-strip { display: none; }
  html:not(.svc-js) .svc-head .outline { display: grid; } /* without the script, the overview stays as the way in */
  .svc-head { padding: 40px 0 0; }
  .svc-head .display-sm { font-size: clamp(56px, 6vw, 80px); margin-bottom: 0; }
}

.svc-browse { padding: 8px 0 48px; }
.svc-index { display: none; }
.svc-sect { margin-top: 30px; }
.svc-sect-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; color: var(--accent); margin: 0 0 12px; }
.svc-sect-title .svc-num { font-size: 15px; font-weight: 600; letter-spacing: 0; opacity: .8; }
.svc-sect-intro p { font-size: 15px; max-width: 62ch; }
.svc-card { background: var(--bg-2); border-radius: 18px; padding: 16px 16px 14px; margin: 0 0 12px; }
.svc-card-head { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 2px 12px; }
.svc-card-title { font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.svc-tags { grid-column: 1; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.svc-card-head .svc-tags:last-child { grid-column: 2; grid-row: 1; margin: 0; }
.svc-card-price { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: right; display: grid; }
.svc-card-price strong { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.svc-card-price span { font-size: 12px; color: var(--muted); margin-top: 3px; }
.svc-hl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
.svc-hl li { position: relative; padding-left: 15px; font-size: 14.5px; line-height: 1.45; max-width: none; }
.svc-hl li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.svc-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.svc-card-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.svc-detail > *:first-child { margin-top: 0; }
.svc-good { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; }
.svc-good-head { width: 100%; margin: 6px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-chip { min-height: 38px; padding: 6px 14px; border: 1.5px solid var(--accent); border-radius: 999px; background: transparent; color: var(--accent); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.svc-project-quote { margin-top: 8px; }

/* phones, with the script running: the long text lives behind "Details" */
@media (max-width: 999px) {
  .svc-js .svc-card .svc-detail { display: none; }
  .svc-js .svc-card.is-info { display: none; }
  .svc-js .svc-sect-intro .project-list { display: none; }
  /* projects: one line each */
  .svc-js .svc-card.is-project { background: none; border-radius: 0; padding: 14px 0; margin: 0; border-top: 1px solid var(--line); }
  .svc-js .svc-card.is-project:last-of-type { border-bottom: 1px solid var(--line); }
  .svc-js .svc-card.is-project .svc-hl li { padding-left: 0; color: var(--muted); }
  .svc-js .svc-card.is-project .svc-hl li::before { display: none; }
  .svc-js .svc-card.is-project .svc-card-actions { margin-top: 6px; }
  .svc-js .svc-card.is-project .svc-quote { display: none; }
  .svc-js .svc-card.is-project .svc-open { border: 0; padding: 0; min-height: 0; background: none; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .svc-js .svc-card.is-project .svc-tags .tag:not(:first-child) { display: none; }
  .svc-js .svc-card.is-project .svc-tags .tag:only-child { display: none; } /* "By inquiry" is on the section title */
  .svc-project-quote { display: flex; width: 100%; justify-content: center; margin-top: 16px; }
  .svc-card .svc-calc { display: none; }
}
html:not(.svc-js) .svc-good, html:not(.svc-js) .svc-card .svc-open { display: none; }

/* the Details panel (phones) */
.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet-backdrop { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .25s ease; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column;
  background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: 0 -1px 0 var(--sheet-edge), 0 -18px 40px -20px var(--sheet-shadow);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .7, .2, 1); }
.sheet.is-in .sheet-backdrop { opacity: 1; }
.sheet.is-in .sheet-panel { transform: translateY(0); }
.sheet-head { position: relative; padding: 18px 56px 12px 20px; border-bottom: 1px solid var(--line); touch-action: none; cursor: grab; }
.sheet-grab { position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.sheet-title { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 4px 0 0; color: var(--accent); }
.sheet-price { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.sheet-close { position: absolute; top: 14px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-2); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 20px; -webkit-overflow-scrolling: touch; }
.sheet-body .svc-detail { display: block; }
.sheet-body .svc-detail p, .sheet-body .svc-detail li, .sheet-body .svc-detail dd { font-size: 15px; }
.sheet-body .svc-calc { display: block; }
.sheet-foot { padding: 10px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { width: 100%; justify-content: center; }
html.sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sheet-panel, .sheet-backdrop { transition: none; } }

/* the price calculator */
.svc-calc { margin: 0 0 20px; }
.calc { background: var(--bg-2); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.calc-title { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.calc-field { display: grid; gap: 4px; }
.calc-label { font-size: 13px; font-weight: 600; }
.calc select, .calc input[type="number"] { font: inherit; font-size: 15px; min-height: 42px; padding: 8px 10px; border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); border-radius: 10px; background: var(--card); color: var(--ink); width: 100%; }
.calc input[type="number"] { max-width: 120px; }
.calc-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.calc-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.calc-out .table-wrap { margin: 4px 0 6px; }
.calc-out .wo-small { margin: 4px 0 0; }

/* What Happens Next */
.svc-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.svc-steps li { counter-increment: step; position: relative; padding: 0 0 18px 44px; display: grid; gap: 2px; max-width: none; }
.svc-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--ivory); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.svc-steps li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: color-mix(in srgb, var(--accent) 20%, transparent); }
.svc-steps li:last-child::after { display: none; }
.svc-steps strong { font-family: var(--head); font-size: 17px; padding-top: 4px; }
.svc-steps span { font-size: 15px; color: var(--muted); }
@media (min-width: 1000px) {
  .svc-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .svc-steps li { padding: 44px 0 0; }
  .svc-steps li::after { left: 34px; right: -12px; top: 14px; bottom: auto; width: auto; height: 2px; }
}
.faq-more { margin-top: 14px; }
.kt-more { margin: 4px 0 12px; }

/* the phone's "Get a quote" button, always one tap away */
.svc-sticky { position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; transition: transform .25s ease, opacity .25s ease; }
.svc-sticky .btn { width: 100%; justify-content: center; min-height: 50px; box-shadow: 0 12px 28px -12px rgba(6,57,138,.6); }
.svc-sticky.is-away, html.sheet-open .svc-sticky { transform: translateY(140%); opacity: 0; pointer-events: none; }
.page-services .site-footer { padding-bottom: 88px; }
@media (min-width: 1000px) { .svc-sticky { display: none; } .page-services .site-footer { padding-bottom: 24px; } }

/* computers: the list on the left, the chosen service on the right */
@media (min-width: 1000px) {
  .svc-browse { padding: 24px 0 72px; }
  .svc-browse-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
  .svc-index { display: block; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .svc-index::-webkit-scrollbar { display: none; }
  /* the list is the overview: section headings, every service with its price */
  .svc-index { background: var(--bg-2); border-radius: var(--r); padding: 18px 16px 12px; }
  .svc-index-head { display: flex; align-items: center; gap: 8px; margin: 18px 0 4px; padding: 0 0 8px; border-bottom: 1px solid var(--line);
    font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--accent); }
  .svc-index-head:first-child { margin-top: 0; }
  .svc-index-head .svc-num { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 0; opacity: .8; }
  .svc-index-head .tag { margin-left: auto; }
  .svc-index-head.svc-index-minor { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .svc-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
  .svc-link:hover { background: var(--bg); }
  .svc-link[aria-current="true"] { background: var(--blue); color: var(--ivory); }
  .svc-link-price { font-family: var(--head); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; color: var(--accent); white-space: nowrap; }
  .svc-link[aria-current="true"] .svc-link-price { color: var(--ivory); }
  .svc-link .tag { font-size: 10px; padding: 3px 8px; }
  .svc-link[aria-current="true"] .tag { border-color: var(--ivory); color: var(--ivory); }
  .svc-js .svc-sect { display: none; margin: 0; }
  .svc-js .svc-sect.has-active { display: block; }
  .svc-js .svc-card, .svc-js .svc-good, .svc-js .svc-project-quote { display: none; }
  .svc-js .svc-sect-intro { display: none; }
  .svc-js .svc-card.is-active { display: block; background: none; padding: 0; }
  .svc-js .svc-sect.has-active { display: flex; flex-direction: column; }
  .svc-js .svc-sect:has(.is-project.is-active) .svc-sect-intro { display: block; order: 3; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
  .svc-js .svc-sect-intro .project-list { display: none; }
  .svc-js .svc-card.is-active .svc-card-head { padding-bottom: 16px; border-bottom: 2px solid var(--accent); }
  .svc-js .svc-card.is-active .svc-card-title { font-size: 40px; letter-spacing: -0.035em; line-height: 1; color: var(--accent); }
  .svc-js .svc-card.is-active .svc-card-price strong { font-size: 40px; }
  .svc-js .svc-card.is-active .svc-card-price span { font-size: 14px; }
  .svc-js .svc-card.is-active .svc-hl { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 18px 0 0; }
  .svc-js .svc-card.is-active .svc-hl li { background: var(--bg-2); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
  .svc-js .svc-card.is-active .svc-hl li::before { display: none; }
  .svc-js .svc-card.is-active .svc-open { display: none; }
  .svc-js .svc-card.is-active .svc-card-actions:not(:has(.svc-quote)) { display: none; }
  .svc-js .svc-card.is-active .svc-detail { margin-top: 24px; }
  .svc-js .svc-sect-title { font-size: 14px; font-family: var(--body); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
  .svc-js .svc-sect-title .svc-num { font-size: 14px; }
  .svc-js .svc-sect-title .tag { display: none; }
  .svc-detail .svc-calc { max-width: 560px; }
}

/* the admin link in the footer: small and quiet */
.footer-admin { margin-top: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-admin a { color: inherit; opacity: .7; }
.footer-admin a:hover, .footer-admin a:focus-visible { opacity: 1; }

/* Admin · Right Now */
.st-live-sum .st-live-see { margin-left: auto; }
.st-now .st-live-list { margin-top: 14px; }
/* "See who": the whole list opens inside the Overview's box, under the count it already shows */
.st-now-wrap { margin-top: 14px; border-top: 1px solid var(--line); }
.st-now-wrap .st-now { border: 0; border-radius: 0; padding: 0; margin: 0; background: none; }
.st-now-wrap .st-now > .st-live-head { padding-top: 10px; }
.st-now-wrap .st-now > .st-live-head > .st-live-dot, .st-now-wrap .st-now > .st-live-head > .st-live-count { display: none; }
.st-now-wrap .st-now > .st-live-head .st-live-time { margin-left: 0; }
.st-now-wrap .st-left { padding: 0; margin: 8px 0 0; }
.st-here-row { padding: 12px 0; }
.st-here-top { margin: 0; }
.st-here-meta { color: var(--muted); }
.st-here-sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.st-here-more { margin-top: 8px; }
.st-here-more > summary { cursor: pointer; font-size: 13px; color: var(--accent); width: max-content; }
.st-here-more .st-visit { margin-top: 10px; }
.st-left { margin: 8px 0 20px; padding: 0 18px; }
.st-left-h { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--muted); font-weight: 600; }
.st-left .st-here-row strong { font-weight: 500; }
.st-here-none { color: var(--muted); font-size: 14px; }
/* Admin · Sign-ups */
.st-su-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 6px 0 14px; }
.st-su-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.st-su-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.st-su-email { font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.st-su-date { color: var(--muted); font-size: 14px; }

/* ---------- Dark mode: the few things that aren't just colors ---------- */
/* the globe picture (shown until the live globe takes over) is drawn in the real blue: in dark mode it's
   shown through a mask instead, so it turns ivory like the other blue marks. --globe-swap (0 light, 1 dark)
   crossfades the two with the rest of the page. */
.hr-globe-host { grid-template-areas: "g"; }
.hr-globe-host > *, .hr-globe-host::before { grid-area: g; }
.hr-globe-host:has(> img) > img { opacity: calc(1 - var(--globe-swap)); }
.hr-globe-host:has(> img)::before { content: ""; width: 100%; height: 100%; background: currentColor; opacity: var(--globe-swap);
  -webkit-mask: url(/assets/img/globe-turn.svg) center / contain no-repeat; mask: url(/assets/img/globe-turn.svg) center / contain no-repeat; }

/* the Light / Dark / Auto switch at the bottom of every page (site.js; hidden without JavaScript).
   Three equal buttons under one rounded thumb that slides to the picked one (site.js sets data-picked).
   The thumb carries its own copy of the three words in the thumb's text color, sliding the opposite way
   so they stay put: wherever the thumb is, the words under it show in its color, with no lag. */
.theme-pick { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 2px; margin: 0; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 999px; }
.theme-thumb { position: absolute; z-index: 1; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 3); overflow: hidden; border-radius: 999px;
  background: var(--thumb); pointer-events: none; transition: transform .45s cubic-bezier(.3, .8, .25, 1); }
.theme-thumb-in { position: absolute; top: 0; bottom: 0; left: 0; width: 300%; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; justify-items: center;
  color: var(--thumb-ink); font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: transform .45s cubic-bezier(.3, .8, .25, 1); }
.theme-thumb-in > span::before { content: attr(data-l); }
.theme-thumb { -webkit-user-select: none; user-select: none; }
.theme-pick[data-picked="dark"] .theme-thumb { transform: translateX(100%); }
.theme-pick[data-picked="dark"] .theme-thumb-in { transform: translateX(-33.3333%); }
.theme-pick[data-picked="auto"] .theme-thumb { transform: translateX(200%); }
.theme-pick[data-picked="auto"] .theme-thumb-in { transform: translateX(-66.6667%); }
.theme-pick button { position: relative; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
  font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.theme-pick button:not([aria-pressed="true"]):hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.theme-pick button:focus-visible { outline: none; }
.theme-pick button:focus-visible::after { content: ""; position: absolute; z-index: 2; inset: -5px; border: 3px solid var(--accent); border-radius: 999px; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .theme-thumb, .theme-thumb-in { transition: none; } }

/* While the theme changes (site.js adds .theme-shift to <html> for the length of the fade), only the page's
   colors move (the transition on :root at the top of this file) and every element follows them in step.
   Elements' own short color transitions (hover colors and the like) are paused so none of them trails
   behind; movement (photos crossfading, panels sliding, the switch's thumb) carries on as normal. */
html.theme-shift *, html.theme-shift *::before, html.theme-shift *::after { transition-property: transform, opacity, visibility, grid-template-rows, width, padding-left !important; }

/* Dark mode, where blue and ivory text become the same color: the computer menu's current page gets an
   underline as well (--nav-under is see-through in light, ivory in dark, so it fades in with the rest). The
   phone's sliding panels get their edge and deeper dim the same way (--scrim, --sheet-edge, --sheet-shadow). */
@media (min-width: 900px) {
  .nav > ul > li > a[aria-current="page"], .nav > ul > li > a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--nav-under); }
}
/* Windows High Contrast: the thumb and its words use the system's own highlight colors in every theme */
@media (forced-colors: active) {
  .theme-pick .theme-thumb { forced-color-adjust: none; background: Highlight !important; }
  .theme-pick .theme-thumb-in { forced-color-adjust: none; color: HighlightText !important; }
}
