/* ============================================================
   Mirelle - quiet-luxury wellbeing publication
   Palette: Plum Vesper & Champagne
   primary #3B1E2E  secondary #7A6A6F  accent #A85A47
   background #F4EDE4  foreground #1A1015
   ============================================================ */

:root {
  --primary: #3B1E2E;
  --primary-deep: #2A1420;
  --secondary: #7A6A6F;
  --accent: #A85A47;       /* rose-gold, the ONE locked accent */
  --accent-deep: #8F4636;
  --bg: #F4EDE4;           /* champagne */
  --bg-tint: #EFE6DA;
  --surface: #FBF7F1;
  --fg: #1A1015;           /* plum-black foreground */
  --fg-soft: #3a2c33;
  --champagne-on-plum: #F4EDE4;

  --line: rgba(59, 30, 46, 0.16);      /* hairline plum dividers */
  --line-strong: rgba(59, 30, 46, 0.28);
  --shadow-plum: rgba(42, 20, 32, 0.14);   /* tinted plum-hued shadow, never black */
  --shadow-plum-lg: rgba(42, 20, 32, 0.20);

  --radius: 14px;          /* ONE radius */

  --font-display: "Rufina", Georgia, "Times New Roman", serif;
  --font-body: "Yaldevi", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Courier Prime", "Courier New", monospace;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

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

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(168, 90, 71, 0.10), transparent 60%),
    radial-gradient(900px 700px at -5% 8%, rgba(59, 30, 46, 0.07), transparent 55%),
    linear-gradient(180deg, #F7F1E9 0%, var(--bg) 38%, #EFE6D9 100%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* cursor-follow rose-gold blob */
.cursor-blob {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(168, 90, 71, 0.16) 0%, rgba(168, 90, 71, 0.07) 40%, transparent 70%);
  filter: blur(8px);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.6s ease;
}
@media (prefers-reduced-motion: reduce) { .cursor-blob { display: none; } }

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

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

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
em.disp, h1 em, h2 em { font-style: italic; color: var(--primary); }

p { margin: 0 0 1.1em; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--accent-deep);
  margin: 0 0 1.1rem;
  display: inline-block;
}

/* kicker: a softer, sentence-case mono label (NOT an uppercase letter-spaced eyebrow) */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
  margin: 0 0 0.7rem;
  display: inline-block;
  position: relative;
  padding-left: 24px;
}
.kicker::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 16px; height: 1px; background: var(--accent);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.92em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s, background 0.3s, color 0.3s;
  line-height: 1;
}
.btn--primary {
  background: var(--accent);            /* CTA fill: rose-gold */
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(168, 90, 71, 0.55), 0 2px 0 rgba(143,70,54,0.4) inset;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(168, 90, 71, 0.6); color:#fff; }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line-strong);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }
.btn--lg { padding: 1.05em 2em; font-size: 1.04rem; }

.btn svg { flex: 0 0 auto; }

:focus-visible {
  outline: 2px solid var(--accent);     /* focus ring: rose-gold */
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(244, 237, 228, 0.78);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -16px var(--shadow-plum); background: rgba(244, 237, 228, 0.92); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.5ch;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .dot { color: var(--accent); }
.brand small {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
  align-self: center;
  margin-left: 0.4ch;
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--fg-soft);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--primary); align-items: center; justify-content: center; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px var(--gutter) 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mobile-nav a { display: block; padding: 12px 2px; color: var(--fg-soft); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.7ch; }
.hero-eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(168,90,71,0.18); }
.hero h1 { margin-bottom: 0.5rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--fg-soft);
  max-width: 34ch;
  margin: 1.1rem 0 1.8rem;
  font-weight: 350;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--secondary); margin-top: 1.3rem; letter-spacing: 0.02em; }

