/* Copied unchanged for greensheep.ie from the AIRIS repo: airis-v1-site/public/assets/gs.css, branch fable/site-system, commit 7e2527b. Edit it there, then re-copy. */
/* Green Sheep design system (gs.css). One system for airis.ie, greensheep.ie, the printed letter and the personal page.
   Three rules hold it together:
   1. The serif (Besley) is only ever the product speaking in the first person. The sans (Instrument Sans) is facts and controls.
   2. Words carry state. Accent marker = "I took this down". Orange = ring first. Solid bar = private, not shown.
      Dashed outline = not live yet.
   3. The marker is the signature: a slightly uneven stroke drawn left to right, behind ink text only.
   No inline styles are needed anywhere (strict style-src 'self' pages can use all of it). No build step. */

/* 1. Fonts: self-hosted, with sized fallbacks so nothing jumps when they load ------------------------------------- */
@font-face { font-family: "Besley"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/besley-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/besley-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/instrument-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/instrument-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Besley Fallback"; src: local("Georgia"); size-adjust: 109%; ascent-override: 88%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"), local("Helvetica Neue"); size-adjust: 97%; ascent-override: 97%; descent-override: 24%; line-gap-override: 0%; }

/* 2. Tokens -------------------------------------------------------------------------------------------------------- */
:root {
  /* colour */
  --ink: #14161b; --ink-2: #474c57; --ink-3: #6f7480;
  --paper: #ffffff; --wash: #eff1ee; --wash-2: #e2e5df; --line: #d6d9d3;
  --mark: #ffd500; --mark-deep: #e6bf00; --mark-soft: #fff4b8;
  --first: #ff5b1f; --ok: #0a7a57;
  --navy: #0f1f3f; --navy-2: #182c55; --navy-line: #304670; --navy-text: #c8d3e8;
  --night: #0b0d12; --night-2: #1d2027; --night-text: #c3c6cd;
  /* brand layer: every marker, accent button and bar reads these, so a sister brand only swaps four values */
  --accent: var(--mark); --accent-deep: var(--mark-deep); --accent-soft: var(--mark-soft); --on-accent: var(--ink);
  /* type */
  --voice: "Besley", "Besley Fallback", Georgia, "Times New Roman", serif;
  --ui: "Instrument Sans", "Instrument Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fs-hero: clamp(31px, min(4.9vw, 8.4vh), 72px);
  --fs-1: clamp(26px, 3.2vw, 48px);
  --fs-2: clamp(21px, 2vw, 29px);
  --fs-3: clamp(18px, 1.45vw, 21px);
  --fs-lead: clamp(17px, 1.3vw, 20px);
  --fs-body: 16px; --fs-small: 14px; --fs-micro: 12.5px;
  /* space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;
  --gutter: clamp(16px, 3.2vw, 56px);
  --band: clamp(56px, 8vw, 124px);
  --measure: 38em;
  /* shape */
  --r-1: 4px; --r-2: 8px; --r-3: 14px; --r-4: 22px; --r-phone: 46px;
  --sh-1: 0 1px 2px rgba(20, 22, 27, .1);
  --sh-2: 0 10px 28px -10px rgba(20, 22, 27, .28);
  --sh-3: 0 34px 70px -28px rgba(20, 22, 27, .5);
  --sh-hard: 4px 4px 0 var(--ink);
  /* motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-draw: cubic-bezier(.6, .05, .3, 1);
  --d-1: .14s; --d-2: .3s; --d-3: .6s; --d-draw: .55s;
  /* layers */
  --z-bar: 40; --z-stick: 50; --z-fly: 60; --z-call: 80; --z-toast: 90;
  color-scheme: light;
}
/* Green Sheep, the parent: same system, pasture green where AIRIS is highlighter yellow. */
.brand-greensheep { --accent: #9be15d; --accent-deep: #7fc842; --accent-soft: #e3f7d2; --on-accent: #14161b; }

/* 3. Base ---------------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.5 var(--ui); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: var(--r-1); }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--accent); }
svg.i { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not(.gs-js) .js-only { display: none; }
[hidden] { display: none !important; }

/* 4. Layout primitives --------------------------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.band { padding-block: var(--band); position: relative; }
.band-tight { padding-block: calc(var(--band) * .6); }
.band-wash { background: var(--wash); }
.band-accent { background: var(--accent); color: var(--on-accent); }
.band-navy { background: var(--navy); color: #fff; }
.band-night { background: var(--night); color: #fff; }
.on-dark .lead, .band-navy .lead, .band-night .lead { color: var(--navy-text); }
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: var(--s-4); align-content: start; }
.stack-s { gap: var(--s-2); } .stack-l { gap: var(--s-6); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.head { display: grid; gap: var(--s-3); max-width: 46em; margin-bottom: clamp(26px, 3.6vw, 52px); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 860px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 5. Type ---------------------------------------------------------------------------------------------------------- */
.say { font-family: var(--voice); font-weight: 700; letter-spacing: -.016em; line-height: 1.1; text-wrap: balance; }
.say-xl { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.026em; line-height: 1.05; }
.say-l { font-size: var(--fs-1); line-height: 1.08; letter-spacing: -.02em; }
.say-m { font-size: var(--fs-2); line-height: 1.16; }
.say-s { font-size: var(--fs-3); line-height: 1.28; font-weight: 600; letter-spacing: -.008em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: var(--measure); text-wrap: pretty; }
.eyebrow { font: 600 var(--fs-small)/1.2 var(--ui); letter-spacing: .01em; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 22px; height: 8px; background: var(--accent); border-radius: 3px 5px 4px 6px; transform: rotate(-2deg); }
.small { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-2); }
.micro { font-size: var(--fs-micro); line-height: 1.35; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* 6. The marker ---------------------------------------------------------------------------------------------------- */
/* .mk = a stroke behind a short phrase (one line; keep it to a few words). .mk-under = the same stroke as an underline.
   It is drawn when gs.js adds .is-drawn; with no script, or reduced motion, it is simply there. */
.mk { position: relative; z-index: 0; display: inline-block; white-space: nowrap; }
.mk::before {
  content: ""; position: absolute; z-index: -1; inset: .1em -.14em .04em -.12em;
  background: var(--accent);
  border-radius: .42em .16em .5em .2em / .3em .5em .22em .46em;
  clip-path: polygon(0 16%, 1.5% 4%, 30% 0, 62% 5%, 98.5% 1%, 100% 22%, 99% 78%, 100% 96%, 70% 100%, 34% 95%, 2% 100%, .5% 70%);
  transform: rotate(-.8deg) scaleX(1); transform-origin: 0 60%;
  transition: transform var(--d-draw) var(--ease-draw) .18s;
}
.mk-under::before { inset: 78% -.08em -4% -.06em; border-radius: .2em .5em .2em .5em / .5em; clip-path: polygon(0 30%, 20% 6%, 55% 22%, 100% 0, 99.5% 70%, 60% 100%, 25% 82%, .5% 100%); transform: rotate(-.5deg) scaleX(1); }
.mk-first::before { background: var(--first); }
.gs-motion .mk:not(.is-drawn)::before { transform: rotate(-.8deg) scaleX(0); }
.on-dark .mk:not(.mk-under) { color: var(--on-accent); }
@media (max-width: 420px) { .mk-wrap { white-space: normal; display: inline; background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% .2em no-repeat; } .mk-wrap::before { content: none; } }

/* Filled-in words: the flat form of the marker, safe across line breaks. */
.t { background: var(--accent); color: var(--on-accent); padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: inherit; border-radius: 2px; }
.t-first { background: var(--first); }
.t-x { background: var(--ink); color: transparent; user-select: none; border-radius: 2px; padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.on-navy .t-x, .on-dark .t-x { background: var(--navy-text); }
.t-soon { background: transparent; outline: 2px dashed currentColor; outline-offset: -2px; padding: .02em .28em .04em; border-radius: 3px; }

/* A detail in flight from a transcript to a card (GS.fly). */
.gs-fly { position: fixed; z-index: var(--z-fly); pointer-events: none; background: var(--accent); color: var(--on-accent); font: 600 16px/1.3 var(--voice); padding: 2px 8px; border-radius: .5em .25em .55em .3em / .4em .6em .3em .5em; box-shadow: var(--sh-2); white-space: nowrap; max-width: 70vw; overflow: hidden; text-overflow: ellipsis; will-change: transform; }

/* Reveal on scroll: opacity and transform only. */
.reveal { transition: opacity var(--d-3) var(--ease-out), transform var(--d-3) var(--ease-out); }
.gs-motion .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* 7. Tags: solid means real, dashed means not yet -------------------------------------------------------------------- */
.tag { display: inline-flex; align-items: center; gap: 7px; font: 600 var(--fs-micro)/1 var(--ui); white-space: nowrap; padding: 6px 9px; border-radius: var(--r-1); }
.tag-live { background: var(--ink); color: #fff; }
.tag-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tag-soon { outline: 2px dashed currentColor; outline-offset: -2px; }
.tag-emerg { background: var(--ink); color: #fff; }
.tag-emerg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--first); }
.tag-first { background: var(--first); color: var(--ink); }
.tag-today { background: var(--accent); color: var(--on-accent); }
.tag-week { background: var(--wash); color: var(--ink); }
.band-wash .tag-week, .push .tag-week { background: var(--wash-2); }
.tag-done { background: transparent; color: var(--ok); padding-left: 0; }
.tag-wait { background: var(--first); color: var(--ink); }
.tag-msg { background: var(--navy-2); color: #fff; }
.tag-priv { background: var(--navy); color: #fff; }
.tag-priv::before { content: ""; width: 14px; height: 8px; border-radius: 2px; background: var(--navy-text); }

/* 8. Buttons ------------------------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; font: 600 16px/1.15 var(--ui); text-decoration: none; text-align: center; border-radius: 6px; border: 2px solid transparent; transition: transform var(--d-1) var(--ease), background var(--d-1), color var(--d-1), box-shadow var(--d-1); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2b2f38; }
.btn-mark { background: var(--accent); color: var(--on-accent); }
.btn-mark:hover { background: var(--accent-deep); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(20, 22, 27, .07); }
.on-dark .btn-line:hover { background: rgba(255, 255, 255, .12); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-big { min-height: 56px; font-size: 17px; padding: 12px 24px; }
.btn-wide { width: 100%; }
.btn-quiet { color: var(--ink-2); text-decoration: underline; padding: 8px 4px; min-height: 44px; font-weight: 500; }
/* The one loud button on a page: ink edge and a hard shadow, like a sticker on the paper. */
.btn-pop { background: var(--accent); color: var(--on-accent); border-color: var(--ink); box-shadow: var(--sh-hard); }
.btn-pop:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn-pop:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.on-dark .btn-pop { border-color: var(--accent); box-shadow: none; }

/* 9. Logo, nav bar, legal footer, sticky bar ----------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; font: 800 22px/1 var(--voice); letter-spacing: -.02em; }
.logo-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink); color: var(--accent); border-radius: 6px; font: 800 19px/1 var(--voice); padding-bottom: 3px; flex: none; }
.logo-mark.alt { background: var(--accent); color: var(--on-accent); }
.logo-mark.mini { width: 20px; height: 20px; font-size: 14px; border-radius: 5px; padding-bottom: 2px; }

.sitebar { position: sticky; top: 0; z-index: var(--z-bar); background: var(--accent); color: var(--on-accent); }
.top { display: flex; align-items: center; gap: 14px; padding-block: 10px; position: relative; }
.sitenav { display: flex; gap: 20px; margin-left: auto; align-items: center; font-weight: 500; font-size: 15px; }
.sitenav a { text-decoration: none; padding: 8px 0; white-space: nowrap; }
.sitenav a:hover, .sitenav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
/* A nav link with pages under it (Trades). Opens on hover or keyboard focus; in the phone menu the pages are simply listed. */
.navgroup { position: relative; display: flex; align-items: center; }
.navgroup > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.navsub { display: none; position: absolute; top: 100%; left: -14px; min-width: 216px; flex-direction: column; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-2); box-shadow: var(--sh-hard); padding: 6px; }
.navgroup:hover .navsub, .navgroup:focus-within .navsub { display: flex; }
.sitenav .navsub a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-1); }
.sitenav .navsub a:hover { background: var(--accent-soft); text-decoration: none; }
.top > .btn { min-height: 44px; padding: 7px 14px; font-size: 15px; white-space: nowrap; }
.menu-btn { display: none; min-height: 44px; padding: 7px 12px; font-weight: 600; font-size: 15px; border: 2px solid var(--ink); border-radius: 6px; }
section[id], header[id], div[id].anchor { scroll-margin-top: 60px; }
@media (max-width: 1040px) {
  .top > .btn { margin-left: auto; }
  .menu-btn { display: block; }
  .sitenav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--accent); border-top: 1.5px solid var(--ink); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 10px; }
  .sitenav.open { display: flex; }
  .sitenav a { padding: 13px 0; border-bottom: 1px solid rgba(20, 22, 27, .18); }
  .sitenav a:last-child { border-bottom: 0; }
  .navgroup { display: block; border-bottom: 1px solid rgba(20, 22, 27, .18); }
  .navgroup > a { display: block; border-bottom: 0; padding-bottom: 9px; }
  .navgroup > a::after { content: none; }
  .navsub, .navgroup:hover .navsub, .navgroup:focus-within .navsub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; position: static; min-width: 0; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 6px; }
  .sitenav .navsub a { padding: 0 0 0 14px; border-bottom: 0; font-weight: 400; white-space: normal; }
}
@media (max-width: 350px) { .top { gap: 8px; } .logo { font-size: 19px; } .top > .btn { padding: 7px 10px; font-size: 14px; } .menu-btn { padding: 7px 9px; font-size: 14px; } }

