/* =================================================================
   HOME.CSS - new homepage design system
   Direction: bright / minimalist / Helen-Rudy-inspired, Hebrew RTL.
   Used only by the redesigned index.html. Sub-pages still use styles.css
   until they are migrated.
   ================================================================= */

/* ============ TOKENS ============ */
:root {
  --bg:       #FBFAF7;   /* near-white, faint warmth */
  --bg-2:     #F2F0EA;   /* light cream for alt sections */
  --bg-dark:  #1A1A1A;   /* near-black */
  --ink:      #1A1A1A;
  --ink-soft: #4D4A45;
  --ink-mute: #6E6A62;   /* darkened to meet WCAG AA (4.5:1) for small muted text */
  --hair:     #E4E0D7;   /* decorative hairlines only - NOT for form/control borders */
  --field-bd: #8E867A;   /* form control borders - meets 3:1 UI contrast (1.4.11) */
  --accent:   #B33A2B;   /* warm red - the single accent */
  --accent-d: #962E22;
  --gold:     #F0C9A0;   /* warm light tone for dark sections */

  --sans: "Heebo", system-ui, sans-serif;
  --sign: "Frank Ruhl Libre", Georgia, serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --t-fast: 220ms cubic-bezier(.2,.7,.2,1);
  --t-med:  420ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 900ms cubic-bezier(.2,.7,.2,1);
  --ease:   cubic-bezier(.22,.68,0,1);
}

/* ============ RESET ============ */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-weight: 300;
  font-size: clamp(15px, 1.04vw, 16.5px); line-height: 1.75;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; }
h1,h2,h3,h4 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ============ ACCESSIBILITY ============ */
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  background: var(--bg-dark); color: #fff; padding: .75rem 1.25rem;
  z-index: 1000; border-radius: 2px; transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ============ SHARED BITS ============ */
.kicker { font-size: .72rem; letter-spacing: .26em; color: var(--accent); font-weight: 600; margin-bottom: 1.1rem; }
.kicker.c { text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.9rem; font-weight: 500; font-size: .92rem; letter-spacing: .01em;
  background: var(--accent); color: #fff; border: 1px solid var(--accent); cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn .ar { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .ar { transform: translateX(-4px); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: saturate(120%) blur(14px); -webkit-backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid var(--hair);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1.15rem; gap: 1rem; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; }
.brand small { font-weight: 300; color: var(--ink-mute); font-size: .68rem; letter-spacing: .22em; margin-top: 2px; }
.nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.4rem); font-size: .9rem; font-weight: 400; }
.nav-list > li { display: flex; align-items: center; }
.nav-list a { color: var(--ink-soft); position: relative; padding-block: .25rem; }
.nav-list a::after { content:""; position:absolute; inset-inline:0; bottom:0; height:1.5px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; transition: transform var(--t-med); }
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after, .nav-list a:focus-visible::after { transform: scaleX(1); }
.header-cta { font-size: .82rem; padding: .55rem 1.1rem; }

/* mobile hamburger */
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--hair); border-radius: 999px;
  width: 44px; height: 44px; padding: 0; cursor: pointer; align-items: center; justify-content: center;
  color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast);
}
.nav-toggle:hover { border-color: var(--ink); background: var(--bg-2); }
.nav-toggle .bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle .bars span { display: block; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform var(--t-fast), opacity var(--t-fast); transform-origin: center; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed; inset: 0; background: var(--bg); flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 5.5rem clamp(1.25rem, 4vw, 2rem) 2rem; font-size: 1.5rem; z-index: 49;
    transform: translateY(-100%); visibility: hidden;
    transition: transform var(--t-med), visibility var(--t-med); overflow-y: auto;
  }
  .nav-list.is-open { transform: translateY(0); visibility: visible; }
  .nav-list li { border-bottom: 1px solid var(--hair); }
  .nav-list a { display: block; padding-block: 1.25rem; font-size: 1.4rem; }
  .nav-list a::after { display: none; }
  body.no-scroll { overflow: hidden; }
}

