
:root{
  --bg:#05070b;
  --bg-soft:#0b1018;
  --panel:rgba(255,255,255,.045);
  --line:rgba(255,255,255,.10);
  --text:#f7f9fc;
  --muted:#aeb8c8;
  --blue:#4b7cff;
  --radius:26px;
  --shadow:0 24px 80px rgba(0,0,0,.34);
  --shell:min(1220px,calc(100vw - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(75,124,255,.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(146,180,255,.06), transparent 22%),
    var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.shell{width:var(--shell);margin:0 auto}
.panel{
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 24px;
  backdrop-filter:blur(16px);
  background:linear-gradient(to bottom, rgba(5,7,11,.84), rgba(5,7,11,.42));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.brand{font-size:.95rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.desktop-nav,.header-actions,.lang-switch,.hero-actions,.programme-links,.socials,.footer-links{display:flex;gap:14px;align-items:center}
.desktop-nav{gap:22px}
.desktop-nav a,.footer-links a,.socials a{color:var(--muted);font-size:.95rem}
.desktop-nav a:hover,.footer-links a:hover,.socials a:hover,.programme-links a:hover,.mobile-nav a:hover{color:var(--text)}
.lang-btn,.menu-toggle{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.02);
  color:var(--muted);
  border-radius:999px; padding:9px 12px; cursor:pointer;
  font-weight:700; letter-spacing:.08em;
}
.lang-btn.active{
  color:var(--text);
  background:linear-gradient(135deg, rgba(75,124,255,.94), rgba(7,11,18,.94) 58%, rgba(255,255,255,.18));
  border-color:rgba(255,255,255,.24)
}
.menu-toggle{display:none;font-size:1.1rem;padding:9px 13px}
.mobile-panel{
  position:fixed; top:72px; right:20px; z-index:49; width:min(240px, calc(100vw - 40px));
  padding:14px; background:rgba(10,15,24,.96); border:1px solid var(--line);
  border-radius:20px; box-shadow:var(--shadow)
}
.mobile-nav{display:grid;gap:8px}
.mobile-nav a{padding:10px 12px;border-radius:14px;color:var(--muted)}
.hero{position:relative; min-height:100svh; display:flex; align-items:stretch; overflow:hidden}
.hero-media{
  position:absolute; inset:0;
  background:url('assets/hero-porsche.png') 22% 20% / cover no-repeat;
  transform:scale(1.02)
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(5,7,11,.08) 0%, rgba(5,7,11,.28) 44%, rgba(5,7,11,.90) 100%),
    linear-gradient(90deg, rgba(5,7,11,.50) 0%, rgba(5,7,11,.14) 38%, rgba(5,7,11,.74) 72%, rgba(5,7,11,.92) 100%);
}
.hero-number{
  position:absolute; right:5.2vw; top:11vh; z-index:1;
  font-size:clamp(7rem, 19vw, 18rem); line-height:.9; font-weight:900;
  color:rgba(255,255,255,.08); letter-spacing:-.07em; user-select:none;
}
.hero-grid{
  position:relative; z-index:2; display:grid; grid-template-columns:1fr minmax(360px, 540px);
  align-items:end; width:100%; padding:120px 0 72px;
}
.hero-copy{
  justify-self:end; padding:34px; border-radius:28px;
  background:linear-gradient(180deg, rgba(8,12,20,.26), rgba(8,12,20,.08));
  backdrop-filter: blur(2px);
}
.kicker,.section-tag{margin:0 0 16px; color:#c4d6ff; text-transform:uppercase; letter-spacing:.2em; font-size:.78rem}
h1{margin:0; font-size:clamp(3rem,8vw,6.25rem); line-height:.9; text-transform:uppercase; letter-spacing:-.05em}
.hero-lines{display:grid; gap:8px; margin:18px 0 16px}
.hero-lines div{font-size:clamp(1.05rem,2vw,1.32rem);font-weight:650}
.hero-intro,.section-intro,.story-copy p,.programme-copy p,.press-card p,.partner-card p,.profile-goal,.timeline-item p{color:var(--muted)}
.hero-intro{max-width:46ch; font-size:1.04rem}
.hero-actions{margin-top:28px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; min-width:190px; padding:15px 20px;
  border-radius:999px; font-weight:700; border:1px solid rgba(255,255,255,.15); transition:.25s ease;
}
.btn:hover,.press-card:hover,.partner-card:hover,.gallery-item:hover,.timeline-item:hover,.counter:hover{transform:translateY(-2px)}
.btn-primary,.btn-secondary{
  background:linear-gradient(135deg, rgba(75,124,255,.94), rgba(7,11,18,.94) 58%, rgba(255,255,255,.18));
}
.facts-bar{margin-top:-36px; position:relative; z-index:3; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px}
.fact-card{
  padding:18px 18px 16px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
}
.fact-card span,.profile-stats span{
  display:block; color:var(--muted); font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:8px
}
.fact-card strong{font-size:1rem; line-height:1.3}
.section{padding:96px 0}
.section-heading{max-width:860px; margin-bottom:28px}
.section-heading h2{font-size:clamp(2.2rem,4vw,3.5rem);line-height:.96;letter-spacing:-.05em;margin:0 0 10px}
.profile-grid,.story-grid,.programme-grid{display:grid; gap:30px; align-items:start}
.profile-grid{grid-template-columns:420px 1fr}
.story-grid{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)}
.programme-grid{grid-template-columns:1.02fr .98fr}
.profile-image{overflow:hidden; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow)}
.profile-image img{width:100%; height:100%; object-fit:cover}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
.profile-stats strong{display:block;font-size:1.02rem}
.profile-goal{margin:20px 0 0;max-width:60ch}
.story-copy{display:grid;gap:16px}
.quote-card{padding:24px; margin-bottom:16px}
.quote-mark{font-size:4rem; line-height:1; margin:0 0 4px; color:#d7e4ff}
.counter-list{display:grid; gap:12px}
.counter{padding:16px 18px; background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025)); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); transition:.25s ease}
.counter strong{display:block; font-size:1.4rem; margin-bottom:6px}
.timeline{display:grid; gap:16px; position:relative}
.timeline::before{content:""; position:absolute; left:18px; top:16px; bottom:16px; width:2px; background:linear-gradient(var(--blue), rgba(255,255,255,.18))}
.timeline-item{position:relative; margin-left:44px; padding:18px 20px; transition:.25s ease}
.timeline-item::before{
  content:""; position:absolute; left:-34px; top:24px; width:18px; height:18px; border-radius:999px;
  background:linear-gradient(135deg, #6c97ff, #fff); box-shadow:0 0 0 6px rgba(75,124,255,.12)
}
.timeline-item .year{display:inline-block; margin-bottom:8px; color:#cfe0ff; font-size:.78rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase}
.timeline-item h3,.press-card h3,.partner-card h3{margin:0 0 8px; font-size:1.24rem; letter-spacing:-.02em}
.programme-badges{display:flex; gap:10px; flex-wrap:wrap; margin:20px 0}
.programme-badges span{
  padding:10px 14px; border-radius:999px; background:rgba(75,124,255,.11);
  border:1px solid rgba(75,124,255,.28); color:#dae6ff; font-weight:600
}
.calendar-list{display:grid; gap:10px; margin:22px 0 20px}
.calendar-list div{display:flex; justify-content:space-between; gap:14px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08)}
.calendar-list span{text-align:right}
.programme-links a{color:#dbe6ff; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,.25)}
.programme-visual{padding:16px}
.programme-visual img{width:100%; height:auto; object-fit:contain; background:#0b1018; border-radius:20px}
.partner-grid,.press-grid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px}
.partner-card,.press-card{padding:22px; transition:.25s ease}
.press-card span{display:inline-block; margin-bottom:14px; color:#cfe0ff; font-size:.78rem; text-transform:uppercase; letter-spacing:.18em}
.gallery-grid{display:grid; grid-template-columns:repeat(12,1fr); gap:16px}
.gallery-item{grid-column:span 4; overflow:hidden; border-radius:24px; border:1px solid rgba(255,255,255,.08); transition:.25s ease}
.gallery-item.wide{grid-column:span 6}
.gallery-item.tall img{aspect-ratio:4/5}
.gallery-item img{width:100%; height:100%; object-fit:cover; aspect-ratio:4/3}
.contact-card{padding:30px; display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center}
.mail-link{display:inline-block; font-size:1.34rem; font-weight:800; margin-bottom:14px}
.site-footer{display:flex; justify-content:space-between; align-items:center; gap:20px; padding:0 0 48px; color:var(--muted)}
.site-footer strong{display:block;color:var(--text);margin-bottom:4px}
.reveal{opacity:0; transform:translateY(18px); transition:opacity .8s ease, transform .8s ease}
.reveal.is-visible{opacity:1; transform:none}
@media (max-width:1080px){
  .hero-grid,.profile-grid,.story-grid,.programme-grid,.contact-card{grid-template-columns:1fr}
  .hero-copy{max-width:620px}
  .facts-bar{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
  .desktop-nav{display:none}
  .menu-toggle{display:inline-flex; align-items:center; justify-content:center}
  .hero-media{background-position:18% 18%}
  .hero-copy{padding:26px}
  .partner-grid,.press-grid{grid-template-columns:1fr}
  .gallery-item,.gallery-item.wide{grid-column:span 6}
}
@media (max-width:640px){
  .site-header{padding:16px}
  .hero-grid{padding:110px 0 64px}
  .hero-number{right:4vw; top:14vh}
  .facts-bar{grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:-20px}
  .profile-stats{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr}
  .gallery-item,.gallery-item.wide{grid-column:auto}
  .calendar-list div{flex-direction:column}
  .calendar-list span{text-align:left}
  .hero-actions,.programme-links,.socials,.footer-links{flex-wrap:wrap}
  .btn{width:100%}
  .contact-card,.site-footer{grid-template-columns:1fr; display:grid}
}


body{letter-spacing:-0.01em}
h1{letter-spacing:-0.055em}
.hero-media{background-position:28% 22%}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(5,7,11,.08) 0%, rgba(5,7,11,.28) 44%, rgba(5,7,11,.90) 100%),
    linear-gradient(90deg, rgba(5,7,11,.50) 0%, rgba(5,7,11,.14) 38%, rgba(5,7,11,.74) 72%, rgba(5,7,11,.92) 100%);
}
.hero-grid{padding-left:20px;padding-right:20px}
.hero-copy{max-width:100%}
.hero-meta{
  margin:14px 0 0;
  color:#d8e4ff;
  font-weight:600;
  letter-spacing:.04em;
}
.btn{min-width:200px}
.zoomable{transition:transform .25s ease}
.zoomable:hover{transform:scale(1.02)}
.sponsor-ribbon{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-top:22px;
  margin-bottom:-10px;
}
.sponsor-item{
  text-align:center;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  color:#dce6f8;
  font-weight:700;
  letter-spacing:.02em;
}
.spotlight-card{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:0;
  overflow:hidden;
  border-radius:32px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}
.spotlight-copy{
  padding:36px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.spotlight-copy h2{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:.95;
  letter-spacing:-.05em;
  margin:0 0 14px;
}
.spotlight-copy p:last-child{color:var(--muted);max-width:44ch}
.spotlight-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:360px;
}
.press-card,.partner-card,.gallery-item,.timeline-item,.counter,.btn,.sponsor-item{
  transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
.press-card:hover,.partner-card:hover,.gallery-item:hover,.timeline-item:hover,.counter:hover,.sponsor-item:hover{
  border-color:rgba(255,255,255,.18);
  box-shadow:0 26px 90px rgba(0,0,0,.42);
}
@media (max-width:1080px){
  .sponsor-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}
  .spotlight-card{grid-template-columns:1fr}
}
@media (max-width:640px){
  .sponsor-ribbon{grid-template-columns:1fr 1fr}
  .spotlight-copy{padding:24px}
  .spotlight-media img{min-height:240px}
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width:768px){
  .hero-media{
    background-image:url('assets/hero-mobile.jpg') !important;
    background-position:center top;
  }
}

.focus-desktop{display:block;}
.focus-mobile{display:none;}

@media (max-width:768px){
  .focus-desktop{display:none;}
  .focus-mobile{display:block;}
}


.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.testimonial-card{
  padding:24px;
}
.testimonial-card h3{
  margin:0 0 8px;
  font-size:1.25rem;
  letter-spacing:-.02em;
}
.testimonial-role{
  color:#cfe0ff;
  font-size:.86rem;
  line-height:1.55;
  margin:0 0 16px;
}
.testimonial-text{
  color:var(--muted);
  line-height:1.8;
  margin:0;
}
@media (max-width:980px){
  .testimonials-grid{grid-template-columns:1fr;}
}


.testimonial-head{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:14px;
  align-items:start;
  margin-bottom:14px;
}
.testimonial-portrait{
  width:56px;
  height:56px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.12);
}
.testimonial-card h3{
  margin:0 0 6px;
}
.testimonial-role{
  margin:0;
}


/* testimonial portrait hard fix */
.testimonial-head{
  display:grid !important;
  grid-template-columns:56px 1fr !important;
  gap:14px !important;
  align-items:start !important;
  margin-bottom:14px !important;
}
.testimonial-portrait{
  width:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  height:56px !important;
  min-height:56px !important;
  max-height:56px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  display:block !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.12) !important;
}


