/* Dawn Energy Partners: one-page site. Tokens in tokens.css (brand guide, JARVIS 10-dawn/brand). */

/* Manrope, self-hosted (SIL Open Font License; same subsets as tools/social): no request to Google, no font swap */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* one language at a time: both live in the HTML so search engines index both */
html[data-lang="en"] body [lang="el"], html[data-lang="el"] body [lang="en"] { display: none !important; }

.kicker { font-size: var(--kicker-size); letter-spacing: var(--kicker-tracking); text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.gtext { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gtext span { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin: 0; font-weight: var(--h2-weight); font-size: var(--h2-size); line-height: 1.18; letter-spacing: -.01em; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
       padding: 12px 22px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; transition: border-color .3s, background .3s, color .3s; }
.btn:hover { background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--gradient) border-box; border-color: transparent; }
.btn.solid { background: #fff; color: var(--navy); border-color: #fff; font-weight: 600; }
.btn.solid:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between;
       padding: 0 var(--gutter); transition: background .4s, height .4s; }
.nav.solid { background: rgba(10,16,32,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 64px; border-bottom: 1px solid var(--hairline); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .m { height: 30px; width: auto; } .brand .wm { height: 15px; width: auto; }
.links { display: flex; gap: 34px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.links a { position: relative; padding: 6px 0; color: rgba(255,255,255,.86); }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gradient); transform: scaleX(0);
                  transform-origin: left; transition: transform .35s ease; }
.links a:hover::after { transform: scaleX(1); }
.navr { display: flex; align-items: center; gap: 20px; }
.navr .btn { padding: 10px 18px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .16em; }
.lang i { font-style: normal; color: var(--text-3); }
.lang button { font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 4px 2px; cursor: pointer; color: var(--text-3); }
html[data-lang="en"] .lang [data-set-lang="en"], html[data-lang="el"] .lang [data-set-lang="el"] { color: #fff; font-weight: 600; }

/* hero */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #070b16; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,32,.55) 0%, rgba(10,16,32,.05) 32%, rgba(10,16,32,.10) 55%, rgba(10,16,32,.82) 100%); }
.hero-copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14vh; }
h1 { margin: 0; font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: var(--display-tracking); line-height: 1.04;
     font-size: var(--display-size); max-width: 15ch; }
h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-right: .28em; }
h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform var(--reveal-duration) var(--ease); }
h1.in .w > span { transform: none; }
.hero-sub { margin: 28px 0 0; max-width: 600px; font-size: var(--body-size); line-height: 1.6; color: rgba(255,255,255,.86);
            opacity: 0; transform: translateY(12px); transition: opacity 1s .9s, transform 1s .9s; }
.hero-rule { width: 64px; height: 1px; background: var(--gradient); margin-top: 30px; opacity: 0; transition: opacity 1s 1.2s; }
.in-all .hero-sub, .in-all .hero-rule { opacity: 1; transform: none; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 14vh; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-2);
              writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--pink), transparent); }

/* sections */
.block { padding: clamp(88px, 11vw, 150px) var(--gutter); }
.block.head { padding-bottom: 44px; display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; align-items: baseline; }
.split { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; align-items: baseline; }

/* offering panels (2026-10-06): five dawn and dusk scenes tied together by a tint in each panel's colour (--accent),
   left to right as the brand gradient; the gradient itself stays on the mark, icons and hairlines only. */
.panels { display: flex; height: min(76vh, 760px); min-height: 520px; scroll-margin-top: 64px; }
.panel { position: relative; flex: 1 1 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
         padding: 0 22px 9%; text-align: center; transition: flex-grow .7s var(--ease); outline: none; }