/* ============ HERO - full-bleed image + directional gradient scrim ============ */
.hero { position: relative; min-height: clamp(520px, 80vh, 720px); display: grid; align-items: end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.05); animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after {
  content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(to top, rgba(16,14,12,.9) 0%, rgba(16,14,12,.62) 42%, rgba(16,14,12,.18) 80%),
    linear-gradient(to left, rgba(16,14,12,.55) 0%, rgba(16,14,12,0) 55%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 6rem); color:#fff; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero .kicker { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 500; color:#fff; max-width: 16ch; line-height: 1.05; letter-spacing:-0.02em; }
.hero p.lead { color: rgba(255,255,255,.9); max-width: 42ch; margin-top: 1.5rem; font-size: clamp(1.05rem,1.5vw,1.25rem); font-weight: 300; }
.hero .cta-row { margin-top: 2.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn.ghost { color:#fff; border-color: rgba(255,255,255,.65); }
.hero .btn.ghost:hover { background:#fff; color: var(--ink); border-color:#fff; }

.reveal-up { opacity:0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.reveal-up.d1{animation-delay:.1s}.reveal-up.d2{animation-delay:.24s}.reveal-up.d3{animation-delay:.38s}.reveal-up.d4{animation-delay:.5s}
@keyframes rise { to { opacity:1; transform: translateY(0); } }

/* ============ SECTION SHELL ============ */
section { padding-block: clamp(4rem, 8vw, 7rem); }
.sec-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); font-weight: 500; }
.sec-head p { color: var(--ink-soft); margin-top: 1rem; }

/* scroll reveal for in-page sections */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ FEATURED WORKS GRID ============ */
.works { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2vw,1.75rem); }
.work { display:block; cursor: zoom-in; color: inherit; }
/* tiles that open the lightbox are <button> - strip default button chrome */
button.work, button.g-item { font: inherit; color: inherit; background: transparent; border: 0; margin: 0; padding: 0; width: 100%; display: block; text-align: start; }
.work .ph { aspect-ratio: 4/5; overflow:hidden; background: var(--hair); }
.work .ph img { width:100%; height:100%; object-fit:cover; transition: transform 1.3s var(--ease); }
.work:hover .ph img { transform: scale(1.06); }
.work h3 { font-size: 1.05rem; font-weight: 500; margin-top: 1rem; }
.work span { font-size: .82rem; color: var(--ink-mute); letter-spacing: .04em; }
@media (max-width: 820px){ .works { grid-template-columns: repeat(2,1fr); gap: 1.25rem; } }

/* ============ ALTERNATING IMAGE + TEXT (techniques / workshops) ============ */
.feature-wrap { max-width: var(--maxw); margin-inline:auto; padding: clamp(3rem,6vw,5rem) var(--gutter); }
.feature { display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap: clamp(2rem,6vw,5.5rem); }
.feature .media { aspect-ratio: 5/4; overflow:hidden; background: var(--hair); }
.feature .media img { width:100%; height:100%; object-fit:cover; transition: transform 1.4s var(--ease); }
.feature:hover .media img { transform: scale(1.04); }
.feature .body h2 { font-size: clamp(1.7rem,3.2vw,2.6rem); font-weight: 500; }
.feature .body p { color: var(--ink-soft); margin-top: 1.1rem; max-width: 46ch; }
.feature .body .btn { margin-top: 1.75rem; }
.feature.flip .media { order: 2; }
.band-2 { background: var(--bg-2); }
@media (max-width: 820px){ .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .media{ order:0; } }

/* ============ COMMISSION / CTA BAND ============ */
.band { background: var(--bg-2); text-align:center; }
.band h2 { font-size: clamp(1.7rem,3.4vw,2.6rem); font-weight:500; max-width: 20ch; margin: 0 auto; }
.band p { color: var(--ink-soft); max-width: 48ch; margin: 1.1rem auto 2rem; }

/* ============ TESTIMONIAL ============ */
.quote-sec { background: var(--bg-dark); color:#fff; }
.quote { text-align:center; }
.quote .mark { font-family: var(--sign); font-size: 4rem; color: var(--gold); line-height:0; }
.quote blockquote { font-family: var(--sign); color:#fff; font-size: clamp(1.4rem,2.8vw,2.1rem); font-weight: 400; font-style: italic; line-height:1.5; max-width: 26ch; margin: 1.5rem auto 0; }
.quote cite { display:block; margin-top: 1.5rem; font-family: var(--sans); font-style: normal; font-size: .82rem; letter-spacing: .14em; color: rgba(255,255,255,.55); }

/* ============ TESTIMONIAL BOXES ============ */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2vw,1.5rem); margin-top: clamp(2.5rem,5vw,3.5rem); }
.t-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); padding: clamp(1.5rem,2.5vw,2rem); display: flex; flex-direction: column; gap: 1rem; text-align: start; }
.t-card .mark { font-family: var(--sign); font-size: 2.5rem; color: var(--gold); line-height: .5; }
.t-card blockquote { font-family: var(--sign); font-style: italic; font-size: 1.15rem; line-height: 1.55; color: #fff; margin: 0; }
.t-card cite { font-style: normal; font-size: .76rem; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-top: auto; }
@media (max-width: 820px){ .testimonials { grid-template-columns: 1fr; } }

/* ============ ARTIST BIO ============ */
.bio { display:grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem,6vw,5rem); align-items:center; }
.bio .media { aspect-ratio: 4/5; overflow:hidden; background: var(--hair); }
.bio .media img { width:100%; height:100%; object-fit:cover; }
.bio h2 { font-size: clamp(1.7rem,3.4vw,2.6rem); font-weight:500; }
.bio p { color: var(--ink-soft); margin-top: 1.2rem; max-width: 50ch; }
.bio .sig { font-family: var(--sign); font-style: italic; font-size: 2rem; margin-top: 1.75rem; color: var(--ink); }
.bio .btn { margin-top: 1.5rem; }
@media (max-width: 820px){ .bio { grid-template-columns: 1fr; } }

