:root {
  --bg: #FAF5EC;
  --bg-soft: #F1ECE2;
  --paper: #FFFCF7;
  --ink: #5D573F;
  --ink-soft: #68624B;
  --ink-faint: #7C7762;
  --line: #E2DDD2;
  --accent: #5F6F58;          /* sage green - mark */
  --accent-deep: #9C5F0F;     /* burnt amber - tagline */
  --accent-press: #4C5A46;
  --accent-bar: linear-gradient(90deg, #5F6F58, #5D573F 55%, #9C5F0F);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 14px; }
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 500; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--accent-deep); font-weight: 500; }

.cta-link { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; transition: opacity .2s ease, border-color .2s ease; }
.cta-link:hover { opacity: .6; }
.cta-link .arrow { transition: transform .25s ease; display: inline-block; }
.cta-link:hover .arrow { transform: translateX(4px); }

.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; transition: background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; cursor: pointer; background: var(--paper); }
.btn-pill:hover { background: var(--bg-soft); }
.btn-pill.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-pill.solid:hover { background: var(--accent-press); border-color: var(--accent-press); }
.btn-pill.wide { width: 100%; }

/* ---------- ribbon + header ---------- */
.topbar { height: 4px; background: var(--accent-bar); }

header.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.nav-row { max-width: var(--maxw); margin: 0 auto; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo-lockup { display: inline-flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }

/* ---------- logo: always the submitted full lockup, unaltered ---------- */
.logo-full { display: block; height: 56px; width: auto; flex: none; }
/* header: larger logo so the tagline inside it is easier to read (the logo art itself is untouched) */
header.site-header .logo-full { height: 80px; }
header.site-header .nav-row { padding-top: 12px; padding-bottom: 12px; }
.logo-full.logo-large { height: auto; width: min(400px, 100%); }

/* ---------- the name: short version on the home page ---------- */
section.name-brief { padding: 100px 0; }
.name-brief-grid { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 80px; align-items: center; }
.name-brief h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; margin: 10px 0 22px; }
.name-brief p.body { margin: 0 0 16px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; max-width: 56ch; }
.name-brief .read-more { margin: 26px 0 0; font-size: 15.5px; color: var(--ink); }
.name-brief .read-more a, .story-end a { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .2s ease; }
.name-brief .read-more a:hover, .story-end a:hover { opacity: .65; }
.story-end { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 36px; }
.story-end a { font-size: 15.5px; }

/* ---------- the story behind the name ---------- */
section.story { padding: 112px 0 124px; }
.story-grid { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 92px; align-items: start; }
.story-aside { position: sticky; top: 132px; }
.story-aside .logo-large { width: 100%; }
.story-head h1, .story-head h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.14; font-style: italic; margin: 12px 0 0; max-width: 19ch; }
.chapter { margin-top: 68px; padding-top: 68px; border-top: 1px solid var(--line); max-width: 60ch; }
.chapter p { margin: 0 0 20px; font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); }
.chapter h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin: 0 0 28px; }
.chapter p.lead-line { font-family: 'Fraunces', serif; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.4; color: var(--ink); margin-bottom: 26px; }
.chapter p.pull { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.32; color: var(--accent-deep); margin: 36px 0; }
.chapter p.pull.final { font-size: clamp(28px, 3vw, 38px); margin: 40px 0 0; }
.chapter > :last-child { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 70px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.1; margin: 16px 0 26px; letter-spacing: -0.01em; text-wrap: wrap; }
.hero h1 .ln { display: block; white-space: nowrap; }
@media (max-width: 420px) { .hero h1 { font-size: 32px; } }
@media (max-width: 330px) { .hero h1 { font-size: 28px; } .hero h1 .ln { white-space: normal; } }
.hero p.lead { color: var(--ink-soft); font-size: 17px; max-width: 46ch; margin: 0 0 30px; }

.portrait { position: relative; }
.portrait::before {
  content: ''; position: absolute; inset: -14% -22%; z-index: 0;
  background: radial-gradient(circle at 60% 40%, rgba(95,111,88,.16), rgba(95,111,88,0) 70%);
}
.portrait-frame {
  position: relative; z-index: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(255,252,247,.4);
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}