/* Footer redesign */
.site-footer{
  margin-top:120px !important;
  padding-top:48px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}
.footer-inner{
  display:grid !important;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:32px;
  align-items:start;
}
.footer-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-brand strong{
  font-size:1.1rem;
  letter-spacing:.04em;
}
.footer-tagline{
  color:var(--muted);
  font-size:.9rem;
  margin:0;
}
.footer-nav a{
  color:var(--muted);
  font-size:.9rem;
}
.footer-nav a:hover, .footer-socials a:hover{
  color:var(--text);
}
.footer-mail{
  font-weight:600;
  margin-bottom:6px;
}
.footer-socials{
  display:flex;
  gap:14px;
  color:var(--muted);
  font-size:.9rem;
  flex-wrap:wrap;
}
.footer-bottom{
  margin-top:40px !important;
  padding:20px 0 48px !important;
  border-top:1px solid rgba(255,255,255,.06);
  font-size:.85rem;
  color:var(--muted);
}

/* Mobile hero fine-tune */
@media (max-width:768px){
  .hero{
    min-height:92svh !important;
  }
  .hero-media{
    background-position:center 8% !important;
  }
  .hero-overlay{
    background:
      linear-gradient(180deg, rgba(5,7,11,.10) 0%, rgba(5,7,11,.22) 24%, rgba(5,7,11,.86) 100%),
      linear-gradient(90deg, rgba(5,7,11,.34) 0%, rgba(5,7,11,.14) 46%, rgba(5,7,11,.68) 100%) !important;
  }
  .hero-grid{
    align-items:end !important;
    padding-top:180px !important;
    padding-bottom:36px !important;
  }
  .hero-copy{
    margin-top:auto !important;
    padding:22px !important;
    border-radius:24px !important;
    background:linear-gradient(180deg, rgba(8,12,20,.40), rgba(8,12,20,.20)) !important;
  }
  .hero-number{
    top:16vh !important;
    right:4vw !important;
    font-size:4.6rem !important;
    opacity:.05 !important;
  }
}

