/* Nusalexia — shared stylesheet.
   Rebuilt from the Claude Design export's inline styles. Text colours were
   darkened where the original failed WCAG AA (see README "Contrast"). */

:root {
  --paper: #FBF7F0;      /* page background */
  --sand: #F3ECDF;       /* alternating section background */
  --card: #FFFFFF;
  --line: #E7DECD;
  --line-soft: #EFE7D8;
  --line-strong: #D8CDB8;
  --ink: #22302B;        /* headings */
  --body: #5C6B64;       /* body copy, >= 4.78:1 on every surface */
  --muted: #606D67;      /* was #71807A (3.52:1 on sand) */
  --gold: #C9A24B;       /* decorative only */
  --gold-ink: #806020;   /* kickers; was #A07A2C (3.36:1 on sand) */
  --accent: #2FA98C;     /* decorative: dots, bars, borders */
  --accent-large: #23856D; /* large display text (>= 3:1) */
  --accent-ink: #1D725D; /* links + filled buttons; white on it 5.81:1 (was 2.93:1) */
  --accent-hover: #175C4B;
  --accent-tint: rgba(47, 169, 140, 0.1);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lift: 0 16px 40px rgba(34, 48, 43, 0.1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; position: relative; min-height: 100vh;
}
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--paper); }
a { color: var(--accent-ink); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: pretty; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent-ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top 0.15s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ── Background decoration ─────────────────────────────── */
.bg-kawung, .cta-box::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23C9A24B' stroke-width='1'%3E%3Cellipse cx='40' cy='16' rx='11' ry='16'/%3E%3Cellipse cx='40' cy='64' rx='11' ry='16'/%3E%3Cellipse cx='16' cy='40' rx='16' ry='11'/%3E%3Cellipse cx='64' cy='40' rx='16' ry='11'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.bg-kawung { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.05; }
.glyphs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glyphs span {
  position: absolute; top: 0; font-family: var(--serif); opacity: 0.07;
  animation: glyphDrift var(--dur) linear var(--delay) infinite;
}
.glyphs .g { color: var(--accent); }
.glyphs .y { color: var(--gold); opacity: 0.08; }
.glyphs .i { font-style: italic; }
.wave {
  position: relative; z-index: 2; height: 26px; opacity: 0.4; background-repeat: repeat-x; background-size: 52px 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26'%3E%3Cg fill='none' stroke='%232FA98C' stroke-width='1'%3E%3Cpath d='M0 26a26 26 0 0 1 52 0'/%3E%3Cpath d='M6 26a20 20 0 0 1 40 0'/%3E%3Cpath d='M12 26a14 14 0 0 1 28 0'/%3E%3C/g%3E%3Ccircle cx='26' cy='19' r='2.5' fill='%23C9A24B'/%3E%3C/svg%3E");
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes glyphDrift { 0% { transform: translateY(105vh) rotate(-6deg); } 100% { transform: translateY(-18vh) rotate(6deg); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Layout primitives ─────────────────────────────────── */
main, .site-footer { position: relative; z-index: 2; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-tint { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* min() keeps a single column from exceeding a 320px phone (the original's
   fixed 340px minimum overflowed and clipped text on 375px screens). */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 280px), 100%), 1fr)); }
.section-head { margin-bottom: 40px; max-width: 640px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-ink); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; color: var(--ink); margin: 0; }
.lede { font-size: 17px; line-height: 1.75; color: var(--body); max-width: 560px; margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--gold-ink); margin-bottom: 24px;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.card-lift { transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent-large); }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); margin: 0; line-height: 1.3; }
.card-text { font-size: 14.5px; line-height: 1.7; color: var(--body); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 13px; color: var(--body); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.badge {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-tint); border-radius: 999px; padding: 5px 12px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: pulseDot 2s ease-in-out infinite; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 15px; text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: transform 0.18s var(--ease-spring), box-shadow 0.18s ease, border-color 0.18s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent-ink); color: #fff; border: none; box-shadow: 0 10px 26px rgba(47, 169, 140, 0.28); }
.btn-primary:hover { color: #fff; background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(47, 169, 140, 0.36); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }
.btn-outline { min-height: 44px; padding: 0 24px; font-size: 14px; background: transparent; color: var(--accent-ink); border: 1.5px solid var(--accent-ink); }
.btn-outline:hover { background: var(--accent-ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.text-link { font-size: 14px; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--paper);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.01em; color: var(--ink); }
.brand-tag { font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.site-nav { order: 1; }
.header-tools { order: 2; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--body); text-decoration: none; transition: color 0.15s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-ink); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); list-style: none; margin: 0; }
.lang-switch a, .lang-switch span {
  display: block; padding: 6px 13px; font-weight: 700; font-size: 11.5px; border-radius: 999px; text-decoration: none; color: var(--muted);
}
.lang-switch a:hover { color: var(--accent-ink); }
.lang-switch [aria-current] { background: var(--accent-ink); color: #fff; }
.online {
  display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--accent-tint);
  padding: 7px 14px; font-size: 12px; font-weight: 700; color: var(--accent-ink); white-space: nowrap;
}
.online[data-state="closed"] { background: rgba(201, 162, 75, 0.14); color: var(--gold-ink); }
.online[data-state="closed"] .dot { background: var(--gold); animation: none; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: var(--card); color: var(--ink); font: 700 13px var(--sans); cursor: pointer;
}
.menu-toggle svg { width: 16px; height: 16px; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding-top: 72px; padding-bottom: 88px; --min: 340px; gap: 56px; align-items: center; }
.hero-copy { animation: fadeUp 0.6s var(--ease-out) both; }
.h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.12;
  letter-spacing: -0.015em; color: var(--ink); margin: 0 0 22px;
}
.h1 em { font-style: italic; color: var(--accent-large); }
.hero-copy .lede { margin-bottom: 32px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.hero-media { position: relative; animation: fadeUp 0.7s var(--ease-out) 0.15s both; }
.photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; background: var(--sand); }
.hero-media .photo { aspect-ratio: auto; height: clamp(300px, 46vw, 520px); }
.float-card {
  position: absolute; left: -14px; bottom: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 20px; box-shadow: 0 16px 40px rgba(34, 48, 43, 0.14); max-width: 280px; margin: 0;
}
.float-card blockquote { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.float-card figcaption { font-size: 12px; font-weight: 700; color: var(--muted); }
.float-badge {
  position: absolute; right: -10px; top: -16px; background: var(--accent-ink); color: #fff; border-radius: 999px;
  padding: 10px 18px; font-size: 13px; font-weight: 700; box-shadow: 0 10px 26px rgba(47, 169, 140, 0.3);
}

/* ── Services, process, bars ───────────────────────────── */
.svc-specs { border-top: 1px solid var(--line-soft); padding-top: 14px; display: flex; flex-direction: column; gap: 7px; margin: 0; }
.svc-specs div { display: flex; justify-content: space-between; gap: 12px; }
.svc-specs dt { font-size: 12.5px; color: var(--muted); }
.svc-specs dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink); text-align: right; }
.panel { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.panel-note { font-size: 13px; color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.bar-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 7px; }
.bar-label { font-size: 13.5px; font-weight: 500; color: var(--body); }
.bar-value { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.bar-track { height: 11px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--accent); }
.bar-fill.alt { background: var(--gold); }
.step-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 34px; line-height: 1; color: var(--accent-large); }
.captioned { margin: 24px 0 0; position: relative; }
.captioned .photo { height: 360px; aspect-ratio: auto; }
.captioned figcaption {
  position: absolute; left: 24px; bottom: 24px; right: 24px; width: fit-content; background: rgba(251, 247, 240, 0.95); border-radius: 14px;
  padding: 12px 18px; font-size: 14px; font-weight: 700; color: var(--ink); box-shadow: 0 10px 26px rgba(34, 48, 43, 0.16);
}

