:root {
  --bg: #ffffff; --bg2: #f2f6fa; --line: #d9e3ee; --line-strong: #b9c9da;
  --ink: #10243a; --ink2: #3c5068; --muted: #56687c;
  --navy: #03548c; --blue: #0f75bc; --sky: #6d96c2;
  --green: #8dc73f; --green-ink: #3f7a12; --green-soft: #edf6e1;
  --danger: #b3261e; --ok: #3f7a12;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, Menlo, monospace;
  --r: 16px; --max: 1180px; --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.015em; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; color: var(--ink2); }
.lead { font-size: 1.18rem; max-width: 56ch; }
.accent { color: var(--green); font-style: italic; }
.eyebrow { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 12px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Top bar */
.topbar { background: var(--navy); color: #fff; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding: 7px var(--gutter); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; max-width: var(--max); margin: 0 auto; }
.topbar-in a { color: var(--green); text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .topbar-in span { display: none; } .topbar-in { justify-content: center; } }

/* Header */
.top { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 3px solid var(--green); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.brand-name { font-family: var(--serif); font-weight: 700; line-height: 1; font-size: 1.15rem; }
.brand-name small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 600; color: var(--muted); margin-top: 4px; letter-spacing: .02em; white-space: nowrap; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap; }
.nav a:hover { color: var(--blue); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 10px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 7px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; border-bottom: 1px solid var(--line); background: var(--bg2); }
.mobile-nav a { padding: 16px var(--gutter); color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav:not([hidden]) { display: flex; }
@media (max-width: 1100px) { .nav { display: none; } .nav-toggle { display: block; } }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(56px, 8vw, 100px) 0; }
section.band { background: var(--bg2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .two, .three { grid-template-columns: 1fr; } }

/* Hero: navy block like ASRE PM */
.hero { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.hero h1, .hero p, .hero .eyebrow { color: #fff; }
.hero .eyebrow { color: var(--green); }
.hero p { color: #dbe7f3; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 16ch; }
.hero-single { max-width: 760px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; background: var(--green); color: var(--ink); cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; }
.btn:hover { background: #9ed553; color: var(--ink); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--blue); color: #fff; }
.btn.ghost { background: #fff; color: var(--navy); border-color: #fff; }
.hero .btn.ghost:hover { background: var(--bg2); }
section:not(.hero) .btn.ghost { border-color: var(--line-strong); }
section:not(.hero) .btn.ghost:hover { border-color: var(--navy); }
.btn:disabled { opacity: .6; cursor: wait; }
.markets { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: .9rem; }
.markets li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink2); background: #fff; }
.hero .markets li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }

/* Ticket card (hero right) */
.ticket { background: #fff; color: var(--ink); border-radius: var(--r); padding: 24px 26px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.ticket-head b { font-size: 1.05rem; color: var(--ink); }
.ticket-head span { color: var(--muted); font-size: .82rem; font-family: var(--mono); }
.ticket ol { list-style: none; margin: 0; padding: 0; }
.ticket li { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; align-items: baseline; }
.ticket li:last-child { border-bottom: 0; }
.ticket li .k { color: var(--muted); font-size: .78rem; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.ticket li .v { color: var(--ink); }
.ticket li .flag { font-weight: 700; white-space: nowrap; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }
.flag.ok { background: var(--green-soft); color: var(--green-ink); }
.flag.blue { background: #e4eff9; color: var(--navy); }
.flag.red { background: #fbe9e7; color: var(--danger); }
.flag.amber { background: #fff4d6; color: #8a5a00; }
.ticket-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .93rem; color: var(--ink2); }
.ticket-foot b { color: var(--ink); }
.ticket-note, .hero .ticket p { color: var(--muted); font-size: .8rem; margin-top: 10px; }
@media (max-width: 480px) { .ticket li { grid-template-columns: 1fr; gap: 2px; } .ticket li .flag { justify-self: start; } }

/* Cards (ASRE PM style) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.cards.three-up { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards, .cards.three-up { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards.three-up { grid-template-columns: 1fr; } }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--ink2); transition: box-shadow .15s, border-color .15s; }
a.card:hover { border-color: var(--sky); box-shadow: 0 10px 30px rgba(16,36,58,.08); color: var(--ink2); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: #e4eff9; color: var(--navy); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; font-family: var(--serif); }
.card.green .icon { background: var(--green-soft); color: var(--green-ink); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0 0 12px; font-size: .95rem; }
.card .go { color: var(--blue); font-weight: 700; font-size: .95rem; }
.card .tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* Ruled lists */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.ruled li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 24px; }
.ruled li h3 { margin: 0; }
.ruled li p { margin: 0; }
@media (max-width: 700px) { .ruled li { grid-template-columns: 1fr; gap: 6px; } }

.stat-row { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
.stat-row div { border-left: 3px solid var(--green); padding-left: 14px; }
.stat-row b { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--navy); font-family: var(--serif); }
.stat-row span { color: var(--muted); font-size: .92rem; }

/* Steps: numbered green circles */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.steps li h3 { margin-bottom: 4px; }
.steps li p { margin: 0; }

/* Callout */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 8px; padding: 16px 20px; background: #fff; font-size: .95rem; }
.callout p { margin: 0; }
.callout.green { border-left-color: var(--green); background: var(--green-soft); }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: 0 10px 30px rgba(16,36,58,.06); }
.form h2, .form h3 { margin-bottom: 6px; }
.form .hint { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .93rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #93a2b4; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(15,117,188,.18); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .85rem; color: var(--ink2); margin: 10px 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.consent-note { font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; font-weight: 600; }
.form-msg.ok { color: var(--green-ink); }
.form-msg.err { color: var(--danger); }

/* Interior page header */
.page-head { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 14px; }
.crumb { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.crumb a { color: var(--muted); }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; color: var(--ink2); }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.prose .updated { color: var(--muted); font-size: .9rem; }

/* Footer */
.foot { background: var(--ink); color: #c9d6e3; margin-top: 40px; }
.foot-grid { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; font-size: .93rem; }
.foot-grid a, .foot-grid span { display: block; color: #c9d6e3; text-decoration: none; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--green); text-decoration: underline; }
.foot-grid p { margin: 0 0 10px; color: #c9d6e3; }
.foot-name { font-family: var(--serif); font-weight: 700; color: #fff !important; font-size: 1.1rem; }
.foot-head { font-weight: 800; color: #fff !important; }
.foot-legal { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #93a2b4; }
.foot-legal a { color: #93a2b4; margin-left: 14px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.nf { padding: 80px 0; }

/* Division cards (g-11 home) */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 960px) { .divisions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .divisions { grid-template-columns: 1fr; } }
.div-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--ink2); position: relative; transition: box-shadow .15s, border-color .15s; min-height: 200px; }
.div-card:hover { border-color: var(--sky); box-shadow: 0 10px 30px rgba(16,36,58,.08); color: var(--ink2); }
.div-card .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 800; font-size: .8rem; }
.div-card h3 { margin: 12px 0 8px; font-size: 1.25rem; }
.div-card p { margin: 0 0 28px; font-size: .95rem; }
.div-card .go { position: absolute; right: 20px; bottom: 18px; color: var(--blue); font-weight: 800; }
