/* Sinteva — Chinese medicine clinic, Jerusalem & Mevaseret Zion
   Layout: RTL editorial; a Jerusalem-stone arch frames the practitioner,
   a thin "meridian" line with point labels runs through the content,
   one cinnabar seal (针灸) is the only loud accent. Single light theme by choice. */
:root {
  color-scheme: light;
  --paper: #F3F5F1;      /* pale sage-stone ground */
  --surface: #FFFFFF;
  --ink: #15241F;        /* body text */
  --forest: #1F4D3D;     /* primary: brand green, deepened */
  --forest-deep: #12302A;
  --leaf: #376F27;       /* Sinteva logo green, darkened to pass WCAG AA contrast (6:1 on white) */
  --leaf-soft: #E4EEDD;
  --seal: #B83A2E;       /* cinnabar seal — used sparingly */
  --muted: #56655F;
  --line: #D6DED7;
  --wa: #1F8F4E;

  --display: "Bellefair", "Frank Ruhl Libre", "David", Georgia, serif;
  --body: "IBM Plex Sans Hebrew", "Assistant", "Segoe UI", Arial, sans-serif;
  --cjk: "Noto Serif SC", "Songti SC", "SimSun", "Microsoft YaHei", serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 3.9rem);

  --radius: 14px;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; color: var(--forest-deep); text-wrap: balance; margin: 0; letter-spacing: -.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.cjk { font-family: var(--cjk); letter-spacing: .05em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--forest); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; color: var(--leaf); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.lead { font-size: var(--step-1); line-height: 1.7; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; font: 600 1rem/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17733e; color: #fff; }
.btn-line { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-line:hover { background: var(--forest); color: #fff; }
.btn-light { background: #fff; color: var(--forest-deep); }
.btn-light:hover { background: var(--leaf-soft); color: var(--forest-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.topbar { background: var(--forest-deep); color: #DCE8E1; font-size: var(--step--1); }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.4rem; padding-block: .45rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span { display: inline-flex; gap: .4rem; align-items: center; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
@media (min-width: 921px) { .site-header { backdrop-filter: saturate(1.4) blur(8px); } }
.site-header .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--forest-deep); flex: none; }
.brand svg { width: 38px; height: 38px; }
.brand b { font: 400 1.85rem/1 var(--display); display: block; }
.brand small { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .02em; margin-top: .15rem; }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav a, .nav button.sub-toggle { display: block; white-space: nowrap; padding: .55rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 .98rem/1.3 var(--body); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button.sub-toggle:hover, .nav a[aria-current="page"] { color: var(--forest); background: var(--leaf-soft); }
.has-sub { position: relative; }
.sub-toggle::after { content: ""; display: inline-block; width: .45em; height: .45em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-3px); margin-inline-start: .45rem; }
.sub { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(18,48,42,.35); padding: .5rem; display: none !important; flex-direction: column; align-items: stretch !important; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: flex !important; }
.nav .lang { font-family: var(--body); border: 1px solid var(--line); border-radius: 999px; padding-inline: .9rem; }
.header-cta { flex: none; }
.menu-btn { display: none; margin-inline-start: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--forest-deep); position: relative; content: ""; transition: transform .2s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }

@media (max-width: 1060px) {
  .header-cta { display: none; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 74px - env(safe-area-inset-top, 0px)); background: var(--surface); border-top: 1px solid var(--line); padding: 1rem var(--gutter-r) 7rem var(--gutter-l); overflow-y: auto; display: none; margin: 0; }
  body.menu-open .menu-btn span { background: transparent; }
  body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  body.menu-open .nav { display: block; }
  body.menu-open { overflow: hidden; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav a, .nav button.sub-toggle { font-size: 1.15rem; padding: .85rem .6rem; width: 100%; text-align: start; }
  .sub { position: static; display: flex !important; box-shadow: none; border: 0; border-inline-start: 2px solid var(--leaf-soft); border-radius: 0; padding: 0 .6rem 0 0; margin-inline-start: .6rem; min-width: 0; }
  .sub a { font-size: 1.02rem; color: var(--muted); }
  .sub-toggle::after { display: none; }
  .topbar .hide-sm { display: none; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem); }
.hero-text { display: grid; gap: 1.35rem; min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.hero h1 .accent { color: var(--leaf); display: block; }
.hero .sub-h { font-family: var(--body); font-size: var(--step-1); font-weight: 600; color: var(--forest); margin-top: -.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); font-size: var(--step--1); }
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--leaf); stroke-width: 1.8; }
.hero-figure { position: relative; justify-self: center; width: min(100%, 470px); }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--leaf-soft); box-shadow: 0 30px 60px -30px rgba(18,48,42,.45); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.arch-outline { position: absolute; inset: -14px; border: 1px solid var(--line); border-radius: 999px 999px 26px 26px; pointer-events: none; }
.seal { position: absolute; right: -12px; top: 34px; width: 74px; height: 74px; background: var(--seal); color: #fff; border-radius: 6px; display: grid; place-items: center; transform: rotate(-4deg); box-shadow: 0 10px 22px -10px rgba(120,30,20,.6); font: 600 1.55rem/1 var(--cjk); writing-mode: vertical-rl; letter-spacing: .12em; }
.seal::after { content: ""; position: absolute; inset: 5px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 3px; }
.hero-card { position: absolute; inset-inline-start: -18px; bottom: -22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; box-shadow: 0 18px 40px -22px rgba(18,48,42,.4); max-width: 270px; }
.hero-card b { display: block; font: 400 1.35rem/1.2 var(--display); color: var(--forest-deep); }
.hero-card span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 1.6rem; gap: 1.4rem; }
  .hero-figure { order: -1; width: min(56%, 300px); }
  .arch { aspect-ratio: 4 / 4.4; }
  .hero-card { display: none; }
  .seal { width: 56px; height: 56px; font-size: 1.15rem; right: -18px; top: 12px; }
}

