:root {
  --ink: #07121f;
  --navy: #102943;
  --navy-soft: #173b59;
  --gold: #d9a63a;
  --gold-light: #f4c95d;
  --paper: #f3f1eb;
  --white: #fff;
  --text: #17202a;
  --muted: #64717d;
  --line: #d8d6cf;
  --success: #28734d;
  --danger: #a43131;
  --content: 1120px;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text); background: var(--paper); font: 15.5px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #42cbe8; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 12px; }
.wrap { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 30; color: #fff; background: rgba(7,18,31,.97); border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 26px; }
.brand { width: 168px; flex: 0 0 auto; }
.brand img { width: 100%; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #d8e2ea; text-decoration: none; font-size: .9rem; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-light); }
.account-link { padding: 9px 13px; border: 1px solid rgba(244,201,93,.45); }
.nav-toggle { display: none; min-width: 48px; min-height: 44px; margin-left: auto; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); cursor: pointer; }

.button { min-height: 46px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; text-decoration: none; font-weight: 700; line-height: 1.1; }
.button-primary { color: #171105; background: var(--gold-light); }
.button-dark { color: #fff; background: var(--ink); }
.button-light { color: var(--ink); background: #fff; border-color: var(--line); }
.button:disabled { opacity: .55; cursor: wait; }
.text-link { font-weight: 650; text-underline-offset: 4px; }

.home-hero { color: #fff; background: var(--ink); }
.home-hero-grid { min-height: 540px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); }
.hero-copy { align-self: center; padding: 72px max(40px, calc((100vw - var(--content))/2)) 72px max(20px, calc((100vw - var(--content))/2)); }
.hero-copy h1, .page-hero h1 { margin: 0; max-width: 760px; font-family: var(--font-sans); font-size: clamp(2.8rem, 5vw, 4.7rem); font-weight: 760; line-height: 1; letter-spacing: -.035em; }
.hero-copy > p { max-width: 610px; margin: 22px 0 0; color: #c4d0d9; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.hero-visual { position: relative; min-height: 520px; overflow: hidden; background: #11283b url('/assets/travel-banner.jpg') center/cover no-repeat; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: rgba(7,18,31,.18); }
.server-panel { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; padding: 20px; color: #fff; background: rgba(7,18,31,.9); border-top: 2px solid var(--gold); }
.server-panel strong { display: block; margin-bottom: 4px; font-size: 1.22rem; }
.server-panel p { margin: 0; color: #aebdca; }
.live-line { margin-top: 17px; padding-top: 15px; display: flex; flex-wrap: wrap; gap: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #6fd294; }

.section { padding: 66px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading h2, .split-copy h2, .article h1 { margin: 0; color: var(--ink); font-family: var(--font-sans); font-size: clamp(2rem, 3.4vw, 3.15rem); font-weight: 730; line-height: 1.08; letter-spacing: -.025em; }
.section-heading p { max-width: 660px; margin: 13px 0 0; color: var(--muted); font-size: 1rem; }
.donor-feature { color: #fff; background: var(--navy); }
.donor-feature-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.donor-feature h2 { margin: 0; color: #fff; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.08; }
.donor-feature h2 span { color: var(--gold-light); }
.donor-feature p:not(.eyebrow) { margin: 13px 0 0; color: #c4d0d9; }
.donor-feature .eyebrow { margin: 0 0 10px; color: var(--gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.top-donor-card { display: flex; align-items: center; gap: 18px; min-width: min(330px,100%); padding: 16px 20px 16px 16px; color: #fff; background: rgba(7,18,31,.55); border: 1px solid rgba(244,201,93,.4); }
.top-donor-card img { width: 80px; height: 80px; image-rendering: auto; background: var(--ink); }
.top-donor-card strong, .top-donor-card span { display: block; }
.top-donor-card strong { font-size: 1.2rem; }
.top-donor-card span { margin-top: 4px; color: var(--gold-light); font-size: .85rem; font-weight: 750; }
.lede { color: var(--muted); font-size: 1.05rem; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; align-items: center; }
.split-image { min-height: 400px; background-position: center; background-size: cover; }
.split-copy p { color: var(--muted); }
.split-copy ul { padding-left: 20px; }
.split-copy li + li { margin-top: 8px; }

.path-list { border-top: 1px solid var(--line); }
.path { display: grid; grid-template-columns: minmax(180px,.42fr) minmax(0,1fr) auto; gap: 28px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.path h3 { margin: 0; color: var(--ink); font-family: var(--font-sans); font-size: 1.3rem; font-weight: 700; }
.path p { min-width: 0; margin: 0; color: var(--muted); }
.path h3 { min-width: 0; }
.path-arrow { justify-self: end; }
.path-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.path-arrow b { position: relative; display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; color: var(--ink); background: var(--gold-light); border-radius: 50%; font-size: 0; line-height: 1; transition: transform .18s ease, background .18s ease; }
.path-arrow b::before { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(-2px, 2px) rotate(45deg); }
.path-arrow b::after { content: ""; position: absolute; width: 14px; height: 2px; background: currentColor; transform: translate(-1px, 1px); }
.path:hover h3 { color: var(--navy-soft); }
.path:hover .path-arrow b, .path:focus-visible .path-arrow b { transform: translate(3px,-3px); background: var(--gold); }

.feature-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-column { padding: 24px; background: #fff; }
.feature-column h3 { margin: 0 0 9px; color: var(--ink); font-family: var(--font-sans); font-size: 1.22rem; font-weight: 700; }
.feature-column p { margin: 0; color: var(--muted); }

.page-hero { padding: 70px 0 64px; color: #fff; background: var(--ink); }
.page-hero h1 { max-width: 820px; font-size: clamp(2.55rem, 4.6vw, 4rem); }
.page-hero p { max-width: 700px; margin: 18px 0 0; color: #c4d0d9; font-size: 1.05rem; }
.image-band { min-height: 310px; background-position: center; background-size: cover; }

.guide-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 54px; align-items: start; }
.guide-nav { position: sticky; top: 104px; border-top: 3px solid var(--gold); }
.guide-nav a { display: block; padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 700; }
.guide-nav a:hover { color: var(--ink); }
.guide-search { margin-bottom: 34px; }
.guide-search label, .form-field { display: block; color: #4f5d69; font-size: .9rem; font-weight: 650; }
.guide-search input, .form-field input, .form-field select { width: 100%; margin-top: 8px; padding: 13px 14px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 2px; }
.guide-topic { padding: 0 0 34px; scroll-margin-top: 105px; }
.guide-topic + .guide-topic { padding-top: 34px; border-top: 1px solid var(--line); }
.guide-topic h2 { margin: 0 0 11px; color: var(--ink); font: 700 1.55rem/1.15 var(--font-sans); }
.guide-topic > p { color: var(--muted); }
.command-list { margin-top: 22px; border-top: 1px solid var(--line); }
.command-row { display: grid; grid-template-columns: minmax(190px,.45fr) minmax(0,1fr); gap: 25px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.command-row code { color: var(--navy); font-weight: 850; }
.command-row span { color: var(--muted); }

.news-list { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; }
.news-feature, .news-item { color: inherit; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.news-feature img { width: 100%; height: 330px; object-fit: cover; }
.news-copy { padding: 24px; }
.news-copy time, .article-meta { color: var(--muted); font-size: .9rem; font-weight: 600; }
.news-copy h2, .news-copy h3 { margin: 8px 0; color: var(--ink); font: 700 1.55rem/1.15 var(--font-sans); }
.news-copy p { margin: 0; color: var(--muted); }
.news-stack { display: grid; gap: 16px; }
.news-item .news-copy { padding: 22px; }
.news-item .news-copy h3 { font-size: 1.22rem; }
.article { padding: 62px 0 82px; }
.article h1 { max-width: 850px; }
.article-meta { margin: 14px 0 32px; }
.article-body { font-family: var(--font-sans); font-size: 1rem; }
.article-body h2 { margin: 38px 0 12px; color: var(--ink); font: 700 1.55rem/1.2 var(--font-sans); }
.article-body p, .article-body li { color: #33404b; }
.article-body a { color: var(--navy); font-weight: 700; }
.article-note { margin: 36px 0; padding: 22px; background: #fff; border-left: 4px solid var(--gold); }

.directory-toolbar { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.directory-toolbar label { width: min(430px,100%); }
.directory-count { color: var(--muted); font-size: .85rem; }
.player-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.player-card { min-width: 0; padding: 19px; color: inherit; background: #fff; border: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.player-card:hover, .player-card:focus-visible { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(7,18,31,.08); }
.player-avatar { width: 72px; height: 72px; margin-bottom: 15px; background: var(--ink); }
.player-card h3 { margin: 0; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.player-name { color: var(--rank-color, var(--ink)); text-shadow: 0 0 18px color-mix(in srgb, var(--rank-color, #d9a63a) 32%, transparent); transition: text-shadow .18s ease, letter-spacing .18s ease; }
.player-card:hover .player-name, .player-card:focus-visible .player-name { letter-spacing: .015em; text-shadow: 0 0 18px color-mix(in srgb, var(--rank-color, #d9a63a) 58%, transparent); }
.player-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 28px; }
.player-meta .rank { margin: 4px 0 8px; color: var(--rank-color, #86641c); }
.donor-badge { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 8px; padding: 4px 8px; color: #fff; background: linear-gradient(110deg, var(--donor-start), var(--donor-end)); border-radius: 999px; box-shadow: 0 4px 10px color-mix(in srgb, var(--donor-end) 24%, transparent); font-size: .7rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.donor-badge span { overflow: hidden; text-overflow: ellipsis; }
.rank { margin: 4px 0 13px; color: #86641c; font-size: .86rem; font-weight: 650; }
.mini-stats { padding-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #eceae4; }
.mini-stats strong, .mini-stats small { display: block; }
.mini-stats small { color: var(--muted); font-size: .8rem; }
.tabs { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 10px 14px; color: #52606c; background: #fff; border: 1px solid var(--line); cursor: pointer; font-weight: 750; }
.tab.active { color: var(--ink); background: #fff8e6; border-color: var(--gold); }
.board { background: #fff; border: 1px solid var(--line); }
.board-row { padding: 14px 18px; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 15px; align-items: center; border-bottom: 1px solid #eceae4; }
.board-row { color: inherit; text-decoration: none; transition: background .16s ease; }
.board-row:hover, .board-row:focus-visible { background: #fff8e6; }
.board-row:last-child { border-bottom: 0; }
.board-rank { color: #9a721f; font-weight: 900; }
.board-player { min-width: 0; display: flex; align-items: center; gap: 11px; }
.board-player img { width: 34px; height: 34px; }
.board-player strong, .board-player small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-player small { color: var(--muted); font-size: .84rem; }
.board-score { color: var(--navy); font-weight: 850; }
.profile-drawer { position: fixed; inset: 0; z-index: 60; }
.profile-backdrop { position: absolute; inset: 0; background: rgba(7,18,31,.72); }
.profile-panel { position: absolute; top: 0; right: 0; width: min(560px,100%); height: 100%; overflow: auto; padding: 58px 32px 40px; color: var(--text); background: var(--paper); box-shadow: -20px 0 50px rgba(0,0,0,.25); }
.profile-close { position: absolute; top: 15px; right: 20px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.profile-heading { display: flex; align-items: center; gap: 18px; }
.profile-panel > .profile-heading .profile-avatar { width: 104px; height: 104px; margin: 0; background: var(--ink); }
.profile-panel h2 { margin: 0; color: var(--ink); font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.profile-heading .donor-badge { margin-top: 10px; }
.profile-panel .rank { margin-bottom: 0; }
.profile-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 30px 0 22px; background: var(--line); border: 1px solid var(--line); }
.profile-stat { padding: 17px; background: #fff; }
.profile-stat strong, .profile-stat span { display: block; }
.profile-stat strong { color: var(--navy); font-size: 1.3rem; }
.profile-stat span { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.profile-note { color: var(--muted); font-size: .84rem; }

.store-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.product img { width: 100%; aspect-ratio: 1.35; object-fit: contain; padding: 25px; background: var(--ink); }
.product-body { padding: 25px; display: flex; flex: 1; flex-direction: column; }
.product h2 { margin: 0; color: var(--ink); font: 730 2rem/1.05 var(--font-sans); }
.product p { color: var(--muted); }
.product .button { margin-top: auto; }
.checkout { margin-top: 36px; padding: 30px; display: grid; grid-template-columns: 1fr 220px 240px auto; gap: 18px; align-items: end; background: #fff; border-top: 4px solid var(--gold); }
.checkout h2 { margin: 0; font: 700 1.45rem/1.15 var(--font-sans); }
.checkout p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.form-status { min-height: 24px; grid-column: 1/-1; margin: 0; color: var(--success); }
.legal-copy { margin-top: 22px; color: var(--muted); font-size: .82rem; }

.account-shell { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 60px; align-items: start; }
.login-card, .account-panel { padding: 31px; background: #fff; border: 1px solid var(--line); }
.login-card h2, .account-panel h2 { margin: 0; color: var(--ink); font: 700 1.55rem/1.15 var(--font-sans); }
.login-card ol { padding-left: 20px; color: var(--muted); }
.login-form { margin-top: 24px; display: grid; gap: 16px; }
.account-panel[hidden], .login-card[hidden] { display: none; }
.account-header { display: flex; align-items: center; gap: 18px; }
.account-header img { width: 80px; height: 80px; background: var(--ink); }
.account-header h2 { overflow-wrap: anywhere; }
.account-stats { margin-top: 26px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.account-stat { padding: 18px; background: #fff; }
.account-stat strong, .account-stat span { display: block; }
.account-stat strong { color: var(--navy); font-size: 1.35rem; }
.account-stat span { color: var(--muted); font-size: .84rem; }
.security-note { margin-top: 25px; padding: 20px; color: #4d5964; background: #f8f7f2; border-left: 3px solid var(--gold); }

.legal h2 { margin-top: 36px; color: var(--ink); font: 700 1.45rem/1.2 var(--font-sans); }
.legal p, .legal li { color: #44515d; }
.empty { padding: 28px; color: var(--muted); background: #fff; border: 1px dashed var(--line); }
.muted { color: var(--muted); }

.site-footer { color: #d4e0e7; background: var(--ink); }
.footer-grid { padding: 48px 0; display: grid; grid-template-columns: 1.2fr repeat(3,.7fr); gap: 38px; }
.footer-brand img { width: 165px; margin-bottom: 15px; }
.footer-brand p { max-width: 340px; margin: 0; color: #96a8b7; font-size: .85rem; }
.footer-column strong { display: block; margin-bottom: 10px; color: #fff; }
.footer-column a { display: block; margin: 6px 0; color: #aebdca; text-decoration: none; font-size: .86rem; }
.footer-column a:hover { color: var(--gold-light); }
.footer-bottom { padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; color: #9aabb8; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

@media (max-width: 980px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .8rem; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: max(20px, calc((100vw - var(--content))/2)); }
  .hero-visual { min-height: 390px; }
  .player-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .checkout { grid-template-columns: 1fr 1fr; }
  .checkout > div, .checkout button { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2,.7fr); }
}

@media (max-width: 760px) {
  .wrap, .narrow { width: min(100% - 28px, var(--content)); }
  .header-inner { min-height: 68px; }
  .brand { width: 154px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 68px 0 auto; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow: auto; display: none; padding: 20px max(20px, env(safe-area-inset-right)) 20px max(20px, env(safe-area-inset-left)); flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .account-link { border: 0; }
  .hero-copy { padding: 52px 14px 48px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.25rem); }
  .hero-visual { min-height: 320px; }
  .server-panel { left: 14px; right: 14px; bottom: 14px; padding: 19px; }
  .section { padding: 48px 0; }
  .section-heading h2, .split-copy h2, .article h1 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .donor-feature-inner { display: grid; }
  .top-donor-card { min-width: 0; width: 100%; }
  .split-image { min-height: 330px; }
  .path { grid-template-columns: 1fr auto; gap: 8px 18px; }
  .path p { grid-column: 1/-1; }
  .feature-columns { grid-template-columns: 1fr; }
  .page-hero { padding: 50px 0 46px; }
  .image-band { min-height: 220px; }
  .guide-layout { grid-template-columns: 1fr; gap: 30px; }
  .guide-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .command-row { grid-template-columns: 1fr; gap: 3px; }
  .news-list { grid-template-columns: 1fr; }
  .news-feature img { height: 240px; }
  .player-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .store-grid { grid-template-columns: 1fr; }
  .checkout { display: block; padding: 22px; }
  .checkout > * + * { margin-top: 17px; }
  .account-shell { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  .hero-actions .button, .hero-actions .text-link { width: 100%; text-align: center; }
  .guide-nav { grid-template-columns: 1fr; }
  .directory-toolbar { display: block; }
  .directory-count { display: block; margin-top: 10px; }
  .player-grid { grid-template-columns: 1fr; }
  .player-card { display: grid; grid-template-columns: 64px minmax(0,1fr); column-gap: 15px; }
  .player-avatar { grid-row: 1/4; width: 64px; height: 64px; margin: 0; }
  .mini-stats { grid-column: 1/-1; margin-top: 14px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .path-arrow span { display: none; }
  .path-arrow b { width: 42px; height: 42px; }
  .board-row { grid-template-columns: 36px minmax(0,1fr); padding: 13px 11px; gap: 8px; }
  .board-score { grid-column: 2; font-size: .85rem; }
  .account-stats { grid-template-columns: 1fr; }
  .profile-panel { width: 100%; padding: max(54px, calc(env(safe-area-inset-top) + 42px)) max(20px, env(safe-area-inset-right)) max(30px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .profile-heading { align-items: flex-start; }
  .profile-panel h2 { font-size: 2.2rem; }
  .profile-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
