/* UDBHO About & vision: the dawn, explained. */

/* ---------- hero ---------- */
.ab-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 104px) 0 clamp(64px, 8vw, 112px); }
.ab-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ab-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 4.6vw + 14px, 88px); line-height: 1; letter-spacing: -.025em; margin-bottom: 32px; }
.ab-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
@media (min-width: 1000px) { .ab-title .line { white-space: nowrap; } }
.ab-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease-rise) forwards; }
.ab-title .line:nth-child(2) > span { animation-delay: .08s; }
.ab-title .line:nth-child(3) > span { animation-delay: .16s; }
.ab-title em { font-style: italic; color: var(--forest); position: relative; }
.ab-title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .1em; height: .24em; z-index: -1;
  background: linear-gradient(90deg, rgba(242,165,65,0), rgba(242,165,65,.5) 15%, rgba(242,165,65,.5) 85%, rgba(242,165,65,0));
  transform: scaleX(0); transform-origin: left; animation: underline 1.1s var(--ease) 1.3s forwards;
}

.ab-name { margin: 0; background: var(--paper-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.ab-dawn { width: 100%; height: auto; overflow: visible; }
.ab-dawn circle, .ab-dawn path { fill: none; stroke-linecap: round; }
.ab-dawn .glow { fill: url(#abglow); stroke: none; opacity: 0; animation: abFade 2.2s var(--ease) .6s forwards; }
.ab-dawn .sun { stroke: var(--forest); stroke-width: 2.2; transform: translateY(80px); animation: abRise 2.4s var(--ease-rise) .4s forwards; }
.ab-dawn .hz { stroke: var(--forest); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: abDraw 1.3s var(--ease) .2s forwards; }
.ab-dawn .hz.r { stroke: var(--forest-50); animation-delay: 1s; }
.ab-dawn .hz.r:last-child { animation-delay: 1.15s; }
.ab-name figcaption { display: block; margin-top: 18px; text-align: center; }
.ab-word { display: block; font-family: var(--f-display); font-size: clamp(34px, 2.6vw + 16px, 52px); line-height: 1.05; letter-spacing: -.01em; }
.ab-say { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-50); }
.ab-mean { display: block; margin: 18px auto 0; max-width: 30ch; font-size: 16px; line-height: 1.55; color: var(--forest-70); }
@keyframes abRise { to { transform: translateY(0); } }
@keyframes abFade { to { opacity: 1; } }
@keyframes abDraw { to { stroke-dashoffset: 0; } }

/* ---------- belief ---------- */
.ab-idea { padding: clamp(64px, 9vw, 130px) 0; border-top: 1px solid var(--forest-12); }
.ab-idea .idea-line { font-family: var(--f-display); font-size: clamp(28px, 3vw + 12px, 54px); line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; color: var(--forest-50); }
.ab-idea .idea-line.strong { color: var(--forest); margin-top: .5em; margin-left: auto; text-align: right; }

/* ---------- route ---------- */
.ab-shape { padding: 0 0 var(--section); }
.route { position: relative; }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-line path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.route-track { stroke: var(--forest-12); stroke-width: 2; stroke-dasharray: 2 7; }
.route-draw { stroke: var(--dawn); stroke-width: 2.5; }
.route.live .route-draw { stroke-dasharray: 0 99999; }
.route-line.narrow { display: none; }
.stops { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-auto-rows: 1fr; }
.stop { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 168px; }
.stop .pin { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--forest-50); transition: border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease); }
.stop.left .pin { left: 44%; }
.stop.right .pin { left: 56%; }
.stop.on .pin { border-color: var(--dawn); background: var(--dawn); box-shadow: 0 0 0 7px var(--dawn-soft); }
.stop-card { max-width: 480px; opacity: .45; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.route:not(.live) .stop-card, .stop.on .stop-card { opacity: 1; transform: none; }
.stop.left .stop-card { grid-column: 1; justify-self: end; text-align: right; padding-right: calc(12% + 40px); }
.stop.right .stop-card { grid-column: 2; justify-self: start; padding-left: calc(12% + 40px); }
.stop-card .n { display: block; font-family: var(--f-display); font-size: 15px; color: var(--dawn); margin-bottom: 8px; }
.stop-card h3 { text-wrap: balance; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 1.2vw + 18px, 32px); line-height: 1.12; margin-bottom: 8px; }
.stop-card p { color: var(--forest-70); font-size: 16px; }

/* ---------- vision ---------- */
.ab-vision { padding: var(--section) 0; position: relative; overflow: hidden; }
.ab-vision::before { content: ""; position: absolute; right: -15%; top: -30%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(242,165,65,.14), rgba(242,165,65,0) 62%); pointer-events: none; }
.ab-stages { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.stage svg { width: 100%; max-width: 300px; height: auto; overflow: visible; margin-bottom: 22px; }
.stage .st-hz { stroke: var(--paper-70); stroke-width: 1.8; fill: none; stroke-linecap: round; }
.stage .st-rf { stroke: var(--paper-14); stroke-width: 1.8; fill: none; stroke-linecap: round; }
.stage .st-sun { fill: rgba(242,165,65,.1); stroke: var(--dawn); stroke-width: 2.2; }
.stage .st-halo { fill: none; stroke: rgba(242,165,65,.4); stroke-width: 1.2; }
.stage .st-halo.h2 { stroke: rgba(242,165,65,.2); }
.stage .st-glow { opacity: .6; }
.stage .st-body { transform: translateY(84px); transition: transform 2s var(--ease-rise) .2s; }
.stage.in.s1 .st-body { transform: translateY(20px); }
.stage.in.s2 .st-body { transform: translateY(-6px); transition-delay: .45s; }
.stage.in.s3 .st-body { transform: translateY(-46px); transition-delay: .7s; }
.stage.s3 .st-glow { opacity: 1; }
.st-when { font-size: 12.5px; font-weight: 560; letter-spacing: .12em; text-transform: uppercase; color: var(--dawn); margin-bottom: 12px; }
.stage h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 1.2vw + 18px, 32px); line-height: 1.12; margin-bottom: 12px; }
.stage p:not(.st-when) { color: var(--paper-70); font-size: 16px; max-width: 32ch; }
.st-link { display: inline-flex; gap: 8px; margin-top: 18px; font-size: 15px; font-weight: 520; color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--paper-14); padding-bottom: 3px; }
.st-link:hover { border-color: var(--dawn); }

