/* ============================================================
   Plainsong Studio — Cocoa & Sage on Cream
   Palette: primary #4A3B30 (cocoa) · secondary #8A9A7B (sage)
            accent #C08A2D (gold, the ONLY accent) · bg #F4EEE2 (cream)
            fg #2A211B (ink)
   Fonts: Alegreya (display) · IBM Plex Sans (body) · Lekton (mono)
   ============================================================ */

:root {
  --cocoa: #4A3B30;
  --cocoa-deep: #382C23;
  --sage: #8A9A7B;
  --sage-soft: #B9C3AC;
  --gold: #C08A2D;
  --gold-deep: #A6741F;
  --cream: #F4EEE2;
  --ink: #2A211B;

  /* warm-grey neutral ramp (single, warm — never cool) */
  --warm-50:  #FBF8F1;
  --warm-100: #F4EEE2;
  --warm-150: #ECE4D4;
  --warm-200: #E2D8C5;
  --warm-300: #CDC0AB;
  --warm-400: #A89A84;
  --warm-500: #7E705E;
  --warm-600: #5C4F40;

  --surface: #FBF8F1;
  --line: rgba(74,59,48,0.14);
  --line-soft: rgba(74,59,48,0.08);

  --body: #4A3B30;
  --muted: #7E705E;

  /* one radius scale */
  --r-card: 13px;
  --r-input: 12px;
  --r-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(42,33,27,0.04), 0 8px 24px rgba(42,33,27,0.06);
  --shadow-lift: 0 2px 6px rgba(42,33,27,0.06), 0 22px 48px rgba(42,33,27,0.12);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Alegreya", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono: "Lekton", ui-monospace, "SFMono-Regular", monospace;
}

* { 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);
  color: var(--body);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* layered background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 88% -8%, rgba(138,154,123,0.16), transparent 60%),
    radial-gradient(760px 520px at -6% 10%, rgba(192,138,45,0.08), transparent 55%),
    radial-gradient(1100px 800px at 50% 116%, rgba(74,59,48,0.06), transparent 60%),
    var(--cream);
}

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

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--cocoa); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }

a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(192,138,45,0.5); transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }
a:hover { text-decoration-color: var(--gold); color: var(--gold-deep); }

::selection { background: rgba(192,138,45,0.25); color: var(--ink); }

/* focus ring — gold, the only accent */
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

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

.skip-link { position: absolute; left: 14px; top: -56px; background: var(--cocoa); color: var(--cream); padding: 10px 18px; border-radius: var(--r-pill); z-index: 200; transition: top .2s var(--ease); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 14px; }

/* mono reflective label */
.mono-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--sage); text-transform: none; }

/* small uppercase eyebrow (used sparingly) */
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm-500); margin: 0 0 14px; display: inline-block; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.98rem; padding: 14px 28px; border-radius: var(--r-pill); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s; line-height: 1; will-change: transform; }
.btn-primary { background: var(--gold); color: #2A1C06; box-shadow: 0 10px 24px rgba(192,138,45,0.28); }
.btn-primary:hover { background: var(--gold-deep); color: #2A1C06; box-shadow: 0 14px 30px rgba(192,138,45,0.34); }
.btn-ghost { background: transparent; color: var(--cocoa); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cocoa); background: rgba(74,59,48,0.04); }
.btn svg { flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244,238,226,0.82); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(244,238,226,0.93); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--cocoa); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-family: var(--font-body); color: var(--cocoa); text-decoration: none; font-weight: 500; font-size: 0.96rem; padding: 9px 15px; border-radius: var(--r-pill); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(74,59,48,0.06); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-pill); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--cocoa); }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 20px 24px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow-soft); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 64px; }
@media (max-width: 860px) { .hero { padding: 56px 0 44px; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--warm-500); background: var(--surface); border: 1px solid var(--line); padding: 7px 15px 7px 11px; border-radius: var(--r-pill); margin-bottom: 22px; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.05rem); line-height: 1.04; letter-spacing: -0.018em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-deep); font-style: italic; }
.hero-sub { font-size: 1.16rem; color: var(--warm-500); max-width: 30ch; margin-bottom: 30px; line-height: 1.55; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { font-family: var(--font-mono); font-size: 0.8rem; color: var(--warm-500); margin-top: 20px; display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--sage); }

