/* ============================================================
   OPTION B — "KI-Nutzen ohne KI-Overhead"
   Extends the Option A component library (tokens, base,
   concept-a.css). Option A stays untouched.
   ============================================================ */

/* ===========================================================
   OPENING EXPERIENCE (icon zooms from depth → floats → wordmark)
   =========================================================== */
.bintro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 40%, #FBF8F1 0%, var(--linen) 55%, #EFE9DB 100%);
  transition: opacity 1s var(--ease-soft), visibility 1s;
}
.bintro.is-leaving { opacity: 0; }
.bintro.is-gone { visibility: hidden; pointer-events: none; }
.bintro__atmos { position: absolute; inset: -20%; pointer-events: none; }
.bintro__atmos span { position: absolute; border-radius: 50%; filter: blur(90px); mix-blend-mode: multiply; }
.bintro__atmos .a1 { width: 46vw; height: 46vw; left: 8%;  top: 8%;  background: radial-gradient(circle, rgba(143,169,173,0.30), transparent 66%); animation: bd1 26s ease-in-out infinite; }
.bintro__atmos .a2 { width: 52vw; height: 52vw; right: 2%; top: 24%; background: radial-gradient(circle, rgba(198,124,92,0.16), transparent 64%); animation: bd2 30s ease-in-out infinite; }
.bintro__atmos .a3 { width: 40vw; height: 40vw; left: 30%; bottom: 0; background: radial-gradient(circle, rgba(18,60,64,0.09), transparent 68%); animation: bd3 34s ease-in-out infinite; }
.bintro__sheen {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0.5;
  background: linear-gradient(115deg, transparent 30%, rgba(255,253,247,0.5) 48%, transparent 66%);
  background-size: 220% 220%; animation: bsheen 12s ease-in-out infinite;
}
.bintro__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(36,40,39,0.04) 0.5px, transparent 0.6px); background-size: 4px 4px;
}
@keyframes bd1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%,-3%) scale(1.08); } }
@keyframes bd2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-3%,4%) scale(1.1); } }
@keyframes bd3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(2%,3%) scale(1.06); } }
@keyframes bsheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.bintro__stage { position: relative; display: grid; justify-items: center; text-align: center; padding: 2rem; }
.bintro__mark { position: relative; width: clamp(96px, 14vw, 150px); aspect-ratio: 1; }
.bintro__mark img { width: 100%; height: 100%; position: relative; z-index: 2; opacity: 0; transform: scale(0.06); animation: bmarkIn 2s cubic-bezier(0.16,0.8,0.2,1) forwards; }
.bintro.is-floating .bintro__mark { animation: bfloat 6.5s ease-in-out infinite; }
.bintro__halo { position: absolute; inset: -28%; border-radius: 50%; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(255,253,248,0) 42%, rgba(255,253,248,0.6) 54%, rgba(245,241,232,0) 72%);
  animation: bhalo 1.6s var(--ease-out) 1.55s forwards; }
