/* ===================================================================
   Campus Sutra — shared stylesheet
   Design language matched to the AtlasGeek deck:
   Anton (display) + Barlow (body); navy-purple / dusty-blue / off-white
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --navy: #2E2A47;
  --navy-2: #26223B;
  --blue: #9DBDD0;
  --blue-dk: #7FA3B8;
  --blue-pale: #E7EEF3;
  --light: #F4F5F6;
  --white: #FFFFFF;
  --ink: #2E2A47;
  --slate: #4B5163;
  --mute: #6B7280;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(46, 42, 71, 0.12);
  --shadow-lg: 0 20px 50px rgba(46, 42, 71, 0.18);
  --maxw: 1180px;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* subtle paper texture */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(157,189,208,0.06) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(157,189,208,0.05) 0, transparent 40%);
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1rem; font-size: 1.02rem; color: var(--slate); }
a { color: var(--blue-dk); text-decoration: none; }
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  color: var(--blue-dk);
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,245,246,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46,42,71,0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand-chip {
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 1.05rem;
  padding: 8px 16px; border-radius: 8px; letter-spacing: 0.3px;
}
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--navy); font-weight: 500; font-size: 0.96rem;
  position: relative; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-dk); }
.nav-links a.active::after, .nav-links a:hover::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--blue);
}
.nav-cta {
  background: var(--blue); color: var(--navy) !important;
  padding: 9px 18px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--blue-dk); }
.nav-cta::after { display: none !important; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 600;
  padding: 14px 30px; border-radius: 10px; cursor: pointer; border: none;
  font-size: 1rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--blue); color: var(--navy); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--blue-dk); }
.btn-ghost { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
}
.hero .stack-title { position: relative; }
.hero .word-back {
  font-family: var(--display); color: var(--blue);
  font-size: clamp(4rem, 16vw, 13rem); line-height: 0.8;
  text-transform: uppercase; display: block;
}
.hero .word-front {
  font-family: var(--display); color: var(--navy);
  font-size: clamp(2.4rem, 9vw, 7rem); line-height: 0.85;
  text-transform: uppercase; display: block;
  margin-top: -0.18em; margin-left: 0.05em;
}
.hero-sub { font-size: 1.2rem; max-width: 560px; margin: 28px 0 36px; color: var(--slate); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* sparkle motif */
.sparkle {
  display: inline-block; width: 1em; height: 1em; position: relative;
  vertical-align: middle;
}
.sparkle svg { width: 100%; height: 100%; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card.navy { background: var(--navy); color: var(--blue-pale); }
.card.navy h3 { color: var(--white); }
.card.navy p { color: var(--blue-pale); }
.card.blue { background: var(--blue); color: var(--navy-2); }
.card.blue h3 { color: var(--navy); }
.card.blue p { color: var(--navy-2); }
.card .card-num {
  font-family: var(--display); font-size: 3rem; line-height: 1;
  display: block; margin-bottom: 12px;
}
.card.navy .card-num { color: var(--blue); }
.card.blue .card-num { color: var(--navy); }

/* ---------- Section heading block ---------- */
.sec-head { margin-bottom: 48px; max-width: 720px; }
.sec-head .eyebrow { display: block; margin-bottom: 12px; }
.sec-head p { margin-top: 14px; font-size: 1.1rem; }

/* ---------- Bands ---------- */
.band-navy { background: var(--navy); color: var(--blue-pale); }
.band-navy h2 { color: var(--white); }
.band-navy p { color: var(--blue-pale); }
.band-navy .eyebrow { color: var(--blue); }
.band-blue { background: var(--blue); }
.band-blue h2, .band-blue p { color: var(--navy-2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-size: clamp(2rem,4vw,3rem); color: var(--blue); display: block; }
.band-blue .stat .num { color: var(--navy); }
.stat .lbl { font-size: 0.9rem; color: var(--blue-pale); }
.band-blue .stat .lbl { color: var(--navy-2); }

/* ---------- Feature list ---------- */
.feat { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.feat .dot {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue); display: grid; place-items: center; color: var(--navy);
  font-family: var(--display); font-size: 1.2rem;
}
.feat h4 { font-family: var(--body); font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ---------- Product page ---------- */
.product-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.product-visual {
  border-radius: var(--radius); min-height: 420px;
  background:
    linear-gradient(135deg, rgba(157,189,208,0.5), rgba(46,42,71,0.85)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 14px, transparent 14px 28px);
  display: grid; place-items: center; color: var(--white); text-align: center; padding: 30px;
  box-shadow: var(--shadow-lg);
}
.price-tag { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 24px; }
.price-tag .now { font-family: var(--display); font-size: 3rem; color: var(--navy); }
.price-tag .was { font-size: 1.3rem; color: var(--mute); text-decoration: line-through; }
.price-tag .save { background: var(--blue); color: var(--navy); font-weight: 700; padding: 4px 12px; border-radius: 6px; font-size: 0.85rem; }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid rgba(46,42,71,0.1); font-size: 0.96rem; }
.spec-table th { font-family: var(--body); font-weight: 700; color: var(--navy); width: 40%; }
.spec-table td { color: var(--slate); }
.kit-piece { background: var(--white); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow); }
.kit-piece .tag { font-family: var(--display); color: var(--blue-dk); font-size: 1.4rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.field input, .field textarea, .field select {
  font-family: var(--body); padding: 13px 15px; border: 1.5px solid rgba(46,42,71,0.18);
  border-radius: var(--radius-sm); font-size: 1rem; background: var(--white); color: var(--ink);
  transition: border 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-dk); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--mute); }
.form-success { background: var(--blue-pale); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--navy); font-weight: 600; display: none; }