.panel + .panel { border-left: 1px solid rgba(255,255,255,.06); }
.panel .img, .panel .img img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel .img img { object-fit: cover; transform: scale(1.04); filter: saturate(.88) brightness(.92); transition: transform 1.2s var(--ease), filter .6s; }
.panel .veil { position: absolute; inset: 0; background: var(--veil); transition: opacity .6s; }
.panel .tint { position: absolute; inset: 0; background: linear-gradient(0deg, var(--accent), transparent 75%); mix-blend-mode: soft-light;
               opacity: var(--tint, .5); pointer-events: none; transition: opacity .6s; }
/* top hairline in the panel's colour: the five together read as the brand gradient */
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); opacity: .45; z-index: 3;
                 transition: opacity .5s, height .5s, box-shadow .5s; }
/* siblings dim a little so attention follows the pointer */
.panel::after { content: ""; position: absolute; inset: 0; background: rgba(10,16,32,0); z-index: 1; pointer-events: none; transition: background .5s; }
.panel > :not(.img):not(.veil):not(.tint) { position: relative; z-index: 2; }
.panel .ico { width: 64px; height: 64px; margin-bottom: 22px; transition: transform .6s var(--ease); overflow: visible; }
.panel .lbl { font-size: 14px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; line-height: 1.5; min-height: 3em; }
.panel .more { max-width: 290px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.88); margin-top: 6px; max-height: 0; opacity: 0;
               transform: translateY(10px); transition: max-height .6s, opacity .5s, transform .6s; }
.panel .go { margin-top: 18px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center;
             opacity: 0; transition: opacity .5s .1s; }
.panel .go::after { content: ""; width: 34px; height: 1px; background: var(--accent); }
.panel:hover, .panel:focus-visible { flex-grow: 1.75; }
.panel:hover .img img, .panel:focus-visible .img img { transform: none; filter: none; }
.panel:hover .veil, .panel:focus-visible .veil { opacity: .78; }
.panel:hover .tint, .panel:focus-visible .tint { opacity: calc(var(--tint, .5) * .6); }
.panel:hover::before, .panel:focus-visible::before { opacity: 1; height: 3px; box-shadow: 0 0 14px var(--accent); }
.panels:hover .panel:not(:hover)::after { background: rgba(10,16,32,.22); }
.panel:focus-visible { box-shadow: inset 0 0 0 1px var(--accent); }
.panel:hover .more, .panel:focus-visible .more { max-height: 160px; opacity: 1; transform: none; }
.panel:hover .go, .panel:focus-visible .go { opacity: 1; }
.panel:hover .ico, .panel:focus-visible .ico { transform: translateY(-6px); }

/* entrance, once, when the strip comes into view: icon and label rise in sequence; the icon lines draw */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.js .panels:not(.in) .ico, html.js .panels:not(.in) .lbl { opacity: 0; }
.panels.in .ico, .panels.in .lbl { animation: rise .9s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms + 120ms); }
.panels .ico * { stroke-dasharray: 1 1; }
html.js .panels:not(.in) .ico * { stroke-dashoffset: 1; }
.panels.in .ico * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) calc(var(--i) * 120ms + 300ms); }

/* phone carousel dots (shown only at carousel widths) */
.strip-dots { display: none; }
.strip-dots button { width: 22px; height: 24px; padding: 8px 7px; border: 0; background: rgba(255,255,255,.28); background-clip: content-box;
                     border-radius: 99px; cursor: pointer; transition: width .35s var(--ease), background-color .35s; }
.strip-dots button[aria-current="true"] { width: 40px; background-color: var(--accent); }

/* value case */
.cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; margin-top: 64px; }
.col-h { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; padding-bottom: 14px; margin-bottom: 6px;
         border-bottom: 1px solid transparent; border-image: var(--gradient) 1; }
