@import url('https://fonts.cdnfonts.com/css/pp-neue-montreal');
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Inter:wght@100..900&display=swap');

:root{
  --bg: #f4f2ea;
  --surface: #ffffff;
  --surface-soft: #f7f5ef;
  --text: #101111;
  --title: #ffffff;
  --text-soft: #5a615f;
  --green: #c0e24e;
  --green-dark: #0a5e63;
  --green-deep: #153539;
  --line: rgba(16,17,17,0.08);
  --shadow: 0 20px 60px rgba(0,0,0,0.12);
  --header-offset: 92px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Inter",sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

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

img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

ion-icon{
  pointer-events:none;
}

.magnetic-inner{
  display:inline-block;
  will-change:transform;
}

.news-main{
  padding-top: calc(var(--header-offset) + 1rem);
}

.news-shell{
  width:min(1400px, calc(100% - 2rem));
  margin-inline:auto;
}

.news-kicker,
.footer-kicker,
.footer-label{
  font-family:"Geist Mono",sans-serif;
  text-transform:uppercase;
  font-size:.78rem;
  opacity:.72;
}

.section-title{
  font-size: clamp(2rem, 4vw, 4rem);
  line-height:.98;
  font-weight:600;
  color: var(--title);
}

.card-surface{
  background:#ffffff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

/* HERO */
.news-hero{
  padding:1rem 0 1.25rem;
}

.news-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  margin-bottom:1rem;
}

.news-breadcrumb{
  display:flex;
  align-items:center;
  gap:.55rem;
  flex-wrap:wrap;
  color:#000000;
  font-family:"Geist Mono",sans-serif;
  font-size:.78rem;
  background: #ffffff;
  padding: .85rem 1rem;
  border-radius: 999px;
}

.news-breadcrumb strong{
  color:#000000;
}

.news-back{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.85rem 1rem;
  border-radius:999px;
  background:#ffffff;
  border:1px solid var(--line);
  color:#111;
  font-family:"Geist Mono",sans-serif;
  font-size:.78rem;
  box-shadow:var(--shadow);
}

.news-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:1rem;
  align-items:end;
}

.news-copy{
  padding:1rem 0 0;
}

.news-title{
  font-size: clamp(2.8rem, 4vw, 6.5rem);
  line-height:.9;
  font-weight:700;
  margin-top:1rem;
  color: var(--title);
  max-width:980px;
}

.title-line{
  display:block;
  overflow:hidden;
}

.title-line > span{
  display:block;
}

.title-accent{
  color:var(--green-dark);
}

.news-sub{
  margin-top:1.25rem;
  max-width:760px;
  color: #e3e3e3;
  font-family:"Geist Mono",sans-serif;
  line-height:1.85;
  font-size:.95rem;
}

.news-hero-side{
  display:flex;
  justify-content:flex-end;
}

.hero-note{
  width:min(320px, 100%);
  padding:1.25rem;
  border-radius:26px;
  background:linear-gradient(135deg, #153539 0%, #0c1615 100%);
  color:#fff;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero-note::before{
  content:"";
  position:absolute;
  top:-20%;
  right:-10%;
  width:220px;
  height:220px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(192,226,78,0.16), transparent 65%);
  pointer-events:none;
}

.hero-note > *{
  position:relative;
  z-index:1;
}

.hero-note-label{
  display:block;
  margin-bottom:.7rem;
  font-family:"Geist Mono",sans-serif;
  text-transform:uppercase;
  font-size:.72rem;
  opacity:.7;
}

.hero-note strong{
  display:block;
  font-size:1.55rem;
  line-height:1;
  margin-bottom:.65rem;
}

.hero-note p{
  color:rgba(255,255,255,.78);
  font-family:"Geist Mono",sans-serif;
  line-height:1.75;
}

/* TICKER */
.news-ticker{
  overflow:hidden;
  padding:0 0 1.25rem;
}

.news-ticker-track{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.5);
  overflow:hidden;
}

.ticker-row{
  display:flex;
  gap:2rem;
  white-space:nowrap;
  padding:1rem 0;
  width:max-content;
  will-change:transform;
}

.ticker-row span{
  font-family:"Geist Mono",sans-serif;
  font-size:.85rem;
  color:#2b3330;
}

/* FEATURE */
.news-feature{
  padding:0 0 1.25rem;
}

.feature-layout{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:1rem;
  align-items:stretch;
}

.feature-main{
  border-radius:34px;
  overflow:hidden;
  display:grid;
  grid-template-columns: .86fr 1.14fr;
  height:100%;
  min-height:0;
}

.feature-media{
  height:100%;
  min-height:100%;
}

.feature-media img{
  height:100%;
}

.feature-copy{
  padding:clamp(1.25rem, 2.6vw, 2rem);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:1rem;
  min-height:0;
}

.feature-rail{
  display:grid;
  grid-template-rows: repeat(3, 1fr);
  gap:1rem;
}

.rail-card{
  height:100%;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border-radius: 34px;
}

.feature-meta{
  display:flex;
  align-items:center;
  gap:.75rem;
  flex-wrap:wrap;
  font-family:"Geist Mono",sans-serif;
  font-size:.8rem;
  color:#6d746f;
}

.meta-pill{
  padding:.65rem .9rem;
  border-radius:999px;
  background:rgba(192,226,78,.2);
  border:1px solid rgba(192,226,78,.35);
  color:#233122;
}

.feature-title{
  font-size: clamp(2rem, 2.7vw, 3.7rem);
  line-height: .92;
  font-weight: 600;
  max-width: 18ch;
}