.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 7 / 5;                  /* reserved dimensions, no layout shift */
  box-shadow: 0 36px 70px -28px var(--shadow-plum-lg);
  border: 1px solid var(--line);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(59,30,46,0.06), rgba(59,30,46,0.30));
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(42,20,32,0.78);
  backdrop-filter: blur(6px);
  color: var(--champagne-on-plum);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(244,237,228,0.18);
}
.hero-badge b { color: #fff; font-weight: 400; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-stats .stat { padding: 26px 18px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--primary); line-height: 1; }
.stat .lbl { font-size: 0.86rem; color: var(--secondary); margin-top: 8px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; aspect-ratio: 16 / 10; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(1), .hero-stats .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- section heading ---------- */
.sec-head { max-width: 56ch; margin-bottom: clamp(34px, 4vw, 58px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p.lead { color: var(--fg-soft); font-size: 1.08rem; margin-top: 0.4rem; }

/* ---------- pillar / topic cards ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.topic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 18px 40px -28px var(--shadow-plum);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s, border-color 0.4s;
  position: relative; overflow: hidden;
}
.topic-card::before {
  content:""; position:absolute; left:0; top:0; height:3px; width:0; background:var(--accent); transition:width .5s ease;
}
.topic-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px var(--shadow-plum-lg); border-color: var(--line-strong); }
.topic-card:hover::before { width:100%; }
.ico {
  width: 54px; height: 54px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(168,90,71,0.16), rgba(168,90,71,0.06));
  color: var(--accent-deep);
  border: 1px solid rgba(168,90,71,0.25);
  margin-bottom: 20px;
}
.topic-card h3 { margin-bottom: 0.5rem; }
.topic-card p { color: var(--fg-soft); font-size: 0.98rem; }
.topic-card ul { list-style: none; margin: 16px 0 20px; padding: 0; }
.topic-card li { font-size: 0.92rem; color: var(--fg-soft); padding-left: 24px; position: relative; margin-bottom: 8px; }
.topic-card li::before { content:""; position:absolute; left:0; top:0.62em; width:9px; height:9px; border-radius:50%; border:2px solid var(--accent); }
.card-link { font-family: var(--font-body); font-weight: 600; color: var(--accent-deep); text-decoration: none; display: inline-flex; gap: 0.4ch; align-items: center; font-size: 0.95rem; }
.card-link svg { transition: transform 0.3s; }
.card-link:hover svg { transform: translateX(4px); }

.pillar-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.64rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-deep);
  border: 1px solid rgba(168,90,71,0.4);
  border-radius: 999px; padding: 4px 11px;
}

/* ---------- article cards (insights) ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.article-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px -30px var(--shadow-plum);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -30px var(--shadow-plum-lg); }
.article-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;  /* reserved height */
  background: var(--bg-tint); display: block;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-thumb .pillar-tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(42,20,32,0.74); color: var(--champagne-on-plum);
  border-color: rgba(244,237,228,0.3);
}
.article-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--secondary); letter-spacing: 0.03em; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--secondary); opacity: 0.6; }
.article-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.article-card h3 a { color: var(--primary); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent-deep); }
.excerpt {
  color: var(--fg-soft); font-size: 0.96rem; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.excerpt.expanded { -webkit-line-clamp: unset; line-clamp: unset; }
.article-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.expand-btn {
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-body); font-weight: 600; color: var(--accent-deep);
  font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.4ch;
}
.expand-btn:hover { color: var(--accent); }

/* ---------- inverted plum pull-quote block ---------- */
.inverted {
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(168,90,71,0.18), transparent 60%),
    linear-gradient(165deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--champagne-on-plum);
  position: relative; overflow: hidden;
}
.inverted::before {
  content: "\201C";
  position: absolute; left: clamp(10px, 4vw, 60px); top: -30px;
  font-family: var(--font-display); font-size: 18rem; line-height: 1;
  color: rgba(244,237,228,0.07);
}
.inverted .container { position: relative; z-index: 1; }
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.18;
  color: var(--champagne-on-plum);     /* champagne on plum, 12.8:1 */
  max-width: 22ch;
  font-weight: 400;
}
.pull-quote em { font-style: italic; color: #E9C8B5; }
.pull-byline { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,237,228,0.7); margin-top: 28px; }

