:root{
  --bg-main:#ecf0f3;
  --bg-card:#ecf0f3;
  --text-main:#2e1a47;
  --text-secondary:#5d6470;
  --accent:#800020;
  --space:#161932;
  --white:#ffffff;

  --shadow-soft:
    12px 12px 24px rgba(163, 177, 198, 0.45),
    -12px -12px 24px rgba(255,255,255,0.92);

  --shadow-soft-sm:
    8px 8px 18px rgba(163, 177, 198, 0.35),
    -8px -8px 18px rgba(255,255,255,0.96);

  --shadow-inset:
    inset 6px 6px 14px #d6dde8,
    inset -6px -6px 14px #ffffff;

  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:20px;
  --radius-sm:16px;

  --container:1320px;
  --container-narrow:1180px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Inter", system-ui, -apple-system, sans-serif;
  background:var(--bg-main);
  color:var(--text-main);
  line-height:1.55;
  letter-spacing:0.001em;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input{
  font:inherit;
}

.page-home{
  padding: 2rem 1rem 6rem;
}

.section-shell{
  width:min(100%, var(--container));
  margin:0 auto;
}

.section-heading{
  margin-bottom:2rem;
}

.section-heading.centered{
  text-align:center;
}

.section-heading h2{
  font-size:clamp(2rem, 3vw, 2.6rem);
  line-height:1.08;
  color:var(--space);
  letter-spacing:-0.028em;
  margin-bottom:0.75rem;
}

.section-heading p{
  max-width:760px;
  margin:0 auto;
  color:var(--text-secondary);
  font-size:1.02rem;
  letter-spacing:0.003em;
}

.soft-raised{
  background:var(--bg-card);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
}

.soft-inset{
  background:var(--bg-card);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-inset);
}

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  padding:1rem 1rem 0;
  background:linear-gradient(to bottom, rgba(236,240,243,0.96), rgba(236,240,243,0.72), rgba(236,240,243,0));
  backdrop-filter: blur(10px);
}

.header-shell{
  width:min(100%, var(--container-narrow));
  margin:0 auto;
  background:var(--bg-card);
  border-radius:22px;
  padding:1rem 1.25rem;
  box-shadow:var(--shadow-soft-sm);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:0.9rem;
  min-width:0;
}

.brand-logo{
  width:38px;
  height:38px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:var(--shadow-soft-sm);
}

.brand-text{
  font-size:1.35rem;
  font-weight:700;
  color:var(--space);
  white-space:nowrap;
  letter-spacing:-0.02em;
}

.brand-text span{
  color:var(--accent);
}

.main-nav{
  display:flex;
  align-items:center;
  gap:1.4rem;
}

.main-nav a{
  font-size:0.98rem;
  color:var(--space);
  opacity:0.92;
  letter-spacing:0.012em;
}

.main-nav a:hover{
  color:var(--accent);
}

.nav-toggle{
  display:none;
}

.nav-burger{
  display:none;
  width:48px;
  height:48px;
  border-radius:16px;
  background:var(--bg-card);
  box-shadow:var(--shadow-soft-sm);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.nav-burger span{
  display:block;
  width:20px;
  height:2px;
  background:var(--space);
  border-radius:10px;
}

/* HERO */

.hero{
  padding:2rem 0 1.25rem;
}

.hero-shell{
  width:min(100%, var(--container-narrow));
  margin:0 auto;
}

.hero-panel{
  background:var(--space);
  border-radius:34px;
  padding:2rem;
  box-shadow:
    20px 20px 40px rgba(163,177,198,0.28),
    -16px -16px 32px rgba(255,255,255,0.7);
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap:1.5rem;
  align-items:stretch;
  overflow:hidden;
}

.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:1rem 0.5rem 1rem 0.5rem;
}

.eyebrow{
  color:#d3d9f1;
  font-size:0.95rem;
  letter-spacing:0.03em;
  margin-bottom:1rem;
}