/* contact info rows */
.contact-row { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.contact-row .ic { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.contact-row .ic svg { width: 22px; height: 22px; }
.map-embed { width: 100%; border: 0; border-radius: var(--radius); min-height: 300px; box-shadow: var(--shadow); }

/* ---------- Blog ---------- */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { height: 190px; background: var(--navy); position: relative; overflow: hidden; }
.post-thumb.alt { background: var(--blue); }
.post-thumb .label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); color: rgba(255,255,255,0.9); font-size: 1.6rem; text-align: center; padding: 20px; text-transform: uppercase; }
.post-thumb.alt .label { color: var(--navy); }
.post-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 0.8rem; color: var(--mute); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.post-body h3 { margin-bottom: 10px; }
.post-body .more { margin-top: auto; font-weight: 600; color: var(--blue-dk); }

/* article */
.article { max-width: 760px; margin: 0 auto; }
.article h1 { margin-bottom: 18px; }
.article h2 { margin: 38px 0 14px; }
.article h3 { margin: 26px 0 10px; }
.article p, .article li { font-size: 1.08rem; line-height: 1.75; color: var(--slate); }
.article ul, .article ol { margin: 0 0 1.2rem 1.4rem; }
.article li { margin-bottom: 8px; }
.article .lead { font-size: 1.25rem; color: var(--navy); font-weight: 500; }
.article figure { margin: 30px 0; }
.article .imgbox { border-radius: var(--radius); min-height: 280px; background: linear-gradient(135deg, var(--blue), var(--navy)); display: grid; place-items: center; color: var(--white); font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; text-align: center; padding: 20px; }
.article figcaption { font-size: 0.85rem; color: var(--mute); margin-top: 8px; text-align: center; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: var(--blue-pale); padding: 56px 0 30px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 36px; }
footer.site h4 { font-family: var(--body); font-weight: 700; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem; }
footer.site a { color: var(--blue-pale); display: block; margin-bottom: 8px; font-size: 0.95rem; }
footer.site a:hover { color: var(--blue); }
footer.site .tagline { max-width: 320px; font-size: 0.95rem; }
footer.site .copyright { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; font-size: 0.85rem; color: rgba(231,238,243,0.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation (JS adds .js-reveal to <html>) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .stats, .timeline { grid-template-columns: 1fr 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; background: var(--light);
    flex-direction: column; padding: 24px; gap: 18px; align-items: flex-start;
    border-bottom: 1px solid rgba(46,42,71,0.1); transform: translateY(-120%);
    transition: transform 0.3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .stats, .timeline { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 70px 0 60px; }
}