.item { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.item b { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.item p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.cards { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 56px; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.card .lead { font-size: 18px; line-height: 1.55; margin: 16px 0 22px; font-weight: 300; }
.rows .row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 14.5px; color: var(--text-2); }
.rows .row b { color: #fff; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows .row.total { border-bottom: 0; padding-top: 18px; color: #fff; font-size: 16px; }
.rows .row.total b { font-size: clamp(28px, 3vw, 40px); font-weight: 200; }
.rows .pct { text-align: right; color: var(--text-3); font-size: 13px; margin-top: -4px; }
.card .risk { margin: 22px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.card .note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.card.pv h3 { margin: 16px 0 14px; font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; }
.card.pv p { color: var(--text-2); font-size: 14.5px; line-height: 1.65; margin: 0 0 14px; }
.card.pv .honest { color: #fff; border-left: 2px solid var(--amber); padding-left: 14px; }

/* FAQ */
.qa { margin-top: 36px; }
.qa details { border-bottom: 1px solid var(--hairline); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 17px; font-weight: 400; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 200; color: var(--text-2); transition: transform .3s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: 0 0 22px; color: var(--text-2); line-height: 1.7; max-width: 64ch; }

/* contact */
.cta { text-align: center; padding: clamp(96px, 12vw, 150px) var(--gutter) 80px; border-top: 1px solid var(--hairline);
       background: radial-gradient(60% 80% at 50% 120%, rgba(160,102,245,.18), transparent 70%); scroll-margin-top: 64px; }
.cta h2 { max-width: 22ch; margin: 18px auto 34px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .score { max-width: 560px; margin: 26px auto 0; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.cta .mail { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.cta .mail a { border-bottom: 1px solid var(--hairline); }
/* 404 page: the same block, alone and centred under the menu bar */
.cta.nf { min-height: 80vh; display: grid; align-content: center; border-top: 0; padding-top: calc(var(--nav-height) + 48px); }

footer { padding: 36px var(--gutter); border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; gap: 24px;
         flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
footer .brand .m { height: 24px; } footer .brand .wm { height: 12px; }
footer .src, footer .co { font-size: 12px; }

section[id] { scroll-margin-top: 64px; }

@media (max-width: 980px) {
  .links { display: none; }
  .block.head, .split { grid-template-columns: 1fr; gap: 16px; }
  .cols, .cards { grid-template-columns: 1fr; }
  /* the strip becomes a swipe carousel: snap to each panel, the next one peeks in */
  .panels { height: auto; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 0 var(--gutter);
            scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .panels::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 82vw; height: min(72vh, 560px); min-height: 420px; border-radius: 14px; scroll-snap-align: center; padding-bottom: 40px; }
  .panel + .panel { border-left: 0; }
  .panel:hover, .panel:focus-visible { flex-grow: 0; }
  .panels:hover .panel:not(:hover)::after { background: rgba(10,16,32,0); }
  .panel .more { max-height: none; opacity: 1; transform: none; } .panel .go { opacity: 1; }
  .strip-dots { display: flex; justify-content: center; gap: 2px; padding: 18px 0 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .navr .btn { display: none; }
  .brand .wm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1 .w > span, .hero-sub, .hero-rule { transition: none; transform: none; opacity: 1; }
  .hero video { display: none; }
}

/* ---------------- header: offerings dropdown, mobile menu (round 3, 2026-10-01) ---------------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.links { align-items: center; }
.dd { position: relative; }
.dd-btn { font: inherit; letter-spacing: inherit; text-transform: inherit; color: rgba(255,255,255,.86); background: none; border: 0; cursor: pointer;
          padding: 6px 0; display: inline-flex; align-items: center; gap: 8px; }
.dd-btn i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg);
            transition: transform .3s; }
.dd.open .dd-btn i { transform: translateY(1px) rotate(225deg); }
.dd-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; padding: 10px;
           background: rgba(15,24,48,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--hairline);
           border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 981px) { .dd:hover .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.dd-menu a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; text-transform: none; letter-spacing: .01em;
             font-size: 14px; font-weight: 400; color: rgba(255,255,255,.9); }
.dd-menu a::after { display: none; }
.dd-menu a:hover, .dd-menu a[aria-current] { background: rgba(255,255,255,.06); }
.dd-menu img { width: 22px; height: 22px; flex: none; }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px; background: #fff; transition: transform .3s, top .3s; }
.burger::before { top: 15px; } .burger::after { top: 24px; }
html.menu-open .burger::before { top: 19px; transform: rotate(45deg); }
html.menu-open .burger::after { top: 19px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  html.menu-open { overflow: hidden; }
  html.menu-open .links { display: flex; position: fixed; inset: 64px 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
                          padding: 12px var(--gutter) 40px; background: var(--navy); overflow-y: auto; }
  html.menu-open .nav { background: var(--navy); height: 64px; }
  html.menu-open .links > a, html.menu-open .dd-btn { padding: 18px 0; border-bottom: 1px solid var(--hairline); font-size: 13px; width: 100%; justify-content: space-between; }
  html.menu-open .links > a::after { display: none; }
  .dd-menu { position: static; transform: none; min-width: 0; opacity: 1; visibility: visible; display: none; background: none; border: 0; box-shadow: none;
             backdrop-filter: none; padding: 4px 0 10px; }
  .dd.open .dd-menu { display: block; transform: none; }
  .dd-menu::before { display: none; }
}

/* ---------------- offering pages ---------------- */
.o-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden;
          padding-top: calc(var(--nav-height) + 36px); }   /* short screens: the text never slides under the fixed menu bar */
.o-hero .img, .o-hero .img img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.o-hero .img img { object-fit: cover; filter: saturate(.92); animation: settle 6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
/* veil: top-to-bottom for the nav and the page below, plus a left scrim behind the text (the photos' subjects sit
   centre-right); --scrim is set per page in build.py where the photo is bright behind the text */
.o-hero .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,32,var(--scrim,.66)), rgba(10,16,32,calc(var(--scrim,.66) * .48)) 35%, rgba(10,16,32,0) 65%),
                linear-gradient(180deg, rgba(10,16,32,.55), rgba(10,16,32,.35) 40%, rgba(10,16,32,.92)); }
.o-hero-copy { position: relative; padding: 0 var(--gutter) 9vh; max-width: 980px; }
.o-crumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #fff; margin-bottom: 26px; }
.o-crumb a { border-bottom: 1px solid var(--hairline); } .o-crumb a:hover { border-color: var(--accent); }
.o-crumb i { font-style: normal; color: var(--text-3); }
.o-mark { margin-bottom: 20px; }
.o-mark .o-ico { display: block; width: 56px; height: 56px; overflow: visible; }
.o-hero-copy .kicker { color: rgba(255,255,255,.86); }
.o-hero-copy .kicker::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 14px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.o-hero h1 { text-transform: none; letter-spacing: -.01em; font-weight: 300; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.1; max-width: 20ch; margin: 14px 0 0; }
.o-line { margin: 22px 0 0; max-width: 620px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); }
.o-body { display: grid; gap: 0; padding-top: clamp(64px, 8vw, 110px); }
.o-row { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; padding: 34px 0; border-top: 1px solid var(--hairline); align-items: baseline; }
.o-row:first-child { border-top: 0; }
.o-row > * { min-width: 0; }                             /* lets the chart plot scroll inside its card instead of widening the row */
.o-row p { margin: 0; color: var(--text-2); font-size: var(--body-size); line-height: var(--body-leading); max-width: 66ch; }
/* signature chart card (illustrative; site/charts.py) */
.sig { margin: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 34px); }
.sig-head { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.sig-head h3 { margin: 0; font-weight: 300; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; }
.sig-tag { flex: none; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--hairline);
           border-radius: 99px; padding: 5px 10px; }
.sig-plot { overflow-x: auto; scrollbar-width: thin; }
.sig-svg { display: block; width: 100%; height: auto; }
.sig figcaption { margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.6; max-width: 70ch; }
.sig .gl { stroke: #fff; stroke-opacity: .07; stroke-width: 1; }
.sig .gl.base { stroke-opacity: .18; }
.sig .ref { stroke: #fff; stroke-opacity: .35; stroke-width: 1.2; stroke-dasharray: 3 5; }
.sig .ax { fill: #fff; fill-opacity: .5; font-size: 14px; font-weight: 400; }
.sig .lbl { fill: #fff; fill-opacity: .92; font-size: 15px; font-weight: 500; }
.sig .lbl.dim { fill-opacity: .6; }
.sig .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease) var(--d, .3s); }
.sig.in .draw { stroke-dashoffset: 0; }
.sig .fade { opacity: 0; transition: opacity 1.1s var(--ease) var(--d, .6s); }
.sig.in .fade { opacity: 1; }
.sig .grow { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .9s var(--ease) var(--d, .2s); }
.sig.in .grow { transform: none; }

/* steps: a hairline in the offering's colour draws across, numerals light in turn */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--accent); transform-origin: left;
                 transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.steps.in::before { transform: none; }
.steps li { border-top: 1px solid var(--hairline); padding-top: 16px; }
.steps i { font-style: normal; display: block; font-size: 38px; font-weight: 200; line-height: 1; margin-bottom: 14px; color: rgba(255,255,255,.3);
           transition: color .6s var(--ease) calc(var(--n) * 350ms + 300ms); }
.steps.in i { color: #fff; }
.steps.in li:first-child i { color: var(--accent); }
html:not(.js) .steps i { color: #fff; }
.steps b { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.steps span { color: var(--text-2); font-size: 14px; line-height: 1.6; }
.o-cta { text-align: center; padding: 72px var(--gutter) 80px; border-top: 1px solid var(--hairline);
         background: radial-gradient(60% 90% at 50% 120%, rgba(160,102,245,.16), transparent 70%); }
.o-cta h2 { margin: 0 auto 28px; max-width: 24ch; }
.o-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 28px var(--gutter); border-top: 1px solid var(--hairline); font-size: 15px; align-items: center; }
.o-pager a { display: flex; align-items: center; gap: 16px; }
.o-pager a > span { display: flex; flex-direction: column; gap: 6px; }
.o-pager .home { justify-content: center; text-align: center; color: var(--text-3); }
.o-pager .next { flex-direction: row-reverse; text-align: right; }
.o-pager .next > span { align-items: flex-end; }
.o-pager small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.o-pager .thumb { position: relative; flex: none; width: 120px; height: 80px; border-radius: 8px; overflow: hidden; display: block; }
.o-pager .thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(.9); transition: filter .4s, transform .6s var(--ease); }
.o-pager .thumb::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); opacity: .5; transition: opacity .4s; }
.o-pager a:hover .thumb img { filter: none; transform: scale(1.04); }
.o-pager a:hover .thumb::after { opacity: 1; }
@media (max-width: 980px) {
  .o-row { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .o-pager { grid-template-columns: 1fr 1fr; } .o-pager .home { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .sig-svg { min-width: 640px; }                       /* keep chart labels legible: the plot scrolls sideways on phones */
  .o-pager .thumb { width: 72px; height: 54px; }
}

/* motion off: final states at once (brand guide 6) */
@media (prefers-reduced-motion: reduce) {
  .panels.in .ico, .panels.in .lbl { animation: none; }
  html.js .panels:not(.in) .ico, html.js .panels:not(.in) .lbl { opacity: 1; }
  .panels .ico * { stroke-dashoffset: 0 !important; transition: none !important; }
  .o-hero .img img { animation: none; }
  .sig .draw { stroke-dashoffset: 0 !important; transition: none; }
  .sig .fade { opacity: 1 !important; transition: none; }
  .sig .grow { transform: none !important; transition: none; }
  .steps::before { transform: none; transition: none; } .steps i { color: #fff; transition: none; }
  .panels { scroll-behavior: auto; }
}
@media print {
  .sig .draw { stroke-dashoffset: 0 !important; } .sig .fade { opacity: 1 !important; } .sig .grow { transform: none !important; }
  .steps::before { transform: none; } .steps i { color: #000; }
}
