:root {
  --paper: #f4efe4;
  --paper-2: #ebe4d4;
  --card: #fbf8f1;
  --ink: #1c2420;
  --ink-2: #47524c;
  --muted: #7b8580;
  --line: #d9d0bd;
  --forest: #1f3d2f;
  --forest-2: #2c5440;
  --moss: #8a9a5b;
  --terra: #b4532a;
  --terra-2: #d0743f;
  --gold: #c9a24a;
  --ocean: #0f2a44;
  --ocean-2: #17406a;
  --aspirm: #2f6fb0;
  --ok: #3a7d4f;
  --warn: #c08a1f;
  --bad: #b23a2a;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --r: 6px;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--terra); color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; font-size: clamp(42px, 5.6vw, 84px); }
.display em, .h2 em { font-style: italic; color: var(--terra); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.015em; }
.h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.kicker-num { color: var(--ink); }
.section { padding: 112px 0; }
.section-tight { padding: 72px 0; }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head .lead { justify-self: end; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 13px 22px; font-weight: 500; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary:hover { background: var(--terra); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--forest); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--forest); }
.btn-light:hover { background: var(--terra); color: #fff; }
.btn-aspirm { background: var(--gold); color: var(--ocean); }
.btn-aspirm:hover { background: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--card); white-space: nowrap; }
.tag-aspirm { background: var(--ocean); color: var(--gold); border-color: var(--ocean); }
.tag-ok { background: #e3eedf; color: var(--ok); border-color: #c4dbbf; }
.tag-warn { background: #f6ecd2; color: #8a6210; border-color: #e8d5a4; }
.tag-bad { background: #f5dfd8; color: var(--bad); border-color: #ebc3b8; }
.tag-terra { background: var(--terra); color: #fff; border-color: var(--terra); }
.tag-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 228, .92); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.nav-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-util { background: var(--forest); color: #d6dccf; font-size: 12.5px; }
.nav-util-row { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.nav-util-links { display: flex; gap: 22px; align-items: center; }
.nav-util-links a { display: inline-flex; gap: 6px; align-items: center; }
.nav-util-links a:hover { color: #fff; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.lang-switch button, .lang-switch a { background: none; border: 0; padding: 2px 9px; font-size: 11px; font-family: var(--mono); cursor: pointer; color: #cfd6c8; text-decoration: none; }
.lang-switch button.on, .lang-switch a.on { background: var(--paper); color: var(--forest); }
.nav-main { display: flex; align-items: center; height: 76px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word b { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.logo-word small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav-links a { padding: 8px 12px; font-size: 14.5px; border-radius: 999px; color: var(--ink-2); transition: color .15s, background .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active { color: var(--ink); background: var(--paper-2); }
.nav-aspirm { color: var(--ocean-2) !important; font-weight: 600; letter-spacing: .04em; }
.nav-aspirm sup { font-size: 10px; margin-left: 2px; color: var(--gold); }
.nav-mobile-extra { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14.5px; }
.nav-login:hover { color: var(--terra); }
.nav-user { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--forest); color: var(--paper); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,38,29,.94) 0%, rgba(20,38,29,.78) 42%, rgba(20,38,29,.15) 100%); }
.hero-inner { position: relative; padding: 120px 32px 0; min-height: 720px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; }
.hero .kicker { color: var(--terra-2); }
.hero .kicker::before { background: var(--terra-2); }
.hero h1 { font-size: clamp(46px, 6vw, 92px); max-width: 13ch; }
.hero h1 em { color: #e9b98a; }
.hero .lead { color: #d8ddd2; margin-top: 28px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero-ctas .btn-ghost { color: var(--paper); }
.hero-ctas .btn-ghost:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.hero-steps { align-self: end; display: flex; flex-direction: column; gap: 0; margin-bottom: 0; }
.hero-step { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 16px 22px; background: rgba(244,239,228,.1); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.15); color: var(--paper); transition: background .2s; }
.hero-step:hover { background: rgba(244,239,228,.2); }
.hero-step .mono { color: var(--terra-2); }
.hero-step b { font-weight: 500; font-size: 16px; }
.hero-step small { display: block; color: #b8c2b6; font-size: 13px; }
.hero-steps .hero-step:nth-child(1) { margin-left: 96px; }
.hero-steps .hero-step:nth-child(2) { margin-left: 64px; }
.hero-steps .hero-step:nth-child(3) { margin-left: 32px; }
.hero-steps .hero-step:nth-child(4) { margin-left: 0; background: var(--paper); color: var(--forest); }
.hero-steps .hero-step:nth-child(4) small { color: var(--ink-2); }
.hero-steps .hero-step:nth-child(4) .mono { color: var(--terra); }
.hero-caption { position: absolute; right: 32px; top: 24px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .08em; }

/* Strip of facts */
.strip { border-bottom: 1px solid var(--line); background: var(--card); }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 28px; border-left: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item b { font-weight: 500; display: block; }
.strip-item span { color: var(--muted); font-size: 14px; }
.strip-item svg { color: var(--terra); flex-shrink: 0; margin-top: 3px; }

/* Pathway terraces */
.terraces { display: flex; flex-direction: column; gap: 10px; }
.terrace { display: grid; grid-template-columns: 90px 1.1fr 1.4fr 180px 48px; align-items: center; gap: 24px; padding: 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s, background .3s, border-color .3s; }
.terrace:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.terrace:hover .muted, .terrace:hover p { color: #c9d1c4; }
.terrace:hover .terrace-code { color: var(--terra-2); }
.terrace-code { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--terra); font-style: italic; }
.terrace h3 { font-family: var(--serif); font-size: 26px; }
.terrace p { color: var(--ink-2); font-size: 15px; }
.terrace .meta { font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.terrace-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .5; transition: opacity .2s; }
.terrace:hover .terrace-go { opacity: 1; }

/* Ecosystem grid */
.eco { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.eco-item { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--line); min-height: 210px; display: flex; flex-direction: column; gap: 10px; transition: color .2s; }
.eco-item:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.eco-item .mono { color: var(--muted); }
.eco-item h3 { font-family: var(--serif); font-size: 24px; }
.eco-item p { color: var(--ink-2); font-size: 14.5px; }
.eco-item .more { margin-top: auto; font-size: 14px; color: var(--terra); display: inline-flex; gap: 6px; align-items: center; opacity: 0; transform: translateY(4px); transition: .2s; }
.eco-item:hover .more { opacity: 1; transform: none; }
.eco-item:hover h3 { color: var(--terra); }

/* Competency */
.comp { background: var(--forest); color: var(--paper); position: relative; overflow: hidden; }
.comp .kicker { color: var(--terra-2); }
.comp .lead { color: #c9d1c4; }
.comp-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.comp-note { margin-top: 32px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r); font-size: 13.5px; color: #b8c2b6; display: flex; gap: 12px; }
.comp-note svg { flex-shrink: 0; color: var(--gold); }
.comp-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 36px; }
.comp-flow div { padding: 12px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--r); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.comp-flow .mono { color: var(--terra-2); }

/* Portfolio mock card */
.pf { background: var(--card); color: var(--ink); border-radius: 10px; padding: 26px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.pf-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pf-head b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.pf-row { display: grid; grid-template-columns: 1fr 120px 110px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.pf-row:last-child { border-bottom: 0; }
.scale { display: flex; gap: 3px; }
.scale i { flex: 1; height: 8px; border-radius: 2px; background: var(--paper-2); }
.scale i.on { background: var(--forest-2); }
.pf-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }

/* Events */
.event-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.event-card { display: grid; grid-template-columns: 96px 1fr 56px; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.event-card:hover { background: var(--card); padding-left: 16px; padding-right: 16px; }
.event-card:hover .event-go { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.event-card.is-aspirm:hover .event-go { background: var(--ocean); border-color: var(--ocean); color: var(--gold); }
.event-date { display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 0 8px; background: var(--card); }
.event-date b { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; }
.event-date span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--terra); margin-top: 4px; }
.is-aspirm .event-date { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.is-aspirm .event-date span { color: var(--gold); }
.event-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.event-body h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.event-facts { display: flex; gap: 20px; margin-top: 8px; color: var(--ink-2); font-size: 14px; flex-wrap: wrap; }
.event-facts span { display: inline-flex; gap: 6px; align-items: center; }
.event-quota { display: flex; align-items: center; gap: 12px; margin-top: 14px; max-width: 360px; }
.event-quota .bar { flex: 1; }
.bar { height: 4px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--terra); border-radius: 4px; }
.event-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .2s; }
.event-card.compact { grid-template-columns: 72px 1fr 44px; gap: 18px; padding: 18px 0; }
.event-card.compact .event-date b { font-size: 30px; }
.event-card.compact h3 { font-size: 20px; }
.event-card.compact .event-go { width: 40px; height: 40px; }

/* ASPIRM band on home */
.aspirm-band { background: var(--ocean); color: #e6ecf2; position: relative; overflow: hidden; }
.aspirm-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, rgba(201,162,74,.22), transparent 45%); }
.aspirm-band-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.aspirm-wordmark { font-family: var(--serif); font-weight: 500; letter-spacing: .18em; }
.aspirm-big { font-size: clamp(64px, 9vw, 140px); line-height: .9; color: #fff; letter-spacing: .08em; }
.aspirm-big span { color: var(--gold); }
.aspirm-band .kicker { color: var(--gold); }
.aspirm-band p { color: #b6c4d3; }
.aspirm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; }
.aspirm-stats div { background: var(--ocean); padding: 24px; }
.aspirm-stats b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 6px; }
.aspirm-stats span { font-size: 14px; color: #9fb2c6; }

/* News */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.news-card { display: flex; flex-direction: column; gap: 14px; }
.news-card .img { overflow: hidden; border-radius: var(--r); aspect-ratio: 4/3; background: var(--paper-2); }
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: saturate(.8); }
.news-card:hover .img img { transform: scale(1.04); }
.news-card:first-child .img { aspect-ratio: 16/11; }
.news-card h3 { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.news-card:first-child h3 { font-size: 30px; }
.news-card:hover h3 { color: var(--terra); }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }

/* Faculty */
.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.fac-card .portrait { margin-bottom: 14px; }
.fac-card b { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.fac-card .role { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.fac-card .area { font-family: var(--mono); font-size: 11px; color: var(--terra); text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }
.portrait { aspect-ratio: 4/5; border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, #e4dccb 10px 11px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-2); border: 1px solid var(--line); position: relative; }
.portrait span { font-family: var(--serif); font-size: 46px; font-style: italic; color: var(--forest-2); }
.portrait small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.portrait.is-aspirm::after { content: 'ASPIRM'; position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; background: var(--ocean); color: var(--gold); padding: 3px 7px; border-radius: 3px; }

/* Verify + membership band */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 40px; }
.panel-dark { background: var(--terra); color: #fff; border-color: var(--terra); }
.panel-dark .lead { color: #fbe4d6; }
.panel-dark .kicker { color: #fff; }
.verify-row { display: flex; gap: 10px; margin-top: 28px; }
.input { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(44,84,64,.15); }
.input.mono { font-size: 15px; letter-spacing: .06em; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field-hint { font-size: 12px; color: var(--muted); }

/* Page head */
.page-head { padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.page-head-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.page-head .display { font-size: clamp(44px, 5vw, 76px); }
.page-head-aside { display: flex; flex-direction: column; gap: 20px; }
.page-head.dark { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.page-head.dark .lead { color: #c9d1c4; }
.page-head.dark .kicker { color: var(--terra-2); }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; color: inherit; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Program detail / generic two col */
.two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.sticky { position: sticky; top: 130px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.facts small { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.olist { list-style: none; padding: 0; margin: 0; counter-reset: o; }
.olist li { counter-increment: o; display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.olist li::before { content: counter(o, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--terra); padding-top: 3px; }
.prose h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin-bottom: 14px; font-size: 17px; }

/* Course cards */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.course-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(28,36,32,.35); }
.course-top { aspect-ratio: 16/9; background: var(--forest); color: var(--paper); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.course-top::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 180px; height: 180px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 14px, transparent 14px 26px); transform: rotate(-12deg); }
.course-top .lvl { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--terra-2); line-height: 1; position: relative; z-index: 1; }
.course-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-body h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.course-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }

/* Membership tiers */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.tier { padding: 28px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.tier:first-child { border-left: 0; }
.tier.feat { background: var(--forest); color: var(--paper); }
.tier.feat .muted, .tier.feat li { color: #c9d1c4; }
.tier h3 { font-family: var(--serif); font-size: 24px; }
.tier .price { font-family: var(--serif); font-size: 30px; }
.tier .price small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.tier li { display: flex; gap: 8px; }
.tier li svg { flex-shrink: 0; margin-top: 3px; color: var(--terra); }
.tier .btn { margin-top: auto; }

/* Member card */
.mcard { width: 100%; max-width: 420px; aspect-ratio: 1.586; border-radius: 14px; background: var(--forest); color: var(--paper); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 0 30px 50px -25px rgba(0,0,0,.5); }
.mcard::before { content: ''; position: absolute; right: -40px; top: -20px; width: 260px; height: 260px; background: repeating-linear-gradient(-8deg, rgba(255,255,255,.06) 0 16px, transparent 16px 30px); border-radius: 50%; }
.mcard-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.mcard-bot { display: flex; justify-content: space-between; align-items: flex-end; position: relative; }
.mcard .name { font-family: var(--serif); font-size: 22px; }
.mcard .mono { color: #c9d1c4; }

/* Gallery */
.gal { columns: 3; column-gap: 16px; }
.gal figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: var(--r); overflow: hidden; }
.gal img { width: 100%; filter: saturate(.85); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: 14px; display: flex; justify-content: space-between; align-items: end; }
.ph { width: 100%; background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, #e4dccb 10px 11px); border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; }
.ph span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--paper); padding: 4px 8px; border-radius: 3px; }

/* Registration stepper */
.steps { display: flex; gap: 0; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.step { flex: 1; padding: 14px 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.step .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; }
.step.on { color: var(--ink); border-bottom-color: var(--terra); }
.step.on .n { background: var(--terra); color: #fff; border-color: var(--terra); }
.step.done { color: var(--forest-2); }
.step.done .n { background: var(--forest-2); color: #fff; border-color: var(--forest-2); }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer; transition: .15s; }
.opt:hover { border-color: var(--ink-2); }
.opt.on { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #f1f4ec; }
.opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.opt.on .dot { border-color: var(--forest); }
.opt.on .dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.opt b { font-weight: 500; }
.opt small { display: block; color: var(--muted); font-size: 13px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1/-1; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-family: var(--serif); font-size: 26px; }

/* Ticket */
.ticket { display: grid; grid-template-columns: 1fr 200px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ticket-main { padding: 32px; border-right: 2px dashed var(--line); }
.ticket-side { padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--paper); }

/* Certificate */
.cert { background: #fffdf7; border: 1px solid var(--line); padding: 40px; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
.cert::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--gold); pointer-events: none; }
.cert h3 { font-family: var(--serif); font-style: italic; font-size: 34px; font-weight: 400; }

/* Auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 110px); }
.auth-media { position: relative; background: var(--forest); color: var(--paper); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: saturate(.6); }
.auth-media > *:not(img) { position: relative; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 56px 32px; }
.auth-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.tabs { display: flex; gap: 4px; background: var(--paper-2); padding: 4px; border-radius: 999px; }
.tabs button, .tabs a { flex: 1; border: 0; background: none; padding: 9px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--ink-2); text-align: center; text-decoration: none; }
.tabs button.on, .tabs a.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Portal */
.portal { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 110px); }
.side { background: var(--card); border-right: 1px solid var(--line); padding: 28px 16px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 110px; height: calc(100vh - 110px); overflow: auto; }
.side-user { display: flex; gap: 12px; align-items: center; padding: 0 10px 22px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-user b { display: block; font-size: 14.5px; font-weight: 500; }
.side-user small { font-size: 12px; color: var(--muted); }
.side button, .side-link { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: var(--r); font-size: 14px; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.side button:hover, .side-link:hover { background: var(--paper); color: var(--ink); }
.side button.on, .side-link.on { background: var(--forest); color: var(--paper); }
.side .grp { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 18px 12px 6px; }
.main { padding: 40px 48px 80px; }
.main-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 24px; }
.main-head h1 { font-family: var(--serif); font-size: 42px; font-weight: 400; letter-spacing: -0.01em; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.kpi small { font-size: 13px; color: var(--muted); }
.kpi b { display: block; font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.1; margin-top: 6px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.box-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.box-head h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.grid-eq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.prog-row { display: grid; grid-template-columns: 1fr 140px 44px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.prog-row:last-child { border-bottom: 0; }
.ring { --p: 50; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--terra) calc(var(--p) * 1%), var(--paper-2) 0); display: grid; place-items: center; }
.ring > div { width: 94px; height: 94px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-family: var(--serif); font-size: 30px; }
.timeline { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 6px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); margin-top: 4px; position: relative; z-index: 1; }
.tl-dot.ok { background: var(--forest-2); border-color: var(--forest-2); }
.tl-dot.cur { background: var(--terra); border-color: var(--terra); box-shadow: 0 0 0 4px rgba(180,83,42,.18); }
.upload { border: 1.5px dashed var(--line); border-radius: 10px; padding: 28px; text-align: center; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: .15s; }
.upload:hover { border-color: var(--forest-2); color: var(--forest-2); background: #f1f4ec; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: 14px; display: flex; gap: 10px; align-items: center; z-index: 100; animation: toastIn .3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ASPIRM page — separate identity */
.asp { background: var(--ocean); color: #dfe7ef; }
.asp-hero { position: relative; padding: 100px 0 80px; overflow: hidden; }
.asp-hero::before { content: ''; position: absolute; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,176,.5), transparent 65%); }
.asp-hero .wrap { position: relative; }
.asp-endorse { font-family: var(--mono); font-size: 12px; color: #8ea4ba; letter-spacing: .1em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.asp-endorse b { color: #fff; font-weight: 500; }
.asp h1 { font-family: var(--serif); font-size: clamp(80px, 13vw, 200px); line-height: .85; font-weight: 400; letter-spacing: .06em; color: #fff; margin: 36px 0 28px; }
.asp h1 span { color: var(--gold); }
.asp-full { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); font-style: italic; color: #c8d5e2; max-width: 30ch; line-height: 1.2; }
.asp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); }
.asp-pillars div { padding: 36px 32px 40px 0; border-right: 1px solid rgba(255,255,255,.15); }
.asp-pillars div:not(:first-child) { padding-left: 32px; }
.asp-pillars div:last-child { border-right: 0; }
.asp-pillars .big { font-family: var(--serif); font-size: 72px; color: var(--gold); line-height: 1; }
.asp-pillars h3 { font-family: var(--serif); font-size: 28px; color: #fff; margin: 14px 0 10px; font-weight: 400; }
.asp-pillars p { color: #9fb2c6; font-size: 15px; }
.asp .kicker { color: var(--gold); }
.asp .h2 { color: #fff; }
.asp .lead { color: #9fb2c6; }
.asp-section { padding: 96px 0; border-top: 1px solid rgba(255,255,255,.1); }
.asp .event-list { border-top-color: rgba(255,255,255,.4); }
.asp .event-card { border-bottom-color: rgba(255,255,255,.12); }
.asp .event-card:hover { background: rgba(255,255,255,.05); }
.asp .event-facts { color: #9fb2c6; }
.asp .event-body h3 { color: #fff; }
.asp .event-go { border-color: rgba(255,255,255,.2); }
.asp .event-date { border-color: rgba(255,255,255,.2); }
.asp .bar { background: rgba(255,255,255,.12); }
.asp .bar i { background: var(--gold); }
.asp .muted { color: #7f95ab; }
.asp .tag { background: transparent; color: #c8d5e2; border-color: rgba(255,255,255,.25); }
.asp .tag-aspirm { background: var(--gold); color: var(--ocean); border-color: var(--gold); }
.asp .fac-card b { color: #fff; }
.asp .fac-card .role { color: #9fb2c6; }
.asp .fac-card .area { color: var(--gold); }
.asp .portrait { background: repeating-linear-gradient(135deg, #14375a 0 10px, #183f66 10px 11px); border-color: rgba(255,255,255,.12); }
.asp .portrait span { color: var(--gold); }
.asp .portrait.is-aspirm::after { display: none; }
.asp-shared { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.asp-shared div { padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--r); font-size: 14.5px; display: flex; gap: 10px; align-items: center; color: #dfe7ef; }
.asp-shared svg { color: var(--gold); flex-shrink: 0; }

.footer { background: var(--ink); color: #b9c0bb; position: relative; overflow: hidden; padding-top: 80px; }
.terrace-lines { position: absolute; right: -60px; top: -40px; width: 520px; height: 360px; background: repeating-linear-gradient(-6deg, rgba(255,255,255,.035) 0 18px, transparent 18px 34px); border-radius: 50% 50% 0 0; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.footer-brand p { margin: 20px 0; font-size: 14px; max-width: 34ch; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer-contact span { display: flex; gap: 8px; align-items: center; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #fff; font-weight: 400; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.aspirm-chip { background: var(--ocean); padding: 18px; border-radius: var(--r); display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(201,162,74,.3); transition: border-color .2s; }
.aspirm-chip:hover { border-color: var(--gold); }
.aspirm-chip .aspirm-wordmark { color: var(--gold); font-size: 24px; }
.aspirm-chip small { color: #9fb2c6; font-size: 12px; line-height: 1.4; }
.footer-base { display: flex; justify-content: space-between; padding: 28px 32px; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #7d857f; position: relative; }

@media (max-width: 1100px) {
  .nav-links { position: fixed; inset: 110px 0 auto 0; background: var(--paper); flex-direction: column; padding: 16px 24px 28px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; padding: 12px 8px; }
  .nav-mobile-extra { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .nav-burger { display: block; }
  .nav-main { justify-content: space-between; }
  .nav-user-name, .nav-login { display: none; }
  .hero-inner, .sec-head, .comp-grid, .aspirm-band-grid, .two, .page-head-grid, .duo, .auth, .grid-2 { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .hero-steps .hero-step { margin-left: 0 !important; }
  .eco, .fac-grid, .kpis { grid-template-columns: repeat(2, 1fr); }
  .eco-item:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .eco-item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .terrace { grid-template-columns: 64px 1fr 44px; }
  .terrace p, .terrace .meta { display: none; }
  .news-grid, .course-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip-row { grid-template-columns: 1fr 1fr; }
  .portal { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px; }
  .side-user, .side .grp { display: none; }
  .side button, .side-link { white-space: nowrap; }
  .asp-pillars, .asp-shared { grid-template-columns: 1fr; }
  .asp-pillars div { padding-left: 0 !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-util-row > span { display: none; }
  .auth-media { min-height: 260px; }
  .sticky { position: static; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .eco, .fac-grid, .news-grid, .course-grid, .tiers, .kpis, .form-grid, .grid-eq, .strip-row { grid-template-columns: 1fr; }
  .eco-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .event-card { grid-template-columns: 64px 1fr; gap: 16px; }
  .event-go { display: none; }
  .gal { columns: 1; }
  .main { padding: 24px 20px 60px; }
  .ticket { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

/* ---- anchor-as-control refinements ------------------------------- */
a.btn { text-decoration: none; }
a.terrace, a.eco-item, a.event-card, a.news-card, a.hero-step, a.course-card { text-decoration: none; color: inherit; }
a.hero-step { color: var(--paper); }
.hero-steps .hero-step:nth-child(4), .hero-steps .hero-step:nth-child(4) b { color: var(--forest); }
a.opt { text-decoration: none; color: inherit; }
a.opt:focus-visible, a.chip:focus-visible, a.course-card:focus-visible { outline: 2px solid var(--forest-2); outline-offset: 2px; }
a.logo { text-decoration: none; }
.footer-col a { text-decoration: none; }
.aspirm-chip { text-decoration: none; }
.page-head a { text-decoration: none; }
.filters a.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form-grid .full > form, form.full { grid-column: 1 / -1; }
label.chip input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
label.chip { position: relative; }

/* ---- small-screen refinements ------------------------------------ */
@media (max-width: 1100px) {
  .hero-caption { position: static; display: block; padding: 0 20px 18px; order: 9; }
  .hero-inner { padding-top: 84px; }
}
@media (max-width: 680px) {
  .nav-util-links { gap: 12px; }
  .nav-util-links > a:first-child { font-size: 11.5px; }
  .hero-inner { padding: 76px 20px 0; }
  .hero-caption { padding: 0 20px 14px; font-size: 10px; }
  .hero-steps { margin-top: 8px; }
  .sec-head { gap: 20px; margin-bottom: 36px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-left: 0; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: 0; }
  .asp h1 { font-size: clamp(60px, 20vw, 110px); margin: 24px 0 18px; }
  .asp-intro { grid-template-columns: 1fr !important; gap: 24px !important; }
  .cert { padding: 24px; }
  .cert::before { inset: 6px; }
  .auth-media { display: none; }
  .asp-shared { grid-template-columns: 1fr; }
  .comp-flow { grid-template-columns: 1fr; }
  .facts div:nth-child(even) { padding-left: 14px; }
  .summary-row { font-size: 14px; }
}