.feature-text{
  color:var(--text-soft);
  font-family:"Geist Mono",sans-serif;
  line-height:1.78;
  max-width: 36ch;
}

.feature-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  min-height:50px;
  padding:0 1.1rem;
  border-radius:999px;
  background:var(--green);
  color:#111;
  font-family:"Geist Mono",sans-serif;
  font-weight:700;
}

.rail-index{
  display:inline-flex;
  margin-bottom:.85rem;
  font-family:"Geist Mono",sans-serif;
  color:#6c746f;
}

.rail-card h3{
  font-size:1.4rem;
  line-height:1.05;
  margin-bottom:.55rem;
}

.rail-card p{
  color:var(--text-soft);
  font-family:"Geist Mono",sans-serif;
  line-height:1.75;
}

/* GRID */
.news-grid-section{
  padding:0 0 1.25rem;
}

.section-head{
  margin-bottom:1rem;
}

.section-head .section-title{
  margin-top:1rem;
}

.news-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr .9fr;
  gap:1rem;
}

.news-card{
  border-radius:28px;
  padding:1.25rem;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.news-card-large{
  min-height:100%;
}

.news-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  flex-wrap:wrap;
  font-family:"Geist Mono",sans-serif;
  font-size:.8rem;
  color:#6d746f;
}

.news-card h3{
  font-size:1.6rem;
  line-height:1.02;
  margin:1rem 0 .7rem;
}

.news-card p{
  color:var(--text-soft);
  font-family:"Geist Mono",sans-serif;
  line-height:1.75;
}

/* LAB */
.news-lab{
  padding:0 0 2rem;
}

.lab-shell{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:1rem;
  align-items:start;
}

.lab-copy{
  padding-top:.5rem;
}

.lab-copy .section-title{
  margin-top:1rem;
}

.lab-cards{
  display:grid;
  gap:1rem;
}

.lab-card{
  background:linear-gradient(145deg, #ffffff 0%, #f7f6f1 100%);
  border:1px solid var(--line);
  border-radius:28px;
  padding:1.3rem;
  box-shadow:var(--shadow);
}

.lab-card strong{
  display:block;
  font-size:1.2rem;
  margin-bottom:.45rem;
}

.lab-card p{
  color:var(--text-soft);
  font-family:"Geist Mono",sans-serif;
  line-height:1.75;
}

/* FOOTER */
.site-footer{
  padding:0 0 1rem;
}

.footer-shell{
  width:min(1400px, calc(100% - 2rem));
  margin-inline:auto;
  padding:clamp(1.5rem, 4vw, 4rem);
  background:#111715;
  color:#f4f4ef;
  border-radius:36px;
  overflow:hidden;
  position:relative;
}

.footer-shell::before{
  content:"";
  position:absolute;
  top:-10%;
  right:-5%;
  width:420px;
  height:420px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(192,226,78,0.2), transparent 62%);
  pointer-events:none;
}

.footer-top{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:2rem;
  padding-bottom:2rem;
  border-bottom:1px solid rgba(255,255,255,.1);
}

.footer-brand h2{
  font-size:clamp(2rem, 4.4vw, 4.4rem);
  line-height:.95;
  font-weight:600;
  max-width:760px;
  margin:1rem 0;
}

.footer-text{
  max-width:620px;
  color:rgba(255,255,255,.75);
  margin-bottom:1.75rem;
  font-family:"Geist Mono",sans-serif;
  line-height:1.8;
}

.footer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:220px;
  padding:1rem 1.35rem;
  border-radius:999px;
  background:var(--green);
  color:#111;
  font-weight:800;
  font-family:"Geist Mono",sans-serif;
  position:relative;
  overflow:hidden;
}

.footer-links{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.25rem;
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:.8rem;
}

.footer-col a,
.footer-col span,
.footer-bottom a,
.footer-bottom p{
  color:rgba(255,255,255,.78);
}

.footer-bottom{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  padding-top:1rem;
}

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

/* REVEALS */
.news-reveal{
  opacity:0;
  transform:translateY(30px);
  will-change:transform, opacity;
}

.title-reveal{
  color:var(--title);
}

/* RESPONSIVE */
@media (max-width: 1200px){
  .feature-layout,
  .lab-shell,
  .footer-top{
    grid-template-columns:1fr;
  }

  .news-grid{
    grid-template-columns:1fr 1fr;
  }

  .feature-main{
    grid-template-columns:1fr;
    height:auto;
  }

  .feature-media{
    max-height:360px;
  }

  .feature-rail{
    grid-template-rows:auto;
  }

  .footer-links{
    grid-template-columns:1fr 1fr;
    display: none;
  }

  .feature-text{
    max-width: none;
  }

  .feature-title {
    max-width: none;
  }
}

@media (max-width: 900px){
  .news-hero-grid{
    grid-template-columns:1fr;
  }

  .news-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  :root{
    --header-offset: 84px;
  }

  .news-main{
    padding-top: calc(var(--header-offset) + .5rem);
  }

  .news-shell,
  .footer-shell{
    width:min(1400px, calc(100% - 1rem));
  }

  .orders-shell,
  .feature-main,
  .rail-card,
  .news-card,
  .lab-card,
  .hero-note,
  .footer-shell{
    border-radius:26px;
  }

  .news-topbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-links{
    grid-template-columns:1fr;
  }

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

@media (max-width: 560px){
  .news-title{
    font-size:3rem;
  }

  .ticker-row{
    gap:1.25rem;
    padding:.85rem 0;
  }
}