/* ---------- gallery ribbon: artwork strip with drifting words ---------- */
.ribbon { position: relative; padding: 24px 0; display: flex; align-items: center; overflow: hidden; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ribbon::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, var(--bg-soft) 0, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, var(--bg-soft) 100%); }
.marquee-track { position: relative; z-index: 2; display: flex; width: max-content; animation: scroll-left 75s linear infinite; font-family: 'Fraunces', serif; font-style: italic; font-size: 25px; letter-spacing: .04em; color: var(--ink); white-space: nowrap; text-shadow: 0 0 16px var(--bg), 0 0 6px var(--bg), 0 0 2px var(--bg); }
.marquee-track span { padding: 0 24px; }
.marquee-track span:nth-child(even) { color: var(--accent-deep); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- generic section ---------- */
section.block { padding: 92px 0; }
section.block.alt { background: var(--bg-soft); }
.block h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; margin: 10px 0 0; }
.block p.body { color: var(--ink-soft); font-size: 16px; max-width: 56ch; margin: 20px 0 0; }

/* ---------- about ---------- */
.about-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.badge-row { display: flex; gap: 0; }
.badge-row div { padding: 0 26px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.badge-row div:first-child { border-left: none; padding-left: 0; }

/* ---------- services ---------- */


  position: sticky;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 42px;
  margin-bottom: 30px;
  box-shadow: 0 24px 48px -22px rgba(93,87,63,.28);
  will-change: transform;
}

/* ---------- blog ---------- */
.blog-featured { display: block; margin-top: 36px; }
.blog-thumb { border: 1.5px dashed var(--line); border-radius: 4px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); font-size: 13px; background: var(--bg-soft); }
.blog-featured h3 { font-size: 24px; margin: 10px 0 12px; }
.blog-featured p { color: var(--ink-soft); font-size: 15px; margin: 0 0 16px; max-width: 46ch; }
.blog-list { margin-top: 40px; border-top: 1px solid var(--line); }
.blog-list-item { display: block; padding: 26px 0; border-bottom: 1px solid var(--line); }
.blog-list-item .blog-thumb { aspect-ratio: 1/1; font-size: 11px; }
.blog-list-item h4 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; margin: 4px 0 4px; }
.blog-list-item p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; margin-top: 36px; }
.contact-side p.body { margin: 18px 0 30px; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; max-width: 260px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent;
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink); padding: 6px 2px; outline: none;
  transition: border-color .2s ease;
}
.field select { appearance: auto; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 60px; font-family: 'Inter', sans-serif; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--bg-soft); color: var(--ink); border-top: 1px solid var(--line); padding: 54px 0 30px; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }

.logo-footer { height: 92px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); }

@media (max-width: 860px) {
  .hero-grid, .blog-featured, .contact-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .about-top { flex-direction: column; align-items: flex-start; }
  .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .name-brief-grid { grid-template-columns: 1fr; gap: 38px; }
  .name-brief .logo-large { width: min(300px, 100%); }
  section.name-brief { padding: 70px 0; }
  .story-aside { position: static; }
  .story-aside .logo-large { width: min(300px, 100%); }
  section.story { padding: 76px 0 84px; }
  .chapter { margin-top: 52px; padding-top: 52px; }
  .logo-full { height: 46px; }
  header.site-header .logo-full { height: 54px; }
  .logo-full.logo-large { width: min(300px, 100%); }
  .ribbon { padding: 18px 0; }
  .marquee-track { font-size: 20px; }
}

/* ---------- Apple-style multilingual intro overlay ---------- */
#intro-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(155deg, #CFCFC3 0%, #FAF5EC 50%, #F6DFC4 100%);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
#intro-overlay .intro-word {
  font-size: clamp(48px, 11vw, 130px);
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .38s ease, transform .55s cubic-bezier(.2,.8,.2,1);
  text-align: center;
  padding: 0 24px;
}
#intro-overlay .intro-word.show { opacity: 1; transform: scale(1); }
#intro-overlay .intro-hint {
  position: absolute; bottom: 34px; left: 0; right: 0; text-align: center;
  font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); opacity: 0; animation: hint-in .6s ease forwards 1.4s;
}
@keyframes hint-in { to { opacity: .8; } }
#intro-overlay.fade-out { opacity: 0; pointer-events: none; transition: opacity .6s ease; }
body.intro-lock { overflow: hidden; height: 100vh; }

