/* Layout: 暖橙色为主的长页，橙色整块区段与杏色浅区段交替；金色只用于线条和小标记 */
:root {
  --sun: #E3702A;        /* 主橙 */
  --ember: #B8501A;      /* 深橙 */
  --apricot: #FCE5CF;    /* 浅杏 */
  --bg: #FFF4E8;         /* 页面底色 */
  --surface: #FFFBF6;    /* 卡片 */
  --gold: #B8902E;       /* 金 */
  --gold-soft: #E9CF8A;
  --ink: #3A2215;        /* 正文 */
  --muted: #7C5A44;
  --on-sun: #FFF7EE;     /* 橙底上的文字 */
  --line: rgba(184,144,46,.35);
  --shadow: 0 10px 30px rgba(184,80,26,.10);
  --f-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-latin: "Cormorant Garamond", "Georgia", serif;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; line-height: 1.35; margin: 0; }
p { margin: 0; }
.latin { font-family: var(--f-latin); font-style: italic; letter-spacing: .02em; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: 88px; scroll-margin-top: 56px; }
.sec-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 38px); }
.sec-head p { color: var(--muted); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--sun) 92%, transparent); backdrop-filter: blur(8px); color: var(--on-sun); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { font-family: var(--f-display); font-size: 18px; text-decoration: none; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.brand .latin { font-size: 17px; opacity: .85; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
.nav ul a { text-decoration: none; opacity: .9; white-space: nowrap; }
.nav ul a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 6px; }

/* hero */
.hero { background: radial-gradient(120% 90% at 78% 30%, #F6A458 0%, var(--sun) 45%, var(--ember) 100%); color: var(--on-sun); padding-block: 72px 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; }
.hero .latin-title { font-family: var(--f-latin); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: var(--gold-soft); margin-bottom: 18px; display: block; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy p { font-size: 17px; max-width: 34em; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.about-me { display: flex; align-items: center; gap: 20px; margin-top: 10px; padding: 18px 22px; max-width: 36em; background: rgba(255,247,238,.12); border: 1px solid rgba(255,244,232,.35); border-radius: 18px; backdrop-filter: blur(4px); }
.about-me a { flex: none; display: block; border-radius: 10px; overflow: hidden; border: 3px solid #FFF7EE; box-shadow: 0 6px 18px rgba(80,30,5,.25); transform: rotate(-3deg); transition: transform .25s ease; }
.about-me a:hover { transform: rotate(0deg) scale(1.03); }
.about-me img { width: 120px; height: auto; display: block; }
.about-text { display: grid; gap: 2px; min-width: 0; }
.about-tag { font-size: 12px; letter-spacing: .18em; color: #F3D58A; font-weight: 500; }
.about-name { font-family: var(--f-latin); font-size: 30px; font-weight: 600; line-height: 1.15; color: var(--on-sun); }
.about-text p { font-size: 14px !important; line-height: 1.7; opacity: .92; margin-top: 4px; }
@media (max-width: 520px) { .about-me { gap: 14px; padding: 14px 16px; } .about-me img { width: 88px; } .about-name { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .about-me a { transition: none; } }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: #F3D58A; color: #4A2A10; }
.btn-ghost { border: 1px solid rgba(255,244,232,.6); color: var(--on-sun); }
.halo { margin: 0; min-width: 0; display: grid; place-items: center; }
.halo svg { width: 100%; max-width: 360px; height: auto; }
.halo .ring-slow { transform-origin: 180px 180px; animation: turn 60s linear infinite; }
.halo .glow { transform-origin: 180px 180px; animation: breathe 6s ease-in-out infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .halo .ring-slow, .halo .glow { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* what is SRT */
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.intro-text { display: grid; gap: 18px; min-width: 0; }
.intro-text p { max-width: 36em; }
.mind { margin-top: 56px; display: grid; gap: 14px; }
.mind > h3 { font-size: 22px; color: var(--ember); }
.mind > p { max-width: 46em; color: var(--muted); }
.mind-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.mind-item { padding: 22px 24px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.mind-item + .mind-item { border-left: 1px solid var(--line); }
.mind-item .latin { color: var(--gold); font-size: 17px; }
.mind-item h4 { margin: 0; font-family: var(--f-display); font-size: 20px; }
.mind-item p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .mind-grid { grid-template-columns: 1fr; } .mind-item + .mind-item { border-left: 0; border-top: 1px solid var(--line); } }
.helps { margin-top: 6px; background: var(--apricot); border-radius: 14px; padding: 20px 22px; display: grid; gap: 10px; }
.helps h3 { font-size: 18px; color: var(--ember); }
.history { display: grid; gap: 14px; align-content: start; min-width: 0; }
.history h3 { font-size: 18px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line); display: grid; gap: 20px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--apricot); }
.timeline .yr { font-family: var(--f-latin); font-size: 22px; font-weight: 600; color: var(--ember); line-height: 1.2; }
.timeline p { font-size: 15px; color: var(--muted); }
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.concept { background: var(--surface); border-radius: 14px; padding: 26px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); }
.concept h3 { font-size: 20px; }
.concept .latin { color: var(--gold); font-size: 17px; }
.concept p { font-size: 15px; color: var(--muted); }

.why { background: var(--apricot); }
.why .hs { border-left-color: var(--sun); }

/* high self */
.compare, #me { background: var(--apricot); }
.more-link { margin-top: 32px; font-size: 15px; }
.more-link a { color: var(--ember); text-underline-offset: 4px; }
.hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.hs { display: grid; gap: 10px; align-content: start; padding-left: 18px; border-left: 2px solid var(--gold-soft); min-width: 0; }
.hs h3 { font-size: 20px; }
.hs p { font-size: 15px; color: var(--muted); max-width: 34em; }

/* learn */
.learn { background: var(--apricot); }
.learn .hs { border-left-color: var(--sun); }
.learn-title { font-size: 22px; color: var(--ember); margin: 8px 0 24px; }
.learn .wrap > * + .learn-title { margin-top: 64px; }
.learn .sec-head + .learn-title { margin-top: 0; }
.learn .mind, .learn .concepts { margin-top: 0; }
.fig { margin: 0 auto 28px; max-width: 520px; width: 100%; }
.fig-wide { max-width: 640px; overflow-x: auto; }
.fig svg { width: 100%; height: auto; display: block; min-width: 0; }
.fig-wide svg { min-width: 520px; }
.fig text { font-family: var(--f-body); }
.d-label { font-size: 15px; font-weight: 500; fill: var(--ink); }
.d-sub { font-size: 12px; fill: var(--muted); }
.d-accent { fill: var(--ember); }
.d-water { fill: var(--sun); opacity: .14; }
.d-waterline { stroke: var(--sun); stroke-width: 1.5; stroke-dasharray: 5 5; }
.d-sun { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1.5; }
.d-rays line { stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; }
.d-ice { fill: var(--surface); stroke: var(--gold); stroke-width: 1.5; }
.d-ice-under { fill: var(--sun); opacity: .35; stroke: var(--sun); stroke-width: 1.5; }
.d-box rect { fill: var(--surface); stroke: var(--gold); stroke-width: 1.2; }
.d-arrow line, .d-arrow path { stroke: var(--sun); stroke-width: 1.6; fill: none; }
.d-arrowhead { fill: var(--sun); }
.d-clear circle { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1.2; }
.d-clear path { fill: none; stroke: var(--ember); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.d-dash { stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 4; }
.d-halo { fill: var(--gold-soft); opacity: .25; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 6; }
.d-link line { stroke: var(--gold); stroke-width: 1.2; opacity: .8; }
.d-star circle { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1.2; }
.d-you { fill: var(--sun); }
.d-you-t { fill: var(--on-sun); font-size: 18px; }
.mini { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.mini li::marker { color: var(--sun); }

/* compare */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.cmp-srt { border-color: var(--sun); box-shadow: var(--shadow); }
.cmp h3 { font-size: 22px; }
.cmp-srt h3 { color: var(--ember); }
.cmp dl { margin: 0; display: grid; gap: 4px; }
.cmp dt { font-size: 13px; letter-spacing: .1em; color: var(--gold); font-weight: 500; margin-top: 10px; }
.cmp dd { margin: 0; font-size: 15px; color: var(--muted); }
.cmp-note { margin-top: 28px; max-width: 46em; font-size: 15px; color: var(--muted); }

/* session flow */
.flow { background: var(--bg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--sun); min-width: 0; }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; color: var(--muted); }
.react-intro { max-width: 46em; color: var(--muted); margin-bottom: 20px; }
.react-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.react { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; min-width: 0; }
.react h4 { margin: 0 0 10px; font-family: var(--f-display); font-size: 18px; color: var(--ember); }
.react dl { margin: 0; display: grid; grid-template-columns: minmax(0, 11em) 1fr; gap: 8px 14px; }
.react dt { font-size: 14px; font-weight: 500; color: var(--ink); }
.react dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.react-note { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--surface); border-left: 3px solid var(--ember); font-size: 14px; color: var(--ink); max-width: 60em; }
@media (max-width: 860px) { .react-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .react dl { grid-template-columns: 1fr; gap: 2px; } .react dd { margin-bottom: 8px; } }
.flow .sec-head { margin-bottom: 24px; }
.flow-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; display: grid; gap: 18px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.flow-steps > li:not(.flow-arrow) { display: flex; align-items: center; gap: 14px; min-width: 0; }
.flow-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--on-sun); display: grid; place-items: center; font-family: var(--f-body); font-size: 18px; font-weight: 700; }
.flow-steps h3 { font-size: 18px; }
.flow-steps p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.flow-arrow { color: var(--gold); font-size: 24px; line-height: 1; text-align: center; }
.flow-info { margin: 0; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.flow-info > div { display: flex; gap: 14px; align-items: baseline; }
.flow-info dt { flex: none; font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--ember); }
.flow-info dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.flow-info a { color: var(--ember); text-underline-offset: 3px; }
#reactions { scroll-margin-top: 80px; }
@media (max-width: 640px) { .flow-steps { grid-template-columns: 1fr; gap: 10px; } .flow-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 10px; } .flow-card { padding: 20px; } }
.step-n { font-family: var(--f-latin); font-size: 34px; font-weight: 600; line-height: 1; color: var(--sun); }
.prep { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prep > div { background: var(--surface); border-radius: 14px; padding: 24px 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.prep h3 { font-size: 18px; }
.prep p, .prep li { font-size: 15px; color: var(--muted); }
.prep ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.prep li::marker { color: var(--sun); }
.order { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; font-size: 15px; }
.order span { background: rgba(255,247,238,.16); border: 1px solid rgba(255,247,238,.45); border-radius: 999px; padding: 4px 14px; }
.order i { font-style: normal; color: var(--gold-soft); }

/* services */
.services { background: linear-gradient(180deg, var(--sun), var(--ember)); color: var(--on-sun); }
.services .sec-head p { color: var(--on-sun); opacity: .88; }
.svc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.svc { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); display: grid; gap: 18px; min-width: 0; }
.svc-top { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.svc-top .tag { font-size: 13px; color: var(--ember); font-weight: 700; letter-spacing: .1em; }
.svc-top h3 { font-size: 26px; }
.svc-top .latin { color: var(--gold); font-size: 19px; }
.svc-top .meta { font-size: 14px; color: var(--muted); }
.chips { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 14px; color: var(--ink); }
.svc-intro { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.svc-intro b { color: var(--ink); font-weight: 500; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.items li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.items .num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--f-latin); font-weight: 600; font-size: 16px; margin-top: 2px; }
.items .chk { width: 30px; height: 30px; display: grid; place-items: center; color: var(--sun); }
.items b { font-weight: 500; }
.items .en { font-family: var(--f-latin); font-style: italic; color: var(--gold); font-size: 16px; }
.items small { display: block; font-size: 14px; color: var(--muted); line-height: 1.7; }
.example { background: var(--apricot); border-radius: 12px; padding: 18px 20px; font-size: 15px; display: grid; gap: 6px; }
.example strong { color: var(--ember); font-weight: 700; font-size: 14px; letter-spacing: .06em; }

/* about me */
.me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.me-text { display: grid; gap: 18px; min-width: 0; }
.me-text h2 { font-size: clamp(28px, 4vw, 38px); }
.creds { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.creds li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.creds .lv { font-size: 13px; letter-spacing: .1em; color: var(--on-sun); background: var(--sun); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.creds span { font-size: 15px; }
.creds em { font-style: normal; color: var(--muted); font-size: 14px; display: block; font-variant-numeric: tabular-nums; }
.cert-fig { margin: 0; min-width: 0; }
.cert-fig img { border-radius: 14px; box-shadow: var(--shadow); border: 6px solid var(--surface); }
.cert-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* feedback */
.feedback { background: var(--bg); }
.fb-quotes { margin-top: 40px; display: grid; gap: 14px; }
.fb-quotes .quotes { grid-template-columns: repeat(3, 1fr); align-items: start; }
.fb-tip { margin-top: 12px; font-size: 13px; color: var(--muted); }
.quotes { display: grid; gap: 18px; min-width: 0; }
.quote { margin: 0; background: var(--surface); border-radius: 14px; padding: 22px 24px 20px 54px; position: relative; font-size: 16px; }
.quote::before { content: "“"; position: absolute; left: 16px; top: -4px; font-family: var(--f-latin); font-size: 64px; color: var(--gold); line-height: 1; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
.fb-note { font-size: 13px; color: var(--muted); }
.fb-more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; align-items: start; }
.fb-more figure { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; min-width: 0; }
.fb-more a { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.fb-more img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; transition: transform .3s ease; }
.fb-more a:hover img { transform: scale(1.03); }
.fb-more figcaption { font-size: 14px; color: var(--muted); line-height: 1.7; }
.fb-more strong { display: block; color: var(--ember); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 860px) { .fb-more { grid-template-columns: 1fr; } .fb-more figure { grid-template-columns: 96px 1fr; } .fb-quotes .quotes { grid-template-columns: 1fr; } }
.changes { margin-top: 48px; background: var(--surface); border-radius: 16px; padding: 30px; display: grid; gap: 12px; max-width: 820px; }
.changes h3 { font-size: 22px; color: var(--ember); }
.changes ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.changes li::marker { color: var(--sun); }

/* faq */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sun); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 18px; color: var(--muted); font-size: 15px; }

/* closing */
.closing { background: radial-gradient(100% 120% at 20% 0%, #F6A458 0%, var(--sun) 40%, var(--ember) 100%); color: var(--on-sun); text-align: center; }
.closing .wrap { display: grid; gap: 18px; justify-items: center; }
.closing h2 { font-size: clamp(26px, 3.6vw, 36px); }
.closing p { max-width: 34em; opacity: .92; }
footer { background: var(--ember); color: var(--on-sun); font-size: 13px; padding-block: 28px; }
footer .wrap { display: grid; gap: 8px; opacity: .88; }

@media (max-width: 860px) {
  section { padding-block: 64px; }
  .hero .wrap, .intro-grid, .svc-grid, .me-grid { grid-template-columns: 1fr; }
  .concepts, .hs-grid, .prep, .cmp-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .halo svg { max-width: 260px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .nav .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav ul { gap: 16px; width: 100%; }
  section { scroll-margin-top: 84px; }
  .svc { padding: 24px 20px; }
}

/* learn page */
.page-head { background: radial-gradient(120% 90% at 78% 30%, #F6A458 0%, var(--sun) 45%, var(--ember) 100%); color: var(--on-sun); padding-block: 56px 44px; }
.page-head .wrap { display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); }
.page-head p { max-width: 40em; opacity: .95; }
.page-head .latin-title { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.toc a { text-decoration: none; font-size: 14px; padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(255,244,232,.5); color: var(--on-sun); }
.toc a:hover { background: rgba(255,247,238,.16); }
.learn-title { scroll-margin-top: 80px; }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 6px; }
/* contact form */
.contact { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(184,80,26,.14); border: 1px solid var(--line); background: var(--surface); }
.contact-intro { background: radial-gradient(120% 100% at 0% 0%, #F6A458 0%, var(--sun) 50%, var(--ember) 100%); color: var(--on-sun); padding: 34px 32px; display: grid; gap: 12px; align-content: start; }
.contact-eyebrow { font-family: var(--f-latin); font-style: italic; font-size: 18px; color: #F3D58A; }
.contact-intro h3 { font-size: 28px; line-height: 1.3; color: var(--on-sun); }
.contact-intro > p { font-size: 15px; opacity: .92; }
.contact-points { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,244,232,.3); display: grid; gap: 10px; }
.contact-points li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.6; opacity: .95; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,247,238,.22); box-shadow: inset 0 0 0 1.5px #F3D58A; }
.contact-points li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 4px; border-left: 1.5px solid #FFF7EE; border-bottom: 1.5px solid #FFF7EE; transform: rotate(-45deg); }
.contact-form { padding: 30px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; min-width: 0; align-content: start; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); padding: 0; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-bottom: 1.5px solid var(--line); border-radius: 10px 10px 4px 4px; padding: 11px 14px; transition: border-color .2s ease, background .2s ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .6; }
.field textarea { resize: vertical; min-height: 104px; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--line); border-bottom-color: var(--sun); box-shadow: 0 0 0 3px rgba(227,112,42,.12); }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick label { cursor: pointer; }
.chips-pick input { position: absolute; opacity: 0; pointer-events: none; }
.chips-pick span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.chips-pick input:checked + span { background: var(--apricot); border-color: var(--sun); color: var(--ember); font-weight: 500; }
.chips-pick input:checked + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.chips-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.btn-sun { background: linear-gradient(135deg, #F08A45, var(--sun) 55%, var(--ember)); color: var(--on-sun); border: 0; cursor: pointer; font: inherit; font-weight: 500; padding: 12px 26px; box-shadow: 0 8px 18px rgba(184,80,26,.25); }
.btn-sun::after { content: "→"; margin-left: 4px; transition: transform .2s ease; }
.btn-sun:hover::after { transform: translateX(3px); }
.btn-sun:disabled { opacity: .6; cursor: default; }
.form-status { font-size: 14px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err { padding: 6px 14px; border-radius: 999px; }
.form-status.ok { color: #2F7A3E; background: rgba(47,122,62,.1); }
.form-status.err { color: var(--ember); background: rgba(184,80,26,.1); }
.hp { display: none; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .contact-intro { padding: 26px 22px; } .contact-intro h3 br { display: none; } .contact-form { grid-template-columns: 1fr; padding: 24px 22px; } }
@media (prefers-reduced-motion: reduce) { .btn-sun::after, .field input, .field textarea, .chips-pick span { transition: none; } }
/* what: quote + areas */
.what-quote { margin: 0; align-self: center; justify-self: center; padding: 8px 0 8px 28px; border-left: 3px solid var(--sun); }
.what-quote p { font-family: var(--f-display); font-size: 18px; line-height: 1.7; color: var(--muted); }
.what-quote .what-quote-em { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.5; color: var(--ember); font-weight: 700; }
.areas { margin-top: 56px; }
.areas-title { font-size: 24px; }
.areas-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.areas-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; min-width: 0; }
.area h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 19px; color: var(--ink); }
.area svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--sun); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.area ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.area li { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.area li::marker { color: var(--sun); }
.areas-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .areas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .areas-grid { grid-template-columns: 1fr; } }
.ig-link { margin-top: 10px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: rgba(255,247,238,.14); border: 1px solid rgba(255,244,232,.35); color: var(--on-sun); text-decoration: none; justify-self: start; transition: background .2s ease; }
.ig-link:hover { background: rgba(255,247,238,.24); }
.ig-link svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #FFF7EE; stroke-width: 1.7; }
.ig-link svg .dot { fill: #FFF7EE; stroke: none; }
.ig-link span { display: grid; font-size: 12px; line-height: 1.4; opacity: .95; }
.ig-link b { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.footer-ig { color: inherit; text-underline-offset: 3px; }
/* nav cta */
.nav ul { align-items: center; }
.nav .nav-cta { background: #FFF7EE; color: var(--ember); padding: 5px 14px; border-radius: 999px; font-weight: 500; opacity: 1; }
.nav .nav-cta:hover { text-decoration: none; background: #F3D58A; color: #4A2A10; }

/* home teasers */
.teaser { background: var(--apricot); }
.teaser-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: stretch; }
.teaser-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.teaser-card h2 { font-size: clamp(24px, 3vw, 30px); }
.teaser-card > p { color: var(--muted); font-size: 15px; }
.teaser-card .btn { justify-self: start; }
.teaser-card .order span { background: var(--apricot); border-color: var(--line); color: var(--ember); }
.teaser-card .order i { color: var(--gold); }
.btn-outline { border: 1px solid var(--sun); color: var(--ember); background: transparent; }
.btn-outline:hover { background: var(--apricot); }
.fb-mini { grid-template-columns: 1fr; gap: 14px; }
.fb-mini figure { grid-template-columns: 88px 1fr; }
.contact-sec { padding-block: 72px 88px; }
.contact-sec .contact { margin-top: 0; }
#contact, #contact-sec { scroll-margin-top: 80px; }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; } }
/* teaser rows: one shared format for both cards */
.teaser-card { display: flex; flex-direction: column; gap: 18px; }
.teaser-card > .btn { margin-top: auto; align-self: flex-start; }
.t-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.t-rows li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.t-mark { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--apricot); color: var(--ember); font-weight: 700; font-size: 20px; overflow: hidden; border: 1px solid var(--line); }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t-rows strong { display: block; font-size: 16px; color: var(--ink); font-weight: 500; }
.t-rows p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
@media (min-width: 700px) { .more-link { white-space: nowrap; } }
/* learn dropdown */
.has-menu { position: relative; }
.nav .submenu { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 200px; flex-direction: column; gap: 0; padding: 8px; margin: 0; overflow: visible; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(80,30,5,.18); z-index: 20; }
.nav .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav .submenu li { list-style: none; }
.nav .submenu a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ink); opacity: 1; font-size: 14px; white-space: nowrap; text-decoration: none; }
.nav .submenu a:hover, .nav .submenu a:focus-visible { background: var(--apricot); color: var(--ember); text-decoration: none; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .8; }
@media (min-width: 521px) {
  .nav ul { overflow: visible; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: flex; }
}
/* comparison inside FAQ */
.faq-body { display: grid; gap: 14px; padding-bottom: 18px; }
.faq-body p { padding-bottom: 0; }
.faq-body .cmp-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-body .cmp { padding: 18px 20px; }
.faq-body .cmp h3 { font-size: 18px; }
.faq-body .cmp-note { margin-top: 0; }
@media (max-width: 760px) { .faq-body .cmp-grid { grid-template-columns: 1fr; } }
.notes { background: var(--apricot); }
.notes .learn-title { margin: 0 0 14px; }
.notes .react { background: var(--surface); }
.lang-switch { font-size: 13px; padding: 3px 10px; border: 1px solid rgba(255,244,232,.55); border-radius: 999px; }

/* ===== design polish ===== */
/* gold ornament above every section title: echoes the sun/halo motif */
.sec-head h2, .teaser-card h2, .areas-title, .page-head h1 { position: relative; }
.sec-head h2::before, .teaser-card h2::before, .areas-title::before {
  content: ""; display: block; width: 44px; height: 10px; margin-bottom: 14px;
  background:
    radial-gradient(circle at 5px 5px, var(--sun) 0 4px, transparent 4.5px),
    linear-gradient(90deg, var(--gold) 0, var(--gold) 100%) no-repeat 14px 4.5px / 30px 1.5px;
}
.services .sec-head h2::before, .closing h2::before { background:
    radial-gradient(circle at 5px 5px, #F3D58A 0 4px, transparent 4.5px),
    linear-gradient(90deg, #F3D58A, #F3D58A) no-repeat 14px 4.5px / 30px 1.5px; }

/* faint concentric rings in the corner of light sections (same motif as the hero halo) */
.teaser, .notes, .learn, .compare, .contact-sec, #what, #faq, .feedback, .flow {
  background-image:
    radial-gradient(circle at 94% 6%, rgba(243,213,138,.30) 0, transparent 22%),
    repeating-radial-gradient(circle at 94% 6%, transparent 0 46px, rgba(184,144,46,.07) 46px 47px, transparent 47px 92px);
  background-repeat: no-repeat;
  background-size: 100% 760px;
}
#faq, .flow, .feedback, #what { background-image:
    radial-gradient(circle at 4% 96%, rgba(243,213,138,.28) 0, transparent 22%),
    repeating-radial-gradient(circle at 4% 96%, transparent 0 46px, rgba(184,144,46,.06) 46px 47px, transparent 47px 92px);
  background-position: bottom left; }

/* cards: warmer surfaces, soft lift on hover, gradient top edge */
.teaser-card, .area, .react, .cmp, .concept, .flow-card, .svc, .changes, .quote {
  transition: transform .25s ease, box-shadow .25s ease;
}
.teaser-card, .area, .react, .concept { box-shadow: 0 6px 22px rgba(184,80,26,.06); position: relative; overflow: hidden; }
.teaser-card::before, .area::before, .concept::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--sun), var(--gold-soft) 60%, transparent);
}
.teaser-card:hover, .area:hover, .concept:hover, .react:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(184,80,26,.12); }

/* teaser rows: number badges and thumbnails as glowing tiles */
.t-mark { background: radial-gradient(circle at 30% 25%, #FFF4D6 0, #FCE5CF 45%, #F6C99A 100%); border-color: rgba(184,144,46,.35); font-family: var(--f-latin); font-size: 26px; font-weight: 600; box-shadow: 0 4px 12px rgba(184,80,26,.12); }
.t-thumb { background: var(--surface); }
.t-rows li { padding: 10px 12px; margin: 0 -12px; border-radius: 14px; transition: background .2s ease; }
.t-rows li:hover { background: var(--apricot); }
.teaser-card h2 { font-size: clamp(24px, 2.6vw, 30px); }

/* area icons sit in a soft sun disc */
.area h4 svg { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: radial-gradient(circle, #FFF4D6, #FCE5CF); }

/* pull quote gets an oversized gold quotation mark */
.what-quote { position: relative; }
.what-quote::before { content: "“"; position: absolute; left: 18px; top: -46px; font-family: var(--f-latin); font-size: 110px; line-height: 1; color: var(--gold-soft); opacity: .7; }

/* orange bands get a gentle curved top edge */
.services, .closing { position: relative; border-radius: 48px 48px 0 0; margin-top: -24px; }
.services::after, .closing::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-radial-gradient(circle at 12% 0%, transparent 0 60px, rgba(255,247,238,.06) 60px 61px, transparent 61px 120px);
}
.services > .wrap, .closing > .wrap { position: relative; z-index: 1; }

/* page heads: same halo rings as the hero */
.page-head { position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,244,214,.55) 0, rgba(243,213,138,.18) 35%, transparent 62%),
              repeating-radial-gradient(circle, transparent 0 34px, rgba(255,244,214,.18) 34px 35px); }
.page-head .wrap { position: relative; z-index: 1; }

/* footer: thin gold rule and more breathing room */
footer { border-top: 1px solid rgba(243,213,138,.4); padding-block: 36px; }

@media (prefers-reduced-motion: reduce) {
  .teaser-card, .area, .react, .cmp, .concept, .t-rows li { transition: none; }
  .teaser-card:hover, .area:hover, .concept:hover, .react:hover { transform: none; }
}
.t-mark { font-family: var(--f-body); font-size: 22px; font-weight: 700; }

/* larger nav */
.nav .wrap { padding-block: 16px; }
.brand { font-size: 22px; }
.brand .latin { font-size: 19px; }
.nav ul { gap: 26px; font-size: 16px; }
.nav .nav-cta { padding: 7px 18px; font-size: 15px; }
.lang-switch { font-size: 14px; padding: 4px 12px; }
.nav .submenu a { font-size: 15px; }
section { scroll-margin-top: 72px; }
@media (max-width: 860px) { .nav ul { gap: 18px; font-size: 15px; } .brand .latin { display: none; } }
@media (max-width: 520px) { .nav .wrap { padding-block: 10px; } .brand { font-size: 20px; } .nav ul { font-size: 14px; } }
/* ===== copy rewrite support ===== */
.hero-note { font-size: 14px !important; opacity: .85 !important; margin-top: -10px; }
.areas-grid.areas-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .areas-grid.areas-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .areas-grid.areas-4 { grid-template-columns: 1fr; } }
.t-note { font-size: 13px; color: var(--muted); }
.flow-info-top { padding-top: 0; border-top: 0; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.note-card { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--sun); border-radius: 0 16px 16px 0; padding: 22px 26px; display: grid; gap: 10px; max-width: 760px; scroll-margin-top: 90px; }
.note-card h3 { font-size: 19px; color: var(--ember); }
.note-card p { font-size: 15px; color: var(--muted); }
.terms { display: grid; gap: 10px; max-width: 900px; }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; scroll-margin-top: 90px; }
.term summary { display: grid; grid-template-columns: minmax(0, 9em) 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; }
.term summary::after { align-self: center; }
.term summary b { font-family: var(--f-display); font-size: 17px; color: var(--ember); font-weight: 700; }
.term summary span { font-size: 15px; color: var(--ink); font-weight: 400; }
.term-body { display: grid; gap: 10px; padding: 4px 0 20px; border-top: 1px dashed var(--line); padding-top: 16px; }
.term-body p { font-size: 15px; color: var(--muted); padding: 0; }
.term-body .fig { margin-bottom: 6px; }
@media (max-width: 600px) { .term summary { grid-template-columns: 1fr auto; } .term summary span { grid-column: 1 / 2; } .term summary::after { grid-row: 1; grid-column: 2; } }
.fb-disclaimer { margin-bottom: 22px; padding: 12px 16px; border-radius: 12px; background: var(--apricot); color: var(--ink); font-size: 14px; max-width: 46em; }
.fb-quotes-title { font-size: 20px; margin-bottom: 4px; }
.flow-steps { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .flow-steps { grid-template-columns: 1fr; } }

.svc-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.svc { align-content: start; }
.items .num { font-family: var(--f-body); font-size: 14px; font-weight: 700; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

.notes .note-card + .react-intro { margin-top: 28px; }

/* always light, even when the phone is in dark mode */
:root { color-scheme: light only; }
html, body { background: #FFF4E8; }

/* ===== mobile layout ===== */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  /* nav: brand + menu button; links open as a panel */
  .nav .wrap { flex-direction: row !important; align-items: center !important; flex-wrap: wrap; gap: 0 !important; padding-block: 12px !important; }
  .brand { font-size: 21px; }
  .brand .latin { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 38px; margin-left: auto; padding: 0 10px; border: 1px solid rgba(255,244,232,.55); border-radius: 10px; background: transparent; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: #FFF7EE; transition: transform .2s ease, opacity .2s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav > .wrap > ul { display: none !important; width: 100%; flex-direction: column; align-items: stretch !important; gap: 0 !important; margin-top: 12px; padding: 6px 0 4px; border-top: 1px solid rgba(255,244,232,.3); overflow: visible !important; font-size: 16px !important; }
  .nav.open > .wrap > ul { display: flex !important; }
  .nav > .wrap > ul > li > a { display: block; padding: 11px 2px; }
  .nav .has-menu > a::after { display: none; }
  .nav .submenu { display: flex !important; position: static; transform: none; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 14px; margin: 0; }
  .nav .submenu::before { display: none; }
  .nav .submenu a { color: var(--on-sun); opacity: .82; padding: 6px 2px; font-size: 14.5px; white-space: normal; }
  .nav .submenu a:hover { background: transparent; color: var(--on-sun); opacity: 1; }
  .nav .nav-cta { display: inline-block !important; margin: 10px 0 4px; text-align: center; }
  .lang-switch { display: inline-block !important; margin-bottom: 6px; }

  /* hero: tighter, no big halo */
  .hero { padding-block: 40px 44px; }
  .hero .halo { display: none; }
  .hero h1 { font-size: 30px; }
  .hero .latin-title { font-size: 18px; margin-bottom: 10px; }
  .hero-copy { gap: 18px; }
  .hero-copy p { font-size: 15.5px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .about-me { padding: 14px; gap: 14px; }
  .about-me img { width: 78px; }
  .about-name { font-size: 24px; }
  .about-text p { font-size: 13.5px !important; }

  /* sections and headings */
  section { padding-block: 52px; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2, .teaser-card h2, .me-text h2 { font-size: 25px; }
  .page-head { padding-block: 36px 30px; }
  .page-head h1 { font-size: 27px; }
  .page-head::after { width: 220px; height: 220px; right: -70px; top: -60px; }
  .toc a { font-size: 13px; padding: 3px 11px; }
  .learn-title { font-size: 20px; }
  .learn .wrap > * + .learn-title { margin-top: 44px; }

  /* intro + quote */
  .intro-grid { gap: 22px; }
  .what-quote { padding: 4px 0 4px 18px; }
  .what-quote::before { font-size: 70px; top: -30px; left: 10px; }
  .what-quote .what-quote-em { font-size: 21px; }

  /* cards */
  .area, .teaser-card, .svc, .react, .cmp, .concept, .hs, .changes, .flow-card, .note-card { padding: 18px; }
  .hs { padding: 0 0 0 14px; }
  .areas { margin-top: 40px; }
  .areas-title { font-size: 22px; }
  .area h4 { font-size: 17px; }
  .svc-top h3 { font-size: 22px; }
  .services, .closing { border-radius: 28px 28px 0 0; }
  .t-rows li { grid-template-columns: 48px 1fr; gap: 12px; }
  .t-mark { width: 48px; height: 48px; font-size: 18px; }
  .flow-info > div { flex-direction: column; gap: 2px; }
  .react dl { grid-template-columns: 1fr; gap: 2px; }
  .react dd { margin-bottom: 8px; }
  .closing h2 { font-size: 23px; }
  footer { padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }
@media (max-width: 760px) { .nav.open > .wrap > ul { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto !important; -webkit-overflow-scrolling: touch; } }

/* mobile nav v2: small always-visible links instead of a menu button */
@media (max-width: 760px) {
  .nav-toggle { display: none !important; }
  .nav .wrap { flex-direction: column !important; align-items: stretch !important; gap: 6px !important; padding-block: 10px 8px !important; }
  .brand { font-size: 19px; }
  .nav > .wrap > ul, .nav.open > .wrap > ul { display: flex !important; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center !important; gap: 4px !important; width: 100%; margin: 0; padding: 0; border: 0; max-height: none; overflow: visible !important; font-size: 13.5px !important; }
  .nav > .wrap > ul > li > a { padding: 4px 0; white-space: nowrap; }
  .nav .submenu { display: none !important; }
  .nav .nav-cta { margin: 0; padding: 3px 11px; font-size: 13px; }
  .lang-switch { margin: 0; font-size: 12px; padding: 2px 8px; }
}
/* mobile: smaller type overall */
@media (max-width: 760px) {
  body { font-size: 14.5px; line-height: 1.75; }
  .nav > .wrap > ul, .nav.open > .wrap > ul { font-size: 13px !important; }
  .hero h1 { font-size: 27px; }
  .hero .latin-title { font-size: 16px; }
  .hero-copy p, .intro-text p { font-size: 14.5px; }
  .btn { font-size: 14px; padding: 10px 18px; }
  .sec-head h2, .teaser-card h2 { font-size: 22px; }
  .sec-head p, .areas-sub, .react-intro, .cmp-note { font-size: 14px; }
  .page-head h1 { font-size: 24px; }
  .page-head p { font-size: 14px; }
  .learn-title { font-size: 18px; }
  .areas-title { font-size: 20px; }
  .area h4, .hs h3, .concept h3, .react h4, .steps h3, .flow-steps h3 { font-size: 16px; }
  .area li, .hs p, .concept p, .mini, .items small, .svc-intro, .example, .example p, .flow-info dd, .react dt, .react dd, .t-rows p, .fb-more figcaption, .quote, .changes li, details p, .note-card p, .mind-item p, .timeline p { font-size: 13.5px; }
  .t-rows strong, .items b, summary { font-size: 14.5px; }
  .svc-top h3 { font-size: 20px; }
  .what-quote .what-quote-em { font-size: 19px; }
  .about-name { font-size: 22px; }
  .about-text p { font-size: 13px !important; }
  .closing h2 { font-size: 21px; }
  .closing p { font-size: 14px; }
  footer { font-size: 12px; }
}
/* mobile v3: compact blocks, collapsible topic cards */
@media (max-width: 760px) {
  body { font-size: 14px; line-height: 1.7; }
  section { padding-block: 40px; }
  .sec-head { margin-bottom: 18px; gap: 8px; }
  .sec-head h2, .teaser-card h2 { font-size: 20px; }
  .sec-head h2::before, .teaser-card h2::before, .areas-title::before { margin-bottom: 8px; }
  .hero { padding-block: 30px 34px; }
  .hero h1 { font-size: 25px; }
  .hero-copy { gap: 14px; }
  .hero-copy p, .intro-text p { font-size: 14px; }
  .about-me { padding: 12px; gap: 12px; }
  .about-me img { width: 64px; }
  .about-name { font-size: 20px; }
  .about-text p { font-size: 12.5px !important; line-height: 1.6; }
  .intro-text { gap: 10px; }
  .what-quote .what-quote-em { font-size: 17px; }
  .what-quote::before { display: none; }

  /* topic cards collapse to one-line rows; tap to open */
  .areas { margin-top: 26px; }
  .areas-title { font-size: 18px; }
  .areas-sub { font-size: 13px; }
  .areas-grid, .areas-grid.areas-4 { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
  .area { padding: 0 14px; }
  .area::before { height: 2px; }
  .area h4 { margin: 0; padding: 10px 0; font-size: 15px; cursor: pointer; }
  .area h4 svg { width: 30px; height: 30px; padding: 5px; }
  .area h4::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid var(--sun); border-bottom: 1.5px solid var(--sun); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
  .area.open h4::after { transform: rotate(-135deg) translateY(-2px); }
  .area ul { display: none; padding: 0 0 12px 1.1em; }
  .area.open ul { display: grid; }
  .area li { font-size: 13px; }
  .area:hover { transform: none; }

  /* other blocks a bit tighter */
  .teaser-grid { gap: 14px; }
  .teaser-card { padding: 16px; gap: 12px; }
  .t-rows { gap: 6px; }
  .t-rows li { padding: 6px 8px; margin: 0 -8px; grid-template-columns: 42px 1fr; }
  .t-mark { width: 42px; height: 42px; font-size: 16px; border-radius: 12px; }
  .t-rows strong { font-size: 14px; }
  .t-rows p { font-size: 12.5px; }
  .contact-intro { padding: 20px 18px; gap: 8px; }
  .contact-intro h3 { font-size: 21px; }
  .contact-points { padding-top: 10px; gap: 6px; }
  .contact-points li { font-size: 13px; }
  .contact-form { padding: 18px; gap: 12px; }
  .field input[type="text"], .field input[type="email"], .field textarea { padding: 9px 12px; font-size: 14px; }
  .field textarea { min-height: 84px; }
  .chips-pick span { font-size: 13px; padding: 5px 12px; }
  .page-head { padding-block: 28px 24px; }
  .page-head h1 { font-size: 22px; }
  .page-head .wrap { gap: 10px; }
  .learn-title { font-size: 17px; margin-bottom: 14px !important; }
  .learn .wrap > * + .learn-title { margin-top: 34px; }
  .hs-grid { gap: 18px; }
  .hs h3, .concept h3 { font-size: 15px; }
  .hs p, .concept p, .mini, .mind-item p, .timeline p { font-size: 13px; }
  .svc-top { padding-bottom: 12px; }
  .svc-top h3 { font-size: 19px; }
  .items { gap: 10px; }
  .items b { font-size: 14px; }
  .items small { font-size: 12.5px; }
  .example { padding: 12px 14px; }
  .example p, .svc-intro { font-size: 13px; }
  details { padding: 2px 16px; }
  summary { font-size: 14px; padding: 12px 0; }
  details p { font-size: 13px; padding-bottom: 12px; }
  .react h4 { font-size: 15px; }
  .react dt, .react dd { font-size: 12.5px; }
  .fb-more figcaption { font-size: 12.5px; }
  .quote { font-size: 13px; padding: 16px 16px 14px 40px; }
  .quote::before { font-size: 46px; left: 10px; }
  .closing { padding-block: 36px; }
  .closing h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .area h4::after { transition: none; } }
@media (max-width: 760px) { .what-quote { display: none; } }