.hero h1{
  font-size:clamp(2.5rem, 5vw, 4.4rem);
  line-height:0.98;
  color:#ffffff;
  letter-spacing:-0.045em;
  margin-bottom:1rem;
  max-width:8ch;
}

.hero-kicker{
  color:#ffffff;
  font-size:1.15rem;
  letter-spacing:0.008em;
  margin-bottom:1rem;
}

.hero-description{
  color:#d9dfeb;
  font-size:1.05rem;
  line-height:1.72;
  letter-spacing:0.002em;
  max-width:54ch;
  margin-bottom:1.7rem;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:0.9rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0.9rem 1.35rem;
  border-radius:999px;
  font-weight:600;
  letter-spacing:0.012em;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-light{
  background:var(--bg-main);
  color:var(--space);
  /* box-shadow:var(--shadow-soft-sm); */
}

.btn-dark{
  background:linear-gradient(180deg, #24335c 0%, #182040 100%);
  color:#ffffff;
  box-shadow:
    10px 10px 22px rgba(0,0,0,0.28),
    inset 1px 1px 0 rgba(255,255,255,0.08);
}

.btn-small{
  min-height:46px;
  padding:0.75rem 1.1rem;
  font-size:0.95rem;
  letter-spacing:0.012em;
}

.hero-visual{
  position:relative;
  min-height:520px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    12px 12px 28px rgba(0,0,0,0.28);
}

img::after,
.hero-visual::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to bottom,
rgba(0,0,0,0) 40%,
rgba(0,0,0,0.25)
);
}

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

/* LANGUAGES */

.languages{
  padding:1rem 0 2rem;
}

.section-card{
  padding:2rem;
}

.language-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:1rem;

}

.language-card{
  min-height:114px;
  border-radius:20px;
  background:var(--bg-card);
  box-shadow:var(--shadow-soft-sm);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.85rem;
  text-align:center;
  padding:0.8rem 0.5rem;
  transition:transform .2s ease, box-shadow .2s ease;
}

.language-card:hover{
transform:translateY(-4px);
box-shadow:
10px 10px 20px #b9c9d6,
-10px -10px 20px #ffffff;
}

.language-card img{
  width:52px;
  height:36px;
  object-fit:cover;
  border-radius:8px;
}

.language-card span{
  font-size:0.9rem;
  font-weight:600;
  letter-spacing:0.014em;
  color:var(--text-main);
}

/* PILLARS */

.pillars{
  padding:1rem 0 2.2rem;
}

.pillar-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.5rem;
}

.pillar-card{
  background:var(--bg-card);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
}

.pillar-card:hover{
  transform:translateY(-4px);
}

.pillar-media{
  padding:1rem 1rem 0;
}

.pillar-media img{
  width:100%;
  aspect-ratio: 3 / 2;
  object-fit:cover;
  border-radius:20px;
}

.pillar-body{
  padding:1.2rem 1.25rem 1.35rem;
}

.pillar-body h3{
  font-size:1.9rem;
  color:var(--space);
  margin-bottom:0.75rem;
  letter-spacing:-0.028em;
}

.pillar-body p{
  color:var(--text-secondary);
  line-height:1.7;
  letter-spacing:0.002em;
  margin-bottom:1.05rem;
}

/* FEATURED / CONTENT */

.featured,
.mysteries,
.technologies{
  padding:1rem 0 2.2rem;
}

.content-grid{
  display:grid;
  gap:1.4rem;
}

.content-grid.three{
  grid-template-columns:repeat(3, 1fr);
}

.content-grid.four{
  grid-template-columns:repeat(4, 1fr);
}

.content-card{
  background:var(--bg-card);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-soft-sm);
  transition:transform .25s ease;
}

.content-card:hover{
  transform:translateY(-3px);
}

.content-media{
  padding:1rem 1rem 0;
}

.content-media img{
  width:100%;
  aspect-ratio: 3 / 2;
  object-fit:cover;
  border-radius:18px;
}

.content-body{
  padding:1rem 1rem 1.2rem;
}

.content-body h3{
  font-size:1.35rem;
  color:var(--space);
  line-height:1.15;
  letter-spacing:-0.016em;
  margin-bottom:0.7rem;
}

