/* Plainsong — smileufabet.com
   Palette: Rust-Clay & Ecru with Deep-Teal
   primary #7C2D12  secondary #A16207  accent #0D9488
   background #F0EBDE  foreground #450A0A
   Fonts: Baloo 2 (display), Nunito Sans (body), Sono (mono)
   One locked accent: deep teal #0D9488 on every interactive state.
   Rust-clay + ochre are structural only. No second accent.
*/

:root {
  --primary: #7C2D12;
  --primary-deep: #5c2010;
  --secondary: #A16207;
  --secondary-deep: #7a4a05;
  --accent: #0D9488;
  --accent-deep: #0a7068;
  --accent-darker: #075e57;
  --bg: #F0EBDE;
  --bg-warm: #e8e0cd;
  --fg: #450A0A;
  --ink: #450A0A;
  --paper: #FBF8F1;
  --paper-soft: #F6F0E2;
  --line: #ddd2bb;
  --line-soft: #e7ddc8;
  --muted: #6b5547;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --maxw: 1140px;
  --shadow-sm: 0 1px 2px rgba(69,10,10,.05), 0 2px 8px rgba(69,10,10,.05);
  --shadow-md: 0 6px 22px rgba(69,10,10,.08), 0 2px 6px rgba(69,10,10,.05);
  --shadow-lg: 0 18px 50px rgba(69,10,10,.13), 0 6px 16px rgba(69,10,10,.07);

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-mono: "Sono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-deep); text-decoration-color: rgba(13,148,136,.4); text-underline-offset: 3px; }
a:hover { color: var(--accent-darker); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
  display: inline-block;
}

.section { padding: clamp(56px, 9vw, 116px) 0; position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, color .2s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(13,148,136,.28);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13,148,136,.34); }

.btn-ghost {
  background: transparent;
  color: var(--accent-darker);
  border-color: rgba(13,148,136,.42);
}
.btn-ghost:hover { background: rgba(13,148,136,.08); color: var(--accent-darker); border-color: var(--accent); }

.btn-arrow { transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(240,235,222,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(240,235,222,.93); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
  flex: 0 0 auto;
}
.brand .mark svg { width: 19px; height: 19px; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--fg);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:hover { color: var(--accent-darker); background: rgba(13,148,136,.08); }
.nav-links a.active { color: var(--accent-darker); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.nav-cta { margin-left: 8px; padding: 11px 19px; font-size: 15px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; font-size: 17px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px,7vw,76px) 0 clamp(56px,8vw,104px); }
.hero-bg {
  position: absolute; inset: -20% -10% 0;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 50% at 16% 22%, rgba(124,45,18,.16), transparent 62%),
    radial-gradient(50% 55% at 86% 28%, rgba(13,148,136,.16), transparent 64%),
    radial-gradient(60% 60% at 60% 100%, rgba(161,98,7,.13), transparent 68%);
  animation: floatGradient 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes floatGradient {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2.5%,-2%,0) scale(1.06); }
  100% { transform: translate3d(-2%,1.5%,0) scale(1.03); }
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.04;
  margin: 14px 0 18px;
  letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; font-weight: 800; color: var(--primary); }
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 30ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-media { position: relative; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-soft);
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line-soft);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  background: rgba(251,248,241,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 15px;
  box-shadow: var(--shadow-md);
  font-size: 14px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 9px;
  max-width: 230px;
}
.hero-badge .dotline { width: 30px; height: 30px; border-radius: 9px; background: rgba(13,148,136,.14); display: grid; place-items: center; flex: 0 0 auto; }
.hero-badge svg { width: 17px; height: 17px; color: var(--accent-deep); }

/* Curtain reveal */
.curtain { position: absolute; inset: 0; z-index: 5; pointer-events: none; display: flex; }
.curtain span { flex: 1 1 50%; background: var(--bg); }
.curtain span.l { transform-origin: left; }
.curtain span.r { transform-origin: right; }
.js-curtain .curtain span.l { animation: curtainL 1.15s cubic-bezier(.76,0,.24,1) .15s forwards; }
.js-curtain .curtain span.r { animation: curtainR 1.15s cubic-bezier(.76,0,.24,1) .15s forwards; }
@keyframes curtainL { to { transform: scaleX(0); } }
@keyframes curtainR { to { transform: scaleX(0); } }

