/* ============================================================
   שיש וקרמיקה ישראל - גלריית הלוחות
   Editorial / Premium-dark. Duotone: ivory <-> charcoal, gold vein accent.
   ============================================================ */

/* ===== Self-hosted fonts (was Google Fonts) ===== */
/* Alef 400 hebrew */
@font-face{font-family:'Alef';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/alef-400-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
/* Alef 400 latin */
@font-face{font-family:'Alef';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/alef-400-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;}
/* Alef 700 hebrew */
@font-face{font-family:'Alef';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/alef-700-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
/* Alef 700 latin */
@font-face{font-family:'Alef';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/alef-700-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;}
/* Noto Serif Hebrew 300 hebrew */
@font-face{font-family:'Noto Serif Hebrew';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/noto-serif-hebrew-300-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
/* Noto Serif Hebrew 300 latin */
@font-face{font-family:'Noto Serif Hebrew';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/noto-serif-hebrew-300-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;}
/* Noto Serif Hebrew 600 hebrew */
@font-face{font-family:'Noto Serif Hebrew';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/noto-serif-hebrew-600-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
/* Noto Serif Hebrew 600 latin */
@font-face{font-family:'Noto Serif Hebrew';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/noto-serif-hebrew-600-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;}
/* Noto Serif Hebrew 900 hebrew */
@font-face{font-family:'Noto Serif Hebrew';font-style:normal;font-weight:900;font-display:swap;src:url(assets/fonts/noto-serif-hebrew-900-hebrew.woff2) format('woff2');unicode-range:U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;}
/* Noto Serif Hebrew 900 latin */
@font-face{font-family:'Noto Serif Hebrew';font-style:normal;font-weight:900;font-display:swap;src:url(assets/fonts/noto-serif-hebrew-900-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;}

:root {
  --ivory: #F6F1E9;
  --ivory-2: #ECE4D7;
  --char: #15120E;
  --char-2: #221C16;
  --gold: #A87C3D;
  --gold-deep: #8A6430;
  --gold-light: #C79A56;
  --taupe: #7E6F5B;
  --taupe-dark: #5E5446;
  --line: rgba(21, 18, 14, .12);
  --line-light: rgba(246, 241, 233, .18);
  --err: #B23B2E;

  --maxw: 1280px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --serif: "Noto Serif Hebrew", Georgia, "Times New Roman", serif;
  --sans: "Alef", "Segoe UI", Arial, sans-serif;
  --radius: 2px;
  --shadow-slab: 0 18px 50px -18px rgba(21, 18, 14, .45), 0 4px 14px -8px rgba(21, 18, 14, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--char);
  background: var(--ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  background: var(--char); color: var(--ivory); padding: .75rem 1.25rem;
  z-index: 2000; border-radius: var(--radius); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: .9rem;
  letter-spacing: .04em; color: var(--gold-deep); margin-bottom: 1rem;
}
.section-dark .eyebrow { color: var(--gold-light); }

/* ---------- typography ---------- */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 7vw, 6rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.12; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.375rem); line-height: 1.55; color: var(--taupe-dark); font-weight: 400; }
.section-dark .lead { color: rgba(246, 241, 233, .82); }
p { max-width: 62ch; }
.thin { font-weight: 300; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 700; font-size: 1.02rem;
  padding: 1rem 2rem; border-radius: var(--radius);
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
  will-change: transform; text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--char); color: var(--ivory); }
.btn-primary:hover { background: var(--gold); color: var(--char); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--char); }
.btn-gold:hover { background: var(--gold-deep); color: var(--ivory); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1.5px var(--line-light); }
.btn-ghost:hover { background: var(--ivory); color: var(--char); transform: translateY(-2px); }
.btn-text { font-weight: 700; color: var(--gold-deep); display: inline-flex; align-items: center; gap: .4rem; }
.btn-text::after { content: "‹"; font-size: 1.3em; line-height: 0; transition: transform .25s var(--ease); }
.btn-text:hover::after { transform: translateX(-4px); }
.btn-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.header.scrolled { background: var(--char); box-shadow: 0 1px 0 var(--line-light); padding-block: .65rem; }
.brand { display: flex; flex-direction: column; line-height: 1; color: var(--ivory); }
.brand b { font-family: var(--serif); font-weight: 900; font-size: 1.45rem; letter-spacing: -.01em; }
.brand span { font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .22em; color: var(--gold-light); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--ivory); font-weight: 400; font-size: 1rem; position: relative; padding-block: .25rem; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: inline-end; transition: transform .28s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: inline-start; }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header .btn { padding: .65rem 1.4rem; font-size: .95rem; }
.icon-call {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: var(--radius);
  background: rgba(168, 124, 61, .16); color: var(--ivory);
  transition: background-color .25s var(--ease);
}
.icon-call:hover { background: var(--gold); color: var(--char); }
.hamburger { display: none; }
.mobile-nav { display: none; }

/* ============================================================
   HERO (split asymmetric)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid;
  grid-template-columns: 1.1fr .9fr; background: var(--char); isolation: isolate;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--pad) 4rem; color: var(--ivory); z-index: 2;
}
.hero-text .eyebrow { color: var(--gold-light); }
.hero-text h1 { color: var(--ivory); max-width: 14ch; }
.hero-text h1 .accent { color: var(--gold-light); }
.hero-lead { margin-block: 1.75rem 2.5rem; max-width: 40ch; color: rgba(246, 241, 233, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .95rem; color: rgba(246, 241, 233, .72);
}
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex: none; }
.hero-media { position: relative; overflow: hidden; }
.hero-media::after { /* slab base */
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 6px; background: var(--gold); z-index: 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .glaze { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(21,18,14,.55), rgba(21,18,14,0) 45%); }
.scroll-hint {
  position: absolute; inset-inline-start: var(--pad); bottom: 1.75rem; z-index: 4;
  color: rgba(246,241,233,.6); font-size: .82rem; letter-spacing: .15em; writing-mode: vertical-rl;
  display: inline-flex; align-items: center; gap: .75rem;
}
.scroll-hint::after { content: ""; width: 1px; height: 42px; background: rgba(246,241,233,.4); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0%,100% { transform: scaleY(.3); transform-origin: top; opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ============================================================
   S2 - value promise
   ============================================================ */
.promise { background: var(--ivory); }
.promise-head { max-width: 50ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.value { padding-block: 1.5rem; border-top: 2px solid var(--char); }
.value .v-num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--gold); line-height: 1; display: block; margin-bottom: 1rem; }
.value h3 { margin-bottom: .6rem; }
.value p { color: var(--taupe-dark); }

/* ============================================================
   S3 - materials slab gallery
   ============================================================ */
.materials { background: var(--ivory-2); }
.materials-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.slab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.slab {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--char); cursor: zoom-in; box-shadow: var(--shadow-slab);
  border: 0; width: 100%; text-align: start; color: var(--ivory);
  transition: transform .4s var(--ease);
}
.slab img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.slab .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem 1.25rem 1.1rem; background: linear-gradient(0deg, rgba(21,18,14,.85), rgba(21,18,14,0)); }
.slab .cap h3 { color: var(--ivory); font-size: 1.3rem; }
.slab .cap small { color: rgba(246,241,233,.78); font-size: .9rem; font-weight: 400; }
.slab::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 2; }
.slab:hover { transform: translateY(-6px); }
.slab:hover img, .slab:focus-visible img { transform: scale(1.05); }
.slab:hover::before, .slab:focus-visible::before { transform: scaleY(1); }
/* asymmetric heights - standing-slab variation */
.slab.tall { grid-row: span 2; }
.slab-grid { grid-auto-rows: 230px; }
.materials-foot { margin-top: clamp(2rem, 4vw, 3rem); display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }

/* ============================================================
   S4 - sticky stone story
   ============================================================ */
.story { position: relative; background: var(--char); color: var(--ivory); }
.story-bg { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.story-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,14,.6), rgba(21,18,14,.4) 40%, rgba(21,18,14,.85)); }
.story-steps { position: relative; margin-top: -100svh; z-index: 2; }
.story-step { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-inline: var(--pad); max-width: 900px; margin-inline: auto; }
.story-step h2 { color: var(--ivory); max-width: 18ch; }
.story-step p { color: rgba(246,241,233,.85); font-size: clamp(1.15rem, 2vw, 1.5rem); margin-top: 1.25rem; max-width: 46ch; line-height: 1.5; }

/* ============================================================
   S5 - projects editorial spread
   ============================================================ */
.projects { background: var(--ivory); }
.proj-head { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.proj-spread { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1.25rem; }
.proj { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; box-shadow: var(--shadow-slab); background: var(--char); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); aspect-ratio: 3/2; }
.proj.feature { grid-row: span 2; }
.proj.feature img { aspect-ratio: auto; height: 100%; }
.proj:hover img { transform: scale(1.04); }
.proj .tag { position: absolute; inset-block-start: 1rem; inset-inline-start: 1rem; background: var(--char); color: var(--ivory); padding: .4rem 1rem; border-radius: var(--radius); font-size: .85rem; font-weight: 700; }
.proof-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.proof-strip figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-slab); }
.proof-strip img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.proof-strip figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 1rem; background: linear-gradient(0deg, rgba(21,18,14,.8), transparent); color: var(--ivory); font-weight: 700; }