@keyframes letter-in { to { opacity: 1; transform: translateY(0); } }

/* ---------- scroll-triggered section reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.blog-list-item.reveal:nth-child(1) { transition-delay: 0s; }
.blog-list-item.reveal:nth-child(2) { transition-delay: .09s; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  #intro-overlay .intro-word { transition: none; }
  .hero .eyebrow .letter { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- contact form states ---------- */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .field-error { display: none; margin: 6px 0 0; font-size: 13px; color: #a13b2c; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a13b2c; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; color: var(--ink-soft); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #a13b2c; }
.form-note { margin: 0; font-size: 12.5px; color: var(--ink-faint); line-height: 1.55; }
.form-note a { color: var(--accent-deep); text-decoration: underline; }
.btn-pill:disabled { opacity: .6; cursor: default; }

/* ---------- artwork background (fixed, under a soft ivory veil) ---------- */
html { background: var(--bg); }
body { background: transparent; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(250,245,236,.70), rgba(250,245,236,.70)), url(/bg.jpg) center 38% / cover no-repeat; }
header.site-header { background: rgba(255,252,247,.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
section.block.alt { background: rgba(241,236,226,.55); }
.ribbon { background: rgba(241,236,226,.28); }
.ribbon::after { background: linear-gradient(90deg, rgba(241,236,226,.55) 0, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(241,236,226,.55) 100%); }
footer.site-footer { background: rgba(241,236,226,.72); }

/* ---------- services: white bubbles with logo-style dotted + broken rings; details in a pop-up ---------- */
.svc .bubbles { display: flex; justify-content: center; flex-wrap: wrap; gap: 38px 36px; margin: 64px 0 34px; padding-bottom: 26px; }
.bubble { --dy: 0px; position: relative; width: 190px; height: 190px; border-radius: 50%; border: 0; cursor: pointer; background: #FFFCF7;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 26px; text-align: center; color: var(--ink); font: inherit;
  box-shadow: 0 20px 36px -22px rgba(93,87,63,.55); transform: translateY(var(--dy)); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.bubble:nth-child(even) { --dy: 24px; }
.bubble::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.6px dotted var(--ring); pointer-events: none; }
.bubble::after { content: ""; position: absolute; inset: -25px; border-radius: 50%; border: 1.5px solid var(--ring); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-24deg); opacity: .85; pointer-events: none; transition: transform .6s ease; }
.bubble:nth-child(even)::after { transform: rotate(150deg); }
.bubble:hover, .bubble:focus-visible { transform: translateY(calc(var(--dy) - 7px)) scale(1.04); box-shadow: 0 26px 40px -22px rgba(93,87,63,.65); outline: none; }
.bubble:hover::after, .bubble:focus-visible::after { transform: rotate(60deg); }
.bubble .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ring); }
.bubble .b-title { font-family: 'Fraunces', serif; font-size: 17px; line-height: 1.22; font-weight: 500; }
.bubble .b-tag { font-size: 11.5px; font-weight: 600; color: var(--accent-deep); }
.tap-hint { text-align: center; font-family: 'Fraunces', serif; font-style: italic; color: var(--ink-soft); margin: 0; }