/* ---------- generic reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- stats ---------- */
.stats-band { background: var(--primary); color: #fbeee6; }
.stats-band .wrap { padding-top: clamp(38px,6vw,60px); padding-bottom: clamp(38px,6vw,60px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 6px 6px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,4vw,40px); line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat .lbl { font-size: 14.5px; color: #f1cdb8; margin-top: 9px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px 14px; } }

/* ---------- section heading ---------- */
.sec-head { max-width: 660px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.sec-head p { font-size: 18px; color: var(--muted); margin: 0; }

/* ---------- service / pillar cards ---------- */
.cards { display: grid; gap: 22px; }
.cards.c2 { grid-template-columns: repeat(2,1fr); }
.cards.c3 { grid-template-columns: repeat(3,1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px;
  background: rgba(13,148,136,.12);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .ico svg { width: 25px; height: 25px; color: var(--accent-deep); }
.card.alt .ico { background: rgba(124,45,18,.1); }
.card.alt .ico svg { color: var(--primary); }
.card.alt2 .ico { background: rgba(161,98,7,.13); }
.card.alt2 .ico svg { color: var(--secondary-deep); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0 0 16px; font-size: 16px; }
.card ul { margin: 0 0 18px; padding: 0; list-style: none; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15.5px; color: var(--fg); }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(13,148,136,.18);
  box-shadow: inset 0 0 0 3px var(--accent);
}
.card-link { font-weight: 800; font-size: 15.5px; color: var(--accent-darker); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.card-link:hover { color: var(--accent-darker); }
.card-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.card-link:hover svg { transform: translateX(3px); }

@media (max-width: 920px) { .cards.c3 { grid-template-columns: 1fr; } .cards.c2 { grid-template-columns: 1fr; } }

/* ---------- approach (numbered) ---------- */
.approach-band { background: var(--paper-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step { position: relative; padding-top: 8px; }
.step .n { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--accent-deep); letter-spacing: .1em; }
.step h3 { font-size: 21px; margin: 12px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.step::before { content: ""; display: block; width: 42px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 16px; opacity: .85; }
@media (max-width: 820px) { .approach-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 11; background: var(--paper-soft);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(26px,3.6vw,38px); }
.split-copy p { color: var(--muted); font-size: 17.5px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 26px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 13px; font-size: 16.5px; color: var(--fg); }
.checklist li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--accent-deep); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* ---------- blogroll / resources ---------- */
.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  text-decoration: none; color: inherit;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); color: inherit; }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 20px 21px 22px; display: flex; flex-direction: column; flex: 1; }
.post-kicker { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary-deep); margin-bottom: 10px; }
.post-card h3 { font-size: 19px; line-height: 1.2; margin-bottom: 10px; }
.post-excerpt {
  color: var(--muted); font-size: 15px; margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono); }
.post-more { color: var(--accent-darker); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.post-more svg { width: 15px; height: 15px; transition: transform .25s ease; }
.post-card:hover .post-more svg { transform: translateX(3px); }
@media (max-width: 920px) { .posts { grid-template-columns: 1fr; } }

/* ---------- resources blogroll list ---------- */
.resources {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.resources h3 { font-size: 20px; margin-bottom: 4px; }
.resources .rdesc { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.resource-list { list-style: none; margin: 0; padding: 0; }
.resource-list li { border-top: 1px solid var(--line-soft); }
.resource-list li:first-child { border-top: 0; }
.resource-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 4px; text-decoration: none; color: var(--fg); font-weight: 700;
  transition: color .2s ease, padding .2s ease;
}
.resource-list a:hover { color: var(--accent-darker); padding-left: 8px; }
.resource-list .rhost { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); font-weight: 600; flex: 0 0 auto; }
.resource-list a svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--accent-deep); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); position: relative;
}
.quote .qmark { font-family: var(--font-display); font-size: 56px; line-height: .6; color: rgba(13,148,136,.26); height: 26px; display: block; }
.quote p { font-size: 16.5px; color: var(--fg); margin: 8px 0 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex: 0 0 auto; }
.quote .who b { display: block; font-weight: 800; font-size: 15.5px; color: var(--ink); }
.quote .who span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 920px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.member { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); text-align: center; }
.member .av { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 16px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.member.t2 .av { background: var(--primary); }
.member.t3 .av { background: var(--secondary); }
.member h3 { font-size: 19px; margin-bottom: 3px; }
.member .role { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--accent-deep); text-transform: uppercase; margin-bottom: 12px; }
.member p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 920px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--accent-deep); color: #eafaf7; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 12% 10%, rgba(255,255,255,.10), transparent 60%),
              radial-gradient(46% 70% at 92% 100%, rgba(124,45,18,.30), transparent 62%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(28px,4.2vw,44px); margin-bottom: 14px; }