.foot { background: var(--ink); color: #fff; padding-block: clamp(28px, 3.6vw, 52px) calc(24px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.foot p { font-size: 13.5px; line-height: 1.5; color: #bcbfc7; max-width: 44em; margin-top: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; align-content: start; justify-content: flex-end; font-size: 13.5px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { color: #fff; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } .foot { padding-bottom: 92px; } }

.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-stick); background: var(--ink); padding: 7px max(10px, env(safe-area-inset-left, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)); display: none; gap: 7px; transform: translateY(110%); transition: transform var(--d-2) var(--ease); }
.stick.on { transform: none; }
.stick .btn { flex: 1; min-height: 46px; font-size: 15px; padding: 6px; min-width: 0; }
.stick .btn-line { color: #fff; }
@media (max-width: 860px) { .stick { display: flex; } body:has(.stick) .foot { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* 10. Phone frame: drawn in CSS, never an image ---------------------------------------------------------------------- */
.phone { width: var(--phone-w, 300px); max-width: 100%; aspect-ratio: 300 / 612; background: var(--ink); border-radius: var(--r-phone); padding: 9px; position: relative; box-shadow: inset 0 0 0 1.5px #3a3e48, var(--sh-3); flex: none; }
.phone::before { content: ""; position: absolute; z-index: 3; top: 19px; left: 50%; width: 78px; height: 22px; margin-left: -39px; border-radius: 12px; background: var(--ink); }
.phone::after { content: ""; position: absolute; right: -3px; top: 23%; width: 3px; height: 11%; border-radius: 0 2px 2px 0; background: var(--ink); }
.phone-screen { background: var(--wash); color: var(--ink); border-radius: calc(var(--r-phone) - 9px); height: 100%; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.phone-screen.dark { background: var(--navy); color: #fff; }
.phone-pad { padding: 52px 11px 14px; display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 0; }
.lk-clock { text-align: center; font: 600 52px/1 var(--ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lk-date { text-align: center; font-size: 13px; font-weight: 500; opacity: .8; margin-bottom: 6px; }

/* The ringing phone (home and trade heroes). .ring[data-state] picks the screen: in = incoming call, call = live
   transcript (home only), lock = the lock screen with the push. No state yet shows the lock screen. */
.ring .phone { --phone-w: 306px; }
@media (max-width: 600px) { .ring .phone { --phone-w: min(250px, 70vw); } }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .4s; }
.ring:not([data-state]) .ph-lock, .ring[data-state="in"] .ph-in, .ring[data-state="call"] .ph-call, .ring[data-state="lock"] .ph-lock { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ph-in { background: var(--night); color: #fff; align-items: center; text-align: center; padding: 78px 18px 30px; gap: 6px; }
.ph-eyebrow { font-size: 12.5px; font-weight: 500; color: var(--night-text); }
.ph-biz { font-size: 27px; line-height: 1.1; overflow-wrap: anywhere; max-width: 100%; }
.ph-from { font-size: 13px; color: var(--night-text); font-variant-numeric: tabular-nums; }
.ph-status { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.ph-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ph-pulse { position: relative; width: 92px; height: 92px; margin: auto 0; display: grid; place-items: center; }
.ph-pulse .logo-mark { width: 64px; height: 64px; border-radius: 18px; font-size: 42px; padding-bottom: 7px; position: relative; }
.ph-pulse i { position: absolute; inset: 6px; border-radius: 26px; border: 2px solid var(--accent); opacity: 0; }
.ring[data-state="in"] .ph-pulse i { animation: pulse 1.9s var(--ease-out) infinite; }
.ring[data-state="in"] .ph-pulse i + i { animation-delay: .6s; }
.ring[data-state="in"] .phone { animation: buzz 1.9s linear infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes buzz { 0%, 28%, 100% { transform: none; } 4%, 12%, 20% { transform: translateX(-2px) rotate(-.5deg); } 8%, 16%, 24% { transform: translateX(2px) rotate(.5deg); } }
.ph-lock { background: var(--wash); }
.ph-after { margin-top: auto; text-align: center; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); padding: 0 10px 6px; }

/* 11. Cards ---------------------------------------------------------------------------------------------------------- */
/* Push / lock-screen notification. */
.push { background: #fff; color: var(--ink); border-radius: 16px; padding: 9px 11px 10px; display: grid; gap: 3px; font-size: 13px; line-height: 1.32; box-shadow: var(--sh-1); text-align: left; }
.push-top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.push-top b { color: var(--ink); font-weight: 700; }
.push-top time, .push-top .push-when { margin-left: auto; font-variant-numeric: tabular-nums; }
.push-title { font-weight: 700; font-size: 13.5px; }
.push .tag { font-size: 11px; padding: 4px 6px; justify-self: start; }
.dark .push, .push-dark { background: var(--navy-2); color: #fff; box-shadow: none; }
.dark .push-top, .dark .push-top b, .push-dark .push-top, .push-dark .push-top b { color: var(--navy-text); }

/* Job card: the handover. One object on the site, in the app and in print. */
.job, .hand { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-3); padding: 16px; display: grid; gap: 12px; }
.job { box-shadow: var(--sh-hard); }
.job-top, .hand-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.job-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 14px; align-items: baseline; }
.job-facts dt { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.job-facts dd { font: 600 17px/1.4 var(--voice); letter-spacing: -.006em; }
.job-private { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 4px 4px 0 var(--navy-line); }
.job-private .job-top, .job-private .job-facts dt { color: var(--navy-text); }
.hand-text { font: 600 18px/1.5 var(--voice); letter-spacing: -.006em; }
.hand-note { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.hand-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14.5px; }
.hand-facts dt { color: var(--ink-3); }
.hand-facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.msgcard { background: var(--navy); color: #fff; border-radius: var(--r-3); padding: 14px; display: grid; gap: 10px; }
.msgcard .hand-top, .msgcard .hand-note { color: var(--navy-text); }
.msgcard .hand-text { color: #fff; }
.msgcard .t { color: var(--ink); }

/* SMS bubble. */
.bubble { background: var(--wash); color: var(--ink); border-radius: 18px 18px 18px 5px; padding: 10px 13px; font-size: 14.5px; line-height: 1.38; max-width: 30em; justify-self: start; }
.bubble-out { background: var(--ink); color: #fff; border-radius: 18px 18px 5px 18px; justify-self: end; }
.band-wash .bubble { background: #fff; }
.bubble-meta { font-size: var(--fs-micro); color: var(--ink-2); font-weight: 500; }

/* Transcript line. The serif is AIRIS; the caller is plain. */
.line { display: grid; gap: 2px; }
.line small { font: 600 var(--fs-micro)/1.2 var(--ui); color: var(--ink-3); }
.line p { font-size: 16px; line-height: 1.5; }
.line-airis p { font: 600 17px/1.45 var(--voice); letter-spacing: -.006em; }
.on-dark .line small { color: var(--navy-text); }
/* A word inside a transcript. Facts get the marker, drawn word by word as they are said. */
.w.fact { position: relative; z-index: 0; }
.w.fact::before { content: ""; position: absolute; z-index: -1; inset: .12em 0 .06em; background: var(--accent); transform: scaleX(1); transform-origin: 0 50%; transition: transform .2s var(--ease-draw); }
.w.fs::before { left: -.14em; border-radius: .4em 0 0 .3em / .5em 0 0 .3em; clip-path: polygon(0 18%, 8% 0, 100% 0, 100% 100%, 6% 100%, 2% 70%); }
.w.fe::before { right: -.14em; border-radius: 0 .3em .45em 0 / 0 .4em .3em 0; clip-path: polygon(0 0, 94% 4%, 100% 26%, 97% 80%, 100% 100%, 0 100%); }
.w.fs.fe::before { clip-path: none; }
.w.fact:not(.said)::before { transform: scaleX(0); }
.on-dark .w.fact.said { color: var(--on-accent); }

/* 12. FAQ disclosure, price block, form field ---------------------------------------------------------------------- */
.faq { border-bottom: 2px solid var(--ink); }
.faq details { border-top: 2px solid var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font: 700 var(--fs-3)/1.25 var(--voice); letter-spacing: -.008em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) 50% / 100% 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% / 2.5px 100% no-repeat; transition: transform var(--d-2) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { padding: 0 0 18px; color: var(--ink-2); max-width: var(--measure); }

.price { display: grid; gap: var(--s-4); }
.price-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; font: 800 clamp(64px, 10vw, 136px)/.9 var(--voice); letter-spacing: -.04em; }
.price-fig small { font: 600 var(--fs-3)/1.25 var(--ui); letter-spacing: 0; }
.price-list { display: grid; border-bottom: 2px solid currentColor; }
.price-list > div { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr); gap: 4px 24px; padding: 14px 0; border-top: 2px solid currentColor; }
.price-list dt { font-weight: 600; }
@media (max-width: 560px) { .price-list > div { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field label, .field-label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { min-height: 50px; padding: 10px 13px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; font-size: 16px; width: 100%; }
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--accent); }
.field-hint { font-size: var(--fs-small); color: var(--ink-2); }
.field.is-error input { border-color: var(--first); }
.field.is-error .field-hint { color: #b53a0d; font-weight: 500; }

/* 13. Toast (core.js) ------------------------------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-2); font-weight: 500; font-size: 15px; display: flex; gap: 14px; align-items: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); z-index: var(--z-toast); width: max-content; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { color: var(--accent); font-weight: 600; text-decoration: underline; min-height: 28px; }

/* 14. Reduced motion and print ---------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
@media print {
  .sitebar, .stick, .toast { display: none; }
  .band { padding-block: 18pt; }
  .phone { box-shadow: none; }
  .mk::before, .t, .w.fact::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