/* Gallery */
.gallery-item img{
  cursor:zoom-in;
}
@media (max-width:900px){
  .footer-inner{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }
  .footer-bottom{
    padding-bottom:36px !important;
  }
}


.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.footer-copyright,
.footer-rights{
  color:var(--muted);
  font-size:.85rem;
}
@media (max-width:900px){
  .footer-bottom{
    display:grid;
    gap:8px;
  }
}

.media-note{
  margin-top:10px;
  color:var(--muted);
  font-size:.85rem;
}


/* Mobile-only polish: does not affect desktop */
@media (max-width: 768px) {
  .hero {
    min-height: 88svh !important;
  }

  .hero-media {
    background-image: url('assets/hero-mobile.jpg') !important;
    background-position: center 6% !important;
    background-size: cover !important;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5,7,11,.06) 0%, rgba(5,7,11,.14) 24%, rgba(5,7,11,.82) 100%),
      linear-gradient(90deg, rgba(5,7,11,.22) 0%, rgba(5,7,11,.10) 46%, rgba(5,7,11,.56) 100%) !important;
  }

  .hero-grid {
    align-items: end !important;
    padding-top: 220px !important;
    padding-bottom: 26px !important;
  }

  .hero-copy {
    margin-top: auto !important;
    max-width: 100% !important;
    padding: 18px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(8,12,20,.34), rgba(8,12,20,.18)) !important;
  }

  .hero-lines {
    gap: 6px !important;
    margin: 14px 0 12px !important;
  }

  .hero-lines div {
    font-size: .98rem !important;
    line-height: 1.25 !important;
  }

  .hero-intro,
  .hero-meta {
    font-size: .93rem !important;
    line-height: 1.45 !important;
    max-width: 40ch !important;
  }

  .hero-actions {
    margin-top: 18px !important;
    gap: 10px !important;
  }

  .btn {
    padding: 13px 16px !important;
  }

  .hero-number {
    top: 12vh !important;
    right: 4vw !important;
    font-size: 4.2rem !important;
    opacity: .045 !important;
  }

  .facts-bar {
    gap: 10px !important;
  }

  .fact-card {
    padding: 14px 14px 12px !important;
    border-radius: 18px !important;
  }

  .section {
    padding: 76px 0 !important;
  }

  .section-heading {
    margin-bottom: 22px !important;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 7vw, 2.35rem) !important;
  }

  .story-copy,
  .programme-copy,
  .partner-card,
  .press-card,
  .testimonial-card,
  .contact-card,
  .panel {
    line-height: 1.6 !important;
  }

  .testimonials-grid {
    gap: 14px !important;
  }

  .testimonial-card {
    padding: 18px !important;
  }

  .testimonial-head {
    grid-template-columns: 48px 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .testimonial-portrait {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  .testimonial-role {
    font-size: .8rem !important;
    line-height: 1.45 !important;
  }

  .spotlight-card {
    grid-template-columns: 1fr !important;
  }

  .spotlight-copy {
    padding: 22px !important;
  }

  .spotlight-media img {
    min-height: 260px !important;
    object-position: center center !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto !important;
  }

  .gallery-item {
    border-radius: 18px !important;
  }

  .gallery-item img,
  .gallery-item.tall img {
    aspect-ratio: 4 / 5 !important;
  }

  .contact-card {
    padding: 22px !important;
    gap: 16px !important;
  }

  .mail-link {
    font-size: 1.08rem !important;
    word-break: break-word !important;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .footer-bottom {
    display: grid !important;
    gap: 8px !important;
    padding-bottom: 28px !important;
  }
}

@media (max-width: 420px) {
  .hero-grid {
    padding-top: 240px !important;
  }

  .hero-copy {
    padding: 16px !important;
  }

  .hero-lines div {
    font-size: .94rem !important;
  }

  .hero-intro,
  .hero-meta {
    font-size: .9rem !important;
  }
}

.packages-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.package-card ul{padding-left:18px;margin:12px 0 0;color:var(--muted)}
.package-card li{margin-bottom:6px}
@media (max-width:900px){.packages-grid{grid-template-columns:1fr}}

/* Partner packages refinement */
#packages{
  padding-top:24px !important;
}
#packages .section-heading{
  margin-bottom:28px !important;
}
.packages-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.package-card{
  padding:28px !important;
}
.package-card h3{
  margin:0 0 16px !important;
}
.package-card ul{
  padding-left:20px !important;
  margin:0 !important;
  color:var(--muted);
}
.package-card li{
  margin-bottom:10px !important;
  padding-left:4px;
  line-height:1.5;
}
@media (max-width:900px){
  #packages{
    padding-top:12px !important;
  }
  .packages-grid{
    grid-template-columns:1fr !important;
  }
  .package-card{
    padding:22px !important;
  }
}


