/* Zen English public site — "Think in English. Grow with Mindfulness."
   Calm, warm paper ground; serif display (Lora) over a Vietnamese-friendly sans (Be Vietnam Pro). */
:root {
  --ze: #1c6b6b; --ze-dark: #124a4a; --ze-deep: #17504f; --ze-soft: #eef5f2;
  --sage: #e3ece6; --sage-ink: #2f5d47; --sage-line: #b9cfc3;
  --sand: #f1e8da; --sand-ink: #7a4e22; --sand-text: #5b4a36;
  --ink: #1e2a2a; --muted: #4f5d5c; --line: #e6dfd3;
  --paper: #faf7f2; --white: #ffffff;
  --serif: Lora, Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 104px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--paper); }
img { max-width: 100%; }
a { color: var(--ze); }
a:hover { color: var(--ze-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.25; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; padding: 12px 26px; border-radius: 999px; background: var(--ze); color: #fff !important; border: 2px solid var(--ze); }
.btn:hover { background: var(--ze-dark); border-color: var(--ze-dark); }
.btn.ghost { background: transparent; color: var(--ze) !important; }
.btn.ghost:hover { background: var(--ze-soft); }
.btn.lg { padding: 14px 32px; font-size: 17px; }

/* Shared section type */
.eyebrow { margin: 0 0 14px; font-size: 14.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ze); }
h2.title { margin: 0 0 16px; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.lead { margin: 0; color: var(--muted); font-size: 18px; }
.section-head { max-width: 700px; margin-bottom: 48px; }
section.block { padding: 96px 0; }
section.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--ze-deep); color: #f4efe6; }
section.dark .eyebrow { color: #cfe3dd; }
section.dark h2.title { color: #fff; }
section.dark .lead { color: #dce9e5; }
section.sand { background: var(--sand); }
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.split > * { flex: 1 1 400px; min-width: 0; }
.hero .split > :first-child { flex-grow: 1.3; }
.split.top { align-items: flex-start; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero .tagline { margin: 0 0 20px; font-family: var(--sans); font-weight: 600; font-size: clamp(0.72rem, 1.1vw, 0.85rem); line-height: 1.45; letter-spacing: 1.2px; white-space: nowrap; text-transform: uppercase; color: var(--ze); }
.hero h1 { margin: 0 0 24px; font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.2; letter-spacing: -0.3px; }
.hero h1 em { color: var(--ze); }
.hero .lead { font-size: 18.5px; margin-bottom: 36px; max-width: 580px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bubbles { display: flex; flex-direction: column; gap: 16px; }
.bubble { border-radius: 20px 20px 20px 4px; padding: 20px 24px; }
.bubble .label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.bubble q { display: block; margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.4; quotes: "“" "”"; }
.bubble.one { background: #fff; border: 1px solid var(--line); margin-right: 48px; }
.bubble.one .label { color: var(--ze); }
.bubble.two { background: var(--sage); border-radius: 20px 20px 4px 20px; margin-left: 48px; }
.bubble.two .label { color: var(--sage-ink); }
.bubble.three { background: var(--sand); margin-right: 24px; }
.bubble.three .label { color: var(--sand-ink); }

/* Numbered list (why) */
.numlist { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.numlist li { counter-increment: n; display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.numlist li:last-child { border-bottom: 1px solid var(--line); }
.numlist li::before { content: "0" counter(n); font-family: var(--serif); color: var(--ze); font-size: 18px; min-width: 28px; }

/* Pillars */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.pillar .num { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--accent, var(--ze)); }
.pillar h3 { margin: 0; font-size: 24px; font-weight: 600; }
.pillar .vi { margin: 0; font-weight: 600; color: var(--accent, var(--ze)); }
.pillar p { margin: 0; color: var(--muted); }
.pillar.sage { --accent: var(--sage-ink); }
.pillar.sand { --accent: var(--sand-ink); }
.example { margin-top: auto; background: var(--paper); border-radius: 12px; padding: 16px 18px; font-size: 15px; }
.example p { margin: 0 0 4px; color: var(--muted); }
.example q, .quote { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); quotes: "“" "”"; }

/* ZEN Learning Cycle */
.cycle { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.wheel { flex: 1 1 340px; min-width: 0; max-width: 440px; margin: 0 auto; position: relative; aspect-ratio: 1 / 1; }
.wheel .ring { position: absolute; left: 13.6%; top: 13.6%; width: 72.8%; height: 72.8%; border-radius: 50%; border: 2px dashed var(--sage-line); }
.wheel .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40%; text-align: center; }
.wheel .center strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25; }
.wheel .center span { font-size: 13px; color: var(--muted); }
.wheel a { position: absolute; transform: translate(-50%, -50%); width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--sage-line); background: #fff; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.wheel a:hover, .wheel a:focus-visible { background: var(--ze); border-color: var(--ze); color: #fff; }
.wheel a small { font-size: 12px; font-weight: 600; opacity: .85; }
.wheel a b { font-size: 15px; }
.wheel a:nth-of-type(1) { left: 50%; top: 13.6%; }
.wheel a:nth-of-type(2) { left: 84.6%; top: 38.8%; }
.wheel a:nth-of-type(3) { left: 71.4%; top: 79.4%; }
.wheel a:nth-of-type(4) { left: 28.6%; top: 79.4%; }
.wheel a:nth-of-type(5) { left: 15.4%; top: 38.8%; }
.steps-list { flex: 1 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; scroll-margin-top: 100px; }
.steps-list li:target { background: var(--ze-soft); border-color: var(--ze); }
.steps-list .step { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ze); }
.steps-list h3 { margin: 0 0 6px; font-size: 22px; }
.steps-list p { margin: 0 0 12px; font-size: 16px; color: var(--muted); }
.steps-list .quote { display: block; margin: 0 0 4px; font-size: 18px; line-height: 1.4; }
.steps-list .note { margin: 0; font-size: 14px; }

/* Two layers */
.layers { display: flex; flex-direction: column; gap: 12px; }
.layer { border-radius: 20px; padding: 28px 32px; background: #fff; border: 1px solid var(--line); }
.layer .label { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ze); }
.layer .name { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; }
.layer p:last-child { margin: 0; font-size: 15px; color: var(--muted); }
.layer.zen { background: var(--ze); border-color: var(--ze); color: #f4efe6; }
.layer.zen .label { color: #cfe3dd; }
.layer.zen p:last-child { color: #dce9e5; }
.formula { margin: 8px 0 0; text-align: center; font-weight: 600; }
.formula span { color: var(--ze); }

/* Values (dark) */
.values { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.values div { border-top: 1px solid #4e807e; padding-top: 24px; }
.values h3 { margin: 0 0 4px; font-size: 26px; color: #fff; }
.values .vi { margin: 0 0 12px; font-weight: 600; color: #cfe3dd; }
.values p { margin: 0; color: #dce9e5; }

/* A week at Zen */
.features { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.features svg { display: block; }
.features h3 { margin: 12px 0 8px; font-family: var(--sans); font-size: 18px; font-weight: 700; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }

/* Levels / programs */
.level { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: var(--paper); }
section:not(.white) .level { background: #fff; }
.level h3 { margin: 0 0 4px; font-size: 24px; }
.level .prog { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.level p { margin: 0 0 16px; }
.level .acts { margin: 0; font-size: 15px; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sage-ink); background: var(--sage); border-radius: 999px; padding: 3px 10px; }

/* Family card */
.family-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 12px 32px rgba(30, 42, 42, .06); }
.family-card .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 20px; }
.family-card .head strong { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.family-card .k { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.family-card .v { margin: 0 0 18px; }
.family-card .v:last-child { margin-bottom: 0; }
.family-card .quote { font-size: 19px; line-height: 1.45; }

/* Manifesto / CTA */
.manifesto { text-align: center; max-width: 820px; }
.manifesto blockquote { margin: 0 0 20px; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; }
.manifesto p { margin: 0 0 36px; color: var(--sand-text); }
.manifesto .small { margin: 16px 0 0; font-size: 15px; }

/* Sub-page heads and prose (also used by terms/privacy) */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page-head p { margin: 0; color: var(--muted); font-size: 18px; }
.page-head .eyebrow { margin: 0 0 14px; font-size: 14.5px; color: var(--ze); }
.prose { padding-top: 40px; padding-bottom: 72px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.note { font-size: 14px; color: var(--muted); }
.nw { white-space: nowrap; }

/* Footer */
footer.bottom { background: var(--ink); color: #c9d3d1; padding: 56px 0 32px; font-size: 15.5px; line-height: 1.7; }
footer.bottom .cols { display: grid; gap: 32px 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, .8fr); align-items: start; }
footer.bottom .brand img { display: block; height: 60px; width: auto; margin: 0 0 16px; }
footer.bottom .brand p { margin: 0; max-width: 300px; font-family: var(--serif); font-style: italic; font-size: 16px; color: #dfe6e4; }
footer.bottom h2 { margin: 6px 0 14px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8fa8a3; }
footer.bottom p { margin: 0 0 6px; }
footer.bottom .org { margin-top: 14px; color: #fff; font-weight: 600; }
footer.bottom a { color: #c9d3d1; }
footer.bottom a:hover { color: #fff; }
footer.bottom nav a { text-decoration: none; }
footer.bottom nav a:hover { text-decoration: underline; }
footer.bottom ul { list-style: none; margin: 0; padding: 0; }
footer.bottom li { margin: 0 0 8px; }
footer.bottom .copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a4747; font-size: 14px; color: #9fb0ad; }

@media (max-width: 980px) {
  footer.bottom .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer.bottom .brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  footer.bottom .cols { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 48px 0 64px; }
  section.block { padding: 64px 0; }
  .bubble.one, .bubble.three { margin-right: 0; }
  .bubble.two { margin-left: 0; }
  .bubble q { font-size: 19px; }
  .wheel a { width: 84px; height: 84px; }
  .wheel a b { font-size: 13px; }
  .pillar, .level, .family-card { padding: 24px; }
}
