@charset "UTF-8";
/* =============================================================================
   LAMEMA — lamema.co.za  ·  site2 "Editorial Quiet" redesign
   ONE shared stylesheet. No build step, no framework, no CSS from the old build.

   Design language (deliberately distinct from v1):
     · v1 was Bodoni Moda + Parisienne script, cream/sand/clay, arches, offset
       frames, brushstroke ornaments, 96px display headlines.
     · v2 is a low-contrast serif + tight grotesque, near-white surfaces, hairline
       rules instead of colour blocks, numbered index lists, NO ornament, and a
       type scale that tops out at 52px.

   LAYERS
     01 Tokens · 02 Reset · 03 Layout · 04 Skip link · 05 Header/nav · 06 Buttons
     07 Type · 08 Rule lists & facts · 09 Cards · 10 Media & feature rows
     11 Panels & CTA · 12 Gallery & lightbox · 13 Forms · 14 Footer
     15 Page specifics · 16 Motion · 17 Print
   ========================================================================== */

/* =============================================================================
   01  TOKENS
   ========================================================================== */
:root{
  /* Brand — sampled from the client logo. Used sparingly by design. */
  --brand:        #53AFBE;   /* the logo teal — decorative accents only */
  --teal:         #2D6C76;   /* ACTION: links, primary button, focus-adjacent */
  --teal-hover:   #22525A;
  --teal-deep:    #10292F;   /* the one dark surface: CTA band + footer */
  --teal-soft:    #EDF5F6;   /* quiet wash for panels */

  /* Ink & neutrals — cool-warm greys, no cream */
  --ink:          #14201E;
  --ink-2:        #46524F;
  --muted:        #626F6C;   /* AA-checked: 5.1:1 on #FFF, 4.8:1 on #F7F8F8 */
  --line:         #E2E6E5;
  --line-strong:  #C7CFCD;
  --bg:           #FFFFFF;
  --bg-2:         #F7F8F8;

  /* Status */
  --ok:           #2A6349;
  --ok-bg:        #EAF2ED;
  --err:          #A2322A;
  --err-bg:       #FAEDEC;

  --focus:        #14201E;

  /* Type */
  --font-head: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale — min at 360px, max at 1440px.
     RULE 6 CHECK (see CLAUDE.md): the longest real H1 is the 79-character hero
     sentence "Comfortable accommodation, intimate events and personalised
     gifting in Ganyesa." MEASURED in the browser at the render gate:
       1440px → 48px type, 3 lines, 174px tall
        360px → 28px type, 4 lines, 141px tall
     NOTHING in this scale exceeds 48px. Display sizes above ~60px are banned
     outright — that is what wrapped this same sentence onto 7 lines in v1. */
  --fs-h1:     clamp(1.75rem, 1.13rem + 2.75vw, 3rem);     /* 28 → 48 */
  --fs-h2:     clamp(1.5rem,  1.17rem + 1.5vw, 2.25rem);   /* 24 → 36 */
  --fs-h3:     clamp(1.125rem, 1.0rem + 0.55vw, 1.375rem); /* 18 → 22 */
  --fs-lead:   clamp(1.0625rem, 1.0rem + 0.28vw, 1.1875rem);
  --fs-body:   1rem;
  --fs-sm:     0.9375rem;
  --fs-xs:     0.8125rem;
  --fs-eyebrow:0.75rem;

  /* Spacing — a 4px base. Section padding is deliberately modest: it applies
     top AND bottom, so the visible gap between two stacked sections is double
     the token (max 2 × 68 = 136px at 1440px). */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 2.5rem; --sp-8: 3rem;  --sp-9: 4rem;
  --sp-section: clamp(2.75rem, 1.6rem + 3.1vw, 4.25rem);  /* 44 → 68 */

  --gutter: clamp(1.25rem, .6rem + 1.8vw, 2.5rem);        /* 20 → 40 */
  --maxw:   71.25rem;   /* 1140px */
  --measure: 68ch;

  --radius: 3px;
  --shadow: 0 1px 2px rgba(20,32,30,.05), 0 8px 24px -12px rgba(20,32,30,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 66px;
}
@media (min-width: 60rem){ :root{ --header-h: 78px; } }

/* =============================================================================
   02  RESET & BASE
   ========================================================================== */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:1.65;
  color:var(--ink-2);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,picture,video,svg{ max-width:100%; height:auto; display:block; }

/* <picture> is an inline wrapper by default, so an inner img{height:100%}
   resolves against an auto-height box and collapses. Every ratio-constrained
   media box in this site wraps its img in <picture>, so make the wrapper fill.
   (Caught at the Phase-4 render gate — the hero image was letterboxed.) */
.hero__media picture,.pagehead__media picture,.card__media picture,
.figure--tall picture,.figure--wide picture,.gallery__item picture{
  display:block; width:100%; height:100%;
}
h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:400;
  color:var(--ink);
  line-height:1.14;
  margin:0 0 var(--sp-4);
  letter-spacing:-.005em;
}
h1{ font-size:var(--fs-h1); max-width:30ch; }
h2{ font-size:var(--fs-h2); max-width:26ch; }
h3{ font-size:var(--fs-h3); line-height:1.25; margin-bottom:var(--sp-2); }
p{ margin:0 0 var(--sp-4); max-width:var(--measure); }
p:last-child,ul:last-child,ol:last-child{ margin-bottom:0; }
a{ color:var(--teal); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
a:hover{ color:var(--teal-hover); }
ul,ol{ margin:0 0 var(--sp-4); padding-left:1.15rem; }
li{ margin-bottom:var(--sp-2); }
strong{ color:var(--ink); font-weight:600; }
hr{ border:0; border-top:1px solid var(--line); margin:var(--sp-6) 0; }
:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; border-radius:2px; }
::selection{ background:var(--brand); color:#fff; }

/* =============================================================================
   03  LAYOUT
   ========================================================================== */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.wrap--narrow{ max-width:48rem; }

.section{ padding-block:var(--sp-section); }
.section--rule{ border-top:1px solid var(--line); }
.section--tint{ background:var(--bg-2); }
.section--dark{ background:var(--teal-deep); color:#D3DEDD; }
.section--dark h1,.section--dark h2,.section--dark h3{ color:#fff; }
.section--dark a{ color:#fff; }
.section--tight{ padding-block:var(--sp-7); }

/* Two-column editorial split: a sticky-ish label column + content */
.split{ display:grid; gap:var(--sp-5); }
@media (min-width:60rem){
  .split{ grid-template-columns:minmax(0,15rem) minmax(0,1fr); gap:var(--sp-8); align-items:start; }
  .split__aside{ position:sticky; top:calc(var(--header-h) + 1.5rem); }
}
.grid{ display:grid; gap:var(--sp-5); }
.grid--2{ grid-template-columns:1fr; }
.grid--3{ grid-template-columns:1fr; }
@media (min-width:40rem){ .grid--2{ grid-template-columns:repeat(2,1fr); } .grid--3{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:60rem){ .grid--3{ grid-template-columns:repeat(3,1fr); } }

.stack > * + *{ margin-top:var(--sp-4); }
.section__head{ margin-bottom:var(--sp-6); }
.section__head > :last-child{ margin-bottom:0; }

/* =============================================================================
   04  SKIP LINK
   ========================================================================== */
.skip{
  position:absolute; left:var(--sp-4); top:-100px; z-index:2000;
  background:var(--ink); color:#fff; padding:.75rem 1.1rem; border-radius:var(--radius);
  text-decoration:none; font-size:var(--fs-sm); font-weight:500;
}
.skip:focus{ top:var(--sp-3); color:#fff; }

/* =============================================================================
   05  HEADER & NAVIGATION
   ========================================================================== */
.header{
  position:sticky; top:0; z-index:900;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:saturate(1.4) blur(10px);
  backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between; gap:var(--sp-4);
  min-height:var(--header-h);
}
.brand{ display:inline-flex; align-items:center; text-decoration:none; flex:0 0 auto; }
.brand img{ height:34px; width:auto; }
@media (min-width:60rem){ .brand img{ height:42px; } }

.nav-toggle{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  min-height:44px; min-width:44px; padding:0 .5rem;
  background:none; border:0; cursor:pointer; color:var(--ink);
  font-family:inherit; font-size:var(--fs-sm);
}
.nav-toggle__bars{ display:block; width:20px; height:12px; position:relative; }
.nav-toggle__bars::before,.nav-toggle__bars::after{
  content:""; position:absolute; left:0; right:0; height:1.5px; background:currentColor;
  transition:transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars::before{ top:0; }
.nav-toggle__bars::after{ top:10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before{ top:5px; transform:rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after{ top:5px; transform:rotate(-45deg); }

.nav{ margin:0; }
.nav__list{ list-style:none; margin:0; padding:0; }
.nav__link{
  display:block; text-decoration:none; color:var(--ink);
  font-size:var(--fs-sm); letter-spacing:.005em;
}
.nav__link[aria-current="page"]{ color:var(--teal); }

/* --- Mobile: slide-down panel --- */
@media (max-width:59.999rem){
  .nav{
    position:fixed; inset:var(--header-h) 0 auto 0;
    background:var(--bg); border-bottom:1px solid var(--line);
    max-height:calc(100dvh - var(--header-h)); overflow-y:auto;
    transform:translateY(-8px); opacity:0; visibility:hidden;
    transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open{ transform:none; opacity:1; visibility:visible; }
  .nav__list{ padding:var(--sp-2) var(--gutter) var(--sp-5); }
  .nav__list li{ margin:0; border-bottom:1px solid var(--line); }
  .nav__list li:last-child{ border-bottom:0; }
  .nav__link{ padding:.95rem 0; font-size:1.0625rem; }
  .nav__cta{ margin-top:var(--sp-4); }
  .nav__cta .btn{ width:100%; }
}
/* No-JS / no-toggle fallback: the panel is a normal block */
.no-js .nav{ position:static; transform:none; opacity:1; visibility:visible; max-height:none; }
.no-js .nav-toggle{ display:none; }

/* --- Desktop --- */
@media (min-width:60rem){
  .nav-toggle{ display:none; }
  .nav{ display:flex; align-items:center; gap:var(--sp-5); }
  .nav__list{ display:flex; align-items:center; gap:clamp(.9rem,1.6vw,1.6rem); }
  .nav__list li{ margin:0; }
  .nav__link{ padding:.4rem 0; position:relative; }
  .nav__link::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
    background:currentColor; transform:scaleX(0); transform-origin:left;
    transition:transform .25s var(--ease);
  }
  .nav__link:hover::after,.nav__link[aria-current="page"]::after{ transform:scaleX(1); }
  .nav__cta{ margin-left:var(--sp-2); }
}

/* =============================================================================
   06  BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  min-height:46px; padding:.6rem 1.35rem;
  font-family:inherit; font-size:var(--fs-sm); font-weight:500; line-height:1.2;
  text-decoration:none; border-radius:var(--radius); border:1px solid transparent;
  cursor:pointer; transition:background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary{ background:var(--teal); color:#fff; }
.btn--primary:hover{ background:var(--teal-hover); color:#fff; }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn--ghost:hover{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn--light{ background:#fff; color:var(--teal-deep); }
.btn--light:hover{ background:#EAF0EF; color:var(--teal-deep); }
.btn--onDark{ background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.btn--onDark:hover{ border-color:#fff; background:rgba(255,255,255,.08); color:#fff; }
.btn--sm{ min-height:40px; padding:.4rem 1rem; font-size:var(--fs-xs); }
.btn[disabled],.btn[aria-disabled="true"]{ opacity:.55; pointer-events:none; }
.btn-row{ display:flex; flex-wrap:wrap; gap:var(--sp-3); }

/* =============================================================================
   07  TYPE HELPERS
   ========================================================================== */
.eyebrow{
  display:block; font-family:var(--font-body); font-size:var(--fs-eyebrow);
  font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); margin:0 0 var(--sp-3);
}
.section--dark .eyebrow{ color:var(--brand); }
.lead{ font-size:var(--fs-lead); color:var(--ink-2); line-height:1.6; max-width:60ch; }
.small{ font-size:var(--fs-sm); }
.tiny{ font-size:var(--fs-xs); color:var(--muted); }
.serif-note{ font-family:var(--font-head); font-style:italic; font-size:var(--fs-lead); color:var(--ink); }
.prose > * + *{ margin-top:var(--sp-4); }
.visually-hidden{
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;
}

/* =============================================================================
   08  RULE LISTS, FACT ROWS, BREADCRUMBS
   ========================================================================== */
/* Numbered index list — the signature device of this design */
.index-list{ list-style:none; margin:0; padding:0; counter-reset:idx; }
.index-list > li{
  counter-increment:idx; margin:0; padding:var(--sp-4) 0;
  border-top:1px solid var(--line);
  display:grid; grid-template-columns:2.5rem 1fr; gap:var(--sp-3); align-items:baseline;
}
.index-list > li:last-child{ border-bottom:1px solid var(--line); }
.index-list > li::before{
  content:counter(idx,decimal-leading-zero);
  font-size:var(--fs-xs); letter-spacing:.08em; color:var(--muted);
  font-variant-numeric:tabular-nums;
}
.index-list h3{ margin-bottom:var(--sp-1); }
.index-list p{ margin:0; font-size:var(--fs-sm); }

/* Plain hairline list (features, inclusions) */
.rule-list{ list-style:none; margin:0; padding:0; }
.rule-list li{
  margin:0; padding:.7rem 0; border-top:1px solid var(--line);
  font-size:var(--fs-sm); color:var(--ink-2);
}
.rule-list li:last-child{ border-bottom:1px solid var(--line); }
.rule-list--check li{ padding-left:1.5rem; position:relative; }
.rule-list--check li::before{
  content:""; position:absolute; left:0; top:1.25rem;
  width:8px; height:8px; border-left:1.5px solid var(--teal); border-bottom:1.5px solid var(--teal);
  transform:rotate(-45deg);
}
.section--dark .rule-list li{ border-color:rgba(255,255,255,.16); color:#D3DEDD; }
.section--dark .rule-list--check li::before{ border-color:var(--brand); }

/* Definition-style fact rows (rates, good-to-know) */
.facts{ margin:0; }
.facts div{
  display:grid; grid-template-columns:1fr; gap:.15rem;
  padding:.85rem 0; border-top:1px solid var(--line);
}
.facts div:last-child{ border-bottom:1px solid var(--line); }
@media (min-width:40rem){ .facts div{ grid-template-columns:11rem 1fr; gap:var(--sp-4); align-items:baseline; } }
.facts dt{ font-size:var(--fs-xs); letter-spacing:.09em; text-transform:uppercase; color:var(--muted); font-weight:500; }
.facts dd{ margin:0; font-size:var(--fs-sm); color:var(--ink-2); }
.section--dark .facts div{ border-color:rgba(255,255,255,.16); }
.section--dark .facts dt{ color:var(--brand); }
.section--dark .facts dd{ color:#D3DEDD; }

.crumbs{ font-size:var(--fs-xs); color:var(--muted); padding-block:var(--sp-4) 0; }
.crumbs ol{ list-style:none; display:flex; flex-wrap:wrap; gap:.4rem; margin:0; padding:0; }
.crumbs li{ margin:0; }
.crumbs li + li::before{ content:"/"; margin-right:.4rem; color:var(--line-strong); }
.crumbs a{ color:var(--muted); text-decoration:none; }
.crumbs a:hover{ color:var(--ink); text-decoration:underline; }

/* =============================================================================
   09  CARDS
   ========================================================================== */
.card{
  display:flex; flex-direction:column;
  background:var(--bg); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; height:100%;
}
.card__media{ aspect-ratio:4/3; overflow:hidden; background:var(--bg-2); }
.card__media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.card:hover .card__media img{ transform:scale(1.03); }
.card__body{ padding:var(--sp-5); display:flex; flex-direction:column; gap:var(--sp-2); flex:1; }
.card__body p{ font-size:var(--fs-sm); margin:0; }
.card__link{ margin-top:auto; padding-top:var(--sp-3); font-size:var(--fs-sm); font-weight:500; text-decoration:none; }
.card__link::after{ content:" →"; }
.card__link:hover{ text-decoration:underline; }
.card--plain{ border:0; background:none; }
.card--plain .card__body{ padding:var(--sp-4) 0 0; }

/* =============================================================================
   10  MEDIA & FEATURE ROWS
   ========================================================================== */
.figure{ margin:0; border-radius:var(--radius); overflow:hidden; background:var(--bg-2); }
.figure img{ width:100%; }
.figure--tall{ aspect-ratio:3/4; }
.figure--wide{ aspect-ratio:16/9; }
.figure--tall img,.figure--wide img{ height:100%; object-fit:cover; }
figcaption{ font-size:var(--fs-xs); color:var(--muted); padding-top:var(--sp-2); }

.feature{ display:grid; gap:var(--sp-5); align-items:center; }
@media (min-width:60rem){
  .feature{ grid-template-columns:repeat(2,1fr); gap:var(--sp-8); }
  .feature--flip .feature__media{ order:2; }
}
.feature__body h2{ margin-bottom:var(--sp-3); }

/* =============================================================================
   11  PANELS & CTA
   ========================================================================== */
.panel{
  background:var(--bg-2); border:1px solid var(--line);
  border-radius:var(--radius); padding:var(--sp-5);
}
.panel--soft{ background:var(--teal-soft); border-color:#D6E6E8; }
.panel h3{ margin-bottom:var(--sp-2); }
.panel p{ font-size:var(--fs-sm); }

.cta{ background:var(--teal-deep); color:#D3DEDD; }
.cta .wrap{ padding-block:var(--sp-section); }
.cta__inner{ display:grid; gap:var(--sp-5); align-items:center; }
@media (min-width:60rem){ .cta__inner{ grid-template-columns:1.2fr .8fr; gap:var(--sp-8); } }
.cta h2{ color:#fff; margin-bottom:var(--sp-3); }
.cta p{ color:#B9C7C6; }
/* Links inside the dark CTA band must not fall back to the light-surface
   action teal — that lands at 1.6:1 on #10292F. Caught at the render gate. */
.cta a:not(.btn){ color:#EAF0EF; }
.cta a:not(.btn):hover{ color:#fff; }
/* --muted is calibrated for white; on #10292F it is unreadable. */
.cta .eyebrow{ color:var(--brand); }
.cta .tiny,.cta .contact-inline{ color:#A8B5B4; }

.contact-inline{ display:flex; flex-wrap:wrap; gap:var(--sp-2) var(--sp-5); font-size:var(--fs-sm); }
.contact-inline a{ text-decoration:none; }
.contact-inline a:hover{ text-decoration:underline; }

/* =============================================================================
   12  GALLERY & LIGHTBOX
   ========================================================================== */
.filters{ display:flex; flex-wrap:wrap; gap:var(--sp-2); margin-bottom:var(--sp-5); }
.filter{
  min-height:40px; padding:.4rem 1rem; font-family:inherit; font-size:var(--fs-sm);
  background:transparent; color:var(--ink-2); border:1px solid var(--line-strong);
  border-radius:100px; cursor:pointer; transition:all .2s var(--ease);
}
.filter:hover{ border-color:var(--ink); color:var(--ink); }
.filter[aria-pressed="true"]{ background:var(--ink); border-color:var(--ink); color:#fff; }

.gallery{ display:grid; gap:var(--sp-3); grid-template-columns:repeat(2,1fr); list-style:none; margin:0; padding:0; }
@media (min-width:48rem){ .gallery{ grid-template-columns:repeat(3,1fr); gap:var(--sp-4); } }
.gallery li{ margin:0; }
.gallery li[hidden]{ display:none; }
.gallery__item{
  display:block; width:100%; padding:0; border:0; background:var(--bg-2);
  border-radius:var(--radius); overflow:hidden; cursor:zoom-in; aspect-ratio:1/1;
}
.gallery__item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease), opacity .3s; }
.gallery__item:hover img{ transform:scale(1.04); opacity:.92; }

.lightbox{
  position:fixed; inset:0; z-index:1500; border:0; padding:0; margin:0;
  width:100%; height:100%; max-width:none; max-height:none;
  background:rgba(10,20,19,.94); color:#fff;
}
.lightbox::backdrop{ background:rgba(10,20,19,.94); }
.lightbox__inner{ display:flex; flex-direction:column; height:100%; padding:var(--sp-4); gap:var(--sp-3); }
.lightbox__fig{ flex:1; display:flex; align-items:center; justify-content:center; margin:0; min-height:0; }
.lightbox__fig img{ max-height:100%; max-width:100%; width:auto; object-fit:contain; }
.lightbox__cap{ text-align:center; font-size:var(--fs-sm); color:#C6D2D1; max-width:70ch; margin-inline:auto; }
.lightbox__bar{ display:flex; justify-content:space-between; align-items:center; gap:var(--sp-3); }
.lb-btn{
  min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25);
  border-radius:var(--radius); cursor:pointer; font-family:inherit; font-size:1rem;
}
.lb-btn:hover{ background:rgba(255,255,255,.2); }
.lightbox__count{ font-size:var(--fs-xs); color:#B4C0BF; font-variant-numeric:tabular-nums; }

/* =============================================================================
   13  FORMS
   ========================================================================== */
.form{ display:grid; gap:var(--sp-4); }
.field{ display:grid; gap:.35rem; }
.field > label,.fieldset > legend{
  font-size:var(--fs-sm); font-weight:500; color:var(--ink);
}
.field .hint{ font-size:var(--fs-xs); color:var(--muted); }
.field input,.field select,.field textarea{
  font-family:inherit; font-size:1rem; color:var(--ink);
  min-height:46px; padding:.6rem .8rem; width:100%;
  background:var(--bg); border:1px solid var(--line-strong); border-radius:var(--radius);
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea{ min-height:8rem; resize:vertical; line-height:1.6; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--teal); box-shadow:0 0 0 3px rgba(45,108,118,.15);
}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{ outline:2px solid var(--focus); outline-offset:2px; }
.field input[aria-invalid="true"],.field select[aria-invalid="true"],.field textarea[aria-invalid="true"]{ border-color:var(--err); }
.field .err{ font-size:var(--fs-xs); color:var(--err); }
.field .err:empty{ display:none; }
.req{ color:var(--err); }

.fieldset{ border:0; padding:0; margin:0; display:grid; gap:var(--sp-3); }
.fieldset > legend{ padding:0; margin-bottom:.25rem; }
.check-grid{ display:grid; grid-template-columns:1fr; gap:.25rem; }
@media (min-width:40rem){ .check-grid{ grid-template-columns:repeat(2,1fr); } }
.check{
  display:flex; align-items:flex-start; gap:.65rem;
  min-height:44px; padding:.5rem 0; font-size:var(--fs-sm); cursor:pointer;
}
.check input{ width:18px; height:18px; min-height:0; margin-top:.28rem; flex:0 0 auto; accent-color:var(--teal); }

.cond-group{
  border:1px solid var(--line); border-radius:var(--radius);
  padding:var(--sp-4); background:var(--bg-2); display:grid; gap:var(--sp-4);
}
.cond-group[hidden]{ display:none; }
.cond-group > h3{ font-size:var(--fs-sm); font-family:var(--font-body); font-weight:600; letter-spacing:.02em; margin:0; }
@media (min-width:40rem){ .form-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:var(--sp-4); } }

/* honeypot — moved off-screen, never display:none */
.hp{ position:absolute!important; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

.formmsg{ border-radius:var(--radius); padding:var(--sp-4); font-size:var(--fs-sm); border:1px solid; }
.formmsg[hidden]{ display:none; }
.formmsg--ok{ background:var(--ok-bg); border-color:#BFD9CB; color:#1D4A35; }
.formmsg--err{ background:var(--err-bg); border-color:#E7C3BF; color:#7E241D; }
.formmsg strong{ display:block; margin-bottom:.25rem; color:inherit; }
.formmsg ul{ margin:.5rem 0 0; }

/* =============================================================================
   14  FOOTER
   ========================================================================== */
.footer{ background:var(--teal-deep); color:#9FB0AF; font-size:var(--fs-sm); }
.footer .wrap{ padding-block:var(--sp-8) var(--sp-5); }
.footer__grid{ display:grid; gap:var(--sp-6); }
@media (min-width:48rem){ .footer__grid{ grid-template-columns:1.3fr 1fr 1fr; gap:var(--sp-7); } }
.footer__logo img{ height:44px; width:auto; margin-bottom:var(--sp-3); }
.footer h2{ font-family:var(--font-body); font-size:var(--fs-xs); letter-spacing:.14em; text-transform:uppercase; color:var(--brand); margin-bottom:var(--sp-3); }
.footer ul{ list-style:none; margin:0; padding:0; }
.footer li{ margin-bottom:.5rem; }
.footer a{ color:#C6D2D1; text-decoration:none; }
.footer a:hover{ color:#fff; text-decoration:underline; }
.footer p{ max-width:38ch; }
.footer .tiny{ color:#A8B5B4; }
.footer__bottom{
  margin-top:var(--sp-7); padding-top:var(--sp-4); border-top:1px solid rgba(255,255,255,.14);
  display:flex; flex-wrap:wrap; gap:var(--sp-2) var(--sp-5); justify-content:space-between;
  font-size:var(--fs-xs); color:#A8B5B4;
}
.footer__bottom a{ color:#A8B5B4; }
.footer__bottom a:hover{ color:#fff; }
.footer__bottom p{ margin:0; }

/* =============================================================================
   15  PAGE SPECIFICS
   ========================================================================== */
/* --- Home hero: image right, text left. No overlay text = legible always. --- */
.hero{ padding-block:var(--sp-7) var(--sp-section); }
.hero__inner{ display:grid; gap:var(--sp-6); align-items:center; }
@media (min-width:60rem){ .hero__inner{ grid-template-columns:1.15fr .85fr; gap:var(--sp-8); } }
.hero h1{ margin-bottom:var(--sp-4); }
.hero .lead{ margin-bottom:var(--sp-5); }
.hero__media{ border-radius:var(--radius); overflow:hidden; background:var(--bg-2); aspect-ratio:4/3; }
@media (min-width:60rem){ .hero__media{ aspect-ratio:4/5; } }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__meta{
  margin-top:var(--sp-6); padding-top:var(--sp-4); border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap; gap:var(--sp-2) var(--sp-6);
  font-size:var(--fs-xs); letter-spacing:.09em; text-transform:uppercase; color:var(--muted);
}

/* --- Interior page header --- */
.pagehead{ padding-block:var(--sp-6) var(--sp-section); }
.pagehead h1{ margin-bottom:var(--sp-3); }
.pagehead__media{ margin-top:var(--sp-6); border-radius:var(--radius); overflow:hidden; aspect-ratio:21/9; background:var(--bg-2); }
.pagehead__media img{ width:100%; height:100%; object-fit:cover; }

/* --- 404 --- */
.oops{ text-align:center; padding-block:var(--sp-9); }
.oops .btn-row{ justify-content:center; }
.oops p{ margin-inline:auto; }

/* --- Contact page split --- */
.contact-grid{ display:grid; gap:var(--sp-7); }
@media (min-width:62rem){ .contact-grid{ grid-template-columns:1fr 20rem; gap:var(--sp-8); align-items:start; } }
/* The .facts two-column layout assumes a full-width column. Inside the 20rem
   aside it squeezes the phone number onto three lines — keep it stacked. */
.contact-grid > aside .facts div{ grid-template-columns:1fr; gap:.15rem; }
.contact-grid > aside .facts dd{ overflow-wrap:anywhere; }

/* =============================================================================
   16  MOTION
   RULE 4 (CLAUDE.md): the hidden start state lives ONLY behind html.motion,
   which app.js sets after the IntersectionObserver is successfully built.
   No JS, blocked JS, a thrown error or reduced-motion => everything visible.
   Specificity: .reveal (0,1,0) < html.motion .reveal (0,2,0) < html.motion
   .reveal.is-in (0,3,0), so the revealed state always wins.
   ========================================================================== */
.reveal{ opacity:1; transform:none; }
html.motion .reveal{
  opacity:0; transform:translateY(12px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
html.motion .reveal.is-in{ opacity:1; transform:none; }
html.motion .reveal--d1{ transition-delay:.08s; }
html.motion .reveal--d2{ transition-delay:.16s; }
html.motion .reveal--d3{ transition-delay:.24s; }

@media (prefers-reduced-motion: reduce){
  html.motion .reveal,
  html.motion .reveal.is-in{ opacity:1!important; transform:none!important; transition:none!important; }
  *,*::before,*::after{
    animation-duration:.001ms!important; animation-iteration-count:1!important;
    transition-duration:.001ms!important; scroll-behavior:auto!important;
  }
}

/* =============================================================================
   17  PRINT
   ========================================================================== */
@media print{
  .header,.footer,.cta,.nav-toggle,.filters,.lightbox,.skip{ display:none!important; }
  body{ color:#000; background:#fff; }
  a[href^="http"]::after{ content:" (" attr(href) ")"; font-size:.8em; }
}