.hero-media { position: relative; }
.hero-photo { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line-soft); aspect-ratio: 1024/585; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -18px; bottom: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 18px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 13px; max-width: 250px; }
@media (max-width: 940px) { .hero-badge { left: 12px; } }
.hero-badge .hb-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(138,154,123,0.18); color: var(--cocoa); display: grid; place-items: center; flex: none; }
.hero-badge .hb-v { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--cocoa); line-height: 1.1; }
.hero-badge .hb-l { font-family: var(--font-mono); font-size: 0.72rem; color: var(--warm-500); }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(138,154,123,0.07); overflow: hidden; padding: 16px 0; margin-top: 12px; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track .mq-item { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--cocoa); padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee-track .mq-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 86px 0; }
@media (max-width: 760px) { .section { padding: 60px 0; } }
.section-head { max-width: 620px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.85rem); letter-spacing: -0.018em; margin-bottom: 16px; }
.section-head p { color: var(--warm-500); font-size: 1.08rem; max-width: 56ch; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); padding: 30px 26px; }
.stat .sv { font-family: var(--font-display); font-weight: 700; font-size: 1.85rem; color: var(--cocoa); line-height: 1; margin-bottom: 8px; }
.stat .sl { font-family: var(--font-mono); font-size: 0.8rem; color: var(--warm-500); line-height: 1.4; }

/* services grid (asymmetric) */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.svc-card:nth-child(1) { grid-column: span 7; }
.svc-card:nth-child(2) { grid-column: span 5; }
.svc-card:nth-child(3) { grid-column: span 12; }
@media (max-width: 860px) { .svc-card { grid-column: 1 / -1 !important; } }
.svc-photo { aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.svc-card:nth-child(3) .svc-photo { aspect-ratio: 21/7; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-photo img { transform: scale(1.04); }
.svc-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc-top { display: flex; align-items: center; gap: 13px; }
.svc-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(138,154,123,0.16); color: var(--cocoa); display: grid; place-items: center; flex: none; }
.svc-tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--sage); margin-left: auto; }
.svc-card h3 { font-size: 1.45rem; }
.svc-card .svc-blurb { color: var(--warm-500); font-size: 1rem; margin: 0; }
.svc-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.svc-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--body); }
.svc-points li svg { color: var(--gold-deep); margin-top: 2px; flex: none; }

/* approach */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .approach-grid { grid-template-columns: 1fr; } }
.approach-card { padding: 4px 2px; }
.approach-ico { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(150deg, rgba(74,59,48,0.92), rgba(56,44,35,0.92)); color: var(--cream); display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow-soft); }
.approach-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.approach-card p { color: var(--warm-500); font-size: 1rem; margin: 0; }

/* feature split */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.reverse .feature-media { order: 2; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 34px; } .feature.reverse .feature-media { order: 0; } }
.feature-media { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line-soft); aspect-ratio: 4/3; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fl-ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(138,154,123,0.16); color: var(--cocoa); display: grid; place-items: center; flex: none; }
.feature-list .fl-t { font-family: var(--font-display); font-weight: 600; color: var(--cocoa); font-size: 1.08rem; margin-bottom: 2px; }
.feature-list .fl-d { font-size: 0.95rem; color: var(--warm-500); }

/* testimonials */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .t-grid { grid-template-columns: 1fr; } }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 18px; }
.t-card .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--sage-soft); height: 26px; }
.t-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.45; color: var(--cocoa); }
.t-meta { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--sage), var(--sage-soft)); color: var(--cocoa-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; flex: none; }
.t-name { font-weight: 600; color: var(--cocoa); font-size: 0.97rem; }
.t-ctx { font-family: var(--font-mono); font-size: 0.74rem; color: var(--warm-500); }

