:root {
    --bg: #050b16;
    --bg-elevated: rgba(8, 18, 36, 0.88);
    --bg-soft: rgba(12, 27, 51, 0.68);
    --line: rgba(116, 171, 255, 0.18);
    --line-strong: rgba(116, 171, 255, 0.34);
    --text: #eff6ff;
    --muted: #9eb4d4;
    --blue: #3b82f6;
    --blue-strong: #2563eb;
    --blue-soft: #7dd3fc;
    --cyan: #38bdf8;
    --shadow: 0 24px 80px rgba(2, 8, 23, 0.55);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(14, 165, 233, 0.16), transparent 22%),
        linear-gradient(180deg, #06101f 0%, #030712 48%, #050914 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
}

body::before {
    top: -10rem;
    right: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 68%);
    filter: blur(18px);
}

body::after {
    bottom: -14rem;
    left: -10rem;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
    filter: blur(24px);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
    padding: 32px 0 56px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(5, 11, 22, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 45px rgba(2, 8, 23, 0.26);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.94), rgba(56, 189, 248, 0.74));
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.brand-text strong,
.brand-text span {
    display: block;
}

.brand-text strong {
    font-size: 0.98rem;
}

.brand-text span,
.topbar-links a {
    color: var(--muted);
    font-size: 0.92rem;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-links a {
    text-decoration: none;
    transition: color 0.25s ease;
}

.topbar-links a:hover {
    color: var(--text);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 26px;
}

.hero-panel,
.hero-card,
.section-card,
.link-card,
.cta-strip {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-panel,
.hero-card,
.section-card,
.link-card {
    border-radius: var(--radius-xl);
}

.hero-panel {
    padding: 34px;
}

.hero-panel::before,
.hero-card::before,
.section-card::before,
.link-card::before,
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.12), transparent 40%, transparent 68%, rgba(59, 130, 246, 0.12));
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(12, 27, 51, 0.88);
    border: 1px solid rgba(125, 211, 252, 0.18);
    color: var(--blue-soft);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #60a5fa);
    box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.14);
}

.hero h1 {
    margin: 22px 0 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.gradient-text {
    background: linear-gradient(135deg, #f8fbff 0%, #7dd3fc 48%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 62ch;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.role-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 32px;
    margin-bottom: 28px;
    color: #d9e8ff;
    font-size: 1rem;
}

.role-label {
    color: var(--blue-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}

.role-rotator {
    position: relative;
    min-width: min(100%, 360px);
    font-weight: 700;
}

.role-rotator span {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.role-rotator span.is-changing {
    opacity: 0;
    transform: translateY(10px);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.button,
.link-grid a,
.pill-link {
    transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
}

.button-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #f8fbff;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

.button-secondary {
    border-color: var(--line-strong);
    background: rgba(8, 18, 36, 0.72);
    color: var(--text);
}

.button:hover,
.link-grid a:hover,
.pill-link:hover {
    transform: translateY(-2px);
}

.button-primary:hover {
    box-shadow: 0 24px 46px rgba(37, 99, 235, 0.34);
}

.button-secondary:hover,
.pill-link:hover,
.link-grid a:hover {
    border-color: rgba(125, 211, 252, 0.42);
    background: rgba(12, 27, 51, 0.92);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.metric {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(6, 14, 27, 0.72);
}

.metric strong,
.metric span {
    display: block;
}

.metric strong {
    margin-bottom: 6px;
    font-size: 1.55rem;
    font-family: 'Space Grotesk', sans-serif;
}

.metric span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    padding: 28px;
}

.profile-figure {
    margin: 0;
    display: grid;
    gap: 16px;
}

.profile-photo-wrap {
    position: relative;
    padding: 10px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(125, 211, 252, 0.3), rgba(59, 130, 246, 0.08));
    box-shadow: 0 18px 44px rgba(2, 8, 23, 0.34);
}

.profile-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(125, 211, 252, 0.18);
    pointer-events: none;
}

.profile-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 24%;
    border-radius: 20px;
}

.profile-caption strong,
.profile-caption span {
    display: block;
}

.profile-caption strong {
    margin-bottom: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
}

.profile-caption span {
    color: var(--muted);
    line-height: 1.7;
}

.panel-title {
    margin: 0 0 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
}

.panel-subtitle {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.focus-list,
.stack-list,
.section-list {
    display: grid;
    gap: 12px;
}

.focus-item,
.stack-item,
.section-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.focus-index,
.stack-icon,
.section-list i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.16);
    color: var(--blue-soft);
}

.focus-copy strong,
.stack-copy strong {
    display: block;
    margin-bottom: 4px;
}

.focus-copy span,
.stack-copy span,
.section-list span {
    color: var(--muted);
    line-height: 1.65;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span,
.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(8, 18, 36, 0.76);
    color: #dbeafe;
    text-decoration: none;
    font-size: 0.92rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.section-card {
    padding: 30px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-card h2 {
    margin: 0 0 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
}

.section-card p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.72;
}

.section-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.section-list li {
    padding: 14px 0;
    border-top: 1px solid rgba(125, 211, 252, 0.1);
}

.section-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.links-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 24px;
    margin-bottom: 26px;
}

.featured-platform {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 24px;
    margin-bottom: 26px;
}

.featured-platform-copy {
    padding: 30px;
}

.featured-platform-copy h2 {
    margin: 0 0 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.featured-platform-copy > p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.78;
}

.featured-platform-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.featured-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.featured-tech span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(6, 14, 27, 0.72);
    color: #dbeafe;
    font-size: 0.9rem;
}

