:root{color-scheme:light;--navy:#092b47;--ink:#23455b;--teal:#087f83;--line:#d9e9ec;--blue:#087dff}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:25px}
body{margin:0;background:#fbfdff;color:var(--ink);font-family:Nunito,"Trebuchet MS",system-ui,sans-serif;font-size:18px;line-height:1.7}
a{color:#086e9a;text-underline-offset:4px}
a:hover{text-decoration-thickness:2px}
a:focus-visible{outline:3px solid #ffb92f;outline-offset:5px;border-radius:3px}
.wrap{width:min(1100px,calc(100% - 48px));margin-inline:auto}
.header{background:var(--navy);color:#fff}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}
.brand{color:#fff;text-decoration:none;font-size:30px;font-weight:900;letter-spacing:-1px;white-space:nowrap}
.brand>span{color:#5ce5eb}
.brand small{font-size:12px;letter-spacing:3px;color:#7fe8ef;margin-left:4px}
.home-link{color:#e7faff;text-decoration:none;font-size:15px;font-weight:800}
.skip{position:absolute;top:-100px;left:15px;z-index:5;background:white;padding:10px}
.skip:focus{top:10px}
.hero{background:linear-gradient(125deg,#e1f7fa,#f0fcf6 60%,#fff4df);border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:32px;padding-block:48px 64px}
.eyebrow,.section-number,.topic-label{font-size:12px;letter-spacing:1.9px;font-weight:900;color:var(--teal)}
.eyebrow{margin:0 0 12px}
h1,h2,h3{color:var(--navy);line-height:1.18}
h1{font-size:clamp(56px,7vw,88px);letter-spacing:-3px;margin:0 0 10px}
.tagline{font-size:23px;font-weight:800;margin:0 0 16px;line-height:1.4}
.intro{font-size:17px;line-height:1.75;margin:0 0 24px}
.button{display:inline-flex;gap:20px;align-items:center;background:var(--navy);color:white;font-size:17px;font-weight:800;padding:12px 22px;border-radius:30px;text-decoration:none}
.button:hover{background:#104769}
.hero-figure{margin:0;text-align:center}
.hero-figure img{display:block;width:100%;height:auto;border-radius:35px}
figcaption{font-size:13px;line-height:1.5;margin:10px 15px 0;color:#476879}
.quick-facts{display:grid;grid-template-columns:repeat(3,1fr);margin-top:-26px;position:relative;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 35px #092b4709;padding:24px 16px;gap:10px}
.quick-facts>div{text-align:center;padding-inline:12px}
.quick-facts>div+div{border-left:1px solid var(--line)}
.quick-facts strong{display:block;color:var(--teal);font-size:27px;line-height:1.3;margin-bottom:5px}
.quick-facts span{font-size:14px;line-height:1.5;display:block}
.on-this-page{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;border-bottom:1px solid var(--line);padding:30px 0 22px;font-size:15px;font-weight:800}
.on-this-page span{color:#607580;font-size:13px;letter-spacing:1px;text-transform:uppercase}
.article-section{padding-block:44px;border-bottom:1px solid var(--line)}
.section-number{margin:0 0 10px}
h2{font-size:clamp(27px,3.4vw,38px);letter-spacing:-.8px;margin:0 0 20px}
h3{font-size:21px;margin:0 0 10px}
.section-intro{max-width:800px;margin:0 0 26px}
.fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.fact-card{position:relative;padding:26px;background:white;border:1px solid var(--line);border-radius:20px}
.fact-card:nth-child(2),.fact-card:nth-child(3){background:#f0fafb}
.card-number{display:block;font-size:13px;letter-spacing:1px;color:var(--teal);font-weight:900;margin-bottom:12px}
.fact-card p,.ecology-grid p{font-size:17px;margin:0}
.ref{font-size:12px;font-weight:700;white-space:nowrap}
.cycle-list{list-style:none;margin:28px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cycle-list li{display:flex;align-items:flex-start;gap:16px;padding:22px;background:#edf7fc;border-radius:18px}
.stage-number{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;background:var(--navy);color:#fff;border-radius:50%;font-weight:900;font-size:17px}
.cycle-list h3{font-size:19px;margin-top:5px}
.cycle-list p{font-size:16px;line-height:1.7;margin:0}
.cycle-note{font-size:15px;max-width:850px;margin:0;color:#496575}
.ecology-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.topic-label{display:block;margin-bottom:10px;font-size:11px}
.ancient-fact{display:flex;align-items:flex-start;gap:22px;padding:25px;background:#fff5dc;border:1px solid #f1dfb1;border-radius:20px;margin-top:30px}
.ancient-fact>span{font-size:36px;color:#ac7518;line-height:1.2}
.ancient-fact h3{margin-bottom:8px}
.ancient-fact p{margin:0;font-size:17px}
.sources{border-bottom:0;padding-bottom:60px}
.sources>p:not(.section-number){font-size:15px}
.sources ol{padding-left:24px;font-size:15px;margin-bottom:28px}
.sources li{padding:7px 0;overflow-wrap:anywhere}
.sources li:target{background:#fff1bb;outline:6px solid #fff1bb;border-radius:3px}
.footer{background:var(--navy);padding:26px 0;color:#dceefa;text-align:center;font-size:14px}
.footer p{margin:4px 0}
.footer strong{color:#fff}
.homeschool{border-top:1px solid #ffffff22;padding-top:16px;margin-top:18px!important;font-size:13px}
#science .feature-copy p{max-width:550px}
@media(max-width:760px){.hero-grid{grid-template-columns:1fr;gap:25px;padding-block:35px 50px}.hero-figure{max-width:540px;margin-inline:auto}.hero-figure img{max-height:370px;object-fit:contain}.quick-facts strong{font-size:23px}.fact-grid,.cycle-list,.ecology-grid{grid-template-columns:1fr}.ecology-grid{gap:28px}.cycle-list{gap:15px}.article-section{padding-block:34px}}
@media(max-width:480px){body{font-size:17px}.wrap{width:calc(100% - 32px)}.nav{min-height:72px;gap:12px}.brand{font-size:25px}.brand small{display:none}.home-link{font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.2px}h1{font-size:62px}.tagline{font-size:21px}.quick-facts{grid-template-columns:1fr;padding:6px 20px;gap:0}.quick-facts>div{padding:15px 0}.quick-facts>div+div{border-left:0;border-top:1px solid var(--line)}.quick-facts strong{font-size:24px}.on-this-page{gap:8px 18px}.fact-card{padding:22px}.cycle-list li{padding:20px 16px;gap:12px}.ancient-fact{padding:20px;gap:12px}.ancient-fact>span{font-size:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.hero{background:#082e45;color:#e6f5fa}.hero h1{color:white;font-family:Georgia,serif;font-weight:500}.hero .eyebrow{color:#79ddd8}.hero .intro a{color:#9de8ef}.hero .button{background:#f3cf65;color:#102d40}.hero-figure img{border-radius:3px;aspect-ratio:1.25;object-fit:cover}.hero-figure figcaption,.hero-figure a{color:#d3e8ef}h2{font-family:Georgia,serif;font-weight:500}.section-number{border-left:4px solid #dbb64e;padding-left:12px}.photo-notebook figure{margin:0}.photo-notebook img{width:100%;height:auto;max-height:540px;object-fit:cover}.animation-preview{position:relative;isolation:isolate;overflow:hidden;min-height:380px;background:radial-gradient(ellipse at top right,#16758a,#062339 65%);border-radius:8px}.floating-jelly{position:absolute;width:42%;height:90%;object-fit:contain;right:-1%;top:0;animation:drift 7s ease-in-out infinite}.j2{width:19%;right:28%;top:23%;opacity:.45;animation-delay:-3s}.preview-title{position:relative;z-index:2;width:60%;padding:42px;color:#c1f4f2}.preview-title>span{font-size:11px;letter-spacing:2px}.preview-title h3{font:clamp(26px,4vw,46px)/1.2 Georgia,serif;color:white;margin:20px 0 30px}.preview-title strong{display:inline-block;padding:8px 16px;background:#f4d374;color:#173545;border-radius:3px;font-size:13px;letter-spacing:2px}.bubble{position:absolute;width:12px;height:12px;border:1px solid #a4e5ee77;border-radius:50%;bottom:-20px;animation:rise 9s linear infinite}.b1{left:70%}.b2{left:85%;animation-delay:-4s}.b3{left:56%;animation-delay:-7s}.preview-caption{font-size:13px;color:#506b7b}details{padding:20px;border:1px solid var(--line)}summary{cursor:pointer;font-weight:bold}@keyframes drift{50%{transform:translateY(-18px) rotate(4deg)}}@keyframes rise{to{transform:translateY(-440px)}}@media(max-width:600px){.animation-preview{min-height:330px}.preview-title{padding:25px;width:68%}.floating-jelly{right:-8%;width:48%}.j2{right:22%;width:22%;top:35%}.preview-title h3{font-size:29px}}@media(prefers-reduced-motion:reduce){.floating-jelly,.bubble{animation:none}}

.footer a{color:inherit;text-underline-offset:4px}

/* The opening ocean scene and A2G's voice feature. */
body{background-color:#f4fbff;background-image:radial-gradient(circle at 100% 22%,#c6f8ed70,transparent 28%),radial-gradient(circle at 0 62%,#e9ddff66,transparent 24%)}
h2{font-family:Nunito,"Trebuchet MS",system-ui,sans-serif;font-weight:900;letter-spacing:-.7px}
.hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 90% 5%,#12a4b9,transparent 52%),linear-gradient(125deg,#09356d 5%,#075679 57%,#087b8b);border:0;color:#e8fcff}
.hero-grid{position:relative;z-index:1;align-items:center;gap:54px;padding-block:48px 72px}
.hero h1{font-family:Nunito,"Trebuchet MS",system-ui,sans-serif;font-weight:900;font-size:clamp(68px,7.8vw,102px);letter-spacing:-4px;text-shadow:0 5px 0 #002f5140}
.hero .eyebrow{display:inline-block;color:#b8fff0;padding:5px 12px;border:1px solid #94f1e34d;border-radius:30px;background:#083f5d66;letter-spacing:1.5px}
.hero .tagline{color:#b9f9ed;font-size:22px}
.hero .intro{color:#effbff;font-size:17px}
.hero .button{background:#ffe693;color:#0d3654;box-shadow:0 5px 0 #062c4c66;transition:transform .18s,box-shadow .18s}
.hero .button:hover{background:#fff0b5;transform:translateY(-2px);box-shadow:0 7px 0 #062c4c66}
.hero-visuals{display:grid;gap:22px;min-width:0}
.hero-figure{margin:0;transform:rotate(1.5deg)}
.hero-figure img{height:250px;aspect-ratio:auto;object-fit:cover;border:5px solid #e8ffff;border-radius:30px 30px 70px 30px;box-shadow:0 14px 28px #03283a33}
.hero-figure figcaption{max-width:95%;font-size:11px;color:#d7f5fa;line-height:1.5;margin:10px auto 0;transform:rotate(-1.5deg)}
.hero-figure a{color:#e5fdff}
.ocean-atmosphere{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.ocean-atmosphere:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(112deg,transparent 0 150px,#a2f2ed08 155px 200px,transparent 220px 320px);mask-image:linear-gradient(black,transparent)}
.ocean-bubble{position:absolute;width:24px;height:24px;bottom:-45px;border:2px solid #c8ffef40;border-radius:50%;box-shadow:inset 3px 3px 0 #efffff1a;animation:ocean-rise 17s linear infinite}
.ob1{left:4%;width:38px;height:38px;animation-delay:-3s}.ob2{left:45%;animation-delay:-12s}.ob3{left:58%;width:12px;height:12px;animation-delay:-6s}.ob4{left:94%;width:44px;height:44px;animation-delay:-9s}.ob5{left:33%;width:16px;height:16px;animation-delay:-15s}
.ocean-jelly{position:absolute;width:135px;opacity:.16;animation:ocean-drift 9s ease-in-out infinite}
.oj1{left:-32px;bottom:25px;transform:rotate(-15deg)}.oj2{right:-22px;top:12px;width:90px;opacity:.23;animation-delay:-4s}
.ocean-spark{position:absolute;color:#98f6e8;font-size:32px;opacity:.45}.os1{left:47%;top:14%}.os2{left:7%;bottom:10%;font-size:45px}
.ocean-wave{position:absolute;bottom:-60px;left:-10%;width:120%;height:94px;background:#f4fbff;border-radius:50% 50% 0 0;transform:rotate(-2deg)}
.ow1{bottom:-40px;opacity:.13;transform:rotate(3deg);animation:ocean-sway 12s ease-in-out infinite}.ow2{animation:ocean-sway 14s ease-in-out infinite reverse}
.fun-fact{--played:0%;position:relative;display:flex;align-items:center;gap:20px;min-height:168px;padding:22px;border:3px solid #fff6cd;border-radius:30px 30px 30px 9px;background:radial-gradient(circle at 96% 0,#fff8d8 0 24%,transparent 24.5%),radial-gradient(circle at 80% 140%,#ffd17d 0 37%,transparent 37.5%),linear-gradient(115deg,#fff1b4,#ffe49b);box-shadow:0 8px 0 #043f5c55,0 15px 38px #032b4c26;color:#103858;isolation:isolate;scroll-margin-top:24px}
.fun-fact:before,.fun-fact:after{content:"";position:absolute;border:2px solid #fffdf2b3;border-radius:50%;z-index:-1;pointer-events:none}.fun-fact:before{width:45px;height:45px;right:16px;bottom:12px}.fun-fact:after{width:18px;height:18px;right:73px;top:14px}
.fact-avatar-ring{position:relative;flex:0 0 112px;width:112px;height:112px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#087f83 var(--played),#fffdf2 0);box-shadow:0 7px 16px #07507925}
.fact-avatar{position:relative;overflow:hidden;width:100px;height:100px;border:3px solid #fffdf2;border-radius:50%;background:#1100ff;transform:translateZ(0)}
.fact-avatar video{position:absolute;width:275%;height:275%;max-width:none;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:cover;pointer-events:none}
.fact-copy{position:relative;z-index:1;min-width:0}
.fun-fact h2{font-family:Nunito,"Trebuchet MS",system-ui,sans-serif;color:#103858;font-weight:900;font-size:clamp(24px,2.4vw,29px);line-height:1.13;letter-spacing:-.8px;margin:0 0 14px}
.fact-listen{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 15px 8px 8px;border:0;border-radius:30px;font:800 15px/1.2 Nunito,"Trebuchet MS",system-ui,sans-serif;background:#103b5b;color:white;box-shadow:0 3px 0 #062b4340;cursor:pointer;transition:background .18s,transform .18s}
.fact-listen:hover{background:#05647a;transform:translateY(-2px)}.fact-listen:focus-visible{outline:3px solid #007d88;outline-offset:5px}
.fact-control-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:#fff4c8;color:#103b5b}.fact-control-icon svg{width:19px;height:19px}.pause-symbol{display:none}
.fact-sound{display:flex;align-items:center;gap:2px;height:17px;margin-left:1px}.fact-sound i{display:block;width:3px;height:5px;border-radius:5px;background:#92efdf}.fact-sound i:nth-child(2){height:12px}.fact-sound i:nth-child(3){height:17px}.fact-sound i:nth-child(4){height:9px}
.fun-fact[data-state="playing"] .play-symbol{display:none}.fun-fact[data-state="playing"] .pause-symbol{display:block}.fun-fact[data-state="playing"] .fact-sound i{animation:fact-beat .65s ease-in-out infinite alternate}.fun-fact[data-state="playing"] .fact-sound i:nth-child(2){animation-delay:-.2s}.fun-fact[data-state="playing"] .fact-sound i:nth-child(3){animation-delay:-.4s}.fun-fact[data-state="playing"] .fact-sound i:nth-child(4){animation-delay:-.1s}
.fact-spark{position:absolute;z-index:2;pointer-events:none;color:#077c87;text-shadow:0 2px white;font-size:26px}.fact-spark-one{left:12px;top:6px;transform:rotate(-12deg)}.fact-spark-two{right:16px;top:7px;color:#a76b16;font-size:21px}
.fact-fallback{display:block;font-size:13px;margin-top:8px;color:#103858}.fact-fallback[hidden]{display:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.quick-facts{border:0;padding:18px;gap:12px;background:white;border-radius:26px;box-shadow:0 8px 0 #d9edf2,0 15px 35px #092b470c}
.quick-facts>div{padding:13px 10px;border-radius:17px;background:#e6faf6}.quick-facts>div:nth-child(2){background:#f0eaff}.quick-facts>div:nth-child(3){background:#fff2ca}.quick-facts>div+div{border:0}.quick-facts strong{font-size:25px}
.fact-card{border-radius:24px;box-shadow:0 4px 0 #d9e9ec88}.fact-card:nth-child(2){background:#e9f5ff}.fact-card:nth-child(3){background:#f0eaff}.fact-card:nth-child(4){background:#fff6d9}.card-number{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#c7eee8;color:#075b60}
.photo-notebook img{border-radius:28px}.on-this-page{border-bottom:2px dashed #c6dfe8;padding-top:34px}.on-this-page a:first-of-type{padding:6px 12px;border-radius:20px;background:#fff0bc;color:#173d56}
@keyframes ocean-rise{from{transform:translateY(0)}to{transform:translateY(-760px)}}
@keyframes ocean-drift{0%,100%{translate:0 0;rotate:-5deg}50%{translate:0 -16px;rotate:5deg}}
@keyframes ocean-sway{0%,100%{translate:-1% 0}50%{translate:2% -6px}}
@keyframes fact-beat{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@media(max-width:1000px) and (min-width:761px){.hero-grid{gap:30px;grid-template-columns:1fr 1fr}.fun-fact{padding:18px 14px;gap:12px}.fact-avatar-ring{flex-basis:94px;width:94px;height:94px}.fact-avatar{width:82px;height:82px}.fun-fact h2{font-size:24px}.fact-listen{font-size:14px;padding-right:12px}}
@media(max-width:760px){.hero-grid{gap:30px;padding-block:34px 66px}.hero-visuals{width:100%;max-width:540px;margin-inline:auto}.hero-figure img{height:260px;max-height:none;object-fit:cover}.hero h1{font-size:76px}.hero .tagline{font-size:21px}.fun-fact{min-height:152px}.quick-facts{margin-top:-24px}.ocean-jelly.oj1{left:-70px;bottom:220px}.os1{left:auto;right:10%;top:8%}.fun-fact h2{font-size:28px}}
@media(max-width:480px){.fun-fact{gap:15px;padding:18px 14px;border-radius:26px 26px 26px 9px}.fact-avatar-ring{flex-basis:96px;width:96px;height:96px}.fact-avatar{width:84px;height:84px}.fun-fact h2{font-size:25px;letter-spacing:-.6px}.fact-listen{font-size:14px;gap:7px;padding-right:12px}.fact-sound{display:none}.hero-figure img{height:225px;border-radius:24px 24px 48px 24px}.hero .eyebrow{font-size:9px;letter-spacing:1px}.hero h1{font-size:72px}.quick-facts{gap:8px;padding:12px}.quick-facts>div{padding:13px}.quick-facts>div+div{border:0}.quick-facts strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.ocean-bubble,.ocean-jelly,.ocean-wave,.fun-fact[data-state="playing"] .fact-sound i{animation:none}.ocean-bubble{bottom:25%}.fact-listen,.hero .button{transition:none}}

/* 1-minute video summary */
.video-summary .video-frame{margin:18px 0 12px;border-radius:22px;overflow:hidden;background:#092b47;box-shadow:0 14px 34px #092b4730;aspect-ratio:16/9}
.video-summary video{display:block;width:100%;height:100%;object-fit:cover;background:#092b47}
.video-text{margin-top:6px;font-size:.95em}.video-text summary{cursor:pointer;font-weight:800;color:#0867c6}.video-text summary:focus-visible{outline:3px solid #efad24;outline-offset:4px}.video-text li{margin:8px 0}