/* journal / blogroll */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .journal-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 660px) { .journal-grid { grid-template-columns: 1fr; } }
.j-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; text-decoration: none; }
.j-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.j-photo { aspect-ratio: 16/10; overflow: hidden; background: rgba(138,154,123,0.12); border-bottom: 1px solid var(--line-soft); }
.j-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.j-card:hover .j-photo img { transform: scale(1.05); }
.j-fallback { width:100%; height:100%; display:grid; place-items:center; color: var(--sage); }
.j-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.j-meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--warm-500); display: flex; gap: 10px; align-items: center; }
.j-meta .pillar { color: var(--sage); }
.j-card h3 { font-size: 1.24rem; color: var(--cocoa); line-height: 1.18; }
.j-card .j-ex { color: var(--warm-500); font-size: 0.95rem; margin: 0; }
.j-more { margin-top: auto; font-family: var(--font-body); font-weight: 600; color: var(--gold-deep); font-size: 0.92rem; display: inline-flex; align-items: center; gap: 7px; }
.j-card:hover .j-more svg { transform: translateX(3px); }
.j-more svg { transition: transform .25s var(--ease); }

/* resources blogroll (outbound dofollow) */
.resources { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 32px; box-shadow: var(--shadow-soft); }
.resources h3 { font-size: 1.3rem; margin-bottom: 6px; }
.resources p.rsub { color: var(--warm-500); font-size: 0.98rem; margin-bottom: 18px; }
.res-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.res-list li { border-top: 1px solid var(--line-soft); }
.res-list li:first-child { border-top: 0; }
.res-list a { display: flex; align-items: center; gap: 14px; padding: 15px 8px; text-decoration: none; color: var(--cocoa); transition: background .2s, padding-left .2s var(--ease); border-radius: 8px; }
.res-list a:hover { background: rgba(192,138,45,0.07); padding-left: 14px; }
.res-list .ra-anchor { font-weight: 600; }
.res-list .ra-host { font-family: var(--font-mono); font-size: 0.78rem; color: var(--warm-500); margin-left: auto; }
.res-list .ra-arrow { color: var(--gold-deep); flex: none; }

/* CTA band */
.cta-band { background: linear-gradient(150deg, var(--cocoa) 0%, var(--cocoa-deep) 100%); border-radius: var(--r-card); padding: 64px 56px; position: relative; overflow: hidden; box-shadow: var(--shadow-lift); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(138,154,123,0.28), transparent 70%); }
.cta-band::before { content: ""; position: absolute; left: -60px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(192,138,45,0.18), transparent 70%); }
.cta-inner { position: relative; max-width: 640px; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(244,238,226,0.82); font-size: 1.1rem; margin-bottom: 28px; max-width: 48ch; }
@media (max-width: 660px) { .cta-band { padding: 44px 28px; } }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 24px 4px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--cocoa); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .fq-plus { flex: none; color: var(--gold-deep); transition: transform .3s var(--ease); }
.faq-item.open .fq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--warm-500); margin: 0; max-width: 62ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--cocoa-deep); color: rgba(244,238,226,0.74); margin-top: 0; padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { margin: 16px 0 0; color: rgba(244,238,226,0.62); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-soft); font-weight: 400; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: rgba(244,238,226,0.74); text-decoration: none; font-size: 0.95rem; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(244,238,226,0.14); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-family: var(--font-mono); font-size: 0.78rem; color: rgba(244,238,226,0.5); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(244,238,226,0.2); display: grid; place-items: center; color: rgba(244,238,226,0.74); text-decoration: none; transition: border-color .2s, color .2s; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-aside .ca-item { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-aside .ca-item:first-of-type { border-top: 0; }
.ca-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(138,154,123,0.16); color: var(--cocoa); display: grid; place-items: center; flex: none; }
.ca-l { font-family: var(--font-mono); font-size: 0.74rem; color: var(--warm-500); letter-spacing: 0.04em; margin-bottom: 3px; }
.ca-v { color: var(--cocoa); font-weight: 600; text-decoration: none; }
.ca-v:hover { color: var(--gold-deep); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 36px 34px; box-shadow: var(--shadow-soft); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--cocoa); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-input); padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--warm-400); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,138,45,0.18); }
.field .err { display: none; color: #9B3B1E; font-size: 0.82rem; margin-top: 7px; }
.field.invalid input, .field.invalid textarea { border-color: #9B3B1E; }
.field.invalid .err { display: block; }
.form-thanks { display: none; text-align: center; padding: 18px 8px; }
.form-thanks.show { display: block; }
.form-thanks .ft-ico { width: 60px; height: 60px; border-radius: 50%; background: rgba(138,154,123,0.2); color: var(--cocoa); display: grid; place-items: center; margin: 0 auto 16px; }
.form-thanks h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-thanks p { color: var(--warm-500); margin: 0; }
.btn-submit { width: 100%; justify-content: center; }

/* ---------- article ---------- */
.article-hero { padding: 64px 0 30px; }
.article-hero .crumbs { font-family: var(--font-mono); font-size: 0.8rem; color: var(--warm-500); margin-bottom: 22px; }
.article-hero .crumbs a { color: var(--warm-500); }
.article-hero .crumbs a:hover { color: var(--gold-deep); }
.article-meta { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 0.8rem; color: var(--sage); margin-bottom: 18px; flex-wrap: wrap; }
.article-meta .pill { background: rgba(138,154,123,0.16); color: var(--cocoa); padding: 4px 12px; border-radius: var(--r-pill); }
.article-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.08; max-width: 18ch; margin-bottom: 18px; }
.article-lede { font-size: 1.2rem; color: var(--warm-500); max-width: 60ch; line-height: 1.5; }
.article-cover { margin: 36px 0 8px; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line-soft); aspect-ratio: 1024/585; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body { max-width: 65ch; margin: 0 auto; padding: 40px 28px 20px; line-height: 1.75; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2 { font-size: 1.85rem; margin: 1.8em 0 0.6em; line-height: 1.18; }
.article-body h3 { font-size: 1.35rem; margin: 1.5em 0 0.5em; color: var(--cocoa); }
.article-body a { color: var(--gold-deep); font-weight: 600; }
.article-body strong { color: var(--cocoa); }
.article-body ul, .article-body ol { margin: 0 0 1.35em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5em; }
.article-body img { border-radius: var(--r-card); margin: 1.6em 0; box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft); width: 100%; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--cocoa); }