/* ============ SOCIAL FEED STRIP ============ */
.social { text-align:center; }
.social h2 { font-size:clamp(1.6rem,3.2vw,2.4rem); font-weight:500; }
.social-grid { display:grid; grid-template-columns: repeat(6,1fr); gap: .5rem; margin-top: 2.5rem; }
.social-grid .g-item { aspect-ratio:1; overflow:hidden; position:relative; background: var(--hair); cursor: zoom-in; }
.social-grid img { width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.social-grid .g-item:hover img { transform: scale(1.08); }
@media (max-width: 820px){ .social-grid { grid-template-columns: repeat(3,1fr); } }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.6); padding-block: clamp(3rem,5vw,4.5rem) 2rem; }
.foot-grid { display:grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; }
.site-footer h4 { font-size: .72rem; letter-spacing: .2em; color: rgba(255,255,255,.62); font-weight: 600; margin-bottom: 1.1rem; }
.site-footer .brand-f { font-family: var(--sign); font-size: 1.5rem; color:#fff; margin-bottom: .75rem; }
.site-footer a { color: rgba(255,255,255,.6); display:block; padding-block: .3rem; }
.site-footer a:hover { color:#fff; }
.site-footer .col p { font-size: .88rem; line-height: 1.7; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.78rem; color: rgba(255,255,255,.62); }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; gap:2rem; } }

/* =================================================================
   NAV DROPDOWN (techniques) - cross-links the 3 technique pages
   ================================================================= */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: .4rem; }
