/* =============================================
   College Loneliness Support — Shared Stylesheet
   Palette inspired by warm amber/cream tones
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --amber:      #C96A1A;
  --amber-light:#E8904A;
  --cream:      #FAF6F0;
  --ivory:      #F2EBE0;
  --warm-white: #FDFAF6;
  --charcoal:   #1E1A16;
  --mid-gray:   #7A6E63;
  --soft-gray:  #C8BFB5;
  --border:     #E4DAD0;
  --hero-grad:  linear-gradient(160deg, #FAF6F0 0%, #F5E8D4 55%, #EED6B8 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'DM Sans', sans-serif; letter-spacing: .04em; text-transform: uppercase; }

p { color: var(--mid-gray); line-height: 1.8; }

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

/* ── HEADER / NAV ─────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(253,250,246,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: .02em;
}

.logo span { color: var(--charcoal); }

nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

nav a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color .2s;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal); margin: 5px 0;
  transition: .3s;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  background: var(--hero-grad);
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(201,106,26,.12) 0%, transparent 70%);
  top: -100px; right: -80px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(232,144,74,.09) 0%, transparent 70%);
  bottom: -60px; left: 10%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--amber-light);
  padding-bottom: 4px;
}

.hero-title { margin-bottom: 1.2rem; color: var(--charcoal); }

.hero-title em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 2.4rem;
}

/* ── CTA CLUSTER ──────────────────────────── */
.cta-cluster {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--amber);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .25s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(201,106,26,.25);
}

.btn-app:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,106,26,.35);
}

.btn-app svg { width: 18px; height: 18px; fill: currentColor; }

.social-icons {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--mid-gray);
  transition: border-color .2s, color .2s, background .2s;
  background: rgba(255,255,255,.6);
}

.social-icon:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(201,106,26,.06);
}

.social-icon svg { width: 17px; height: 17px; fill: currentColor; }

/* ── HERO VISUAL ──────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-card-stack {
  position: relative;
  width: 320px; height: 400px;
}

.hero-card {
  position: absolute;
  border-radius: 20px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0,0,0,.09);
}

.hero-card-back {
  width: 260px; height: 320px;
  top: 30px; left: 30px;
  background: linear-gradient(135deg, #F5E8D4, #EED6B8);
  transform: rotate(6deg);
}

.hero-card-front {
  width: 270px; height: 330px;
  top: 10px; left: 10px;
  transform: rotate(-2deg);
}

.card-emoji { font-size: 3rem; margin-bottom: .8rem; display: block; }
.card-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
}

.card-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── SECTION WRAPPER ──────────────────────── */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .6rem;
}

.section-title { margin-bottom: 1rem; }
.section-intro { max-width: 540px; margin-bottom: 3rem; }

/* ── CARD GRID ────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
}

.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; color: var(--charcoal); }
.card p { font-size: .92rem; }

/* ── ACCENT BAND ──────────────────────────── */
.accent-band {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.accent-band h2, .accent-band p { color: #fff; }
.accent-band p { opacity: .85; }

/* ── TIPS STRIP ───────────────────────────── */
.tips-strip {
  background: var(--ivory);
  padding: 4rem 2rem;
}

.tips-list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.tip-pill {
  background: #fff;
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  font-size: .9rem;
}

.tip-pill strong { display: block; color: var(--charcoal); margin-bottom: .25rem; font-family: 'DM Sans', sans-serif; }

/* ── FACT BOX ─────────────────────────────── */
.fact-box {
  background: linear-gradient(135deg, #FEF3E8, #FDEBD6);
  border: 1px solid #F0D5B5;
  border-radius: 16px;
  padding: 2.4rem;
  margin: 2rem 0;
}

.fact-box .fact-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
}

/* ── TWO-COL LAYOUT ───────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── PLACEHOLDER IMAGE ────────────────────── */
.placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: linear-gradient(135deg, #F5E8D4 0%, #EED6B8 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .8rem;
  font-size: 3rem;
  color: var(--amber);
  border: 1px solid var(--border);
}

.placeholder-img span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--mid-gray);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .04em;
}

/* ── PAGE HERO (sub-pages) ────────────────── */
.page-hero {
  background: var(--hero-grad);
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.page-hero p { max-width: 540px; margin: 1rem auto 0; }

/* ── ORDERED GUIDE ────────────────────────── */
.guide-steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.6rem; margin-top: 2rem; }

.guide-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
}

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  flex-shrink: 0;
}

.guide-step h3 { font-size: 1.1rem; margin-bottom: .35rem; color: var(--charcoal); }
.guide-step p { font-size: .92rem; }

/* ── QUOTE BLOCK ──────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--amber);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--ivory);
  border-radius: 0 12px 12px 0;
}

.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
}

.pull-quote cite {
  display: block;
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--mid-gray);
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .05em;
}

/* ── TAG CHIPS ────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

.chip {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1.5px solid var(--border);
  color: var(--mid-gray);
  background: #fff;
  transition: border-color .2s, color .2s;
}

.chip:hover { border-color: var(--amber); color: var(--amber); }

/* ── FOOTER ───────────────────────────────── */
footer {
  background: var(--charcoal);
  color: var(--soft-gray);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { color: var(--amber-light); font-size: 1.1rem; display: block; margin-bottom: .8rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }

.footer-col h5 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .88rem; color: var(--soft-gray); transition: color .2s; }
.footer-col a:hover { color: var(--amber-light); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(200,191,181,.6);
}

/* ── COOKIE BANNER ────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--charcoal);
  color: var(--soft-gray);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: .85rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
  border-top: 2px solid var(--amber);
  flex-wrap: wrap;
}

#cookie-banner p { color: var(--soft-gray); margin: 0; }

.cookie-btn {
  flex-shrink: 0;
  background: var(--amber);
  color: #fff;
  border: none;
  padding: .6rem 1.6rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s;
}

.cookie-btn:hover { background: var(--amber-light); }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-sub { max-width: 100%; }
  .cta-cluster { justify-content: center; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav ul { display: none; }
  .hamburger { display: block; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── ANIMATIONS ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .7s ease both; }
.fade-up-2 { animation: fadeUp .7s .15s ease both; }
.fade-up-3 { animation: fadeUp .7s .3s ease both; }
.fade-up-4 { animation: fadeUp .7s .45s ease both; }
