/* =========================================================
   LU Computer Science — public site styles
   ========================================================= */
:root {
  --orange: #f47920;
  --orange-2: #ffa149;
  --orange-d: #d85f0b;
  --navy: #0b1b3f;
  --navy-2: #13295c;
  --ink: #060e22;
  --blue: #2f6bff;
  --cyan: #3cc6f5;
  --text: #1a2236;
  --muted: #5a6479;
  --line: #e5e8ef;
  --light: #f4f6fb;
  --tint: #fff5ec;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,27,63,.06), 0 8px 24px rgba(11,27,63,.08);
  --shadow-lg: 0 24px 60px -12px rgba(11,27,63,.28);
  --grad: linear-gradient(120deg, var(--orange) 0%, #ff5f6d 45%, var(--blue) 100%);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --header-h: 78px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--orange-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; }
h1, .h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--font-mono); }
::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.container.wide { max-width: 1360px; }
.text-center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn-row.center { justify-content: center; }
.text-center .btn-row, .section-head.center + .btn-row { justify-content: center; }
.btn { --bg: var(--orange); position: relative; display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font-weight: 700; font-size: .97rem; text-decoration: none; line-height: 1; border: 2px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn .btn-ico { width: 1.05em; height: 1.05em; transition: transform .25s; }
.btn:hover .btn-ico { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -8px rgba(244,121,32,.7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--orange-2), var(--orange-d)); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn-primary:hover::before { opacity: 1; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.bg-dark .btn-outline, .bg-brand .btn-outline { color: #fff; }
.bg-dark .btn-outline:hover, .bg-brand .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.announce { background: var(--navy); color: #fff; font-size: .9rem; text-align: center; padding: 8px 0; position: relative; z-index: 60; }
.announce a { color: var(--orange-2); }
.announce p { margin: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background .35s, box-shadow .35s, height .35s, backdrop-filter .35s; }
.announce ~ .site-header { top: auto; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-logo { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: height .3s; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-head); font-size: 1.02rem; letter-spacing: -.01em; }
.brand-text small { font-size: .78rem; opacity: .8; letter-spacing: .08em; text-transform: uppercase; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; transition: background .25s, color .25s; }
.main-nav a:hover { background: rgba(255,255,255,.12); }
.main-nav li.active > a { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.main-nav svg.ext, .main-nav svg.caret-dn { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; opacity: .75; }
.main-nav .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; border-radius: 8px; }
.main-nav .sub a:hover { background: var(--tint); color: var(--orange-d); }

body.scrolled .site-header, body.solid-top .site-header { background: rgba(6,14,34,.86); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 6px 24px -10px rgba(0,0,0,.4); }
body.scrolled .site-header { --header-h: 66px; }
body.scrolled .brand-logo { height: 42px; }
body.solid-top main { padding-top: var(--header-h); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 3; }
  .main-nav { position: fixed; inset: 0; background: rgba(6,14,34,.97); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .35s; z-index: 2; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 8px; }
  .main-nav > ul > li { opacity: 0; transform: translateY(14px); transition: .4s; }
  body.nav-open .main-nav > ul > li { opacity: 1; transform: none; }
  body.nav-open .main-nav > ul > li:nth-child(2) { transition-delay: .05s; } body.nav-open .main-nav > ul > li:nth-child(3) { transition-delay: .1s; } body.nav-open .main-nav > ul > li:nth-child(4) { transition-delay: .15s; } body.nav-open .main-nav > ul > li:nth-child(5) { transition-delay: .2s; }
  .main-nav a { font-size: 1.5rem; padding: 12px 24px; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; text-align: center; padding: 0; }
  .main-nav .sub a { color: rgba(255,255,255,.75); font-size: 1.05rem; justify-content: center; }
  .brand-text small { display: none; }
  .brand-logo { height: 44px; }
}
@media (max-width: 420px) { .brand-text b { font-size: .88rem; } }

/* Admin bar on public pages */
.admin-bar { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 70; display: flex; gap: 6px; align-items: center; background: rgba(6,14,34,.92); color: #fff; padding: 6px 6px 6px 16px; border-radius: 999px; font-size: .85rem; box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); white-space: nowrap; }
.admin-bar a { color: #fff; text-decoration: none; background: rgba(255,255,255,.12); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
.admin-bar a:first-of-type { background: var(--orange); }
.admin-bar .draft { background: #f5b301; color: #222; padding: 2px 8px; border-radius: 6px; }
@media (max-width: 600px) { .admin-bar span { display: none; } }

/* ---------- Animated canvases ---------- */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.fx-canvas.dim { opacity: .35; }
.fx-canvas.over { z-index: 2; opacity: .6; mix-blend-mode: screen; }

/* ---------- Animated hero ---------- */
.hero-anim { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; background: radial-gradient(120% 90% at 85% 10%, #1d3a86 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, #3a1a10 0%, transparent 55%), var(--ink); overflow: hidden; padding: calc(var(--header-h) + 40px) 0 90px; isolation: isolate; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.hero-glow.g1 { width: 520px; height: 520px; background: var(--orange); top: -160px; right: -120px; opacity: .35; }
.hero-glow.g2 { width: 460px; height: 460px; background: var(--blue); bottom: -200px; left: -140px; animation-delay: -6s; opacity: .4; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.15); } }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); animation: grid-pan 30s linear infinite; }
@keyframes grid-pan { to { background-position: 56px 56px; } }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-anim.has-media .hero-inner { grid-template-columns: 1.08fr .92fr; }
.hero-copy { max-width: 760px; }
.hero-anim:not(.has-media) .hero-copy { margin: 0 auto; text-align: center; }
.hero-anim:not(.has-media) .btn-row { justify-content: center; }
.hero-title { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.04; margin-bottom: .35em; }
.grad-text { background: linear-gradient(100deg, var(--orange-2), #ff6a5c 40%, var(--cyan) 90%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 620px; }
.hero-anim:not(.has-media) .hero-sub { margin-left: auto; margin-right: auto; }
.typer { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: clamp(.85rem, 1.3vw, 1rem); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 10px 16px; border-radius: 12px; margin-top: .4rem; max-width: 100%; backdrop-filter: blur(6px); color: #c9f2ff; min-height: 2.6em; }
.typer .prompt { color: var(--orange-2); font-weight: 600; }
.typer-text { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 9px; height: 1.15em; background: var(--orange-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 1rem; }
.eyebrow::before { content: "// "; opacity: .6; }
.eyebrow.light { color: var(--orange-2); }
.hero-media { perspective: 1200px; }
.window { border-radius: 16px; overflow: hidden; background: #0d1631; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #121d3d; color: rgba(255,255,255,.55); font: 600 .75rem var(--font-mono); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; }
.window-body { position: relative; aspect-ratio: 16/10; background: #000; }
.window-body > video, .window-body > img, .window-body .embed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.window-body .embed { padding: 0; }
.float { animation: float 7s ease-in-out infinite; transform-style: preserve-3d; }
.hero-media .window { transform: rotateY(-8deg) rotateX(4deg); }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; z-index: 3; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.anim-in { opacity: 0; transform: translateY(26px); animation: in .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes in { to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .hero-anim.has-media .hero-inner { grid-template-columns: 1fr; }
  .hero-media .window { transform: none; }
  .hero-copy { text-align: left; }
}

/* ---------- Page header ---------- */
.page-hdr { position: relative; color: #fff; background: radial-gradient(100% 120% at 100% 0%, #1d3a86 0%, transparent 55%), linear-gradient(135deg, var(--ink), var(--navy)); overflow: hidden; isolation: isolate; text-align: center; display: flex; align-items: flex-end; }
.page-hdr.has-img { background: linear-gradient(180deg, rgba(6,14,34,.65), rgba(6,14,34,.88)), var(--hdr-img) center/cover; }
.page-hdr.size-small { min-height: 300px; } .page-hdr.size-medium { min-height: 420px; } .page-hdr.size-large { min-height: 560px; }
.page-hdr-inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 60px) 24px 72px; }
.page-hdr h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hdr p { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto; }
.page-hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); z-index: 3; }

/* ---------- Sections ---------- */
.blk { position: relative; }
.pad-normal { padding: 96px 0; } .pad-compact { padding: 52px 0; } .pad-spacious { padding: 140px 0; } .pad-none { padding: 0; }
@media (max-width: 700px) { .pad-normal { padding: 64px 0; } .pad-spacious { padding: 88px 0; } .pad-compact { padding: 40px 0; } }
.blk-spacer { padding: 0 !important; }
.bg-light { background: var(--light); }
.bg-tint { background: var(--tint); }
.bg-dark { background: radial-gradient(80% 100% at 100% 0%, rgba(47,107,255,.25), transparent 60%), var(--ink); color: #fff; }
.bg-brand { background: linear-gradient(130deg, var(--orange-d), #c2335a 45%, var(--navy) 100%); color: #fff; }
.bg-dark .eyebrow, .bg-brand .eyebrow { color: var(--orange-2); }
.bg-brand .eyebrow { color: #ffe0c4; }
.bg-dark .section-intro, .bg-brand .section-intro, .bg-dark .prose, .bg-brand .prose { color: rgba(255,255,255,.82); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { position: relative; }
.section-intro { font-size: 1.12rem; color: var(--muted); margin: 0; }
.lead { font-size: 1.2rem; }

/* Reveal on scroll */
.reveal[data-reveal] { opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal[data-reveal="up"] { transform: translateY(40px); }
.reveal[data-reveal="zoom"] { transform: scale(.94); }
.reveal[data-reveal="left"] { transform: translateX(-50px); }
.reveal[data-reveal="right"] { transform: translateX(50px); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal[data-reveal] { opacity: 1; transform: none; }

/* ---------- Prose ---------- */
.prose { color: var(--text); }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; } .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .3em 0; }
.prose ul li::marker { color: var(--orange); }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: .4em 1.2em; border-left: 4px solid var(--orange); font-size: 1.15rem; color: var(--navy); background: var(--tint); border-radius: 0 10px 10px 0; }
.prose a { color: var(--orange-d); font-weight: 600; }
.bg-dark .prose a, .bg-brand .prose a { color: var(--orange-2); }
.prose code { background: rgba(11,27,63,.07); padding: .12em .4em; border-radius: 5px; font-size: .9em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .7em; text-align: left; }
.prose iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }
.text-center .prose { text-align: center; }
.text-center .prose ul, .text-center .prose ol { text-align: left; display: inline-block; }
.blk-text .container.narrow .prose { font-size: 1.1rem; }

/* ---------- Split / media + text ---------- */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-row.side-left .split-media { order: -1; }
.split-row.no-media { grid-template-columns: 1fr; max-width: 820px; }
.split-media { position: relative; }
.split-media > img, .split-media > video, .split-media > .embed { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-media.frame-rounded::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius); background: var(--grad); opacity: .9; z-index: -1; }
.split-row.side-left .split-media.frame-rounded::before { inset: 22px 22px -22px -22px; }
.split-media.frame-plain > * { box-shadow: none; border-radius: 0; }
.split-media.frame-tilt { transition: transform .2s ease-out; transform-style: preserve-3d; }
.split-media .window { box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .split-row { grid-template-columns: 1fr; } .split-row .split-media { order: -1; } .split-media.frame-rounded::before { inset: 12px -10px -12px 12px !important; } }

/* ---------- Embeds ---------- */
.embed { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: inherit; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fig { margin: 0; }
.video-fig > video, .video-fig > .embed { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.video-fig figcaption, .img-fig figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: .9em; }
.img-fig { margin-top: 0; margin-bottom: 0; }
.img-fig img { width: 100%; height: auto; border-radius: var(--radius); }
.img-full img { border-radius: 0; }

/* ---------- Feature cards ---------- */
.feat-grid { display: grid; gap: 22px; }
.feat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .feat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .feat-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feat-grid.cols-4, .feat-grid.cols-3, .feat-grid.cols-2 { grid-template-columns: 1fr; } }
.feat { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .35s, border-color .35s; }
.reveal.in .feat { animation: in .7s both; animation-delay: calc(var(--i) * 90ms); }
.feat h3 { margin: 0 0 .35em; }
.feat p { color: var(--muted); margin: 0; font-size: .98rem; }
.feat .more { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--orange-d); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.feat .more .mini { width: 16px; height: 16px; transition: transform .25s; }
a.feat:hover .more .mini { transform: translateX(4px); }
.feat-ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 20px; background: linear-gradient(135deg, var(--orange), #ff6a5c); color: #fff; box-shadow: 0 12px 24px -10px rgba(244,121,32,.8); transition: transform .4s; }
.feat-ico .icon { width: 28px; height: 28px; }
.feat:nth-child(4n+2) .feat-ico { background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 12px 24px -10px rgba(47,107,255,.8); }
.feat:nth-child(4n+3) .feat-ico { background: linear-gradient(135deg, var(--navy-2), var(--blue)); box-shadow: 0 12px 24px -10px rgba(19,41,92,.8); }
.feat:nth-child(4n+4) .feat-ico { background: linear-gradient(135deg, #ff6a5c, #c2335a); box-shadow: 0 12px 24px -10px rgba(194,51,90,.8); }
.feat:hover .feat-ico { transform: rotate(-8deg) scale(1.08); }
.feat-img { display: block; margin: -30px -28px 22px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16/10; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feat:hover .feat-img img { transform: scale(1.06); }
.feat-num { font: 800 3rem/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
/* card styles */
.fs-cards .feat, .fs-numbered .feat { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fs-cards .feat::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.fs-cards .feat:hover, .fs-numbered .feat:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fs-cards .feat:hover::after { transform: scaleX(1); }
.bg-dark .fs-cards .feat, .bg-brand .fs-cards .feat { color: var(--text); }
.fs-glass .feat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); padding: 40px 36px; }
.fs-glass .feat:hover { background: rgba(255,255,255,.1); border-color: rgba(244,121,32,.6); transform: translateY(-6px); }
.fs-glass .feat p { color: rgba(255,255,255,.75); font-size: 1.04rem; }
.fs-glass .feat h3 { font-size: 1.5rem; }
.fs-glass .feat .more { color: var(--orange-2); }
.bg-default .fs-glass .feat, .bg-light .fs-glass .feat, .bg-tint .fs-glass .feat { background: #fff; border-color: var(--line); color: var(--text); box-shadow: var(--shadow); }
.bg-default .fs-glass .feat p, .bg-light .fs-glass .feat p, .bg-tint .fs-glass .feat p { color: var(--muted); }
.fs-minimal .feat { padding: 18px 8px; flex-direction: row; align-items: center; gap: 14px; }
.fs-minimal .feat-ico { width: 46px; height: 46px; margin: 0; flex: none; border-radius: 12px; }
.fs-minimal .feat-ico .icon { width: 22px; height: 22px; }
.fs-minimal .feat h3 { font-size: 1.04rem; margin: 0; }
.fs-minimal .feat > p { display: none; }
.fs-numbered .feat h3 { font-size: 1.4rem; }

/* ---------- Card carousel ---------- */
.cards-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 2.5rem; }
.cards-head .section-head { margin-bottom: 0; }
.cards-nav { display: flex; gap: 10px; flex: none; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: .25s; color: var(--navy); }
.round-btn svg, .sl-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.bg-dark .round-btn, .bg-brand .round-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.card-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 30px; scrollbar-width: none; scroll-behavior: smooth; }
.card-track::-webkit-scrollbar { display: none; }
.ccard { flex: 0 0 clamp(260px, 28vw, 340px); scroll-snap-align: start; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.ccard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ccard-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ccard:hover .ccard-media img { transform: scale(1.07); }
.ccard-media.gen { display: grid; place-items: center; color: #fff; }
.ccard-media.gen::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.ccard-media.g0 { background: linear-gradient(135deg, #f47920, #c2335a); }
.ccard-media.g1 { background: linear-gradient(135deg, #2f6bff, #3cc6f5); }
.ccard-media.g2 { background: linear-gradient(135deg, #13295c, #2f6bff); }
.ccard-media.g3 { background: linear-gradient(135deg, #ff6a5c, #f47920); }
.ccard-media.g4 { background: linear-gradient(135deg, #0b1b3f, #6b3fd4); }
.ccard-ico { width: 72px; height: 72px; position: relative; z-index: 1; transition: transform .5s; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.ccard:hover .ccard-ico { transform: scale(1.12) rotate(-6deg); }
.ccard-code { position: absolute; right: 16px; bottom: 10px; font: 700 2.6rem var(--font-mono); opacity: .2; }
.ccard-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ccard-body p { color: var(--muted); font-size: .96rem; margin: 0; }
.ccard .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--orange-d); display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; }
.ccard .mini { width: 16px; height: 16px; }
.chip { display: inline-block; align-self: flex-start; font: 600 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--orange-d); margin-bottom: 12px; }
@media (max-width: 640px) { .cards-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Sliders (shared) ---------- */
.slider { position: relative; }
.slider .slides { position: relative; }
.sl-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 5; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(6,14,34,.25); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: .25s; }
.sl-arrow:hover { background: var(--orange); border-color: var(--orange); }
.sl-arrow.prev { left: 22px; } .sl-arrow.next { right: 22px; }
.sl-dots { position: absolute; left: 50%; translate: -50% 0; bottom: 26px; z-index: 5; display: flex; gap: 8px; }
.sl-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: .35s; }
.sl-dots button.active { width: 34px; background: var(--orange); }

/* Hero slider */
.slider-hero { color: #fff; overflow: hidden; background: var(--ink); }
.slider-hero.h-full .slides { height: 100vh; height: 100svh; } .slider-hero.h-large .slides { height: min(82vh, 820px); min-height: 520px; } .slider-hero.h-medium .slides { height: 520px; }
.slider-hero .slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slider-hero .slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; }
.slide-bg img, .slide-bg video { width: 100%; height: 100%; object-fit: cover; }
.slide-bg .embed { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.slide-bg .embed iframe { width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; left: 50%; top: 50%; translate: -50% -50%; }
.fx-kenburns .slide .slide-bg img { transform: scale(1); transition: transform 9s ease-out; }
.fx-kenburns .slide.active .slide-bg img { transform: scale(1.14); }
.fx-slide .slide { opacity: 1; transform: translateX(100%); transition: transform .9s cubic-bezier(.7,0,.2,1), visibility .9s; }
.fx-slide .slide.active { transform: none; }
.fx-slide .slide.leaving { transform: translateX(-100%); visibility: visible; }
.slide-overlay { position: absolute; inset: 0; }
.ov-dark .slide-overlay { background: linear-gradient(90deg, rgba(6,14,34,.85), rgba(6,14,34,.35)); }
.al-center.ov-dark .slide-overlay { background: radial-gradient(ellipse at center, rgba(6,14,34,.55), rgba(6,14,34,.85)); }
.ov-brand .slide-overlay { background: linear-gradient(120deg, rgba(216,95,11,.75), rgba(11,27,63,.85)); }
.ov-light .slide-overlay { background: rgba(255,255,255,.7); }
.ov-light { color: var(--navy); }
.slide-content { position: relative; z-index: 3; padding-top: var(--header-h); }
.al-center .slide-content { text-align: center; } .al-center .slide-content .btn-row { justify-content: center; }
.al-center .slide-content .lead { margin-left: auto; margin-right: auto; }
.slide-content .lead { max-width: 640px; color: inherit; opacity: .88; }
.slide-content > * { opacity: 0; transform: translateY(30px); transition: .8s cubic-bezier(.2,.7,.2,1); }
.slide.active .slide-content > * { opacity: 1; transform: none; }
.slide.active .slide-content > :nth-child(2) { transition-delay: .15s; } .slide.active .slide-content > :nth-child(3) { transition-delay: .3s; } .slide.active .slide-content > :nth-child(4) { transition-delay: .45s; }
.slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 5; background: rgba(255,255,255,.12); }
.slider-progress span { display: block; height: 100%; width: 0; background: var(--grad); }
@media (max-width: 700px) { .sl-arrow { display: none; } }

/* Split slider */
.slider.split .slides { display: grid; }
.slider.split .slide { grid-area: 1/1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slider.split.side-right .slide .split-media { order: 2; }
.slider.split .slide.active { opacity: 1; visibility: visible; }
.slider.split .split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; clip-path: inset(0 100% 0 0 round var(--radius)); transition: clip-path 1s cubic-bezier(.7,0,.2,1); box-shadow: var(--shadow-lg); }
.slider.split .slide.active .split-media { clip-path: inset(0 0 0 0 round var(--radius)); }
.slider.split .split-media img, .slider.split .split-media video { width: 100%; height: 100%; object-fit: cover; }
.slider.split .split-media .embed { height: 100%; aspect-ratio: auto; }
.slider.split .split-copy > * { opacity: 0; transform: translateY(20px); transition: .7s; }
.slider.split .slide.active .split-copy > * { opacity: 1; transform: none; transition-delay: .35s; }
.split-count { margin-top: 2rem; font-family: var(--font-mono); color: var(--muted); }
.split-count b { color: var(--orange); font-size: 1.4rem; }
.slider.split .sl-arrow, .slider.quotes .sl-arrow { position: static; translate: none; display: inline-grid; background: #fff; color: var(--navy); border-color: var(--line); margin-top: 24px; margin-right: 8px; }
.slider.split .sl-arrow:hover, .slider.quotes .sl-arrow:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.slider.split .sl-dots, .slider.quotes .sl-dots { position: static; translate: none; display: inline-flex; vertical-align: middle; margin-left: 12px; }
.slider.split .sl-dots button, .slider.quotes .sl-dots button { background: var(--line); }
.slider.split .sl-dots button.active, .slider.quotes .sl-dots button.active { background: var(--orange); }
@media (max-width: 860px) { .slider.split .slide { grid-template-columns: 1fr; } .slider.split.side-right .slide .split-media { order: 0; } }

/* Testimonials */
.slider.quotes { text-align: center; }
.slider.quotes .slides { display: grid; }
.slider.quotes .slide { grid-area: 1/1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .7s; }
.slider.quotes .slide.active { opacity: 1; visibility: visible; transform: none; }
.qmark { width: 56px; height: 56px; margin: 0 auto 1rem; fill: var(--orange); opacity: .9; }
.slider.quotes blockquote { margin: 0 0 1.6rem; font: 600 clamp(1.25rem, 2.4vw, 1.75rem)/1.45 var(--font-head); letter-spacing: -.01em; }
.slider.quotes figcaption { display: inline-flex; gap: 14px; align-items: center; text-align: left; }
.slider.quotes figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.slider.quotes figcaption b { display: block; } .slider.quotes figcaption small { color: var(--muted); }
.bg-dark .slider.quotes figcaption small, .bg-brand .slider.quotes figcaption small { color: rgba(255,255,255,.7); }

/* ---------- Columns, gallery ---------- */
.col-grid { display: grid; gap: 36px; }
.col-grid.n2 { grid-template-columns: repeat(2, 1fr); } .col-grid.n3 { grid-template-columns: repeat(3, 1fr); } .col-grid.n4 { grid-template-columns: repeat(4, 1fr); }
.col img { border-radius: var(--radius-sm); margin-bottom: 18px; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 860px) { .col-grid.n3, .col-grid.n4, .col-grid.n2 { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 14px; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); } .gallery.cols-3 { grid-template-columns: repeat(3, 1fr); } .gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .gallery.cols-3, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); } }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 1; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .9rem; font-weight: 600; background: linear-gradient(transparent, rgba(6,14,34,.8)); transform: translateY(100%); transition: .35s; }
.g-item:hover img { transform: scale(1.08); } .g-item:hover span { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,14,34,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; margin-top: 14px; }

/* ---------- Code showcase ---------- */
.editor { border-radius: 16px; overflow: hidden; background: #0c1430; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06); color: #e6edf7; }
.editor-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #121d3d; }
.editor-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .editor-bar i:nth-child(2) { background: #febc2e; } .editor-bar i:nth-child(3) { background: #28c840; }
.editor-bar .tab { margin-left: 12px; font: 600 .78rem var(--font-mono); color: #cfe0ff; background: #0c1430; padding: 6px 12px; border-radius: 8px 8px 0 0; margin-bottom: -10px; border-top: 2px solid var(--orange); }
.run-btn { margin-left: auto; font: 700 .75rem var(--font-mono); background: #28c840; color: #062b0d; border: 0; padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.run-btn:hover { filter: brightness(1.1); }
.editor-code { margin: 0; padding: 20px 22px; font-size: .9rem; line-height: 1.7; min-height: 280px; overflow-x: auto; counter-reset: ln; white-space: pre; }
.code-out .ln { display: block; }
.code-out .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 2em; margin-right: 1em; color: #4a5a85; text-align: right; }
.code-out .tok-k { color: #ff9e64; } .code-out .tok-s { color: #9ece6a; } .code-out .tok-c { color: #6b7aa6; font-style: italic; } .code-out .tok-n { color: #e0af68; } .code-out .tok-f { color: #7aa2f7; } .code-out .tok-b { color: #bb9af7; }
.code-out .cur { display: inline-block; width: 8px; height: 1.1em; background: var(--orange-2); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
.console { border-top: 1px solid rgba(255,255,255,.08); }
.console-bar { font: 600 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: #6b7aa6; padding: 8px 22px 0; }
.console-out { margin: 0; padding: 6px 22px 18px; font-size: .9rem; color: #9ece6a; min-height: 2.6em; white-space: pre-wrap; }
.console-out.show::before { content: "$ "; color: #6b7aa6; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--orange), var(--blue)); }
.timeline li { position: relative; margin-bottom: 26px; }
.tl-dot { position: absolute; left: -34px; top: 22px; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: 0 0 0 6px rgba(244,121,32,.15); }
.timeline li:nth-child(even) .tl-dot { border-color: var(--blue); box-shadow: 0 0 0 6px rgba(47,107,255,.15); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); transition: transform .3s; }
.tl-card:hover { transform: translateX(6px); }
.tl-card p { color: var(--muted); margin: 0; }
.reveal.in .timeline li { animation: in .7s both; animation-delay: calc(var(--i) * 120ms); }
.bg-dark .tl-card { color: var(--text); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); }
.stat-num { font: 800 clamp(2.6rem, 5vw, 3.8rem)/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-dark .stat-num, .bg-brand .stat-num { background: linear-gradient(100deg, var(--orange-2), #fff); -webkit-background-clip: text; background-clip: text; }
.stat-label { margin-top: 10px; font-weight: 600; color: var(--muted); }
.bg-dark .stat-label, .bg-brand .stat-label { color: rgba(255,255,255,.8); }

/* ---------- Accordion ---------- */
.accordion details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; transition: box-shadow .3s; color: var(--text); }
.accordion details[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 700 1.05rem var(--font-head); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.acc-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--tint); position: relative; flex: none; transition: .3s; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--orange-d); translate: -50% -50%; transition: .3s; }
.acc-ico::after { rotate: 90deg; }
details[open] .acc-ico { background: var(--orange); } details[open] .acc-ico::before { background: #fff; } details[open] .acc-ico::after { rotate: 0deg; background: #fff; }
.accordion .prose { padding: 0 24px 22px; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.person { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px 24px; text-align: center; transition: transform .35s, box-shadow .35s; color: var(--text); }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person-photo { width: 128px; height: 128px; margin: 0 auto 18px; border-radius: 50%; padding: 4px; background: var(--grad); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.person-photo.initials span { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 2.2rem var(--font-head); }
.person h3 { margin-bottom: .2em; }
.person .role { color: var(--orange-d); font-weight: 600; font-size: .95rem; margin-bottom: .6em; }
.person .bio { color: var(--muted); font-size: .94rem; }
.person-links { display: flex; flex-direction: column; gap: 4px; align-items: center; font-size: .9rem; }
.person-links a { display: inline-flex; gap: 6px; align-items: center; color: var(--navy); text-decoration: none; word-break: break-all; }
.person-links .mini { width: 15px; height: 15px; flex: none; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.cta .lead { color: rgba(255,255,255,.85); }
.cta .container { position: relative; z-index: 2; }
.cta .btn-row { justify-content: center; }
.cta-gradient { background: linear-gradient(120deg, var(--orange-d), #c2335a, var(--navy), var(--blue)); background-size: 300% 300%; animation: gradmove 14s ease infinite; }
@keyframes gradmove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-gradient .btn-primary { background: #fff; color: var(--navy); }
.cta-gradient .btn-primary::before { display: none; }
.cta-dark { background: radial-gradient(80% 120% at 50% 120%, rgba(244,121,32,.35), transparent 60%), var(--ink); }
.cta-image { background: linear-gradient(rgba(6,14,34,.75), rgba(6,14,34,.85)), var(--cta-img) center/cover fixed; }

/* ---------- Spacer ---------- */
.spacer.sp-sm { height: 30px; } .spacer.sp-md { height: 64px; } .spacer.sp-lg { height: 110px; }
.spacer { display: flex; align-items: center; }
.spacer .container { width: 100%; }
.spacer hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.spacer hr.grad { height: 3px; border-radius: 3px; background: var(--grad); max-width: 200px; margin: 0 auto; }
.spacer .wave { width: 100%; height: 40px; fill: none; stroke: var(--orange); stroke-width: 2; opacity: .6; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255,255,255,.75); padding: 80px 0 0; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; font-family: var(--font-mono); }
.f-brand .brand { margin-bottom: 1.2rem; }
.f-brand p { font-size: .95rem; max-width: 380px; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: .6rem; font-size: .95rem; }
.f-links a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: var(--orange-2); }
.f-links.contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-links .mini { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--orange-2); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: .25s; }
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.f-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 22px; padding-bottom: 26px; font-size: .86rem; }
.f-admin { color: rgba(255,255,255,.45); text-decoration: none; }
.f-admin:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(244,121,32,.8); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.6; }
body.scrolled .to-top { opacity: 1; transform: none; pointer-events: auto; }

.icon { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal[data-reveal] { opacity: 1; transform: none; }
}