.bintro__word { width: clamp(150px, 22vw, 250px); height: auto; margin-top: clamp(1.4rem,3.4vh,2.2rem); opacity: 0; transform: translateY(10px) scale(0.9); filter: blur(6px); animation: bwordIn 1.05s var(--ease-out) 2.15s forwards; }
.bintro__tagline { margin-top: 1rem; font-size: var(--t-label); font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); opacity: 0; transform: translateY(8px); animation: brise 0.9s var(--ease-out) 2.7s forwards; }
.bintro__enter { margin-top: clamp(2rem,5vh,3rem); display: inline-flex; flex-direction: column; align-items: center; gap: 0.8rem; opacity: 0; transform: translateY(8px); animation: brise 0.9s var(--ease-out) 3s forwards; }
.bintro__enter-label { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cinnamon-deep); transition: letter-spacing var(--dur-2) var(--ease-out); }
.bintro__enter:hover .bintro__enter-label { letter-spacing: 0.34em; }
.bintro__enter-arrow { width: 1px; height: 28px; background: linear-gradient(var(--cinnamon), transparent); position: relative; animation: bnudge 2.6s var(--ease-inout) 3.4s infinite; }
.bintro__enter-arrow::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 6px; height: 6px; translate: -50% 40%; border-right: 1px solid var(--cinnamon); border-bottom: 1px solid var(--cinnamon); rotate: 45deg; }
@keyframes bmarkIn { 0% { opacity: 0; transform: scale(0.06); filter: blur(5px); } 42% { opacity: 1; } 88% { transform: scale(1.03); filter: blur(0); } 100% { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes bfloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.012); } }
@keyframes bhalo { 0% { opacity: 0; transform: scale(0.92); } 45% { opacity: 1; } 100% { opacity: 0.3; transform: scale(1.08); } }
@keyframes bwordIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes brise { to { opacity: 1; transform: none; } }
@keyframes bnudge { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(4px); opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) {
  .bintro__mark img, .bintro__word, .bintro__tagline, .bintro__enter, .bintro__enter-arrow, .bintro__halo, .bintro.is-floating .bintro__mark, .bintro__atmos span, .bintro__sheen { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ===========================================================
   LANGUAGE SWITCHER
   =========================================================== */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.5rem; border-radius: var(--radius-pill); color: var(--cinnamon-deep); transition: background var(--dur-1); }
.lang__btn svg { width: 20px; height: 20px; }
.lang__cur { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; }
.lang__btn:hover { background: rgba(198,124,92,0.1); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 0.5rem); background: var(--linen-hi); border: 1px solid var(--linen-edge); border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 0.35rem; display: grid; gap: 0.15rem; min-width: 140px; z-index: 70; }
.lang__menu[hidden] { display: none; }
.lang__menu button { text-align: left; padding: 0.55rem 0.7rem; border-radius: 8px; font-size: 0.9rem; color: var(--ink-soft); transition: background var(--dur-1), color var(--dur-1); }
.lang__menu button:hover { background: rgba(198,124,92,0.08); color: var(--teal); }
.lang__menu button.is-on { color: var(--teal); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 0.8rem; }
/* compact header CTA — proportional, not oversized */
.nav .nav__cta > .btn-primary { min-height: 38px; padding: 0 1.05rem; font-size: 0.82rem; gap: 0.5em; box-shadow: none; }
.nav .nav__cta > .btn-primary:hover { box-shadow: var(--shadow-soft); }

/* ===========================================================
   HERO (wide, editorial, rolling mark, mark scroll cue)
   =========================================================== */
