/* =========================================================================
   Claire Donnelly Coaching: shared design system ("Tangerine Maven", variant A)
   Every page links this file. Page-specific CSS stays inline in that page.
   Read DESIGN-NOTES.md before adding anything here.
   ========================================================================= */

/* ---------- tokens ---------- */
:root{
  /* color */
  --cream:#F7EFE3;      /* page background */
  --cream-2:#EFE4D3;    /* quieter band */
  --stucco:#FFFBF5;     /* paper, cards, light buttons */
  --blush:#EBC9B6;      /* Ojai pink moment, use rarely */
  --ink:#141010;        /* text, dark bands */
  --ink-soft:#4A3F39;   /* secondary text on cream (8.9:1) */
  --hot:#D3030A;        /* Astra red. Fills, bands, buttons. White on it 5.55:1 */
  --hot-ink:#B8020A;    /* red for text on cream (6.0:1) */
  --hot-lt:#FF6B6B;     /* red for text on ink (6.8:1) */
  --line:rgba(20,16,16,.18);
  --line-lt:rgba(255,251,245,.28);

  /* type */
  --serif:"Noto Serif Display", Georgia, serif;   /* use font-stretch:62.5% for the condensed cut */
  --sans:"Albert Sans", system-ui, sans-serif;
  --script:"Comforter", "Snell Roundhand", cursive; /* Comforter regular. Never a brush font. */

  /* type scale (fluid) */
  --fs-body:18px;
  --fs-small:15px;
  --fs-lede:clamp(19px,1.45vw,21px);
  --fs-h3:clamp(30px,2.6vw,40px);
  --fs-h2:clamp(42px,5vw,80px);
  --fs-display:clamp(68px,9vw,148px);   /* condensed serif section titles */
  --fs-page-title:clamp(76px,11vw,184px); /* inner page hero title */

  /* script lockup: Astra-style script crossing the serif line */
  --script-rot:-7deg;
  --script-scale:1.55;  /* script size relative to the serif it overlaps */

  /* layout */
  --gut:clamp(16px,4vw,56px);
  --wrap:1240px;
  --header-h:84px;
  --sec:clamp(96px,10vw,150px);   /* default band padding */

  /* motion */
  --ease:cubic-bezier(.16,1,.3,1);
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scrollbar-color:var(--hot) var(--cream);-webkit-text-size-adjust:100%;overflow-x:clip}
body{background:var(--cream);color:var(--ink);font:400 var(--fs-body)/1.6 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip;caret-color:var(--hot);text-rendering:optimizeLegibility}
::selection{background:var(--hot);color:#fff}
img,svg,video{display:block;max-width:100%}
a{color:inherit;text-underline-offset:.22em;text-decoration-thickness:1px}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.on-dark :focus-visible,.on-hot :focus-visible{outline-color:#fff}
em{font-family:var(--serif);font-style:italic;font-weight:400}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:16px;top:16px;z-index:99;background:var(--ink);color:#fff;padding:12px 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none !important}

/* ---------- layout helpers ---------- */
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.wrap--narrow{max-width:820px}
.wrap--wide{max-width:1440px}
.stack > * + *{margin-top:var(--stack,22px)}

/* section bands. Pair with .on-dark / .on-hot so focus rings flip to white */
.band{padding-block:var(--sec);position:relative}
.band--cream{background:var(--cream)}
.band--cream-2{background:var(--cream-2)}
.band--stucco{background:var(--stucco)}
.band--blush{background:var(--blush)}
.band--ink{background:var(--ink);color:var(--stucco)}
.band--hot{background:var(--hot);color:#fff}
.band--tight{padding-block:clamp(64px,7vw,100px)}

/* ---------- type ---------- */
.display{font-family:var(--serif);font-stretch:62.5%;font-weight:400;font-size:var(--fs-display);line-height:.86;letter-spacing:-.01em;text-wrap:balance}
.display em{font-stretch:62.5%;color:var(--hot-ink)}
.display .script-over{--script-scale:.62}
.band--ink .display em{color:var(--hot-lt)}
.band--hot .display em{color:#fff}
.h2{font-family:var(--serif);font-weight:400;font-size:var(--fs-h2);line-height:1;letter-spacing:-.025em;text-wrap:balance}
.h2 em{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:.12em;text-decoration-color:var(--hot)}
.h3{font-family:var(--serif);font-weight:400;font-size:var(--fs-h3);line-height:1.1;letter-spacing:-.015em}
.lede{font-size:var(--fs-lede);line-height:1.5;max-width:42ch;text-wrap:pretty}
.muted{color:var(--ink-soft)}
.small{font-size:var(--fs-small)}

/* Script. Comforter is thin with a small x-height, so it is always set big.
   .script            inline script word inside a serif line
   .script-over       block script that sits ABOVE the next serif line and crosses into it
                      (Astra Maven lockup). Put it first inside the heading or right before it. */
.script{font-family:var(--script);font-weight:400;font-style:normal;letter-spacing:0;line-height:.7;color:var(--hot-ink);font-size:calc(var(--script-scale) * 1em);display:inline-block;transform:rotate(var(--script-rot));transform-origin:left 60%}
.script-over{display:block;position:relative;z-index:2;pointer-events:none;font-family:var(--script);font-weight:400;font-style:normal;letter-spacing:0;color:var(--hot-ink);
  font-size:calc(var(--script-scale) * 1em);line-height:.7;
  transform:rotate(var(--script-rot));transform-origin:left bottom;
  margin:0 0 -.36em -.12em;   /* the negative bottom margin is the overlap */
  white-space:nowrap}
.script-over--center{text-align:center;margin-inline:auto;transform-origin:center bottom}
.script-over--right{text-align:right;margin-right:-.1em}
.band--ink .script,.band--ink .script-over{color:var(--hot-lt)}
.band--hot .script,.band--hot .script-over,.page-hero .script,.page-hero .script-over{color:var(--ink)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 30px;background:var(--hot);color:#fff;font:600 16px/1 var(--sans);letter-spacing:.01em;text-decoration:none;border:0;border-radius:0;cursor:pointer;white-space:nowrap;transition:background-color .25s ease,color .25s ease,transform .25s var(--ease)}
.btn:hover{background:var(--ink)}
.btn:active{transform:translateY(1px)}
.btn--ink{background:var(--ink)}
.btn--ink:hover{background:var(--hot)}
.btn--cream{background:var(--stucco);color:var(--ink)}
.btn--cream:hover{background:var(--ink);color:#fff}
.btn--line{background:transparent;color:inherit;box-shadow:inset 0 0 0 2px currentColor}
.btn--line:hover{background:var(--ink);color:#fff;box-shadow:inset 0 0 0 2px var(--ink)}
.btn--sm{min-height:48px;padding:0 22px;font-size:15px}
.btn--block{width:100%}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed;transform:none}
.btn .dots{display:inline-flex;gap:4px}
.btn .dots i{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.4}
@media (prefers-reduced-motion:no-preference){.btn .dots i{animation:dot 1s infinite}.btn .dots i:nth-child(2){animation-delay:.15s}.btn .dots i:nth-child(3){animation-delay:.3s}}
@keyframes dot{50%{opacity:1}}
.textlink{font-weight:600;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-decoration-color:var(--hot);text-decoration-thickness:2px;text-underline-offset:6px;transition:color .2s}
.textlink:hover{color:var(--hot-ink)}
.band--ink .textlink:hover{color:var(--hot-lt)}
.band--hot .textlink,.page-hero .textlink{text-decoration-color:#fff}
.band--hot .textlink:hover{color:var(--ink)}

/* ---------- header (identical on every page) ---------- */
.site-header{position:absolute;inset:0 0 auto 0;z-index:30;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:var(--header-h);padding:18px var(--gut);color:#fff}
.site-header nav{display:flex;gap:28px;font:500 15px/1 var(--sans)}
.site-header nav a{text-decoration:none;display:inline-flex;align-items:center;min-height:44px;background:linear-gradient(currentColor,currentColor) 0 calc(100% - 6px)/0 1px no-repeat;transition:background-size .35s var(--ease)}
.site-header nav a:hover,.site-header nav a[aria-current="page"]{background-size:100% 1px}
.wordmark{font-family:var(--serif);font-stretch:62.5%;font-weight:400;font-size:30px;letter-spacing:.01em;text-decoration:none;line-height:1;white-space:nowrap;padding-block:7px}
.site-header .right{display:flex;justify-content:flex-end;align-items:center;gap:28px}
.site-header .btn{min-height:48px;padding:0 22px;font-size:15px}
.menu-btn{display:none;background:none;border:1px solid rgba(255,255,255,.75);color:#fff;font:500 15px/1 var(--sans);min-height:44px;padding:0 14px;cursor:pointer;border-radius:0}
.menu-btn:hover{background:rgba(255,255,255,.14)}
html:not(.js) .menu-btn{display:none !important}
.site-header .short{display:none}
/* pages that do NOT open on a tangerine band: <header class="site-header site-header--ink"> */
.site-header--ink{color:var(--ink)}
.site-header--ink .menu-btn{border-color:var(--ink);color:var(--ink)}
.site-header--ink .menu-btn:hover{background:rgba(20,16,16,.08)}
.site-header--ink .btn--cream{background:var(--hot);color:#fff}
.site-header--ink .btn--cream:hover{background:var(--ink)}
.site-header--ink :focus-visible{outline-color:var(--ink)}
.site-header:not(.site-header--ink) :focus-visible{outline-color:#fff}

/* phone menu */
.menu{position:fixed;inset:0;z-index:60;background:var(--ink);color:var(--stucco);display:flex;flex-direction:column;padding:18px 16px 28px;overflow-y:auto}
.menu[hidden]{display:none}
.menu-head{display:flex;justify-content:space-between;align-items:center}
.menu-head .wordmark{font-size:26px}
.menu-close{background:none;border:1px solid rgba(255,251,245,.6);color:var(--stucco);font:500 15px/1 var(--sans);min-height:44px;padding:0 14px;cursor:pointer;border-radius:0}
.menu nav{display:flex;flex-direction:column;margin-top:40px;border-top:1px solid var(--line-lt)}
.menu nav a{font-family:var(--serif);font-stretch:62.5%;font-size:clamp(44px,13vw,60px);line-height:1;text-decoration:none;padding:16px 0 14px;border-bottom:1px solid var(--line-lt)}
.menu nav a[aria-current="page"]{color:var(--hot-lt)}
.menu nav a em{color:var(--hot-lt);font-stretch:62.5%}
.menu .btn{margin-top:auto;width:100%}
.menu .note{margin:14px 0 0;font-size:15px;color:rgba(255,251,245,.78);text-align:center}
@media (prefers-reduced-motion:no-preference){
  .menu:not([hidden]){animation:menuIn .55s var(--ease)}
  .menu:not([hidden]) nav a{animation:rise .6s var(--ease) both}
  .menu:not([hidden]) nav a:nth-child(2){animation-delay:.05s}
  .menu:not([hidden]) nav a:nth-child(3){animation-delay:.1s}
  .menu:not([hidden]) nav a:nth-child(4){animation-delay:.15s}
  .menu:not([hidden]) nav a:nth-child(5){animation-delay:.2s}
}
@keyframes menuIn{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes rise{from{transform:translateY(.4em);opacity:0}to{transform:none;opacity:1}}

/* ---------- inner page hero ---------- */
/* Tangerine band, big condensed title, script crossing it, optional photo flush to the bottom edge */
.page-hero{background:var(--hot);color:#fff;position:relative;overflow:hidden;padding:calc(var(--header-h) + clamp(56px,7vw,104px)) var(--gut) clamp(72px,8vw,120px)}
.page-hero__in{max-width:1440px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.page-hero--photo{padding-bottom:0}
.page-hero--photo .page-hero__in{grid-template-columns:minmax(0,7fr) minmax(0,4fr);align-items:end;gap:40px clamp(40px,6vw,96px)}
.page-hero--photo .page-hero__text{padding-bottom:clamp(72px,8vw,120px)}
.page-hero__meta{font-size:15px;margin-bottom:18px}
.page-hero__meta + .page-title{margin-top:clamp(36px,4vw,64px)}
.page-title{font-family:var(--serif);font-stretch:62.5%;font-weight:400;font-size:var(--fs-page-title);line-height:.84;letter-spacing:-.012em;text-wrap:balance}
.page-title .script-over{font-size:calc(.5 * var(--script-scale) * 1em);margin-bottom:-.3em}
.page-hero__lede{font-size:var(--fs-lede);line-height:1.5;max-width:40ch;margin-top:30px}
.page-hero__actions{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;margin-top:30px}
.page-hero__photo{position:relative;aspect-ratio:4/5;overflow:hidden;background:#d9d6d1;align-self:end;max-height:78svh;width:100%}
.page-hero__photo img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 25%)}
@media (prefers-reduced-motion:no-preference){
  .page-hero__photo{animation:frameUp 1.1s var(--ease) both}
  .page-title{animation:rise 1s var(--ease) .15s both}
}
@keyframes frameUp{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}

/* ---------- photo frames ---------- */
/* <figure class="photo" style="--pos:50% 30%"><img ...></figure>
   ratios: default 4:5, .photo--2x3, .photo--1x1, .photo--3x2, .photo--16x9
   crop zoom (e.g. hide a cut-off face): style="--z:1.6;--zo:90% 92%" */
.photo{position:relative;aspect-ratio:var(--ar,4/5);overflow:hidden;background:var(--cream-2)}
.photo--2x3{--ar:2/3}.photo--1x1{--ar:1/1}.photo--3x2{--ar:3/2}.photo--16x9{--ar:16/9}
.photo img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 30%);transform:scale(var(--z,1));transform-origin:var(--zo,50% 50%)}
.photo-cap{margin-top:12px;font-size:15px;color:var(--ink-soft)}
.band--ink .photo-cap{color:rgba(255,251,245,.78)}
/* a script word that hangs off a photo's corner: <span class="photo-script" aria-hidden="true">hi there</span> inside a position:relative wrapper */
.photo-script{position:absolute;right:-.4em;bottom:-.3em;z-index:3;pointer-events:none;font-family:var(--script);font-size:clamp(76px,8vw,132px);line-height:1;color:var(--hot-ink);transform:rotate(var(--script-rot))}

/* ---------- offer terms line (title / price row) ---------- */
.terms{display:flex;justify-content:space-between;align-items:baseline;gap:16px;max-width:480px;padding-top:14px;margin-top:6px;border-top:1px solid currentColor;font-size:17px}
.terms b{font-family:var(--serif);font-stretch:62.5%;font-weight:400;font-size:34px;line-height:1;white-space:nowrap}

/* ---------- testimonial ---------- */
.quote blockquote{font-family:var(--serif);font-size:clamp(26px,2.6vw,38px);line-height:1.2;letter-spacing:-.015em}
.quote blockquote::before{content:"\201C";display:block;font-size:2.6em;line-height:.6;color:var(--hot-ink);margin-bottom:8px}
.band--ink .quote blockquote::before{color:var(--hot-lt)}
.quote figcaption{margin-top:20px;font-size:16px;color:var(--ink-soft);display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.quote figcaption::before{content:"";width:32px;height:1px;background:var(--hot-ink)}
.band--ink .quote figcaption{color:rgba(255,251,245,.82)}
.band--ink .quote figcaption::before{background:var(--hot-lt)}
.sample{font-size:12px;line-height:1.2;border:1px solid currentColor;padding:2px 6px;opacity:.85}

/* ---------- FAQ (<details>) ---------- */
.faq{border-top:1px solid currentColor;max-width:880px}
.faq details{border-bottom:1px solid var(--line)}
.band--ink .faq details{border-color:var(--line-lt)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:64px;padding:22px 0;font-family:var(--serif);font-size:clamp(22px,2vw,28px);line-height:1.2;letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--hot-ink)}
.band--ink .faq summary:hover{color:var(--hot-lt)}
.faq .pm{flex:none;position:relative;width:22px;height:22px}
.faq .pm::before,.faq .pm::after{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:currentColor;transition:transform .35s var(--ease)}
.faq .pm::after{transform:rotate(90deg)}
.faq details[open] .pm::after{transform:rotate(0)}
.faq .answer{padding:0 56px 28px 0;max-width:62ch}
.faq .answer > * + *{margin-top:14px}
@media (prefers-reduced-motion:no-preference){
  .faq details[open] .answer{animation:rise .45s var(--ease)}
}

/* ---------- forms ---------- */
/* Labels sit above inputs. Errors sit below. JS (site.js) fills .field-error and toggles states. */
.form{display:grid;gap:22px;max-width:640px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.field{display:grid;gap:8px}
.field label,.field .label{font-weight:600;font-size:16px}
.field .hint{font-size:15px;color:var(--ink-soft);margin-top:-4px}
.input,.textarea,.select{width:100%;min-height:56px;padding:14px 16px;background:var(--stucco);color:var(--ink);border:1.5px solid rgba(20,16,16,.55);border-radius:0;font:400 18px/1.4 var(--sans);transition:border-color .2s,box-shadow .2s}
.textarea{min-height:150px;resize:vertical}
.select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:44px}
.input::placeholder,.textarea::placeholder{color:#6f645d;opacity:1}
.input:hover,.textarea:hover,.select:hover{border-color:var(--ink)}
.input:focus,.textarea:focus,.select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px var(--hot)}
.field[data-invalid] .input,.field[data-invalid] .textarea,.field[data-invalid] .select,[aria-invalid="true"]{border-color:var(--hot-ink);box-shadow:0 0 0 1px var(--hot-ink)}
.field-error{font-size:15px;font-weight:600;color:var(--hot-ink)}
.band--ink .field-error{color:var(--hot-lt)}
.form-note{font-size:15px;color:var(--ink-soft)}
.form > .btn{justify-self:start}
.choices .field-error{flex-basis:100%}
/* choice tiles: radios / checkboxes styled as sharp tiles (scheduler days, payment plans) */
.choices{display:flex;flex-wrap:wrap;gap:10px;border:0}
.choices legend{font-weight:600;font-size:16px;margin-bottom:10px;padding:0}
.choice{position:relative}
.choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.choice span{display:flex;flex-direction:column;justify-content:center;min-height:56px;padding:10px 18px;border:1.5px solid rgba(20,16,16,.55);background:var(--stucco);font-weight:500;line-height:1.25;transition:background-color .2s,color .2s,border-color .2s}
.choice small{font-size:14px;font-weight:400;opacity:.85}
.choice input:hover + span{border-color:var(--ink)}
.choice input:checked + span{background:var(--ink);color:var(--stucco);border-color:var(--ink)}
.choice input:focus-visible + span{outline:3px solid var(--hot);outline-offset:2px}
.choice input:disabled + span{opacity:.45;text-decoration:line-through;cursor:not-allowed}
/* sent / confirmation panel that replaces a form */
.form-sent{border-top:2px solid currentColor;padding-top:20px;max-width:560px}
.form-sent:focus{outline:none}
.form-sent b{display:block;font-family:var(--serif);font-stretch:62.5%;font-weight:400;font-size:clamp(40px,4vw,52px);line-height:1}
.form-sent p{margin-top:10px}
@media (prefers-reduced-motion:no-preference){.form-sent:not([hidden]){animation:rise .8s var(--ease) both}}

/* joined email + button (workbook, newsletter). Light-on-color by default (for tangerine or ink bands) */
.inline-form{display:flex;max-width:560px}
.inline-form .input{flex:1;min-width:0;min-height:60px;background:transparent;color:inherit;border:2px solid currentColor;border-right:0;caret-color:currentColor}
.inline-form .input::placeholder{color:inherit;opacity:.85}
.inline-form .input:focus{box-shadow:none;background:rgba(20,16,16,.14);border-color:currentColor}
.inline-form .btn{min-height:60px}
.band--hot .inline-form .btn{background:var(--ink)}
.band--hot .inline-form .input::placeholder,.on-hot .inline-form .input::placeholder{opacity:1}
.band--hot .inline-form .btn:hover{background:var(--stucco);color:var(--ink)}
.inline-form + .field-error,.inline-form-wrap .field-error{margin-top:10px}
.band--hot .field-error,.on-hot .field-error{color:#fff;background:var(--ink);display:inline-block;padding:4px 8px}

/* ---------- long-form text (journal posts, privacy) ---------- */
.prose{max-width:68ch;font-size:19px;line-height:1.7}
.prose > * + *{margin-top:1.1em}
.prose h2{font-family:var(--serif);font-weight:400;font-size:clamp(30px,3vw,42px);line-height:1.1;letter-spacing:-.015em;margin-top:2em}
.prose h3{font-family:var(--serif);font-weight:400;font-size:26px;line-height:1.2;margin-top:1.6em}
.prose a{text-decoration-color:var(--hot);text-decoration-thickness:2px;text-underline-offset:5px}
.prose a:hover{color:var(--hot-ink)}
.prose ul,.prose ol{padding-left:1.2em}
.prose li + li{margin-top:.4em}
.prose li::marker{color:var(--hot-ink)}
.prose blockquote{font-family:var(--serif);font-size:clamp(26px,2.4vw,34px);line-height:1.25;letter-spacing:-.015em;padding:.2em 0 .2em 28px;border-left:1px solid var(--hot-ink)}
.prose hr{border:0;border-top:1px solid var(--line);margin-block:2.2em}

/* ---------- footer (identical on every page) ---------- */
.site-footer{background:var(--ink);color:rgba(255,251,245,.84);padding:clamp(72px,8vw,112px) var(--gut) 32px;font-size:16px}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--hot-lt)}
.foot-in{max-width:1440px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1fr);gap:56px clamp(40px,5vw,88px)}
.foot-brand .wordmark{display:inline-block;color:var(--stucco);font-size:clamp(60px,5.6vw,92px);line-height:.9}
.foot-brand .script-over{color:var(--hot-lt);font-size:clamp(54px,4.6vw,76px);margin-left:.1em;margin-bottom:-.36em}
.foot-brand p{margin-top:22px;max-width:30ch}
.foot-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;align-content:start}
.foot-nav a{min-height:44px;display:flex;align-items:center;color:var(--stucco)}
.foot-news h2{font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.1;color:var(--stucco)}
.foot-news p{margin:10px 0 18px;max-width:36ch}
.foot-news .inline-form{color:var(--stucco)}
.foot-news .inline-form .input{min-height:56px;border-width:1.5px}
.foot-news .inline-form .btn{min-height:56px;padding:0 22px}
.foot-news .form-sent{color:var(--stucco);border-top-width:1px}
.foot-news .form-sent b{font-size:36px}
.site-footer .field-error{color:var(--hot-lt)}
.foot-base{max-width:1440px;margin:clamp(56px,6vw,88px) auto 0;padding-top:22px;border-top:1px solid var(--line-lt);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 28px;font-size:15px}
.foot-base .contact{display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center}
.foot-base a{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-decoration-color:rgba(255,251,245,.35);text-underline-offset:5px}
.foot-base .demo{color:rgba(255,251,245,.7);font-size:14px}

/* ---------- reveal on scroll (site.js). Visible without JS and with reduced motion ---------- */
@media (prefers-reduced-motion:no-preference){
  .js [data-reveal]:not(.is-in){opacity:0;transform:translateY(28px);animation:revealSafety 0s 8s forwards}
  .js [data-reveal]{transition:opacity .9s var(--ease),transform 1.1s var(--ease)}
  .js [data-reveal="fade"]:not(.is-in){transform:none}
}
@keyframes revealSafety{to{opacity:1;transform:none}}

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

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .site-header{grid-template-columns:1fr auto}
  .site-header nav{display:none}
  .menu-btn{display:inline-flex;align-items:center}
  .site-header .right{gap:12px}
  .foot-in{grid-template-columns:1fr 1fr}
  .foot-brand{grid-column:1 / -1}
}

/* ---------- phone ---------- */
@media (max-width:820px){
  :root{--header-h:72px}
  .site-header{gap:10px;padding:14px 16px}
  .wordmark{font-size:25px}
  .site-header .right{gap:8px}
  .site-header .btn{min-height:44px;padding:0 14px;font-size:14px}
  .site-header .long{display:none}.site-header .short{display:inline}
  .page-hero{padding:calc(var(--header-h) + 48px) 16px 64px}
  .page-hero--photo{padding-bottom:0}
  .page-hero--photo .page-hero__in{grid-template-columns:1fr}
  .page-hero--photo .page-hero__text{padding-bottom:8px}
  .page-hero__photo{max-height:none;width:calc(100% - 32px);margin-inline:auto}
  .page-hero__actions .btn{width:100%}
  .form-row{grid-template-columns:1fr}
  .inline-form{flex-direction:column}
  .inline-form .input{border-right:2px solid currentColor;border-bottom:0}
  .foot-news .inline-form .input{border-right-width:1.5px}
  .inline-form .btn{width:100%}
  .faq .answer{padding-right:0}
  .foot-in{grid-template-columns:1fr;gap:48px}
  .foot-base{flex-direction:column;align-items:flex-start}
  .photo-script{right:auto;left:.1em;bottom:-.4em;font-size:80px}
}
@media (max-width:380px){
  .wordmark{font-size:23px}
  .site-header .btn{padding:0 12px}
}