.content-body p{
  color:var(--text-secondary);
  margin-bottom:1rem;
  font-size:0.98rem;
  line-height:1.7;
  letter-spacing:0.002em;
}

.content-card.compact .content-body h3{
  font-size:1.12rem;
}

.card-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0.7rem 1rem;
  border-radius:999px;
  color:var(--accent);
  font-weight:700;
  letter-spacing:0.012em;
  background:var(--bg-card);
  box-shadow:var(--shadow-soft-sm);
}

/* VIDEO */

.video-highlight{
  padding:1rem 0 2.2rem;
}

.video-layout{
  display:grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap:1.5rem;
}

.video-feature{
  background:linear-gradient(180deg, #11172e 0%, #1b2347 100%);
  color:#ffffff;
  border-radius:30px;
  overflow:hidden;
  box-shadow:
    18px 18px 36px rgba(163,177,198,0.28),
    -14px -14px 28px rgba(255,255,255,0.7);
}

.video-thumb{
  position:relative;
  padding:1rem 1rem 0;
}

.video-thumb img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  border-radius:20px;
}

.play-badge{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -40%);
  width:78px;
  height:78px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.16);
  color:#ffffff;
  font-size:1.5rem;
  backdrop-filter: blur(10px);
  cursor:pointer;
  animation:pulse 2s infinite;
}

@keyframes pulse{
0%{transform:translate(-50%,-50%) scale(1);}
50%{transform:translate(-50%,-50%) scale(1.1);}
100%{transform:translate(-50%,-50%) scale(1);}
}

.video-copy{
  padding:1.4rem 1.4rem 1.6rem;
}

.video-copy h2{
  font-size:2rem;
  letter-spacing:-0.024em;
  margin-bottom:0.7rem;
}

.video-copy p{
  color:#d8deea;
  line-height:1.7;
  letter-spacing:0.003em;
  margin-bottom:1rem;
}

.video-mini-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}

.video-mini-card{
  background:var(--bg-card);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
  padding:1rem;
}

.video-mini-card img{
  width:100%;
  aspect-ratio: 3 / 2;
  object-fit:cover;
  border-radius:18px;
}

/* EDITORIAL */

.editorial{
  padding:1rem 0 2.2rem;
}

.editorial-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.4rem;
}

.editorial-card{
  background:var(--bg-card);
  border-radius:28px;
  box-shadow:var(--shadow-soft);
  padding:1.7rem 1.5rem;
}

.editorial-card h2{
  font-size:1.6rem;
  line-height:1.08;
  color:var(--space);
  letter-spacing:-0.022em;
  margin-bottom:1rem;
}

.editorial-card p{
  color:var(--text-secondary);
  line-height:1.72;
  letter-spacing:0.002em;
  margin-bottom:1rem;
}

.about-card{
  display:flex;
  flex-direction:column;
}

.author-panel{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem;
  border-radius:20px;
  background:var(--bg-card);
  box-shadow:var(--shadow-inset);
}

.author-avatar{
  width:62px;
  height:62px;
  flex:0 0 62px;
  border-radius:50%;
  overflow:hidden;
  box-shadow:var(--shadow-soft-sm);
}

.author-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.author-info{
  display:flex;
  flex-direction:column;
  gap:0.2rem;
}

.author-label{
  font-size:0.84rem;
  color:var(--text-secondary);
  letter-spacing:0.018em;
}

.author-name{
  font-weight:700;
  letter-spacing:-0.01em;
  color:var(--text-main);
}

.author-role{
  font-size:0.88rem;
  color:var(--text-secondary);
  letter-spacing:0.006em;
}

.author-role a{
  color:var(--accent);
}

/* NEWSLETTER */

.newsletter{
  padding:1rem 0 2.2rem;
}

.newsletter-card{
  background:var(--bg-card);
  border-radius:32px;
  box-shadow:var(--shadow-soft);
  padding:2rem;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:1.5rem;
  align-items:center;
}