.b-hero { position: relative; }
.b-hero__amb { position: absolute; inset: var(--nav-h) 0 0 0; z-index: 1; overflow: hidden; pointer-events: none; }
.b-hero__amb::before { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(58vw,760px); aspect-ratio: 1; background: radial-gradient(circle, rgba(143,169,173,0.16), rgba(198,124,92,0.06) 42%, transparent 66%); }
.b-hero__mark { position: absolute; right: -4%; top: 50%; width: min(50vw,600px); aspect-ratio: 1; opacity: 0.12; will-change: transform; transform: translate(-140vw,-50%) rotate(-720deg); }
.b-hero__mark img { width: 100%; height: 100%; }
.b-hero__copy { position: relative; z-index: 3; width: var(--shell); margin-inline: auto; }
.b-hero__h1 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 20ch; text-wrap: balance; }
.b-hero__h1 .l2 { display: block; color: var(--cinnamon); }
.b-hero__sub { margin-top: 1.6rem; font-size: var(--t-body-l); font-weight: 300; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
@media (min-width: 1100px) { .b-hero__h1 { max-width: 24ch; } }
.b-hero__actions { margin-top: 2.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
@media (prefers-reduced-motion: reduce) { .b-hero__mark { transform: translate(0,-50%) rotate(0); } }
@media (max-width: 640px) { .b-hero__mark { opacity: 0.07; } }

/* crisp SVG rendering across the page */
svg { shape-rendering: geometricPrecision; }

/* ===========================================================
   B1 · COMPLEXITY (neural bg + reactive chips)
   =========================================================== */
/* brand-coloured words inside headlines (like the hero's second line) */
:root { --steel-ink: #5F8288; }
.tone-c { color: var(--cinnamon); }
.tone-s { color: var(--steel-ink); }
.on-dark .tone-s { color: var(--mint); }

/* tighter rhythm between paragraphs */
.body-block { gap: 1rem; }
.body-copy + .body-copy { margin-top: 0.75rem; }
.body-block .pull { margin-bottom: 0.2rem; }
.audience { margin-top: 0.2rem; }
.section__head { gap: 0.9rem; }
/* slower, more present scroll motion */
[data-reveal] { transform: translateY(30px); transition: opacity 1.5s var(--ease-out), transform 1.5s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
.section__head .h2, .body-block .h2, .body-block .pull { transition: opacity 1.6s var(--ease-out), transform 1.6s var(--ease-out); }
.vcard { transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transition: none !important; transform: none !important; opacity: 1 !important; } }

/* mobile module accordion */
.mod-acc { display: none; }
@media (max-width: 1000px) {
  .mod-acc { display: grid; gap: 0.6rem; margin-top: 2rem; }
  .macc { border: 1px solid var(--linen-edge); border-radius: var(--radius); background: var(--linen-hi); overflow: hidden; transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
  .macc.is-open { border-color: var(--cinnamon); box-shadow: var(--shadow-soft); }
  .macc__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.05rem 1.1rem; text-align: left; }
  .macc__t { font-family: var(--font); font-size: 1.05rem; font-weight: 600; color: var(--teal); }
  .macc__ico { position: relative; width: 16px; height: 16px; flex: none; }
  .macc__ico::before, .macc__ico::after { content: ""; position: absolute; background: var(--cinnamon); border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.35s; }
  .macc__ico::before { left: 0; top: 7px; width: 16px; height: 2px; }
  .macc__ico::after { left: 7px; top: 0; width: 2px; height: 16px; }
  .macc.is-open .macc__ico::after { transform: scaleY(0); opacity: 0; }
  .macc__body { padding: 0 1.1rem 1.15rem; }
  .macc__body[hidden] { display: none; }
  .macc__body p { font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }
}

/* process — a compact connected track instead of an endless list */
.proc { margin-top: clamp(1.2rem, 2.5vw, 2rem); }
.proc__track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 1.7rem); position: relative; }
.proc__track::before { content: ""; position: absolute; left: 17px; right: 17px; top: 17px; height: 1px; background: linear-gradient(90deg, var(--cinnamon), var(--steel)); opacity: 0.4; }
.proc .pstep { position: relative; display: grid; gap: 0.4rem; align-content: start; opacity: 1; padding: 0; border-top: none; }
.proc .pstep__k {
  position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--linen-hi); border: 1px solid var(--linen-edge);
  color: var(--cinnamon); font-family: var(--font); font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background 0.45s var(--ease-out), border-color 0.45s, color 0.45s;
}
.proc .pstep.is-active .pstep__k { background: var(--cinnamon); border-color: var(--cinnamon); color: #fff; }
.proc .pstep .pstep__t { font-family: var(--font); font-size: 1.05rem; font-weight: 600; line-height: 1.22; color: var(--teal); margin: 0.55rem 0 0; }
.proc .pstep p { font-size: 0.94rem; line-height: 1.55; color: var(--ink-soft); }
.proc__cta { margin-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 900px) {
  .proc__track { grid-template-columns: 1fr; gap: 0; padding-left: 2.7rem; }
  .proc__track::before { left: 17px; right: auto; top: 0.6rem; bottom: 0.6rem; width: 1px; height: auto; background: linear-gradient(var(--cinnamon), var(--steel)); }
  .proc .pstep { padding: 0.75rem 0; }
  .proc .pstep__k { position: absolute; left: -2.7rem; top: 0.7rem; }
  .proc .pstep .pstep__t { margin-top: 0; }
}

/* real-world case example */
.case { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(183,203,201,0.22); }
.case__k { font-family: var(--font); font-size: var(--t-label); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cinnamon-soft); margin-bottom: 1.4rem; }
.case__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); }
.case__step { display: grid; gap: 0.5rem; align-content: start; position: relative; padding-left: 1.1rem; }
.case__step::before { content: ""; position: absolute; left: 0; top: 0.35rem; bottom: 0.2rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--cinnamon-soft), rgba(183,203,201,0.25)); }
.case__n { font-family: var(--font); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.case__step p { font-size: 0.98rem; line-height: 1.6; color: var(--on-dark-soft); }
.case__step:last-child p { color: var(--on-dark); }
@media (max-width: 860px) { .case__grid { grid-template-columns: 1fr; gap: 1.4rem; } }

/* two hosting routes */
.hosting { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.hosting__opt { padding: 1rem 1.1rem; border: 1px solid rgba(183,203,201,0.28); border-radius: var(--radius); background: rgba(255,255,255,0.03); }
.hosting__k { font-family: var(--font); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cinnamon-soft); margin-bottom: 0.35rem; }
.hosting__d { font-size: 0.92rem; line-height: 1.5; color: var(--on-dark-soft); }
@media (max-width: 700px) { .hosting { grid-template-columns: 1fr; } }

/* who this is for */
.audience { margin-top: 0.4rem; font-size: 0.95rem; line-height: 1.5; color: var(--ink-faint); max-width: 48ch; }
.on-dark .audience { color: var(--on-dark-faint); }

.complexity { position: relative; overflow: hidden; padding-top: clamp(3rem, 2.5rem + 3vw, 6rem); }
.complexity__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cloud { position: relative; aspect-ratio: 1 / 0.86; min-height: 340px; }
.cloud-chip {
  position: absolute; transform: translate(-50%, -50%);
  padding: 0.34rem 0.72rem; border-radius: 8px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink-soft); background: var(--linen-hi); border: 1px solid var(--linen-edge); white-space: nowrap;
  box-shadow: 0 4px 14px rgba(18,60,64,0.04);
  opacity: 0; transition: opacity 0.9s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s, color 0.5s;
  will-change: transform, opacity; cursor: default;
}
.cloud.is-in .cloud-chip { opacity: var(--chip-op, 0.9); }
.cloud-chip[data-weak] { color: var(--ink-faint); background: rgba(251,249,244,0.7); }
.cloud-chip:hover { border-color: var(--cinnamon); color: var(--cinnamon-deep); box-shadow: 0 12px 30px rgba(198,124,92,0.22); z-index: 3; animation: chipHover 2.8s var(--ease-inout) infinite; }
@keyframes chipHover { 0%, 100% { transform: translate(-50%, -50%) scale(1.1) translateY(-2px); } 50% { transform: translate(-50%, -50%) scale(1.12) translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .cloud-chip:hover { animation: none; transform: translate(-50%, -50%) scale(1.1); } }

/* ===========================================================
   B2 · RELIEF
   =========================================================== */
.relief { background: var(--linen-deep); }
.relief__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.translate-fig { position: relative; aspect-ratio: 1 / 0.82; min-height: 300px; }

/* ===========================================================
   B3 · KI-NUTZEN OHNE KI-OVERHEAD
   =========================================================== */
.overhead { position: relative; }
.overhead__head { text-align: center; max-width: none; width: 100%; margin: 0 auto clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.1rem; justify-items: center; }
.overhead__head .lede { max-width: 54ch; }
.overhead__title { max-width: none; white-space: nowrap; font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem); }
.overhead__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: stretch; }
.want, .avoid { border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: 0.9rem; align-content: start; transform: scale(0.97); opacity: 0; transition: opacity 1.15s var(--ease-out), transform 1.15s var(--ease-out); }
.want.is-in, .avoid.is-in { transform: none; opacity: 1; }
.want { background: var(--teal); color: var(--on-dark); box-shadow: var(--shadow-lift); }
.avoid { background: transparent; border: 1px dashed var(--linen-edge); }
.col-k { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.want .col-k { color: var(--cinnamon-soft); }
.avoid .col-k { color: var(--ink-faint); }
.col-title { font-size: var(--t-h3); font-weight: 600; line-height: 1.1; }
.want .col-title { color: var(--linen-hi); }
.avoid .col-title { color: var(--teal); }
.col-list { display: grid; gap: 0.75rem; margin-top: 0.3rem; }
.col-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: baseline; font-size: 1rem; line-height: 1.4; opacity: 0; transform: translateX(var(--dx, 0)); transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out); }
.col-list li[data-from="l"] { --dx: -16px; }
.col-list li[data-from="r"] { --dx: 16px; }
.col-list.is-in li { opacity: 1; transform: none; }
.want .col-list li { color: var(--on-dark); }
.avoid .col-list li { color: var(--ink-soft); }
.col-list .mk { color: var(--cinnamon-soft); font-weight: 500; }
.avoid .col-list .mk { color: var(--ink-faint); }
@media (max-width: 820px) { .overhead__cols { grid-template-columns: 1fr; } .overhead__title { white-space: normal; } }