/* ── Promise ───────────────────────────────────────────── */
.promise {
  background: var(--accent-ink); border-radius: 24px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap;
  align-items: center; gap: 24px; box-shadow: 0 20px 48px rgba(47, 169, 140, 0.28); color: #fff;
}
.promise > * { flex: 1 1 280px; }
.promise .kicker { color: rgba(255, 255, 255, 0.85); }
.promise h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; margin: 0; color: #fff; }
.promise p { margin: 0; font-size: 15.5px; line-height: 1.75; }
.facts { margin-top: 20px; --min: 230px; }
.facts .card { padding: 24px; gap: 8px; }
.facts .card-title { font-size: 18px; }
.facts .card-text { font-size: 13.5px; }

/* ── Stories ───────────────────────────────────────────── */
.story { margin: 0; gap: 20px; }
.story blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.story figcaption { display: flex; align-items: center; gap: 14px; }
.monogram {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent-ink); font-family: var(--serif); font-weight: 600; font-size: 22px;
}
.story-name { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.story-context { display: block; font-size: 13px; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marqueeX 36s linear infinite; list-style: none; margin: 0; padding: 0; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track li { font-size: 13.5px; color: var(--body); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 11px 22px; white-space: nowrap; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 24px; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 22px; font-weight: 500; color: var(--accent-ink); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 24px 20px; font-size: 15px; line-height: 1.75; color: var(--body); }

/* ── Contact / CTA ─────────────────────────────────────── */
.cta-box {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 6vw, 64px); text-align: center; box-shadow: 0 20px 48px rgba(34, 48, 43, 0.08); overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; inset: 0; opacity: 0.045; pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box .h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; margin-bottom: 14px; }
.cta-box .lede { margin: 0 auto 34px; max-width: 520px; font-size: 16px; }
.cta-box .btn-row { justify-content: center; }
.contact-lines { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); font-style: normal; }
.contact-lines a { font-size: 14.5px; font-weight: 700; color: var(--body); text-decoration: none; }
.contact-lines a:hover { color: var(--accent-ink); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--sand); }
.footer-inner { padding-top: 32px; padding-bottom: 32px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); align-items: start; }
.footer-inner p { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.footer-inner strong { color: var(--ink); font-family: var(--serif); font-size: 17px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav a { font-size: 13.5px; font-weight: 700; color: var(--body); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-ink); }
.socials { display: flex; gap: 10px; list-style: none; margin: 10px 0 0; padding: 0; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--body);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.18s var(--ease-spring);
}
.socials a:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ── Page intro (subpages) ─────────────────────────────── */
.intro { padding-top: 64px; padding-bottom: 48px; }
.intro .h1 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 16px; }
.intro .pill, .intro .h1, .intro .lede { animation: fadeUp 0.6s var(--ease-out) both; }
.intro .h1 { animation-delay: 0.1s; }
.intro .lede { animation-delay: 0.2s; font-size: 16px; max-width: 640px; }

