/* ============================================
   Font Face Declarations
   ============================================ */

@font-face {
    font-family: 'Azonix';
    src: url('assets/fonts/Azonix.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa Light';
    src: url('assets/fonts/Nexa Light.otf') format('opentype'),
         url('assets/fonts/NexaLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS Reset & Variables
   ============================================ */

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

:root {
    --navy-primary: #202C60;
    --navy-secondary: #1F2D60;
    --blue-light: #2FA7FF;
    --blue-pale: #EAF3FF;
    --grey-dark: #141824;
    --grey-mid: #5B6275;
    --grey-light: #E6E9F2;
    --grey-pale: #F3F5F9;
    --white: #FFFFFF;
    
    --frame-gap: 18px;
    --frame-radius: 28px;
    --frame-border: rgba(255, 255, 255, 0.32);
    --frame-shadow: 0 20px 80px rgba(0,0,0,0.35);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nexa Light", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--grey-dark);
    background: radial-gradient(1200px 800px at 20% 0%, rgba(47, 167, 255, 0.10), transparent 60%),
                radial-gradient(900px 700px at 90% 20%, rgba(32, 44, 96, 0.45), transparent 55%),
                #FFFFFF;
    overflow-x: hidden;
}


/* ============================================
   Framed Page Shell (IntegratedBio-style)
   ============================================ */

.site-shell{
    min-height: 100vh;
    padding: var(--frame-gap);
    transition: padding 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-inner{
    min-height: calc(100vh - (2 * var(--frame-gap)));
    border-radius: var(--frame-radius);
    overflow: clip;
    background: transparent;
    border: 1px solid var(--frame-border);
    box-shadow: var(--frame-shadow);
    transition: border-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@supports not (overflow: clip){
    .site-inner{ overflow: hidden; }
}

@media (min-width: 768px){
    :root{
        --frame-gap: 22px;
        --frame-radius: 34px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

/* ============================================
   Floating Glass Navigation
   ============================================ */

.floating-nav {
    position: fixed;
    top: var(--frame-gap);
    left: var(--frame-gap);
    right: var(--frame-gap);
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    pointer-events: none;
}

.nav-container{
    pointer-events: auto;
}

.nav-container {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 999px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55) inset,
        0 10px 36px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    max-width: 1100px;
    margin: 0 auto;
}

.floating-nav.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(26px) saturate(200%);
    -webkit-backdrop-filter: blur(26px) saturate(200%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.45) inset,
        0 12px 44px rgba(0, 0, 0, 0.22);
}

.nav-logo {
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(32, 44, 96, 0.2));
    transition: var(--transition);
}

.floating-nav.scrolled .nav-logo img {
    height: 36px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: calc(100% - 32px);
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 12px 48px rgba(32, 44, 96, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: all;
}

.nav-menu a {
    font-family: "Azonix", "Nexa Light", sans-serif;
    text-decoration: none;
    color: var(--navy-primary);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a:focus {
    background: rgba(47, 167, 255, 0.1);
    color: var(--blue-light);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: all !important;
        flex-direction: row;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
        gap: 4px;
        width: auto !important;
        max-width: none;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* ============================================
   Glass Button System
   ============================================ */

.glass-button {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: "Nexa Light", sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(47, 167, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-button-primary {
    background: linear-gradient(135deg, rgba(47, 167, 255, 0.2), rgba(31, 45, 96, 0.15));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--navy-primary);
    box-shadow: 0 4px 20px rgba(47, 167, 255, 0.25);
}

.glass-button-primary:hover,
.glass-button-primary:focus {
    background: linear-gradient(135deg, rgba(47, 167, 255, 0.3), rgba(31, 45, 96, 0.2));
    box-shadow: 0 6px 28px rgba(47, 167, 255, 0.4);
    transform: translateY(-2px);
}

.glass-button:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
}

/* ============================================
   Scrollytelling Container
   ============================================ */

.scrolly-container {
    position: relative;
    /* Height calculated dynamically but set minimum */
    min-height: 400vh;
}

/* Pinned Hero Background */
.hero-pinned {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    z-index: 1;
}

.hero-card {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    position: relative;
    box-shadow: none;

    opacity: 0;
    transform: scale(0.985);
    filter: blur(6px);
    animation: heroOpen 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

@keyframes heroOpen {
    0% {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(32, 44, 96, 0.3) 0%,
        rgba(31, 45, 96, 0.5) 50%,
        rgba(20, 24, 36, 0.7) 100%
    );
    pointer-events: none;
    transition: opacity 0.6s ease;
}

/* ============================================
   Hero Launch Overlay (Title top-left + CTA bottom-centre)
   ============================================ */

.hero-launch{
  position:absolute;
  inset:0;
  z-index:10;
  pointer-events:none;
}

/* Top-left hero copy visible immediately 
.hero-text--launch{
  position:absolute;
  top:clamp(18px, 3vw, 36px);
  left:clamp(18px, 3vw, 36px);
  max-width:min(760px, 78vw);
  opacity:1;
  transform:none;
  text-align:left;
}

/* Title styling */
.hero-title{
  font-family: "Azonix", "Nexa Light", sans-serif;
    font-size: 48px;
    line-height: 1.15;
    color: var(--white);
  letter-spacing:0.01em;
  text-transform:uppercase;
  text-shadow: 0 10px 34px rgba(0,0,0,0.55), 0 2px 10px rgba(0,0,0,0.35);
}

.hero-subtitle{
   font-size: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
    max-width: 700px;
}

/* Bottom-centre CTA 
.hero-cta--launch{
  position:absolute;
  left:50%;
  bottom:clamp(18px, 4vw, 42px);
  transform:translateX(-50%);
  pointer-events:auto;
  text-align:center;
}

/* Buttons */
.glass-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  background: rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.glass-button:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.30);
}

.glass-button-primary{
  background: rgba(165, 255, 255, 0.16);
  border-color: rgba(165, 255, 255, 0.30);
}

/* Scrolling Chapters */
.scrolly-chapters {
    position: relative;
    z-index: 10;
}

.chapter {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    position: relative;
}

.chapter-hero{
  min-height: 100vh;
  display: block;
  padding: 0;
}

.chapter-hero .hero-launch{
  position: relative;     /* NOT absolute */
  height: 100vh;
  width: 100%;
  pointer-events: none;   /* so only button is clickable */
}

.chapter-hero .hero-text--launch{
  position: absolute;
  top: 150px;             /* adjust to clear your nav */
  left: 24px;
  max-width: min(760px, 78vw);
  pointer-events: none;
}

.chapter-hero .hero-cta--launch{
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  pointer-events: auto;   /* button clickable */
}

.chapter-content {
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.2;
}

/* Active chapter styling - more transparent like IntegratedBio */
.chapter.is-active .chapter-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(32, 44, 96, 0.08);
    opacity: 1;
}

/* ============================================
   Intro Chapter
   ============================================ */

.chapter-intro {
    padding-top: 120px;
}

.chapter-intro .chapter-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 80vh;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0 32px;
    max-width: 1400px;
}

.chapter-intro.is-active .hero-text {
    opacity: 1;
    transform: translateY(0);
}

.chapter-intro.is-active .hero-cta {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .chapter-intro {
        padding-top: 140px;
    }
    
    .chapter-intro .chapter-content {
        padding: 0 64px;
    }
    
    .hero-title {
        font-size: 72px;
        line-height: 1.1;
        margin-bottom: 48px;
    }
    
    .hero-subtitle {
        font-size: 24px;
        max-width: 800px;
    }
    
    .hero-cta {
        margin-bottom: 80px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 86px;
        max-width: 1200px;
    }
    
    .hero-subtitle {
        font-size: 26px;
        max-width: 900px;
    }
}

/* ============================================
   Session Chapters
   ============================================ */

.chapter-session {
    position: relative;
}

/* Progress Timeline Indicator */
.chapter-session::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 120px;
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.chapter-session.is-active::before {
    opacity: 1;
}

/* Session Number Badge */
.session-badge-number {
    position: absolute;
    left: 40px;
    top: 60px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.6s ease;
}

.chapter-session.is-active .session-badge-number {
    opacity: 1;
    transform: translateX(0);
}

.session-badge-number::before {
    content: attr(data-step);
    font-family: "Azonix", "Nexa Light", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .chapter-session::before {
        left: 64px;
        top: 140px;
    }
    
    .session-badge-number {
        left: 64px;
        top: 80px;
    }
}

.session-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.chapter-session.is-active .session-layout {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .session-layout {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }
}

.session-badge {
    flex-shrink: 0;
}

.session-image-link {
    display: block;
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(32, 44, 96, 0.2);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 24px rgba(32, 44, 96, 0.15);
    transition: var(--transition);
}

.session-image-link:hover,
.session-image-link:focus {
    transform: scale(1.05);
    border-color: var(--blue-light);
    box-shadow: 
        0 0 0 1px rgba(47, 167, 255, 0.4) inset,
        0 12px 32px rgba(47, 167, 255, 0.35);
}

.session-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.95);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.session-image-link:hover .map-icon,
.session-image-link:focus .map-icon {
    opacity: 1;
    transform: scale(1);
}

.session-info {
    flex: 1;
}

.session-day {
    font-family: "Azonix", "Nexa Light", sans-serif;
    font-size: 28px;
    color: var(--navy-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.session-meta {
    font-size: 14px;
    color: var(--grey-mid);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.session-time {
    font-size: 18px;
    color: var(--navy-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.session-location-link {
    display: inline-block;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(47, 167, 255, 0.05);
    border: 1px solid rgba(47, 167, 255, 0.15);
    transition: var(--transition);
}

.session-location-link:hover,
.session-location-link:focus {
    background: rgba(47, 167, 255, 0.1);
    border-color: var(--blue-light);
    transform: translateY(-2px);
}

.session-address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey-mid);
}

/* Release Spacer */
.scrolly-release {
    height: 50vh;
}

/* ============================================
   Transition Wave (Vector SVG, 3 layers)
   ============================================ */

.transition-wave {
  position: relative;
  width: 100%;
  height: 0; /* wave drawn by ::before */
}

/* Default: white wave for light sections */
.transition-wave::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 44px;
  transform: translateY(-100%);
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: bottom;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,48 Q120,26 240,48 T480,48 T720,48 T960,48 T1200,48 T1440,48 L1440,80 L0,80 Z' fill='%23ffffff' fill-opacity='0.30'/%3E%3Cpath d='M0,56 Q120,34 240,56 T480,56 T720,56 T960,56 T1200,56 T1440,56 L1440,80 L0,80 Z' fill='%23ffffff' fill-opacity='0.50'/%3E%3Cpath d='M0,64 Q120,42 240,64 T480,64 T720,64 T960,64 T1200,64 T1440,64 L1440,80 L0,80 Z' fill='%23ffffff' fill-opacity='1.00'/%3E%3C/svg%3E");
}

/* Optional: navy wave variant (add class "transition-wave--navy" in HTML) */
.transition-wave.transition-wave--navy::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,48 Q120,26 240,48 T480,48 T720,48 T960,48 T1200,48 T1440,48 L1440,80 L0,80 Z' fill='%231f2d60' fill-opacity='0.30'/%3E%3Cpath d='M0,56 Q120,34 240,56 T480,56 T720,56 T960,56 T1200,56 T1440,56 L1440,80 L0,80 Z' fill='%231f2d60' fill-opacity='0.50'/%3E%3Cpath d='M0,64 Q120,42 240,64 T480,64 T720,64 T960,64 T1200,64 T1440,64 L1440,80 L0,80 Z' fill='%231f2d60' fill-opacity='1.00'/%3E%3C/svg%3E");
}

/* ============================================
   Watch Section
   ============================================ */

.watch-section {
    padding: 50px 0;
    background: #FFFFFF;
}

.section-title {
    font-family: "Azonix", "Nexa Light", sans-serif;
    font-size: 36px;
    color: var(--navy-primary);
    margin-bottom: 48px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 42px;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 12px 32px rgba(32, 44, 96, 0.12);
    background: var(--grey-dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   Instagram Section
   ============================================ */

.instagram-section {
    padding: 25px 0;
    background: #FFFFFF;
    text-align: center;
}

.instagram-wrapper {
    margin-bottom: 40px;
}

.instagram-cta {
    display: inline-block;
}

/* ============================================
   Social Section
   ============================================ */

.social-section {
    padding: 40px 0;
    background: linear-gradient(135deg, 
        var(--navy-primary) 0%, 
        var(--navy-secondary) 100%);
    text-align: center;
}

.social-section .section-title {
    color: var(--white);
}

.social-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-link {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-link:hover,
.social-link:focus {
    background: rgba(47, 167, 255, 0.2);
    border-color: var(--blue-light);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(47, 167, 255, 0.4);
}

.social-link svg {
    width: 28px;
    height: 28px;
}

@media (min-width: 768px) {
    .social-link {
        width: 72px;
        height: 72px;
    }
    
    .social-link svg {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: var(--grey-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0;
    text-align: center;
}

.site-footer p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-note {
    font-size: 13px;
    opacity: 0.7;
}

/* ============================================
   Accessibility & Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-card {
        animation: none;
        opacity: 1;
        transform: scale(1);
        filter: none;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
}

/* ============================================
   No-JS Fallback
   ============================================ */

/* Show all content by default (no JS) */
.chapter-content {
    opacity: 1 !important;
}

/* When JS is loaded, it adds .js class */
html.js .chapter-content {
    opacity: 0.3;
}

html.js .chapter.is-active .chapter-content {
    opacity: 1;
}