/* ============================================================
   Slate & Reflect — tktx-nextday.com
   Palette: primary #78716C · secondary #92400E · accent #D97706
            background #FAF5F2 · foreground #0F172A
   Fonts: display "Kode Mono", body "Hubot Sans", mono "Victor Mono"
   ============================================================ */

:root {
  --bg:        #FAF5F2;
  --paper:     #FFFFFF;
  --paper-2:   #F3ECE6;
  --paper-3:   #EAE0D8;
  --ink:       #0F172A;
  --body:      #3B3A38;
  --muted:     #6F675F;
  --line:      #E2D7CD;
  --line-2:    #D6C8BB;
  --primary:   #78716C;   /* pebble grey — structural */
  --primary-d: #57534E;
  --walnut:    #92400E;   /* walnut — structural */
  --walnut-d:  #7A350B;
  --accent:    #D97706;   /* ochre — THE ONLY accent */
  --accent-d:  #B45E04;
  --accent-soft:#FBEAD3;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --measure:   65ch;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 10px 30px -12px rgba(15,23,42,.18), 0 4px 10px -6px rgba(15,23,42,.10);
  --shadow-lg: 0 30px 70px -28px rgba(15,23,42,.32), 0 10px 26px -14px rgba(15,23,42,.16);

  --font-display: "Kode Mono", ui-monospace, "Cascadia Mono", monospace;
  --font-body: "Hubot Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Victor Mono", ui-monospace, "Cascadia Mono", 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;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* layered warm background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 88% -8%, rgba(217,119,6,.07), transparent 60%),
    radial-gradient(800px 700px at -6% 12%, rgba(120,113,108,.10), transparent 58%),
    radial-gradient(1100px 900px at 50% 120%, rgba(146,64,14,.05), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(120,113,108,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,113,108,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 85%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 85%);
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

::selection { background: var(--accent-soft); color: var(--ink); }

/* focus rings — full, always visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; color:#fff; }

/* ---------- layout ---------- */
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.measure { max-width: var(--measure); }

section { position: relative; }
.section { padding-block: 128px; }
.section-sm { padding-block: 88px; }
@media (max-width: 760px){
  .section { padding-block: 80px; }
  .section-sm { padding-block: 56px; }
}

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--walnut);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--walnut);
  opacity: .6;
}

h1,h2,h3,h4 { color: var(--ink); font-weight: 600; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
h1.display { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2.display { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; }
h3.display { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.16; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  line-height: 1.66;
  max-width: 60ch;
}

em, .ital { font-style: italic; }

.kicker-num {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .005em;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform .16s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(217,119,6,.6);
}
.btn-primary:hover { background: var(--accent-d); color:#fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(217,119,6,.6); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--primary); color: var(--ink); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce){
  .btn:hover { transform: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250,245,242,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--ink), #2a3344);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  flex: none;
}
.brand-mark span {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  font-size: 17px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-name b { color: var(--accent); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active { color: var(--accent-d); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink); display: block; }
.nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left:0; width:18px; height:2px; background: var(--ink); }
.nav-toggle span::before { top:-6px; } .nav-toggle span::after { top:6px; }

@media (max-width: 880px){
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px 6vw 22px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { padding-top: 76px; padding-bottom: 96px; }
@media (max-width:760px){ .hero{ padding-top: 44px; padding-bottom: 64px; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
@media (max-width: 940px){
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { margin: 0 0 22px; max-width: 14ch; }
.hero h1 .text-primary, .hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 30px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--primary-d);
}
.hero-media { position: relative; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--paper-3);
  aspect-ratio: 7 / 6;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,23,42,.16));
}
.hero-badge {
  position: absolute;
  left: -18px; bottom: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 13px;
  z-index: 3;
  max-width: 84%;
}
@media (max-width: 480px){ .hero-badge{ left: 8px; } }
.hero-badge .dot {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft);
  display: grid; place-items: center; flex: none;
}
.hero-badge .dot svg { width: 20px; height: 20px; color: var(--accent-d); }
.hero-badge b { display:block; font-family: var(--font-display); color: var(--ink); font-size: 15px; }
.hero-badge > span > span { font-size: 13px; color: var(--muted); }

