/* Puppy.Delivery design system: "departures hall".
   Boarding passes, airmail, split-flap boards and soft sky. Ivory paper ground, navy ink,
   gold as a fill (always with navy text), sling blue for links and live routes. Single light theme. */
:root {
  --gold: #C68E2F;
  --gold-hi: #D9A445;
  --gold-deep: #94661A;
  --gold-soft: #F7EAD0;
  --blue: #0A63D1;
  --blue-deep: #0848A3;
  --blue-soft: #E4EEFC;
  --navy: #0E1B33;
  --navy-2: #1B2C4D;
  --ivory: #FBF7EF;
  --paper: #FFFDF9;
  --surface: #FFFFFF;
  --line: #E7DDCA;
  --line-2: #F1EADC;
  --muted: #4B5670;
  --sky-1: #F3F8FF;
  --sky-2: #DCEBFC;
  --sky-3: #C4DCF7;
  --ok: #1B7449; --ok-soft: #E1F2E9;
  --warn: #935100; --warn-soft: #FCEFD8;
  --crit: #B42318; --crit-soft: #FDE7E4;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-xl: 28px; --r: 18px; --r-sm: 11px;
  --shadow-1: 0 1px 1px rgba(14,27,51,.04), 0 2px 6px rgba(14,27,51,.05);
  --shadow-2: 0 1px 2px rgba(14,27,51,.05), 0 12px 32px -8px rgba(14,27,51,.16);
  --shadow-3: 0 30px 60px -20px rgba(14,27,51,.35);
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--blue);
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --notch-bg: var(--ivory);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: 96px; }
body { background: var(--ivory); color: var(--navy); font: 16.5px/1.58 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.022em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; max-width: 66ch; }
::selection { background: var(--gold-soft); color: var(--navy); }
.small { font-size: .9rem; color: var(--muted); }
.tiny { font-size: .8rem; color: var(--muted); }
.mono, .code { font-family: var(--font-mono); font-size: .88em; letter-spacing: .01em; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 600; }
.skip:focus { left: 12px; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }

/* ---------- Buttons: tactile pills with a pressed edge ---------- */
.btn {
  --edge: transparent; --bg: var(--surface); --fg: var(--navy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 650 .95rem/1 var(--font-body); letter-spacing: .005em; cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 3px 0 var(--edge), 0 6px 14px -6px rgba(14,27,51,.25);
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) + var(--lift, 0px)));
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --lift: -1px; color: var(--fg); }
.btn:active { --lift: 2px; box-shadow: 0 1px 0 var(--edge), 0 2px 6px -3px rgba(14,27,51,.3); }
.btn:focus-visible { box-shadow: 0 3px 0 var(--edge), var(--focus); border-radius: 999px; }
.btn-primary { --bg: var(--gold); --fg: var(--navy); --edge: var(--gold-deep); }
.btn-primary:hover { --bg: var(--gold-hi); }
.btn-blue { --bg: var(--blue); --fg: #fff; --edge: #06367D; }
.btn-blue:hover { --bg: #0B6BE0; color: #fff; }
/* Arrow glyph that slides on navigational buttons */
a.btn-primary::after, a.btn-blue::after, .btn.go-arrow::after {
  content: ""; width: 15px; height: 10px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'%3E%3Cpath d='M0 5h12M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'%3E%3Cpath d='M0 5h12M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s var(--ease-spring);
}
a.btn-primary:hover::after, a.btn-blue:hover::after, .btn.go-arrow:hover::after { transform: translateX(4px); }
/* Ghost: a ticket with punched notches */
.btn-ghost {
  --bg: var(--surface); --edge: #DCCFB5;
  background:
    radial-gradient(circle at 0 50%, var(--notch-bg) 5px, transparent 5.6px),
    radial-gradient(circle at 100% 50%, var(--notch-bg) 5px, transparent 5.6px),
    var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line), 0 2px 0 var(--edge);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy), 0 2px 0 var(--navy); }