/* ===========================================================
   B4 · VON INNEN
   =========================================================== */
.voninnen__layout { display: block; }
.qlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (max-width: 820px) { .qlist { grid-template-columns: 1fr; } }
.qitem { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; width: 100%; text-align: left; padding: 1rem 1.15rem; border: 1px solid var(--linen-edge); border-radius: var(--radius); background: var(--linen-hi);
  opacity: 0; transform: translateX(-18px); transition: border-color 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s, opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.qlist.is-in .qitem { opacity: 1; transform: none; }
.qitem:hover, .qitem.is-active { border-color: var(--cinnamon); background: #fff; box-shadow: var(--shadow-soft); }
.qitem__n { font-size: 0.8rem; font-weight: 600; color: var(--cinnamon); font-variant-numeric: tabular-nums; padding-top: 0.15rem; }
.qitem__body { display: grid; gap: 0.2rem; }
.qitem__q { display: block; font-size: 1.02rem; font-weight: 600; color: var(--teal); }
.qitem__d { display: block; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.voninnen__fig { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 440px; margin-inline: auto; }
.voninnen__fig > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* ===========================================================
   B5 · CONNECTED SYSTEM — transformation axis
   =========================================================== */
.chapter-no { display: inline-flex; align-items: baseline; gap: 0.6rem; font-size: var(--t-label); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cinnamon); }
.chapter-no .rule { display: none; }
.pull { font-size: var(--t-statement); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--teal); max-width: 20ch; }
.pull .soft { color: var(--steel); }
.on-dark .pull { color: var(--on-dark); }

.transform-axis { display: grid; gap: 0; margin-top: 2.2rem; position: relative; padding-left: 1.4rem; }
.transform-axis::before { content: ""; position: absolute; left: 5px; top: 0.6rem; bottom: 0.6rem; width: 1px; background: linear-gradient(var(--cinnamon-soft), var(--mint)); }
.tax { position: relative; padding: 0.75rem 0; display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: baseline; opacity: 0.5; transition: opacity 0.5s var(--ease-out); }
.tax.is-in { opacity: 1; }
.tax__dot { position: absolute; left: -1.4rem; top: 1.05rem; width: 11px; height: 11px; border-radius: 50%; background: var(--teal-deep); border: 2px solid var(--cinnamon-soft); }
.tax__k { font-size: var(--t-h3); font-weight: 600; color: var(--on-dark); }
.tax__d { font-size: 0.92rem; color: var(--on-dark-soft); }

/* ===========================================================
   B6 · VALUE (icon cards, subtle depth)
   =========================================================== */
.value { position: relative; overflow: hidden; }
.value__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 85% 0%, rgba(143,169,173,0.12), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(198,124,92,0.08), transparent 60%); }
.value .shell { position: relative; z-index: 1; }
.value__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.value__grid > .vcard { grid-column: span 2; }
.vcard { background: var(--linen-hi); border: 1px solid var(--linen-edge); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.4vw, 1.9rem); display: grid; gap: 0.7rem; align-content: start; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(198,124,92,0.4); }
.vcard__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(198,124,92,0.1); color: var(--cinnamon-deep); }
.vcard__icon svg { width: 24px; height: 24px; }
.vcard__t { font-size: 1.15rem; font-weight: 600; color: var(--teal); line-height: 1.2; }
.vcard p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.5; }
.value__grid > .vcard:nth-child(4) { grid-column: 2 / span 2; }
.value__grid > .vcard:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 920px) { .value__grid { grid-template-columns: repeat(2, 1fr); } .value__grid > .vcard, .value__grid > .vcard:nth-child(4), .value__grid > .vcard:nth-child(5) { grid-column: auto; } }
@media (max-width: 560px) { .value__grid { grid-template-columns: 1fr; } }

