/* ==========================================================
   Header / Navigation (UPDATED — editorial separation)
   ========================================================== */

header{
  position: sticky;
  top: 0;
  z-index: 40;

  background: rgba(251,250,247,.82);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0,0,0,.10);

  /* NEW: visual separation from ticker */
  margin-bottom: 22px;

  /* NEW: subtle editorial shadow */
  box-shadow:
    0 8px 22px rgba(0,0,0,.06),
    inset 0 -1px 0 rgba(255,255,255,.6);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.08rem;
}

@media (min-width: 920px){
  .brand{
    font-size: 1.18rem;
  }
}

.brand-mark{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
}

.navlinks{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content:flex-end;
  font-size: .98rem;
}

.navlinks a{
  text-decoration:none;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
}

.navlinks a:hover{
  background: rgba(255,255,255,.65);
  border-color: rgba(0,0,0,.08);
}

/* Nav CTA visible on desktop */
.nav-cta{
  display:none;
}

@media (min-width: 920px){
  .nav-cta{
    display:inline-flex;
  }
}

/* ==========================================================
   Motivational Ticker — Editorial Strip (FINAL)
   ========================================================== */

.ticker{
  position: relative;

  /* CLEAR separation from header */
  margin-top: 18px;
  margin-bottom: 6px;

  padding: 6px 0;
}

/* gold hairlines above/below ticker */
.ticker::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201,178,124,.75),
    transparent
  );
  opacity: .9;
}

.ticker::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201,178,124,.55),
    transparent
  );
  opacity: .75;
}

.ticker-shell{
  position: relative;
  border-radius: 18px;

  background: rgba(255,255,255,.36);
  border: 1px solid rgba(0,0,0,.10);
  overflow: hidden;

  /* slim, editorial height */
  padding: 6px 12px;

  /* refined magazine shadow */
  box-shadow:
    0 6px 18px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.65);
}

.ticker-label{
  position:absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 3;
}

.ticker-badge{
  display:inline-flex;
  align-items:center;

  font-size: .86rem;
  letter-spacing: .06em;
  text-transform: uppercase;

  color: rgba(20,20,20,.62);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.10);

  padding: 6px 10px;
  border-radius: 999px;
}

/* single-line viewport */
.ticker-viewport{
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
}

/* track — slow editorial drift */
.ticker-move{
  display: inline-flex;
  align-items: center;
  gap: 18px;

  padding-left: 124px; /* room for badge */

  white-space: nowrap;
  flex-wrap: nowrap;

  will-change: transform;

  animation: ticker-scroll 72s linear infinite;
}

.ticker-row{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

/* quote capsules */
.ticker-pill{
  display:inline-flex;
  align-items:center;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.60);

  color: rgba(0,0,0,.72);
  font-size: 1.02rem;
  font-weight: 520;
  letter-spacing: -0.01em;

  white-space: nowrap;
}

.ticker-dot{
  opacity: .35;
  font-size: 1.2rem;
  line-height: 1;
}

/* seamless scroll */
@keyframes ticker-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* pause on hover */
.ticker-shell:hover .ticker-move{
  animation-play-state: paused;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .ticker-move{
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- Typography ---------- */
h1{
  font-size: var(--h1);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

h2{
  font-size: var(--h2);
  letter-spacing: -0.03em;
}

.lead{
  font-size: var(--p);
  color: rgba(20,20,20,.72);
  max-width: 66ch;
  margin-bottom: 18px;
}

.micro{
  color: rgba(20,20,20,.72);
  max-width: 66ch;
  margin-top: 10px;
}

.small{
  color: rgba(20,20,20,.70);
  font-size: .95rem;
}

/* ---------- Buttons ---------- */
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.14);
  text-decoration:none;
  font-weight: 750;
  min-height: 44px;
  background: rgba(255,255,255,.65);
  color: var(--text);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn:active{
  transform: translateY(0px);
  box-shadow: none;
}

.btn:focus-visible{
  outline: 3px solid var(--cta-outline);
  outline-offset: 3px;
}

.btn.primary{
  background: var(--cta-primary);
  color: var(--cta-text);
  border: 2px solid var(--cta-primary);
  box-shadow: 0 10px 26px rgba(47,183,179,.26);
}

.btn.primary:hover{
  background: var(--cta-hover-bg);
  color: var(--cta-text);
  border-color: var(--cta-outline);
  box-shadow: 0 14px 34px rgba(201,178,124,.28);
}

/* ---------- Sections ---------- */
/* B) Gold separator lines between sections */
.section{
  padding: clamp(26px, 4.2vw, 60px) 0;
  position: relative;
}

.section::before{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201,178,124,.75),
    transparent
  );
  opacity: .95;
}

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title .hint{
  color: rgba(20,20,20,.62);
  font-size: .95rem;
}

/* ---------- Bento Grid ---------- */
.bento{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 760px){
  .bento{
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
  }

  .span-12{ grid-column: span 12; }
  .span-8{ grid-column: span 8; }
  .span-6{ grid-column: span 6; }
  .span-4{ grid-column: span 4; }
}

/* ---------- Card System ---------- */
.card{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.card .eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: .86rem;
  letter-spacing: .02em;
  color: rgba(20,20,20,.68);
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.card strong{
  display:block;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

/* ---------- Hero ---------- */
/* C) Stronger hero layout + spacing */
.hero{
  padding: clamp(32px, 6vw, 96px) 0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 46px);
  align-items: center;
}

@media (min-width: 920px){
  .hero-grid{
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: .95rem;
  color: rgba(0,0,0,.72);
  border: 1px solid rgba(0,0,0,.12);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  margin-bottom: 14px;
}

.proof-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof{
  font-size: .92rem;
  color: rgba(0,0,0,.70);
  border: 1px solid rgba(0,0,0,.12);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.60);
}

/* ---------- Hero Visual Panel ---------- */
/* D) Full-bleed image hero panel (fills entire right box) */
.hero-visual{
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.55);
  position: relative;
  min-height: 440px;
}

@media (min-width: 920px){
  .hero-visual{
    min-height: 520px;
  }
}

.hero-visual img{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* soft overlay for readability + modern “AI-era” glow */
.hero-visual::after{
  content:"";
  position:absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 22% 20%, rgba(47,183,179,.22), transparent 60%),
    radial-gradient(640px 420px at 78% 28%, rgba(201,178,124,.20), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.34));
}

.hero-overlay{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.96);
}

.hero-overlay .ov-name{
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.14rem;
}

.hero-overlay .ov-tag{
  margin-top: 4px;
  font-size: .95rem;
  opacity: .92;
}

/* subtle AI “scan” line (lightweight) */
.hero-scan{
  position:absolute;
  inset: 0;
  pointer-events:none;
  opacity: .45;
  mix-blend-mode: overlay;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.05) 1px,
    transparent 1px,
    transparent 10px
  );
  animation: scan 9s ease-in-out infinite alternate;
}

@keyframes scan{
  0%{
    transform: translateY(-2%);
    opacity: .26;
  }
  100%{
    transform: translateY(2%);
    opacity: .44;
  }
}

/* ---------- Footer ---------- */
footer{
  padding: 36px 0;
  border-top: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.35);
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  justify-content:center;
  margin-top: 10px;
}

.footer-links a{
  text-decoration:none;
  opacity: .9;
}

.footer-links a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }

  *{
    animation:none !important;
    transition:none !important;
  }

  body::before{
    animation: none !important;
    transform: none !important;
  }

  .hero-scan{
    animation: none !important;
  }
}