/* ── Blog ──────────────────────────────────────────────── */
.post-list { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; }
.post-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); transition: box-shadow 0.2s ease, border-color 0.2s ease; position: relative;
}
.post-card:hover { border-color: var(--accent); box-shadow: 0 16px 40px rgba(34, 48, 43, 0.08); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 12.5px; color: var(--muted); }
.post-card h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; margin: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card p { font-size: 14.5px; line-height: 1.7; color: var(--body); margin: 0; }
.post-card .more { font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.article { padding-top: 48px; padding-bottom: 48px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--body); }
.article .h1 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 18px; }
.article-excerpt { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.55; color: var(--body); margin: 0 0 28px; }
.article-body p { font-size: 17px; line-height: 1.8; color: var(--body); margin: 0 0 20px; max-width: 68ch; }
.article-cta { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-soft); }

/* ── Pricing calculator ────────────────────────────────── */
.quote { --min: 320px; align-items: start; padding-bottom: 64px; }
.quote-panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.quote legend, .field-label { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 0; margin-bottom: 8px; }
.seg { display: grid; gap: 8px; grid-template-columns: repeat(var(--cols, 2), 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block; height: 100%; text-align: center; padding: 12px 8px; font-weight: 700; font-size: 13px; border-radius: 14px;
  background: var(--paper); color: var(--body); border: 1px solid var(--line); transition: all 0.15s ease; cursor: pointer;
}
.seg small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; margin-top: 4px; }
.seg input:checked + span { background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }
.seg input:focus-visible + span, .addon input:focus-visible + .addon-box { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.field-input {
  width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--ink);
  font: 15px var(--sans); padding: 12px 14px;
}
.field-input:focus { border-color: var(--accent-ink); outline: none; box-shadow: 0 0 0 3px rgba(29, 114, 93, 0.25); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rate-line { font-size: 13px; color: var(--body); }
.rate-line strong { color: var(--accent-ink); }
.hint { font-size: 12.5px; color: var(--gold-ink); margin: 0; }
.hint[hidden] { display: none; }
.addon { position: relative; display: block; }
.addon input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.addon-box {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; font-weight: 500; font-size: 13.5px;
  border-radius: 14px; background: var(--paper); color: var(--body); border: 1px solid var(--line); transition: all 0.15s ease; cursor: pointer;
}
.addon b { white-space: nowrap; }
.addon-box > span { flex: 1; }
.addon input:checked + .addon-box { background: var(--accent-tint); color: var(--accent-ink); border-color: var(--accent-ink); }
.addon input:checked + .addon-box::before { content: '✓'; font-weight: 700; }
.estimate {
  position: sticky; top: calc(var(--header-h) + 24px); background: var(--card); border: 1.5px solid var(--accent);
  border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 48px rgba(47, 169, 140, 0.14);
}
.breakdown { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; color: var(--body); }
.breakdown b { color: var(--ink); white-space: nowrap; }
.breakdown .good b { color: var(--accent-ink); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total span { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.total output { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px); color: var(--accent-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.estimate .btn { width: 100%; white-space: normal; text-align: center; }
.disclaimer { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.rate-table-wrap { overflow-x: auto; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.rate-table caption { text-align: left; }
.rate-table th, .rate-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.rate-table td:not(:first-child), .rate-table thead th:not(:first-child) { text-align: right; white-space: nowrap; }
.rate-table thead th { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.rate-table tbody th[colspan] { padding-top: 18px; color: var(--gold-ink); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.rate-table td { color: var(--body); }
.terms { background: var(--sand); border: 1px solid var(--line); border-radius: 24px; padding: 28px; --min: 220px; }
.terms div { display: flex; flex-direction: column; gap: 6px; }
.terms p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--body); }

/* ── Reveal on scroll (JS adds .reveal-pending only below the fold) ── */
.reveal-pending { opacity: 0; transform: translateY(20px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 980px) {
  .online { display: none; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; display: none; padding: 8px 0 6px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 12px 4px; font-size: 16px; border-top: 1px solid var(--line-soft); }
  /* Without JS the toggle can't work, so show the nav inline instead. */
  .no-js .menu-toggle { display: none; }
  .no-js .site-nav { display: block; }
}
@media (max-width: 600px) {
  .brand-tag { display: none; }
  .header-tools { gap: 8px; }
  .menu-toggle { padding: 0 11px; }
  .menu-toggle [data-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .float-card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .float-badge { right: 8px; top: -14px; }
  .card, .quote-panel, .estimate { padding: 22px; }
  .captioned .photo { height: 240px; }
  .btn-row .btn { flex: 1 1 100%; }
  .two { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* No reduced-motion opt-out: the owner wants the drifting glyphs,
   pulsing dot and client strip running for every visitor. */

@media print {
  .site-header, .glyphs, .bg-kawung, .wave, .btn, .socials { display: none !important; }
  body { background: #fff; }
}

/* ── WordPress integration ────────────────────────────────────────────
   Appended to the shared site stylesheet by wp/build-theme.mjs. Maps the
   static design onto block markup (groups, core images, template parts). */

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }

/* theme.json sets blockGap to 0, so WordPress adds no margins between blocks
   and the component styles above own all spacing (this sheet loads after the
   global styles, so equal-specificity rules here win). Content written in the
   editor gets its paragraph rhythm back explicitly: */
.entry .entry-content > * + *, .article-body > * + * { margin-top: 1.2em; }

/* Header: the template part itself is the sticky element. */
.wp-block-template-part.site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-block-template-part.site-header { top: var(--wp-admin--admin-bar--height, 32px); }
/* Below 600px WordPress lets the admin bar scroll away, so no offset there. */
@media (max-width: 600px) { .admin-bar .wp-block-template-part.site-header { top: 0; } }
.wp-block-nlx-nav { display: contents; }
.menu-toggle { order: 3; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
@media (max-width: 860px) {
  .site-nav { order: 4; }
  html:not(.nlx-js) .menu-toggle { display: none; }
  html:not(.nlx-js) .site-nav { display: block; }
}

/* Hero */
.hero-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: pulseDot 2s ease-in-out infinite; }
.hero-note p { margin: 0; }
.float-card .float-quote { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.float-card .float-by { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.float-badge { margin: 0; }

/* Core image in the photo slots */
.wp-block-image.photo { margin: 0; aspect-ratio: auto; background: none; border-radius: 28px; overflow: hidden; }
.wp-block-image.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; display: block; }
.hero-media .wp-block-image.photo { height: clamp(300px, 46vw, 520px); }
.about-media .wp-block-image.photo { height: clamp(280px, 40vw, 420px); }
.captioned .wp-block-image.photo { height: 360px; }
.captioned .caption {
  position: absolute; left: 24px; bottom: 24px; right: 24px; width: fit-content; margin: 0;
  background: rgba(251, 247, 240, 0.95); border-radius: 14px; padding: 12px 18px;
  font-size: 14px; font-weight: 700; color: var(--ink); box-shadow: 0 10px 26px rgba(34, 48, 43, 0.16);
}
@media (max-width: 600px) { .captioned .wp-block-image.photo { height: 240px; } }

/* Cards */
.card > p, .card > h2, .card > h3 { margin: 0; }
.card .badge { margin: 0; }
.svc-specs { display: flex; flex-direction: column; gap: 7px; }
.spec { display: flex; justify-content: space-between; gap: 12px; }
.spec .spec-label { font-size: 12.5px; color: var(--muted); margin: 0; }
.spec .spec-value { font-size: 13px; font-weight: 700; color: var(--ink); text-align: right; margin: 0; }
.card .card-text.grow { flex: 1; }

/* Stories */
.story .story-quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.story-by { display: flex; align-items: center; gap: 14px; }
.story-by .monogram { margin: 0; }
.story-by .story-name { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.story-by .story-context { margin: 0; font-size: 13px; color: var(--muted); }

/* Promise, panels, CTA */
.promise h2 { color: #fff; }
.panel-head .label, .panel-head .panel-note { margin: 0; }
.section-head .kicker { margin-bottom: 12px; }
.cta-box .kicker { margin-bottom: 14px; }
.cta-box .lede { margin-left: auto; margin-right: auto; }
.cta-box .h2 { margin-bottom: 14px; }
.cta-box .contact-lines { margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.hint-muted { color: var(--muted); }
.quote .label { margin: 0; font-size: 13px; }
.terms .label { margin: 0; }

/* Blog: index cards, related list, single article */
.post-list.is-compact h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.35; margin: 0; }
.post-list.is-compact h3 a { color: var(--ink); text-decoration: none; }
.post-list.is-compact h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.article .wp-block-post-title { margin: 14px 0 18px; }
.article-excerpt p { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.55; color: var(--body); margin: 0 0 28px; }
.article-body > * { max-width: 68ch; }
.article-body p { font-size: 17px; line-height: 1.8; color: var(--body); margin: 0 0 20px; }
.article-body h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 36px 0 14px; }
.related { padding-bottom: 48px; }
.related .label { margin: 0 0 16px; }

/* Generic pages, archives and search (content created in WordPress) */
.entry { padding-top: 56px; padding-bottom: 80px; }
.entry .wp-block-post-title { margin: 0 0 24px; }
.entry .entry-content > * { max-width: 72ch; }
.entry .entry-content p, .entry .entry-content li { font-size: 17px; line-height: 1.8; color: var(--body); }
.entry .entry-content h2, .entry .entry-content h3 { font-family: var(--serif); font-weight: 600; margin-top: 2em; }
.archive-list .wp-block-post { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.archive-list .wp-block-post-title { font-family: var(--serif); font-size: 22px; margin: 0 0 8px; }
.archive-list .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.wp-block-search__input { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 15px var(--sans); background: var(--card); }
.wp-block-search__button { border-radius: 999px; background: var(--accent-ink); color: #fff; border: 0; padding: 0 22px; font-weight: 700; }
.wp-block-query-pagination { margin-top: 32px; gap: 16px; }

/* Buttons from the core Buttons block follow the theme */
.wp-block-button .wp-block-button__link { border-radius: 999px; font-weight: 700; padding: 14px 28px; }
.wp-block-button.is-style-nlx-ghost .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }

/* Block styles offered in the editor */
.wp-block-group.is-style-nlx-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.wp-block-group.is-style-nlx-panel-accent { background: var(--accent-ink); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 48px); }
.wp-block-group.is-style-nlx-panel-accent :where(h1, h2, h3, p, a) { color: #fff; }
.wp-block-details.is-style-nlx-faq { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }

/* Pattern layout helpers (the static site set these inline) */
.grid-240 { --min: 240px; }
.grid-260 { --min: 260px; }
.grid-300 { --min: 300px; }
.card-title-lg { font-size: 23px; }
.card-title-md { font-size: 20px; }
.panel-head-start { justify-content: flex-start; gap: 14px; }
.section-why { padding-bottom: 88px; }
.section-promise { padding-bottom: 80px; }
.section-contact { padding-bottom: 96px; }
.section-rates { padding-bottom: 24px; }
.section-rates .panel { margin: 0; border-radius: 24px; }
.section-terms { padding-bottom: 96px; }
.hero-about { padding-bottom: 72px; gap: 48px; }
.h1-about { font-size: clamp(34px, 4.2vw, 52px); }
.about-media .float-card { max-width: 260px; }
.blog-list { padding-bottom: 64px; }
.blog-list .panel { margin: 0 0 24px; }
.clients { margin-top: 32px; }
.intro-404 { padding-bottom: 120px; }
.wave + .wrap-narrow, .wave + .section-rates { margin-top: 36px; }
@media (max-width: 600px) {
  .section-why, .section-promise { padding-bottom: 56px; }
  .section-contact { padding-bottom: 64px; }
}