.featured-platform-panels {
    display: grid;
    gap: 14px;
}

.featured-panel {
    padding: 18px 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(6, 14, 27, 0.62);
}

.featured-panel-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--blue-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-panel h3 {
    margin: 0 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.18rem;
}

.featured-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.72;
}

.featured-list li + li {
    margin-top: 8px;
}

.featured-carousel-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
    padding: 24px;
}

.featured-carousel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(125, 211, 252, 0.08), transparent 38%, transparent 70%, rgba(59, 130, 246, 0.16));
    pointer-events: none;
}

.featured-carousel-head,
.carousel-stage,
.carousel-thumbs {
    position: relative;
    z-index: 1;
}

.featured-carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.featured-carousel-head h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
}

.featured-carousel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.carousel-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    border-radius: 14px;
    background: rgba(8, 18, 36, 0.82);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.carousel-nav:hover {
    transform: translateY(-1px);
    background: rgba(12, 27, 51, 0.92);
    border-color: rgba(125, 211, 252, 0.38);
}

.carousel-counter {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(8, 18, 36, 0.72);
    color: #dbeafe;
    font-size: 0.92rem;
}

.carousel-stage {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(125, 211, 252, 0.1);
    background: rgba(6, 14, 27, 0.86);
    margin-bottom: 16px;
    aspect-ratio: 1 / 1;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.985);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    background: #ffffff;
}

.featured-carousel-card .carousel-stage {
    aspect-ratio: 16 / 10;
}

.featured-carousel-card .carousel-slide img {
    object-fit: contain;
    object-position: center center;
    background: rgba(6, 14, 27, 0.92);
}

.carousel-slide figcaption {
    display: grid;
    gap: 4px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, rgba(5, 11, 22, 0) 0%, rgba(5, 11, 22, 0.92) 48%, rgba(5, 11, 22, 0.98) 100%);
}

.carousel-slide strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
}

.carousel-slide span {
    color: var(--muted);
    line-height: 1.65;
}

.carousel-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(125, 211, 252, 0.32) transparent;
}

.carousel-thumb {
    flex: 0 0 92px;
    padding: 0;
    border: 1px solid rgba(125, 211, 252, 0.12);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(8, 18, 36, 0.72);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.carousel-thumb:hover,
.carousel-thumb.is-active {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.4);
    box-shadow: 0 12px 28px rgba(2, 8, 23, 0.28);
}

.carousel-thumb img {
    width: 100%;
    height: 92px;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.carousel-thumbs::-webkit-scrollbar {
    height: 8px;
}

.carousel-thumbs::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.24);
}

.project-card-carousel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding: 18px 18px 0;
}

.project-carousel-head {
    margin-bottom: 0;
}

.project-carousel-head h3 {
    font-size: 1.08rem;
}

.project-carousel-stage {
    margin-bottom: 0;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
}

.project-carousel-thumbs {
    padding-bottom: 2px;
}

.project-card .carousel-thumb {
    flex-basis: 72px;
    border-radius: 12px;
}

.project-card .carousel-thumb img {
    height: 64px;
}