/* Unified partner + package section */
.partners-section .section-heading{
  margin-bottom:28px;
}
.partner-storyline{
  margin:18px 0 0;
  max-width:760px;
  color:#dce8ff;
  font-weight:650;
  line-height:1.65;
  border-left:2px solid rgba(214,177,94,.75);
  padding-left:18px;
}
.packages-block{
  margin-top:54px;
}
.package-heading{
  margin-bottom:24px !important;
}
.packages-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.package-card{
  padding:28px !important;
  position:relative;
  overflow:hidden;
}
.package-card:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.12;
  pointer-events:none;
}
.package-card--bronze:before{
  background:linear-gradient(135deg, #b07a45, transparent 44%);
}
.package-card--silver:before{
  background:linear-gradient(135deg, #d9dde5, transparent 44%);
}
.package-card--gold:before{
  background:linear-gradient(135deg, #d6b15e, transparent 44%);
}
.package-topline{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.74rem;
  color:var(--muted);
}
.package-medal{
  width:30px;
  height:30px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:0;
  color:#07101c;
}
.package-card--bronze .package-medal{background:#b07a45;}
.package-card--silver .package-medal{background:#d9dde5;}
.package-card--gold .package-medal{background:#d6b15e;}
.package-card h3{
  margin:0 0 16px !important;
}
.package-card ul{
  padding-left:20px !important;
  margin:0 !important;
  color:var(--muted);
}
.package-card li{
  margin-bottom:10px !important;
  padding-left:4px;
  line-height:1.5;
}
@media (max-width:900px){
  .packages-grid{
    grid-template-columns:1fr !important;
  }
  .packages-block{
    margin-top:40px;
  }
  .package-card{
    padding:22px !important;
  }
}

.gallery-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio: 3/4;
}
.gallery-item{
  overflow:hidden;
  border-radius:18px;
}


/* Story-driven gallery layout — prevents unnatural image stretching */
.gallery-story-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
  align-items:start;
}
.gallery-card{
  margin:0;
  overflow:hidden;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.gallery-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  cursor:zoom-in;
}
.gallery-card--wide{
  grid-column:span 8;
}
.gallery-card--wide img{
  aspect-ratio:16/9;
}
.gallery-card--standard{
  grid-column:span 4;
}
.gallery-card--standard img{
  aspect-ratio:4/3;
}
.gallery-card--portrait{
  grid-column:span 4;
}
.gallery-card--portrait img{
  aspect-ratio:3/4;
}
@media (max-width:900px){
  .gallery-story-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:14px;
  }
  .gallery-card,
  .gallery-card--wide,
  .gallery-card--standard,
  .gallery-card--portrait{
    grid-column:auto !important;
  }
  .gallery-card--wide img,
  .gallery-card--standard img,
  .gallery-card--portrait img{
    aspect-ratio:auto !important;
    height:auto !important;
    object-fit:contain !important;
    background:rgba(255,255,255,.02);
  }
}
@media (max-width:520px){
  .gallery-story-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
  }
  .gallery-card{
    border-radius:14px;
  }
}


/* Rebuilt chronological gallery: full-image thumbnails, no aggressive crop */
.gallery-timeline-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
  align-items:start;
}
.gallery-timeline-card{
  margin:0;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.gallery-timeline-card img{
  width:100%;
  height:clamp(190px, 17vw, 250px);
  display:block;
  object-fit:contain;
  object-position:center center;
  background:#05080e;
  cursor:zoom-in;
}
.gallery-timeline-card--award{
  grid-column:span 1;
}
.gallery-timeline-card--award img{
  height:clamp(240px, 22vw, 330px);
}
@media (max-width:1100px){
  .gallery-timeline-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
@media (max-width:760px){
  .gallery-timeline-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
  }
  .gallery-timeline-card{
    border-radius:14px;
  }
  .gallery-timeline-card img,
  .gallery-timeline-card--award img{
    height:clamp(150px, 42vw, 220px);
  }
}
@media (max-width:420px){
  .gallery-timeline-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }
  .gallery-timeline-card img,
  .gallery-timeline-card--award img{
    height:150px;
  }
}


/* Gallery balance update: each era starts on a new row */
.gallery-timeline-grid--balanced{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:16px !important;
  align-items:start !important;
}
.gallery-era-break{
  grid-column:1 / -1;
  margin:22px 0 2px;
  color:#c4d6ff;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.76rem;
  font-weight:800;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:18px;
}
.gallery-timeline-card{
  grid-column:span 1 !important;
  margin:0 !important;
  overflow:hidden !important;
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)) !important;
}
.gallery-timeline-card img{
  width:100% !important;
  height:220px !important;
  display:block !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#05080e !important;
  cursor:zoom-in !important;
}
.gallery-timeline-card--feature{
  grid-column:1 / -1 !important;
  max-width:460px;
}
.gallery-timeline-card--feature img{
  height:360px !important;
}
@media (max-width:1100px){
  .gallery-timeline-grid--balanced{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width:760px){
  .gallery-timeline-grid--balanced{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:12px !important;
  }
  .gallery-timeline-card img{
    height:170px !important;
  }
  .gallery-timeline-card--feature{
    max-width:none;
  }
  .gallery-timeline-card--feature img{
    height:260px !important;
  }
}
@media (max-width:420px){
  .gallery-timeline-card img{
    height:150px !important;
  }
  .gallery-timeline-card--feature img{
    height:230px !important;
  }
}


/* Premium press section */
.press-section .media-note{
  margin-top:10px;
  color:var(--muted);
  font-size:.9rem;
}
.press-feature{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:24px;
  align-items:center;
  padding:28px;
  margin:26px 0 18px;
  position:relative;
  overflow:hidden;
}
.press-feature:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(75,124,255,.16), transparent 44%);
  pointer-events:none;
}
.press-source-badge{
  position:relative;
  width:128px;
  height:128px;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:900;
  letter-spacing:.04em;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#f7f9fc;
}
.press-feature-label{
  margin:0 0 8px;
  color:#c4d6ff;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.76rem;
}
.press-feature h3{
  position:relative;
  margin:0 0 10px;
  font-size:clamp(1.5rem, 3vw, 2.3rem);
  line-height:1.05;
  letter-spacing:-.04em;
}
.press-feature p:last-child{
  position:relative;
  margin:0;
  color:var(--muted);
}
.press-grid--premium .press-card{
  min-height:190px;
}
.press-logo{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-width:54px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#dce8ff !important;
  font-weight:800;
  letter-spacing:.08em;
  font-size:.72rem !important;
  margin-bottom:14px !important;
}
@media (max-width:760px){
  .press-feature{
    grid-template-columns:1fr;
    gap:16px;
    padding:22px;
  }
  .press-source-badge{
    width:100%;
    height:64px;
    border-radius:18px;
  }
}