.sheet { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; background: rgba(93,87,63,.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 20px; }
.sheet.open { display: flex; animation: fadein .3s ease; }
.sheet-card { position: relative; width: min(560px, 100%);  background: #FAF5EC; border-radius: 30px; padding: 0; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); animation: rise .4s cubic-bezier(.2,.7,.2,1); }
.sheet-card::before { content: ""; position: absolute; inset: 12px; border-radius: 22px; border: 1.4px dotted var(--sheet-ring, #5F6F58); opacity: .7; pointer-events: none; }
.sheet-card h3 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; position: relative; padding-right: 30px; }
.sheet-card .d-tag { color: var(--accent-deep); font-weight: 600; font-size: 13px; margin: 0 0 16px; position: relative; }
.sheet-card .d-text { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin: 0 0 22px; position: relative; }
.sheet-card .d-link { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid currentColor; position: relative; }
.sheet-x { position: absolute; top: 18px; right: 20px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1.4px solid var(--ink); background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.sheet-x:hover { background: var(--ink); color: #FAF5EC; }
.sheet-x:focus-visible, .sheet .d-link:focus-visible { outline: 2px solid #9C5F0F; outline-offset: 3px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .svc .bubbles { gap: 46px 22px; }
  .bubble { width: 150px; height: 150px; padding: 16px; }
  .bubble .b-title { font-size: 14.5px; }
  .bubble:nth-child(even) { --dy: 0px; }
  .sheet-card { padding: 42px 26px 30px; }
  .sheet-card h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .bubble, .bubble::after, .sheet.open, .sheet-card { transition: none; animation: none; } }

/* logo shown on its own ivory background, exactly as filed */
.story-aside .logo-large { box-shadow: 0 26px 54px -28px rgba(93,87,63,.6); }

/* The Name (home): amber "paper stack" behind the logo tile + amber button */
.name-brief .logo-large { box-shadow: 16px 16px 0 #9C5F0F, 32px 32px 0 rgba(156,95,15,.28); margin-bottom: 32px; }
.name-brief .read-more a { display: inline-block; background: #9C5F0F; color: #FAF5EC; border: 0; padding: 9px 20px; border-radius: 999px; font-weight: 600; line-height: 1.2; margin-left: 4px; transition: background .2s ease, transform .2s ease; }
.name-brief .read-more a:hover { opacity: 1; background: #85500B; transform: translateY(-1px); }
@media (max-width: 860px) { .name-brief .logo-large { box-shadow: 10px 10px 0 #9C5F0F, 20px 20px 0 rgba(156,95,15,.28); margin-bottom: 24px; } }

/* word ribbon pauses while the cursor is on it */
.ribbon:hover .marquee-track { animation-play-state: paused; }

/* pop-up: scrolls inside the card; wider when it shows the name story */
.sheet-scroll { max-height: 90vh; overflow: auto; overscroll-behavior: contain; padding: 46px 44px 38px; position: relative; }
.sheet-card.is-story { width: min(800px, 100%); }
.sheet-card.is-story .sheet-scroll { padding: 58px 62px 50px; }
.sheet-card.is-story .story-head h2 { max-width: none; font-size: clamp(28px, 3.4vw, 40px); }
.sheet-card.is-story .chapter { max-width: none; margin-top: 50px; padding-top: 50px; }
.sheet-card.is-story .story-end { margin-top: 44px; padding-top: 30px; }
@media (max-width: 860px) {
  .sheet-scroll { padding: 42px 26px 30px; }
  .sheet-card.is-story .sheet-scroll { padding: 50px 26px 34px; }
}

/* About me: long-form text in a comfortable reading column */
.about-top { justify-content: flex-start; }
.about-text { max-width: 64ch; margin-top: 30px; }
.about-text p { margin: 0 0 22px; font-size: 17.5px; line-height: 1.8; color: var(--ink-soft); }
.about-text a { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid currentColor; }
.about-text a:hover { opacity: .65; }
.about-text .todo-link { color: var(--accent-deep); font-weight: 500; border-bottom: 1px dotted currentColor; cursor: default; }
.about-text .about-end { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.4; color: var(--accent-deep); margin: 34px 0 0; }

/* keep the bubbles' outer rings inside the page at tablet widths */
.svc { overflow-x: clip; }
.svc .bubbles { padding-left: 30px; padding-right: 30px; }

/* tighter rhythm between "About Ekāgrah" (name) and "About me" */
section.name-brief { padding-bottom: 36px; }
section.name-brief + section#about { padding-top: 40px; }
@media (max-width: 860px) {
  section.name-brief { padding-bottom: 24px; }
  section.name-brief + section#about { padding-top: 28px; }
}

/* "Trauma-informed / Culturally attuned / Judgment-free space": highlighted chips */
.about-top { border-bottom: 0; padding-bottom: 6px; margin-bottom: 8px; }
.badge-row { flex-wrap: wrap; gap: 12px; }
.badge-row div, .badge-row div:first-child { padding: 11px 22px; border: 0; border-radius: 999px; background: #5F6F58; color: #FAF5EC; font-size: 15.5px; font-weight: 600; letter-spacing: .01em; box-shadow: 0 12px 22px -16px rgba(60,80,52,.7); display: inline-flex; align-items: center; gap: 10px; }
.badge-row div::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #F6DFC4; flex: none; }
@media (max-width: 860px) { .badge-row div, .badge-row div:first-child { padding: 9px 16px; font-size: 14.5px; } }

/* About me: "Read more" button + full text inside the pop-up */
.about-text .about-more { margin: 6px 0 0; }
.more-btn { font: inherit; font-weight: 600; font-size: 15.5px; line-height: 1.2; color: #FAF5EC; background: #9C5F0F; border: 0; border-radius: 999px; padding: 11px 24px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.more-btn:hover { background: #85500B; transform: translateY(-1px); }
.more-btn:focus-visible { outline: 2px solid #9C5F0F; outline-offset: 3px; }
.about-pop-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 24px; padding-right: 36px; }
.about-pop-text p { margin: 0 0 20px; font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.about-pop-text a { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid currentColor; }
.about-pop-text .todo-link { color: var(--accent-deep); font-weight: 500; border-bottom: 1px dotted currentColor; cursor: default; }
.about-pop-text .about-end { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.4; color: var(--accent-deep); margin: 30px 0 0; }

/* About me: more room around the heading (single values; adjacent margins would collapse) */
#about h2 { margin: 0; }
.about-top { margin-bottom: 26px; }
.about-text { margin-top: 30px; }
.about-pop-title { margin-bottom: 44px; }
@media (max-width: 860px) { .about-top { margin-bottom: 20px; } .about-text { margin-top: 22px; } .about-pop-title { margin-bottom: 26px; } }

/* About pop-up heading: must out-rank ".block h2" (the pop-up lives inside the Services section) */
.sheet-card .about-pop-title { margin: 0 0 40px; }
@media (max-width: 860px) { .sheet-card .about-pop-title { margin-bottom: 30px; } }

/* Story pop-up: same plain look as the About me pop-up */
.about-pop-text .story-tagline { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(21px, 2.1vw, 25px); line-height: 1.4; color: var(--accent-deep); margin: 0 0 28px; }
.about-pop-text .pop-sub { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; color: var(--ink); margin: 34px 0 14px; }
.about-pop-text p.para-gap { margin-top: 34px; }
.about-pop-text .story-end { margin-top: 36px; padding-top: 0; border-top: 0; }
.about-pop-text .story-end a { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid currentColor; }


/* ---------- testimonials: a deck, dealt out like a card game (prototype) ---------- */
.deck-wrap { margin-top: 8px; }
.stage { --cw: 330px; --ch: 300px; position: relative; isolation: isolate; z-index: 0; transition: height .6s ease; }
#tsheet { z-index: 2000; }
.ghost { position: absolute; width: var(--cw); height: var(--ch); left: var(--x); top: var(--y); transform: rotate(var(--r)); z-index: 1; border: 1.5px dashed rgba(93,87,63,.26); border-radius: 16px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; pointer-events: none; transition: opacity .5s ease; }
.ghost span { font: 600 12px 'Inter', sans-serif; letter-spacing: .14em; color: rgba(93,87,63,.4); }
.ghost.filled { opacity: 0; }
.tcard { position: absolute; width: var(--cw); height: var(--ch); left: var(--x); top: var(--y); transform: rotate(var(--r)) scale(var(--s, 1)); z-index: var(--z);
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; padding: 20px 24px 18px; font: inherit; color: var(--ink); cursor: default; overflow: hidden;
  background: #FFFCF7; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 32px -22px rgba(93,87,63,.55), 0 2px 0 rgba(255,255,255,.7) inset;
  transition: left .85s cubic-bezier(.16,.9,.3,1.04), top .85s cubic-bezier(.16,.9,.3,1.04), transform .85s cubic-bezier(.16,.9,.3,1.04), box-shadow .85s ease; }
.tcard.c1 { background: #F7F1E4; } .tcard.c2 { background: #F2EEE3; }
.tcard.top-card, .tcard.played { cursor: pointer; }
.tcard.top-card:hover { transform: rotate(var(--r)) translateY(-10px); box-shadow: 0 30px 44px -24px rgba(93,87,63,.7); }
.tcard.played:hover { transform: rotate(var(--r)) translateY(-6px) scale(1.02); box-shadow: 0 28px 40px -24px rgba(93,87,63,.65); }
.tcard.flying { --s: 1.07; box-shadow: 0 40px 60px -24px rgba(60,45,20,.55); }
.tcard:focus-visible { outline: 2px solid #9C5F0F; outline-offset: 4px; }
.tcard .mark { font-family: 'Fraunces', serif; font-size: 34px; line-height: .6; color: var(--accent); flex: none; }
.tcard .quote { font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tcard .more { font-size: 13px; font-weight: 600; color: var(--accent-deep); opacity: 0; transition: opacity .4s; }
.tcard.played .more { opacity: 1; }
.tcard .who { margin-top: auto; font: 700 11px 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.deal-hint { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); margin: 0; font-family: 'Fraunces', serif; font-style: italic; color: var(--ink-soft); z-index: 300; transition: opacity .4s; white-space: nowrap; }
.deal-hint.gone { opacity: 0; }
.deck-foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 0; min-height: 24px; color: var(--ink-soft); font-size: 15px; }
.deck-reset { font: inherit; font-weight: 600; color: var(--accent-deep); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; padding: 0 0 1px; }
@media (max-width: 860px) { .stage { --cw: min(72%, 300px); --ch: 290px; } .tcard .quote { font-size: 16.5px; } }
@media (prefers-reduced-motion: reduce) { .tcard, .ghost { transition: none; } }

/* the last card left in the pile can't be dealt, so it opens its full text instead */
.tcard.last-card { cursor: pointer; }
.tcard.last-card .more { opacity: 1; }
.tcard.last-card:hover { transform: rotate(var(--r)) translateY(-6px) scale(1.02); box-shadow: 0 28px 40px -24px rgba(93,87,63,.65); }

/* Blog: featured article (text only, opens in the pop-up) */
.blog-featured > div { max-width: 62ch; }
.blog-featured .blog-meta { font-size: 13.5px; font-weight: 600; color: var(--accent-deep); margin: 0 0 20px; }
.blog-featured h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.blog-featured p { font-size: 17px; line-height: 1.7; }
.blog-featured .tag { font-size: 12px; }
#blog .blog-featured { margin-top: 0; padding-top: 34px; }
#blog .blog-featured .tag { margin: 0 0 8px; }
#blog .blog-featured h3 { margin: 0 0 14px; }

/* Blog article: easier to read in the pop-up (text itself untouched) */
.pop-meta { margin: 0 0 12px; font: 600 12.5px 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.article-text { max-width: 60ch; }
.article-text p { font-size: 17.5px; line-height: 1.85; margin: 0 0 24px; color: var(--ink-soft); }
.article-text p.lead { font-family: 'Fraunces', serif; font-size: clamp(20px, 2vw, 23px); line-height: 1.55; color: var(--ink); margin-bottom: 34px; }
.article-text p.beat { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(19px, 1.9vw, 22px); line-height: 1.5; color: var(--ink); margin: 34px 0 34px; padding-left: 20px; border-left: 2px solid rgba(156,95,15,.55); }
.article-text p.closing { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.5; color: var(--accent-deep); margin: 44px 0 6px; }
@media (max-width: 860px) { .article-text p { font-size: 17px; line-height: 1.8; } }

/* article page */
.more-btn { display: inline-block; text-decoration: none; }
.blog-article { max-width: 780px; margin: 44px auto 70px; padding: 54px 56px 60px; background: rgba(250,245,236,.9); border-radius: 22px; box-shadow: 0 30px 60px -40px rgba(93,87,63,.5); }
.blog-article h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.12; margin: 0 0 40px; }
.blog-article .back-link { display: inline-block; font-size: 14.5px; font-weight: 500; color: var(--accent-deep); border-bottom: 1px solid currentColor; margin-bottom: 34px; }
.blog-article .article-text { max-width: none; }
.blog-article .article-end { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.blog-article .article-end .back-link { margin: 0; }
@media (max-width: 860px) { .blog-article { margin: 0; border-radius: 0; padding: 38px 22px 50px; box-shadow: none; } .blog-article h1 { margin-bottom: 30px; } }

/* blog list: real posts */
.blog-list-item h4 a { color: inherit; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.blog-list-item h4 a:hover { color: var(--accent-deep); border-bottom-color: currentColor; }
.blog-list-item .blog-meta { font-size: 13px; font-weight: 600; color: var(--accent-deep); margin: 8px 0 0; }
.blog-list-item h4 { font-size: 22px; margin: 4px 0 8px; }
.blog-list-item p { font-size: 15.5px; line-height: 1.65; }
.blog-list-item .read-link { color: var(--accent-deep); border-bottom: 1px solid currentColor; margin-left: 4px; }
.blog-list-item .read-link:hover { opacity: .65; }

/* ---------- blog: post cards (index) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 38px; }
.blog-grid.single { grid-template-columns: minmax(0, 420px); margin-top: 18px; }
.post-card { display: flex; flex-direction: column; background: rgba(255,252,247,.94); border: 1px solid var(--line); border-radius: 14px; padding: 30px 30px 26px; box-shadow: 0 20px 36px -30px rgba(93,87,63,.5); transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 28px 44px -30px rgba(93,87,63,.6); }
.post-card .tag { margin: 0 0 12px; font: 600 12px 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.post-card h3 { font: 500 24px/1.25 'Fraunces', serif; margin: 0 0 14px; color: var(--ink); }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--accent-deep); }
.post-card .post-excerpt { margin: 0 0 18px; font: 400 15.5px/1.7 'Inter', sans-serif; color: var(--ink-soft); }
.post-card .post-meta { margin: auto 0 14px; padding-top: 4px; font: 500 13px 'Inter', sans-serif; color: var(--ink-faint); }
.post-card .read-link { align-self: flex-start; font: 600 14.5px 'Inter', sans-serif; color: var(--accent-deep); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.post-card .read-link:hover { opacity: .65; }
.post-card.soon { background: transparent; border-style: dashed; box-shadow: none; justify-content: center; }
.post-card.soon:hover { transform: none; box-shadow: none; }
.post-card.soon .post-excerpt { margin: 0; color: var(--ink-faint); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid, .blog-grid.single { grid-template-columns: 1fr; gap: 18px; } .post-card { padding: 26px 24px 22px; } }

/* ---------- blog: article page (plain, like a standard blog post) ---------- */
.blog-article .pop-meta { font-family: 'Inter', sans-serif; }
.article-text p, .article-text p.lead, .article-text p.beat, .article-text p.closing { font-family: 'Inter', sans-serif; font-style: normal; }
.article-text p { font-size: 17.5px; line-height: 1.85; }
.article-text p.lead { font-size: 20px; line-height: 1.7; font-weight: 500; color: var(--ink); margin-bottom: 30px; }
.article-text p.beat { font-style: italic; font-size: 18.5px; line-height: 1.7; color: var(--ink); border-left: 3px solid rgba(156,95,15,.5); padding-left: 20px; margin: 30px 0; }
.article-text p.closing { font-style: italic; font-size: 19px; line-height: 1.7; color: var(--accent-deep); margin: 40px 0 6px; }
.more-posts { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.more-posts h2 { font: 500 24px/1.2 'Fraunces', serif; margin: 0; }
.more-posts .post-card { background: #FFFCF7; }

/* article pages: a full page (plain ivory, no box), centred reading column */
body.blog-page::before { background: #FAF5EC; }
.blog-page main { background: #FAF5EC; }
.blog-page .blog-article { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; background: none; border-radius: 0; box-shadow: none; }
.blog-page .blog-article h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 44px; }
.blog-page .blog-article .back-link { margin-bottom: 40px; }
.blog-page .more-posts { margin-top: 64px; }
.blog-page .more-posts .post-card { background: #FFFCF7; }
@media (max-width: 860px) { .blog-page .blog-article { padding: 36px 22px 64px; } .blog-page .blog-article h1 { margin-bottom: 30px; } }
.blog-page .blog-article .article-end { align-items: center; }
.blog-page .blog-article .article-end .back-link { margin: 0; }
.blog-page .blog-article .article-end .more-btn { line-height: 1.2; }