/* ---------- trust strip ---------- */
.trust { background: var(--forest-deep); color: #E4EDE8; }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 1.4rem 1.2rem; display: grid; gap: .2rem; border-inline-start: 1px solid rgba(255,255,255,.12); }
.trust li:first-child { border-inline-start: 0; }
.trust b { font: 400 1.7rem/1.15 var(--display); color: #fff; }
.trust span { font-size: .92rem; line-height: 1.5; color: #BFD2C8; }
@media (max-width: 860px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li:nth-child(3) { border-inline-start: 0; } .trust li { border-top: 1px solid rgba(255,255,255,.12); } .trust li:nth-child(-n+2) { border-top: 0; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section.white { background: var(--surface); }
.section.tint { background: var(--leaf-soft); }
.section-head { display: grid; gap: .9rem; max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); line-height: 1.65; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 1.1rem; align-content: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* meridian list: conditions with classic point labels */
.meridian { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; list-style: none; }
.meridian li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.meridian .pt { width: 14px; height: 14px; margin-top: .55rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--seal); box-shadow: 0 0 0 5px rgba(184,58,46,.08); }
.meridian h3 { font-family: var(--body); font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.meridian h3 a { color: inherit; text-decoration: none; }
.meridian h3 a:hover { color: var(--forest); text-decoration: underline; }
.meridian p { color: var(--muted); font-size: .97rem; line-height: 1.6; grid-column: 2; }
.meridian .code { grid-column: 2; font-size: .8rem; color: var(--seal); letter-spacing: .04em; margin-top: .35rem; direction: ltr; text-align: end; justify-self: start; }
@media (max-width: 760px) { .meridian { grid-template-columns: 1fr; } }

/* treatment steps — a real sequence */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem; display: grid; gap: .45rem; align-content: start; position: relative; }
.steps li::before { content: counter(s); font: 400 2.4rem/1 var(--display); color: var(--leaf); }
.steps b { font-size: 1.08rem; color: var(--forest-deep); }
.steps span { color: var(--muted); font-size: .96rem; line-height: 1.6; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
/* treatment flowchart: diagnosis -> strategy -> treatment */
.flow { list-style: none; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 3.4rem; align-items: stretch; }
.flow > li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.7rem; display: grid; gap: .7rem; align-content: start; min-width: 0; }
.flow .num { width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--leaf-soft); color: var(--forest); border: 1.5px solid var(--leaf); display: grid; place-items: center; font: 400 1.45rem/1 var(--display); }
.flow h3 { font-size: 1.65rem; }
.flow p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.flow > li:not(:last-child)::after { content: ""; position: absolute; top: 50%; inset-inline-end: -3rem; width: 2.6rem; height: 1.3rem; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24'%3E%3Cpath d='M46 12H4M14 3 4 12l10 9' fill='none' stroke='%234F8F3A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
[dir="ltr"] .flow > li:not(:last-child)::after { transform: translateY(-50%) scaleX(-1); }
.flow .chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.flow .chips li { background: var(--leaf-soft); color: var(--forest-deep); border-radius: 999px; padding: .4rem .85rem; font-size: .92rem; line-height: 1.35; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 2.8rem; }
  .flow > li:not(:last-child)::after { inset-inline-end: auto; top: auto; bottom: -2.25rem; left: 50%; right: auto; transform: translateX(-50%) rotate(-90deg); }
  [dir="ltr"] .flow > li:not(:last-child)::after { transform: translateX(-50%) rotate(-90deg); }
}
.note-line { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; padding: 1rem 1.3rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.note-line b { color: var(--forest); }

/* topic cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(18,48,42,.5); color: inherit; }
.card .ph { aspect-ratio: 16/11; background: var(--leaf-soft); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.contain img { object-fit: contain; padding: 1rem; mix-blend-mode: multiply; }
.card .body { padding: 1.2rem 1.25rem 1.35rem; display: grid; gap: .5rem; align-content: start; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--muted); font-size: .96rem; line-height: 1.6; }
.card .more { color: var(--forest); font-weight: 600; font-size: .95rem; margin-top: .3rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* about teaser */
.portrait { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; max-width: 440px; aspect-ratio: 957/1024; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; display: grid; gap: .65rem; }
.checks li { position: relative; padding-inline-start: 1.8rem; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 1rem; height: .55rem; border: solid var(--leaf); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* diary band */
.band { background: var(--forest-deep); color: #DCE8E1; }
.band h2 { color: #fff; }
.band .eyebrow { color: #9FD08A; }
.band p { color: #C9DAD1; }
.band figure img { border-radius: var(--radius); }
.band figcaption { color: #9FB6AB; font-size: .88rem; margin-top: .6rem; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; display: grid; gap: 1rem; align-content: space-between; }
.quote blockquote { margin: 0; font: 400 1.45rem/1.45 var(--display); color: var(--forest-deep); }
.quote blockquote::before { content: "״"; display: block; font-size: 3rem; line-height: .6; color: var(--seal); margin-bottom: .3rem; }
.quote figcaption { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* clinics */
.clinics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.clinic { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .8rem; align-content: start; }
.clinic h3 { font-size: 1.7rem; }
.clinic .tag { font-size: .85rem; color: var(--leaf); font-weight: 600; }
.row { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; line-height: 1.55; }
.row svg { width: 20px; height: 20px; fill: none; stroke: var(--leaf); stroke-width: 1.7; margin-top: .15rem; }
.hours { display: grid; grid-template-columns: auto auto; gap: .15rem 1.2rem; font-variant-numeric: tabular-nums; justify-content: start; }
.hours .closed { color: var(--muted); }
[dir="rtl"] .hours span:nth-child(even) { direction: ltr; unicode-bidi: isolate; text-align: right; }
.links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.links a { font-size: .9rem; font-weight: 600; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.links a:hover { border-color: var(--forest); }
.clinics.two { grid-template-columns: 1fr 1fr; margin-block: 2rem; }
.prose .clinic h3 { margin-top: 0; }
@media (max-width: 960px) { .clinics, .clinics.two { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--forest-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--display); color: var(--leaf); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 1.3rem 1.2rem; color: var(--ink); line-height: 1.75; }
.faq .a p + p { margin-top: .7rem; }

/* CTA band */
.cta-band { background: radial-gradient(120% 140% at 100% 0%, #2B6650 0%, var(--forest-deep) 60%); color: #fff; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CFE0D7; margin-top: .7rem; font-size: var(--step-1); }
.cta-band .btn-row { justify-content: flex-end; }
.cta-phone { font: 400 2rem/1 var(--display); color: #fff; text-decoration: none; direction: ltr; display: inline-block; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- inner pages ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(2.2rem, 5vw, 3.6rem); display: grid; gap: 1rem; max-width: var(--wrap); }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero .lead { max-width: 62ch; color: var(--muted); }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "‹"; margin-inline-end: .3rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.aside { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 1rem; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .8rem; }
.aside-card h2 { font-size: 1.5rem; }
.aside-card .btn { width: 100%; }
.aside-card ul { list-style: none; display: grid; gap: .1rem; }
.aside-card ul a { display: block; padding: .45rem 0; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .97rem; }
.aside-card ul a:hover, .aside-card ul a[aria-current="page"] { color: var(--forest); font-weight: 600; }
.aside-card .person { display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; }
.aside-card .person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.aside-card .person b { display: block; font: 400 1.3rem/1.2 var(--display); color: var(--forest-deep); }
.aside-card .person span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); }
.prose h3 { margin-top: 1.9rem; font-size: 1.55rem; }
.prose ul:not(.checks), .prose ol:not(.numbered) { padding-inline-start: 1.3rem; display: grid; gap: .4rem; }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.prose .float { float: left; width: min(42%, 220px); margin: .3rem 1.6rem 1rem 0; }
.prose .float img { border-radius: var(--radius); background: var(--surface); }
.prose .clear { clear: both; }
@media (max-width: 560px) { .prose .float, [dir="ltr"] .prose .float { float: none; width: 150px; margin: 0 0 1.2rem; } }
.highlight { font: 400 1.6rem/1.45 var(--display); color: var(--forest); border-inline-start: 3px solid var(--seal); padding-inline-start: 1.2rem; margin-block: 2rem !important; }
.callout { background: var(--leaf-soft); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.numbered { list-style: none; counter-reset: n; display: grid; gap: .9rem; }
.numbered li { counter-increment: n; position: relative; padding-inline-start: 2.8rem; line-height: 1.65; }
.numbered li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--forest); font: 400 1.15rem/2rem var(--display); text-align: center; }
.numbered li b { display: block; color: var(--forest-deep); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.gallery figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 0 !important; background: #fff; }
.gallery.landscape figure img { aspect-ratio: 4/3; }
.gallery.contain figure img { object-fit: contain; padding: .6rem; }
.gallery figcaption { padding: .8rem 1rem 1rem; margin: 0 !important; font-size: .9rem; color: var(--muted); line-height: 1.5; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .95rem 1.1rem; text-align: start; border-bottom: 1px solid var(--line); }
th { background: var(--leaf-soft); color: var(--forest-deep); font-weight: 600; font-size: .95rem; }
tr:last-child td { border-bottom: 0; }
td.price { font-weight: 600; color: var(--forest-deep); white-space: nowrap; }

.letter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; position: relative; }
.letter .date { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.letter .sign { margin-top: 1rem; font-weight: 600; color: var(--forest-deep); }
.letter .poem { columns: 2 260px; column-gap: 2.2rem; }
.letter .poem p { break-inside: avoid; margin-bottom: 1rem; }
.letters { display: grid; gap: 1.2rem; }

/* forms */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-section { grid-column: 1 / -1; font: 400 1.5rem/1.2 var(--display); color: var(--forest-deep); padding-top: .8rem; border-top: 1px solid var(--line); margin-top: .4rem; }
.form-section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.field { display: grid; gap: .35rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field.wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--ink); padding: 0; }
.req { color: var(--seal); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; width: 100%; min-height: 48px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; background: #fff; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .3rem; }
.choices label { font-weight: 400; display: inline-flex; gap: .45rem; align-items: center; cursor: pointer; }
.choices input { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--forest); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-error { color: var(--seal); font-weight: 600; font-size: .95rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #0D221D; color: #B7CBC1; font-size: .95rem; }
.site-footer .wrap { padding-block: 3.5rem 2rem; display: grid; gap: 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid > * { min-width: 0; }
.site-footer h2 { font: 400 1.35rem/1.2 var(--display); color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { color: #DCE8E1; text-decoration: none; }
.site-footer a:hover { color: #9FD08A; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9FB6AB; }
.foot-nap { display: grid; gap: .5rem; margin-top: 1rem; line-height: 1.6; }
.disclaimer { font-size: .88rem; color: #A9BFB4; line-height: 1.6; max-width: 80ch; }
.keywords .legal a { color: #DCE8E1; }
.keywords { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .85rem; color: #8FA79B; justify-content: space-between; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; inset: auto 0 0 0; z-index: 55; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: .6rem var(--gutter-r) calc(.6rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l); box-shadow: 0 -10px 30px -18px rgba(18,48,42,.4); }
  .mobile-bar .btn { min-height: 50px; padding-inline: .6rem; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* LTR page (English) */
[dir="ltr"] .eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
[dir="ltr"] .prose .float { float: right; margin: .3rem 0 1rem 1.6rem; }
[dir="ltr"] .crumbs li + li::before { content: "›"; }
[dir="ltr"] .quote blockquote::before { content: "“"; }
[dir="ltr"] body, body[dir="ltr"] { font-family: "IBM Plex Sans", var(--body); }
