/* ZyeemZia™ Academy · open campus · Copyright © ZyeemZia */
:root {
  --bg: #fbf8f2; --bg-2: #f3eee3; --panel: #ffffff; --panel-2: #f7f3ea;
  --ink: #1d2433; --muted: #4a5368; --dim: #6b7385; --line: #e6dfd1; --line-2: #d6ccb8;
  --brand: #2f4bd8; --brand-2: #1f36a8; --on-brand: #ffffff; --brand-soft: rgba(47, 75, 216, .09);
  --sun: #e8a33d; --ok: #0f7a4f; --ok-soft: rgba(15, 122, 79, .08); --bad: #b4233c; --bad-soft: rgba(180, 35, 60, .07);
  --shadow: 0 1px 2px rgba(29, 36, 51, .05), 0 8px 24px -12px rgba(29, 36, 51, .18);
  --glass: rgba(251, 248, 242, .86);
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 18px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0e1320; --bg-2: #121a2a; --panel: #161e2f; --panel-2: #1b2438;
  --ink: #eef1f8; --muted: #b9c1d4; --dim: #8d97ad; --line: #263149; --line-2: #34415e;
  --brand: #8fa2ff; --brand-2: #b3c0ff; --on-brand: #0e1320; --brand-soft: rgba(143, 162, 255, .12);
  --sun: #f2bd5f; --ok: #4ad295; --ok-soft: rgba(74, 210, 149, .1); --bad: #ff8a9b; --bad-soft: rgba(255, 138, 155, .1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .7);
  --glass: rgba(14, 19, 32, .84);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0e1320; --bg-2: #121a2a; --panel: #161e2f; --panel-2: #1b2438;
  --ink: #eef1f8; --muted: #b9c1d4; --dim: #8d97ad; --line: #263149; --line-2: #34415e;
  --brand: #8fa2ff; --brand-2: #b3c0ff; --on-brand: #0e1320; --brand-soft: rgba(143, 162, 255, .12);
  --sun: #f2bd5f; --ok: #4ad295; --ok-soft: rgba(74, 210, 149, .1); --bad: #ff8a9b; --bad-soft: rgba(255, 138, 155, .1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .7);
  --glass: rgba(14, 19, 32, .84);
  color-scheme: dark;
} }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--f-body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 650; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 99; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px -10px var(--brand); }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { border-color: var(--line-2); color: var(--ink); background: var(--panel); }
.btn.ghost:hover { border-color: var(--brand); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0); }
.nav { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.seal { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line-2); flex: none; }
.seal img { width: 32px; height: 32px; }
.brand b { display: block; font: 650 19px/1.1 var(--f-display); }
.brand small { display: block; font-size: 12px; color: var(--dim); }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.links a:hover { color: var(--ink); background: var(--brand-soft); }
.mode { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--panel); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.mode svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mode .moon { display: none; }
:root[data-theme="dark"] .mode .sun { display: none; } :root[data-theme="dark"] .mode .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mode .sun { display: none; } :root:not([data-theme="light"]) .mode .moon { display: block; } }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; gap: 2px 14px; padding-top: 8px; min-height: 0; }
  .mode { margin-left: auto; }
  /* phones keep the section links as a swipeable strip */
  .links { order: 3; width: calc(100% + 12px); margin: 0 -6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .links::-webkit-scrollbar { display: none; }
  .links a { font-size: 14px; padding: 6px 10px; }
  .block { scroll-margin-top: 108px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -120px -10% auto; height: 560px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 15% 30%, rgba(47, 75, 216, .10), transparent 70%), radial-gradient(35% 55% at 85% 20%, rgba(232, 163, 61, .14), transparent 70%), radial-gradient(30% 50% at 60% 80%, rgba(16, 185, 129, .08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 44px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(232, 163, 61, .2); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -.02em; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--brand); }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 20px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.stats div:last-child { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; background: linear-gradient(120deg, var(--brand-soft), transparent), var(--panel); }
.stats dt { font-size: 13px; color: var(--dim); font-weight: 600; }
.stats dd { margin: 2px 0 0; font: 650 34px/1 var(--f-display); }
.stats div:last-child dd { order: -1; color: var(--brand); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- route map ---------- */
.routemap { margin: 40px 0 0; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.map-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.map-head b { color: var(--ink); font: 650 17px var(--f-display); margin-right: 8px; }
.map-tip { color: var(--ink); font-weight: 600; min-height: 1.4em; }
.map-scroll { overflow-x: auto; scrollbar-width: thin; }
#map { width: 100%; min-width: 780px; height: auto; }
#map .col-band { fill: var(--panel-2); }
#map .col-label { font: 700 12px var(--f-body); letter-spacing: .08em; text-transform: uppercase; fill: var(--dim); }
#map .route-line { fill: none; stroke: var(--rc); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
#map .route-name { font: 650 16px var(--f-display); fill: var(--ink); }
#map .route-note { font: 500 11.5px var(--f-body); fill: var(--dim); }
#map .route-tag { fill: var(--rc); }
#map .stop { cursor: pointer; outline: none; }
#map .stop circle.ring { fill: var(--panel); stroke: var(--rc); stroke-width: 4.5; transition: r .15s; }
#map .stop circle.pip { fill: var(--rc); opacity: 0; transition: opacity .15s; }
#map .stop text { font: 700 12.5px var(--f-body); fill: var(--ink); }
#map .stop:hover circle.ring, #map .stop:focus-visible circle.ring { r: 13px; }
#map .stop:hover circle.pip, #map .stop:focus-visible circle.pip { opacity: 1; }
#map .stop:focus-visible circle.ring { stroke-width: 6; }
.map-swipe { display: none; margin: 0; padding: 0 22px 14px; font-size: 13px; color: var(--dim); }
@media (max-width: 820px) { .map-swipe { display: block; } }

/* ---------- sections ---------- */
.block { padding: 72px 0; scroll-margin-top: 70px; }
.block.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 700px; margin: 0 0 30px; font-size: 17px; }

/* route cards */
.route-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.route { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 14px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.route::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--rc); }
.route h3 { font-size: 23px; display: flex; align-items: center; gap: 10px; }
.route h3 i { width: 14px; height: 14px; border-radius: 50%; background: var(--rc); flex: none; }
.route > p { color: var(--muted); margin: 6px 0 16px; font-size: 15px; }
.stops { list-style: none; margin: 0; padding: 0 0 0 4px; }
.stops li { position: relative; padding: 0 0 12px 26px; }
.stops li::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: -8px; width: 3px; background: var(--rc); opacity: .35; }
.stops li:last-child::before { display: none; }
.stops li::after { content: ''; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--panel); border: 3px solid var(--rc); }
.stops .lv { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.stops button { all: unset; cursor: pointer; display: block; border-radius: 8px; }
.stops button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.stops button b { font-weight: 700; color: var(--ink); margin-right: 6px; }
.stops button span { color: var(--muted); font-size: 14.5px; }
.stops button:hover b { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- catalogue ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 18px; min-height: 50px; }
.search:focus-within { border-color: var(--brand); }
.search svg { width: 19px; height: 19px; fill: none; stroke: var(--dim); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; background: none; width: 100%; min-height: 46px; font-size: 16px; }
.lvl select { min-height: 50px; border-radius: 999px; border: 1.5px solid var(--line-2); background-color: var(--panel); padding: 0 40px 0 18px; font-weight: 600; cursor: pointer; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1.5px solid var(--line-2); background: var(--panel); border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.chips button i { width: 10px; height: 10px; border-radius: 50%; background: var(--rc, var(--brand)); }
.chips button:hover { border-color: var(--brand); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.count { color: var(--dim); font-size: 14px; margin: 16px 0 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: var(--c); }
.card .k { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.card .code { font-weight: 700; font-size: 13.5px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); padding: 4px 10px; border-radius: 8px; }
.card .lv { font-size: 12px; font-weight: 600; color: var(--dim); text-align: right; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; flex: 1; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.card .meta span { font-size: 12.5px; color: var(--dim); background: var(--panel-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }
.acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.acts a, .acts button { font-size: 14px; font-weight: 600; border-radius: 999px; padding: 8px 14px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--line-2); background: none; color: var(--ink); }
.acts .go { margin-left: auto; background: var(--c, var(--brand)); border-color: var(--c, var(--brand)); color: var(--on-c, var(--on-brand)); }
.acts a:hover, .acts button:hover { border-color: var(--c, var(--brand)); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--dim); border: 1.5px dashed var(--line-2); border-radius: var(--r); }

/* ---------- finder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.finder-card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.finder-card fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.finder-card fieldset[hidden] { display: none; }
.finder-card legend { font: 650 18px var(--f-display); margin-bottom: 12px; padding: 0; }
.f-result:empty { display: none; }
.f-result { border-top: 1px solid var(--line); padding-top: 20px; }
.f-result h4 { font-size: 18px; margin-bottom: 12px; }
.f-result .pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.f-result .pick > div { border: 1.5px solid var(--line); border-left: 5px solid var(--c); border-radius: 14px; padding: 14px 16px; background: var(--panel-2); }
.f-result small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.f-result b { display: block; font: 650 22px var(--f-display); color: var(--c); margin: 2px 0; }
.f-result .pick span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
@media (max-width: 860px) { .finder { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 10px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; counter-increment: s; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font: 650 18px var(--f-display); margin-bottom: 14px; }
.steps b { display: block; font: 650 20px var(--f-display); margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 14.5px; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promise li { padding: 16px 18px; border-radius: 14px; border: 1.5px dashed var(--line-2); color: var(--muted); font-size: 14.5px; }
.promise b { color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .promise { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- certificate check ---------- */
.verify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.v-form { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.v-row { display: flex; gap: 10px; }
.v-row input { flex: 1; min-width: 0; min-height: 50px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--panel-2); padding: 0 18px; font-size: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.v-row input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.v-row input:focus { outline: 0; border-color: var(--brand); }
.v-out:empty { display: none; }
.v-out { margin-top: 16px; border-radius: 14px; padding: 16px 18px; background: var(--panel-2); }
.v-out p { margin: 0; color: var(--muted); }
.v-out.ok { background: var(--ok-soft); border: 1.5px solid var(--ok); }
.v-out.no { background: var(--bad-soft); border: 1.5px solid var(--bad); }
.v-out h4 { font-size: 19px; margin-bottom: 8px; }
.v-out.ok h4 { color: var(--ok); } .v-out.no h4 { color: var(--bad); }
.v-out dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; font-size: 14.5px; }
.v-out dt { color: var(--dim); } .v-out dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) { .verify { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
@media (max-width: 420px) { .v-row { flex-direction: column; } }

/* contact, in the campus colours */
#contact.tx { --tx-acc: #2f4bd8; --tx-acc-2: #e8a33d; --tx-acc-soft: rgba(47, 75, 216, .09); --tx-line: var(--line); --tx-card: var(--panel); --tx-soft: var(--panel-2); --tx-field: var(--bg); }
#contact.tx.tx-dark { --tx-acc: #8fa2ff; --tx-acc-2: #f2bd5f; --tx-acc-soft: rgba(143, 162, 255, .12); }
#contact.tx h2 { font-family: var(--f-display); }

/* ---------- course panel ---------- */
.drawer { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--panel); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.drawer::backdrop { background: rgba(14, 19, 32, .55); backdrop-filter: blur(3px); }
.drawer[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.d-in { padding: 30px 30px 26px; border-top: 8px solid var(--c); position: relative; }
.d-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--panel); font-size: 22px; line-height: 1; cursor: pointer; }
.d-in .code { display: inline-block; font-weight: 700; font-size: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); padding: 4px 10px; border-radius: 8px; }
.d-in h2 { font-size: clamp(24px, 4vw, 32px); margin: 12px 46px 6px 0; }
.d-in .tag { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 12px; }
.d-in > p { color: var(--muted); margin: 0 0 18px; }
.d-in h3 { font-size: 18px; margin: 22px 0 10px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.facts div { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.facts b { display: block; font: 650 22px var(--f-display); color: var(--c); }
.facts span { font-size: 12.5px; color: var(--dim); }
.mods { margin: 0; padding: 0; list-style: none; counter-reset: m; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.mods li { counter-increment: m; display: flex; gap: 10px; font-size: 14.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mods li::before { content: counter(m); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.mods small { color: var(--dim); }
.skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skills span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.d-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.d-acts .go { background: var(--c); color: var(--on-c); box-shadow: none; }
@media (max-width: 560px) { .mods { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .d-in { padding: 24px 18px 20px; } }

/* ---------- footer ---------- */
.foot { padding: 46px 0 calc(40px + env(safe-area-inset-bottom, 0)); }
.foot-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 40px; align-items: center; }
.signoff { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 14px; }
.signoff img { width: 150px; height: auto; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.foot nav a { color: var(--muted); font-weight: 600; text-decoration: none; font-size: 14.5px; }
.foot nav a:hover { color: var(--brand); }
.fine { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot nav { justify-content: flex-start; } }
#contact.tx::before { background: linear-gradient(90deg, #0b7fc0, #cf3350, #7349de, #c97412, #0d8f64); }
#contact.tx .tx-send { background: var(--brand); color: var(--on-brand); text-transform: none; letter-spacing: 0; }
#contact.tx .tx-send:hover { background: var(--brand-2); }