/* RTL article */
.article-body.rtl { direction: rtl; text-align: right; }
.article-body.rtl ul, .article-body.rtl ol { padding-left: 0; padding-right: 1.3em; }
.article-body.rtl blockquote { border-left: 0; border-right: 3px solid var(--gold); padding: 4px 24px 4px 0; }
.article-hero.rtl h1, .article-hero.rtl .article-lede { direction: rtl; text-align: right; margin-left: auto; }

.article-foot { max-width: 65ch; margin: 30px auto 0; padding: 0 28px; }
.article-source { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-soft); }
.article-source .as-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(138,154,123,0.16); color: var(--cocoa); display: grid; place-items: center; flex: none; }
.article-source .as-l { font-family: var(--font-mono); font-size: 0.74rem; color: var(--warm-500); margin-bottom: 3px; }
.article-source a { font-weight: 600; }

.article-back { margin: 40px auto 0; max-width: 65ch; padding: 0 28px; }

/* page hero (about/services/contact) */
.page-hero { padding: 84px 0 20px; }
.page-hero .eyebrow { color: var(--warm-500); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.06; max-width: 16ch; margin-bottom: 18px; }
.page-hero p { font-size: 1.18rem; color: var(--warm-500); max-width: 56ch; }

/* about strip */
.about-photo { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line-soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-soft); }
.team-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(150deg, var(--sage), var(--sage-soft)); color: var(--cocoa-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.team-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold-deep); margin-bottom: 12px; }
.team-card p { color: var(--warm-500); font-size: 0.95rem; margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 880px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.value-card .vn { font-family: var(--font-mono); font-size: 0.78rem; color: var(--sage); margin-bottom: 12px; }
.value-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.value-card p { color: var(--warm-500); font-size: 0.93rem; margin: 0; }

/* divider rule */
.rule { height: 1px; background: var(--line); margin: 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .svc-card, .j-card, .btn, .hero-photo { transition: none !important; }
}

/* magnetic helper base */
.magnetic { display: inline-flex; }