/* ---------- approach / steps ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.approach-item { padding: 30px 0 0; border-top: 2px solid var(--primary); }
.approach-item .ico { margin-bottom: 18px; }
.approach-item h3 { margin-bottom: 0.4rem; }
.approach-item p { color: var(--fg-soft); font-size: 0.97rem; }

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: 0 18px 40px -30px var(--shadow-plum);
  display: flex; flex-direction: column;
}
.quote-card .stars { color: var(--accent); margin-bottom: 16px; display: flex; gap: 3px; }
.quote-card blockquote { margin: 0 0 22px; font-size: 1.06rem; color: var(--fg-soft); font-family: var(--font-display); font-style: italic; line-height: 1.45; }
.quote-card .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(150deg, var(--primary), var(--accent-deep));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; flex: 0 0 auto;
}
.who .name { font-weight: 600; color: var(--primary); font-size: 0.96rem; }
.who .ctx { font-family: var(--font-mono); font-size: 0.68rem; color: var(--secondary); letter-spacing: 0.05em; }

/* ---------- resources blogroll ---------- */
.resources { display: grid; gap: 14px; }
.resource-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.resource-row:hover { border-color: var(--accent); transform: translateX(4px); box-shadow: 0 14px 30px -24px var(--shadow-plum); }
.resource-row .rl { min-width: 0; }
.resource-row .rl .rt { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); margin-bottom: 3px; }
.resource-row .rl .ru { font-family: var(--font-mono); font-size: 0.72rem; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.resource-row .arrow { flex: 0 0 auto; color: var(--accent-deep); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .inner {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(168,90,71,0.10), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(46px, 6vw, 78px) clamp(24px, 5vw, 64px);
  box-shadow: 0 30px 70px -40px var(--shadow-plum-lg);
}
.cta-band h2 { max-width: 18ch; margin: 0 auto 0.5rem; }
.cta-band p { color: var(--fg-soft); max-width: 46ch; margin: 0 auto 1.8rem; }

/* ---------- footer ---------- */
.site-footer {
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(168,90,71,0.10), transparent 60%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--champagne-on-plum);
  padding: clamp(56px, 7vw, 90px) 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(244,237,228,0.6); }
.footer-about { color: rgba(244,237,228,0.78); font-size: 0.95rem; margin: 16px 0 20px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 400; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(244,237,228,0.78); text-decoration: none; font-size: 0.95rem; transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.footer-contact a { color: #E9C8B5; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px;
  border-top: 1px solid rgba(244,237,228,0.16);
  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.72rem; color: rgba(244,237,228,0.6); letter-spacing: 0.03em; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(244,237,228,0.22);
  display: inline-flex; align-items: center; justify-content: center; color: rgba(244,237,228,0.85);
  font-family: var(--font-mono); font-size: 0.7rem; text-decoration: none; transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--accent); color: #fff; background: rgba(168,90,71,0.2); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about-col { grid-column: 1 / -1; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 7vw, 104px) 0 clamp(30px, 4vw, 56px); }
.page-hero h1 { max-width: 16ch; }
.page-hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-soft); max-width: 52ch; margin-top: 0.6rem; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; color: var(--secondary); letter-spacing: 0.04em; margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-deep); }

/* ---------- about ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px var(--shadow-plum-lg); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-item { padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.value-item .vnum { font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent-deep); letter-spacing: 0.1em; margin-bottom: 12px; }
.value-item h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.value-item p { color: var(--fg-soft); font-size: 0.94rem; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.team-card { text-align: center; padding: 34px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(150deg, var(--primary), var(--accent-deep)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem;
}
.team-card .role { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-deep); margin: 4px 0 12px; }
.team-card p { color: var(--fg-soft); font-size: 0.94rem; margin: 0; }

@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } .about-figure { order: -1; } }

/* ---------- contact ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-info .info-row { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-row:first-of-type { border-top: 1px solid var(--line); }
.info-row .ico { width: 46px; height: 46px; margin: 0; flex: 0 0 auto; }
.info-row .it h4 { font-size: 1.05rem; margin-bottom: 3px; font-family: var(--font-body); font-weight: 600; color: var(--primary); }
.info-row .it a, .info-row .it p { color: var(--fg-soft); text-decoration: none; font-size: 0.96rem; margin: 0; }
.info-row .it a:hover { color: var(--accent-deep); }
.info-row .it .mono { color: var(--secondary); }

.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 70px -40px var(--shadow-plum-lg);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--secondary); margin-bottom: 9px; }
.field label .req { color: var(--accent-deep); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(168,90,71,0.16); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-family: var(--font-mono); font-size: 0.68rem; color: var(--secondary); margin-top: 6px; }
.thanks {
  display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(168,90,71,0.12), rgba(59,30,46,0.06));
  border: 1px solid rgba(168,90,71,0.3); color: var(--primary); font-size: 0.95rem;
}
.thanks.show { display: block; }

@media (max-width: 820px) { .contact-split { grid-template-columns: 1fr; } }

/* ---------- article page ---------- */
.article-hero { padding: clamp(40px, 5vw, 72px) 0 0; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-hero .pillar-tag { margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18ch; }
.article-byline { font-family: var(--font-mono); font-size: 0.76rem; color: var(--secondary); letter-spacing: 0.03em; margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.article-byline .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--secondary); opacity: 0.6; }
.article-feature {
  margin: clamp(34px, 5vw, 56px) auto; max-width: 1000px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px var(--shadow-plum-lg);
  aspect-ratio: 16 / 9; background: var(--bg-tint);          /* reserved height */
}
.article-feature img { width: 100%; height: 100%; object-fit: cover; }