/* Critical server-safe fixes for premium press and gallery */
.press-feature{
  display:grid !important;
  grid-template-columns:140px 1fr !important;
  gap:22px !important;
  align-items:center !important;
  padding:28px !important;
  margin:26px 0 20px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:24px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.24) !important;
  text-decoration:none !important;
  color:inherit !important;
}
.press-source-badge{
  width:118px !important;
  height:118px !important;
  border-radius:22px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  font-weight:900 !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#f7f9fc !important;
}
.press-feature-label{
  margin:0 0 8px !important;
  color:#c4d6ff !important;
  text-transform:uppercase !important;
  letter-spacing:.18em !important;
  font-size:.76rem !important;
}
.press-feature h3{
  margin:0 0 10px !important;
  font-size:clamp(1.35rem, 2.7vw, 2.15rem) !important;
  line-height:1.06 !important;
}
.press-feature p{
  color:var(--muted) !important;
}
.gallery-timeline-grid--balanced{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:start !important;
}
.gallery-era-break{
  grid-column:1/-1 !important;
  margin:22px 0 2px !important;
  color:#c4d6ff !important;
  text-transform:uppercase !important;
  letter-spacing:.16em !important;
  font-size:.76rem !important;
  font-weight:800 !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  padding-top:18px !important;
}
.gallery-timeline-card,
.gallery-timeline-card--feature{
  grid-column:span 1 !important;
  max-width:none !important;
  margin:0 !important;
  overflow:hidden !important;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:#05080e !important;
}
.gallery-timeline-card img,
.gallery-timeline-card--feature img{
  width:100% !important;
  height:190px !important;
  display:block !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#05080e !important;
  cursor:zoom-in !important;
}
@media (max-width:1100px){
  .gallery-timeline-grid--balanced{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:760px){
  .press-feature{grid-template-columns:1fr !important; padding:22px !important;}
  .press-source-badge{width:100% !important; height:58px !important;}
  .gallery-timeline-grid--balanced{grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important;}
  .gallery-timeline-card img,.gallery-timeline-card--feature img{height:150px !important;}
}