/* ---------- values: rings ---------- */
.ab-values { padding: var(--section) 0 0; }
.ab-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.vkey { list-style: none; padding: 0; margin: 0; }
.vkey button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding: 14px 0; border-top: 1px solid var(--forest-12); }
.vkey li:last-child button { border-bottom: 1px solid var(--forest-12); }
.vkey button:focus-visible { outline: 2px solid var(--dawn); outline-offset: 4px; border-radius: 6px; }
.vk-n { grid-row: 1 / 3; font-family: var(--f-display); font-size: 15px; color: var(--forest-50); padding-top: 8px; transition: color .4s var(--ease); }
.vk-w { font-family: var(--f-display); font-size: clamp(24px, 1.2vw + 18px, 32px); line-height: 1.15; color: var(--forest-50); transition: color .4s var(--ease); }
.vk-d { grid-column: 2; color: var(--forest-70); font-size: 16px; margin-top: 2px; }
.vkey button[aria-pressed="true"] .vk-w { color: var(--forest); }
.vkey button[aria-pressed="true"] .vk-n { color: var(--dawn); }
.vrings { position: relative; margin: 0; width: 100%; max-width: 540px; justify-self: center; }
.vrings svg { display: block; width: 100%; height: auto; overflow: visible; }
.vr-line { fill: none; stroke: var(--forest-12); stroke-width: 1.5; transition: stroke .6s var(--ease), stroke-width .6s var(--ease); }
.vr-tag { fill: var(--paper); stroke: var(--forest-12); stroke-width: 1.5; transition: fill .6s var(--ease), stroke .6s var(--ease); }
.vr-n { font-family: var(--f-display); font-size: 13px; fill: var(--forest-50); text-anchor: middle; dominant-baseline: central; transition: fill .6s var(--ease); }
.vring.on .vr-line { stroke: var(--dawn); stroke-width: 3; }
.vring.on .vr-tag { fill: var(--dawn); stroke: var(--dawn); }
.vring.on .vr-n { fill: var(--forest); }
.vcenter { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.vcenter span { grid-area: 1 / 1; font-family: var(--f-display); font-size: clamp(18px, 1vw + 12px, 24px); color: var(--forest); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.vcenter span.on { opacity: 1; transform: none; }

/* ---------- promise ---------- */
.ab-never { padding: var(--section) 0; }
.ab-never-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; background: var(--paper-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 64px); }
.ab-never .lead { margin-top: 20px; font-size: 17px; }
.ab-join .lead { margin-top: 24px; }
.ab-nlist { list-style: none; padding: 0; margin: 0; }
.ab-nlist li { position: relative; padding: 18px 0 18px 40px; border-top: 1px solid var(--forest-12); font-size: 17px; }
.ab-nlist li:first-child { border-top: 0; }
.ab-nlist li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--forest-50); }
.ab-nlist li::after { content: ""; position: absolute; left: 7px; top: 50%; width: 13px; height: 1.5px; background: var(--forest-50); transform: rotate(-45deg); }