/* ---------- stat strip ---------- */
.stat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(243,236,230,.5));
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 760px){ .stat-row { grid-template-columns: repeat(2,1fr); } }
.stat {
  padding: 40px 30px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
@media (max-width: 760px){
  .stat { padding: 30px 22px; }
  .stat:nth-child(2){ border-right: none; }
  .stat:nth-child(1),.stat:nth-child(2){ border-bottom: 1px solid var(--line); }
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat .lbl {
  margin-top: 11px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- section heading block ---------- */
.sec-head { max-width: 60ch; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 0 0 16px; }
.sec-head p { margin: 0; }

/* ---------- pillars (2-col asymmetric, NOT 3 equal) ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 820px){ .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
@media (prefers-reduced-motion: reduce){ .pillar:hover{ transform:none; } }
.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent-d);
  letter-spacing: .04em;
}
.pillar h3 { margin: 16px 0 12px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }
.pillar p { margin: 0 0 20px; color: var(--body); }
.pillar ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.pillar li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--body); }
.pillar li svg { width: 18px; height: 18px; color: var(--accent-d); flex: none; margin-top: 3px; }
.pillar .pl-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--walnut);
}
.pillar .pl-icon svg { width: 24px; height: 24px; }
.pillar-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--accent-d);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.pillar-link:hover { color: var(--accent); gap: 11px; }
.pillar-link svg { width: 15px; height: 15px; transition: transform .2s; }

/* ---------- approach (offset feature, full-bleed band) ---------- */
.band {
  background:
    linear-gradient(180deg, rgba(120,113,108,.06), rgba(146,64,14,.04)),
    var(--paper);
  border-block: 1px solid var(--line);
}
.approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px){ .approach-grid { grid-template-columns: 1fr; gap: 40px; } }
.approach-list { display: grid; gap: 4px; }
.approach-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px 4px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.approach-item:first-child { border-top: none; }
.approach-item .idx {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  width: 56px;
}
.approach-item h3 { margin: 0 0 8px; font-size: 1.3rem; }
.approach-item p { margin: 0; color: var(--body); max-width: 52ch; }

/* ---------- zigzag feature ---------- */
.zig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.zig + .zig { margin-top: clamp(72px, 9vw, 120px); }
@media (max-width: 860px){ .zig { grid-template-columns: 1fr; gap: 34px; } }
.zig.rev .zig-media { order: -1; }
@media (max-width: 860px){ .zig.rev .zig-media { order: 0; } }
.zig-fig {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4;
  background: var(--paper-3);
}
.zig-fig img { width:100%; height:100%; object-fit: cover; }
.zig h2 { margin: 0 0 18px; }
.zig p { margin: 0 0 18px; color: var(--body); max-width: 56ch; }
.zig .mini-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.zig .mini-list li { display:flex; gap: 12px; align-items: flex-start; }
.zig .mini-list svg { width: 20px; height: 20px; color: var(--accent-d); flex:none; margin-top: 2px; }
.zig .mini-list b { color: var(--ink); font-weight: 600; }

/* ---------- resources blogroll ---------- */
.res-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  margin-top: 52px;
}
@media (max-width: 880px){ .res-grid { grid-template-columns: 1fr; } }
.res-feature {
  background: var(--ink);
  color: #E8E2DB;
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  position: relative;
  overflow: hidden;
}
.res-feature::before {
  content:"";
  position:absolute; right:-80px; top:-80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,.28), transparent 70%);
}
.res-feature .eyebrow { color: var(--accent); }
.res-feature .eyebrow::before { background: var(--accent); }
.res-feature h3 { color: #fff; font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 14px; max-width: 22ch; }
.res-feature p { color: #C9C1B8; margin: 0 0 24px; max-width: 46ch; }
.res-list { display: grid; gap: 0; }
.res-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.res-link + .res-link { margin-top: 12px; }
.res-link:hover { transform: translateX(4px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
@media (prefers-reduced-motion: reduce){ .res-link:hover{ transform:none; } }
.res-link .rdot {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-d);
  display: grid; place-items:center; flex:none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.res-link .rtext b { display:block; font-weight: 600; font-size: 16px; color: var(--ink); }
.res-link .rtext span { font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .02em; }
.res-link .rarrow { color: var(--primary); }
.res-link:hover .rarrow { color: var(--accent-d); }
.res-link .rarrow svg { width: 18px; height: 18px; }

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
@media (max-width: 880px){ .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote.lift { transform: translateY(-18px); }
@media (max-width: 880px){ .quote.lift{ transform:none; } }
.quote .qmark { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); line-height: .6; height: 26px; }
.quote blockquote { margin: 0; }
.quote p { color: var(--body); font-size: 16.5px; line-height: 1.6; margin: 18px 0 24px; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding-top: 18px; }
.quote .who .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--walnut));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; flex:none;
}
.quote .who b { display:block; color: var(--ink); font-size: 15px; }
.quote .who > span > span { font-size: 13px; color: var(--muted); font-family: var(--font-mono); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px,5vw,64px); align-items: start; }
@media (max-width: 860px){ .faq-grid{ grid-template-columns: 1fr; gap: 30px; } }
.faq-list { display: grid; gap: 0; }
details.faq {
  border-top: 1px solid var(--line-2);
  padding: 6px 0;
}
details.faq:last-child { border-bottom: 1px solid var(--line-2); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.4rem; color: var(--accent-d);
  transition: transform .2s ease;
}
details.faq[open] summary::after { content: "\2013"; }
details.faq .faq-a { padding: 0 30px 24px 0; color: var(--body); margin: 0; max-width: 60ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--ink), #1c2436 60%, #25201b);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content:""; position:absolute; left:-60px; bottom:-80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,.3), transparent 70%);
}
.cta-band .inner { position: relative; max-width: 60ch; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-band h2 { color: #fff; margin: 0 0 18px; }
.cta-band p { color: #C9C1B8; margin: 0 0 30px; max-width: 50ch; }

/* ---------- footer ---------- */
.site-footer {
  background: #14110E;
  color: #B9B1A8;
  padding: 78px 0 36px;
  margin-top: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px){ .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand-name { color: #fff; }
.foot-about { margin: 18px 0 22px; color: #948C82; font-size: 14.5px; max-width: 38ch; line-height: 1.6; }
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #6F665C; margin: 0 0 18px; font-weight: 600;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-col a { color: #B9B1A8; text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: #786F65;
  font-family: var(--font-mono); letter-spacing: .02em;
}
.foot-bottom a { color: #786F65; text-decoration: none; }
.foot-bottom a:hover { color: var(--accent); }

/* ---------- generic page header ---------- */
.page-hero { padding: 84px 0 24px; }
.page-hero .eyebrow { color: var(--walnut); }
.page-hero h1 { margin: 0 0 18px; max-width: 18ch; }
.page-hero p { max-width: 60ch; }

/* ---------- about / team ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,68px); align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 36px; } }
.about-fig { border-radius: var(--radius-lg); overflow: hidden; border:1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--paper-3); }
.about-fig img { width:100%; height:100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 620px){ .values-grid { grid-template-columns: 1fr; } }
.value {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px;
}
.value h4 { margin: 6px 0 8px; font-family: var(--font-display); font-size: 1.05rem; }
.value p { margin: 0; font-size: 15px; color: var(--body); }
.value .vn { font-family: var(--font-mono); font-size: 12px; color: var(--accent-d); letter-spacing: .04em; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 760px){ .team-grid { grid-template-columns: 1fr; } }
.member {
  background: var(--paper); border:1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.member .av {
  width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(145deg, var(--primary), var(--walnut));
  color:#fff; display:grid; place-items:center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  margin-bottom: 18px;
}
.member h3 { margin: 0 0 4px; font-size: 1.15rem; font-family: var(--font-display); }
.member .role { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-d); letter-spacing: .03em; margin-bottom: 14px; }
.member p { margin: 0; font-size: 15px; color: var(--body); }

/* ---------- services page ---------- */
.svc-list { display: grid; gap: 22px; margin-top: 52px; }
.svc {
  display: grid; grid-template-columns: auto 1fr; gap: 30px;
  background: var(--paper); border:1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow-sm);
  align-items: start;
}
@media (max-width: 680px){ .svc { grid-template-columns: 1fr; gap: 20px; padding: 30px 26px; } }
.svc .svc-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(150deg, var(--paper-2), var(--paper-3));
  border:1px solid var(--line); color: var(--walnut);
  display:grid; place-items:center;
}
.svc .svc-icon svg { width: 30px; height: 30px; }
.svc h3 { margin: 6px 0 8px; font-family: var(--font-display); font-size: 1.4rem; }
.svc .svc-lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-d); }
.svc p { margin: 10px 0 18px; color: var(--body); max-width: 62ch; }
.svc ul { list-style:none; margin:0 0 20px; padding:0; display:grid; gap:10px; }
.svc li { display:flex; gap:11px; align-items:flex-start; font-size:15.5px; }
.svc li svg { width:18px; height:18px; color: var(--accent-d); flex:none; margin-top:3px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,60px); align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-info .ci-item { display:flex; gap:16px; align-items:flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-info .ci-item:first-of-type { border-top: none; }
.contact-info .ci-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-d);
  display:grid; place-items:center; flex:none;
}
.contact-info .ci-ic svg { width: 20px; height: 20px; }
.contact-info b { display:block; color: var(--ink); font-size: 15px; margin-bottom: 3px; font-family: var(--font-display); }
.contact-info a, .contact-info span { color: var(--body); font-size: 15px; text-decoration: none; }
.contact-info a:hover { color: var(--accent-d); }

.form-card {
  background: var(--paper); border:1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-md);
}
@media (max-width:520px){ .form-card{ padding: 28px 22px; } }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 9px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(217,119,6,.18);
}
.field input::placeholder, .field textarea::placeholder { color: #A99E92; }
.form-card .btn-primary { width: 100%; padding: 16px; font-size: 16px; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; font-family: var(--font-mono); letter-spacing: .02em; }

/* ---------- article ---------- */
.article-hero { padding: 80px 0 36px; }
.article-meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--accent-d); margin-bottom: 18px; }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 22px; max-width: 22ch; }
.article-hero .excerpt { font-size: 1.15rem; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.article-body { max-width: 70ch; margin-inline: auto; font-size: 18px; }
.article-body[dir="rtl"] { text-align: right; }
.article-body p { margin: 0 0 22px; }
.article-body h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 48px 0 18px; line-height: 1.16; letter-spacing: -.01em; }
.article-body h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 36px 0 14px; }
.article-body h4 { font-size: 1.1rem; margin: 28px 0 12px; }
.article-body img { border-radius: var(--radius); margin: 30px 0; border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: 100%; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 26px; }
.article-body[dir="rtl"] ul, .article-body[dir="rtl"] ol { padding-left: 0; padding-right: 26px; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: var(--accent-d); font-weight: 600; }
.article-body a:hover { color: var(--accent); }
.article-body strong, .article-body b { color: var(--ink); }
.article-body blockquote {
  margin: 28px 0; padding: 18px 26px;
  border-left: 3px solid var(--accent);
  background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--body); font-style: italic;
}
.article-body table { width:100%; border-collapse: collapse; margin: 26px 0; font-size: 15.5px; }
.article-body th, .article-body td { border:1px solid var(--line-2); padding: 11px 14px; text-align: left; }
.article-body th { background: var(--paper-2); font-family: var(--font-display); font-weight: 600; }
.article-back {
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-d);
  text-decoration: none; margin-bottom: 28px;
}
.article-back svg { width: 15px; height: 15px; transform: scaleX(-1); }
.article-back:hover { gap: 12px; color: var(--accent); }

/* article footer source */
.article-source {
  margin-top: 44px; padding: 26px 28px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.article-source .eyebrow { margin-bottom: 12px; }
.article-source a { font-weight: 600; }

/* related */
.related { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 760px){ .related { grid-template-columns: 1fr; } }
.rel-card {
  background: var(--paper); border:1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px; text-decoration: none;
  display:block; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
@media (prefers-reduced-motion: reduce){ .rel-card:hover{ transform:none; } }
.rel-card .rc-date { font-family: var(--font-mono); font-size: 12px; color: var(--accent-d); }
.rel-card h4 { margin: 10px 0 8px; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.rel-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); will-change: opacity, transform; }
.reveal.from-left { transform: translateX(-24px); }
.reveal.from-right { transform: translateX(24px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