.btn-ghost:active { box-shadow: inset 0 0 0 1.5px var(--navy), 0 0 0 var(--navy); }
.btn-ghost:focus-visible { box-shadow: inset 0 0 0 1.5px var(--navy), var(--focus); }
.card .btn-ghost, .modal .btn-ghost, .pup-card .btn-ghost, .route-card .btn-ghost, .ws-main .btn-ghost, .toolbar .btn-ghost, .john-panel .btn-ghost { --notch-bg: var(--surface); --bg: var(--paper); }
.btn-danger { --bg: var(--surface); --fg: var(--crit); --edge: #E9B7B0; box-shadow: inset 0 0 0 1.5px #EFC2BC, 0 2px 0 var(--edge); }
.btn-danger:hover { --bg: var(--crit-soft); color: var(--crit); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .86rem; gap: 7px; }
.btn-sm::after { width: 12px !important; }
.btn-icon { min-width: 44px; min-height: 44px; padding: 0; background: transparent; color: var(--navy); border-radius: 14px; box-shadow: none; }
.btn-icon:hover { background: rgba(14,27,51,.06); }
.btn-icon:active { box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; --lift: 0px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header: floating capsule ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; pointer-events: none; }
.hdr-inner {
  pointer-events: auto; max-width: 1340px; margin: 0 auto; padding: 7px 8px 7px 18px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,253,249,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgba(231,221,202,.9); border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 30px -18px rgba(14,27,51,.35);
  transition: box-shadow .3s var(--ease), background-color .3s, padding .3s var(--ease);
}
.site-header.scrolled .hdr-inner { background: rgba(255,253,249,.94); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 16px 40px -18px rgba(14,27,51,.45); }
.brand { display: flex; align-items: center; border-radius: 12px; flex: none; }
.brand img { height: 44px; width: auto; }
.main-nav { flex: 1; position: relative; display: flex; justify-content: center; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 4px; flex-wrap: nowrap; position: relative; z-index: 1; background: rgba(14,27,51,.04); border-radius: 999px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: color .2s; }
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--navy); }
.nav-ind { position: absolute; z-index: 0; top: 4px; left: 0; height: 40px; width: 0; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(14,27,51,.08), 0 4px 12px -4px rgba(14,27,51,.18); opacity: 0; transition: transform .45s var(--ease-spring), width .45s var(--ease-spring), opacity .2s; pointer-events: none; }
.nav-ind::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.nav-ind.on { opacity: 1; }
.hdr-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.john-trigger { padding: 0 16px 0 6px; }
.john-trigger img { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.menu-btn { display: none; }
.burger { width: 20px; height: 14px; position: relative; display: block; }
.burger i { position: absolute; left: 0; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; width: 70%; } .burger i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.mobile-nav { pointer-events: auto; max-width: 1340px; margin: 10px auto 0; background: linear-gradient(180deg, var(--sky-2), var(--sky-1) 70px, #fff 71px); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-3); overflow: hidden; animation: drop .35s var(--ease); }
.mobile-nav-sky { height: 44px; margin-bottom: -1px; }
.mobile-nav-sky svg { width: 100%; height: 100%; display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 4px 12px 6px; display: grid; gap: 2px; background: #fff; counter-reset: gate; }
.mobile-nav li { counter-increment: gate; }
.mobile-nav a { display: flex; gap: 14px; min-height: 52px; align-items: center; padding: 0 14px; border-radius: 14px; color: var(--navy); text-decoration: none; font: 650 1.08rem var(--font-display); letter-spacing: -.01em; }
.mobile-nav a::before { content: "G" counter(gate, decimal-leading-zero); font: 700 .72rem var(--font-mono); color: var(--muted); background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; }
.mobile-nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-deep); }
.mobile-nav-foot { margin: 0; padding: 8px 26px 16px; font-size: .8rem; color: var(--muted); background: #fff; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
#accountBtn { display: none; }
@media (max-width: 1240px) { .main-nav { display: none; } .menu-btn { display: inline-flex; } .hdr-inner { justify-content: space-between; } #accountBtn { display: inline-flex; } }
@media (min-width: 1241px) and (max-width: 1400px) { .john-trigger span { display: none; } .john-trigger { padding: 0 5px; min-width: 46px; } .main-nav a { padding: 0 10px; } }
@media (max-width: 560px) { .john-trigger span, #accountBtn { display: none; } .john-trigger { padding: 0 5px; min-width: 46px; } .brand img { height: 36px; } .site-header { padding: 8px 10px 0; } .hdr-inner { padding: 5px 6px 5px 12px; } }
.demo-ribbon { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 1340px; margin: 10px auto 0; padding: 0 20px; font-size: .78rem; color: var(--muted); text-align: center; }
.ribbon-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); flex: none; }

/* ---------- Layout ---------- */
main { min-height: 60vh; outline: none; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
.section { padding: 72px 0; }
.section-tight { padding: 32px 0; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 14px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-1); }
.card-flat { background: var(--paper); border-radius: 14px; padding: 18px; border: 1px solid var(--line-2); }
.card h3 { margin-bottom: .35em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .74rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 58ch; }
.page-head { padding: 40px 0 22px; position: relative; }
.page-head p { color: var(--muted); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
.divider { height: 0; border: 0; border-top: 1.5px dashed var(--line); margin: 20px 0; }

/* ---------- Generic hero (inner pages) ---------- */
.hero { position: relative; padding: 56px 0 36px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 30% 0; background: radial-gradient(80% 90% at 85% 0%, var(--sky-2), transparent 70%); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-photos figure { margin: 0; border-radius: 999px 999px 22px 22px; overflow: hidden; background: #F7EBDA; border: 6px solid #fff; box-shadow: var(--shadow-2); }
.hero-photos figure:nth-child(2) { transform: translateY(24px); }
.hero-photos figcaption { font-size: .7rem; color: var(--muted); padding: 6px 8px; background: #fff; text-align: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Path cards ---------- */
.path-cards a { text-decoration: none; color: inherit; display: block; height: 100%; border-radius: var(--r); }
.path-card { display: flex; flex-direction: column; gap: 8px; height: 100%; transition: border-color .2s, box-shadow .3s var(--ease); transform-style: preserve-3d; }
.path-card:hover { border-color: #CDB98F; box-shadow: var(--shadow-2); }
.path-card .go { margin-top: auto; color: var(--blue-deep); font-weight: 650; display: inline-flex; gap: 8px; align-items: center; }
.path-card:hover .go { gap: 12px; }
.path-card .go { transition: gap .25s var(--ease-spring); }
.icon-dot { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); box-shadow: inset 0 -2px 0 rgba(10,99,209,.15); }
.icon-dot.gold { background: var(--gold-soft); color: #6E4A0C; box-shadow: inset 0 -2px 0 rgba(148,102,26,.2); }

/* ---------- Pills, tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; font: 650 .76rem/1.2 var(--font-body); letter-spacing: .01em; background: var(--paper); border: 1px solid var(--line); color: var(--navy); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.plain::before { opacity: .45; }
.pill.ok { background: var(--ok-soft); color: var(--ok); border-color: #BCE0CC; }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: #EFD3A1; }
.pill.crit { background: var(--crit-soft); color: var(--crit); border-color: #F2C0B9; }
.pill.info { background: var(--blue-soft); color: var(--blue-deep); border-color: #C3D8F6; }
.pill.info::before { animation: blink 2.4s ease-in-out infinite; }
.pill.gold { background: var(--gold-soft); color: #634009; border-color: #E9CF9B; }
@keyframes blink { 50% { opacity: .35; } }
.tag { display: inline-block; font: 700 .72rem/1.4 var(--font-mono); letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; background: var(--ivory); color: var(--navy-2); border: 1px dashed #D5C7A9; }

/* ---------- Toolbar / forms ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow-1); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: .8rem; font-weight: 650; color: var(--navy); letter-spacing: .01em; }
.field .hint { font-size: .78rem; color: var(--muted); }
input:not([type]), input[type=text], input[type=search], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=password], input[type=url], select, textarea {
  font: inherit; color: var(--navy); background: var(--paper); border: 1.5px solid #D6C9AF; border-radius: 13px; padding: 10px 13px; min-height: 46px; width: 100%;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230E1B33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input[type=color] { border-radius: 13px; border: 1.5px solid #D6C9AF; background: var(--paper); }
input:hover, select:hover, textarea:hover { border-color: #BCA986; }
textarea { min-height: 100px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(10,99,209,.18); border-radius: 13px; }
input::placeholder, textarea::placeholder { color: #7C8498; }
[aria-invalid="true"] { border-color: var(--crit) !important; background: #FFF8F7 !important; }
.err-text { color: var(--crit); font-size: .82rem; font-weight: 650; }
.error-summary { border: 2px solid var(--crit); background: var(--crit-soft); border-radius: 14px; padding: 14px 18px; }
.error-summary h3 { color: var(--crit); font-size: 1rem; }
.error-summary ul { margin: 0; padding-left: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 16px 14px; margin: 0; }
legend { font: 700 .74rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 0 8px; color: var(--muted); }
.check { display: flex; gap: 11px; align-items: flex-start; min-height: 34px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.seg { position: relative; display: inline-flex; background: rgba(14,27,51,.05); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; min-height: 38px; padding: 0 16px; border-radius: 999px; font: 650 .86rem var(--font-body); color: var(--muted); cursor: pointer; transition: color .2s, background-color .25s var(--ease), box-shadow .25s; }
.seg button:hover { color: var(--navy); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(14,27,51,.1), 0 4px 10px -4px rgba(14,27,51,.25); }

/* ---------- Puppy cards: luggage tags ---------- */
.pup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.pup-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1); transition: box-shadow .35s var(--ease), border-color .2s; transform-style: preserve-3d; }
.pup-card:hover { border-color: #CDB98F; box-shadow: var(--shadow-2); }
.pup-media { position: relative; aspect-ratio: 4/3.4; background: #F5EBDC; overflow: hidden; }
.pup-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pup-card:hover .pup-media img { transform: scale(1.045); }
.pup-media .prov { position: absolute; left: 10px; bottom: 10px; background: rgba(255,253,249,.94); color: var(--navy); font: 600 .68rem var(--font-body); padding: 4px 9px; border-radius: 999px; box-shadow: var(--shadow-1); }
.pup-card .pup-media::after { content: ""; position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px rgba(14,27,51,.12); }
.pup-body { padding: 16px 18px 18px; display: grid; gap: 10px; flex: 1; position: relative; }
.pup-body::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; border-top: 1.5px dashed var(--line); }
.pup-body h3 { margin: 4px 0 0; font-size: 1.12rem; }
.pup-body h3 a { color: var(--navy); text-decoration: none; }
.pup-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pup-body h3 a:focus-visible { box-shadow: none; }
.pup-card:focus-within { box-shadow: var(--focus), var(--shadow-2); }
.pup-card .btn, .pup-card button { position: relative; z-index: 2; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .86rem; margin: 0; }
.facts dt { color: var(--muted); font: 600 .7rem/1.9 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; font-weight: 500; }
.price { font: 800 1.3rem var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.placeholder-photo { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: #6B5433; background: radial-gradient(circle at 30% 20%, #FBF2E3, transparent 60%), repeating-linear-gradient(135deg, #F5EBDC 0 14px, #F1E4D0 14px 28px); padding: 18px; font-size: .86rem; }
.placeholder-photo strong { font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- Route cards: boarding passes ---------- */
.route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.route-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 20px; display: grid; gap: 12px; box-shadow: var(--shadow-1); transition: box-shadow .35s var(--ease), border-color .2s; transform-style: preserve-3d; }
.route-card:hover { border-color: #A9C6EF; box-shadow: var(--shadow-2); }
.route-codes { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--line); }
.route-codes::before, .route-codes::after { content: ""; position: absolute; bottom: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line); }
.route-codes::before { left: -31px; clip-path: inset(0 0 0 50%); }
.route-codes::after { right: -31px; clip-path: inset(0 50% 0 0); }
.apt { font: 700 1.75rem/1 var(--font-mono); letter-spacing: .02em; }
.apt small { display: block; font: 500 .72rem var(--font-body); color: var(--muted); letter-spacing: 0; margin-top: 5px; }
.route-line { position: relative; height: 36px; }
.route-line svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Map ---------- */
.map-shell { position: relative; background: linear-gradient(180deg, #EEF5FE, #E2EEFC); border: 1px solid #CBDDF4; border-radius: 24px; overflow: hidden; box-shadow: inset 0 1px 0 #fff, var(--shadow-1); }
.map-shell svg.map { display: block; width: 100%; height: auto; }
.map-shell .land { fill: #FBF6EC; stroke: #D8CAAE; stroke-width: .8; vector-effect: non-scaling-stroke; }
.map-shell .grat { fill: none; stroke: #D2E2F6; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 5; }
.map-ctrl { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(255,253,249,.9); backdrop-filter: blur(6px); }
.map-legend { position: absolute; bottom: 12px; left: 12px; background: rgba(255,253,249,.95); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: .76rem; display: flex; gap: 14px; flex-wrap: wrap; z-index: 3; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.map-note { position: absolute; right: 12px; top: 12px; font-size: .72rem; background: rgba(255,253,249,.92); padding: 5px 9px; border-radius: 9px; color: var(--muted); z-index: 3; }
.arc { fill: none; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; cursor: pointer; }
.arc-hit { fill: none; stroke: transparent; stroke-width: 16; vector-effect: non-scaling-stroke; cursor: pointer; }
.arc.live { stroke-dasharray: 7 6; animation: dash 1.2s linear infinite; }
.arc.dim { opacity: .25; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.apt-pin circle { fill: #fff; stroke: var(--navy); vector-effect: non-scaling-stroke; stroke-width: 2; }
.apt-pin text { font: 700 11px var(--font-mono); fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.apt-pin.has circle { fill: var(--gold); }
.apt-pin { cursor: pointer; }
.apt-pin:focus-visible { box-shadow: none; }
.apt-pin:focus-visible circle { stroke: var(--blue); stroke-width: 4; }
.map-pop { position: absolute; z-index: 4; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: 14px; width: min(300px, 80%); font-size: .88rem; animation: pop .25s var(--ease); }
.map-pop h4 { margin-bottom: 6px; font-family: var(--font-mono); }
.map-pop ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th, table.t td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.t th { font: 700 .68rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: linear-gradient(180deg, #FFFCF6, #FBF6EC); }
table.t tbody tr { transition: background-color .15s; }
table.t tbody tr:hover { background: #FFFBF3; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  table.t.resp thead { display: none; }
  table.t.resp, table.t.resp tbody, table.t.resp tr, table.t.resp td { display: block; width: 100%; }
  table.t.resp tr { border-bottom: 1.5px dashed var(--line); padding: 10px 0; }
  table.t.resp tr:last-child { border-bottom: 0; }
  table.t.resp td { border: 0; padding: 5px 16px; display: grid; grid-template-columns: 38% 1fr; gap: 10px; }
  table.t.resp td::before { content: attr(data-label); font: 700 .68rem/1.6 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  table.t.resp td.num { text-align: left; }
}

/* ---------- Steps / timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 9px; font-size: .84rem; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.steps li::before { content: counter(s, decimal-leading-zero); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); font: 700 .7rem var(--font-mono); color: var(--navy); border: 1px dashed #D5C7A9; flex: none; }
.steps li.done { color: var(--ok); border-color: #BCE0CC; background: #FBFEFC; }
.steps li.done::before { content: "✓"; background: var(--ok); color: #fff; border-color: var(--ok); font-family: var(--font-body); font-size: .85rem; }
.steps li.now { color: var(--navy); border-color: var(--blue); font-weight: 700; box-shadow: 0 0 0 4px var(--blue-soft); }
.steps li.now::before { background: var(--blue); color: #fff; border-color: var(--blue); }
.steps li.held { color: var(--crit); border-color: #F2C0B9; }
.steps li.held::before { content: "!"; background: var(--crit); color: #fff; border-color: var(--crit); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 20px 32px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.timeline li::after { content: ""; position: absolute; left: 13px; top: 24px; bottom: -2px; border-left: 2px dashed var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.future::before { border-color: #C7BCA6; box-shadow: none; }
.timeline li.future { color: var(--muted); }
.timeline li.alert::before { border-color: var(--crit); background: var(--crit-soft); box-shadow: 0 0 0 4px var(--crit-soft); }
.timeline .when { font: 600 .76rem var(--font-mono); color: var(--muted); }

/* ---------- Workspace ---------- */
.ws { display: grid; grid-template-columns: 264px minmax(0,1fr); gap: 26px; padding: 26px 0 64px; }
.ws-side { position: sticky; top: 92px; align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 12px; max-height: calc(100vh - 110px); overflow: auto; box-shadow: var(--shadow-1); }
.ws-side h2 { font: 700 .66rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 16px 12px 8px; }
.ws-side h2:first-child { margin-top: 8px; }
.ws-side a { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 12px; border-radius: 12px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background-color .15s, padding .25s var(--ease); }
.ws-side a:hover { background: var(--ivory); padding-left: 16px; }
.ws-side a[aria-current="page"] { background: var(--navy); color: #fff; }
.ws-side a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.ws-main { min-width: 0; display: grid; gap: 20px; align-content: start; }
.ws-main > .row.between h1 { letter-spacing: -.03em; }
.ws-mobile-select { display: none; }
@media (max-width: 900px) { .ws { grid-template-columns: 1fr; } .ws-side { display: none; } .ws-mobile-select { display: block; } }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-1); overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -16px; top: -16px; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); opacity: .6; }
.kpi .v { position: relative; font: 700 1.7rem var(--font-mono); font-variant-numeric: tabular-nums; }
.kpi .l { position: relative; font-size: .8rem; color: var(--muted); }
.cap-card { display: flex; gap: 12px; align-items: flex-start; }

/* ---------- Modal, toast ---------- */
.modal-root:empty { display: none; }
.modal-back { position: fixed; inset: 0; background: rgba(14,27,51,.42); backdrop-filter: blur(4px); z-index: 80; display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
.modal { --notch-bg: var(--surface); background: #fff; border-radius: 26px; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 40px 80px -20px rgba(14,27,51,.45); animation: pop .32s var(--ease-spring); }
.modal.wide { width: min(1060px, 100%); }
.modal-head { position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1.5px dashed var(--line); z-index: 2; }
.modal-head h2 { font-size: 1.3rem; margin: 0; }
.modal-body { padding: 22px; display: grid; gap: 16px; }
.modal-foot { position: sticky; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line-2); padding: 14px 22px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } }
.toast-root { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(460px, calc(100% - 32px)); }
.toast { display: flex; gap: 12px; align-items: center; background: var(--navy); color: #fff; padding: 13px 18px; border-radius: 16px; box-shadow: var(--shadow-3); font-size: .9rem; animation: toastIn .4s var(--ease-spring); }
.toast::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E1B33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
@keyframes toastIn { from { transform: translateY(16px) scale(.96); opacity: 0; } }

/* ---------- Next-action bar (mobile) ---------- */
.next-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 35; background: rgba(255,253,249,.96); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 22px; padding: 10px 10px 10px 18px; display: none; gap: 10px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-3); }
@media (max-width: 900px) { .next-bar:not([hidden]) { display: flex; animation: toastIn .4s var(--ease-spring); } body.has-next { padding-bottom: 92px; } }

/* ---------- John panel ---------- */
.john-panel { --notch-bg: var(--surface); position: fixed; right: 18px; bottom: 18px; width: min(420px, calc(100% - 24px)); height: min(660px, calc(100vh - 110px)); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 80px -24px rgba(14,27,51,.45); z-index: 70; display: flex; flex-direction: column; overflow: hidden; animation: johnIn .45s var(--ease-spring); transform-origin: bottom right; }
.john-panel[hidden] { display: none; }
@keyframes johnIn { from { opacity: 0; transform: translateY(20px) scale(.92); } }
.john-head { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px 12px 22px 14px; background: linear-gradient(180deg, var(--sky-2), var(--sky-1)); }
.john-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16V10q18-12 38-2 14-12 34-2 18-12 40 0 20-12 40 0 18-10 38 0 20-12 42 0 18-10 38 0 20-12 40 0 16-10 34 0 18-10 36 2V16z' fill='%23fff'/%3E%3C/svg%3E") bottom/100% 16px no-repeat; }
.john-avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -6px rgba(14,27,51,.3); flex: none; animation: bob 4s ease-in-out infinite; }
.john-avatar img { width: 40px; height: 40px; border-radius: 50%; }
.john-head > div { flex: 1; display: grid; line-height: 1.3; }
.john-head strong { font: 800 1.05rem var(--font-display); }
.john-log { flex: 1; overflow: auto; padding: 14px 16px; display: grid; gap: 10px; align-content: start; background: radial-gradient(120% 60% at 50% 0%, var(--paper), #fff); }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.48; white-space: pre-wrap; animation: msgIn .35s var(--ease-spring); }
.msg.j { background: var(--ivory); border: 1px solid var(--line); border-top-left-radius: 6px; }
.msg.u { background: var(--blue); color: #fff; justify-self: end; border-top-right-radius: 6px; }
.msg.u a { color: #fff; }
.msg img { border-radius: 12px; max-height: 160px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.john-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.john-chips button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; min-height: 36px; padding: 0 13px; font: 600 .8rem var(--font-body); color: var(--navy); cursor: pointer; transition: border-color .15s, color .15s, transform .2s var(--ease-spring); }
.john-chips button:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-1px); }
.john-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line-2); align-items: center; background: #fff; }
.john-form input[type=text] { flex: 1; border-radius: 999px; }
@media (max-width: 900px) { body.has-next .john-panel { bottom: 96px; } }

/* ---------- Presentation deck ---------- */
.deck { position: relative; background: radial-gradient(120% 80% at 100% 0%, #1E3560, var(--navy) 60%); color: #fff; border-radius: 22px; overflow: hidden; min-height: 440px; }
.deck::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cpath d='M10 40q8-10 18-4 6-10 18-4 10-6 16 4 8 0 8 4H10z' fill='%23ffffff' fill-opacity='.04'/%3E%3C/svg%3E"); pointer-events: none; }
.slide { position: relative; padding: 34px; display: none; gap: 18px; animation: slidein .5s var(--ease); }
.slide.on { display: grid; }
.slide h3 { color: #fff; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; }
.slide p, .slide li { color: #DCE4F2; }
.slide .card { color: var(--navy); }
.slide .card p { color: var(--muted); }
@keyframes slidein { from { opacity: 0; transform: translateX(28px); } }
.deck-nav { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: rgba(255,255,255,.06); border-top: 1px dashed rgba(255,255,255,.15); }
.deck-dots { display: flex; gap: 6px; }
.deck-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: width .3s var(--ease); }
.deck-dots span.on { background: var(--gold); width: 22px; border-radius: 6px; }
.deck .btn-ghost { --bg: transparent; --notch-bg: var(--navy); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.match-bar { height: 8px; border-radius: 6px; background: #EDE4D2; overflow: hidden; }
.match-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #3D8BF0); border-radius: 6px; animation: grow 1s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.scan-line { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: scan 1.4s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Misc ---------- */
.notice { border-radius: 14px; padding: 13px 16px; background: var(--blue-soft); border: 1px solid #C3D8F6; font-size: .92rem; border-left-width: 4px; border-left-color: var(--blue); }
.notice.warn { background: var(--warn-soft); border-color: #EFD3A1; border-left-color: #C77A0A; }
.notice.crit { background: var(--crit-soft); border-color: #F2C0B9; border-left-color: var(--crit); }
.notice.ok { background: var(--ok-soft); border-color: #BCE0CC; border-left-color: var(--ok); }
.notice.gold { background: var(--gold-soft); border-color: #E9CF9B; border-left-color: var(--gold); }
.notice > :last-child { margin-bottom: 0; }
.qr-box { position: relative; background: #fff; border: 1.5px dashed #D5C7A9; border-radius: 18px; padding: 16px; display: grid; justify-items: center; gap: 8px; }
.qr-box svg { width: 180px; height: 180px; }
.otp { font: 700 1.6rem var(--font-mono); letter-spacing: .24em; }
.cost-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cost-table td { padding: 7px 0; border-bottom: 1px dashed #E8DCC6; }
.cost-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: .88rem; }
.cost-table tr.total td { font-weight: 800; border-bottom: 0; border-top: 2px solid var(--navy); padding-top: 10px; font-size: 1.02rem; }
.cost-table tr.total td:last-child { font-size: 1rem; }
.cost-table tr.sub td { color: var(--muted); font-size: .84rem; }
.list-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dl-rows { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; margin: 0; }
.dl-rows dt, .dl-rows dd { padding: 10px 0; border-bottom: 1px dashed var(--line); margin: 0; font-size: .93rem; }
.dl-rows dt { color: var(--muted); font: 600 .72rem/1.9 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding-right: 14px; }
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan .amount { font: 800 2rem var(--font-display); letter-spacing: -.03em; }
.plan ul { margin: 0; padding-left: 18px; font-size: .92rem; }
.plan .btn { margin-top: auto; }
.draft-flag { font: 700 .66rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 2px 7px; }
.storefront-preview { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2); }
.sf-bar { padding: 13px 18px; color: #fff; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.state-flow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.state-flow span { font: 600 .74rem var(--font-mono); padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.state-flow span.done { background: var(--ok-soft); border-color: #BCE0CC; color: var(--ok); }
.state-flow span.now { background: var(--blue); color: #fff; border-color: var(--blue); }
.state-flow span.hold { background: var(--crit-soft); color: var(--crit); border-color: #F2C0B9; }
.state-flow b { color: #B9AC92; font-weight: 400; }
.tabs { display: flex; gap: 6px; border-bottom: 1.5px dashed var(--line); flex-wrap: wrap; }
.tabs button, .tabs a { position: relative; border: 0; background: transparent; min-height: 46px; padding: 0 14px; font: 650 .94rem var(--font-body); color: var(--muted); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; border-radius: 12px 12px 0 0; transition: color .2s; }
.tabs button::after, .tabs a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--blue); transform: scaleX(0); transition: transform .35s var(--ease-spring); }
.tabs button:hover, .tabs a:hover { color: var(--navy); }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { color: var(--navy); }
.tabs [aria-selected="true"]::after, .tabs [aria-current="page"]::after { transform: scaleX(1); }
.inbox { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; min-height: 520px; box-shadow: var(--shadow-1); }
.inbox-list { border-right: 1px solid var(--line); overflow: auto; max-height: 640px; background: var(--paper); }
.inbox-item { display: grid; gap: 3px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; background: transparent; border-left: 4px solid transparent; text-align: left; width: 100%; font: inherit; color: inherit; border-top: 0; border-right: 0; transition: background-color .15s; }
.inbox-item:hover { background: #fff; }
.inbox-item[aria-current="true"] { background: #fff; border-left-color: var(--blue); box-shadow: inset 0 0 0 1px var(--line-2); }
.inbox-item .subj { font-weight: 700; font-size: .92rem; }
.inbox-read { padding: 20px; overflow: auto; max-height: 640px; display: grid; gap: 14px; align-content: start; }
@media (max-width: 820px) { .inbox { grid-template-columns: 1fr; } .inbox-list { max-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); } }
.bar-chart { display: grid; gap: 10px; }
.bar-chart .b { display: grid; grid-template-columns: 120px 1fr 70px; gap: 10px; align-items: center; font-size: .85rem; }
.bar-chart .track { height: 12px; background: #F2EADB; border-radius: 6px; overflow: hidden; }
.bar-chart .fill { height: 100%; background: linear-gradient(90deg, var(--blue), #3D8BF0); border-radius: 6px; animation: grow 1.1s var(--ease) both; transform-origin: left; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: #6B470C; font: 700 .8rem var(--font-mono); flex: none; box-shadow: inset 0 0 0 1.5px #E9CF9B; }

/* =========================================================
   HOME: sky hero, clouds, stork, plane, boarding pass,
   flight path, departure board
   ========================================================= */
.sky-hero { position: relative; margin-top: -86px; padding: 140px 0 120px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #D7E8FB 0%, #E9F2FD 38%, #F7F5EE 78%, var(--ivory) 100%); }
.sky-hero .sun { position: absolute; z-index: -3; right: 12%; top: 70px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,240,205,.95), rgba(255,236,196,.35) 45%, transparent 70%); }
.cloud-layer { position: absolute; left: 0; width: 200%; display: flex; pointer-events: none; will-change: transform; }
.cloud-layer svg { width: 50%; height: auto; flex: none; display: block; }
.cloud-layer.back { z-index: -2; top: 120px; opacity: .7; animation: drift 120s linear infinite; }
.cloud-layer.mid { z-index: -1; top: 260px; opacity: .9; animation: drift 80s linear infinite; }
.cloud-layer.front { z-index: 2; bottom: -40px; animation: drift 55s linear infinite; }
.cloud-layer .px { will-change: transform; }
@keyframes drift { to { transform: translateX(-50%); } }
.paused, .paused * { animation-play-state: paused !important; }
.sky-hero .hero-copy { position: relative; z-index: 3; }
.sky-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.035em; }
.sky-hero h1 .hl { position: relative; white-space: nowrap; }
.sky-hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em; background: var(--gold); opacity: .55; border-radius: 4px; z-index: -1; transform-origin: left; animation: underline 1.1s .4s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.sky-hero .lede { color: var(--navy-2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: .88rem; color: var(--navy-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.5' fill='none' stroke='%231B7449' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 0 1px #BCE0CC; }
.hero-stage { position: relative; min-height: 520px; z-index: 3; }
.stork-fly { position: absolute; z-index: 4; width: clamp(190px, 18vw, 260px); top: -150px; left: 4%; filter: drop-shadow(0 18px 18px rgba(14,27,51,.16)); pointer-events: none; }
.stork-fly img { width: 100%; animation: bob 5.5s ease-in-out infinite; transform-origin: 60% 60%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
.plane-path { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.plane-fly { position: absolute; left: 0; top: 0; width: 112px; offset-path: path("M -160 132 C 200 104, 420 142, 700 120 S 1180 96, 1760 128"); offset-rotate: auto; animation: fly 26s linear infinite; z-index: -1; }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.plane-fly svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 10px rgba(14,27,51,.15)); }
.contrail { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .6; }

/* Windows with puppies */
.windows { position: absolute; right: 0; top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(100%, 520px); }
.window { margin: 0; position: relative; aspect-ratio: 3/4; border-radius: 46% 46% 42% 42% / 34% 34% 30% 30%; padding: 10px; background: linear-gradient(160deg, #fff, #EDE6D8); box-shadow: var(--shadow-3), inset 0 -4px 0 rgba(14,27,51,.08); }
.window:nth-child(2) { transform: translateY(46px); }
.window:nth-child(3) { transform: translateY(12px); }
.window .pane { position: relative; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: #F5EBDC; box-shadow: inset 0 4px 14px rgba(14,27,51,.3); }
.window .pane img { width: 100%; height: 100%; object-fit: cover; }
.window .pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.4) 0 18%, transparent 18% 30%, rgba(255,255,255,.18) 30% 34%, transparent 34%); }
.window figcaption { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap; font: 600 .66rem var(--font-mono); color: var(--muted); letter-spacing: .04em; }

/* Boarding pass */
.pass { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 120px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-3); overflow: hidden; color: var(--navy); }
.pass-main { padding: 18px 20px 18px 22px; display: grid; gap: 12px; }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pass-brand { font: 700 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.pass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; }
.pass-route .code { font: 700 2.4rem/1 var(--font-mono); letter-spacing: .01em; }
.pass-route .city { display: block; font: 500 .72rem var(--font-body); color: var(--muted); margin-top: 4px; }
.pass-route .plane-ic { align-self: center; height: 22px; position: relative; }
.pass-route .plane-ic::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #CDBF9F; }
.pass-route .plane-ic svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 22px; height: 22px; color: var(--blue); background: #fff; padding: 0 3px; box-sizing: content-box; }
.pass-fields { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 18px; justify-content: start; }
.pass-fields div { display: grid; gap: 1px; }
.pass-fields dt, .pass-fields .k { font: 700 .6rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pass-fields .v { font: 600 .86rem var(--font-body); }
.pass-stub { position: relative; background: var(--gold); color: var(--navy); padding: 18px 14px; display: grid; align-content: space-between; justify-items: center; text-align: center; border-left: 2px dashed rgba(14,27,51,.35); }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--notch, var(--ivory)); }
.pass-stub::before { top: -11px; } .pass-stub::after { bottom: -11px; }
.pass-stub .gate { font: 700 .6rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.pass-stub .gate b { display: block; font: 800 1.8rem var(--font-display); letter-spacing: -.02em; }
.pass-stub .bars { width: 100%; height: 38px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px, var(--navy) 8px 11px, transparent 11px 12px); opacity: .85; border-radius: 2px; }
.hero-pass { position: absolute; left: -4%; bottom: -40px; width: min(440px, 92%); transform: rotate(-3deg); z-index: 5; }
.hero-pass .pass { --notch: #F4F4EF; }
@media (max-width: 1080px) { .windows { position: relative; top: 0; margin-left: auto; } .hero-pass { position: relative; left: 0; margin-top: 70px; } .hero-stage { min-height: 0; padding-top: 40px; } .stork-fly { top: -10px; left: auto; right: 0; } }
@media (max-width: 900px) { .sky-hero { padding-bottom: 90px; } .stork-fly { width: 150px; top: -40px; right: -6px; left: auto; } .windows { width: 100%; gap: 10px; } .window { padding: 7px; } .hero-pass { transform: rotate(-1.5deg); width: 100%; margin-top: 60px; } }
@media (max-width: 560px) { .pass { grid-template-columns: minmax(0,1fr) 88px; } .pass-route .code { font-size: 1.9rem; } .pass-main { padding: 16px; } .pass-fields { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 10px; } .pass-fields div:first-child { grid-column: 1 / -1; } .pass-stub .gate b { font-size: 1.4rem; } .demo-ribbon { font-size: .72rem; } .jr-svg { aspect-ratio: 1200/330; } }
.hero-grid > * { min-width: 0; }

/* Sections on home */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head h2 { margin-bottom: 8px; }

/* Flight path through the six paths */
.flight { position: relative; }
.flight-svg { position: absolute; inset: -40px 0 -40px 0; width: 100%; height: calc(100% + 80px); pointer-events: none; z-index: 0; overflow: visible; }
.flight-svg .fp-base { fill: none; stroke: #CFC2A6; stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.flight-svg .fp-done { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }
.flight-marker { position: absolute; left: 0; top: 0; width: 64px; height: 30px; z-index: 1; pointer-events: none; will-change: transform; }
.flight-marker svg { width: 100%; height: 100%; display: block; }
.flight .path-cards { position: relative; z-index: 2; }
.flight .path-cards .card { background: rgba(255,255,255,.96); }

/* Split-flap departure board */
.board { position: relative; background: linear-gradient(180deg, #13233F, var(--navy)); border-radius: 26px; padding: 22px; color: #F2EEE4; box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255,255,255,.08); overflow: hidden; }
.board::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255,255,255,.02) 0 2px, transparent 2px 4px); pointer-events: none; }
.board-head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.board-title { display: flex; align-items: center; gap: 12px; font: 800 1.4rem var(--font-display); letter-spacing: -.01em; color: #fff; margin: 0; }
.board-title .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.board-clock { font: 700 .82rem var(--font-mono); color: #C8D3E8; letter-spacing: .08em; }
.board-table { position: relative; width: 100%; border-collapse: separate; border-spacing: 0 6px; font-family: var(--font-mono); }
.board-table th { text-align: left; font: 700 .64rem var(--font-mono); letter-spacing: .16em; color: #9FB0CE; padding: 0 8px 4px; text-transform: uppercase; }
.board-table td { padding: 0 8px; vertical-align: middle; }
.board-table tr.brow td { background: rgba(255,255,255,.035); }
.board-table tr.brow td:first-child { border-radius: 10px 0 0 10px; }
.board-table tr.brow td:last-child { border-radius: 0 10px 10px 0; }
.board-table a { color: inherit; text-decoration: none; }
.board-table a:hover .flap { background: #2B3E62; }
.flaps { display: inline-flex; gap: 2px; padding: 6px 0; }
.flap { position: relative; display: inline-grid; place-items: center; width: 1.25em; height: 1.7em; font: 700 1rem/1 var(--font-mono); color: #FBF6EA; background: #1F3152; border-radius: 4px; box-shadow: inset 0 -1px 0 rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.05); overflow: hidden; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.flap.go { animation: flip .09s linear; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(80deg); } 100% { transform: rotateX(0); } }
.flaps.sm .flap { width: 1.05em; height: 1.55em; font-size: .82rem; }
.board-status { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.board-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.board-status.live { color: #7FB6FF; } .board-status.live i { animation: blink 1.6s infinite; }
.board-status.planned { color: #F3CC7E; }
.board-status.hold { color: #FF9C8F; }
.board-status.done { color: #8FDDB2; }
.board-status.open { color: #C8D3E8; }
.board-mode { color: #C8D3E8; font: 500 .82rem var(--font-body); }
.board-foot { position: relative; margin-top: 10px; font: 500 .76rem var(--font-body); color: #9FB0CE; }
@media (max-width: 760px) { .board-table .hide-sm { display: none; } .board { padding: 16px 12px; } .flap { width: 1.05em; font-size: .86rem; } }

/* Protection itinerary */
.itin { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 10px; counter-reset: it; }
.itin::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 2px dashed #CFC2A6; }
.itin li { counter-increment: it; position: relative; display: flex; gap: 16px; align-items: center; padding: 12px 16px 12px 0; }
.itin li::before { content: counter(it, decimal-leading-zero); position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 .78rem var(--font-mono); background: #fff; border: 1.5px solid var(--line); color: var(--navy); box-shadow: var(--shadow-1); }
.itin li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; font: 700 1rem var(--font-body); }
.itin li.now::before { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px var(--blue-soft); }
.itin li span { font-weight: 600; }
.itin li.done span { color: var(--navy); }

/* John section */
.john-sec { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 28px; background: linear-gradient(140deg, #fff, var(--sky-1)); }
.john-portrait { position: relative; width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.7), var(--shadow-2); display: grid; place-items: center; }
.john-portrait img { width: 128px; border-radius: 50%; animation: bob 5s ease-in-out infinite; }
.john-portrait::after { content: "Hi!"; position: absolute; right: -14px; top: 4px; background: var(--navy); color: #fff; font: 700 .78rem var(--font-mono); padding: 5px 9px; border-radius: 12px 12px 12px 3px; animation: bob 5s .6s ease-in-out infinite; }
@media (max-width: 640px) { .john-sec { grid-template-columns: 1fr; justify-items: start; } }

/* Scroll reveal (content visible at rest) */
.reveal { transition: transform .8s var(--ease), opacity .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.pre { transform: translateY(26px); opacity: .5; }

/* ---------- Footer: landing ---------- */
.site-footer { position: relative; background: var(--navy); color: #D5DDEB; margin-top: 80px; }
.ftr-sky { position: relative; height: 120px; background: linear-gradient(180deg, transparent, #13233F); }
.ftr-clouds { position: absolute; left: 0; top: -1px; width: 100%; height: 100%; display: block; }
.runway { position: absolute; left: 50%; bottom: 18px; width: min(560px, 80%); height: 4px; transform: translateX(-50%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 22px, transparent 22px 40px); border-radius: 2px; }
.runway-plane { position: absolute; bottom: 6px; left: 0; width: 46px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 22'%3E%3Cpath d='M3 13c0-2 2-3.5 5-3.5h22l7-6h4l-4 6.5c3 .3 6 1.6 6 3s-3 2.5-6 2.5H8c-3 0-5-1-5-2.5z' fill='%23FBF7EF'/%3E%3Cpath d='M18 13l-6 7h4l9-7z' fill='%23C68E2F'/%3E%3Ccircle cx='13' cy='11.8' r='1.3' fill='%230E1B33'/%3E%3Ccircle cx='18' cy='11.8' r='1.3' fill='%230E1B33'/%3E%3Ccircle cx='23' cy='11.8' r='1.3' fill='%230E1B33'/%3E%3C/svg%3E") center/contain no-repeat; animation: land 9s var(--ease) infinite; }
@keyframes land { 0% { transform: translate(-40px, -40px) rotate(8deg); opacity: 0; } 15% { opacity: 1; } 55% { transform: translate(240px, 0) rotate(0); } 85% { transform: translate(480px, 0); opacity: 1; } 100% { transform: translate(520px, 0); opacity: 0; } }
.ftr-inner { max-width: 1320px; margin: 0 auto; padding: 30px 24px 34px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 34px; }
.ftr-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 8px 14px; margin-bottom: 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.ftr-logo img { height: 50px; width: auto; }
.ftr-brand p { color: #C4CEDF; font-size: .93rem; }
.ftr-contact { display: grid; gap: 2px; font-family: var(--font-mono); font-size: .8rem !important; }
.ftr-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ftr-cols h2 { font: 700 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--gold-hi); }
.ftr-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr-cols a { color: #E3E9F4; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; transition: color .15s, transform .25s var(--ease); }
.ftr-cols a:hover { color: #fff; transform: translateX(3px); }
.ftr-cols a:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px #7FB6FF; }
.site-footer .small { color: #AEBBD1; }
.ftr-legal { grid-column: 1 / -1; border-top: 1px dashed rgba(255,255,255,.16); padding-top: 20px; max-width: none; }
@media (max-width: 800px) { .ftr-inner { grid-template-columns: 1fr; } .ftr-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Route-change transition ---------- */
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }
::view-transition-old(root) { animation: vtOut .18s ease both; }
::view-transition-new(root) { animation: vtIn .32s var(--ease) both; }
main.enter { animation: vtIn .35s var(--ease) both; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal.pre { transform: none; opacity: 1; }
  .plane-fly { offset-distance: 58%; }
  .cloud-layer { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation: none !important; transition: none !important; }
body.reduce-motion .reveal.pre { transform: none; opacity: 1; }
body.reduce-motion .plane-fly { offset-distance: 58%; }

/* Journey band (scroll-driven) */
.journey-sec { padding: 64px 0 20px; }
.journey { position: relative; background: linear-gradient(180deg, var(--sky-1), #fff); border: 1px solid #D7E5F6; border-radius: 28px; padding: 10px 18px 22px; box-shadow: var(--shadow-1); overflow: hidden; }
.jr-svg { display: block; width: 100%; height: auto; aspect-ratio: 1200/220; overflow: visible; }
.jr-base { fill: none; stroke: #C9D9EE; stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.jr-done { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; }
.jr-dots circle { fill: #fff; stroke: #B8CBE4; stroke-width: 3; transition: fill .3s, stroke .3s; }
.jr-dots circle.passed { fill: var(--gold); stroke: var(--navy); }
.jr-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.jr-points li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1px dashed transparent; transition: background-color .3s, border-color .3s; }
.jr-points li:not(.passed) strong { color: var(--navy-2); }
.jr-points li strong { font: 650 .98rem var(--font-display); }
.jr-points li span { font-size: .8rem; color: var(--muted); }
.jr-points li.passed { background: #fff; border-color: var(--line); }
.jr-points li.passed strong::before { content: "✓ "; color: var(--ok); }
@media (max-width: 760px) { .jr-points { grid-template-columns: 1fr 1fr; } }
.demo-ribbon { position: relative; z-index: 4; }
.sky-hero { margin-top: calc(-1 * var(--top-offset, 104px)); padding-top: calc(var(--top-offset, 104px) + 56px); }

/* Loading state: a small plane taxiing while data arrives */
.pd-loader { display: grid; justify-items: center; gap: 10px; padding: 60px 0; }
.pd-loader-plane { font-size: 1.8rem; color: var(--blue, #0A63D1); display: inline-block; animation: pd-taxi 1.6s ease-in-out infinite; }
@keyframes pd-taxi { 0%, 100% { transform: translateX(-24px) rotate(0); } 50% { transform: translateX(24px) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .pd-loader-plane { animation: none; } }
.empty-note { padding: 6px 2px; }

/* =====================================================================
   v2: two-piece 3D buttons (structure after Codrops "CSS buttons with pseudo-elements", demo 5;
   colors are ours), bigger mobile brand and plane, journey badges, real split-flap cells, mobile map.
   ===================================================================== */
.btn {
  --hl: rgba(255,255,255,.55); --press: rgba(0,0,0,.18); --bg-hi: var(--bg);
  border-radius: 9px;
  background-image: linear-gradient(180deg, var(--bg-hi), var(--bg));
  box-shadow: inset 0 1px 0 var(--hl), 0 5px 0 0 var(--edge), 0 10px 8px -3px rgba(14,27,51,.28);
  margin-bottom: 5px;
}
.btn:hover { --lift: -1px; }
.btn:active { --lift: 3px; box-shadow: inset 0 4px 2px var(--press), 0 2px 0 0 var(--edge), 0 5px 4px -2px rgba(14,27,51,.25); }
.btn:focus-visible { box-shadow: inset 0 1px 0 var(--hl), 0 5px 0 0 var(--edge), var(--focus); border-radius: 9px; }
.btn-primary { --bg-hi: #D9A44A; --hl: rgba(255,240,205,.9); --press: rgba(110,70,10,.35); }
.btn-primary:hover { --bg-hi: #E2B25B; }
.btn-blue { --bg-hi: #2B80EC; --hl: rgba(170,210,255,.8); --press: rgba(0,20,70,.45); }
.btn-ghost { --edge: #D6C8AC; --hl: #fff; --bg-hi: #fff; background-image: radial-gradient(circle at 0 50%, var(--notch-bg) 5px, transparent 5.6px), radial-gradient(circle at 100% 50%, var(--notch-bg) 5px, transparent 5.6px), linear-gradient(180deg, #fff, var(--bg)); box-shadow: inset 0 0 0 1.5px var(--line), 0 5px 0 0 var(--edge), 0 10px 8px -4px rgba(14,27,51,.2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy), 0 5px 0 0 var(--navy), 0 10px 8px -4px rgba(14,27,51,.2); }
.btn-ghost:active { box-shadow: inset 0 0 0 1.5px var(--navy), inset 0 4px 2px rgba(14,27,51,.12), 0 2px 0 0 var(--navy); }
.btn-danger { --edge: #E2A69D; box-shadow: inset 0 0 0 1.5px #EFC2BC, 0 5px 0 0 var(--edge), 0 10px 8px -4px rgba(14,27,51,.18); }
.btn-sm { margin-bottom: 4px; border-radius: 8px; box-shadow: inset 0 1px 0 var(--hl), 0 3px 0 0 var(--edge), 0 6px 6px -3px rgba(14,27,51,.22); }
.btn-sm:active { box-shadow: inset 0 3px 1px var(--press), 0 1px 0 0 var(--edge); --lift: 2px; }
.btn-sm.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--line), 0 3px 0 0 var(--edge); }
.btn-icon, .btn-icon:active { margin-bottom: 0; background-image: none; box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { box-shadow: inset 0 0 0 1.5px var(--line); transform: none; }

/* Cap: a white top panel holding an icon, sitting on the 3D bar. The cap stays put while the bar presses. */
.btn.cap { margin-top: 40px; border-top-left-radius: 0; border-top-right-radius: 0; }
.btn.cap::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px;
  border-radius: 9px 9px 0 0; background: #fff var(--cap-ic) center / 24px 24px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--line), inset 0 -2px 0 rgba(14,27,51,.06);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn.cap:active::before { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--line), 0 3px 0 #D9D2C3; }
.btn.cap:hover::before { background-size: 27px 27px; }
.btn-ghost.cap { background-image: linear-gradient(180deg, #fff, var(--bg)); }
.btn.cap:focus-visible { box-shadow: inset 0 1px 0 var(--hl), 0 5px 0 0 var(--edge), var(--focus); }
.cap-paw { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23C68E2F' stroke='%230E1B33' stroke-width='1.2'%3E%3Cellipse cx='6' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='10' cy='6' rx='2.2' ry='2.8'/%3E%3Cellipse cx='14' cy='6' rx='2.2' ry='2.8'/%3E%3Cellipse cx='18' cy='10' rx='2.2' ry='2.8'/%3E%3Cpath d='M12 11c-3 0-6 4.5-6 7 0 1.7 1.5 2.5 3 2 1-.3 2-.7 3-.7s2 .4 3 .7c1.5.5 3-.3 3-2 0-2.5-3-7-6-7z'/%3E%3C/g%3E%3C/svg%3E"); }
.cap-plane { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 15.5v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V8.5l-8 5v2l8-2.5V18l-2 1.5V21l3.5-1 3.5 1v-1.5L13 18v-5z' fill='%230A63D1' stroke='%230E1B33' stroke-width='.8' transform='rotate(90 12 12)'/%3E%3C/svg%3E"); }
.cap-camera { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h3l2-2h6l2 2h3v12H4z' fill='%23FFF4DE' stroke='%230E1B33' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='13' r='3.6' fill='%230A63D1' stroke='%230E1B33' stroke-width='1.4'/%3E%3C/svg%3E"); }
.cap-box { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4z' fill='%23F2D7A3' stroke='%230E1B33' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M3 7l9 4 9-4M12 11v10' fill='none' stroke='%230E1B33' stroke-width='1.6'/%3E%3C/svg%3E"); }
.cap-store { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h16v11H4z' fill='%23FFF4DE' stroke='%230E1B33' stroke-width='1.6'/%3E%3Cpath d='M4 9l1.5-5h13L20 9' fill='%23C68E2F' stroke='%230E1B33' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M9 20v-5h6v5' fill='%230A63D1' stroke='%230E1B33' stroke-width='1.4'/%3E%3C/svg%3E"); }
.cap-shield { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z' fill='%230A63D1' stroke='%230E1B33' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cap-star { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.6 5.6 6.1.7-4.5 4.2 1.2 6L12 16.6 6.6 19.5l1.2-6L3.3 9.3l6.1-.7z' fill='%23C68E2F' stroke='%230E1B33' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cap-pin { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-6-6.2-6-11a6 6 0 0 1 12 0c0 4.8-6 11-6 11z' fill='%23C68E2F' stroke='%230E1B33' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='10' r='2.4' fill='%23fff' stroke='%230E1B33' stroke-width='1.2'/%3E%3C/svg%3E"); }
.cap-key { --cap-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='12' r='4' fill='%23C68E2F' stroke='%230E1B33' stroke-width='1.5'/%3E%3Cpath d='M12 12h9M18 12v3M21 12v2' fill='none' stroke='%230E1B33' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 560px) { .btn.cap { margin-top: 36px; } .btn.cap::before { height: 36px; } }

/* Bigger brand and hero plane on phones */
@media (max-width: 560px) {
  .plane-fly { width: 168px !important; offset-path: path("M -200 120 C 40 96, 180 138, 300 116 S 470 92, 640 118") !important; animation-duration: 13s !important; }
}

/* Journey: badge that rides the path, and an illustration on every checkpoint */
.jr-badge .jr-stage { opacity: 0; transition: opacity .25s ease; }
.jr-badge .jr-stage.on { opacity: 1; }
.jr-badge .jr-halo { fill: none; }
.jr-badge { filter: drop-shadow(0 6px 8px rgba(14,27,51,.22)); transform-box: fill-box; }
.jr-badge.pop .jr-stage.on { animation: jr-pop .45s cubic-bezier(.3,1.6,.5,1); transform-origin: center; transform-box: fill-box; }
@keyframes jr-pop { 0% { transform: scale(.55) rotate(-10deg); } 100% { transform: scale(1) rotate(0); } }
.jr-svg { overflow: visible; }
.journey { overflow: visible; padding-top: 34px; }
.jr-points li { grid-template-columns: 56px 1fr; align-items: center; gap: 10px; }
.jr-points li > div { display: grid; gap: 2px; }
.jr-ill { width: 56px; height: 56px; opacity: .45; filter: grayscale(.6); transition: opacity .3s, filter .3s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.jr-points li.passed .jr-ill { opacity: 1; filter: none; }
.jr-points li.current .jr-ill { transform: scale(1.12); }
.jr-points li.current { border-style: solid; border-color: var(--blue); box-shadow: 0 6px 18px -10px rgba(10,99,209,.5); }
@media (max-width: 760px) { .jr-points { grid-template-columns: 1fr; } .jr-svg { aspect-ratio: 1200/420 !important; } .journey { padding-top: 46px; } }

/* Split-flap cells: static halves plus a hinged leaf */
.flap { display: inline-block; position: relative; perspective: 260px; background: none; box-shadow: none; overflow: visible; }
.flap::after { z-index: 4; }
.flap .fh, .flap .lf { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #1F3152; }
.flap .fh b, .flap .lf b { position: absolute; left: 0; right: 0; height: 200%; display: grid; place-items: center; font: inherit; color: inherit; }
.flap .top, .flap .leaf { top: 0; border-radius: 4px 4px 0 0; }
.flap .top b, .flap .front b { top: 0; }
.flap .bot { bottom: 0; border-radius: 0 0 4px 4px; background: #1B2C4B; box-shadow: inset 0 -1px 0 rgba(0,0,0,.35); }
.flap .bot b { top: -100%; }
.flap .leaf { position: absolute; left: 0; right: 0; height: 50%; transform-origin: 50% 100%; transform-style: preserve-3d; z-index: 3; background: transparent; }
.flap .lf { height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flap .front { border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #24375B, #1F3152); }
.flap .back { transform: rotateX(180deg); border-radius: 0 0 4px 4px; background: #1B2C4B; }
.flap .back b { top: -100%; }
.flap.flipping .bot { filter: brightness(.82); }
.board-table tr.brow.updating td { background: rgba(198,142,47,.10); transition: background-color .3s; }
.flap.go { animation: none; }

/* Mobile maps: big, square-ish, legend below */
@media (max-width: 700px) {
  .map-shell { border-radius: 18px; margin-inline: -8px; }
  .map-shell svg.map { max-height: 82vh; }
  .map-legend { position: static; margin: 8px; }
  .map-ctrl { top: 8px; left: 8px; right: 8px; overflow-x: auto; }
  .df-lede { display: none; }
}

/* Delivery Finder: on phones, results come right after the title; intro and CTAs move below */
.df { display: flex; flex-direction: column; }
@media (max-width: 700px) { .df-ctas { order: 5; margin-top: 18px; } .df .toolbar { order: 2; } .df-results { order: 3; } .df-head { padding-bottom: 8px; } }
.sso { justify-content: flex-start; gap: 12px; width: 100%; }
.sso-ic { width: 22px; height: 22px; border-radius: 6px; flex: none; background: var(--navy); -webkit-mask: none; }
.sso-apple .sso-ic { background: #111; }
.sso-google .sso-ic { background: conic-gradient(#4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0); border-radius: 50%; }
.sso-facebook .sso-ic { background: #1877F2; border-radius: 50%; }
@media (max-width: 700px) {
  .df .toolbar { flex-wrap: nowrap; align-items: center; padding: 10px; gap: 8px; }
  .df .toolbar .field { flex: 1 1 auto; min-width: 0; }
  .df .toolbar .field label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .df .toolbar .seg { margin-left: 0 !important; flex: none; }
  .df .toolbar .seg button { padding: 0 12px; }
  .map-note { top: auto; bottom: 8px; right: 8px; left: 8px; text-align: center; }
  .board-status { white-space: normal; line-height: 1.25; font-size: .7rem; }
  .board-table td:last-child { padding-right: 4px; }
}
.legal h2 { font-size: 1.15rem; margin-top: .6em; } .legal ul, .legal ol { margin: 0 0 1em; padding-left: 20px; } .legal li { margin-bottom: 6px; }
.ftr-legal a { color: #D5DDEB; }

/* Brand: larger, legible wordmark at every width (logo-tight.png has no transparent margin, ratio 3.3:1) */
.brand img { height: 70px; width: auto; }
@media (min-width: 1241px) and (max-width: 1400px) { .brand img { height: 64px; } .hdr-inner { gap: 8px; padding-left: 14px; } .main-nav a { padding: 0 9px; font-size: .86rem; } }
@media (min-width: 1401px) and (max-width: 1520px) { .main-nav a { padding: 0 11px; } }
@media (max-width: 1240px) { .brand img { height: 68px; } .hdr-inner { padding-left: 20px; } }
@media (max-width: 560px) {
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand img { height: auto; width: 100%; max-width: 250px; }
  .hdr-inner { padding: 6px 6px 6px 14px; gap: 8px; }
  .hdr-actions { gap: 6px; }
}

/* ---------- Puppy.Delivery Pass tickets (gate buttons) ---------- */
.pdp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; margin: 0; padding: 0; list-style: none; }
.pdp-item { min-width: 0; }
.pdp {
  --stub-w: 80px; --perf: #B7B6B1; --stub: #FFF9EE;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub-w); grid-template-rows: 34px minmax(177px, 1fr) 65px;
  width: 100%; height: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--navy);
  text-decoration: none; text-align: left; isolation: isolate;
  box-shadow: 0 3px 0 rgba(16,33,59,.025), 0 7px 18px rgba(16,33,59,.045);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.pdp-band { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 20px; background: var(--navy); color: #fff; font: 750 10px/1 var(--font-body); letter-spacing: .19em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.pdp-band span { overflow: hidden; text-overflow: ellipsis; }
.pdp-plane { width: 20px; height: 20px; flex: 0 0 auto; }
.pdp-body { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-width: 0; padding: 22px 0 4px 20px; }
.pdp-copy { display: block; min-width: 0; align-self: start; padding-right: 8px; }
.pdp-title { display: block; font: 800 clamp(23px, 2vw, 28px)/1.08 var(--font-display); letter-spacing: -.045em; text-wrap: balance; color: var(--navy); }
.pdp-desc { display: block; margin-top: 11px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.pdp-art { position: relative; display: block; min-width: 0; min-height: 151px; align-self: stretch; overflow: hidden; }
.pdp-art::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 11px; content: ""; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); pointer-events: none; }
.pdp-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp-action { grid-column: 1; grid-row: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: center; min-width: 0; min-height: 46px; margin: 1px 16px 13px; padding: 11px 15px; background: var(--blue); color: #fff; font: 750 15px/1.3 var(--font-body); letter-spacing: -.015em; transition: background 160ms ease; }
.pdp-arrow { width: 20px; height: 20px; flex: 0 0 auto; transition: transform 160ms ease; }
.pdp-stub { position: relative; grid-column: 2; grid-row: 1 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-width: 0; padding: 35px 8px 12px; border-left: 2px dashed var(--perf); background: linear-gradient(var(--navy) 0 34px, var(--stub) 34px 100%); }
.pdp-gate { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pdp-gate-l { font-size: 10px; font-weight: 800; letter-spacing: .14em; line-height: 1.4; }
.pdp-gate-n { font: 700 43px/1 var(--font-mono); letter-spacing: -.07em; }
.pdp-bar { display: block; width: 42px; height: 45px; opacity: .9; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px, var(--navy) 8px 11px, transparent 11px 13px, var(--navy) 13px 14px, transparent 14px 17px); }
.pdp-stub::before, .pdp-stub::after { position: absolute; z-index: 3; content: ""; width: 18px; height: 18px; left: -10px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
.pdp-stub::before { top: -10px; clip-path: inset(50% 0 0 0); }
.pdp-stub::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.pdp:focus-visible { z-index: 2; outline: 3px solid var(--blue); outline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  .pdp:hover { transform: translateY(-3px); border-color: #A9B9CE; box-shadow: 0 7px 15px rgba(16,33,59,.055), 0 15px 28px rgba(16,33,59,.045); }
  .pdp:hover .pdp-action { background: var(--blue-deep); }
  .pdp:hover .pdp-arrow { transform: translateX(3px); }
}
.pdp:active { transform: translateY(0); }
@media (max-width: 1080px) {
  .pdp-grid { grid-template-columns: 1fr; max-width: 850px; }
  .pdp { --stub-w: 94px; grid-template-rows: 34px minmax(185px, 1fr) 65px; }
  .pdp-title { font-size: 29px; }
  .pdp-desc { font-size: 16px; }
  .pdp-body { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .pdp-action { font-size: 16px; }
  .pdp-gate-n { font-size: 48px; }
}
@media (max-width: 620px) {
  .pdp-grid { gap: 22px; }
  .pdp { grid-template-columns: minmax(0, 1fr); grid-template-rows: 32px minmax(175px, auto) 71px; height: auto; }
  .pdp-band { padding-inline: 16px; font-size: 9px; gap: 9px; }
  .pdp-plane { width: 18px; height: 18px; }
  .pdp-body { padding: 19px 0 12px 16px; }
  .pdp-copy { padding-right: 5px; }
  .pdp-title { font-size: 25px; }
  .pdp-desc { margin-top: 10px; font-size: 15px; line-height: 1.43; }
  .pdp-art { min-height: 148px; }
  .pdp-stub { grid-column: 1; grid-row: 3; flex-direction: row; justify-content: flex-start; padding: 0; gap: 0; border-top: 2px dashed var(--perf); border-left: 0; background: var(--stub); }
  .pdp-gate { width: 65px; flex: 0 0 65px; gap: 1px; }
  .pdp-gate-l { font-size: 8px; letter-spacing: .13em; }
  .pdp-gate-n { font-size: 30px; letter-spacing: -.06em; }
  .pdp-bar { display: none; }
  .pdp-stub::before, .pdp-stub::after { top: -10px; bottom: auto; }
  .pdp-stub::before { left: -10px; clip-path: inset(0 0 0 50%); }
  .pdp-stub::after { right: -10px; left: auto; clip-path: inset(0 50% 0 0); }
  .pdp-action { grid-column: 1; grid-row: 3; position: relative; z-index: 2; align-self: center; min-height: 46px; margin: 2px 12px 0 65px; padding: 10px 13px; font-size: 15px; line-height: 1.28; gap: 8px; }
  .pdp-arrow { width: 19px; height: 19px; }
}
@media (max-width: 359px) {
  .pdp-body { padding-left: 13px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .pdp-title { font-size: 22px; }
  .pdp-action { margin-left: 58px; margin-right: 10px; padding-inline: 10px; gap: 5px; }
  .pdp-gate { width: 58px; flex-basis: 58px; }
}
@media (forced-colors: active) { .pdp, .pdp-action, .pdp-stub { border: 1px solid ButtonText; } .pdp-stub::before, .pdp-stub::after { display: none; } }

/* ---------- Site notice: demo sandbox / live notes ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.demo-ribbon { flex-wrap: wrap; row-gap: 6px; }
#ribbonText { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; }
.ribbon-actions { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.chip-btn { font: 600 .74rem var(--font-body); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; min-height: 28px; cursor: pointer; }
.chip-btn:hover { border-color: var(--blue); color: var(--blue-deep); }
.chip-btn:focus-visible, .chip-select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip-btn.strong { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-select { font: 600 .74rem var(--font-body); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; min-height: 28px; background: #fff; color: var(--navy); }
.demo-ribbon.sandbox { background: var(--gold-soft); border: 1px solid #E8D3A6; border-radius: 14px; padding: 8px 14px; color: var(--navy); }

/* ---------- Delivery Finder: courier recruitment ---------- */
.notice.info { background: var(--blue-soft); border-color: #BFD3F2; border-left-color: var(--blue); }
.df-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin: 4px 0 26px; }
.df-buyer { margin: 0; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.df-maplabel { margin: 0 0 12px; }
.df-maplabel .eyebrow { margin-bottom: 4px; }
.df-maplabel h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 0 0 4px; }
.df-maplabel p { margin: 0; }
.df-open { scroll-margin-top: 110px; }
.df-open .toolbar { margin-bottom: 16px; }
.df-results { margin-bottom: 36px; }
.trip-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 20px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, box-shadow .3s var(--ease); }
.trip-card:hover { border-color: #A9C6EF; box-shadow: var(--shadow-2); }
.trip-mode { font: 700 .68rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); border-radius: 999px; padding: 4px 10px; }
.trip-mode.cargo { color: var(--gold-deep); background: var(--gold-soft); }
.trip-mode.ground { color: #1F6B47; background: var(--ok-soft, #E3F3EA); }
.trip-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 10px 0; border-block: 1px dashed var(--line); }
.trip-meta div { display: grid; gap: 2px; }
.trip-meta .k { font: 700 .62rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trip-meta .v { font-weight: 650; }
.trip-meta .pay { font: 700 1.35rem/1.1 var(--font-display); color: var(--navy); }
.trip-note { margin: 0; }
.df-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 6px 0 40px; }
.perk { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; }
.perk strong { font-family: var(--font-display); font-size: 1.02rem; }
.perk span { font-size: .9rem; color: var(--muted); }
.df-steps { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.df-steps li { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 600; font-size: .9rem; }
.df-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--font-mono); }
.df-progress { margin-bottom: 40px; }
@media (max-width: 900px) { .df-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .df-ctas { order: 0; margin: 0 0 18px; }
  .df-ctas .btn-row { width: 100%; }
  .df-maplabel h2 { font-size: 1.3rem; }
  .df-perks { grid-template-columns: 1fr; }
}

/* ---------- Brand & site mode ---------- */
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-switch button { text-align: left; display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; font: inherit; }
.mode-switch button strong { font-family: var(--font-display); font-size: 1.1rem; }
.mode-switch button span { font-size: .86rem; color: var(--muted); }
.mode-switch button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.mode-switch button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.brand-prev { display: flex; align-items: center; min-height: 92px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 14px; background: var(--paper); }
.file-btn { cursor: pointer; justify-self: start; }
.file-btn:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.color-field input[type=color] { width: 46px; height: 42px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
@media (max-width: 640px) { .mode-switch { grid-template-columns: 1fr; } }
.ribbon-sel { display: none; }
@media (max-width: 700px) {
  .ribbon-chips { display: none; }
  .ribbon-sel { display: inline-flex; }
  .demo-ribbon .ribbon-dot { display: none; }
  .demo-ribbon { margin-top: 6px; }
  .df [data-scroll-open] { display: none; }
}

/* Courier Delivery Marketplace title above the Delivery Finder map/trips */
.df-maplabel { padding: 18px 0 4px; border-top: 1px solid var(--line); }
.df-maplabel h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.03em; margin: 2px 0 6px; }
.df-mapsub { margin: 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 700px) { .df-maplabel { padding-top: 14px; } .df-maplabel h2 { font-size: 1.65rem; } .df-mapsub { font-size: .92rem; } }

.home-maphead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 28px 0 14px; }
.home-maphead h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.03em; margin: 2px 0 6px; }
@media (max-width: 700px) { .home-maphead { margin-top: 20px; } .home-maphead h2 { font-size: 1.65rem; } .home-maphead .btn { width: 100%; justify-content: center; } }

/* Puppy detail gallery thumbnails */
.pdp-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pdp-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #F5EBDC; cursor: pointer; aspect-ratio: 1; min-height: 44px; }
.pdp-thumbs button[aria-pressed="true"] { border-color: var(--ink, #1d1d1f); }
.pdp-thumbs button:focus-visible { outline: 3px solid var(--focus, #1d4ed8); outline-offset: 2px; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Partner website editor */
.site-preview-link { word-break: break-all; }
.dns-table td, .dns-table th { font-family: var(--mono, ui-monospace, monospace); font-size: .85rem; }
.photo-edit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.photo-edit li { position: relative; border-radius: 10px; overflow: hidden; background: #F5EBDC; aspect-ratio: 1; }
.photo-edit img { width: 100%; height: 100%; object-fit: cover; }
.photo-edit .pe-acts { position: absolute; inset: auto 4px 4px 4px; display: flex; gap: 4px; justify-content: space-between; }
.photo-edit .pe-acts button { min-width: 32px; min-height: 32px; border-radius: 8px; border: 0; background: rgba(255,255,255,.92); font-weight: 700; cursor: pointer; }
.photo-edit .pe-first { position: absolute; left: 4px; top: 4px; }
input[type=file].sr-only:focus-visible + label { outline: 3px solid var(--focus, #1d4ed8); outline-offset: 2px; }

/* Floating customer service launcher (replaces the header attendant button) */
.cs-launch { position: fixed; right: 18px; bottom: 18px; z-index: 69; display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; min-height: 64px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); box-shadow: 0 18px 40px -16px rgba(14,27,51,.45); cursor: pointer; font: inherit; transition: transform .25s var(--ease-spring), box-shadow .2s; }
.cs-launch:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(14,27,51,.5); }
.cs-launch:focus-visible { outline: 3px solid var(--blue, #0A63D1); outline-offset: 3px; }
.cs-launch[hidden] { display: none; }
.cs-ava { position: relative; width: 52px; height: 52px; flex: none; }
.cs-ava img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: block; }
.cs-dot { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 2.5px #fff; }
.cs-txt { display: grid; text-align: left; line-height: 1.2; }
.cs-txt strong { font: 800 1rem var(--font-display); }
.cs-txt span { font-size: .8rem; color: var(--ink-2, #4a5568); }
.john-avatar { position: relative; overflow: visible; }
.john-avatar img { width: 46px; height: 46px; object-fit: cover; }
.agent-portrait img { border-radius: 50%; object-fit: cover; }
@media (max-width: 560px) { .cs-launch { padding: 5px; min-height: 0; right: 14px; bottom: 14px; } .cs-txt { display: none; } }
@media (max-width: 900px) { body.has-next .cs-launch { bottom: 96px; } }
@media print { .cs-launch { display: none; } }

/* Language switch */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 700 .85rem var(--font-body); cursor: pointer; }
.lang-btn:focus-visible, .lang-menu button:focus-visible { outline: 3px solid var(--blue, #0A63D1); outline-offset: 2px; }
.lang-flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; flex: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px -16px rgba(14,27,51,.35); padding: 6px; z-index: 80; list-style: none; margin: 0; }
.lang-menu[hidden] { display: none; }
.lang-menu button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; background: none; border-radius: 10px; font: 600 .95rem var(--font-body); color: var(--navy); cursor: pointer; text-align: left; }
.lang-menu button:hover, .lang-menu button[aria-checked="true"] { background: var(--paper, #FBF7EF); }
.lang-menu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; color: var(--blue, #0A63D1); font-weight: 800; }
@media (max-width: 560px) { .lang-btn .lang-code { display: none; } .lang-btn { padding: 0 10px; } }

/* Image-first puppy tiles: more photo, less text. Details live on the puppy page. */
.pup-tile { background: transparent; border: 0; box-shadow: none; overflow: visible; border-radius: 22px; }
.pup-tile:hover { box-shadow: none; }
.pup-tile .pup-media { aspect-ratio: 4/5; border-radius: 22px; box-shadow: var(--shadow-1); transition: box-shadow .35s var(--ease); }
.pup-tile:hover .pup-media { box-shadow: var(--shadow-2); }
.pup-tile .pup-media::after { display: none; }
.pup-tile .pup-media .prov { display: none; }
.pup-tile .pup-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.pup-tile:hover .pup-alt, .pup-tile-link:focus-visible .pup-alt { opacity: 1; }
.pup-tile-link { display: block; color: var(--navy); text-decoration: none; border-radius: 22px; }
.pup-tile-link:focus-visible { outline: 3px solid var(--blue, #0A63D1); outline-offset: 4px; }
.pup-tile:focus-within { box-shadow: none; }
.pup-cap { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 12px 6px 4px; align-items: baseline; }
.pup-name { font: 800 1.08rem var(--font-display); }
.pup-price { font-weight: 800; font-size: 1rem; }
.pup-breed { grid-column: 1 / -1; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2, #4a5568); }
.pup-tile .pup-st { position: absolute; left: 12px; top: 12px; z-index: 2; }
.pup-tile .pup-save { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #c9c2b6; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(14,27,51,.3); transition: transform .2s var(--ease-spring), color .2s; }
.pup-tile .pup-save:hover { transform: scale(1.08); color: #e2667c; }
.pup-save[aria-pressed="true"] { color: #d6345a; }
.pup-save:focus-visible { outline: 3px solid var(--blue, #0A63D1); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pup-tile .pup-alt { transition: none; } }

/* Korean: break between words, not inside them; looser tracking reads better in Hangul */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ko"] .eyebrow { letter-spacing: .04em; }
html[lang="ko"] h1, html[lang="ko"] h2 { letter-spacing: -0.01em; }

/* Wallet card mock */
.pass-mock { width: 100%; max-width: 360px; background: var(--pc); color: var(--pf); border-radius: 20px; padding: 20px 22px; box-shadow: 0 30px 60px -28px rgba(14,27,51,.55); font-size: .85rem; position: relative; }
.pass-mock small { display: block; font-size: .62rem; letter-spacing: .16em; opacity: .78; text-transform: uppercase; }
.pm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pm-brand { font: 800 1.05rem var(--font-display); max-width: 60%; }
.pm-brand img { max-height: 34px; max-width: 160px; width: auto; display: block; }
.pm-st { text-align: right; font-weight: 700; }
.pm-route { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 14px; }
.pm-route b { font: 800 2.4rem/1 var(--font-display); letter-spacing: .02em; }
.pm-route .r, .pm-row .r { text-align: right; }
.pm-route > span { font-size: 1.4rem; opacity: .85; }
.pm-row { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid currentColor; border-color: rgba(255,255,255,.28); padding-top: 12px; font-weight: 600; }
.pm-qr { width: 104px; margin: 16px auto 0; background: #fff; border-radius: 10px; padding: 6px; }
.pm-qr svg { width: 100%; height: auto; display: block; }

/* Courier recruitment page */
.courier-landing { display: grid; gap: 72px; }
.cl-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.cl-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; margin: 10px 0 16px; }
.cl-visual { display: grid; justify-items: center; }
.cl-sec h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 14px; }
.cl-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.cl-steps li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; counter-increment: s; display: grid; gap: 6px; }
.cl-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.cl-steps span { color: var(--ink-2, #4a5568); font-size: .95rem; }
.cl-private { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--navy); color: #fff; border-radius: 28px; padding: 44px; }
.cl-private .eyebrow, .cl-private p { color: rgba(255,255,255,.86); }
.cl-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cl-checks li { padding-left: 30px; position: relative; font-weight: 600; }
.cl-checks li::before { content: "✓"; position: absolute; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #E3B566; color: var(--navy); display: grid; place-items: center; font-size: .8rem; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.cl-f { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.cl-f h3 { font-size: 1.05rem; margin: 0 0 6px; }
.cl-f p { margin: 0; color: var(--ink-2, #4a5568); font-size: .95rem; }
.cl-wallet { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cl-wallet > div:last-child { display: grid; justify-items: center; }
.cl-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cl-p { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.cl-p.featured { border: 2px solid var(--navy); }
.cl-p h3 { margin: 0; font-size: 1.1rem; }
.cl-amt { font: 800 2rem var(--font-display); margin: 8px 0 10px; }
.cl-amt small { font-size: .9rem; font-weight: 600; color: var(--ink-2, #4a5568); }
.cl-p ul { margin: 0; padding-left: 1.1em; color: var(--ink-2, #4a5568); font-size: .95rem; }
@media (max-width: 900px) { .cl-hero, .cl-private, .cl-wallet { grid-template-columns: 1fr; } .cl-private { padding: 28px; } }

/* Portal studio */
.studio { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 20px; align-items: start; margin-top: 20px; }
.studio-view { position: sticky; top: 100px; }
.studio iframe { width: 100%; height: 78vh; min-height: 560px; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: block; margin: 0 auto; transition: width .3s var(--ease); }
@media (max-width: 960px) { .studio { grid-template-columns: 1fr; } .studio-view { position: static; } }

/* Tracking wallet card, chips */
.wallet-card .qr-box svg { width: 170px; height: 170px; }
.btn-dark { background: #111; color: #fff; border-color: #111; }
.btn-dark:hover { background: #000; color: #fff; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 .82rem var(--font-body); color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip:focus-visible { outline: 3px solid var(--blue, #0A63D1); outline-offset: 2px; }

/* ---------- Header: clean and crisp (full-width bar, hairline rule, tracked caps, underline indicator) ---------- */
.site-header { padding: 0; background: rgba(255,253,249,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(14,27,51,.1); pointer-events: auto; transition: box-shadow .3s var(--ease), background-color .3s; }
.site-header.scrolled { background: rgba(255,253,249,.98); box-shadow: 0 10px 30px -22px rgba(14,27,51,.45); }
.hdr-inner, .site-header.scrolled .hdr-inner { max-width: 1340px; padding: 6px 24px; background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.main-nav ul { background: transparent; border-radius: 0; padding: 0; gap: 0; }
.main-nav a { border-radius: 0; min-height: 44px; padding: 0 9px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2A3446; }
@media (min-width: 1241px) and (max-width: 1520px) { .main-nav a { padding: 0 7px; font-size: .66rem; letter-spacing: .08em; } .hdr-inner, .site-header.scrolled .hdr-inner { padding: 6px 14px; gap: 10px; } .site-header .brand img { height: 56px; } }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); }
.nav-ind { top: auto !important; bottom: 0; height: 2px !important; border-radius: 0; background: var(--gold-deep, #B8892E); box-shadow: none; }
.nav-ind::after { display: none; }
.hdr-actions .btn { border-radius: 6px; min-height: 42px; padding: 0 16px; box-shadow: none; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hdr-actions .btn:focus-visible { border-radius: 6px; box-shadow: var(--focus); }
.hdr-actions .btn-primary { background: var(--navy); color: #fff; }
.hdr-actions .btn-primary:hover { background: #16264A; color: #fff; }
.hdr-actions a.btn-primary::after { display: none; }
.hdr-actions .menu-btn { background: transparent; box-shadow: inset 0 0 0 1px rgba(14,27,51,.2); }
.site-header .lang-btn { border-radius: 6px; min-height: 42px; font-size: .76rem; letter-spacing: .1em; border-color: rgba(14,27,51,.2); }
.site-header .lang-menu { border-radius: 8px; }
.site-header .lang-menu button { border-radius: 4px; }
.mobile-nav { margin: 0; border: 0; border-top: 1px solid rgba(14,27,51,.1); border-radius: 0; background: #fff; box-shadow: 0 20px 40px -24px rgba(14,27,51,.4); }
.mobile-nav-sky { display: none; }
.mobile-nav ul { padding: 6px 18px 10px; }
.mobile-nav a { border-radius: 0; border-bottom: 1px solid rgba(14,27,51,.08); font: 700 .82rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.mobile-nav a::before { display: none; }
.mobile-nav a[aria-current="page"] { background: transparent; color: var(--navy); box-shadow: inset 3px 0 0 var(--gold-deep, #B8892E); }
@media (max-width: 560px) { .hdr-inner, .site-header.scrolled .hdr-inner { padding: 6px 12px; } }
.content-page h1 { margin: .2em 0 .3em; }
.tip-list { display: grid; gap: 14px; }
.tip-card h2 { font-size: 1.25rem; margin: .4em 0; }
.tip-card.today, .tip-home { border-left: 4px solid var(--gold-deep, #94661A); }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.article-card h2 { font-size: 1.15rem; margin: .4em 0; }
.article-body { max-width: 820px; }
.article-body h2 { font-size: 1.4rem; margin-top: 1.4em; }
.article-body details summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }

/* ---------- Animated add-on checkboxes (Transport Puppy, Turnkey) ---------- */
.addon-set { border: 0; padding: 0; margin: 4px 0 0; }
.addon-set legend { font: 700 1.02rem var(--font-display); padding: 0; margin-bottom: 10px; }
.addon-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.addon-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), background .2s var(--ease); }
.addon-card:hover { border-color: var(--gold-hi); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.addon-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon-card:has(input:focus-visible) { box-shadow: var(--focus); }
.addon-card:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.addon-check { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease-spring); }
.addon-check svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s var(--ease) .05s; }
.addon-card:has(input:checked) .addon-check { background: var(--gold); border-color: var(--gold); transform: scale(1.12); }
.addon-card:has(input:checked) .addon-check svg { stroke-dashoffset: 0; }
.addon-body { display: grid; gap: 4px; }
.addon-body strong { font: 700 1rem var(--font-display); }
.addon-price { font: 700 .82rem var(--font-mono); color: var(--gold-deep); }
@media (prefers-reduced-motion: reduce) { .addon-card, .addon-check, .addon-check svg { transition: none; } .addon-card:hover { transform: none; } }

/* Airport autocomplete on the main site */
.ap { position: relative; }
.ap-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-2); max-height: 320px; overflow: auto; }
.ap-list li { display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; cursor: pointer; line-height: 1.3; }
.ap-list li b { font: 700 .9rem var(--font-mono); min-width: 3.2em; color: var(--navy); }
.ap-list li small { display: block; color: var(--muted); font-size: .8rem; }
.ap-list li[aria-selected=true], .ap-list li:hover { background: var(--gold-soft); }
.ap-none { padding: 9px 12px; color: var(--muted); font-size: .9rem; }
.ap .vh, .ap [role=status] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Love at FURst Sight (reverse bid) ---------- */
.lf-hero { background: radial-gradient(1200px 500px at 85% -10%, #FFE3EC 0, transparent 60%), linear-gradient(180deg, var(--sky-1), var(--ivory)); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.lf-hero-in { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.lf-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; margin: 8px 0 14px; }
.lf-stats { display: grid; gap: 12px; }
.lf-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-1); display: flex; align-items: baseline; gap: 10px; }
.lf-stats strong { font: 800 1.9rem var(--font-display); color: var(--navy); }
.lf-stats span { color: var(--muted); font-size: .92rem; }
.lf-how ol { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lf-how li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.lf-how li > span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #D6336C; color: #fff; font-weight: 800; margin-bottom: 8px; }
.lf-how strong { display: block; font: 700 1.08rem var(--font-display); }
.tabs .tab-link { margin-left: auto; }
.lf-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.lf-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.lf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.lf-media { position: relative; aspect-ratio: 4 / 3; background: var(--gold-soft); }
.lf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold); }
.lf-ph svg { width: 64px; height: 64px; }
.lf-badges { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.lf-clock { display: inline-flex; align-items: center; gap: 6px; background: rgba(14,27,51,.86); color: #fff; font: 700 .78rem var(--font-mono); padding: 5px 10px; border-radius: 999px; }
.lf-clock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF6B9A; animation: blink 1.6s ease-in-out infinite; }
.lf-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lf-body h3 { margin: 0; font-size: 1.1rem; }
.lf-body .btn-row { margin-top: auto; }
.lf-desc { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lf-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px; }
.lf-prices div { display: grid; gap: 2px; }
.lf-prices strong { font: 800 1.05rem var(--font-display); }
.lf-low { color: #C2255C; }
.lf-mine { margin: 0; font-weight: 700; font-size: .88rem; padding: 6px 10px; border-radius: var(--r-sm); }
.lf-mine.lead { background: var(--ok-soft); color: var(--ok); }
.lf-mine.out { background: var(--warn-soft); color: var(--warn); }
.lf-terms { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 4px; }
.lf-prev img { max-height: 180px; border-radius: var(--r-sm); margin-top: 8px; }
.lf-days { display: flex; gap: 8px; flex-wrap: wrap; }
.lf-day input { position: absolute; opacity: 0; }
.lf-day span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 650; transition: all .2s var(--ease); }
.lf-day em { font-style: normal; font-size: .75rem; color: var(--gold-deep); margin-left: 4px; }
.lf-day input:checked + span { border-color: var(--gold); background: var(--gold-soft); }
.lf-day input:focus-visible + span { box-shadow: var(--focus); }
.lf-bidhead { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.lf-bidhead div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; display: grid; }
.lf-manage .table { width: 100%; }
.lf-band { background: linear-gradient(120deg, #2B1030, #5A1A45 55%, #C2255C); color: #fff; padding: 56px 0; }
.lf-band-in { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.lf-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin: 6px 0 12px; }
.lf-band h2 em { font-style: normal; color: #FFC2D6; }
.lf-band p, .lf-band .tiny { color: rgba(255,255,255,.86); }
.lf-band .eyebrow { color: #FFC2D6; }
.lf-band .btn-ghost, .lf-band .btn-ghost:hover { --bg: transparent; --notch-bg: transparent; --edge: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.lf-band .btn-ghost:hover { --bg: rgba(255,255,255,.12); }
.lf-band-cards { display: grid; gap: 12px; }
.lf-mini { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r); padding: 10px; color: #fff; text-decoration: none; transition: background .2s var(--ease), transform .2s var(--ease); }
.lf-mini:hover { background: rgba(255,255,255,.18); transform: translateX(4px); }
.lf-mini-ph { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.15); }
.lf-mini-ph img { width: 100%; height: 100%; object-fit: cover; }
.lf-mini-ph .lf-ph { color: #FFC2D6; } .lf-mini-ph .lf-ph svg { width: 34px; height: 34px; }
.lf-mini-b { display: grid; gap: 3px; }
.lf-mini-b .lf-clock { justify-self: start; }
.lf-mini-empty { flex-direction: column; align-items: flex-start; padding: 22px; }
.stars-in { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-in input { position: absolute; opacity: 0; }
.stars-in label span[aria-hidden] { font-size: 2rem; color: var(--line); cursor: pointer; transition: color .15s, transform .2s var(--ease-spring); display: inline-block; }
.stars-in input:checked ~ span[aria-hidden], .stars-in label:has(input:checked) span[aria-hidden], .stars-in label:has(input:checked) ~ label span[aria-hidden] { color: var(--gold); }
.stars-in input:focus-visible + span { outline: 2px solid var(--blue); border-radius: 4px; }
.lf-rating { margin: 0; color: var(--gold-deep); }
@media (max-width: 860px) { .lf-hero-in, .lf-band-in { grid-template-columns: 1fr; } }

/* ---------- Breeder Marketplace panels ---------- */
.mk-panels { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin: 0 0 22px; }
.mk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mk-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.mk-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mk-stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- Turnkey Solutions ---------- */
.tk-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tk-card { display: flex; flex-direction: column; gap: 8px; }
.tk-card h2 { margin: 0; font-size: 1.45rem; }
.tk-card .btn-row { margin-top: auto; padding-top: 8px; }
.tk-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; }
.tk-price { margin: 0; font: 800 1.05rem var(--font-display); color: var(--navy); }
.tk-note { margin: 0; color: var(--ok); font-weight: 650; }
.tk-list { margin: 4px 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .93rem; }
.tk-list li { padding-left: 22px; position: relative; }
.tk-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.btn-lg { min-height: 54px; padding-inline: 28px; font-size: 1.05rem; }
.empty-state { text-align: center; padding: 32px 22px; }
.empty-state p { color: var(--muted); }

/* ---------- Hire a Pro ---------- */
.pro-hero { background: linear-gradient(180deg, var(--ivory), #fff); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.pro-hero-in { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.pro-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.06; margin: 8px 0 14px; }
.pro-photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-3); aspect-ratio: 16 / 9; }
.pro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pro-guar-chip { display: inline-flex; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 14px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: .92rem; }
.pro-guar { border-color: #BCE0CC; background: linear-gradient(180deg, #fff, var(--ok-soft)); }
.pro-guar svg, .pro-guar-chip svg { color: var(--ok); flex: none; }
details.card summary { cursor: pointer; }
@media (max-width: 860px) { .pro-hero-in { grid-template-columns: 1fr; } }
.jr-cta { justify-content: center; margin-top: 18px; }

/* ---------- Daily tip pages ---------- */
.crumbs a { color: var(--blue-deep); }
.tip-card h2 a, .tip-card h3 a { color: inherit; text-decoration: none; }
.tip-card h2 a:hover, .tip-card h3 a:hover { text-decoration: underline; }
.tip-more { font-size: .9rem; font-weight: 650; }
.tip-h { margin-top: 30px; }
.tip-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tip-topics { display: grid; gap: 18px 28px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tip-topic h3 { font-size: 1rem; margin: 0 0 6px; }
.tip-topic ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.tip-page { max-width: 820px; }
.tip-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin: 0; }
.tip-try { border-left: 4px solid var(--gold); background: var(--gold-soft); }
.tip-try p { margin: 6px 0 0; }
.tip-cta { background: linear-gradient(180deg, #fff, var(--sky-1)); }
.tip-cta h2 { margin-top: 0; font-size: 1.25rem; }
.tip-body h2 { font-size: 1.35rem; margin: 1.4em 0 .4em; }
.tip-body ul { padding-left: 1.2em; display: grid; gap: 6px; }