/* ===========================================================
   B7 · MODULES (hide src chips, stronger animated core)
   =========================================================== */
.constellation--b .src-chip { display: none !important; }
.constellation--b { max-width: 500px; }
.mod-core--b { width: clamp(84px, 9vw, 116px); }
.mod-core--b .mod-core__ring { position: absolute; inset: -18%; border-radius: 50%; border: 1px solid rgba(198,124,92,0.4); opacity: 0; }
.mod-core--b img { animation: coreFloat 7s ease-in-out infinite; }
.constellation--b:hover .mod-core--b .mod-core__ring, .mod-core--b.is-active .mod-core__ring { animation: coreRingPulse 2.4s var(--ease-out) infinite; }
@keyframes coreFloat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes coreRingPulse { 0% { opacity: 0.5; transform: scale(0.9); } 70% { opacity: 0; transform: scale(1.25); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mod-core--b img { animation: none; } .constellation--b:hover .mod-core--b .mod-core__ring { animation: none; } }

/* statement block */
.statement { margin: clamp(3rem, 6vw, 5rem) 0 0; display: grid; place-items: center; text-align: center; }
.statement__text { font-size: var(--t-statement); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--teal); max-width: 22ch; opacity: 0; transform: translateY(20px) scale(0.98); transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out); }
.statement.is-in .statement__text { opacity: 1; transform: none; }
.statement__text .soft { color: var(--steel); }