/* testimonial skeleton (hidden until real content) */
.testimonial { margin-top: clamp(2.5rem,5vw,4rem); }
.testimonial blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem,3vw,2.25rem); line-height: 1.35; max-width: 24ch; }
.testimonial cite { display: block; margin-top: 1.25rem; font-family: var(--sans); font-style: normal; font-weight: 700; color: var(--gold-deep); }

/* ============================================================
   S6 - consultation
   ============================================================ */
.consult { background: var(--char-2); color: var(--ivory); overflow: hidden; }
.consult .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.consult-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-slab); }
.consult-media::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 6px; background: var(--gold); }
.consult-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.consult h2 { color: var(--ivory); }
.consult p { color: rgba(246,241,233,.84); margin-top: 1.25rem; }
.consult .btn { margin-top: 2rem; }

/* ============================================================
   S7 - statement
   ============================================================ */
.statement { position: relative; color: var(--ivory); text-align: center; isolation: isolate; }
.statement .bg { position: absolute; inset: 0; z-index: -2; }
.statement .bg img { width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(21,18,14,.72); }
.statement .wrap { padding-block: clamp(5rem, 12vw, 10rem); }
.statement h2 { font-size: clamp(2.5rem, 6.5vw, 5.5rem); color: var(--ivory); max-width: 16ch; margin-inline: auto; }
.statement p { margin: 1.75rem auto 2.5rem; max-width: 40ch; color: rgba(246,241,233,.85); font-size: 1.2rem; }

/* ============================================================
   S8 - lead form + contact
   ============================================================ */
