:root {
    --bg: #121212;
    --bg-soft: #121212;
    --surface: rgba(18, 18, 18, 0.86);
    --surface-strong: rgba(18, 18, 18, 0.96);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #ffffff;
    --muted: #aaaaaa;
    --accent: #ff042d;
    --accent-soft: #ff042d;
    --accent-glow: rgba(255, 4, 45, 0.24);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --max-width: 1180px;
    --header-height: 92px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    min-height: 100vh;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    filter: blur(70px);
    opacity: 0.7;
}

body::before {
    width: 340px;
    height: 340px;
    top: 5%;
    left: -100px;
    background: rgba(255, 4, 45, 0.16);
}

body::after {
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: 12%;
    background: rgba(170, 170, 170, 0.08);
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

#grid-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.site-header,
.page-shell,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 22px 28px 0;
}

.header-bar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 20px 0 0;
    background: rgba(18, 18, 18, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.brand {
    display: flex;
    align-items: center;
    align-self: center;
    text-decoration: none;
    min-width: 0;
    line-height: 0;
    padding: 0 0 0 20px;
}

.brand img {
    width: auto;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    outline: none;
}

.site-nav .nav-cta {
    color: var(--text);
    background: rgba(255, 4, 45, 0.14);
    border: 1px solid rgba(255, 4, 45, 0.3);
}

.page-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 28px 80px;
}

.hero {
    display: grid;
    gap: 24px;
    padding: 46px 0 34px;
}

.hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.6fr);
    gap: 24px;
    align-items: stretch;
}

.hero-featured {
    display: grid;
    gap: 18px;
}

.featured-primary {
    --featured-gap: 24px;
    --featured-photo-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--featured-gap);
    align-items: stretch;
    position: relative;
}