/* ===========================================================
   B10 · DISCOVERY summary
   =========================================================== */
.disco-summary { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(239,233,220,0.16); display: grid; gap: 0.5rem; }
.disco-summary[hidden] { display: none; }
.disco-summary__line { display: flex; align-items: baseline; gap: 0.5rem; color: var(--on-dark); font-weight: 500; }
.disco-summary__n { font-size: 1.6rem; font-weight: 600; color: var(--cinnamon-soft); font-variant-numeric: tabular-nums; }
.disco-summary__copy { font-size: 0.9rem; color: var(--on-dark-soft); line-height: 1.5; }

/* ===========================================================
   FORM MODALS
   =========================================================== */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: clamp(1rem,4vw,2.5rem); opacity: 0; transition: opacity 0.4s var(--ease-soft); }
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13,46,49,0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: min(100%, 500px); margin-inline: auto; background: var(--linen-hi); border: 1px solid var(--linen-edge); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: clamp(1.6rem, 3.5vw, 2.6rem); transform: translateY(14px) scale(0.98); transition: transform 0.5s var(--ease-out); max-height: 92vh; overflow-y: auto; }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: transparent; transition: background 0.3s, transform 0.4s; }
.modal__close:hover { background: rgba(18,60,64,0.06); transform: rotate(90deg); }
.modal__mark { width: 46px; height: 46px; margin-bottom: 0.9rem; }
.modal__mark img { width: 100%; height: 100%; }
.modal__k { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cinnamon); }
.modal__title { font-size: var(--t-h3); color: var(--teal); margin: 0.3rem 0 0.6rem; line-height: 1.12; }
.modal__lead { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; margin-bottom: 1.4rem; }
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field__label { font-size: 0.85rem; font-weight: 500; color: var(--teal); }
.field input, .field textarea { font: inherit; font-size: 0.98rem; color: var(--ink); background: #fff; border: 1px solid var(--linen-edge); border-radius: 10px; padding: 0.7rem 0.85rem; transition: border-color 0.3s, box-shadow 0.3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cinnamon); box-shadow: 0 0 0 3px rgba(198,124,92,0.14); }
.field textarea { resize: vertical; min-height: 74px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.check input { margin-top: 0.15rem; width: 16px; height: 16px; accent-color: var(--cinnamon); }
.form__submit { justify-content: center; margin-top: 0.3rem; }
.form__done { margin-top: 0.4rem; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(143,169,173,0.18); border: 1px solid rgba(143,169,173,0.4); color: var(--teal); font-size: 0.92rem; font-weight: 500; }
.form.is-sent .field, .form.is-sent .check, .form.is-sent .form__submit { display: none; }

/* ===========================================================
   POPUPS FIT THE SCREEN (no scrolling; everything reachable)
   Spacing and type scale with the viewport height instead.
   =========================================================== */
.modal { padding: clamp(0.75rem, 2.5vh, 2.5rem); }
.modal__panel {
  padding: clamp(1.1rem, 3vh, 2.6rem);
  max-height: calc(100dvh - clamp(1.5rem, 5vh, 5rem));
  overflow: auto;                 /* safety net only — layout is built to fit */
  overscroll-behavior: contain;
}
.modal__mark { width: clamp(30px, 5.2vh, 46px); height: auto; margin-bottom: clamp(0.35rem, 1.2vh, 0.9rem); }
.modal__mark img { width: 100%; height: auto; }
.modal__title { font-size: clamp(1.15rem, 2.9vh, 1.6rem); margin: 0.2rem 0 clamp(0.25rem, 0.9vh, 0.6rem); }
.modal__lead { font-size: clamp(0.85rem, 1.75vh, 0.98rem); line-height: 1.45; margin-bottom: clamp(0.6rem, 2vh, 1.4rem); }
.form { gap: clamp(0.5rem, 1.6vh, 1rem); }
.field { gap: 0.22rem; }
.field__label { font-size: clamp(0.78rem, 1.5vh, 0.85rem); }
.field input, .field textarea { padding: clamp(0.48rem, 1.3vh, 0.7rem) 0.85rem; font-size: 0.95rem; }
.field textarea { min-height: clamp(44px, 8vh, 74px); }
.check { font-size: clamp(0.75rem, 1.5vh, 0.85rem); }
.check input { width: 20px; height: 20px; }        /* comfortable tap target */
.form__submit { min-height: clamp(44px, 6.2vh, 50px); }
.modal__close { width: 44px; height: 44px; }

.conv { padding: clamp(0.75rem, 2.5vh, 3rem); }
.conv__panel {
  padding: clamp(1.2rem, 3.2vh, 3.2rem);
  gap: clamp(0.7rem, 2vh, 1.9rem);
  max-height: calc(100dvh - clamp(1.5rem, 5vh, 6rem));
  overflow: auto; overscroll-behavior: contain;
}
.conv__mark { width: clamp(34px, 5.5vh, 74px); }
.conv__title { font-size: clamp(1.15rem, 3.2vh, 2.5rem); }
.conv__copy { font-size: clamp(0.88rem, 1.8vh, 1rem); margin-top: clamp(0.4rem, 1.2vh, 0.8rem); }
.conv__tags { margin-top: clamp(0.5rem, 1.4vh, 1.1rem); }
.conv__primary .btn { margin-top: clamp(0.7rem, 2vh, 1.4rem); min-height: 46px; }
.conv__sec-lead { font-size: clamp(0.9rem, 1.8vh, 1rem); }
.conv__sec-copy { font-size: clamp(0.82rem, 1.6vh, 0.92rem); }
.conv__secondary .btn-link { min-height: 40px; align-items: center; }
.conv__close { width: 44px; height: 44px; }

/* very short screens: drop the decorative bits so every control stays visible */
@media (max-height: 680px) {
  .modal__mark, .conv__mark { display: none; }
  .modal__lead { margin-bottom: 0.6rem; }
}
@media (max-height: 600px) {
  .modal__lead { display: none; }
  #contactForm .field:has(textarea) { display: none; }
}

/* ===========================================================
   CHATBOT
   =========================================================== */
.chat { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 110; }
.chat__bubble { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--teal); box-shadow: var(--shadow-lift); display: grid; place-items: center; transition: transform 0.4s var(--ease-out), background 0.3s; }
.chat__bubble:hover { transform: scale(1.06); background: var(--teal-deep); }
.chat__bubble img { width: 34px; height: 34px; }
.chat__badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--cinnamon); color: #fff; font-size: 0.72rem; font-weight: 600; display: grid; place-items: center; }
.chat__badge[hidden] { display: none; }
.chat__panel { position: absolute; right: 0; bottom: calc(100% + 0.8rem); width: min(90vw, 360px); background: var(--linen-hi); border: 1px solid var(--linen-edge); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); overflow: hidden; transform-origin: bottom right; animation: chatIn 0.4s var(--ease-out); }
.chat__panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.chat__head { display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center; padding: 0.9rem 1rem; background: var(--teal); color: var(--on-dark); }
.chat__avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,253,247,0.9); display: grid; place-items: center; }
.chat__avatar img { width: 24px; height: 24px; }
.chat__name { font-weight: 600; color: var(--linen-hi); font-size: 0.95rem; }
.chat__status { font-size: 0.74rem; color: var(--on-dark-soft); }
.chat__close { color: var(--on-dark); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background 0.3s; }
.chat__close:hover { background: rgba(255,255,255,0.12); }
.chat__log { padding: 1rem; display: grid; gap: 0.6rem; max-height: 320px; overflow-y: auto; }
.msg { max-width: 84%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.4; }
.msg--bot { justify-self: start; background: var(--linen-deep); color: var(--teal); border-bottom-left-radius: 5px; }
.msg--user { justify-self: end; background: var(--teal); color: var(--on-dark); border-bottom-right-radius: 5px; }
.chat__input { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--linen-edge); }
.chat__input input { font: inherit; font-size: 0.9rem; border: 1px solid var(--linen-edge); border-radius: var(--radius-pill); padding: 0.6rem 0.9rem; background: #fff; }
.chat__input input:focus { outline: none; border-color: var(--cinnamon); }
.chat__input button { width: 40px; height: 40px; border-radius: 50%; background: var(--cinnamon); color: #fff; display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.chat__input button:hover { background: var(--cinnamon-deep); transform: scale(1.05); }

/* ===========================================================
   FOOTER (expanded)
   =========================================================== */
.footer--b { padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--linen-edge); }
.footer__brand img { width: 168px; height: auto; }
.footer__tag { margin-top: 1.1rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; max-width: 42ch; }
.footer__navk { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cinnamon); margin-bottom: 1rem; }
.footer__nav, .footer__contactcol { display: grid; gap: 0.7rem; align-content: start; }
.footer__nav a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.3s; }
.footer__nav a:hover { color: var(--teal); }
.footer__contactcol .btn-link { justify-self: start; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.footer__meta { font-size: 0.85rem; color: var(--ink-faint); }
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a { font-size: 0.85rem; color: var(--ink-soft); transition: color 0.3s; }
.footer__links a:hover { color: var(--cinnamon-deep); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr; gap: 2rem; } }