.newsletter-copy h2{
  font-size:2.2rem;
  line-height:1.05;
  color:var(--space);
  letter-spacing:-0.03em;
  margin-bottom:0.8rem;
}

.newsletter-copy p{
  color:var(--text-secondary);
  max-width:56ch;
  line-height:1.72;
  letter-spacing:0.002em;
}

.newsletter-form{
  display:grid;
  gap:0.9rem;
}

.newsletter-form input{
  width:100%;
  min-height:56px;
  border:none;
  outline:none;
  padding:0 1.2rem;
  border-radius:999px;
  background:var(--bg-card);
  box-shadow:var(--shadow-inset);
  color:var(--text-main);
  letter-spacing:0.006em;
}

.newsletter-form input::placeholder{
  letter-spacing:0.008em;
}

.newsletter-form button{
  min-height:56px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg, #24335c 0%, #182040 100%);
  color:#ffffff;
  font-weight:700;
  letter-spacing:0.014em;
  cursor:pointer;
  box-shadow:
    12px 12px 24px rgba(163,177,198,0.3),
    inset 1px 1px 0 rgba(255,255,255,0.08);
}

.newsletter-form button:hover{
    transform:translateY(3px);

    box-shadow:
        4px 4px 10px rgba(163,177,198,0.3),
        -4px -4px 10px rgba(255,255,255,0.08),
        inset 6px 6px 12px rgba(0,0,0,0.08),
        inset -6px -6px 12px rgba(255,255,255,0.08);
}

/* ARCHIVES */

.archives{
  padding:1rem 0 1rem;
}

.archive-stack{
  display:flex;
  flex-direction:column;
  gap:1rem;
  align-items:center;
}

.archive-pill{
  min-width:min(100%, 420px);
  min-height:66px;
  padding:0.95rem 1.5rem;
  border-radius:999px;
  background:var(--bg-card);
  box-shadow:var(--shadow-soft-sm);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:600;
  letter-spacing:0.012em;
  color:var(--text-secondary);
}

.archive-pill .accent{
  color:var(--accent);
}

/* FOOTER */

.site-footer{
  padding:2rem 1rem 2.5rem;
  background:var(--space);
  color:#d8deea;
  margin-top:2rem;
}

.footer-shell{
  width:min(100%, var(--container-narrow));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
}

.footer-brand strong{
  font-size:1.2rem;
  color:#ffffff;
  letter-spacing:-0.015em;
}

.footer-brand strong span{
  color:#c74463;
}

.footer-brand p{
  margin-top:0.3rem;
  color:#c7cfdf;
  letter-spacing:0.01em;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:1rem 1.4rem;
}

.footer-links a{
  color:#d8deea;
  letter-spacing:0.012em;
}

/* ***************************************************************************************************    */