.hero-panel,
.hero-sidecard,
.featured-copy,
.featured-bio-panel,
.featured-visual,
.session-main,
.session-side article,
.concept-card,
.team-member,
.contact-banner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.section-label,
.pill,
.talk-track {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-label {
    color: var(--accent);
    margin-bottom: 20px;
}

.section-heading h2,
.hero-panel h2 {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button-primary {
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 18px 34px var(--accent-glow);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--line-strong);
}

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

.hero-intro {
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-sidecards {
    display: grid;
    gap: 16px;
}

.hero-sidecard {
    padding: 22px;
}

.hero-sidecard strong {
    display: block;
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.hero-sidecard p {
    color: var(--muted);
    line-height: 1.65;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.pill {
    color: var(--text);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 4, 45, 0.12);
    border: 1px solid rgba(255, 4, 45, 0.24);
}

.panel-date {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-panel h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.hero-panel > div p {
    color: var(--muted);
    line-height: 1.7;
}

.featured-copy {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: 26px;
    min-width: 0;
    background:
        linear-gradient(rgba(255, 4, 45, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 4, 45, 0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    background-position: -12px -12px;
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
    min-height: 0;
}

.featured-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(18, 18, 18, 0.92);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.featured-toggle:hover,
.featured-toggle:focus-visible {
    transform: translate(-50%, calc(-50% - 2px)) scale(1.03);
    background: rgba(255, 4, 45, 0.14);
    border-color: rgba(255, 4, 45, 0.34);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    outline: none;
}

.featured-toggle-icon {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.35s ease;
}

.featured-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.featured-content {
    display: grid;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.featured-brand-mark {
    width: min(62%, 260px);
    margin-bottom: 26px;
}

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

.featured-date {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 4, 45, 0.14);
    border: 1px solid rgba(255, 4, 45, 0.3);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-title {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
    margin: -4px 0 0;
}

.featured-speaker {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    color: var(--text);
    line-height: 0.9;
    letter-spacing: -0.06em;
    margin: 0;
}

.featured-role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    margin: 0;
}

.featured-role-strong {
    color: var(--accent);
    font-weight: 700;
}

.featured-excerpts {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.featured-block {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    min-width: 0;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.featured-block:focus-visible {
    outline: 2px solid rgba(255, 4, 45, 0.45);
    outline-offset: 3px;
}

.featured-block:hover,
.featured-block:focus-within,
.featured-block:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.featured-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.featured-bio-text,
.featured-abstract-text {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    overflow: hidden;
    max-height: 8.8rem;
    transition: max-height 0.35s ease;
}

.featured-bio-text::after,
.featured-abstract-text::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2.8rem;
    /* background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 0.9) 100%); */
    pointer-events: none;
}

.featured-bio-text {
    position: relative;
}

.featured-abstract-text {
    position: relative;
}

.featured-block:hover .featured-bio-text,
.featured-block:hover .featured-abstract-text,
.featured-block:focus-within .featured-bio-text,
.featured-block:focus-within .featured-abstract-text,
.featured-block:focus-visible .featured-bio-text,
.featured-block:focus-visible .featured-abstract-text {
    max-height: 18rem;
}

.featured-block:hover .featured-bio-text::after,
.featured-block:hover .featured-abstract-text::after,
.featured-block:focus-within .featured-bio-text::after,
.featured-block:focus-within .featured-abstract-text::after,
.featured-block:focus-visible .featured-bio-text::after,
.featured-block:focus-visible .featured-abstract-text::after {
    opacity: 0;
}

.featured-abstract {
    position: relative;
    z-index: 1;
    font-size: 0.94rem;
    background: rgba(18, 18, 18, 0.88);
    backdrop-filter: blur(16px);
}

.featured-bio-panel {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    height: var(--featured-photo-height);
    opacity: 0;
    pointer-events: none;
    transform: translateX(28px);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.featured-bio-panel .featured-block {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    width: 100%;
    padding: 60px 24px 26px;
    background:
        linear-gradient(rgba(255, 4, 45, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 4, 45, 0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    background-position: -12px -12px;
    border-radius: var(--radius-xl);
    border-color: var(--line);
    overflow: hidden;
    position: relative;
    inset: auto;
    z-index: 1;
    transition:
        height 0.35s ease,
        min-height 0.35s ease,
        transform 0.35s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.featured-bio-panel .featured-section-label {
    position: absolute;
    top: 24px;
    left: 24px;
}

.featured-bio-panel .featured-block:hover,
.featured-bio-panel .featured-block:focus-within,
.featured-bio-panel .featured-block:focus-visible {
    background:
        linear-gradient(rgba(255, 4, 45, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 4, 45, 0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    background-position: -12px -12px;
    border-color: var(--line);
    box-shadow: none;
}

.featured-bio-panel .featured-bio-text {
    font-size: 1.08rem;
    line-height: 1.9;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 4, 45, 0.45) rgba(255, 255, 255, 0.04);
}

.featured-bio-panel .featured-block:hover .featured-bio-text,
.featured-bio-panel .featured-block:focus-within .featured-bio-text,
.featured-bio-panel .featured-block:focus-visible .featured-bio-text {
    max-height: none;
}

.featured-bio-panel .featured-bio-text::after {
    display: none;
}

.featured-bio-panel .featured-bio-text::-webkit-scrollbar {
    width: 10px;
}

.featured-bio-panel .featured-bio-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.featured-bio-panel .featured-bio-text::-webkit-scrollbar-thumb {
    background: rgba(255, 4, 45, 0.45);
    border-radius: 999px;
}

.featured-photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
}

.featured-visual {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: visible;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
    z-index: 3;
    transform: translateX(0);
    transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-featured-layout].is-bio-open .featured-copy {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-28px);
}

[data-featured-layout].is-bio-open .featured-visual {
    transform: translateX(calc(-100% - var(--featured-gap)));
}

[data-featured-layout].is-bio-open .featured-bio-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

[data-featured-layout].is-bio-open .featured-toggle-icon {
    transform: rotate(180deg);
}

.talk-stack {
    display: grid;
    gap: 16px;
}

.talk-card {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 3px 0 0 rgba(255, 4, 45, 0.9);
}

.talk-track {
    color: var(--accent);
    margin-bottom: 10px;
}

.talk-card h3 {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.talk-card p {
    color: var(--muted);
    line-height: 1.6;
}

.talk-card a,
.contact-banner a,
.site-footer a {
    color: var(--accent-soft);
    text-decoration: none;
}

.talk-card a:hover,
.contact-banner a:hover,
.site-footer a:hover {
    color: var(--text);
}

.contact-banner a.button,
.contact-banner a.button:hover,
.contact-banner a.button:focus-visible {
    color: var(--text);
}

.section {
    margin-top: 70px;
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
    max-width: 780px;
}

.section-heading-team {
    max-width: none;
}

.section-heading h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.section-heading p {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.session-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
}

.session-main {
    padding: 32px;
}

.session-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.session-date {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.session-badge {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    border: 1px solid var(--line);
}

.program-list {
    display: grid;
    gap: 16px;
}

.program-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.program-time {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: 1.05rem;
    color: var(--accent);
}

.program-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.program-item p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

.program-item .speaker-role {
    margin-bottom: 10px;
}

.program-item .program-abstract {
    margin-top: 12px;
}

.program-item a {
    color: var(--accent-soft);
    text-decoration: none;
    font-weight: 700;
}

.program-item a:hover {
    color: var(--text);
}

.archive-list {
    display: grid;
    gap: 16px;
}

.archive-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.archive-date {
    display: grid;
    align-content: start;
    gap: 8px;
}

.archive-date strong {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text);
}

.archive-date span {
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.archive-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.archive-item p {
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 6px;
}

.archive-meta {
    color: rgba(255, 255, 255, 0.88);
}

.archive-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.archive-links a,
.archive-links span {
    font-size: 0.92rem;
    font-weight: 700;
}

.archive-links span {
    color: var(--muted);
}

.session-side {
    display: grid;
    gap: 22px;
}

.session-side article {
    padding: 28px;
}

.session-side h3,
.concept-card h3,
.contact-banner h2 {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: 1.55rem;
    margin-bottom: 14px;
}

.session-side p,
.concept-card p,
.team-member p,
.contact-banner p,
.site-footer p {
    color: var(--muted);
    line-height: 1.7;
}

.detail-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.detail-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-list dt {
    color: var(--muted);
}

.detail-list dd {
    text-align: right;
    font-weight: 700;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.concept-card {
    padding: 30px 26px;
}

.concept-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-bottom: 18px;
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    background: rgba(255, 4, 45, 0.12);
    color: var(--accent);
    border: 1px solid rgba(255, 4, 45, 0.22);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 280px));
    gap: 20px;
    justify-content: center;
}

.team-member {
    padding: 28px 24px;
    display: grid;
    justify-items: center;
    text-align: center;
}

.team-photo {
    width: 140px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 32% 32% 10px 32%;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.team-role {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 4, 45, 0.1);
    border: 1px solid rgba(255, 4, 45, 0.22);
    color: var(--accent);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.team-member h3 {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.team-member .affiliation {
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 12px;
}

.contact-banner {
    margin-top: 72px;
    padding: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.contact-code {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 4, 45, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 4, 45, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow-x: auto;
    white-space: pre-wrap;
}

.contact-code code {
    display: block;
    font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #ffd7de;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.site-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px 34px;
}

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 4, 45, 0.1);
    border-color: rgba(255, 4, 45, 0.26);
    outline: none;
}

.footer-socials img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-socials .ghost-mark img {
    width: 26px;
    height: 26px;
}

.footer-socials .footer-social-x {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.12);
}

.footer-socials .footer-social-youtube {
    width: auto;
    height: auto;
    min-height: 84px;
    padding: 8px 14px;
}

.footer-socials .footer-social-youtube img {
    width: auto;
    height: 64px;
}

.footer-social-text {
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

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

@media (max-width: 1080px) {
    .featured-primary {
        --featured-card-height: 540px;
    }

    .hero-top,
    .featured-primary,
    .session-layout,
    .contact-banner {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero-top,
    .hero-featured,
    .featured-primary,
    .session-layout {
        gap: 22px;
    }

    .concept-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-sidecards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-actions,
    .footer-bar {
        justify-content: flex-start;
    }

    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-primary {
        --featured-gap: 22px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        overflow: hidden;
        isolation: isolate;
    }

    .featured-toggle {
        display: none;
    }

    .featured-copy,
    .featured-bio-panel {
        overflow: hidden;
        transition:
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .featured-copy {
        grid-column: 1;
        grid-row: 1;
        min-height: var(--featured-card-height);
    }


    .featured-bio-panel {
        display: block;
        grid-column: 1;
        grid-row: 1;
        opacity: 1;
        pointer-events: none;
        transform: translateX(108%);
        z-index: 1;
    }

    .featured-bio-panel .featured-block {
        padding-top: 60px;
        min-height: var(--featured-card-height);
    }

    .featured-bio-panel .featured-section-label {
        position: absolute;
        top: 24px;
        left: 24px;
    }

    [data-featured-layout].is-bio-open .featured-copy {
        display: block;
        opacity: 1;
        pointer-events: none;
        transform: translateX(-108%);
        z-index: 1;
    }

    [data-featured-layout].is-bio-open .featured-bio-panel {
        display: block;
        pointer-events: auto;
        transform: translateX(0);
        z-index: 2;
    }

    .featured-visual {
        grid-column: 1;
        grid-row: 2;
        transform: none;
    }

    [data-featured-layout].is-bio-open .featured-visual,
    [data-featured-layout].is-bio-open .featured-bio-panel {
        grid-column: 1;
    }

    [data-featured-layout].is-bio-open .featured-visual {
        transform: none;
    }

    [data-featured-layout].is-bio-open .featured-bio-panel {
        grid-row: 1;
    }

    .featured-card-dots {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        align-self: center;
        margin-top: 6px;
    }

    .featured-card-dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: rgba(170, 170, 170, 0.78);
    }

    .featured-card-dot.is-active {
        background: rgba(255, 4, 45, 0.96);
    }
}

@media (max-width: 1080px) and (min-width: 761px) {
    .featured-copy,
    .featured-bio-panel {
        align-self: start;
        min-height: 0;
    }

    .featured-bio-panel {
        height: auto;
    }

    .featured-bio-panel .featured-block {
        min-height: 0;
        height: auto;
    }

    .featured-bio-panel .featured-bio-text {
        max-height: 18rem;
    }
}

@media (max-width: 760px) {
    .featured-primary {
        --featured-card-height: 500px;
        overflow: hidden;
        isolation: isolate;
    }

    .featured-meta {
        padding-right: 0;
    }

    .featured-copy,
    .featured-bio-panel {
        backdrop-filter: none;
        box-shadow: none;
        overflow: hidden;
        transition:
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-header,
    .page-shell,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-bar {
        border-radius: 28px;
        padding: 16px 18px;
        align-items: center;
        flex-direction: row;
        gap: 14px;
        overflow: hidden;
    }

    .site-nav {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
    }

    .site-nav a {
        padding: 9px 14px;
        font-size: 0.9rem;
    }

    .brand img {
        height: 34px;
        max-width: min(34vw, 132px);
    }

    .brand {
        padding-left: 0;
        min-width: 0;
        flex: 1 1 auto;
    }

    .page-shell {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .hero {
        gap: 20px;
        padding: 26px 0 20px;
    }

    .hero-top,
    .hero-featured {
        gap: 18px;
    }

    .hero-panel,
    .session-main,
    .session-side article,
    .concept-card,
    .team-member,
    .contact-banner {
        border-radius: 24px;
    }

    .hero-panel,
    .session-main,
    .session-side article,
    .concept-card,
    .team-member,
    .contact-banner {
        padding: 24px;
    }

    .hero-panel {
        gap: 22px;
    }

    .hero-panel h2 {
        font-size: clamp(1.8rem, 11vw, 2.5rem);
        margin-bottom: 10px;
    }

    .hero-intro,
    .section-heading p,
    .contact-banner p,
    .team-member p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-actions,
    .contact-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-actions .button,
    .contact-actions .button {
        width: 100%;
    }

    .concept-grid,
    .team-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .team-grid {
        gap: 16px;
        justify-items: center;
    }

    .team-member {
        justify-items: center;
        width: min(100%, 280px);
    }

    .team-photo {
        width: 124px;
        margin-bottom: 16px;
    }

    .team-member h3 {
        font-size: 1.18rem;
    }

    .section {
        margin-top: 54px;
    }

    .section-heading {
        gap: 10px;
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .program-item {
        grid-template-columns: 1fr;
    }

    .archive-item {
        grid-template-columns: 1fr;
    }

    .featured-copy {
        background-size: 48px 48px;
        padding: 24px;
    }

    .featured-primary {
        --featured-gap: 22px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .featured-toggle {
        top: 24px;
        right: 24px;
        left: auto;
        transform: none;
        z-index: 4;
    }

    .featured-copy {
        grid-column: 1;
        grid-row: 1;
        padding-top: 24px;
        padding-right: 24px;
    }

    .featured-meta {
        padding-right: 0px;
    }

    .featured-bio-panel {
        display: block;
        grid-column: 1;
        grid-row: 1;
        opacity: 1;
        pointer-events: none;
        transform: translateX(108%);
        z-index: 1;
    }

    .featured-bio-panel .featured-block {
        padding-top: 72px;
        padding-right: 24px;
    }

    [data-featured-layout].is-bio-open .featured-copy {
        display: block;
        opacity: 1;
        pointer-events: none;
        transform: translateX(-108%);
        z-index: 1;
    }

    [data-featured-layout].is-bio-open .featured-bio-panel {
        display: block;
        pointer-events: auto;
        transform: translateX(0);
        z-index: 2;
    }

    .featured-visual {
        grid-column: 1;
        grid-row: 2;
        transform: none;
    }

    [data-featured-layout].is-bio-open .featured-visual {
        transform: none;
    }

    [data-featured-layout].is-bio-open .featured-bio-panel {
        grid-column: 1;
        grid-row: 1;
    }

    .featured-toggle {
        width: 56px;
        height: 56px;
    }

    .featured-toggle:hover,
    .featured-toggle:focus-visible {
        transform: translateY(-2px) scale(1.03);
    }

    .featured-visual {
        clip-path: none;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .program-time {
        margin-bottom: 6px;
    }

    .contact-banner {
        margin-top: 56px;
        gap: 18px;
    }

    .footer-bar {
        gap: 18px;
        padding: 18px;
        align-items: center;
        text-align: center;
    }

    .footer-socials {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .footer-socials a {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .footer-socials .footer-social-youtube {
        width: auto;
        height: auto;
        min-height: 84px;
        padding: 8px 14px;
    }

    .footer-socials .footer-social-youtube img {
        width: auto;
        height: 64px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