/* ===========================================================
   RESPONSIVE (B chapters)
   =========================================================== */
@media (max-width: 1000px) {
  .complexity__grid, .relief__grid { grid-template-columns: 1fr; }
  .cloud, .translate-fig { min-height: 300px; }
}

/* ===========================================================
   MOBILE TYPOGRAPHY — smaller, cleanly breaking headlines
   =========================================================== */
h1, h2, h3, .h1, .h2, .h3, .pull, .statement__text, .b-hero__h1, .overhead__title {
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  h1, h2, h3, .h1, .h2, .h3, .pull, .statement__text, .b-hero__h1, .overhead__title { hyphens: auto; }
  .b-hero__h1 { font-size: clamp(2.05rem, 1.4rem + 3.4vw, 2.8rem); max-width: none; }
  .h2, h2.h2 { font-size: clamp(1.7rem, 1.25rem + 2.6vw, 2.25rem); }
  .pull, .statement__text { font-size: clamp(1.6rem, 1.15rem + 2.8vw, 2.2rem); max-width: none; }
  .overhead__title { font-size: clamp(1.7rem, 1.2rem + 3vw, 2.3rem); white-space: normal; }
  .h3, .vcard__t { font-size: 1.1rem; }
  .lede { font-size: 1.02rem; }
}