/* ---------- join ---------- */
.ab-join { padding: var(--section) 0; position: relative; overflow: hidden; }
.ab-join::before { content: ""; position: absolute; left: -20%; bottom: -60%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(circle, rgba(242,165,65,.16), rgba(242,165,65,0) 60%); pointer-events: none; }
.ab-join-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ab-ways { list-style: none; padding: 0; margin: 0; }
.ab-ways a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 22px 4px; border-top: 1px solid var(--paper-14); text-decoration: none; transition: padding .4s var(--ease); }
.ab-ways li:last-child a { border-bottom: 1px solid var(--paper-14); }
.ab-ways strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 1.2vw + 18px, 32px); line-height: 1.1; }
.ab-ways span { grid-row: 2; font-size: 15px; color: var(--paper-70); margin-top: 4px; }
.ab-ways i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 22px; color: var(--dawn); transition: transform .4s var(--ease); }
.ab-ways a:hover { padding-left: 12px; }
.ab-ways a:hover i { transform: translateX(6px); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ab-hero-grid, .ab-never-grid, .ab-join-grid { grid-template-columns: 1fr; }
  .route-line.wide { display: none; }
  .route-line.narrow { display: block; width: 56px; right: auto; }
  .stop { grid-template-columns: 1fr; min-height: 0; padding: 18px 0; }
  .stop.left .pin { left: 21px; }
  .stop.right .pin { left: 35px; }
  .stop.left .stop-card, .stop.right .stop-card { grid-column: 1; justify-self: start; text-align: left; padding: 0 0 0 72px; }
  .ab-values-grid { grid-template-columns: 1fr; }
  .vrings svg { max-width: 420px; }
  .ab-stages { grid-template-columns: 1fr; gap: 56px; }
  .stage svg { max-width: 220px; }
}
@media (max-width: 700px) {
  .ab-idea .idea-line.strong { text-align: left; margin-left: 0; }
}
@media (max-width: 560px) {
  .ab-title { font-size: clamp(40px, 11.6vw, 54px); }
  .ab-nlist li { font-size: 16px; }
}

/* ---------- calm ---------- */
@media (prefers-reduced-motion: reduce) {
  .ab-dawn .glow, .ab-dawn .sun, .ab-dawn .hz, .ab-title .line > span, .ab-title em::after { animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .stage .st-body, .stop-card { transition: none !important; }
}
html.calm .ab-dawn .glow, html.calm .ab-dawn .sun, html.calm .ab-dawn .hz, html.calm .ab-title .line > span, html.calm .ab-title em::after { animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; }