.project-card .carousel-slide figcaption {
    padding: 14px 16px 16px;
}

.project-card .carousel-slide strong {
    font-size: 0.95rem;
}

.project-card .carousel-slide span {
    font-size: 0.88rem;
    line-height: 1.55;
}

.project-card .carousel-nav {
    width: 40px;
    height: 40px;
}

.project-card .carousel-counter {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.84rem;
}

.projects-showcase {
    display: grid;
    gap: 24px;
    margin-bottom: 26px;
}

.projects-intro {
    padding: 30px;
}

.projects-intro h2 {
    margin: 0 0 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
}

.projects-intro p {
    margin: 0;
    max-width: 72ch;
    color: var(--muted);
    line-height: 1.75;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
}

.project-card--featured {
    grid-column: 1 / -1;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(125, 211, 252, 0.08), transparent 42%, transparent 70%, rgba(59, 130, 246, 0.14));
    pointer-events: none;
}

.project-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid rgba(125, 211, 252, 0.12);
    background: rgba(6, 14, 27, 0.88);
}

.project-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(3, 7, 18, 0.16) 100%);
}

.project-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.45s ease;
}

.project-media--contain img {
    object-fit: contain;
    object-position: center top;
    padding: 12px;
}

.project-card:hover .project-media img {
    transform: scale(1.03);
}

.project-card:hover .project-media--contain img {
    transform: none;
}

.project-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    padding: 22px 22px 24px;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.project-label {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(12, 27, 51, 0.88);
    border: 1px solid rgba(125, 211, 252, 0.14);
    color: var(--blue-soft);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-body h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
}

.project-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(6, 14, 27, 0.72);
    color: #dbeafe;
    font-size: 0.9rem;
}

.link-card {
    padding: 30px;
}

.link-card h2 {
    margin: 0 0 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.65rem;
}

.link-card p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.7;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.link-grid a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(6, 14, 27, 0.72);
    color: var(--text);
    text-decoration: none;
}

.link-grid i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.16);
    color: var(--blue-soft);
}

.link-copy strong,
.link-copy span {
    display: block;
}

.link-copy span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

.highlight-card {
    display: grid;
    gap: 18px;
}

.highlight-metrics {
    display: grid;
    gap: 12px;
}

.highlight-metric {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.12);
    background: rgba(6, 14, 27, 0.72);
}

.highlight-metric strong,
.highlight-metric span {
    display: block;
}

.highlight-metric strong {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.highlight-metric span {
    color: var(--muted);
    line-height: 1.65;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(8, 18, 36, 0.92)),
        rgba(8, 18, 36, 0.88);
}

.cta-copy strong,
.cta-copy span {
    display: block;
}

.cta-copy strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.32rem;
}

.cta-copy span {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-note {
    margin-top: 22px;
    text-align: center;
    color: rgba(158, 180, 212, 0.8);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.is-ready .hero-panel,
body.is-ready .hero-card {
    animation: float-up 0.8s ease both;
}

body.is-ready .hero-card {
    animation-delay: 0.08s;
}

@keyframes float-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero,
    .content-grid,
    .featured-platform,
    .links-layout,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card--featured {
        grid-column: auto;
    }

    .hero-card {

    .featured-platform,
    .projects-showcase,
    .links-layout,
    .cta-strip {
        content-visibility: auto;
        contain-intrinsic-size: 1px 960px;
    }
        min-height: 0;
    }
}

@media (max-width: 820px) {
    .page-shell {
        width: min(calc(100% - 24px), var(--content-width));
        padding-top: 18px;
    }

    .topbar {
        border-radius: 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-panel,
    .hero-card,
    .section-card,
    .link-card,
    .cta-strip,
    .featured-carousel-card {
        padding: 24px;
    }

    .hero-metrics,
    .link-grid {
        grid-template-columns: 1fr;
    }

    .featured-carousel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-actions,
    .topbar-links {
        width: 100%;
    }

    .button {
        width: 100%;
    }

    .featured-platform-actions {
        width: 100%;
    }

    .featured-platform-actions .button {
        width: 100%;
    }

    .brand {
        align-items: flex-start;
    }

    .role-rotator {
        min-width: 0;
    }

    .carousel-stage {
        aspect-ratio: 1 / 1;
    }

    .project-card .carousel-stage {
        aspect-ratio: 16 / 11;
    }
}