.article-content { font-size: 1.08rem; line-height: 1.78; color: var(--fg-soft); }
.article-content > p:first-of-type::first-letter {
  font-family: var(--font-display); float: left; font-size: 4.6rem; line-height: 0.8;
  padding: 6px 14px 0 0; color: var(--primary); font-weight: 400;
}
.article-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 1.8em 0 0.5em; color: var(--primary); }
.article-content h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 1.5em 0 0.4em; color: var(--primary); }
.article-content p { margin: 0 0 1.2em; }
.article-content a { color: var(--accent-deep); font-weight: 600; }
.article-content a:hover { color: var(--accent); }
.article-content ul, .article-content ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.article-content li { margin-bottom: 0.5em; }
.article-content li::marker { color: var(--accent); }
.article-content img {
  border-radius: var(--radius); margin: 1.6em 0; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -34px var(--shadow-plum); width: 100%; height: auto;
}
.article-content em { color: var(--primary); font-style: italic; }
.article-content strong { color: var(--primary); font-weight: 600; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.96rem; }
.article-content th, .article-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.article-content th { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); background: var(--bg-tint); }
.article-content section h2 { margin-top: 1.6em; }
.article-content section h3 { font-size: 1.15rem; margin-top: 1.2em; }

.article-tags { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.article-source {
  margin: 40px 0 0; padding: 24px 26px; border-radius: var(--radius);
  background: var(--bg-tint); border: 1px solid var(--line);
}
.article-source .mono { color: var(--accent-deep); display: block; margin-bottom: 8px; }
.article-source a { color: var(--accent-deep); font-weight: 600; }

.article-nav { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal { transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.16, 1.02, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
/* If JS is absent, never hide reveal content */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- hero entrance (CSS-transition driven, no animation ticker) ---------- */
.hero h1 .line > span { display: inline-block; }
/* start (hidden) state only when JS is present and not yet ready */
html.js:not(.hero-ready) .hero h1 .line > span { transform: translateY(115%); }
html.js:not(.hero-ready) [data-hero-in] { opacity: 0; transform: translateY(22px); }
/* transitions to the natural visible state, no JS ticker required */
html.js .hero h1 .line > span { transition: transform 1.05s cubic-bezier(.16, 1.04, .3, 1); }
html.js .hero h1 .line:nth-of-type(2) > span { transition-delay: 0.12s; }
html.js [data-hero-in] { transition: opacity 0.85s ease, transform 0.85s cubic-bezier(.2, .8, .2, 1); }
html.js .hero-copy [data-hero-in]:nth-child(2) { transition-delay: 0.06s; }
html.js .hero-copy [data-hero-in]:nth-child(3) { transition-delay: 0.14s; }
html.js .hero-copy [data-hero-in]:nth-child(4) { transition-delay: 0.22s; }
html.js .hero-figure[data-hero-in] { transition-delay: 0.18s; }
html.js.hero-ready .hero h1 .line > span { transform: translateY(0); }
html.js.hero-ready [data-hero-in] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none !important; }
  [data-hero-in] { opacity: 1 !important; transform: none !important; }
  .article-card:hover, .topic-card:hover, .quote-card:hover, .resource-row:hover { transform: none; }
  * { transition: none !important; animation: none !important; }
}