.cta-inner p { color: #cdeee9; font-size: 18px; margin: 0 0 28px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-darker); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: #f4fffd; color: var(--accent-darker); }

/* ---------- forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 800; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--fg);
  background: var(--paper-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9a8472; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13,148,136,.16);
}
.field textarea { min-height: 138px; resize: vertical; line-height: 1.6; }
.form-card .btn-primary { width: 100%; justify-content: center; font-size: 17px; padding: 16px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- contact info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(13,148,136,.12); display: grid; place-items: center; flex: 0 0 auto; }
.info-list .ico svg { width: 21px; height: 21px; color: var(--accent-deep); }
.info-list .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-list .v { font-weight: 700; font-size: 16.5px; color: var(--ink); }
.info-list .v a { color: var(--ink); text-decoration: none; }
.info-list .v a:hover { color: var(--accent-darker); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent-deep); transition: transform .25s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- page hero (interior) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px,8vw,96px) 0 clamp(40px,5vw,56px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(44% 70% at 14% 18%, rgba(13,148,136,.14), transparent 60%),
              radial-gradient(40% 64% at 90% 8%, rgba(124,45,18,.13), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px,5vw,56px); letter-spacing: -.025em; margin-bottom: 16px; max-width: 16ch; }
.page-hero p { font-size: clamp(17px,2vw,20px); color: var(--muted); max-width: 56ch; margin: 0; }
.crumbs { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--accent-deep); text-decoration: none; }
.crumbs a:hover { color: var(--accent-darker); }

/* ---------- values list ---------- */
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.value { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.value h3 { font-size: 19px; margin-bottom: 7px; display: flex; align-items: center; gap: 10px; }
.value h3 .d { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.value p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- article ---------- */
.article-head { position: relative; overflow: hidden; padding: clamp(48px,6vw,80px) 0 clamp(28px,3vw,40px); }
.article-head::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 64% at 12% 14%, rgba(13,148,136,.13), transparent 60%),
              radial-gradient(38% 60% at 92% 6%, rgba(161,98,7,.12), transparent 62%);
}
.article-head .wrap { position: relative; z-index: 1; }
.article-head .crumbs { margin-bottom: 16px; }
.article-head h1 { font-size: clamp(30px,4.4vw,48px); max-width: 20ch; margin-bottom: 16px; letter-spacing: -.022em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.article-meta .pill { background: rgba(13,148,136,.12); color: var(--accent-darker); padding: 5px 12px; border-radius: var(--radius-pill); font-weight: 600; letter-spacing: .04em; }
.article-hero-fig {
  margin: clamp(24px,4vw,38px) 0 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 8.5; background: var(--paper-soft);
}
.article-hero-fig img { width: 100%; height: 100%; object-fit: cover; }

.article-body { padding: clamp(36px,5vw,60px) 0 clamp(48px,6vw,80px); }
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.78; color: #3a1414; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { font-size: clamp(24px,3vw,32px); margin: 1.9em 0 .55em; letter-spacing: -.015em; }
.prose h3 { font-size: clamp(20px,2.4vw,24px); margin: 1.6em 0 .5em; }
.prose a { color: var(--accent-darker); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(13,148,136,.45); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong, .prose b { color: var(--primary); font-weight: 800; }
.prose em { color: inherit; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent-deep); font-family: var(--font-mono); font-weight: 600; }
.prose img {
  width: 100%; height: auto; border-radius: var(--radius);
  margin: 1.7em 0; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  aspect-ratio: 1024 / 585; object-fit: cover; background: var(--paper-soft);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); overflow: hidden; }
.prose th { background: var(--primary); color: #fbeee6; text-align: left; padding: 13px 15px; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.prose td { padding: 12px 15px; border-top: 1px solid var(--line-soft); background: var(--paper); }
.prose tr:nth-child(even) td { background: var(--paper-soft); }
.prose section { margin: 0 0 1.3em; }
.prose [itemprop="name"] { font-size: clamp(19px,2.2vw,23px); }
.prose [dir], .prose [lang="he"] { }

.article-cta {
  max-width: 760px; margin: 36px auto 0;
  background: var(--paper-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 30px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.article-cta h3 { font-size: 22px; margin: 0 0 4px; }
.article-cta p { margin: 0; color: var(--muted); font-size: 16px; }

/* related */
.related { background: var(--paper-soft); border-top: 1px solid var(--line-soft); }

/* RTL article support */
.prose.rtl { direction: rtl; text-align: right; }
.prose.rtl ul, .prose.rtl ol { padding-left: 0; padding-right: 1.3em; }
.prose.rtl th { text-align: right; }

/* ---------- footer ---------- */
.site-footer { background: var(--fg); color: #e8d5cb; padding: clamp(52px,7vw,76px) 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .mark { box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.footer-brand p { color: #d3b3a5; font-size: 15.5px; margin: 16px 0 0; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-display); font-size: 15px; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #d6b8aa; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-cta .btn { margin-top: 6px; }
.footer-cta p { color: #d3b3a5; font-size: 15px; margin: 0 0 16px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13.5px; color: #c3a194;
}
.footer-bottom a { color: #d6b8aa; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; }
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 17px; height: 17px; color: #e8d5cb; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.lead { font-size: 19px; color: var(--muted); }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent-deep); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-copy { max-width: none; }
}

/* reduced motion: collapse curtain + gradient loop to static */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none !important; }
  .curtain { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .post-thumb img, .card, .post-card, .btn { transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
