/* Elysian Cruises. Asymmetric grid, oversized numbers, deliberate white space. */
@view-transition { navigation: auto; }
:root {
  --ground: #f6f1e8; --surface: #fffdf8; --ink: #0e1f33; --primary: #1d4e7a; --accent: #e2a23b; --muted: #566273;
  --sky: #dbe8f2; --gold-ink: #8a5a12; --line: rgba(14, 31, 51, .14); --navy-2: #13294a;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif; --sans: 'Hind', system-ui, sans-serif;
  --wrap: 1280px; --gut: clamp(16px, 4vw, 48px); --r: 2px; --hdr: 76px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
em.it, .it { font-style: italic; }
.skip { position: absolute; left: -999px; top: 56px; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 1.1rem; display: flex; gap: .7rem; align-items: center; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.num { font-family: var(--serif); font-style: italic; font-weight: 400; line-height: .8; letter-spacing: -.04em; }
.big-num { font-size: clamp(6rem, 16vw, 15rem); color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.note { font-size: .86rem; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.5rem; border-radius: 999px; font: 500 1rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, transform .25s, border-color .25s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--primary); color: #fff; }
.btn-gold { background: var(--accent); color: var(--ink); }
.btn-gold:hover { background: #f0b85c; color: var(--ink); }
a.btn-gold, .bg-ink a.btn-gold, .ftr a.btn-gold, .tool-out a.btn-gold { color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.on-dark .btn-line { color: #fff; }
.on-dark .btn-line:hover { background: #fff; color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; gap: .5rem; align-items: center; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; min-height: 44px; }
.link-arrow:hover { color: var(--primary); }
.ico { width: 28px; height: 28px; color: var(--primary); flex: none; }

/* header: split navigation around a centred wordmark */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 232, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: height .3s, border-color .3s, background .3s; }
.hdr.condensed { border-bottom-color: var(--line); background: rgba(255, 253, 248, .95); }
.hdr-in { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; transition: height .3s; }
.hdr.condensed .hdr-in { height: 60px; }
.nav-l, .nav-r { display: flex; gap: 1.6rem; align-items: center; }
.nav-r { justify-content: flex-end; }
.nav-l a, .nav-r a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; padding: 10px 0; position: relative; }
.nav-l a::after, .nav-r a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--accent); transition: right .3s; }
.nav-l a:hover::after, .nav-r a:not(.btn):hover::after, .nav-l a[aria-current]::after, .nav-r a[aria-current]::after { right: 0; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.brand b { font: 500 1.7rem/1 var(--serif); letter-spacing: .32em; margin-right: -.32em; }
.brand span { font: 600 .6rem/1 var(--sans); letter-spacing: .5em; margin-top: 6px; color: var(--gold-ink); margin-right: -.5em; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px; 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: 18px; height: 1.5px; background: var(--ink); position: relative; content: ''; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.hdr .btn { min-height: 44px; padding: 0 1.2rem; font-size: .92rem; }
.voyage-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.voyage-line i { position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--primary), var(--accent)); }
.voyage-line svg { position: absolute; top: -13px; left: calc(var(--p, 0) * (100% - 30px)); width: 30px; height: 14px; color: var(--ink); }
@media (max-width: 1120px) {
  .nav-l, .nav-r a:not(.btn) { display: none; }
  .hdr-in { grid-template-columns: auto 1fr auto; }
  .brand { align-items: flex-start; grid-column: 1; grid-row: 1; }
  .nav-r { grid-column: 3; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) { .hdr .nav-r .btn { display: none; } .brand b { font-size: 1.35rem; } }

/* overlay menu */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: #fff; overflow: auto; padding: 64px var(--gut) 40px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; max-width: var(--wrap); margin: 0 auto 2rem; }
.menu-top .brand { color: #fff; align-items: flex-start; } .menu-top .brand span { color: var(--accent); }
.menu-close { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1.6rem; cursor: pointer; }
.menu ol { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); columns: 2 280px; column-gap: 3rem; counter-reset: m; }
.menu li { counter-increment: m; break-inside: avoid; border-top: 1px solid rgba(255,255,255,.12); }
.menu li a { display: flex; align-items: baseline; gap: 1rem; padding: 14px 0; color: #fff; text-decoration: none; font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--serif); }
.menu li a::before { content: counter(m, decimal-leading-zero); font: 500 .8rem/1 var(--sans); color: var(--accent); letter-spacing: .1em; }
.menu li a:hover { color: var(--accent); }
.menu-foot { max-width: var(--wrap); margin: 2rem auto 0; display: flex; flex-wrap: wrap; gap: 1rem; }

/* phone bottom bar */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(14, 31, 51, .96); backdrop-filter: blur(8px); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center; color: #e9eef4; text-decoration: none; font-size: .74rem; letter-spacing: .02em; }
  .tabbar a svg { width: 22px; height: 22px; color: var(--accent); }
  body { padding-bottom: 68px; }
}

/* sections */
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-surface { background: var(--surface); }
.bg-sky { background: var(--sky); }
.bg-ink { background: var(--ink); color: #eef2f6; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .muted, .bg-ink .note { color: #b9c4d1; }
.bg-ink .eyebrow { color: var(--accent); }
.bg-ink a { color: #f3d29a; }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.c1-6 { grid-column: 1 / 7; } .c2-7 { grid-column: 2 / 8; } .c2-8 { grid-column: 2 / 9; } .c1-5 { grid-column: 1 / 6; }
.c7-12 { grid-column: 7 / 13; } .c8-12 { grid-column: 8 / 13; } .c8-13 { grid-column: 8 / 13; } .c9-12 { grid-column: 9 / 13; } .c6-12 { grid-column: 6 / 13; } .c3-11 { grid-column: 3 / 12; }
.c1-8 { grid-column: 1 / 9; } .c9-13 { grid-column: 9 / 13; } .c1-13 { grid-column: 1 / 13; } .c5-12 { grid-column: 5 / 13; } .c1-4 { grid-column: 1 / 5; }
.drop { margin-top: clamp(40px, 8vw, 120px); }
@media (max-width: 860px) { .grid12 > * { grid-column: 1 / -1 !important; } .drop { margin-top: 0; } }
.head-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row > div:first-child { grid-column: 1 / 8; }
.head-row > p, .head-row > div:last-child:not(:first-child) { grid-column: 9 / 13; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .head-row > * { grid-column: 1 / -1 !important; } }

/* pictures: fixed ratio with palette ground so layout holds before photos load */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sky), #c6d7e4); aspect-ratio: var(--ar, 4 / 5); border-radius: var(--r); }
.ph img { color: transparent; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ph.arch { border-radius: 999px 999px var(--r) var(--r); }
.ph.port { border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 10px var(--surface), 0 0 0 11px var(--line); }
a:hover .ph img, .card:hover .ph img { transform: scale(1.04); }
.cap { font-size: .82rem; color: var(--muted); margin-top: .7rem; display: flex; gap: .6rem; }
.cap b { color: var(--gold-ink); font-weight: 600; }

/* home hero: the ship */
.sail { height: 230vh; background: #dfe9f0; margin-top: calc(-1 * var(--hdr)); }
.sail-sticky { position: sticky; top: 48px; height: calc(100vh - 48px); height: calc(100svh - 48px); overflow: hidden; }
.sail-still, #ship3d { position: absolute; inset: 0; width: 100%; height: 100%; }
#ship3d { opacity: 0; transition: opacity 1.4s ease; }
#ship3d.ready { opacity: 1; }
.sail-still svg { width: 100%; height: 100%; }
.sail-copy { position: absolute; inset: calc(var(--hdr) + 54px) 0 auto 0; z-index: 2; pointer-events: none; }
.sail-copy::before { content: ''; position: absolute; left: -10%; top: -40%; width: 80%; height: 170%; background: radial-gradient(closest-side, rgba(246, 241, 232, .78), rgba(246, 241, 232, 0)); pointer-events: none; z-index: -1; }
.sail-copy .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.sail-copy .txt { grid-column: 1 / 9; pointer-events: auto; }
.sail-copy .btn-line { background: rgba(255, 253, 248, .72); }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.sail-copy h1 { color: var(--ink); max-width: 19ch; font-size: clamp(2.6rem, 4.9vw, 4.5rem); }
.sail-copy h1 em { font-style: italic; color: var(--primary); }
.sail-copy .lead { color: #2e3b4b; }
.sail-copy .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.sail-copy .side { grid-column: 10 / 13; align-self: start; text-align: right; pointer-events: auto; padding-top: 1rem; }
.sail-copy .side .num { font-size: clamp(5rem, 10vw, 9rem); color: var(--ink); display: block; }
.sail-copy .side small { display: block; font-size: .9rem; color: #2e3b4b; max-width: 20ch; margin-left: auto; }
.sail-route { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; }
.route { position: relative; height: 2px; background: rgba(255,255,255,.5); margin: 0 0 14px; }
.route i { position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); }
.route .stop { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transform: translateX(-6px); }
.route-names { display: flex; justify-content: space-between; color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(14,31,51,.55); }
.sail-steps { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.sail-steps li { list-style: none; background: rgba(14, 31, 51, .72); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .85rem; opacity: .5; transition: opacity .4s, background .4s; }
.sail-steps li.on { opacity: 1; background: rgba(14, 31, 51, .92); }
.sail-steps ul { padding: 0; margin: 0; display: contents; }
.scroll-hint { display: none; position: absolute; right: var(--gut); bottom: 110px; z-index: 2; color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; text-shadow: 0 1px 8px rgba(14,31,51,.6); }
.rm .sail, .low .sail { height: auto; }
.rm .sail-sticky, .low .sail-sticky { position: relative; top: 0; height: calc(100svh - 48px); max-height: 900px; }
@media (max-width: 860px) {
  .sail { height: 170vh; }
  .sail-copy { inset: calc(var(--hdr) + 22px) 0 auto 0; }
  .sail-copy .lead .more { display: none; }
  .sail-copy .eyebrow { margin-bottom: .7rem; }
  .sail-copy .cta { margin-top: 1.1rem; }
  .sail-copy .txt { grid-column: 1 / -1; }
  .sail-copy .side { display: none; }
  .sail-copy h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .sail-copy .lead { font-size: 1.02rem; }
  .sail-route { bottom: 82px; }
  .sail-route .wrap { padding-right: 88px; }
  .sail-copy h1 { margin-bottom: .35em; }
  .sail-steps { display: none !important; }
  .rm .sail-sticky, .low .sail-sticky { height: 780px; }
  .rm .sail-route, .low .sail-route { bottom: 16px; }
  .scroll-hint { display: none; }
}

/* live strip */
.live { background: var(--ink); color: #e8eef5; }
.live .wrap { display: flex; gap: 2rem; align-items: center; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.live-tag { display: inline-flex; gap: .5rem; align-items: center; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.live-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 0 0 rgba(95, 211, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(95, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 154, 0); } }
.live ul { display: flex; gap: 2rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.live li b { color: #fff; font-weight: 600; }
.live small { color: #aebbd0; font-size: .78rem; margin-left: auto; }
@media (max-width: 760px) { .live ul { gap: .5rem 1.4rem; } .live small { margin-left: 0; } }

/* statement */
.statement p.big { font: 400 clamp(1.7rem, 3.4vw, 2.9rem)/1.22 var(--serif); margin: 0; }
.statement p.big em { color: var(--primary); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { border-top: 1px solid var(--line); padding: 16px 0; display: flex; justify-content: space-between; gap: 1rem; }
.facts li b { font: 500 1.6rem/1 var(--serif); }

/* voyage cards: staggered offset grid */
.voy-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 40px); }
.voy { grid-column: span 4; text-decoration: none; color: var(--ink); display: block; position: relative; }
.voy:nth-child(3n+2) { margin-top: 90px; }
.voy:nth-child(3n+3) { margin-top: 30px; }
.voy .n { position: absolute; top: -.42em; right: .1em; z-index: 2; font-size: clamp(4.5rem, 7vw, 6.6rem); color: var(--surface); -webkit-text-stroke: 1px var(--ink); }
.voy h3 { margin: 1rem 0 .3rem; }
.voy .meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .92rem; }
.voy .price { margin-top: .6rem; font-weight: 500; }
.voy .price b { font: 500 1.3rem var(--serif); }
@media (max-width: 1000px) { .voy { grid-column: span 6; } .voy:nth-child(n) { margin-top: 0; } .voy:nth-child(2n) { margin-top: 60px; } }
@media (max-width: 620px) { .voy { grid-column: 1 / -1; } .voy:nth-child(2n) { margin-top: 0; } }

/* day at sea timeline */
.dayline { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.dayline-list { grid-column: 5 / 13; list-style: none; margin: 0; padding: 0; position: relative; }
.dayline-list::before { content: ''; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.dayline-list .bar { position: absolute; left: 92px; top: 8px; width: 1px; height: calc(var(--p, 0) * (100% - 16px)); background: var(--accent); }
.dayline-list li { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 0 0 46px; position: relative; }
.dayline-list li::after { content: ''; position: absolute; left: 87px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--ground); border: 1px solid var(--ink); }
.dayline-list time { font: italic 400 1.6rem/1 var(--serif); color: var(--primary); }
.dayline-list h3 { margin-bottom: .3rem; }
.dayline-side { grid-column: 1 / 5; position: sticky; top: 140px; align-self: start; }
@media (max-width: 860px) { .dayline-side { position: static; grid-column: 1 / -1; } .dayline-list { grid-column: 1 / -1; } .dayline-list li { grid-template-columns: 64px 1fr; gap: 22px; } .dayline-list::before, .dayline-list .bar { left: 72px; } .dayline-list li::after { left: 67px; } .dayline-list time { font-size: 1.25rem; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.bento > * { background: var(--surface); border: 1px solid var(--line); padding: 26px; border-radius: var(--r); position: relative; overflow: hidden; }
.bento .b-wide { grid-column: span 4; } .bento .b-tall { grid-row: span 2; } .bento .b-2 { grid-column: span 2; } .bento .b-3 { grid-column: span 3; } .bento .b-6 { grid-column: span 6; }
.bento .b-photo { padding: 0; min-height: 280px; }
.bento .b-photo .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.bento .b-photo .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; background: linear-gradient(transparent, rgba(14, 31, 51, .86)); }
.bento .b-photo .over h3 { color: #fff; margin: 0 0 .2rem; }
.bento .b-ink { background: var(--ink); color: #eaf0f6; border-color: var(--ink); }
.bento .b-ink h3 { color: #fff; }
.bento .b-gold { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; } .bento > * { grid-column: span 2 !important; grid-row: auto !important; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 1px solid rgba(255,255,255,.22); padding-top: 18px; }
.stat b { display: block; font: italic 400 clamp(3rem, 6vw, 5rem)/1 var(--serif); color: var(--accent); }
.stat span { color: #c8d3df; font-size: .95rem; }
.bg-surface .stat, .bg-sky .stat { border-color: var(--line); } .bg-surface .stat b { color: var(--primary); } .bg-surface .stat span { color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.quote { margin: 0; }
.quote:nth-child(1) { grid-column: 1 / 7; } .quote:nth-child(2) { grid-column: 8 / 13; margin-top: 120px; } .quote:nth-child(3) { grid-column: 3 / 9; }
.quote blockquote { margin: 0; font: 400 clamp(1.35rem, 2.3vw, 1.9rem)/1.32 var(--serif); }
.quote blockquote::before { content: '\201C'; display: block; font: italic 400 5rem/0.6 var(--serif); color: var(--accent); margin-bottom: .3rem; }
.quote figcaption { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .quote:nth-child(n) { grid-column: 1 / -1; margin-top: 0; } }

/* tables */
.table-box { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--ground); }
tbody th { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }

/* page hero (inner) */
.phero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); position: relative; }
.phero .grid12 { align-items: end; }
.phero .pnum { grid-column: 1 / 3; align-self: start; }
.phero .pnum .num { font-size: clamp(4rem, 9vw, 8rem); color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; }
.phero .ptxt { grid-column: 3 / 9; }
.phero .ptxt h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); view-transition-name: page-title; }
.phero .pimg { grid-column: 9 / 13; }
.phero.no-img .ptxt { grid-column: 3 / 12; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); }
@media (max-width: 860px) { .phero .pnum { display: none; } .phero .ptxt, .phero .pimg, .phero.no-img .ptxt { grid-column: 1 / -1; } .phero .pimg .ph { --ar: 16 / 10 !important; } }

/* cards and lists */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: relative; }
.card h3 { margin-top: .4rem; }
.card .ph { margin: -26px -26px 20px; border-radius: var(--r) var(--r) 0 0; }
.tick { list-style: none; padding: 0; margin: 0 0 1em; }
.tick li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.tick li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 1.5px solid var(--primary); border-bottom: 1.5px solid var(--primary); transform: rotate(-45deg); }
.bg-ink .tick li { border-color: rgba(255,255,255,.14); } .bg-ink .tick li::before { border-color: var(--accent); }
.numlist { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.numlist li::before { content: counter(n, decimal-leading-zero); font: italic 400 3rem/1 var(--serif); color: var(--accent); }
.bg-ink .numlist li { border-color: rgba(255,255,255,.14); }
@media (max-width: 560px) { .numlist li { grid-template-columns: 56px 1fr; } .numlist li::before { font-size: 2.2rem; } }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: 4px 12px; border-radius: 999px; font-size: .8rem; background: var(--sky); color: var(--ink); font-weight: 500; }
.pill.gold { background: #f6e2bd; } .pill.green { background: #d4eedf; color: #12452b; } .pill.red { background: #f6d9d3; color: #6d1f10; } .pill.ink { background: var(--ink); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--surface); }
.marquee-in { display: flex; gap: 3rem; width: max-content; animation: mq 46s linear infinite; font: italic 400 clamp(1.6rem, 3vw, 2.4rem)/1 var(--serif); color: var(--primary); }
.marquee-in span::after { content: '\2022'; margin-left: 3rem; color: var(--accent); font-style: normal; }
@keyframes mq { to { transform: translateX(-50%); } }
.rm .marquee-in, .low .marquee-in { animation: none; }

/* tabs */
.tabs [role=tablist] { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs [role=tab] { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 18px; font: 500 1rem var(--sans); color: var(--muted); cursor: pointer; min-height: 48px; }
.tabs [role=tab][aria-selected=true] { color: var(--ink); border-color: var(--accent); }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font: 500 1.2rem/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 18px; font: 300 1.8rem/1 var(--sans); color: var(--gold-ink); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: #2f3c4c; max-width: 70ch; }

/* forms */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .row2 { grid-template-columns: 1fr; } }
.field label, .lbl { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea, .inp { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid rgba(14, 31, 51, .28); border-radius: var(--r); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: 2px solid rgba(29, 78, 122, .25); }
.field .err { color: #a3261b; font-size: .85rem; min-height: 0; margin-top: 4px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #a3261b; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--primary); }
.thanks { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 28px; border-radius: var(--r); }
.thanks h3 { margin-bottom: .4rem; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); border-radius: var(--r); }

/* tools */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); }
.tool-out { background: var(--ink); color: #fff; padding: 24px; border-radius: var(--r); }
.tool-out .tot { font: italic 400 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: var(--accent); display: block; margin: .3rem 0 .6rem; }
.tool-out dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; font-size: .95rem; }
.tool-out dt { color: #b9c4d1; } .tool-out dd { margin: 0; text-align: right; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .chipbtn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(14, 31, 51, .28); background: var(--surface); color: var(--ink); font: 500 .95rem var(--sans); cursor: pointer; }
.seg button[aria-pressed=true], .chipbtn[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 14px; align-items: end; margin-bottom: 32px; }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr 1fr; } .filters .field:first-child { grid-column: 1 / -1; } }
.count-line { color: var(--muted); margin-bottom: 18px; }

/* deck plan */
.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.cab { min-height: 48px; border: 1px solid rgba(14, 31, 51, .25); background: var(--surface); border-radius: 4px; font: 500 .8rem var(--sans); cursor: pointer; color: var(--ink); }
.cab[data-st=taken] { background: repeating-linear-gradient(45deg, #e7e2d8, #e7e2d8 4px, #f2eee6 4px, #f2eee6 8px); color: #6b6f75; cursor: not-allowed; }
.cab[data-st=hold] { background: #f6e2bd; }
.cab[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: 14px 0; }
.legend i { display: inline-block; width: 16px; height: 16px; border-radius: 3px; vertical-align: -3px; margin-right: 6px; border: 1px solid rgba(14,31,51,.25); }
.deck-svg { width: 100%; height: auto; margin-bottom: 18px; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font-size: .75rem; text-align: center; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.cal button { min-height: 52px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; font: 500 .95rem var(--sans); color: #8a9099; cursor: default; padding: 2px; }
.cal button.sail-day { color: var(--ink); cursor: pointer; border-color: var(--primary); background: #eaf2f8; }
.cal button.sail-day small { display: block; font-size: .65rem; color: var(--primary); }
.cal button[aria-pressed=true] { background: var(--ink); color: #fff; } .cal button[aria-pressed=true] small { color: var(--accent); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-head button { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; }

/* wizard */
.steps-nav { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; flex-wrap: wrap; counter-reset: s; }
.steps-nav li { counter-increment: s; font-size: .85rem; color: var(--muted); padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.steps-nav li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ground); font-weight: 600; }
.steps-nav li.on { color: var(--ink); border-color: var(--ink); } .steps-nav li.on::before { background: var(--ink); color: #fff; }
.steps-nav li.done::before { background: var(--accent); }
.step-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; flex-wrap: wrap; }
.optgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.opt { display: block; border: 1px solid rgba(14, 31, 51, .25); border-radius: var(--r); padding: 16px; cursor: pointer; background: var(--surface); position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.opt:has(input:focus-visible) { outline: 3px solid var(--accent); }
.opt b { display: block; font: 500 1.1rem var(--serif); }
.opt span { font-size: .9rem; color: var(--muted); }

/* drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90; background: var(--surface); box-shadow: -20px 0 60px rgba(14, 31, 51, .2); display: flex; flex-direction: column; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 70px 22px 16px; border-bottom: 1px solid var(--line); }
.drawer-b { flex: 1; overflow: auto; padding: 18px 22px; }
.drawer-f { padding: 18px 22px; border-top: 1px solid var(--line); }
.drawer-item { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-item button { min-width: 44px; min-height: 44px; border: 0; background: none; color: #a3261b; cursor: pointer; text-decoration: underline; }
.x { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.3rem; }
.cart-fab { position: fixed; left: 16px; bottom: 90px; z-index: 44; }

/* gallery and lightbox */
.gal { columns: 3 260px; column-gap: 16px; }
.gal button { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 16px; background: none; cursor: zoom-in; break-inside: avoid; text-align: left; }
.gal figcaption { font-size: .85rem; color: var(--muted); padding: 8px 0 0; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(8, 16, 28, .94); display: grid; place-items: center; padding: 60px 16px; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox .ph { --ar: 3 / 2; }
.lightbox figcaption { color: #e9eef4; margin-top: 12px; }
.lightbox .x { position: absolute; top: 64px; right: 16px; background: #fff; }
.lightbox .nav { position: absolute; top: 50%; width: 48px; height: 48px; border-radius: 999px; border: 0; background: #fff; cursor: pointer; font-size: 1.2rem; }
.lightbox .prev { left: 12px; } .lightbox .next { right: 12px; }

/* AI line card */
.ai-line { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--navy-2), var(--ink)); color: #fff; padding: clamp(24px, 4vw, 44px); border-radius: var(--r); position: relative; overflow: hidden; }
.ai-line::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(226, 162, 59, .35); box-shadow: 0 0 0 30px rgba(226,162,59,.06), 0 0 0 60px rgba(226,162,59,.04); }
.ai-line h3 { color: #fff; margin: 0 0 .3rem; }
.ai-line p { margin: 0; color: #c9d4e1; }
.ai-line .ring { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--ink); }
.ai-line .ring svg { width: 34px; height: 34px; }
.ai-line .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .ai-line { grid-template-columns: 1fr; } }

/* footer */
.ftr { background: var(--ink); color: #c6d0dc; padding: clamp(64px, 8vw, 110px) 0 32px; position: relative; overflow: hidden; }
.ftr .mega { font: italic 400 clamp(5rem, 19vw, 18rem)/.8 var(--serif); color: rgba(255,255,255,.06); letter-spacing: -.03em; white-space: nowrap; margin: 0 0 .1em; user-select: none; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; }
.ftr h2 { font-size: 1.4rem; color: #fff; }
.ftr h3 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li a { color: #dfe6ee; text-decoration: none; display: inline-block; padding: 6px 0; min-height: 36px; }
.ftr li a:hover { color: var(--accent); }
.ftr a { color: #f3d29a; }
.ftr-bar { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; font-size: .88rem; }
.ftr .toggle, .lang button { min-height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; padding: 0 16px; cursor: pointer; font: 500 .9rem var(--sans); }
.ftr .toggle[aria-pressed=true] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.lang { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.lang button[aria-pressed=true] { background: #fff; color: var(--ink); }
.lang small { color: #aab6c4; font-size: .8rem; }
@media (max-width: 960px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }

/* chat widget */
.vb-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 8px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(14, 31, 51, .3); font: 500 .95rem var(--sans); }
.vb-fab i { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--ink); }
.vb-fab svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .vb-fab { bottom: 84px; padding: 0 8px; } .vb-fab span { display: none; } }
.vb { position: fixed; right: 16px; bottom: 84px; z-index: 70; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 170px)); background: var(--surface); border-radius: 18px; box-shadow: 0 24px 70px rgba(14, 31, 51, .35); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.vb[hidden] { display: none !important; pointer-events: none; }
@media (max-width: 760px) { .vb { bottom: 150px; height: min(560px, calc(100vh - 260px)); } }
.vb-h { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.vb-h b { display: block; font-size: .98rem; } .vb-h small { color: #b9c4d1; font-size: .78rem; }
.vb-h .x { margin-left: auto; background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.vb-log { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--ground); }
.vb-m { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; }
.vb-m.bot { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.vb-m.me { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.vb-m.rcpt { border-left: 3px solid var(--accent); }
.vb-m a { color: var(--primary); }
.vb-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.vb-chips button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--primary); background: var(--surface); color: var(--primary); font: 500 .85rem var(--sans); cursor: pointer; }
.vb-chips button:hover { background: var(--primary); color: #fff; }
.vb-f { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--surface); }
.vb-f input { flex: 1; min-height: 46px; border: 1px solid rgba(14,31,51,.25); border-radius: 999px; padding: 0 16px; font: 16px var(--sans); }
.vb-f button { min-width: 46px; min-height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.vb-typing { align-self: flex-start; font-size: .8rem; color: var(--muted); }

/* Receivly modal */
.rcv { position: fixed; inset: 0; z-index: 100; background: rgba(8, 16, 28, .66); display: grid; place-items: center; padding: 60px 16px 16px; }
.rcv-box { background: #fff; width: min(460px, 100%); border-radius: 18px; overflow: hidden; max-height: calc(100vh - 80px); overflow-y: auto; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: #10182a; }
.rcv-top { background: #0b1324; color: #fff; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.rcv-top b { font-size: 1rem; letter-spacing: .02em; } .rcv-top b span { color: #7ce0b4; }
.rcv-top button { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.rcv-sum { padding: 18px 20px; border-bottom: 1px solid #e6e8ee; }
.rcv-sum .amt { font-size: 1.9rem; font-weight: 700; }
.rcv-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 20px 0; background: #f0f2f6; border-radius: 10px; padding: 4px; }
.rcv-tabs button { min-height: 42px; border: 0; background: transparent; border-radius: 8px; font: 600 .9rem system-ui, sans-serif; cursor: pointer; color: #3a4357; }
.rcv-tabs button[aria-selected=true] { background: #fff; color: #10182a; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.rcv-pane { padding: 16px 20px; display: grid; gap: 12px; }
.rcv-pane label { font-size: .8rem; font-weight: 600; color: #3a4357; display: grid; gap: 4px; }
.rcv-pane input { min-width: 0; width: 100%; min-height: 46px; border: 1px solid #ccd2dd; border-radius: 10px; padding: 0 12px; font: 16px system-ui, sans-serif; }
.rcv-pane .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rcv-bank { background: #f6f7fa; border-radius: 10px; padding: 14px; font-size: .92rem; display: grid; gap: 4px; }
.rcv-go { margin: 4px 20px 20px; width: calc(100% - 40px); min-height: 52px; border: 0; border-radius: 12px; background: #0b1324; color: #fff; font: 700 1rem system-ui, sans-serif; cursor: pointer; }
.rcv-note { font-size: .78rem; color: #5b6475; padding: 0 20px 18px; margin: 0; }
.rcv-done { padding: 22px 20px; text-align: left; }
.rcv-done .ok { width: 54px; height: 54px; border-radius: 50%; background: #d8f5e7; color: #0d6b3e; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 10px; }
.rcv-done dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .92rem; margin: 14px 0; }
.rcv-done dt { color: #5b6475; } .rcv-done dd { margin: 0; font-weight: 600; text-align: right; }
.rcv-done .btn { font-family: system-ui, sans-serif; }
.spin { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: sp 0.8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }

/* account */
.acct { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.acct-nav { position: sticky; top: 120px; align-self: start; display: grid; gap: 4px; }
.acct-nav button { text-align: left; min-height: 48px; padding: 0 16px; border: 1px solid transparent; background: transparent; border-radius: var(--r); font: 500 1rem var(--sans); cursor: pointer; color: var(--ink); }
.acct-nav button[aria-selected=true] { background: var(--surface); border-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); }
@media (max-width: 860px) { .acct { grid-template-columns: 1fr; } .acct-nav { position: static; display: flex; overflow-x: auto; } .acct-nav button { white-space: nowrap; } }
.bk { background: var(--surface); border: 1px solid var(--line); padding: 22px; border-radius: var(--r); margin-bottom: 16px; display: grid; grid-template-columns: 1fr auto; gap: 14px 22px; }
.bk h3 { margin: 0; }
.bk .acts { display: flex; gap: 10px; flex-wrap: wrap; grid-column: 1 / -1; }
.bk .acts .btn { min-height: 44px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 1px solid var(--ink); }
.timeline li.done::before { background: var(--accent); border-color: var(--accent); }
.timeline li.now::before { background: var(--ink); }
.timeline small { color: var(--muted); display: block; }
.msg { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; max-width: 640px; }
.msg.me { background: #e8f0f7; margin-left: auto; }
.msg small { display: block; color: var(--muted); margin-bottom: 4px; }

/* growth charts */
.chart { background: var(--surface); border: 1px solid var(--line); padding: 22px; border-radius: var(--r); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .draw { stroke-dasharray: 1600; stroke-dashoffset: 0; }
.js:not(.rm):not(.low) .chart.inview .draw { animation: draw 1.8s ease both; }
@keyframes draw { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); padding: 20px; border-radius: var(--r); }
.kpi b { display: block; font: italic 400 2.4rem/1 var(--serif); color: var(--primary); margin: 6px 0; }
.kpi small { color: #1e6b45; font-weight: 600; }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } }

/* receipt page */
.receipt { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.receipt dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.receipt dd { margin: 0; text-align: right; font-weight: 500; }
@media print { #covorn-ribbon, #covorn-ribbon-space, .hdr, .ftr, .tabbar, .vb-fab, .no-print, .live { display: none !important; } body { background: #fff; } }

/* motion: content stays visible unless JS is running with motion allowed */
.js.mo .rv { opacity: 0; transform: translateY(28px); }
.js.mo .rv.in { opacity: 1; transform: translateY(0px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.js.mo .mask > span { display: inline-block; transform: translateY(105%); }
.js.mo .mask.in > span { transform: translateY(0px); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.rm *, .low * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
.lowdata-note { display: none; }
.low .lowdata-note { display: block; }
