:root {
  --navy: #062a4e;
  --sea: #0b5f89;
  --sand: #e8d5b5;
  --ivory: #f8f6f1;
  --coral: #c93a43;
  --ink: #092642;
  --muted: #637381;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

/* Intro videogioco di calcio anni Novanta */
.retro-intro[hidden] { display: none !important; }
.retro-intro { position: fixed; z-index: 5000; inset: 0; display: grid; place-items: center; overflow: hidden; background: #050914; color: white; opacity: 1; transition: opacity .6s ease, visibility .6s ease; animation: retro-failsafe .01s linear 8s forwards; }
.retro-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.retro-game { position: relative; width: min(100vw,980px); height: min(100vh,650px); min-height: 520px; overflow: hidden; border: 8px solid #111a32; background: #102a59; box-shadow: 0 0 0 4px #050914, 0 0 70px rgb(30 121 255 / .28); font-family: "Avenir Next","Segoe UI",Arial,sans-serif; }
.retro-score { position: absolute; z-index: 5; top: 18px; left: 50%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; width: min(90%,620px); padding: 11px 18px; border: 4px solid #dce9ff; background: #07142c; color: #ffe244; font-size: clamp(.72rem,2vw,1rem); font-weight: 900; text-align: center; text-shadow: 3px 3px 0 #000; transform: translateX(-50%); }
.retro-score strong { color: white; }
.retro-crowd { position: absolute; inset: 0 0 auto; height: 31%; overflow: hidden; background-color: #152348; background-image: radial-gradient(circle,#ffdd3b 0 2px,transparent 3px),radial-gradient(circle,#f84f55 0 2px,transparent 3px),radial-gradient(circle,#56a8ff 0 2px,transparent 3px); background-position: 0 0,8px 9px,16px 2px; background-size: 24px 18px; border-bottom: 8px solid #e7eef9; }
.retro-flags i { position: absolute; bottom: 13px; width: 6px; height: 65px; background: #d8d8d8; transform-origin: bottom; animation: retro-flag-wave 1.15s ease-in-out infinite alternate; }
.retro-flags i::before { content: ""; position: absolute; top: 0; left: 6px; width: 45px; height: 28px; border: 3px solid #10162a; background: linear-gradient(90deg,#138748 0 33%,#fff 33% 66%,#d92737 66%); }
.retro-flags .flag-1 { left: 6%; }.retro-flags .flag-2 { left: 24%; animation-delay: -.25s; }.retro-flags .flag-3 { right: 30%; animation-delay: -.4s; }.retro-flags .flag-4 { right: 11%; animation-delay: -.15s; }.retro-flags .flag-5 { left: 43%; animation-delay: -.55s; }
.retro-flags .flag-2::before,.retro-flags .flag-4::before { background: repeating-linear-gradient(45deg,#0b5f89 0 8px,#f2d93b 8px 16px); }
.retro-field { position: absolute; inset: 31% 0 0; overflow: hidden; background: repeating-linear-gradient(90deg,#18813d 0 75px,#19753a 75px 150px); border-top: 8px solid #fff; perspective: 600px; transform-origin: 50% 72%; animation: match-camera-move 6.2s cubic-bezier(.18,.72,.18,1) both; }
.retro-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgb(255 255 255 / .08),transparent 45%); pointer-events: none; }
.match-camera-flare { position: absolute; z-index: 8; inset: -35%; background: linear-gradient(112deg,transparent 39%,rgb(255 255 255 / .16) 48%,transparent 57%); transform: translateX(-55%); animation: match-camera-flare 2.3s ease-out .35s forwards; pointer-events: none; }
.retro-goal { position: absolute; top: 5%; left: 50%; width: 220px; height: 92px; border: 8px solid #f7f7ed; border-bottom: 0; background: repeating-linear-gradient(90deg,transparent 0 22px,rgb(255 255 255 / .45) 22px 25px),repeating-linear-gradient(0deg,transparent 0 18px,rgb(255 255 255 / .45) 18px 21px); transform: translateX(-50%); filter: drop-shadow(7px 7px 0 rgb(0 0 0 / .35)); }
.retro-box { position: absolute; top: 5%; left: 50%; width: 520px; height: 235px; border: 7px solid rgb(255 255 255 / .9); border-top: 0; transform: translateX(-50%) perspective(400px) rotateX(15deg); transform-origin: top; }
.retro-spot { position: absolute; top: 57%; left: 50%; width: 9px; height: 9px; background: white; border-radius: 50%; transform: translate(-50%,-50%); }
.retro-ball { position: absolute; z-index: 3; top: 61%; left: calc(50% - 85px); width: 32px; height: 32px; border: 4px solid #111; border-radius: 50%; background: radial-gradient(circle at 50% 40%,#111 0 5px,transparent 6px),#fff; box-shadow: 5px 6px 0 rgb(0 0 0 / .35); animation: retro-ball-bounce .5s steps(2,end) 1.2s 3; }
.retro-player { position: absolute; z-index: 2; width: 22px; height: 42px; border: 4px solid #111; box-shadow: 0 8px 0 -2px #111; animation: retro-player-step 1.1s ease-in-out infinite alternate; }
.retro-player::before { content: ""; position: absolute; top: -20px; left: -1px; width: 16px; height: 16px; border: 3px solid #111; background: #c78e67; }
.retro-player::after { content: ""; position: absolute; left: 0; bottom: -24px; width: 7px; height: 24px; background: #17213a; box-shadow: 11px 0 #17213a; }
.home-player { background: #1674cc; }.away-player { background: #d63442; }
.player-1 { top: 24%; left: 12%; }.player-2 { top: 28%; right: 14%; animation-delay: -.3s; }.player-3 { top: 63%; left: 24%; animation-delay: -.15s; }.player-4 { top: 66%; right: 24%; animation-delay: -.45s; }.player-5 { top: 39%; left: 37%; animation-delay: -.25s; }.player-6 { top: 32%; right: 36%; animation-delay: -.5s; }
.fluid-referee { position: absolute; z-index: 6; left: 40%; bottom: -4%; width: min(31vw,245px); transform: translateX(-50%) translate(-56px,70px) scale(.88); opacity: 0; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .34)); animation: fluid-referee-enter 1.05s cubic-bezier(.2,.8,.2,1) .25s forwards,fluid-referee-breathe 2.4s ease-in-out 1.35s infinite alternate; }
.fluid-referee svg { display: block; width: 100%; overflow: visible; }
.ref-shadow { fill: rgb(0 0 0 / .28); transform-box: fill-box; transform-origin: center; animation: fluid-shadow 2.4s ease-in-out 1.35s infinite alternate; }
.ref-body { transform-origin: 130px 335px; }
.ref-leg { fill: #181d28; stroke: #070a10; stroke-width: 7; stroke-linejoin: round; }
.ref-sock { fill: #141922; }.ref-shorts { fill: #111722; stroke: #070a10; stroke-width: 7; stroke-linejoin: round; }
.ref-torso { fill: #f0cf35; stroke: #080b12; stroke-width: 8; stroke-linejoin: round; }
.ref-collar { fill: none; stroke: #111722; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ref-pocket { fill: #d8b923; stroke: #111722; stroke-width: 3; }
.ref-left-arm,.ref-card-arm path { fill: none; stroke: #d79b72; stroke-width: 23; stroke-linecap: round; }
.ref-left-arm { stroke-dasharray: 110; stroke-dashoffset: 110; animation: fluid-arm-draw .7s ease .55s forwards; }
.ref-hand,.ref-neck,.ref-head-fluid { fill: #d79b72; stroke: #17121a; stroke-width: 5; }
.ref-card-arm { transform-box: view-box; transform-origin: 169px 113px; transform: rotate(58deg); animation: fluid-card-arm 1.1s cubic-bezier(.16,.85,.25,1.18) 1.05s forwards; }
.ref-card { fill: #ffe229; stroke: #17121a; stroke-width: 6; opacity: 0; transform-box: fill-box; transform-origin: center; animation: fluid-card-reveal .35s ease 1.35s forwards,fluid-card-pulse 1.05s ease-in-out 2.1s infinite alternate; }
.ref-hair { fill: #17121a; }.ref-brow,.ref-mouth { fill: none; stroke: #3a2622; stroke-width: 4; stroke-linecap: round; }.ref-whistle-line { fill: none; stroke: #111722; stroke-width: 4; }.ref-whistle-fluid { fill: #dfe7ea; stroke: #111722; stroke-width: 4; }
.fluid-whistle-text { position: absolute; top: 24%; right: -10%; padding: 8px 13px; border: 2px solid rgb(255 255 255 / .55); border-radius: 999px; background: rgb(6 42 78 / .86); color: white; font-size: .85rem; font-weight: 900; letter-spacing: .12em; opacity: 0; transform: translate(-12px,10px) scale(.8); animation: fluid-whistle-call 1.15s cubic-bezier(.2,.8,.2,1) .75s forwards; }
.fluid-cautioned-player { position: absolute; z-index: 5; left: 63%; bottom: -3%; width: min(29vw,225px); opacity: 0; transform: translateX(-50%) translate(92px,32px) scale(.94); filter: drop-shadow(0 18px 18px rgb(0 0 0 / .3)); animation: cautioned-player-enter 1.15s cubic-bezier(.2,.82,.2,1) .4s forwards,cautioned-player-react 1s cubic-bezier(.25,.75,.25,1) 1.65s forwards; }
.fluid-cautioned-player svg { display: block; width: 100%; overflow: visible; }
.player-shadow { fill: rgb(0 0 0 / .25); transform-box: fill-box; transform-origin: center; animation: fluid-shadow 2.5s ease-in-out 1.5s infinite alternate; }
.cautioned-body { transform-box: view-box; transform-origin: 122px 332px; }
.cautioned-leg { fill: #17223a; stroke: #080c15; stroke-width: 7; stroke-linejoin: round; }
.cautioned-sock { fill: #e7edf8; stroke: #080c15; stroke-width: 5; }
.cautioned-shorts { fill: #f6f8fc; stroke: #080c15; stroke-width: 7; stroke-linejoin: round; }
.cautioned-shirt { fill: #1474cc; stroke: #080c15; stroke-width: 8; stroke-linejoin: round; }
.cautioned-stripe { fill: #0a569d; opacity: .85; }
.cautioned-number { fill: white; font: 900 52px "Avenir Next","Segoe UI",Arial,sans-serif; text-anchor: middle; paint-order: stroke; stroke: #0a569d; stroke-width: 5; }
.cautioned-arm { fill: none; stroke: #ba7c58; stroke-width: 23; stroke-linecap: round; }
.cautioned-arm-left { transform-box: view-box; transform-origin: 82px 116px; animation: player-arm-settle .8s ease 1.65s forwards; }
.cautioned-arm-right { transform-box: view-box; transform-origin: 162px 114px; animation: player-arm-settle-right .8s ease 1.65s forwards; }
.cautioned-hand,.cautioned-neck,.cautioned-face { fill: #ba7c58; stroke: #17121a; stroke-width: 5; }
.cautioned-head { transform-box: view-box; transform-origin: 119px 94px; animation: player-head-turn .75s cubic-bezier(.2,.85,.2,1.2) 1.45s forwards; }
.cautioned-hair { fill: #201714; }.cautioned-profile { fill: none; stroke: #492d27; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }.cautioned-eye { fill: #211613; }
.player-reaction { position: absolute; top: 27%; right: -30%; padding: 7px 10px; border: 2px solid rgb(255 255 255 / .55); border-radius: 999px; background: rgb(6 42 78 / .88); color: white; font-size: .67rem; font-weight: 850; letter-spacing: .08em; white-space: nowrap; opacity: 0; transform: translate(-10px,7px) scale(.85); animation: player-reaction-in .65s ease 2.2s forwards; }
.retro-referee { position: absolute; z-index: 4; top: 44%; left: calc(50% + 82px); width: 74px; height: 142px; filter: drop-shadow(7px 7px 0 rgb(0 0 0 / .28)); animation: retro-ref-step .45s steps(2,end) 2; }
.retro-referee i { position: absolute; display: block; }
.retro-head { top: 0; left: 25px; width: 28px; height: 28px; border: 4px solid #1a1020; background: #d49b70; }
.retro-shirt { top: 28px; left: 16px; width: 46px; height: 58px; border: 4px solid #111; background: repeating-linear-gradient(90deg,#202020 0 9px,#f0df3e 9px 18px); }
.retro-arm { top: 34px; width: 18px; height: 57px; border: 4px solid #111; background: #d49b70; transform-origin: 50% 8px; }
.arm-left { left: 2px; transform: rotate(18deg); }
.arm-right { right: 0; animation: retro-arm-up .45s steps(3,end) 1.05s forwards; }
.retro-leg { top: 82px; width: 18px; height: 54px; border: 4px solid #111; background: #171721; }
.leg-left { left: 17px; transform: rotate(5deg); }.leg-right { right: 11px; transform: rotate(-5deg); }
.retro-whistle { z-index: 6; top: 24px; right: 10px; width: 13px; height: 8px; border: 3px solid #111; background: #e8e8e8; opacity: 0; animation: retro-whistle-show .1s steps(1,end) .9s forwards; }
.retro-whistle-text { position: absolute; z-index: 7; top: 35%; left: calc(50% + 145px); padding: 8px 12px; border: 4px solid #111; background: white; color: #111; font-size: 1rem; font-weight: 900; opacity: 0; transform: rotate(-5deg) scale(.5); animation: retro-callout .6s steps(3,end) 1.2s forwards; }
.retro-decision { position: absolute; z-index: 10; left: 50%; bottom: 54px; display: flex; align-items: center; justify-content: center; gap: 13px; width: min(90%,700px); padding: 13px 20px; border: 2px solid rgb(255 255 255 / .72); border-radius: 12px; background: linear-gradient(90deg,rgb(5 35 67 / .97),rgb(8 75 113 / .96)); color: white; font-size: clamp(1.05rem,3.5vw,1.75rem); font-weight: 900; letter-spacing: .04em; text-align: left; box-shadow: 0 16px 35px rgb(0 0 0 / .28); opacity: 0; transform: translate(-50%,35px) scale(.96); animation: retro-decision-in .7s cubic-bezier(.2,.8,.2,1) 2.35s forwards; }
.retro-decision > span:last-child { display: flex; flex-direction: column; }
.retro-decision small { margin-bottom: 2px; color: #bcd6e8; font-size: .55em; font-weight: 750; letter-spacing: .13em; }
.yellow-card-icon { display: inline-block; width: .72em; height: 1.08em; margin-right: .28em; border: 2px solid #a98700; border-radius: 2px; background: #ffe229; box-shadow: 0 0 18px rgb(255 226 41 / .7); vertical-align: -.12em; transform: rotate(-5deg); }
.retro-continue { position: absolute; z-index: 11; left: 50%; bottom: 17px; color: white; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-shadow: 2px 2px 0 #000; opacity: 0; transform: translateX(-50%); white-space: nowrap; animation: retro-continue-blink .7s steps(2,end) 2.8s infinite; }
.retro-skip { position: fixed; z-index: 5010; top: 20px; right: 22px; padding: 10px 14px; border: 2px solid rgb(255 255 255 / .65); border-radius: 5px; background: rgb(0 0 0 / .5); color: white; font: 700 .72rem "Courier New",monospace; cursor: pointer; }
.retro-skip:hover,.retro-skip:focus-visible { background: white; color: #111; }
.retro-audio-toggle { position: fixed; z-index: 5010; top: 20px; left: 22px; padding: 10px 14px; border: 2px solid #ffe244; border-radius: 5px; background: #07142c; color: #ffe244; font: 800 .72rem "Courier New",monospace; cursor: pointer; }
.retro-audio-toggle[hidden] { display: none; }
.retro-enter { position: absolute; z-index: 12; right: 18px; bottom: 14px; padding: 9px 12px; border: 3px solid #fff; background: #07142c; color: #fff; font: 900 .68rem "Courier New",monospace; cursor: pointer; opacity: 0; animation: retro-enter-show .2s steps(1,end) 2.8s forwards; }
.retro-enter:hover,.retro-enter:focus-visible { background: #ffe244; color: #111; }
@keyframes retro-ball-bounce { 50% { transform: translateY(-12px); } }
@keyframes retro-ref-step { 50% { transform: translateY(-5px); } }
@keyframes retro-player-step { 50% { transform: translateY(-4px); } }
@keyframes retro-flag-wave { to { transform: skewX(-8deg); } }
@keyframes retro-arm-up { to { top: 8px; right: 1px; transform: rotate(-145deg); } }
@keyframes retro-whistle-show { to { opacity: 1; } }
@keyframes retro-callout { to { opacity: 1; transform: rotate(-5deg) scale(1); } }
@keyframes retro-decision-in { to { opacity: 1; transform: translate(-50%,0) scale(1); } }
@keyframes retro-decision-flash { 50% { color: white; background: #0b5f89; } }
@keyframes retro-continue-blink { 50% { opacity: 1; } }
@keyframes retro-enter-show { to { opacity: 1; } }
@keyframes retro-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes match-camera-move { 0% { transform: scale(1.09) translate3d(2.5%,1.5%,0); filter: saturate(.85) brightness(.88); } 45% { transform: scale(1.035) translate3d(-1%,0,0); filter: saturate(1.05) brightness(1); } 100% { transform: scale(1) translate3d(0,0,0); filter: saturate(1) brightness(1); } }
@keyframes match-camera-flare { 0% { transform: translateX(-55%) rotate(2deg); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateX(55%) rotate(2deg); opacity: 0; } }
@keyframes fluid-referee-enter { to { opacity: 1; transform: translateX(-50%) translate(0,0) scale(1); } }
@keyframes fluid-referee-breathe { to { transform: translateX(-50%) translateY(-5px) scale(1.015); } }
@keyframes fluid-shadow { to { opacity: .55; transform: scaleX(.9); transform-origin: center; } }
@keyframes fluid-arm-draw { to { stroke-dashoffset: 0; } }
@keyframes fluid-card-arm { to { transform: rotate(0deg); } }
@keyframes fluid-card-reveal { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes fluid-card-pulse { to { filter: brightness(1.16); transform: scale(1.06); } }
@keyframes fluid-whistle-call { 45%,100% { opacity: 1; transform: translate(0,0) scale(1); } 75% { opacity: 1; transform: translate(6px,-3px) scale(1.06); } }
@keyframes cautioned-player-enter { to { opacity: 1; transform: translateX(-50%) translate(0,0) scale(1); } }
@keyframes cautioned-player-react { to { transform: translateX(-50%) translate(9px,0) scale(1); } }
@keyframes player-head-turn { to { transform: rotate(-11deg) translateX(-4px); } }
@keyframes player-arm-settle { to { transform: rotate(-7deg); } }
@keyframes player-arm-settle-right { to { transform: rotate(8deg); } }
@keyframes player-reaction-in { to { opacity: 1; transform: translate(0,0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .retro-intro { display: none !important; } }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 5vw;
  color: white;
  border-bottom: 1px solid rgb(255 255 255 / .22);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.08rem; letter-spacing: .02em; }
.brand small { margin-top: 4px; font-size: .66rem; opacity: .72; text-transform: uppercase; letter-spacing: .1em; }
.mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .32);
}
.mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
nav { display: flex; align-items: center; gap: 28px; font-size: .83rem; font-weight: 650; }
nav a { position: relative; padding: 36px 0; }
nav a::after { content: ""; position: absolute; left: 0; bottom: 25px; width: 0; height: 2px; background: var(--coral); transition: width .2s; }
nav a:hover::after, nav a:focus-visible::after { width: 100%; }
.header-cta { padding: 12px 18px; border: 1px solid rgb(255 255 255 / .6); border-radius: 10px; font-size: .8rem; font-weight: 750; }

.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy) url("../images/hero-aiaostia.png") center / cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(2 22 43 / .94) 0%, rgb(4 36 62 / .78) 38%, rgb(4 36 62 / .12) 70%), linear-gradient(0deg, rgb(3 29 51 / .55), transparent 55%); }
.hero-content { position: relative; z-index: 1; width: min(680px, 80vw); margin-left: 8vw; padding-top: 84px; }
.eyebrow { margin: 0 0 18px; font-size: .75rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; color: var(--sand); }
.eyebrow.dark { color: var(--sea); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 650px; margin: 0; font-size: clamp(3.7rem, 6.2vw, 6.5rem); line-height: .94; }
.hero-copy { max-width: 560px; margin: 28px 0 0; color: rgb(255 255 255 / .78); font-size: 1.15rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 25px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; font-size: .88rem; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary, .button.coral { background: var(--coral); color: white; }
.button.ghost { border-color: rgb(255 255 255 / .55); background: rgb(255 255 255 / .05); }
.scroll-cue { position: absolute; z-index: 1; right: 5vw; bottom: 34px; display: flex; align-items: center; gap: 18px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue b { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgb(255 255 255 / .45); border-radius: 50%; }

.stats { position: relative; z-index: 2; width: min(1120px, 90vw); margin: -48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); background: white; box-shadow: 0 18px 50px rgb(6 42 78 / .12); }
.stats div { padding: 29px 38px; border-right: 1px solid #e7e9e8; }
.stats div:last-child { border: 0; }
.stats strong, .stats span { display: block; }
.stats strong { margin-bottom: 7px; font-family: Georgia, serif; font-size: 1.35rem; color: var(--navy); }
.stats span { color: var(--muted); font-size: .77rem; }

.section { padding: 110px max(6vw, calc((100vw - 1220px)/2)); }
.intro { display: grid; grid-template-columns: .7fr 1.6fr; gap: 10vw; }
.section-kicker { display: flex; align-items: flex-start; gap: 18px; padding-top: 10px; color: var(--sea); }
.section-kicker span { font-family: Georgia, serif; font-size: 3rem; opacity: .25; }
.section-kicker p { max-width: 120px; margin: 10px 0; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 750; }
.intro h2, .section-heading h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1.05; }
.intro-copy > p:not(.eyebrow) { max-width: 720px; margin: 30px 0; color: var(--muted); line-height: 1.8; font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 20px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid currentColor; color: var(--sea); font-weight: 750; font-size: .86rem; }

.activities { background: var(--navy); color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 55px; }
.section-heading > p { max-width: 430px; color: rgb(255 255 255 / .62); line-height: 1.75; }
.activity-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgb(255 255 255 / .2); }
.activity-grid article { min-height: 260px; padding: 34px 34px 28px 0; border-right: 1px solid rgb(255 255 255 / .2); }
.activity-grid article:not(:first-child) { padding-left: 34px; }
.activity-grid article:last-child { border: 0; }
.activity-grid span { color: var(--sand); font: 1.7rem Georgia,serif; opacity: .65; }
.activity-grid h3 { margin: 70px 0 12px; font: 1.45rem Georgia,serif; }
.activity-grid p { color: rgb(255 255 255 / .6); font-size: .9rem; line-height: 1.65; }

.news-section { background: #fff; }
.news-section .section-heading { align-items: center; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { background: var(--ivory); transition: transform .22s, box-shadow .22s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgb(6 42 78 / .12); }
.news-art { height: 210px; position: relative; overflow: hidden; background: linear-gradient(145deg,var(--sea),var(--navy)); }
.news-art::after { content: ""; position: absolute; width: 200px; height: 200px; border: 1px solid rgb(255 255 255 / .23); border-radius: 50%; right: -30px; top: 30px; box-shadow: 0 0 0 35px rgb(255 255 255 / .04), 0 0 0 70px rgb(255 255 255 / .03); }
.art-2 { background: linear-gradient(145deg,#d9bd8f,#8b603e); }
.art-3 { background: linear-gradient(145deg,#174a67,#052238); }
.news-art span { position: absolute; z-index: 1; left: 22px; bottom: 20px; padding: 7px 10px; background: white; color: var(--navy); font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.news-body { padding: 25px; }
.news-body time { color: var(--sea); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.news-body h3 { min-height: 62px; margin: 13px 0; font: 1.4rem/1.2 Georgia,serif; }
.news-body p { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.news-body a { display: inline-block; margin-top: 14px; color: var(--sea); font-size: .78rem; font-weight: 800; }

.history-callout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px,7vw,100px); align-items: center; overflow: hidden; background: #0a365a; color: white; }
.history-callout-images { position: relative; min-height: 520px; }
.history-callout-images img { position: absolute; display: block; object-fit: cover; border: 8px solid rgb(255 255 255 / .1); box-shadow: 0 28px 65px rgb(1 20 37 / .35); }
.history-callout-images img:first-child { inset: 0 10% 8% 0; width: 78%; height: 78%; }
.history-callout-images img:last-child { right: 0; bottom: 0; width: 58%; height: 52%; }
.history-callout-copy h2 { margin: 0; font-size: clamp(2.7rem,4.7vw,5rem); line-height: 1; }
.history-callout-copy > p:not(.eyebrow) { margin: 28px 0 32px; color: rgb(255 255 255 / .72); font-size: 1rem; line-height: 1.75; }

.join { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; padding: 100px max(6vw, calc((100vw - 1220px)/2)); background: linear-gradient(120deg,#0a567c,var(--navy)); color: white; }
.join h2 { max-width: 650px; margin: 0; font-size: clamp(2.7rem,4.6vw,5rem); line-height: 1; }
.join > div:last-child p { margin: 0 0 28px; color: rgb(255 255 255 / .68); line-height: 1.75; }
.course-section { grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(45px,7vw,105px); }
.course-poster { display: flex; justify-content: center; }
.course-poster a { display: block; width: min(100%,430px); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgb(0 0 0 / .38); transition: transform .2s; }
.course-poster a:hover, .course-poster a:focus-visible { transform: translateY(-4px); }
.course-poster img { display: block; width: 100%; height: auto; }
.course-copy h2 { margin-bottom: 30px; }
.course-date { display: grid; gap: 5px; margin-bottom: 26px; padding: 20px 22px; border-left: 5px solid #ffe146; border-radius: 0 12px 12px 0; background: rgb(255 255 255 / .09); }
.course-date small { color: var(--sand); font-size: .65rem; font-weight: 850; letter-spacing: .15em; }
.course-date strong { font: 1.65rem Georgia,serif; }
.course-date span { color: #ffe146; font-size: 1.1rem; font-weight: 850; }
.course-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 28px; margin: 0 0 30px; padding: 0; list-style: none; }
.course-benefits li { position: relative; padding-left: 20px; color: rgb(255 255 255 / .82); font-size: .82rem; }
.course-benefits li::before { content: "✓"; position: absolute; left: 0; color: #ffe146; font-weight: 900; }
.course-form { position: relative; display: grid; gap: 18px; margin-top: 30px; padding: 24px; border: 1px solid rgb(255 255 255 / .2); border-radius: 16px; background: rgb(0 0 0 / .14); }
.course-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.course-form-grid label { display: grid; gap: 7px; color: white; font-size: .72rem; font-weight: 800; }
.course-form-grid label.wide { grid-column: 1/-1; }
.course-form input[type="text"], .course-form input[type="date"], .course-form input[type="tel"], .course-form input[type="email"] { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid rgb(255 255 255 / .34); border-radius: 9px; background: white; color: var(--ink); font: inherit; font-size: .86rem; }
.course-form input:focus-visible { outline: 3px solid rgb(255 225 70 / .45); outline-offset: 2px; border-color: #ffe146; }
.course-consent { display: flex; align-items: flex-start; gap: 10px; color: rgb(255 255 255 / .8); font-size: .72rem; line-height: 1.5; }
.course-consent input { width: 18px; height: 18px; margin-top: 1px; flex: 0 0 18px; accent-color: var(--coral); }
.course-human-check { display: flex; align-items: center; gap: 13px; width: min(100%,310px); min-height: 70px; padding: 13px 16px; border: 1px solid #c9d2d8; border-radius: 8px; background: #f7f8f8; color: var(--ink); box-shadow: 0 4px 12px rgb(0 0 0 / .1); cursor: pointer; }
.course-human-check input { width: 25px; height: 25px; flex: 0 0 25px; accent-color: var(--sea); cursor: pointer; }
.course-human-check span { display: grid; gap: 3px; }
.course-human-check strong { font-size: .86rem; }
.course-human-check small { color: var(--muted); font-size: .62rem; font-weight: 650; }
.course-form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.course-form button { border: 0; cursor: pointer; font: inherit; }
.course-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.course-download { border-color: rgb(255 255 255 / .5); color: white; }
.course-fallback { margin-top: 16px !important; font-size: .76rem; }
.course-email { display: inline-block; color: #ffe146; font-size: .82rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.course-message { margin: 0 0 20px; padding: 15px 17px; border-radius: 10px; font-size: .8rem; line-height: 1.55; }
.course-message.success { border: 1px solid #9bddb2; background: #e3f5e9; color: #145c2c; }
.course-message.error { border: 1px solid #f1b4b4; background: #fff0f0; color: #8e2424; }
.course-message a { color: inherit; font-weight: 850; text-decoration: underline; }
footer { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding: 70px 6vw 25px; background: #031b30; color: white; }
.footer-brand { display: flex; gap: 18px; }
.footer-brand strong { font: 1.45rem Georgia,serif; }
.footer-brand p { color: rgb(255 255 255 / .55); font-size: .78rem; }
footer > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
footer small { margin-bottom: 10px; color: var(--sand); letter-spacing: .12em; font-size: .62rem; }
footer a { color: rgb(255 255 255 / .7); font-size: .82rem; }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; gap: 9px; width: fit-content; transition: color .2s; }
.social-links a:hover, .social-links a:focus-visible { color: #fff; }
.social-links svg { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; }
.legal { grid-column: 1/-1; margin: 35px 0 0; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .13); color: rgb(255 255 255 / .4); font-size: .68rem; }

.inner-header { position: relative; background: var(--navy); }
.inner-header + .page-hero { padding-top: 90px; }
.page-hero { padding: 85px max(6vw,calc((100vw - 1220px)/2)); background: linear-gradient(135deg,var(--navy),var(--sea)); color: white; }
.page-hero h1 { font-size: clamp(3rem,5vw,5.4rem); }
.page-hero p:last-child { max-width: 600px; color: rgb(255 255 255 / .7); line-height: 1.7; }
.archive { min-height: 600px; background: white; }
.filters { display: flex; gap: 12px; margin-bottom: 38px; flex-wrap: wrap; }
.filter { padding: 10px 15px; border: 1px solid #d8dfdf; border-radius: 999px; background: white; color: var(--ink); font: inherit; font-size: .78rem; cursor: pointer; }
.filter.active { background: var(--navy); color: white; }
.archive-list { display: grid; gap: 18px; }
.archive-item { display: grid; grid-template-columns: 150px 1fr; align-items: start; gap: 35px; padding: 30px 0; border-top: 1px solid #e5e8e8; }
.archive-item time { color: var(--sea); font-size: .75rem; font-weight: 750; text-transform: uppercase; }
.archive-item h2 { margin: 0 0 8px; font-size: 1.7rem; }
.archive-item p { margin: 0; color: var(--muted); font-size: .86rem; }
.archive-details { margin-top: 15px; }
.archive-details summary {
  width: fit-content;
  color: var(--coral);
  font-size: .76rem;
  font-weight: 850;
  cursor: pointer;
}
.archive-details summary::marker { color: var(--coral); }
.archive-details .archive-content {
  max-width: 820px;
  margin-top: 17px;
  padding: 18px 20px;
  border-left: 3px solid var(--sand);
  background: var(--ivory);
  color: #3d5363;
  line-height: 1.75;
  white-space: pre-wrap;
}
.news-photo-gallery {
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
  margin-top: 16px;
}
.news-photo-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dce3e5;
  border-radius: 11px;
  background: white;
}
.news-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e9eef0;
}
.news-photo-frame img { object-fit: cover; }
.news-photo-gallery figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
}
.empty { padding: 50px 0; color: var(--muted); }

.editor-shell { min-height: 100vh; background: #edf1f2; }
.editor-card { width: min(760px,90vw); margin: 70px auto; padding: 40px; background: white; box-shadow: 0 15px 45px rgb(6 42 78 / .1); }
.editor-card h1 { font-size: 3.3rem; color: var(--navy); }
.editor-card label { display: grid; gap: 7px; margin-top: 18px; color: var(--ink); font-size: .78rem; font-weight: 750; }
.editor-card input, .editor-card textarea, .editor-card select { width: 100%; border: 1px solid #cad3d5; border-radius: 8px; padding: 13px; font: inherit; color: var(--ink); background: white; }
.editor-card textarea { min-height: 150px; resize: vertical; }
.editor-card button { margin-top: 24px; border: 0; cursor: pointer; }
.form-status { margin-top: 18px; color: var(--sea); font-weight: 700; }
.editor-maintenance { text-align: center; }
.editor-maintenance > p:not(.eyebrow) {
  max-width: 580px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  line-height: 1.75;
}
.editor-maintenance .button { margin-top: 20px; }
.maintenance-badge {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fff0d4;
  font-size: 2rem;
}

.editorial-access-page { background: #f4f6f7; }
.editor-header {
  min-height: 86px;
  padding-top: 0;
  padding-bottom: 0;
  background: #041f39;
}
.preview-pill {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid rgb(232 213 181 / .42);
  border-radius: 999px;
  color: var(--sand);
  font-size: .61rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.editor-header .header-cta { margin-left: 0; }
.editor-access-layout {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(390px,.88fr) minmax(560px,1.12fr);
}
.editor-access-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(64px,7vw,108px) clamp(46px,6vw,92px);
  background:
    radial-gradient(circle at 100% 5%, rgb(255 255 255 / .09), transparent 31%),
    linear-gradient(145deg,#083d65 0%,#062a4e 52%,#031b30 100%);
  color: white;
}
.editor-access-intro::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgb(255 255 255 / .025), 0 0 0 105px rgb(255 255 255 / .02);
  pointer-events: none;
}
.editor-access-intro > * { position: relative; z-index: 1; }
.editor-access-intro h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.2rem,5vw,6rem);
  line-height: .96;
}
.editor-access-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / .7);
  font-size: 1.02rem;
  line-height: 1.72;
}
.access-flow {
  max-width: 680px;
  display: grid;
  gap: 0;
  margin: 43px 0 0;
  padding: 0;
  list-style: none;
}
.access-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 0 0 26px;
}
.access-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 4px;
  left: 17px;
  width: 1px;
  background: rgb(232 213 181 / .3);
}
.access-flow li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(232 213 181 / .44);
  border-radius: 50%;
  color: var(--sand);
  font: .72rem Georgia,serif;
}
.access-flow strong { font: 1.08rem Georgia,serif; }
.access-flow p {
  margin: 6px 0 0;
  color: rgb(255 255 255 / .57);
  font-size: .79rem;
  line-height: 1.55;
}
.editor-role-summary {
  max-width: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.editor-role-summary > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 12px;
  background: rgb(255 255 255 / .055);
}
.editor-role-summary p { margin: 0; }
.editor-role-summary strong,
.editor-role-summary small { display: block; }
.editor-role-summary strong { font-size: .74rem; }
.editor-role-summary small {
  margin-top: 4px;
  color: rgb(255 255 255 / .5);
  font-size: .64rem;
  line-height: 1.35;
}
.role-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: .7rem;
  font-weight: 900;
}
.role-icon-light { background: var(--sand); color: var(--navy); }
.editor-access-form-wrap {
  display: grid;
  place-items: center;
  padding: clamp(44px,6vw,84px);
  background:
    linear-gradient(rgb(248 246 241 / .91),rgb(248 246 241 / .91)),
    repeating-linear-gradient(135deg,#fff 0 12px,#eef1f2 12px 24px);
}
.editor-auth-card {
  width: min(610px,100%);
  padding: clamp(28px,4vw,48px);
  border: 1px solid #dce3e5;
  border-radius: 20px;
  background: white;
  box-shadow: 0 26px 70px rgb(6 42 78 / .13);
}
.auth-card-heading {
  display: flex;
  align-items: center;
  gap: 17px;
}
.auth-card-heading .eyebrow { margin-bottom: 7px; }
.auth-card-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem,3vw,2.7rem);
  line-height: 1.02;
}
.auth-lock {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: end center;
  padding-bottom: 9px;
  border-radius: 15px;
  background: #eaf1f4;
}
.auth-lock::before {
  content: "";
  position: absolute;
  top: 11px;
  width: 19px;
  height: 19px;
  border: 3px solid var(--sea);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.auth-lock span {
  width: 28px;
  height: 23px;
  border-radius: 5px;
  background: var(--sea);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 32px 0 4px;
  padding: 4px;
  border-radius: 11px;
  background: #edf1f2;
}
.auth-tabs button {
  min-height: 43px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #617280;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}
.auth-tabs button.active {
  background: white;
  color: var(--navy);
  box-shadow: 0 3px 12px rgb(6 42 78 / .1);
}
.editor-auth-form { margin-top: 22px; }
.editor-auth-form > label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 16px;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
}
.field-hint {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 550;
}
.editor-auth-form input {
  grid-column: 1 / -1;
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid #becbd0;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .85rem;
  outline: none;
}
.editor-auth-form input:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgb(11 95 137 / .14);
}
.password-field {
  position: relative;
  grid-column: 1 / -1;
  display: block;
}
.password-field input { padding-right: 76px; }
.password-field button {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--sea);
  font: inherit;
  font-size: .66rem;
  font-weight: 850;
  cursor: pointer;
}
.password-rules {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f2f5f6;
}
.password-rules p {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: .69rem;
  font-weight: 800;
}
.password-rules ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.password-rules li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #75838c;
  font-size: .65rem;
}
.password-rules li span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce2e4;
  color: #667983;
  font-weight: 900;
}
.password-rules li.valid { color: #21633a; }
.password-rules li.valid span { background: #d9efdf; color: #21633a; }
.quick-login-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #dce3e5;
  border-radius: 12px;
  background: #f8fafb;
}
.google-login-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
}
.gmail-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 9px rgb(21 45 58 / .12);
  color: #4285f4;
  font: 800 1.15rem Arial,sans-serif;
}
.quick-login-panel strong {
  color: var(--navy);
  font-size: .78rem;
}
.quick-login-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.45;
}
.quick-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  border: 1px solid #cad5d9;
  background: white;
  color: var(--navy);
  cursor: pointer;
}
.quick-login-button:hover { border-color: var(--sea); color: var(--sea); }
.button-google-mark {
  color: #4285f4;
  font: 800 .83rem Arial,sans-serif;
}
.quick-login-panel .google-login-note {
  width: 100%;
  margin: -3px 0 0;
  text-align: center;
}
.auth-alternative {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: .61rem;
  text-transform: uppercase;
}
.auth-alternative::before,
.auth-alternative::after {
  height: 1px;
  flex: 1;
  background: #e1e7e9;
  content: "";
}
.login-options {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: var(--muted);
  font-size: .64rem;
}
.login-options button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sea);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.auth-submit {
  width: 100%;
  margin-top: 25px;
  cursor: pointer;
}
.auth-submit:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
}
.auth-status {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e9f3f7;
  color: #0b5278;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.45;
}
.auth-status.error {
  background: #fff0f0;
  color: #a22932;
}
.auth-security-note {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e4e9ea;
}
.auth-security-note > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3f1e7;
  color: #1d6538;
  font-size: .66rem;
  font-weight: 900;
}
.auth-security-note p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.55;
}
.auth-security-note strong { color: var(--ink); }
.auth-loading {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 15px;
  color: var(--muted);
}
.auth-loading p { margin: 0; font-size: .8rem; font-weight: 750; }
.editor-dashboard .auth-card-heading { align-items: flex-start; }
.dashboard-check {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #dff1e4;
  color: #21633a;
  font-size: 1.5rem;
  font-weight: 900;
}
.dashboard-lead {
  margin: 27px 0 22px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.65;
}
.account-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border: 1px solid #dce3e5;
  border-radius: 12px;
  overflow: hidden;
}
.account-summary div {
  padding: 15px 17px;
  border-bottom: 1px solid #e5eaec;
}
.account-summary div:nth-child(odd) { border-right: 1px solid #e5eaec; }
.account-summary div:nth-last-child(-n + 2) { border-bottom: 0; }
.account-summary dt {
  color: var(--muted);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-summary dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.dashboard-note {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #eef4f6;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.5;
}
.dashboard-note strong { color: var(--sea); }
.dashboard-note.publish-ready {
  border: 1px solid #cce3d3;
  background: #edf7f0;
}
.dashboard-note.publish-ready strong { color: #21633a; }
.user-manager {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e0e6e8;
}
.user-manager-form {
  display: grid;
  grid-template-columns: .7fr .8fr 1.2fr 1fr auto;
  align-items: end;
  gap: 10px;
  margin-top: 18px;
}
.user-manager-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 800;
}
.user-manager-form input,
.user-manager-form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #becbd0;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .74rem;
  outline: none;
}
.user-manager-form input:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgb(11 95 137 / .14);
}
.user-manager-form .button {
  min-height: 44px;
  padding-inline: 17px;
  white-space: nowrap;
}
.authorized-users-table-wrap {
  overflow-x: auto;
  margin-top: 15px;
  border: 1px solid #dce3e5;
  border-radius: 10px;
}
.authorized-users-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: .68rem;
}
.authorized-users-table th,
.authorized-users-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #e4e9eb;
  text-align: left;
  white-space: nowrap;
}
.authorized-users-table th {
  background: #f2f6f7;
  color: var(--muted);
  font-size: .57rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.authorized-users-table td { color: var(--ink); }
.authorized-users-table tbody tr:last-child td { border-bottom: 0; }
.protected-user {
  color: var(--muted);
  font-size: .58rem;
  font-weight: 750;
}
.user-role-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 850;
}
.user-role-badge.administrator {
  background: #e8f2ec;
  color: #21633a;
}
.user-role-badge.redactor {
  background: #e8f1f5;
  color: var(--sea);
}
.table-role-select {
  min-height: 34px;
  padding: 6px 28px 6px 9px;
  border: 1px solid #c7d3d7;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .61rem;
  font-weight: 800;
}
.table-role-select.administrator { color: #21633a; }
.table-role-select.redactor { color: var(--sea); }
.table-role-select:disabled {
  cursor: not-allowed;
  opacity: .65;
}
.remove-user {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a22932;
  font: inherit;
  font-size: .59rem;
  font-weight: 850;
  cursor: pointer;
}
.publisher-panel {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e0e6e8;
}
.publisher-heading .eyebrow { margin-bottom: 8px; }
.publisher-heading h3 {
  margin: 0;
  color: var(--navy);
  font: 500 1.7rem/1.1 Georgia,serif;
}
.publisher-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.55;
}
.news-publisher { margin-top: 22px; }
.news-publisher > label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 17px;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
}
.news-publisher input:not([type="file"]):not([type="hidden"]),
.news-publisher select,
.news-publisher textarea {
  grid-column: 1 / -1;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #becbd0;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .84rem;
  outline: none;
}
.news-publisher input:not([type="file"]):not([type="hidden"]),
.news-publisher select { min-height: 49px; }
.news-publisher textarea {
  min-height: 180px;
  line-height: 1.6;
  resize: vertical;
}
.news-publisher input:not([type="file"]):not([type="hidden"]):focus,
.news-publisher select:focus,
.news-publisher textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgb(11 95 137 / .14);
}
.rich-field { margin-top: 17px; }
.rich-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: .74rem;
}
.rich-label-row strong { font-weight: 800; }
.character-count {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
}
.character-count.over-limit { color: #a92828; }
.rich-editor-box {
  overflow: hidden;
  border: 1px solid #becbd0;
  border-radius: 9px;
  background: white;
}
.rich-editor-box:focus-within {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgb(11 95 137 / .14);
}
.rich-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #dbe2e4;
  background: #f4f7f8;
}
.news-publisher .rich-toolbar label { display: block; }
.news-publisher .rich-toolbar select {
  width: auto;
  min-height: 36px;
  padding: 7px 30px 7px 9px;
  border-color: #c7d2d6;
  border-radius: 7px;
  background: white;
  font-size: .7rem;
}
.rich-toolbar button {
  min-width: 36px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #c7d2d6;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .7rem;
  font-weight: 800;
  cursor: pointer;
}
.rich-toolbar button:hover { border-color: var(--sea); color: var(--sea); }
.rich-toolbar .format-italic { font-style: italic; }
.rich-toolbar .format-underline { text-decoration: underline; }
.rich-toolbar .format-clear {
  width: auto;
  margin-left: auto;
  font-size: .62rem;
}
.rich-editor {
  min-height: 190px;
  max-height: 520px;
  overflow-y: auto;
  padding: 15px;
  color: var(--ink);
  font: .84rem/1.65 Arial,sans-serif;
  outline: none;
  white-space: pre-wrap;
}
.rich-editor:empty::before {
  color: #7b898e;
  content: attr(data-placeholder);
  pointer-events: none;
}
.rich-news-content { font-size: 1rem; }
.photo-upload {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid #d7e0e3;
  border-radius: 12px;
  background: #f7f9f9;
}
.photo-upload-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: .74rem;
}
.photo-upload-heading span {
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
}
.photo-picker {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 13px;
  border: 1px dashed #9eafb6;
  border-radius: 10px;
  background: white;
  cursor: pointer;
}
.photo-picker:focus-within {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgb(11 95 137 / .14);
}
.photo-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.photo-picker-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f1f4;
  color: var(--sea);
  font-size: 1.45rem;
  font-weight: 500;
}
.photo-picker > span:last-of-type {
  display: grid;
  gap: 4px;
}
.photo-picker strong {
  color: var(--navy);
  font-size: .75rem;
}
.photo-picker small {
  color: var(--muted);
  font-size: .61rem;
  font-weight: 600;
  line-height: 1.4;
}
.photo-previews {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
  margin-top: 13px;
}
.photo-previews figure {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dce3e5;
  border-radius: 9px;
  background: white;
}
.photo-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8edef;
}
.photo-preview-frame img { object-fit: cover; }
.photo-previews figcaption {
  overflow: hidden;
  padding: 7px 8px;
  color: var(--muted);
  font-size: .57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clear-photos {
  margin-top: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--coral);
  font: inherit;
  font-size: .63rem;
  font-weight: 800;
  cursor: pointer;
}
.publisher-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.publisher-actions > span {
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.45;
}
.publisher-submit {
  width: 100%;
  cursor: pointer;
}
.publisher-submit:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}
.publisher-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
  padding: 13px 14px;
  border-radius: 9px;
  background: #e8f4eb;
  color: #21633a;
  font-size: .69rem;
  line-height: 1.45;
}
.publisher-status a {
  flex: 0 0 auto;
  color: var(--sea);
  font-weight: 850;
}
.publisher-status.error {
  background: #fff0f0;
  color: #a22932;
}
.auth-logout {
  width: 100%;
  margin-top: 22px;
  border-color: #c8d3d7;
  background: white;
  color: var(--navy);
  cursor: pointer;
}
.auth-logout:disabled { opacity: .5; }

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

.history-page { background: #f2f5f7; }
.history-page .site-header nav { gap: 23px; }
.history-page .site-header nav a[aria-current="page"]::after { width: 100%; }
.history-hero { padding: 78px 20px 54px; background: linear-gradient(135deg,#062a4e,#0b5f89); color: white; }
.history-wrap { width: min(1220px,100%); margin: 0 auto; }
.history-hero h1 { margin: 0; font-size: clamp(3.2rem,6vw,6.3rem); }
.history-hero > .history-wrap > p:last-of-type { max-width: 860px; margin: 22px 0 0; color: rgb(255 255 255 / .74); font-size: 1.08rem; line-height: 1.72; }
.history-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 34px; }
.history-kpis div { padding: 18px 20px; border: 1px solid rgb(255 255 255 / .17); border-radius: 14px; background: rgb(255 255 255 / .08); }
.history-kpis strong, .history-kpis span { display: block; }
.history-kpis strong { margin-bottom: 7px; color: var(--sand); font: 1.8rem Georgia,serif; }
.history-kpis span { color: rgb(255 255 255 / .68); font-size: .78rem; }
.history-tools { position: sticky; z-index: 6; top: 0; border-bottom: 1px solid #d4dde3; background: rgb(242 245 247 / .96); backdrop-filter: blur(12px); }
.history-tool-inner { width: min(1220px,calc(100% - 40px)); margin: 0 auto; padding: 15px 0 8px; display: grid; grid-template-columns: minmax(240px,2fr) 1fr 1fr auto; gap: 10px; }
.history-tool-inner label { display: block; }
.history-tool-inner input, .history-tool-inner select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #b8c5ce; border-radius: 10px; background: white; color: var(--ink); font: inherit; font-size: .86rem; }
.history-tool-inner input:focus-visible, .history-tool-inner select:focus-visible { outline: 3px solid rgb(11 95 137 / .23); border-color: var(--sea); }
.history-reset { min-height: 48px; padding: 0 16px; border: 1px solid var(--sea); border-radius: 10px; background: transparent; color: var(--sea); font-weight: 800; cursor: pointer; }
.history-results { width: min(1220px,calc(100% - 40px)); margin: 0 auto; padding: 0 0 12px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .74rem; }
.history-results span { color: var(--navy); font-weight: 800; }
.history-main { width: min(1220px,calc(100% - 40px)); margin: 0 auto; padding: 58px 0 80px; }
.history-section { margin-bottom: 84px; }
.history-section-title { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; padding-bottom: 14px; border-bottom: 4px solid var(--sand); }
.history-section-title .eyebrow { margin-bottom: 10px; }
.history-section-title h2 { margin: 0; color: var(--navy); font-size: clamp(2.2rem,4vw,4.2rem); line-height: 1; }
.history-section-title > p { margin: 0; color: var(--muted); font-size: .84rem; }
.history-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: start; }
.history-card { overflow: hidden; border: 1px solid #d6dfe4; border-radius: 17px; background: white; box-shadow: 0 10px 28px rgb(6 42 78 / .08); }
.history-cover, .history-placeholder { width: 100%; aspect-ratio: 16 / 9; display: block; }
.history-cover { object-fit: cover; }
.history-placeholder { display: grid; place-items: center; align-content: center; gap: 8px; background: linear-gradient(135deg,#174f77,#062a4e); color: var(--sand); }
.history-placeholder strong { font: 3rem Georgia,serif; }
.history-placeholder span { color: rgb(255 255 255 / .65); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.history-card-body { padding: 22px; }
.history-topline, .history-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .73rem; font-weight: 800; }
.history-status { max-width: 130px; padding: 5px 8px; border-radius: 999px; background: #e9eff3; color: #3e5869; text-align: center; line-height: 1.25; }
.history-badge { display: inline-block; margin-top: 13px; padding: 6px 9px; border-radius: 7px; font-size: .65rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.history-badge.old { background: #fff0c7; color: #6b4b00; }
.history-badge.aia { background: #dcecfb; color: #0b4d78; }
.history-card h3, .history-page-card h3 { margin: 15px 0 8px; color: var(--navy); font: 1.42rem/1.18 Georgia,serif; }
.history-card p, .history-page-card p { color: #405567; font-size: .86rem; line-height: 1.65; }
.history-card .history-byline { color: var(--muted); font-size: .77rem; font-weight: 650; }
.history-note { padding-top: 10px; border-top: 1px solid #edf0f2; color: var(--muted) !important; font-size: .75rem !important; }
.history-source { display: inline-flex; align-items: center; gap: 13px; margin-top: 10px; padding-bottom: 5px; border-bottom: 2px solid var(--sand); color: var(--sea); font-size: .77rem; font-weight: 850; }
.history-page-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.history-page-card { padding: 24px; border: 1px solid #d6dfe4; border-radius: 17px; background: white; box-shadow: 0 8px 22px rgb(6 42 78 / .06); }
.history-recovery { padding: 12px 14px; border-left: 4px solid var(--sand); border-radius: 7px; background: #f7f1e5; color: #6b4b00 !important; }
.history-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.history-gallery figure { overflow: hidden; margin: 0; border: 1px solid #d6dfe4; border-radius: 14px; background: white; }
.history-gallery img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.history-gallery figcaption { display: grid; gap: 5px; padding: 13px; }
.history-gallery figcaption strong { color: var(--navy); font-size: .79rem; }
.history-gallery figcaption span { overflow-wrap: anywhere; color: var(--muted); font-size: .65rem; }
.history-table-box { overflow: auto; border: 1px solid #d6dfe4; border-radius: 15px; background: white; box-shadow: 0 8px 24px rgb(6 42 78 / .07); }
.history-table-box table { width: 100%; min-width: 1040px; border-collapse: collapse; }
.history-table-box th, .history-table-box td { padding: 14px; border-bottom: 1px solid #e2e8eb; text-align: left; vertical-align: top; font-size: .75rem; line-height: 1.45; }
.history-table-box th { background: var(--navy); color: white; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.history-table-box td:first-child { max-width: 260px; overflow-wrap: anywhere; color: var(--navy); font-weight: 750; }
.history-table-box .history-badge { margin-top: 0; }
.history-table-box a { color: var(--sea); font-weight: 850; white-space: nowrap; }
.history-empty { padding: 45px; border: 1px dashed #b8c5ce; border-radius: 14px; background: white; color: var(--muted); text-align: center; }
.history-notice { padding: 20px 23px; border-left: 6px solid var(--sand); border-radius: 10px; background: #e5eef4; color: #324d60; line-height: 1.65; }

@media (max-width: 980px) {
  nav { display: none; }
  .site-header { gap: 15px; }
  .header-cta { margin-left: auto; }
  .hero { min-height: 720px; background-position: 62% center; }
  .hero-content { margin-left: 6vw; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid #e7e9e8; }
  .intro, .join, .history-callout { grid-template-columns: 1fr; gap: 50px; }
  .course-poster { order: 2; }
  .course-copy { order: 1; }
  .history-callout-images { min-height: 430px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .activity-grid, .news-grid { grid-template-columns: 1fr; }
  .activity-grid article { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .2); padding-left: 0 !important; }
  .activity-grid h3 { margin-top: 25px; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .history-kpis { grid-template-columns: repeat(2,1fr); }
  .history-tool-inner { grid-template-columns: 1fr 1fr; }
  .history-results { display: grid; gap: 5px; }
  .history-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .history-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .preview-pill { display: none; }
  .editor-access-layout { grid-template-columns: 1fr; }
  .editor-access-intro { padding: 72px 8vw; }
  .editor-access-intro h1 { max-width: 780px; }
  .editor-access-form-wrap { padding: 64px 8vw; }
}
@media (max-width: 600px) {
  .retro-game { width: 100vw; height: 100vh; min-height: 520px; border: 0; }
  .retro-score { top: 70px; gap: 8px; padding: 9px 8px; border-width: 3px; }
  .retro-crowd { height: 28%; }
  .retro-field { top: 28%; }
  .retro-goal { width: 150px; height: 72px; border-width: 6px; }
  .retro-box { width: 88%; height: 210px; border-width: 5px; }
  .retro-ball { left: calc(50% - 75px); }
  .fluid-referee { left: 35%; bottom: 0; width: min(52vw,205px); }
  .fluid-whistle-text { top: 27%; right: -2%; padding: 6px 9px; font-size: .7rem; }
  .fluid-cautioned-player { left: 67%; bottom: 0; width: min(49vw,195px); }
  .player-reaction { display: none; }
  .retro-decision { bottom: 70px; width: 92%; padding: 13px 12px; border-width: 3px; }
  .retro-continue { bottom: 35px; font-size: .58rem; }
  .retro-skip { top: 14px; right: 14px; }
  .site-header { min-height: 76px; padding: 0 20px; }
  .brand small { display: none; }
  .mark { width: 48px; height: 48px; flex-basis: 48px; }
  .header-cta { padding: 10px 12px; font-size: .7rem; }
  .hero { min-height: 680px; }
  .hero-content { width: auto; margin: 0 22px; padding-top: 60px; }
  h1 { font-size: 3.25rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 280px; }
  .scroll-cue { display: none; }
  .stats { margin-top: 0; width: 100%; }
  .section { padding: 78px 24px; }
  .intro { display: block; }
  .section-kicker { display: none; }
  .history-callout { padding-left: 24px; padding-right: 24px; }
  .history-callout-images { min-height: 310px; }
  .history-callout-copy h2 { font-size: 3rem; }
  .archive-item { grid-template-columns: 1fr; gap: 10px; }
  .news-photo-gallery { grid-template-columns: 1fr; }
  .history-hero { padding: 58px 20px 40px; }
  .history-hero h1 { font-size: 3.4rem; }
  .history-kpis { grid-template-columns: 1fr 1fr; }
  .history-kpis div { padding: 14px; }
  .history-kpis strong { font-size: 1.35rem; }
  .history-tool-inner { width: calc(100% - 28px); grid-template-columns: 1fr; }
  .history-results { width: calc(100% - 28px); }
  .history-main { width: calc(100% - 28px); padding-top: 42px; }
  .history-section { margin-bottom: 62px; }
  .history-section-title { align-items: flex-start; flex-direction: column; }
  .history-grid, .history-page-grid { grid-template-columns: 1fr; }
  .history-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .course-benefits { grid-template-columns: 1fr; }
  .course-form { padding: 18px; }
  .course-form-grid { grid-template-columns: 1fr; }
  .course-form-grid label.wide { grid-column: auto; }
  .course-actions { align-items: stretch; flex-direction: column; }
  .course-actions .button { width: 100%; }
  footer { grid-template-columns: 1fr; padding: 55px 24px 24px; }
  .footer-brand, .legal { grid-column: auto; }
  .editor-header .brand small { display: block; }
  .editor-header .header-cta { font-size: .64rem; }
  .editor-access-intro { padding: 58px 24px; }
  .editor-access-intro h1 { font-size: 3rem; }
  .editor-role-summary { grid-template-columns: 1fr; }
  .editor-access-form-wrap { padding: 35px 16px 55px; }
  .editor-auth-card { padding: 25px 20px; border-radius: 15px; }
  .auth-lock { width: 46px; height: 46px; }
  .password-rules ul { grid-template-columns: 1fr; }
  .login-options { align-items: flex-start; flex-direction: column; }
  .account-summary { grid-template-columns: 1fr; }
  .account-summary div,
  .account-summary div:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid #e5eaec;
  }
  .account-summary div:last-child { border-bottom: 0; }
  .user-manager-form { grid-template-columns: 1fr; }
  .authorized-users-table { min-width: 760px; }
  .publisher-status { align-items: flex-start; flex-direction: column; }
  .photo-previews { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