.cta-press,
.btn,
.card-link,
.archive-pill,
.newsletter-form button {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.btn-soft:hover,
.archive-pill:hover,
.card-link:hover {
  transform: translateY(3px);
  box-shadow:
    4px 4px 10px #bbcfda,
    -4px -4px 10px #ffffff,
    inset 6px 6px 12px rgba(0,0,0,0.08),
    inset -6px -6px 12px rgba(255,255,255,0.8);
}

.btn:hover,
.btn-dark:hover,
.newsletter-form button:hover {
  transform: translateY(3px);
  box-shadow:
    4px 4px 10px rgba(8, 12, 30, 0.45),
    inset 6px 6px 12px rgba(0,0,0,0.28),
    inset -2px -2px 6px rgba(255,255,255,0.06);
}

.card-link:hover,
.archive-pill:hover {
  transform: translateY(3px);
  box-shadow:
    4px 4px 10px #bbcfda,
    -4px -4px 10px #ffffff,
    inset 6px 6px 12px rgba(0,0,0,0.08),
    inset -6px -6px 12px rgba(255,255,255,0.8);
}

.btn-light,
.btn:active,
.card-link:active,
.archive-pill:active {
  transform: translateY(4px) scale(0.99);
  box-shadow:
    inset 8px 8px 14px rgba(0,0,0,0.10),
    inset -6px -6px 12px rgba(255,255,255,0.85);
}

.home-language-footer{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:2.4rem auto 0;
  padding:0.95rem 1.2rem;
  max-width:320px;
  min-height:58px;
  border-radius:18px;
  color:#2e1a47;
  letter-spacing:-0.01em;
  background:#ecf0f3;
  box-shadow:
    inset 4px 4px 8px #d1d9e6,
    inset -4px -4px 8px #ffffff;
}

.featured .section-heading h2 span{
  color:var(--accent, #800020);
}

.article-hero-panel{
    animation: fadeInHero 0.8s ease;
}

@keyframes fadeInHero{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ***************************************************************************************************    */

/* RESPONSIVE */

@media (max-width: 1180px){
  .language-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .hero-panel{
    grid-template-columns:1fr;
  }

  .hero h1{
    max-width:none;
  }

  .video-layout,
  .newsletter-card,
  .editorial-grid{
    grid-template-columns:1fr;
  }

  .content-grid.four{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 980px){
  .main-nav{
    position:absolute;
    top:calc(100% + 0.75rem);
    left:0;
    right:0;
    background:var(--bg-card);
    border-radius:22px;
    box-shadow:var(--shadow-soft);
    padding:1rem;
    display:none;
    flex-direction:column;
    align-items:flex-start;
  }

  .nav-burger{
    display:flex;
  }

  .nav-toggle:checked ~ .main-nav{
    display:flex;
  }

  .language-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .pillar-grid,
  .content-grid.three{
    grid-template-columns:1fr;
  }

  .content-grid.four{
    grid-template-columns:1fr 1fr;
  }

  .section-card{
    padding:1.5rem;
  }
}

@media (max-width: 640px){
  .page-home{
    padding:1rem 0.8rem 4rem;
  }

  .site-header{
    padding:0.8rem 0.8rem 0;
  }

  .header-shell{
    padding:0.9rem 1rem;
  }

  .brand-text{
    font-size:1.15rem;
    letter-spacing:-0.015em;
  }

  .hero{
    padding-top:1rem;
  }

  .hero-panel{
    padding:1rem;
    border-radius:28px;
    gap:1rem;
  }

  .hero-copy{
    padding:0.5rem 0.2rem;
  }

  .hero h1{
    font-size:2.7rem;
    letter-spacing:-0.04em;
  }

  .hero-kicker{
    font-size:1rem;
  }

  .hero-description{
    font-size:0.98rem;
    letter-spacing:0.001em;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .hero-visual{
    min-height:420px;
  }

  .language-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .content-grid.four{
    grid-template-columns:1fr;
  }

  .video-mini-grid{
    grid-template-columns:1fr 1fr 1fr;
  }

  .video-mini-card{
    padding:0.55rem;
    border-radius:18px;
  }

  .video-mini-card img{
    border-radius:12px;
  }

  .newsletter-card{
    padding:1.5rem 1.2rem;
  }

  .newsletter-copy h2{
    font-size:1.9rem;
    letter-spacing:-0.024em;
  }

  .section-heading h2{
    font-size:1.8rem;
    letter-spacing:-0.022em;
  }

  .editorial-card{
    padding:1.35rem 1.15rem;
  }

  .author-panel{
    padding:0.85rem;
  }

  .footer-shell{
    flex-direction:column;
    align-items:flex-start;
  }
}




/* @media (max-width: 450px) {
  .content-media img,
  .pillar-media img,
  .cosmic-card-media img,
  .video-mini-card img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }
} */




@media (max-width: 420px){
  .hero h1{
    font-size:2.35rem;
    letter-spacing:-0.035em;
  }

  .hero-visual{
    min-height:360px;
  }

  .section-card{
    padding:1.15rem;
    border-radius:24px;
  }

  .pillar-card,
  .content-card,
  .editorial-card,
  .newsletter-card{
    border-radius:22px;
  }

  .video-feature{
    border-radius:24px;
  }

  .video-mini-grid{
    grid-template-columns:1fr;
  }
}