.has-dropdown .caret { width: .7em; height: .7em; opacity: .65; transition: transform var(--t-fast); position: relative; top: -.06em; }
.has-dropdown .caret svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.has-dropdown:hover .caret, .has-dropdown:focus-within .caret { transform: rotate(180deg); opacity: 1; }
.dropdown {
  position: absolute; top: calc(100% + .35rem); inset-inline-end: -.5rem;
  background: var(--bg); border: 1px solid var(--hair); padding: .4rem 0; min-width: 160px;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
  box-shadow: 0 14px 32px rgba(20,18,16,.12); z-index: 60;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .5rem .6rem 1.75rem; font-size: .9rem; white-space: nowrap; color: var(--ink-soft); text-align: start; }
.dropdown a::after { display: none !important; }
.dropdown a:hover, .dropdown a:focus-visible, .dropdown a[aria-current="page"] { background: var(--bg-2); color: var(--accent); }
@media (max-width: 820px) {
  .has-dropdown { position: static; }
  .has-dropdown .caret { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: none; background: transparent; box-shadow: none; padding: 0 0 .75rem; }
  .dropdown a { padding-inline-start: 1.5rem; font-size: 1.05rem; color: var(--ink-mute); }
}

/* =================================================================
   SUB-PAGE STYLES (vitrage / mosaic / fusing / about)
   ================================================================= */
/* page hero - smaller than home hero, light bg, split text + image */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; }
.page-hero h1 em { font-family: var(--sign); font-style: italic; font-weight: 400; color: var(--accent); display: block; font-size: .8em; margin-top: .35rem; }
.page-hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); line-height: 1.7; max-width: 44ch; margin-top: 1.5rem; }
.page-hero .cta-row { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.page-hero-img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--hair); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img-cap { position: absolute; inset-block-end: 1rem; inset-inline-start: 1rem; background: var(--bg); color: var(--ink); font-size: .72rem; letter-spacing: .14em; padding: .4rem .7rem; }
@media (max-width: 820px){ .page-hero-grid { grid-template-columns: 1fr; } }

/* numbered label inside feature bodies (reuses .feature) */
.feature .num { font-size: .74rem; letter-spacing: .22em; color: var(--accent); font-weight: 600; display: block; margin-bottom: 1rem; }
.feature .body h3 { font-size: 1.3rem; font-weight: 500; margin-top: 2rem; margin-bottom: .75rem; }

/* variants - 3 sub-technique cards */
.variants { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.25rem,2.5vw,1.75rem); margin-top: 2.5rem; }
.variant { padding: 1.75rem; background: var(--bg); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: .65rem; transition: border-color var(--t-fast), transform var(--t-fast); }
.variant:hover { border-color: var(--accent); transform: translateY(-3px); }
.variant .vn { font-family: var(--sign); font-style: italic; font-size: 1.4rem; color: var(--accent); }
.variant h3 { font-size: 1.25rem; font-weight: 500; margin: 0; }
.variant p { font-size: .94rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
@media (max-width: 820px){ .variants { grid-template-columns: 1fr; } }

/* mini gallery - 4 across */
.mini-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(.75rem,1.5vw,1rem); margin-top: 2rem; }
.mini-gallery .g-item { aspect-ratio: 1; overflow: hidden; position: relative; background: var(--hair); cursor: zoom-in; }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mini-gallery .g-item:hover img { transform: scale(1.06); }
@media (max-width: 820px){ .mini-gallery { grid-template-columns: repeat(2,1fr); } }