/* ===========================================================
   TYPEFACES — running text is Noto Serif; Sora only for
   headings, highlights, labels, buttons, UI and the logo.
   (Inverted: body defaults to serif, UI is reset back to Sora.)
   =========================================================== */
@font-face { font-family: "Lora"; src: url("../fonts/Lora.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root { --font-body: "Lora", Georgia, "Times New Roman", serif; }
/* everything is Noto Serif by default … */
body { font-family: var(--font-body); line-height: 1.6; }
/* … Sora stays ONLY on headings, highlight lines, small uppercase kicker
   labels, numbers and interactive controls */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3,
.vcard__t, .col-title, .mod-info__name, .disco-out__title, .modal__title, .conv__title,
.pull, .overhead__title, .statement__text,
.eyebrow, .chapter-no, .col-k, .mod-info__k, .mod-info__row .k, .field__label,
.disco-out__k, .modal__k, .conv__eyebrow, .footer__navk, .placeholder-note,
.pstep__k, .qitem__n, .disco-summary__n, .bintro__tagline, .bintro__enter-label,
.nav, .nav__links a, .nav-mobile, .btn, .btn-link, button, .disco-opt, .mod__btn,
input, textarea, select, .lang, .lang__cur, .progress {
  font-family: var(--font);
}
/* explicit serif on all running text — forced so no cascade can revert it */
.body-copy, .lede, .b-hero__sub, .vcard p, .value-card p, .qitem__q, .qitem__d,
.pstep p, .tax__k, .tax__d, .mod-info__row p, .mod-core__label, .col-list li,
.disco-q, .disco-config li, .disco-note, .disco-hint, .disco-summary__copy,
.modal__lead, .form__done, .check, .conv__copy, .conv__sec-copy, .conv__sec-lead, .conv__tag,
.sec-tag, .flow, .cloud-chip, .contact__lines, .footer__tag, .footer__meta, .footer__links,
.chat__name, .chat__status, .chat .msg {
  font-family: var(--font-body) !important;
}
/* the light intro paragraphs use weight 400 (the variable serif is reliable
   there); weight 300 was the one place it silently fell back */
.lede, .b-hero__sub { font-weight: 400; }
.body-copy, .lede, .b-hero__sub, .vcard p, .value-card p, .qitem__d, .pstep p,
.tax__d, .mod-info__row p, .col-list li, .modal__lead, .conv__copy,
.conv__sec-copy, .disco-note, .disco-hint, .disco-summary__copy,
.contact__lines, .footer__tag, .chat .msg { line-height: 1.66; }