.lead-sec { background: var(--ivory); }
.lead-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: var(--shadow-slab); border-top: 5px solid var(--gold); }
.form-card h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.form-card > p { color: var(--taupe-dark); margin-top: .75rem; }
.field { margin-top: 1.5rem; }
.field label { display: block; font-weight: 700; margin-bottom: .5rem; font-size: .98rem; }
.field input[type=text], .field input[type=tel] {
  width: 100%; padding: .9rem 1rem; font-family: inherit; font-size: 1.05rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--ivory);
  color: var(--char); transition: border-color .2s var(--ease);
}
.field input:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid=true] { border-color: var(--err); background: #fbf1ef; }
.field .err-msg { color: var(--err); font-size: .9rem; margin-top: .4rem; min-height: 1.1rem; display: block; font-weight: 700; }
.field input[type=tel] { direction: ltr; text-align: start; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.consent { display: flex; gap: .65rem; align-items: flex-start; margin-top: 1.25rem; font-size: .92rem; color: var(--taupe-dark); }
.consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--gold-deep); flex: none; }
.form-note { font-size: .85rem; color: var(--taupe); margin-top: 1rem; }
.form-note a { color: var(--gold-deep); text-decoration: underline; }
.submit-btn { width: 100%; justify-content: center; margin-top: 1.5rem; font-size: 1.1rem; padding-block: 1.1rem; }
.submit-btn[disabled] { opacity: .7; cursor: progress; }
.spinner { width: 1.1em; height: 1.1em; border: 2.5px solid rgba(21,18,14,.3); border-top-color: var(--char); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-msg { margin-bottom: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 700; display: none; }
.form-msg.ok { display: block; background: #eef4ec; color: #2e6b3e; border-inline-start: 4px solid #3e8e4f; }
.form-msg.bad { display: block; background: #fbf1ef; color: var(--err); border-inline-start: 4px solid var(--err); }

.contact-info h2 { font-size: clamp(1.75rem,3vw,2.5rem); margin-bottom: 1.5rem; }
.contact-list { display: grid; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ci-icon { width: 2.6rem; height: 2.6rem; flex: none; border-radius: var(--radius); background: var(--char); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; }
.contact-item .ci-icon svg { width: 1.3rem; height: 1.3rem; }
.contact-item b { display: block; font-size: 1.05rem; }
.contact-item a, .contact-item span { color: var(--taupe-dark); }
.contact-item a:hover { color: var(--gold-deep); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.contact-actions .btn { flex: 1 1 auto; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--char); color: rgba(246,241,233,.7); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer .brand { color: var(--ivory); margin-bottom: 1rem; }
.footer-about { max-width: 40ch; font-size: .95rem; }
.footer h3 { font-family: var(--sans); font-weight: 700; color: var(--ivory); margin-bottom: 1rem; font-size: 1rem; }
.footer a { color: rgba(246,241,233,.7); display: inline-block; padding-block: .45rem; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--line-light); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   FLOATING: whatsapp, a11y, cookies
   ============================================================ */
.fab-wa {
  position: fixed; inset-block-end: 1.5rem; inset-inline-end: 1.5rem; z-index: 900;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #1faf54; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(31,175,84,.7); transition: transform .25s var(--ease);
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 2rem; height: 2rem; }
/* lift floating buttons above the cookie banner while it is open */
body.cookie-open .fab-wa, body.cookie-open .a11y-toggle { inset-block-end: calc(var(--cookie-h, 0px) + 1.25rem); }

.a11y-toggle {
  position: fixed; inset-block-end: 1.5rem; inset-inline-start: 1.5rem; z-index: 900;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--char); color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -10px rgba(21,18,14,.7); transition: transform .25s var(--ease);
}
.a11y-toggle:hover { transform: scale(1.08); background: var(--gold-deep); }
.a11y-toggle svg { width: 2rem; height: 2rem; }
.a11y-panel {
  position: fixed; inset-block-end: 6rem; inset-inline-start: 1.5rem; z-index: 950;
  width: min(20rem, calc(100vw - 3rem)); background: #fff; color: var(--char);
  border-radius: 6px; box-shadow: 0 24px 60px -20px rgba(21,18,14,.55); padding: 1.25rem;
  max-height: 75vh; overflow-y: auto; display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }
.a11y-panel h2 button { font-size: 1.5rem; line-height: 1; color: var(--taupe); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.a11y-btn { border: 1.5px solid var(--line); border-radius: var(--radius); padding: .7rem .5rem; font-size: .85rem; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; transition: all .2s var(--ease); background: var(--ivory); }
.a11y-btn:hover { border-color: var(--gold); }
.a11y-btn[aria-pressed=true] { background: var(--char); color: var(--ivory); border-color: var(--char); }
.a11y-btn svg { width: 1.4rem; height: 1.4rem; }
.a11y-reset { grid-column: 1 / -1; background: var(--gold); color: var(--char); border-color: var(--gold); }
.a11y-stmt-link { display: block; text-align: center; margin-top: 1rem; font-size: .85rem; color: var(--gold-deep); text-decoration: underline; }

.cookie {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 800;
  background: var(--char); color: rgba(246,241,233,.9); padding: 1rem var(--pad);
  display: none; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 -8px 30px -12px rgba(0,0,0,.5);
}
.cookie.show { display: flex; }
.cookie p { font-size: .92rem; max-width: 70ch; }
.cookie a { color: var(--gold-light); text-decoration: underline; }
.cookie .btn { padding: .65rem 1.75rem; }

/* ============================================================
   LIGHTBOX (native dialog)
   ============================================================ */
.lightbox { border: none; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(21,18,14,.9); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lightbox figcaption { color: var(--ivory); text-align: center; margin-top: 1rem; font-weight: 700; font-size: 1.1rem; }
.lightbox-close { position: absolute; inset-block-start: -3rem; inset-inline-end: 0; color: var(--ivory); font-size: 2rem; line-height: 1; width: 2.5rem; height: 2.5rem; }

/* ============================================================
   REVEAL motion (variation per section set via data-anim)
   ============================================================ */
[data-anim] { opacity: 0; transition: opacity .8s var(--ease), transform .9s var(--ease); will-change: transform, opacity; }
[data-anim="up"] { transform: translateY(40px); }
[data-anim="side-s"] { transform: translateX(-50px); }
[data-anim="side-e"] { transform: translateX(50px); }
[data-anim="scale"] { transform: scale(.94); }
/* "clip" = rise + grow. NOTE: never use clip-path:inset(...100%) as the hidden state -
   it zeroes the IntersectionObserver intersection rect and the reveal never fires. */
[data-anim="clip"] { transform: translateY(55px) scale(.965); transform-origin: bottom; }
[data-anim="fade"] { transform: none; }
[data-anim].in { opacity: 1; transform: none; }
[data-anim][style*="--d"] { transition-delay: var(--d); }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .scroll-hint::after { animation: none; }
  .slab img, .proj img { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   ACCESSIBILITY MODES (body classes via a11y menu)
   ============================================================ */
body.a11y-contrast { --ivory: #ffffff; --ivory-2: #ffffff; --char: #000000; --taupe: #1a1a1a; --taupe-dark: #000000; --gold-deep: #6b4a14; }
body.a11y-contrast .lead, body.a11y-contrast p { color: #000 !important; }
body.a11y-contrast .section-dark p, body.a11y-contrast .consult p, body.a11y-contrast .story-step p, body.a11y-contrast .footer { color: #fff !important; }
body.a11y-grayscale { filter: grayscale(1); }
body.a11y-links a:not(.btn):not(.brand):not(.slab) { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 700; }
body.a11y-readable, body.a11y-readable * { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: .01em; }
body.a11y-no-anim *, body.a11y-no-anim *::before, body.a11y-no-anim *::after { animation: none !important; transition: none !important; }
body.a11y-no-anim [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
body.a11y-focus :focus { outline: 4px solid #ff7a00 !important; outline-offset: 3px !important; }
body.a11y-focus a:focus, body.a11y-focus button:focus, body.a11y-focus input:focus { background: #fff3e0 !important; }
/* font scaling handled via :root font-size on <html> by JS (data-fontscale) */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .slab-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; color: var(--ivory); }
  .hamburger svg { width: 1.7rem; height: 1.7rem; }
  /* mobile hero: full-bleed image with overlaid, bottom-anchored text (keeps H1+CTA in one viewport) */
  .hero { grid-template-columns: 1fr; min-height: 100vh; min-height: 100svh; position: relative; }
  .hero-media { position: absolute; inset: 0; height: 100%; z-index: 0; }
  .hero-media::after { display: none; }
  .hero .glaze { background: linear-gradient(180deg, rgba(21,18,14,.58) 0%, rgba(21,18,14,.48) 34%, rgba(21,18,14,.66) 60%, rgba(21,18,14,.96) 100%); }
  .hero-text { position: relative; z-index: 2; justify-content: flex-end; padding-top: 5.5rem; padding-bottom: 3rem; }
  .scroll-hint { display: none; }
  .values { grid-template-columns: 1fr; gap: 0; }
  .value { border-top: 2px solid var(--char); }
  .consult .wrap { grid-template-columns: 1fr; }
  .consult-media { order: -1; }
  .lead-grid { grid-template-columns: 1fr; }
  .proj-spread { grid-template-columns: 1fr 1fr; }
  .proj.feature { grid-row: span 1; grid-column: span 2; }
  .proj.feature img { aspect-ratio: 16/9; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .footer-brand-col { grid-column: span 2; }
  /* mobile nav drawer */
  .mobile-nav {
    display: flex; position: fixed; inset: 0; z-index: 1500; background: var(--char);
    flex-direction: column; justify-content: center; gap: 1.25rem; padding: 2rem var(--pad);
    transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .mobile-nav.open { transform: translateX(0); visibility: visible; }
  .mobile-nav a { color: var(--ivory); font-family: var(--serif); font-weight: 300; font-size: 2rem; }
  .mobile-nav a:hover { color: var(--gold-light); }
  .mobile-nav .btn { font-family: var(--sans); font-size: 1.1rem; margin-top: 1rem; }
  .mobile-nav-close { position: absolute; inset-block-start: 1rem; inset-inline-start: calc(var(--pad) - .5rem); color: var(--ivory); font-size: 2.25rem; line-height: 1; width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .slab-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem; grid-auto-rows: auto; scrollbar-width: thin; }
  .slab { flex: 0 0 78%; scroll-snap-align: center; aspect-ratio: 3/4; }
  .slab.tall { grid-row: auto; }
  .proj-spread { grid-template-columns: 1fr; }
  .proj.feature { grid-column: span 1; }
  .proof-strip { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer .footer-brand-col { grid-column: span 1; }
  .footer-bottom { flex-direction: column; }
  .contact-actions { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cookie { flex-direction: column; gap: .75rem; text-align: center; padding: .85rem var(--pad) 1.1rem; }
  .cookie p { font-size: .85rem; }
  .cookie .btn { padding: .6rem 1.5rem; }
}
@media (min-width: 1281px) {
  body { font-size: 18px; }
  .lead { font-size: 1.375rem; }
}