/* dark CTA strip (sub-page bottom) */
.cta-strip { background: var(--bg-dark); color: #fff; text-align: center; padding-block: clamp(3.5rem,7vw,6rem); }
.cta-strip h2 { font-size: clamp(1.85rem,4vw,3rem); font-weight: 500; color: #fff; }
.cta-strip h2 em { font-family: var(--sign); font-style: italic; font-weight: 400; color: var(--gold); }
.cta-strip p { color: rgba(255,255,255,.78); max-width: 50ch; margin: 1.1rem auto 2rem; }
.cta-strip .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-strip .btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* =================================================================
   CONTACT / COMMISSION FORM (custom-piece page)
   ================================================================= */
.form-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.form-aside h2 { font-size: clamp(1.7rem,3.4vw,2.6rem); font-weight: 500; }
.form-aside p { color: var(--ink-soft); margin-top: 1.2rem; max-width: 44ch; }
.form-contact { margin-top: 2.5rem; display: grid; gap: 1rem; }
.form-contact a { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink-soft); }
.form-contact a:hover { color: var(--accent); }
.form-contact .lbl { font-size: .72rem; letter-spacing: .18em; color: var(--ink-mute); display: block; margin-bottom: .15rem; }

.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); font-weight: 500; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 300; color: var(--ink); background: var(--bg);
  border: 1px solid var(--field-bd); border-radius: 0; padding: .85rem 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(179,58,43,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form .btn { justify-self: start; margin-top: .5rem; }
.form-note { font-size: .8rem; color: var(--ink-mute); }
.form-status { font-size: .92rem; margin: 0; min-height: 1.2em; }
.form-status.sending { color: var(--ink-mute); }
.form-status.ok { color: #2E7D32; font-weight: 500; }
.form-status.err { color: var(--accent); font-weight: 500; }
@media (max-width: 820px){ .form-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* =================================================================
   LEGAL (accessibility / privacy long-form)
   ================================================================= */
.legal { padding-block: clamp(3rem,6vw,5rem); max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem,4.5vw,3.4rem); font-weight: 500; margin-bottom: .5rem; line-height: 1.1; }
.legal .updated { font-size: .8rem; letter-spacing: .16em; color: var(--ink-mute); margin-bottom: 2.5rem; display: block; }
.legal h2 { font-size: 1.5rem; margin-top: 3rem; margin-bottom: 1rem; font-weight: 500; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: .5rem; font-weight: 500; }
.legal p, .legal li { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
.legal ul { list-style: disc; padding-inline-start: 1.5rem; margin-bottom: 1.5rem; }
.legal a { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.legal a:hover { color: var(--ink); border-color: var(--ink); }

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; inset-inline-end: 1.5rem; width: 56px; height: 56px;
  border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.35), 0 4px 8px rgba(0,0,0,.15); z-index: 90;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px rgba(37,211,102,.45); }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ============ IMAGE LIGHTBOX (native <dialog>) ============ */
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0;
  border: none; background: rgba(20,18,16,.97); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(20,18,16,.97); }
.lightbox[open] { display: grid; }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: clamp(3rem, 8vw, 5rem) clamp(4.5rem, 10vw, 7rem); }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-cap { position: absolute; inset-block-end: 1.5rem; inset-inline: 0; margin: 0 auto; text-align: center; font-size: .82rem; letter-spacing: .18em; color: rgba(255,255,255,.7); padding-inline: 1rem; }
.lightbox-counter { position: absolute; inset-block-start: 1.5rem; inset-inline-start: 1.5rem; font-family: var(--sign); font-style: italic; font-size: .9rem; color: rgba(255,255,255,.6); }
.lightbox button { position: absolute; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,.1); border-color: #fff; }
.lightbox-close { inset-block-start: 1.5rem; inset-inline-end: 1.5rem; font-size: 1.5rem; line-height: 1; }
.lightbox-prev, .lightbox-next { inset-block-start: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { inset-inline-start: 1.5rem; }
.lightbox-next { inset-inline-end: 1.5rem; }
@media (max-width: 600px) {
  .lightbox figure { padding: clamp(3rem, 8vw, 5rem) 1rem; }
  .lightbox-prev, .lightbox-next { inset-block-start: auto; inset-block-end: 1.5rem; transform: none; width: 44px; height: 44px; }
  .lightbox-prev:hover, .lightbox-next:hover { transform: scale(1.05); }
  .lightbox-prev { inset-inline-start: 50%; margin-inline-start: -52px; }
  .lightbox-next { inset-inline-end: 50%; margin-inline-end: -52px; }
  .lightbox-cap { inset-block-end: 5rem; }
}
