
:root{
  --purple:#663399;--purple2:#7b49aa;--deep:#16091f;--deep2:#281238;
  --gold:#ffcc00;--kish:#0b5d3b;--hub:#436b8b;--cream:#fbfaf7;
  --ink:#262229;--muted:#706a73;--line:#e4dee7;--white:#fff;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}button,input{font:inherit}
.wrap{width:min(1180px,88vw);margin:auto}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:900;color:var(--purple)}
header{position:sticky;top:0;z-index:50;background:rgba(22,9,31,.96);backdrop-filter:blur(12px);border-bottom:3px solid var(--gold)}
.nav{width:min(1280px,92vw);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}
.brand{display:flex;align-items:center;gap:12px;color:white}.brand-mark{width:47px;height:47px;display:grid;place-items:center;background:var(--purple);border:3px solid var(--gold);font-weight:1000;clip-path:polygon(50% 0,92% 18%,86% 75%,50% 100%,14% 75%,8% 18%)}
.brand strong{font-size:20px;display:block}.brand small{display:block;color:var(--gold);font-weight:800;letter-spacing:1.2px}
.navlinks{display:flex;gap:18px;align-items:center}.navlinks a{color:#fff;font-size:12px;font-weight:900;letter-spacing:.8px}.navlinks a:hover{color:var(--gold)}
.hero{background:radial-gradient(circle at 80% 16%,rgba(255,204,0,.18),transparent 25%),linear-gradient(115deg,#12081b 0%,#2c143c 53%,#663399 100%);color:#fff;overflow:hidden}
.hero-grid{width:min(1280px,90vw);margin:auto;display:grid;grid-template-columns:1.15fr .85fr;gap:7%;align-items:center;min-height:680px;padding:78px 0}
.hero h1{font-size:clamp(48px,6.2vw,92px);line-height:.95;margin:12px 0 25px;letter-spacing:-3px}.hero h1 em{font-family:Georgia,serif;font-weight:500;color:var(--gold)}
.hero p{max-width:700px;font-size:20px}.tag{display:inline-flex;background:#ffffff13;border:1px solid #ffffff24;padding:8px 12px;border-radius:999px;font-weight:800;font-size:12px}
.rootsbar{width:330px;height:6px;border-radius:20px;background:linear-gradient(90deg,var(--kish) 0 20%,var(--gold) 20% 54%,var(--purple2) 54% 85%,var(--hub) 85%);margin:27px 0}
.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:8px;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.4px}
.btn.primary{background:var(--gold);color:var(--deep)}.btn.ghost{border:2px solid var(--gold);color:#fff}
.hero-art{position:relative;min-height:510px}.photo-slot{position:absolute;inset:10px 30px 60px 10px;border:5px solid var(--gold);background:#261536;box-shadow:22px 22px 0 #311943;overflow:hidden}
.photo-slot img{width:100%;height:100%;object-fit:cover;display:block}.photo-slot .fallback{height:100%;display:grid;place-items:center;text-align:center;padding:30px;color:#fff}
.route-sign{position:absolute;right:0;bottom:0;width:180px;background:#fff;border-radius:20px;padding:9px;box-shadow:0 15px 40px #0005}
.shield{background:#235394;color:#fff;border-radius:16px 16px 32px 32px;text-align:center;border:5px solid #fff;outline:3px solid #ddd;padding:8px 10px 18px}
.shield span{display:block;background:#d22d36;margin:-8px -10px 7px;padding:5px;border-radius:11px 11px 0 0;font-size:12px;font-weight:900}.shield strong{font-size:34px}
.quickbar{background:#fff;border-bottom:1px solid var(--line)}.quickgrid{width:min(1180px,88vw);margin:auto;display:grid;grid-template-columns:repeat(4,1fr)}
.quick{padding:24px;border-right:1px solid var(--line)}.quick:last-child{border:0}.quick strong{display:block;color:var(--purple);font-size:24px}.quick small{font-weight:800;color:var(--muted)}
section{padding:84px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}.section-head h2{font-size:clamp(38px,5vw,64px);line-height:1;margin:5px 0;color:var(--deep);letter-spacing:-2px}.section-head p{max-width:520px;color:var(--muted);font-size:17px}
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px #3119430b;padding:26px;border-radius:14px}.card h3{font-size:22px;margin:8px 0;color:var(--deep)}.card p{color:var(--muted)}.card.accent{border-top:6px solid var(--gold)}.card.purple{border-top:6px solid var(--purple)}.card.green{border-top:6px solid var(--kish)}
.dark{background:var(--deep);color:#fff}.dark .section-head h2{color:#fff}.dark .section-head p{color:#ccc}.career-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.career-card{background:#ffffff0c;border:1px solid #ffffff1e;border-bottom:5px solid var(--gold);padding:24px;border-radius:12px}.career-card small{color:var(--gold);font-weight:900;letter-spacing:1px}.career-card h3{font-size:22px;margin:6px 0}.career-card p{color:#d8d3da;font-size:14px}
.triad{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.world-card{min-height:360px;border-radius:18px;overflow:hidden;position:relative;color:#fff;padding:30px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 16px 40px #0002}
.world-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000c 0,#0002 70%)}.world-card>*{position:relative}.world-card h3{font-size:36px;line-height:1;margin:8px 0}.world-card p{color:#eee}.roads{background:linear-gradient(135deg,#532a7a,#1e0e2a)}.rails{background:linear-gradient(135deg,#264b60,#102d3b)}.runways{background:linear-gradient(135deg,#9a7510,#4c3705)}.iconbig{font-size:64px;position:absolute;top:28px;right:28px;opacity:.8}
.road-panel{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.roadtop{background:linear-gradient(90deg,var(--deep),var(--purple));color:#fff;padding:26px 30px;display:flex;justify-content:space-between;gap:30px;align-items:center}.roadtop h3{font-size:30px;margin:0}.routechips{padding:22px;display:flex;flex-wrap:wrap;gap:9px}.chip{border:1px solid #d8d0dd;padding:8px 12px;border-radius:999px;font-weight:900;font-size:13px;background:#f8f4fa}.chip.complete{background:#eee6f5;color:var(--purple)}.chip.partial{background:#fff5ca;color:#725300}.chip.threedi{background:#e4f2eb;color:var(--kish)}.note{margin:0 22px 22px;padding:17px 20px;border-left:6px solid var(--gold);background:#fff8da;color:#504313;font-style:italic}
.life{background:#f2edf5}
.rail-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 18px}
.rail-route-badge{background:#f7f4f9;border:1px solid #ddd4e3;border-radius:12px;padding:12px;min-height:92px;display:flex;align-items:center;justify-content:center;text-align:center}
.rail-route-badge img{display:block;max-width:100%;max-height:62px;object-fit:contain}
.rail-route-generic{position:relative;overflow:hidden;background:linear-gradient(135deg,#182b45,#224c77);color:#fff;border:2px solid #fff;box-shadow:inset 0 0 0 2px #d8dce2}
.rail-route-generic:before,.rail-route-generic:after{content:"";position:absolute;left:12px;right:12px;height:3px;background:#d7d7d7;opacity:.85}
.rail-route-generic:before{top:19px}.rail-route-generic:after{bottom:19px}
.rail-route-generic strong{position:relative;z-index:1;background:#224c77;padding:4px 10px;font-size:14px;letter-spacing:.2px}
.rail-source-note{font-size:11px;color:var(--muted);margin:8px 0 0}
.airport-head{display:flex;align-items:center;gap:12px;margin-bottom:7px}
.airport-symbol-tile{width:48px;height:48px;flex:0 0 48px;background:#111;border-radius:7px;display:grid;place-items:center;padding:7px}
.airport-symbol-tile img{display:block;width:100%;height:100%;object-fit:contain;filter:invert(1)}
.airport-code-tile{display:inline-flex;align-items:center;justify-content:center;min-width:78px;height:48px;padding:0 11px;background:#111;color:#fff;border-radius:7px;font-size:27px;font-weight:1000;letter-spacing:1.5px;line-height:1}
.airport-code-tile.long{font-size:16px;letter-spacing:.5px;min-width:96px}
@media(max-width:640px){.rail-route-grid{grid-template-columns:1fr}.airport-symbol-tile{width:44px;height:44px;flex-basis:44px}.airport-code-tile{height:44px;font-size:24px}}

.rail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rail-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}.rail-card h3{margin:4px 0 12px;color:var(--purple);font-size:26px}.station-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.station{background:#edf3f6;border:1px solid #d2e0e6;border-radius:7px;padding:8px 10px;font-weight:800;font-size:13px}.story{background:var(--deep);color:#fff}.story h3{color:var(--gold)}.story p{color:#ddd}.story .quote{font-family:Georgia,serif;font-size:24px;line-height:1.3;color:#fff}
.airport-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.airport-toolbar input{flex:1;min-width:260px;padding:12px 14px;border:1px solid #d7d0da;border-radius:8px}.filterbtn{border:1px solid #d7d0da;background:#fff;padding:10px 13px;border-radius:8px;font-weight:900;cursor:pointer}.filterbtn.active{background:var(--purple);color:#fff;border-color:var(--purple)}
.airport-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.airport{background:#fff;border:1px solid var(--line);border-top:5px solid var(--purple);padding:20px;border-radius:12px}.airport .code{font-size:34px;color:var(--purple);font-weight:1000}.airport small{color:var(--muted);font-weight:800}.airport h4{margin:5px 0;font-size:15px}
.scout{display:grid;grid-template-columns:.75fr 1.25fr;gap:42px;align-items:center}.eagle{aspect-ratio:1;max-width:350px;margin:auto;border-radius:50%;background:radial-gradient(circle,#fff 0 36%,#e3ddcf 37% 39%,#c9a135 40% 44%,#612787 45% 100%);display:grid;place-items:center;text-align:center;box-shadow:0 18px 50px #0002}.eagle div{background:#fff;width:52%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;color:var(--purple);font-weight:1000;font-size:18px}.honors{display:grid;grid-template-columns:1fr 1fr;gap:13px}.honor{background:#fff;border:1px solid var(--line);border-left:5px solid var(--gold);padding:17px;border-radius:8px}.honor strong{display:block;color:var(--purple)}
.dog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dog{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.dog img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#e8e0eb}.dog .dogbody{padding:18px}.dog h3{margin:0;color:var(--purple)}.dog p{color:var(--muted);font-size:14px}.ike{border:2px solid var(--gold)}
.extras{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.extra{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}
.contact{background:linear-gradient(120deg,var(--purple),var(--deep));color:#fff;text-align:center}.contact h2{color:#fff;font-size:clamp(44px,6vw,76px);margin:10px}.contact p{max-width:700px;margin:0 auto 25px;color:#ddd;font-size:18px}
.footer{background:#100616;color:#fff;border-top:5px solid var(--gold);padding:28px 0}.footer-grid{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center}.footer strong{color:var(--gold)}.tiny{font-size:12px;color:#aaa}
@media(max-width:980px){.navlinks{display:none}.hero-grid,.scout{grid-template-columns:1fr}.hero-art{min-height:460px}.career-grid,.airport-grid{grid-template-columns:repeat(2,1fr)}.triad{grid-template-columns:1fr}.quickgrid{grid-template-columns:1fr 1fr}.rail-grid{grid-template-columns:1fr}.dog-grid,.extras{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.hero-grid{min-height:auto;padding:54px 0}.hero h1{letter-spacing:-2px}.hero-art{min-height:380px}.photo-slot{right:15px}.route-sign{width:145px}.cards3,.honors,.career-grid,.airport-grid,.dog-grid,.extras{grid-template-columns:1fr}.quickgrid{grid-template-columns:1fr}.quick{border-right:0;border-bottom:1px solid var(--line)}.section-head{display:block}.roadtop{display:block}.world-card{min-height:300px}.wrap{width:min(92vw,1180px)}}

.lego-section{background:linear-gradient(135deg,#fff9d6 0%,#fff 48%,#f2edf5 100%)}
.lego-grid{display:block}
.lego-feature{background:var(--deep);color:#fff;border-radius:18px;padding:34px;position:relative;overflow:hidden;min-height:260px;display:flex;flex-direction:column;justify-content:flex-end;margin-bottom:20px}
.lego-feature:before{content:"";position:absolute;width:260px;height:260px;border-radius:32px;background:var(--gold);right:-75px;top:-75px;transform:rotate(18deg);opacity:.96}
.lego-feature:after{content:"";position:absolute;width:135px;height:135px;border-radius:22px;background:var(--purple);right:105px;top:62px;transform:rotate(-10deg);border:10px solid #fff2}
.lego-feature>*{position:relative;z-index:2}.lego-feature h3{font-size:42px;line-height:1;margin:8px 0 12px}.lego-feature p{max-width:620px;color:#ddd}
.lego-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.lego-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;min-height:185px;position:relative;overflow:hidden}
.lego-card:before{content:"";position:absolute;width:62px;height:62px;border-radius:12px;background:#f3e29b;right:-15px;top:-15px;box-shadow:-74px 30px 0 #d9c8e6}
.lego-card h4{font-size:20px;margin:7px 0}.lego-card p{font-size:14px;color:var(--muted)}
.brickline{display:flex;gap:7px;margin:18px 0 0}.brickline span{width:38px;height:22px;border-radius:4px;background:var(--purple);position:relative}.brickline span:nth-child(2n){background:var(--gold)}.brickline span:nth-child(3n){background:var(--kish)}.brickline span:before{content:"";position:absolute;width:9px;height:5px;border-radius:3px 3px 0 0;background:inherit;top:-5px;left:7px;box-shadow:14px 0 0 currentColor}
@media(max-width:980px){.lego-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.lego-stack{grid-template-columns:1fr}}


/* POST-LAUNCH GREMLIN FIX */
.career-photo-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-top:28px!important}
.career-photo-grid figure{width:100%!important;min-width:0!important}
.career-photo-grid img{width:100%!important;height:300px!important;aspect-ratio:auto!important;object-fit:cover!important;display:block!important}
.lego-card:before{display:none!important}
.road-master-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#ddd}
.road-master-stat{background:#fff;padding:20px;text-align:center}
.road-master-stat strong{display:block;color:var(--purple);font-size:34px;line-height:1}
.road-master-stat small{font-weight:800;color:var(--muted)}
.road-controls{padding:18px 22px;display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line)}
.road-filter{border:1px solid #d7d0da;background:#f7f3f9;padding:9px 12px;border-radius:7px;font-weight:900;cursor:pointer}
.road-filter.active{background:var(--purple);color:#fff;border-color:var(--purple)}
.road-search{margin-left:auto;min-width:245px;flex:1;max-width:360px;padding:10px 12px;border:1px solid #d7d0da;border-radius:7px}
.route-master-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:22px}
.route-master-card{border:1px solid var(--line);border-top:5px solid var(--purple);border-radius:10px;padding:17px;background:#fff;min-height:165px}
.route-master-card.three{border-top-color:var(--kish)}
.route-master-card h4{font-size:22px;color:var(--purple);margin:3px 0 6px}
.route-shield-row{display:flex;align-items:center;gap:14px;margin:5px 0 8px}
.route-shield{width:72px;height:72px;object-fit:contain;flex:0 0 72px;filter:drop-shadow(0 2px 2px #0002)}
.route-shield-row h4{margin:0}
.route-shield-fallback{display:none;font-size:22px;font-weight:1000;color:var(--purple)}
@media(max-width:640px){.route-shield{width:64px;height:64px;flex-basis:64px}}

.route-master-card .route-meta{font-size:11px;font-weight:900;color:var(--muted);text-transform:uppercase;letter-spacing:1px}
.route-master-card .route-status{font-size:12px;font-weight:1000;margin:7px 0}
.route-master-card.Complete .route-status{color:#177245}
.route-master-card.Partial .route-status{color:#a66d00}
.route-master-card.Ridden .route-status{color:#3968a8}
.route-master-card.Disputed .route-status{color:#a82929}
.route-master-card p{font-size:13px;color:var(--muted);margin:7px 0}
.route-comment{background:#fff7cf;border-left:4px solid var(--gold);padding:8px 9px;font-size:12px;font-style:italic;margin-top:9px}
.road-empty{display:none;padding:25px;text-align:center;color:var(--muted)}
@media(max-width:1000px){.career-photo-grid,.route-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.road-master-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.career-photo-grid,.route-master-grid,.road-master-stats{grid-template-columns:1fr}.career-photo-grid img{height:auto}.road-search{max-width:none;width:100%;margin-left:0}}


/* V13.9 LEGO LAYOUT FIX */
#lego .wrap{width:min(94vw,1320px)}
#lego .lego-stack .lego-card{display:flex;flex-direction:column;min-width:0;height:100%}
#lego .lego-stack .lego-card>img{width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important;display:block!important}
#lego .lego-stack .lego-card.sears-card>img{object-fit:contain!important;object-position:center center!important;background:#35b8d4!important}
#lego .lego-stack .lego-card.fcawf-card>img{object-fit:cover!important;object-position:center top!important;background:#f6f0df!important}
#lego .lego-stack .lego-card>div{display:flex;flex-direction:column;flex:1}
#lego .lego-stack .lego-card h4{margin-bottom:8px}
#lego .lego-stack .lego-card p{margin-bottom:0}
@media(max-width:1100px){#lego .lego-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#lego .wrap{width:min(94vw,1180px)}#lego .lego-stack{grid-template-columns:1fr}}



/* FINAL CAREER PHOTO WIDTH FIX */
#career .career-photo-grid{
  width:100% !important;
  max-width:none !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:18px !important;
  margin-top:28px !important;
  align-items:stretch !important;
}
#career .career-photo-grid figure{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  display:block !important;
}
#career .career-photo-grid img{
  width:100% !important;
  height:340px !important;
  object-fit:cover !important;
  display:block !important;
}
#career .career-photo-grid figcaption{
  min-height:110px !important;
}
@media(max-width:760px){
  #career .career-photo-grid{
    grid-template-columns:1fr !important;
  }
  #career .career-photo-grid img{
    height:auto !important;
  }
}



/* GOODFELLOW IMAGE: show the whole sheep and plaque */
#career .goodfellow-card{
  background:#14071c !important;
}
#career .goodfellow-image{
  width:100% !important;
  height:340px !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#14071c !important;
  display:block !important;
}
@media(max-width:760px){
  #career .goodfellow-image{
    height:auto !important;
    max-height:none !important;
  }
}



/* GOODFELLOW — DIRECT ASSET TARGET, DO NOT CROP */
#career img[src="assets/career-goodfellow.png"]{
    width:100% !important;
    height:340px !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:#16071f !important;
    display:block !important;
}
@media(max-width:760px){
    #career img[src="assets/career-goodfellow.png"]{
        height:auto !important;
    }
}



/* GOODFELLOW FINAL DISPLAY TUNE — whole sheep, less ballroom */
#career img[src="assets/career-goodfellow.png"]{
    width:100% !important;
    height:520px !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:#16071f !important;
}
#career .goodfellow-card{
    background:#16071f !important;
}
@media(max-width:900px){
    #career img[src="assets/career-goodfellow.png"]{
        height:440px !important;
    }
}
@media(max-width:760px){
    #career img[src="assets/career-goodfellow.png"]{
        height:auto !important;
        max-height:none !important;
    }
}



/* =========================
   SITW V11 — CRUISES
   ========================= */
.cruises-section{
  background:
    radial-gradient(circle at 12% 0%,rgba(255,204,0,.12),transparent 26rem),
    linear-gradient(180deg,#fff 0%,#f8f3fa 100%);
  padding:0;
}
.cruise-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 20%,rgba(255,204,0,.19),transparent 25%),
    linear-gradient(115deg,#12081b 0%,#301442 54%,#663399 100%);
  color:#fff;
  padding:76px 0 82px;
  border-bottom:5px solid var(--gold);
}
.cruise-hero:after{
  content:"⚓";
  position:absolute;right:6%;top:20px;
  font-size:260px;line-height:1;opacity:.055;transform:rotate(-10deg);
}
.cruise-hero h2{
  font-size:clamp(54px,8vw,100px);line-height:.92;margin:8px 0 20px;
  letter-spacing:-4px;color:#fff;
}
.cruise-hero p{max-width:760px;font-size:20px;color:#eee;margin:0}
.cruise-pill{
  display:inline-flex;margin-top:25px;padding:10px 15px;border-radius:999px;
  border:1px solid #ffffff2b;background:#ffffff10;color:#fff;font-size:12px;
  font-weight:1000;letter-spacing:.6px;text-transform:uppercase;
}
.cruise-wrap{width:min(1180px,88vw);margin:auto}
.cruise-intro-grid{
  display:grid;grid-template-columns:1.2fr .8fr;gap:20px;margin:36px 0 50px;
}
.cruise-intro,.cruise-quote,.cruise-card,.cruise-map-card,.cruise-rank{
  border-radius:18px;
}
.cruise-intro{
  background:#fff;border:1px solid var(--line);padding:28px;
  border-left:6px solid var(--purple);
}
.cruise-intro h3{font-size:30px;margin:4px 0 12px;color:var(--deep)}
.cruise-quote{
  position:relative;overflow:hidden;background:linear-gradient(145deg,var(--deep),var(--purple));
  color:#fff;padding:28px;display:flex;flex-direction:column;justify-content:center;
}
.cruise-quote:after{content:"⚓";position:absolute;right:-15px;bottom:-45px;font-size:150px;opacity:.08}
.cruise-quote blockquote{font-family:Georgia,serif;font-size:23px;line-height:1.35;margin:0;position:relative;z-index:2}
.cruise-quote small{color:var(--gold);font-weight:900;margin-top:14px;position:relative;z-index:2}
.cruise-title{font-size:clamp(38px,5vw,60px);line-height:1;margin:0 0 24px;color:var(--deep);letter-spacing:-2px}
.cruise-timeline{position:relative;margin:0 0 54px;padding-left:28px}
.cruise-timeline:before{
  content:"";position:absolute;left:8px;top:5px;bottom:5px;width:4px;
  background:linear-gradient(var(--gold),var(--purple));border-radius:5px;
}
.cruise-trip{position:relative;display:grid;grid-template-columns:155px 1fr;gap:20px;padding:0 0 24px 22px}
.cruise-trip:before{
  content:"";position:absolute;left:-25px;top:9px;width:16px;height:16px;border-radius:50%;
  background:var(--gold);border:4px solid #fff;box-shadow:0 0 0 2px var(--purple);
}
.cruise-date{font-weight:1000;color:var(--purple);font-size:15px;padding-top:7px;text-transform:uppercase;letter-spacing:.6px}
.cruise-card{overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px #3119430b}
.cruise-visual{
  min-height:120px;display:flex;align-items:center;justify-content:center;font-size:52px;color:#fff;
  background:linear-gradient(135deg,#255d78,#7aa6b9);position:relative;
}
.cruise-visual.carnival{background:linear-gradient(135deg,#555,#858585)}
.cruise-copy{padding:22px 24px}
.cruise-copy h3{font-size:25px;margin:0 0 8px;color:var(--deep)}
.cruise-badges{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 14px}
.cruise-badge{padding:5px 9px;border-radius:999px;background:#eee6f5;color:var(--purple);font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.45px}
.cruise-badge.gold{background:#fff4c4;color:#654d00}
.cruise-badge.gray{background:#eee;color:#444}
.cruise-map-card{
  background:#fff;border:1px solid var(--line);padding:28px;margin:0 0 40px;
  box-shadow:0 10px 30px #3119430b;
}
.cruise-map-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;flex-wrap:wrap;margin-bottom:18px}
.cruise-map-head h3{font-size:34px;margin:0;color:var(--deep)}
.cruise-map-head p{margin:5px 0 0;color:var(--muted)}
.cruise-map-note{font-size:11px;font-weight:1000;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.cruise-map-layout{display:grid;grid-template-columns:.72fr 1.78fr;gap:20px;align-items:start}
.cruise-route-box{
  border:2px solid var(--gold);border-radius:12px;padding:14px;margin-bottom:12px;background:#fffdf3;font-size:13px;
}
.cruise-route-box.purple{border-color:var(--purple);background:#f8f3fb}
.cruise-route-box.gray{border-color:#aaa;background:#f7f7f7}
.cruise-route-box.rainbow{border-color:#c49be0;background:linear-gradient(90deg,#fff7fd,#fff)}
.cruise-route-box strong{display:block;color:var(--deep);margin-bottom:5px}
.cruise-map-wrap{overflow:hidden;border-radius:16px;border:1px solid #c9dce4;background:#c8e0ea}
.cruise-map-wrap img{display:block;width:100%;height:auto}
.cruise-map-land{fill:#f4eddc;stroke:#9f957e;stroke-width:1.5}
.cruise-map-water{fill:#52758a;font-size:18px;font-weight:900;letter-spacing:.18em;opacity:.5}
.cruise-route40{fill:none;stroke:#f4c542;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:9 7}
.cruise-route50{fill:none;stroke:#663399;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.cruise-history{fill:none;stroke:#777;stroke-width:3;stroke-linecap:round;stroke-dasharray:5 7}
.cruise-map-dot{stroke:#fff;stroke-width:3}
.cruise-map-label{font-size:12px;font-weight:1000;fill:#281f2c;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.cruise-map-legend{display:flex;flex-wrap:wrap;gap:14px;margin:15px 0 0;font-size:12px;font-weight:900}
.cruise-legend-item{display:flex;align-items:center;gap:7px}.cruise-legend-line{width:30px;height:4px;border-radius:8px}
.jeff-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 38px}
.jeff-card{background:#fff;border:1px solid var(--line);border-top:5px solid var(--purple);border-radius:16px;padding:24px}
.jeff-card h3{margin:5px 0 8px;color:var(--deep);font-size:24px}
.cruise-rank{background:#fff;border:1px solid var(--line);padding:26px;margin:0 0 50px}
.cruise-rank h3{margin:0;color:var(--deep);font-size:28px}
.cruise-rank-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.cruise-rank-item{border:1px solid var(--line);border-top:6px solid var(--gold);border-radius:12px;padding:18px}
.cruise-rank-item.carnival{border-top-color:#555;background:#fafafa}
.cruise-rank-item strong{display:block;font-size:22px;color:var(--deep);margin:4px 0}
.cruise-rank-item small{font-size:11px;font-weight:1000;color:var(--muted);letter-spacing:1px;text-transform:uppercase}
@media(max-width:980px){
  .cruise-intro-grid,.cruise-map-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
  .cruise-trip{grid-template-columns:1fr;gap:5px}
  .jeff-grid,.cruise-rank-grid{grid-template-columns:1fr}
  .cruise-hero h2{letter-spacing:-2px}
}



/* SITW V11 — integrated tab/page-view behavior */
body.sitw-tabs-ready main > section.sitw-tab-section{display:none}
body.sitw-tabs-ready main > section.sitw-tab-section.sitw-tab-active{display:block}
body.sitw-tabs-ready main > section.sitw-rrr-child{display:none}
body.sitw-tabs-ready main > section.sitw-rrr-child.sitw-tab-active{display:block}
body.sitw-tabs-ready .navlinks a.sitw-nav-active{color:var(--gold)}
body.sitw-tabs-ready .quickbar{display:none}
body.sitw-tabs-ready.sitw-home-view .quickbar{display:block}
main > section{scroll-margin-top:88px}



@media(max-width:760px){
  #about .card > div[style*="grid-template-columns:1fr 1fr"]{
    grid-template-columns:1fr !important;
  }
}



/* V11 RESTORED PATRIOTIC SIGNATURE */
.sitw-patriotic-signature{
  border-top:4px solid var(--gold);
  border-bottom:4px solid var(--purple);
  background:#fbfaf7;
  padding:26px 20px 22px;
}
.sitw-patriotic-inner{
  width:min(1180px,92vw);
  margin:auto;
  display:grid;
  grid-template-columns:1fr auto auto 1fr;
  gap:18px;
  align-items:center;
}
.sitw-patriotic-copy h3{
  margin:0 0 5px;
  color:var(--deep);
  font-size:20px;
}
.sitw-patriotic-copy p{
  margin:0;color:var(--muted);font-size:14px;
}
.sitw-patriotic-copy.right{text-align:right}

/* Traditional U.S. flag */
.us-flag{
  width:250px;height:132px;position:relative;overflow:hidden;
  transform:translateY(-4px);
  box-shadow:0 5px 16px #0002;border:1px solid #999;
  background:repeating-linear-gradient(
    to bottom,
    #b22234 0,#b22234 10.1538px,
    #fff 10.1538px,#fff 20.3076px
  );
}
.us-flag .canton{
  position:absolute;left:0;top:0;width:100px;height:71.08px;background:#3c3b6e;
  display:grid;grid-template-columns:repeat(11,1fr);grid-template-rows:repeat(9,1fr);
  padding:4px 5px;
}
.us-flag .star{
  color:#fff;font-size:7px;line-height:1;text-align:center;
  align-self:center;
}
.us-flag .star.blank{visibility:hidden}

/* POW/MIA flag image from Wikimedia Commons */
.pow-flag-wrap{
  display:flex;flex-direction:column;align-items:center;gap:8px;max-width:235px;
  align-self:center;margin-top:30px;
}
.pow-flag-link{display:block;line-height:0}
.pow-flag-img{
  display:block;width:auto;height:118px;max-width:225px;background:#050505;
  border:1px solid #222;box-shadow:0 5px 16px #0002;
}
.pow-flag-attrib{
  font-size:11px;line-height:1.35;color:var(--muted);text-align:center;
}
.pow-flag-attrib a{color:var(--purple);font-weight:700;text-decoration:none}
.pow-flag-attrib a:hover{text-decoration:underline}
.sitw-patriotic-motto{
  width:min(1180px,92vw);margin:15px auto 0;text-align:center;
  color:var(--purple);font-weight:900;font-size:13px;letter-spacing:.7px;
}
@media(max-width:1000px){
  .sitw-patriotic-inner{grid-template-columns:1fr 1fr}
  .sitw-patriotic-copy.right{text-align:left}
}
@media(max-width:620px){
  .sitw-patriotic-inner{grid-template-columns:1fr;justify-items:center;text-align:center}
  .sitw-patriotic-copy.right{text-align:center}
  .us-flag{width:230px;height:121px;transform:none}.pow-flag-wrap{max-width:210px}.pow-flag-img{width:auto;height:110px;max-width:210px}
}



.eagle-badge-block{margin:0 0 22px;text-align:center}
.eagle-badge-link{display:inline-block;border-radius:50%;transition:transform .15s ease,box-shadow .15s ease}
.eagle-badge-link:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0002}
.eagle-badge-image{display:block;width:150px;height:150px;object-fit:contain;border-radius:50%;background:#fff;padding:5px;box-shadow:0 8px 20px #0002}
.eagle-badge-caption{font-size:12px;color:var(--muted);margin-top:8px;font-weight:700}
@media(max-width:620px){.eagle-badge-image{width:125px;height:125px}}


.page-view{display:none}.page-view.active{display:block}


body.sitw-v11-tabbed main > section{display:none!important}
body.sitw-v11-tabbed main > section.sitw-v11-show{display:block!important}
body.sitw-v11-tabbed main > section.sitw-v11-rrr-child{display:block!important}
body.sitw-v11-tabbed.sitw-v11-home .quickbar{display:block!important}
body.sitw-v11-tabbed:not(.sitw-v11-home) .quickbar{display:none!important}
.navlinks a.sitw-v11-active{color:var(--gold)!important}



@media (max-width: 760px){
  .work-memories-grid{grid-template-columns:1fr !important}
}



  /* Career awards layout — wider desktop treatment */
  #career .wrap,
  #career .container,
  #career .content,
  #career > div {
    max-width: 1420px !important;
  }

  .career-awards-shell{
    width:min(94vw,1420px);
    margin:0 auto;
  }

  .career-awards-pair{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:34px;
    align-items:start;
    margin-top:28px;
  }

  .career-award-card{
    border:1px solid #ffffff2b;
    background:#ffffff0c;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 28px #00000018;
  }

  .career-award-body{
    padding:26px 30px;
  }

  .career-award-kicker{
    color:var(--gold);
    font-weight:800;
    letter-spacing:.08em;
    font-size:.9rem;
    text-transform:uppercase;
  }

  .career-award-title{
    margin:6px 0 8px;
    color:var(--gold);
    font-size:clamp(1.7rem,2vw,2.35rem);
    line-height:1.12;
  }

  .career-award-card p{
    color:#e7e3ec;
    font-size:1.03rem;
    line-height:1.72;
    margin:0 0 16px;
  }

  .career-award-card strong{
    color:#fff;
  }

  .career-photo-grid{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(0,.85fr);
    gap:18px;
    padding:0 24px 22px;
  }

  .career-photo-grid img{
    width:100%;
    border-radius:14px;
    display:block;
  }

  .career-main-photo{
    aspect-ratio:16/11;
    object-fit:cover;
    object-position:center 42%;
  }

  .career-plaque-photo{
    aspect-ratio:4/5;
    object-fit:contain;
    background:#111;
  }

  .career-bat-wrap{
    padding:0 24px 22px;
  }

  .career-bat-photo{
    width:100%;
    height:560px;
    object-fit:contain;
    background:#f3f0e8;
    border-radius:14px;
    display:block;
  }

  .career-caption{
    margin-top:18px;
    padding:14px 16px;
    border-radius:10px;
    background:#ffffff0a;
    font-style:italic;
    color:#cfc8df;
    font-size:.98rem;
  }

  @media (max-width:1100px){
    .career-awards-shell{width:min(96vw,1080px)}
    .career-awards-pair{gap:24px}
    .career-award-body{padding:22px 24px}
    .career-bat-photo{height:500px}
  }

  @media (max-width:850px){
    .career-awards-pair{grid-template-columns:1fr}
    .career-bat-photo{height:520px}
  }

  @media (max-width:600px){
    .career-awards-shell{width:min(94vw,620px)}
    .career-photo-grid{grid-template-columns:1fr}
    .career-bat-photo{height:460px}
    .career-award-card p{font-size:1rem}
  }



/* =========================
   SITW V12 — HISTORY
   THE HISTORY TAB AWAKENS
   ========================= */
.history-section{
  background:
    radial-gradient(circle at 88% 4%,rgba(255,204,0,.12),transparent 28rem),
    linear-gradient(180deg,#fff 0%,#f8f3fa 100%);
  padding:0 0 70px;
}
.history-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 84% 20%,rgba(255,204,0,.20),transparent 24%),
    linear-gradient(120deg,#12081b 0%,#301442 52%,#663399 100%);
  color:#fff;
  padding:76px 0 82px;
  border-bottom:5px solid var(--gold);
}
.history-hero:after{
  content:"20";
  position:absolute;
  right:5%;
  top:-18px;
  font-size:260px;
  line-height:1;
  font-weight:1000;
  opacity:.055;
  transform:rotate(-7deg);
}
.history-wrap{width:min(1180px,88vw);margin:auto}
.history-eyebrow{
  color:var(--gold);font-size:12px;font-weight:1000;
  letter-spacing:1.5px;text-transform:uppercase;
}
.history-hero h2{
  font-size:clamp(48px,7vw,90px);line-height:.94;
  margin:8px 0 18px;letter-spacing:-3px;color:#fff;
}
.history-hero p{
  max-width:800px;margin:0;color:#eee;font-size:20px;line-height:1.55;
}
.history-intro-grid{
  display:grid;grid-template-columns:1.15fr .85fr;
  gap:20px;margin:36px 0 34px;
}
.history-intro,.history-rule{border-radius:18px;padding:28px}
.history-intro{
  background:#fff;border:1px solid var(--line);
  border-left:6px solid var(--purple);
}
.history-intro h3{color:var(--deep);font-size:30px;margin:4px 0 12px}
.history-intro p{
  margin:0;color:var(--muted);font-size:16px;line-height:1.65;
}
.history-rule{
  background:linear-gradient(145deg,var(--deep),var(--purple));
  color:#fff;position:relative;overflow:hidden;
}
.history-rule:after{
  content:"?";position:absolute;right:14px;bottom:-38px;
  font-size:150px;font-weight:1000;opacity:.08;
}
.history-rule strong{
  color:var(--gold);text-transform:uppercase;
  letter-spacing:1px;font-size:12px;
}
.history-rule p{
  position:relative;z-index:2;font-family:Georgia,serif;
  font-size:22px;line-height:1.45;margin:12px 0 0;
}
.history-title{
  font-size:clamp(34px,5vw,54px);color:var(--deep);
  margin:42px 0 24px;letter-spacing:-2px;
}
.history-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;
}
.history-card{
  position:relative;background:#fff;border:1px solid var(--line);
  border-radius:18px;padding:24px 24px 22px 76px;min-height:190px;
  box-shadow:0 10px 28px rgba(36,12,47,.05);overflow:hidden;
}
.history-card:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:6px;
  background:linear-gradient(var(--gold),var(--purple));
}
.history-number{
  position:absolute;left:20px;top:22px;width:40px;height:40px;
  border-radius:50%;display:grid;place-items:center;
  background:var(--deep);color:var(--gold);
  font-size:12px;font-weight:1000;letter-spacing:.5px;
}
.history-card h3{
  color:var(--deep);margin:0 0 9px;font-size:24px;line-height:1.1;
}
.history-card p{
  margin:0;color:var(--muted);font-size:15px;line-height:1.58;
}
.history-card.history-dark{
  border-color:#d8ccd9;
  background:linear-gradient(180deg,#fff 0%,#faf7fb 100%);
}
.history-card.history-dark h3:after{
  content:" • Questions, not admiration";
  display:block;margin-top:7px;color:#7c677f;font-size:10px;
  letter-spacing:.7px;text-transform:uppercase;
}
.history-alternate{
  margin-top:28px;border-radius:18px;background:#fff7cf;
  border:1px solid #ead477;border-left:6px solid var(--gold);
  padding:24px 28px;
}
.history-alternate .history-eyebrow{color:var(--purple)}
.history-alternate h3{
  color:var(--deep);margin:5px 0 8px;font-size:28px;
}
.history-alternate p{
  margin:0;color:#554b32;font-size:16px;line-height:1.6;
}
@media(max-width:900px){
  .history-intro-grid,.history-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .history-hero{padding:56px 0 62px}
  .history-hero:after{font-size:180px;right:-10px}
  .history-card{padding:72px 22px 22px;min-height:0}
  .history-number{left:22px;top:20px}
  .history-hero h2{letter-spacing:-2px}
}


/* ===== V13: WHAT WOULD STEVE SAY? ===== */
.steve-says-section{
  background:linear-gradient(180deg,#f8f5fb 0%,#fff 48%,#f7f2fa 100%);
  min-height:calc(100vh - 76px);
}
.steve-says-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--deep) 0%,var(--purple) 72%,#7b2f8e 100%);
  color:#fff;padding:72px 0 76px;
}
.steve-says-hero:after{
  content:"?";position:absolute;right:3vw;top:-76px;
  font-size:330px;line-height:1;font-weight:950;color:#ffffff0b;
  pointer-events:none;
}
.steve-says-wrap{width:min(1040px,90vw);margin:auto;position:relative;z-index:1}
.steve-says-eyebrow{font-size:12px;font-weight:950;letter-spacing:1.8px;color:var(--gold);text-transform:uppercase}
.steve-says-hero h2{margin:8px 0 12px;font-size:clamp(42px,6.8vw,78px);line-height:.95;letter-spacing:-3px}
.steve-says-hero p{max-width:760px;font-size:18px;line-height:1.65;color:#f5edf8;margin:0}
.steve-says-shell{width:min(900px,90vw);margin:-34px auto 0;position:relative;z-index:2;padding-bottom:72px}
.steve-says-card{
  background:#fff;border:1px solid #e8deec;border-radius:24px;
  box-shadow:0 22px 65px #2b123c20;padding:34px;
}
.steve-says-card label{display:block;font-weight:950;color:var(--deep);font-size:18px;margin-bottom:10px}
.steve-question-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:stretch}
#steve-question{
  width:100%;border:2px solid #ded1e4;border-radius:14px;padding:16px 17px;
  font:inherit;font-size:17px;color:var(--deep);background:#fff;outline:none;
  transition:border-color .2s,box-shadow .2s;
}
#steve-question:focus{border-color:var(--purple);box-shadow:0 0 0 4px #5d24731a}
#steve-ask-btn{
  border:0;border-radius:14px;padding:0 22px;background:var(--gold);color:var(--deep);
  font-weight:950;font-size:14px;letter-spacing:.4px;cursor:pointer;min-height:58px;
  transition:transform .15s,filter .15s;
}
#steve-ask-btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
#steve-ask-btn:active{transform:translateY(0)}
.steve-examples{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.steve-example{
  border:1px solid #e5dbe9;background:#faf7fb;color:#5b4563;border-radius:999px;
  padding:7px 11px;font-size:12px;font-weight:800;cursor:pointer
}
.steve-example:hover{border-color:#c6afd0;color:var(--purple)}
.steve-answer{
  display:none;margin-top:26px;border-radius:18px;padding:26px 28px;
  background:linear-gradient(135deg,#fbf8fc,#fff8d8);border:1px solid #eadfbd;
  border-left:7px solid var(--gold);position:relative;overflow:hidden
}
.steve-answer.is-visible{display:block;animation:stevePop .26s ease-out}
@keyframes stevePop{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.steve-answer .answer-kicker{font-size:11px;font-weight:950;letter-spacing:1.5px;color:var(--purple);text-transform:uppercase}
#steve-answer-text{font-size:clamp(25px,4vw,38px);font-weight:950;line-height:1.12;color:var(--deep);margin:8px 0 8px;letter-spacing:-.8px}
#steve-answer-note{font-size:13px;color:#75677a;margin:0}
.steve-answer-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.steve-answer-actions button{
  border:1px solid #d9c9df;background:#fff;border-radius:10px;padding:9px 12px;
  font-weight:900;color:var(--purple);cursor:pointer
}
.steve-answer-actions button:hover{background:#faf7fb}
.steve-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.steve-rule{background:#fff;border:1px solid #e9e0ec;border-radius:16px;padding:18px}
.steve-rule strong{display:block;color:var(--deep);margin-bottom:5px}
.steve-rule span{font-size:13px;line-height:1.45;color:#726777}
.steve-disclaimer{
  margin-top:18px;text-align:center;color:#837889;font-size:12px;line-height:1.55
}
.steve-disclaimer strong{color:var(--purple)}
@media(max-width:760px){
  .steve-says-card{padding:24px 20px}
  .steve-question-row{grid-template-columns:1fr}
  #steve-ask-btn{padding:15px 18px}
  .steve-rules{grid-template-columns:1fr}
  .steve-says-hero:after{font-size:220px;right:-5px;top:-25px}
  .steve-says-hero h2{letter-spacing:-2px}
}




/* ===== V13.5 HISTORY PORTRAIT TEST ===== */
#history .history-card{
  padding:0 24px 22px 76px;
}
#history .history-photo{
  height:190px;
  margin:0 -24px 20px -76px;
  overflow:hidden;
  background:#ddd;
  border-bottom:4px solid var(--gold);
}
#history .history-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 22%;
  filter:grayscale(100%) contrast(1.04);
  transition:filter .2s ease,transform .2s ease;
}
#history .history-card:hover .history-photo img{
  filter:grayscale(35%) contrast(1.02);
  transform:scale(1.015);
}
#history .history-number{
  z-index:3;
  box-shadow:0 3px 12px #0004;
}
#history .history-photo-credit{
  margin:22px 0 0;
  padding:12px 14px;
  border-radius:10px;
  background:#f7f3f9;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}
@media(max-width:640px){
  #history .history-card{padding:0 22px 22px}
  #history .history-photo{height:220px;margin:0 -22px 20px}
  #history .history-number{left:18px;top:18px}
}



/* ===== V13.5.1 HISTORY PORTRAIT CROP FIX ===== */
#history .history-photo{
  height:260px;
}
#history .history-photo img{
  object-fit:cover;
  object-position:center 18%;
}
#history .history-grid{
  align-items:stretch;
}

/* Person-specific crop tuning */
#history .history-card:nth-child(1) .history-photo img{object-position:center 14%;}   /* Lincoln */
#history .history-card:nth-child(2) .history-photo img{object-position:center 28%;}   /* Washington */
#history .history-card:nth-child(3) .history-photo img{object-position:center 14%;}   /* Hitler */
#history .history-card:nth-child(4) .history-photo img{object-position:center 18%;}   /* JFK */
#history .history-card:nth-child(5) .history-photo img{object-position:center 18%;}   /* Reagan */
#history .history-card:nth-child(6) .history-photo img{object-position:center 16%;}   /* Nixon */
#history .history-card:nth-child(7) .history-photo img{object-position:center 18%;}   /* FDR */
#history .history-card:nth-child(8) .history-photo img{object-position:center 20%;}   /* Ben Franklin */
#history .history-card:nth-child(9) .history-photo img{object-position:56% 16%;}      /* Edison */
#history .history-card:nth-child(10) .history-photo img{object-position:center 20%;}  /* Shakespeare */
#history .history-card:nth-child(11) .history-photo img{object-position:center 14%;}  /* JPII */
#history .history-card:nth-child(12) .history-photo img{object-position:center 16%;}  /* Grant */
#history .history-card:nth-child(13) .history-photo img{object-position:center 16%;}  /* Churchill */
#history .history-card:nth-child(14) .history-photo img{object-position:center 17%;}  /* Disney */
#history .history-card:nth-child(15) .history-photo img{object-position:center 18%;}  /* Armstrong */
#history .history-card:nth-child(16) .history-photo img{object-position:center 18%;}  /* Earhart */
#history .history-card:nth-child(17) .history-photo img{object-position:center 22%;}  /* Aristotle */
#history .history-card:nth-child(18) .history-photo img{object-position:center 16%;}  /* Einstein */
#history .history-card:nth-child(19) .history-photo img{object-position:center 18%;}  /* Curie */
#history .history-card:nth-child(20) .history-photo img{object-position:center 18%;}  /* Leonardo */

@media(max-width:640px){
  #history .history-photo{
    height:250px;
  }
}



/* ===== V13.5.2 SOURCE + FRAMING CLEANUP ===== */
#history .history-card:nth-child(4) .history-photo img{object-position:center 18%;}  /* JFK */
#history .history-card:nth-child(9) .history-photo img{object-position:center 16%;}  /* Edison */
#history .history-card:nth-child(14) .history-photo img{object-position:center 14%;} /* Walt */
#history .history-card:nth-child(17) .history-photo{
  background:#151515;
}
#history .history-card:nth-child(17) .history-photo img{
  object-fit:contain;
  object-position:center center;
}



/* ===== V13.5.3 FINAL POLISH: JFK + WALT ===== */

/* JFK: stop over-cropping and let the portrait breathe */
#history .history-card:nth-child(4) .history-photo{
  background:#d7d7d7;
}
#history .history-card:nth-child(4) .history-photo img{
  object-fit:contain;
  object-position:center center;
  padding:10px 0 0;
}

/* Walt Disney: use contain instead of forcing a tight crop */
#history .history-card:nth-child(14) .history-photo{
  background:#cfcfcf;
}
#history .history-card:nth-child(14) .history-photo img{
  object-fit:contain;
  object-position:center center;
  padding:6px 0 0;
}



/* My Life in License Plates */
.plate-life{margin-top:34px;background:linear-gradient(135deg,#16091f,#3b1a50);color:#fff;border-radius:18px;overflow:hidden;border-bottom:5px solid var(--gold)}
.plate-life-head{padding:34px 34px 24px}.plate-life-head .eyebrow{color:var(--gold)}
.plate-life-head h3{font-size:clamp(34px,5vw,56px);line-height:1;margin:7px 0 12px;color:#fff;letter-spacing:-2px}
.plate-life-head p{max-width:850px;color:#ddd;font-size:17px;margin:0}
.plate-wall{margin:0;background:#fff}.plate-wall img{display:block;width:100%;height:auto}.plate-wall figcaption{padding:12px 18px;color:var(--muted);font-size:12px;font-style:italic;text-align:center}
.bus144{display:grid;grid-template-columns:1.05fr .95fr;gap:0;background:#fff;color:var(--ink)}
.bus144-photo{background:#111;display:flex;align-items:center;justify-content:center}.bus144-photo img{display:block;width:100%;height:100%;min-height:330px;object-fit:contain}
.bus144-copy{padding:34px}.bus144-copy .eyebrow{color:var(--purple)}.bus144-copy h4{font-size:32px;line-height:1.05;margin:6px 0 14px;color:var(--deep)}
.bus144-copy p{color:var(--muted);font-size:15px}.bus144-copy .plate-punchline{border-left:5px solid var(--gold);background:#fff8da;padding:13px 15px;color:#504313;font-weight:900;margin-top:18px}
@media(max-width:800px){.bus144{grid-template-columns:1fr}.bus144-photo img{min-height:0}.plate-life-head,.bus144-copy{padding:26px 22px}}



@media(max-width:850px){.states-map-layout,.countries-map-layout{grid-template-columns:1fr !important}}



@media(max-width:900px){.family-history-grid{grid-template-columns:1fr !important}}
#family-history img{max-width:100%}
#family-history .extra h3{color:var(--purple);font-size:24px}



/* MOBILE NAVIGATION */
.menu-toggle{display:none;background:transparent;border:2px solid var(--gold);color:#fff;border-radius:8px;width:46px;height:42px;align-items:center;justify-content:center;font-size:25px;line-height:1;cursor:pointer}
@media(max-width:980px){
 .nav{position:relative;min-height:70px}
 .brand strong{font-size:17px}.brand small{font-size:10px}
 .menu-toggle{display:inline-flex;flex:0 0 auto}
 .navlinks{display:none!important;position:absolute;left:0;right:0;top:100%;background:#16091f;border-top:1px solid #ffffff1f;border-bottom:3px solid var(--gold);padding:10px min(4vw,24px) 16px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 14px 30px #0005}
 .navlinks.mobile-open{display:flex!important}
 .navlinks a{display:block;padding:12px 8px;border-bottom:1px solid #ffffff14;font-size:13px}
 .navlinks a:last-child{border-bottom:0}
}
@media(max-width:640px){.hero-grid{padding-top:34px}}


/* VERSION 14 — PAYING IT FORWARD */
.giving-section{
  background:
    radial-gradient(circle at 88% 10%,rgba(102,51,153,.10),transparent 28%),
    linear-gradient(180deg,#fff 0%,#f6f1f8 100%);
}
.giving-hero{max-width:940px;margin:0 auto 42px;text-align:center}
.giving-kicker{font-size:12px;letter-spacing:2.1px;text-transform:uppercase;font-weight:1000;color:var(--purple)}
.giving-hero h2{font-size:clamp(48px,7vw,84px);line-height:.95;letter-spacing:-3px;color:var(--deep);margin:10px 0 16px}
.giving-lede{font-size:clamp(20px,2.3vw,28px);line-height:1.35;color:#4b414f;margin:0 auto;max-width:820px}
.giving-quote{max-width:760px;margin:28px auto 22px;padding:21px 25px;background:var(--deep);color:#fff;border-left:6px solid var(--gold);border-radius:14px;font-size:20px;line-height:1.45;box-shadow:0 14px 34px #16091f1a}
.giving-quote strong{color:var(--gold)}
.giving-intro{max-width:820px;margin:0 auto;color:var(--muted);font-size:17px}
.giving-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.giving-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 12px 34px #3119430f;display:flex;flex-direction:column;min-width:0}
.giving-card-wide{grid-column:1/-1;width:min(760px,100%);justify-self:center}
.giving-visual{height:205px;display:flex;align-items:center;justify-content:center;padding:26px;border-bottom:1px solid var(--line);overflow:hidden}
.giving-visual img{display:block;max-width:100%;max-height:155px;object-fit:contain}.giving-visual-dark img{max-height:135px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.12))}
.giving-visual-light{background:#fff}
.giving-visual-dark{background:linear-gradient(135deg,#24102f 0%,#3b1850 100%);position:relative}
.giving-visual-dark:after{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;background:var(--gold)}
.go-west-security-mark{text-align:center;line-height:.9;transform:skew(-4deg)}
.go-west-security-mark strong{display:block;color:#fff;font-size:46px;letter-spacing:-2px;font-weight:1000;text-shadow:0 3px 0 #0003}
.go-west-security-mark span{display:inline-block;margin-top:12px;padding:7px 16px;background:var(--gold);color:var(--deep);font-size:17px;font-weight:1000;letter-spacing:4px;transform:skew(4deg)}

.giving-photo{padding:0;background:#2e173d}
.giving-photo img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center 42%}
.giving-wiu-mark{background:linear-gradient(135deg,#f8f4fb,#fff)}
.giving-stjude-mark{background:#fff}
.giving-wordmark{text-align:center;line-height:1}
.giving-wordmark strong{display:block;font-size:64px;letter-spacing:-3px;color:var(--purple);font-weight:1000}
.giving-wordmark small{display:block;margin-top:9px;font-size:15px;letter-spacing:2px;font-weight:900;color:#514758}
.stjude-wordmark strong{font-family:Georgia,serif;font-size:47px;letter-spacing:-2px;color:#d71954}
.stjude-wordmark small{font-family:Georgia,serif;letter-spacing:.3px;font-size:15px;color:#3d3740}
.giving-body{padding:25px;display:flex;flex-direction:column;flex:1}
.giving-body h3{font-size:28px;line-height:1.1;margin:7px 0 12px;color:var(--deep)}
.giving-body p{color:var(--muted);margin:0 0 18px}
.giving-thanks{margin-top:auto;padding-top:16px;border-top:1px solid #eee;color:#4f3b58;font-weight:700}
.giving-thanks span{display:block;color:var(--purple);font-size:11px;letter-spacing:1.5px;text-transform:uppercase;font-weight:1000;margin-bottom:3px}
.giving-link{margin-top:16px;color:var(--purple);font-weight:1000;font-size:13px;text-transform:uppercase;letter-spacing:.4px}
.giving-link:hover{color:#4f2579;text-decoration:underline}
.giving-close{max-width:920px;margin:38px auto 0;padding:26px 28px;background:#fff;border:1px solid var(--line);border-left:7px solid var(--gold);border-radius:16px;display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start;box-shadow:0 12px 32px #3119430d}
.giving-close-mark{font-size:32px;line-height:1}
.giving-close p{margin:7px 0 8px;color:var(--muted);font-size:17px}
.giving-close strong{font-size:20px;color:var(--deep)}
@media(max-width:800px){
  .giving-grid{grid-template-columns:1fr}
  .giving-card-wide{grid-column:auto;width:100%}
  .giving-visual{height:180px}
  .giving-hero h2{letter-spacing:-2px}
}
@media(max-width:540px){
  .giving-hero{text-align:left;margin-bottom:30px}
  .giving-quote{font-size:18px}
  .giving-body{padding:21px}
  .giving-close{grid-template-columns:1fr;padding:22px}
  .giving-close-mark{font-size:28px}
  .giving-wordmark strong{font-size:52px}
  .stjude-wordmark strong{font-size:39px}
}

/* About: personal introduction and interest links */
#about .about-refresh-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);gap:22px;margin-bottom:22px}
#about .about-refresh-intro{border-left:6px solid var(--purple);padding:30px}
#about .about-refresh-intro h3{font-size:34px;color:var(--deep);margin:8px 0 16px}
#about .about-refresh-intro p{font-size:17px}
#about .about-refresh-photo{margin:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--deep)}
#about .about-refresh-photo img{display:block;width:100%;height:360px;object-fit:cover;object-position:center}
#about .about-refresh-photo figcaption{padding:14px 18px;color:#fff;font-size:13px}
#about .about-name-story{border-top:6px solid var(--gold);margin-bottom:22px}
#about .about-name-story h3{font-size:28px;color:var(--deep)}
#about .about-interest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#about .about-interest-grid .card{display:flex;flex-direction:column;align-items:start}
#about .about-interest-grid h3{color:var(--deep);font-size:26px}
#about .about-interest-grid p{flex:1}
#about .about-refresh-link{color:var(--purple);font-weight:800;text-decoration:underline;text-underline-offset:4px}
#about .about-refresh-link:focus-visible,#about .about-background summary:focus-visible{outline:3px solid var(--purple);outline-offset:5px}
#about .about-background{margin-top:24px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
#about .about-background summary{padding:22px;cursor:pointer;font-size:22px;font-weight:800;color:var(--deep)}
#about .about-background summary span{display:block;margin-top:6px;font-size:14px;font-weight:400;color:var(--muted)}
#about .about-background>.card{border:0!important;border-top:1px solid var(--line)!important;margin:0!important;box-shadow:none}
#about .about-background-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}
@media(max-width:760px){#about .about-refresh-hero,#about .about-interest-grid,#about .about-background-columns{grid-template-columns:1fr}#about .about-refresh-photo img{height:auto;max-height:480px;object-fit:contain}#about .about-refresh-intro{padding:24px}}

/* Scouting experiences */
#scouting .scouting-more{padding-top:42px}
#scouting .scouting-more .section-head h2{font-size:clamp(30px,4vw,46px);line-height:1.12;color:var(--deep)}
#scouting .scouting-experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#scouting .scouting-experience{border-top:5px solid var(--purple);padding:26px}
#scouting .scouting-experience:nth-child(2),#scouting .scouting-experience:nth-child(4){border-top-color:var(--gold)}
#scouting .scouting-experience h3{font-size:26px;color:var(--deep);line-height:1.15;margin:8px 0 18px}
#scouting .scouting-experience ul{margin:0;padding-left:20px;color:var(--muted)}
#scouting .scouting-experience li{margin-bottom:10px;line-height:1.55}
#scouting .scouting-note{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
@media(max-width:760px){#scouting .scouting-experience-grid{grid-template-columns:1fr}#scouting .scouting-experience{padding:22px}}

/* Roads introduction, route browsing and stories */
#roads .roads-introduction{margin-bottom:20px}
#roads .roads-introduction h2{font-size:clamp(36px,5vw,60px);line-height:1.06;color:var(--deep)}
#roads .roads-jump-links{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}
#roads .roads-jump-links a{background:#f4edf8;border:1px solid var(--line);border-radius:8px;padding:10px 16px;color:var(--purple);font-weight:800}
#roads .roads-status-key{display:flex;flex-wrap:wrap;gap:10px 22px;padding:18px 22px;background:#faf7fc;border-bottom:1px solid var(--line);color:var(--muted);font-size:13px}
#roads .roads-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#roads .roads-results-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 22px;color:var(--muted);font-size:14px}
#roads .roads-results-bar p{margin:0}
#roads #roadReset{background:transparent;color:var(--purple);border:0;text-decoration:underline;cursor:pointer;font:inherit}
#roads .roads-load-more{text-align:center;padding:0 22px 24px}
#roads #roadShowMore[hidden]{display:none!important}
#roads .roads-stories{margin-top:42px}
#roads .roads-stories h2{font-size:clamp(28px,4vw,42px);color:var(--deep)}
#roads .roads-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#roads .roads-story-grid h3{color:var(--deep);font-size:24px}
#roads .roads-story-grid p{font-size:18px;font-weight:700}
#roads .roads-story-grid small{color:var(--muted)}
#roads .plate-life{margin-top:36px}
#roads :is(.road-filter,.road-search,.roads-jump-links a,#roadReset):focus-visible{outline:3px solid var(--gold);outline-offset:3px}
#interstate-log,#road-stories,#license-plates{scroll-margin-top:100px}
@media(max-width:760px){#roads .roads-story-grid{grid-template-columns:1fr}#roads .road-master-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#roads .roads-results-bar{align-items:start}}

/* Rails and Runways travel logs */
#rails .rail-refresh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
#rails .rail-refresh-stats>div{padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}
#rails .rail-refresh-stats strong{display:block;color:var(--purple);font-size:36px}
#rails .rail-refresh-stats span{color:var(--muted);font-size:14px}
#rails .rail-refresh-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#rails .rail-refresh-routes article{padding:20px;background:#f7f3fa;border-left:4px solid var(--purple);border-radius:10px}
#rails .rail-refresh-routes h4{font-size:23px;margin:0 0 10px;color:var(--deep)}
#rails .rail-refresh-routes p{margin:0;color:var(--muted)}
#rails .rail-refresh-stations{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
#rails .rail-refresh-stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
#airports .airport-refresh-intro{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:24px;align-items:center;padding:26px;background:var(--deep);border-radius:16px;color:#fff;margin-bottom:22px}
#airports .airport-refresh-intro strong{display:block;font-size:50px;line-height:1;color:var(--gold)}
#airports .airport-refresh-intro span{display:block;margin-top:10px;font-size:14px}
#airports .airport-refresh-intro p{margin:0;color:#eee}
#airports .airport-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#airports .airport-featured-grid h3{font-size:24px;color:var(--deep)}
#airports .airport-log-heading{margin:34px 0 18px}
#airports .airport-log-heading h3{font-size:28px;color:var(--deep)}
#airports .airport-toolbar{align-items:end}
#airports .airport-search-field{flex:2;min-width:220px}
#airports .airport-region-field{flex:1;min-width:200px}
#airports .airport-toolbar label{display:block;font-size:13px;font-weight:800;color:var(--deep);margin-bottom:7px}
#airports .airport-toolbar input,#airports .airport-toolbar select{width:100%;min-width:0;min-height:46px;border:1px solid #d7d0da;border-radius:8px;padding:12px 14px;background:#fff;color:var(--ink);font:inherit}
#airports #airportReset{min-height:46px}
#airports .airport-result-count{font-size:14px;color:var(--muted)}
#airports .airport-load-more{text-align:center;margin-top:24px}
#airports #airportShowMore[hidden],#airports #airportEmpty[hidden]{display:none!important}
#airports :is(input,select,button):focus-visible{outline:3px solid var(--purple);outline-offset:3px}
@media(max-width:760px){#rails .rail-refresh-stats,#rails .rail-refresh-routes,#rails .rail-refresh-stories,#airports .airport-refresh-intro,#airports .airport-featured-grid{grid-template-columns:1fr}#airports .airport-toolbar{flex-direction:column;align-items:stretch}#airports .airport-search-field,#airports .airport-region-field{width:100%}}

/* Life with Dogs */
#life .dogs-jump-links{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 28px}
#life .dogs-jump-links a{padding:10px 16px;background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--purple);font-weight:800}
#life .dogs-subhead{margin:28px 0 20px}
#life .dogs-subhead h3{font-size:clamp(28px,4vw,40px);line-height:1.15;color:var(--deep);margin:8px 0 12px}
#life .dogs-current-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
#life .dogs-current-grid>.dog>img{height:340px!important;aspect-ratio:auto!important;object-fit:contain!important;background:#f4eef6}
#life .dogs-ike-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:20px;margin-bottom:22px}
#life #dogs-remembered{margin-top:46px;padding-top:24px;border-top:1px solid var(--line)}
#life .dogs-memory-secondary{max-width:520px}
#life #dogs-current,#life #dogs-remembered{scroll-margin-top:100px}
#life .dogs-jump-links a:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
@media(max-width:900px){#life .dogs-current-grid,#life .dogs-ike-layout{grid-template-columns:1fr}#life .dogs-current-grid>.dog>img{height:auto!important;max-height:520px}}
@media(max-width:760px){#about .work-memories-grid{grid-template-columns:1fr!important}}

/* SITW horizontal identity — 2026-10 */
.brand-refresh{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-width:0;text-decoration:none}
.brand-refresh .brand-route-art{display:block;width:82px;height:54px;object-fit:contain;flex-shrink:0}
.brand-refresh .brand-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.brand-refresh .brand-copy strong{font-size:17px;line-height:1.12;white-space:nowrap}
.brand-refresh .brand-copy small{font-size:10px;line-height:1.4;letter-spacing:.75px;white-space:nowrap}
@media(min-width:981px){header .nav{gap:16px}.navlinks{gap:clamp(7px,1vw,15px)}.navlinks a{font-size:11px;letter-spacing:.35px}.brand-refresh .brand-route-art{width:76px;height:49px}}
@media(max-width:1180px) and (min-width:981px){.brand-refresh .brand-route-art{width:58px;height:42px}.brand-refresh .brand-copy strong{font-size:15px}.brand-refresh .brand-copy small{font-size:9px}.navlinks{gap:7px}.navlinks a{font-size:10px;letter-spacing:0}}
@media(max-width:640px){.brand-refresh .brand-route-art{width:66px;height:44px}.brand-refresh .brand-copy strong{font-size:16px}.brand-refresh .brand-copy small{font-size:9px;letter-spacing:.45px}}
@media(max-width:380px){.brand-refresh{gap:5px}.brand-refresh .brand-route-art{width:54px;height:38px}.brand-refresh .brand-copy strong{font-size:14px}.brand-refresh .brand-copy small{font-size:8px}}

/* Replace the old homepage interstate shield with the open SITW transportation symbol */
.route-sign-refresh{display:flex;align-items:center;justify-content:center;width:clamp(154px,17vw,250px);height:auto;min-height:125px;background:none;border:0;box-shadow:none;padding:0;overflow:visible}
.route-sign-refresh img{display:block;width:100%;height:auto;filter:drop-shadow(0 5px 12px rgba(0,0,0,.16))}
@media(max-width:640px){.route-sign-refresh{width:155px;min-height:90px}}

/* Header polish — larger identity, balanced navigation, no cramped items */
@media(min-width:1181px){
 header .nav{gap:14px}
 .brand-refresh{gap:10px}
 .brand-refresh .brand-route-art{width:92px;height:61px}
 .brand-refresh .brand-copy strong{font-size:19px;line-height:1.12}
 .brand-refresh .brand-copy small{font-size:10.5px;letter-spacing:.6px}
 header .navlinks{gap:clamp(6px,.72vw,12px)}
 header .navlinks a{font-size:clamp(9.5px,.78vw,11px);letter-spacing:.1px;white-space:nowrap}
}
@media(min-width:981px) and (max-width:1180px){
 .brand-refresh .brand-route-art{width:70px;height:49px}
 .brand-refresh .brand-copy strong{font-size:16px}
 .brand-refresh .brand-copy small{font-size:9px}
 header .navlinks{gap:6px}
 header .navlinks a{font-size:9.5px;white-space:nowrap}
}
@media(max-width:980px){
 .brand-refresh .brand-route-art{width:79px;height:52px}
 .brand-refresh .brand-copy strong{font-size:18px}
 .brand-refresh .brand-copy small{font-size:10px}
}
@media(max-width:640px){
 .brand-refresh .brand-route-art{width:68px;height:45px}
 .brand-refresh .brand-copy strong{font-size:16px}
 .brand-refresh .brand-copy small{font-size:9px}
}
@media(max-width:380px){
 .brand-refresh .brand-route-art{width:55px;height:39px}
 .brand-refresh .brand-copy strong{font-size:14px}
 .brand-refresh .brand-copy small{font-size:8px}
}

/* Optional Moira Rose Edition — theatrical copy, unchanged facts */
.moira-control{margin:18px 0 22px;max-width:620px}
.moira-toggle{appearance:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--gold);background:#ffffff12;color:#ffda59;border-radius:999px;font-size:14px;font-weight:850;padding:11px 18px;box-shadow:0 3px 12px #0002;transition:background .18s,transform .18s}
.moira-toggle:hover{background:#ffffff25;transform:translateY(-1px)}
.moira-toggle:focus-visible{outline:3px solid white;outline-offset:3px}
.moira-tribute{color:#f7e9ff;font-size:13px;line-height:1.5;max-width:570px;margin:11px 0 0;border-left:3px solid var(--gold);padding:8px 0 8px 12px;background:#ffffff08}
.moira-tribute[hidden]{display:none!important}
body.moira-edition .moira-toggle{background:var(--gold);color:var(--deep)}
body.moira-edition .hero h1 em{color:#ffe486}
@media(max-width:640px){.moira-control{margin:14px 0 18px}.moira-toggle{font-size:12px;padding:9px 13px}.moira-tribute{font-size:12px}}

/* Moira's site-wide theatrical presentation; all historical content stays intact */
.moira-chapter[hidden],.moira-return[hidden]{display:none!important}
.moira-chapter{position:relative;max-width:960px;margin:22px 0 34px;padding:24px 30px;border-left:5px solid #dfb13e;background:linear-gradient(110deg,#291035,#54245b);color:#fff;box-shadow:0 12px 28px #11081a23;border-radius:0 16px 16px 0}
.moira-chapter-kicker{font-size:11px;letter-spacing:2px;color:#ffe0a0;font-weight:900}
.moira-chapter h3{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(24px,3vw,35px)!important;font-weight:500!important;line-height:1.15!important;color:#fff!important;margin:9px 0!important}
.moira-chapter p{font-size:clamp(14px,1.5vw,17px);line-height:1.6;color:#fff1fb!important;margin:0!important;max-width:810px}
.moira-return{position:fixed;z-index:150;right:18px;bottom:18px;cursor:pointer;padding:12px 18px;background:#ffcc00;color:#190821;border:2px solid #fff;border-radius:999px;font-weight:900;box-shadow:0 5px 20px #16091f70}
.moira-return:focus-visible{outline:3px solid #663399;outline-offset:3px}
body.moira-edition #about,body.moira-edition #rrr,body.moira-edition #roads,body.moira-edition #airports,body.moira-edition #scouting,body.moira-edition #lego,body.moira-edition #history{scroll-margin-top:95px}
body.moira-edition .section-head h2{letter-spacing:-.025em}
@media(max-width:640px){.moira-chapter{padding:18px 20px;margin:16px 0 22px}.moira-return{right:10px;bottom:10px;font-size:12px;padding:10px 13px}}

/* Moira's unsolicited asides, inserted only in the optional theatrical edition */
.moira-interruption[hidden]{display:none!important}
.moira-interruption{clear:both;max-width:790px;margin:20px 0 30px;padding:17px 22px;background:#fff8e9;color:#291139;border:1px solid #e2bf69;border-left:5px solid #b58519;border-radius:4px 16px 16px 4px;box-shadow:0 8px 22px #16091f17}
.moira-interruption>span{display:block;color:#795312;font-size:11px;font-weight:900;letter-spacing:.14em}
.moira-interruption h4{margin:8px 0 6px!important;font:italic 600 clamp(20px,2.4vw,27px)/1.25 Georgia,serif!important;color:#321444!important}
.moira-interruption p{margin:0!important;color:#34233c!important;font-size:15px!important;line-height:1.65!important}
@media(max-width:640px){.moira-interruption{padding:15px;margin:16px 0 22px}}
