/* ============================================
   ankitaneotia.com · bold & warm
   ============================================ */

:root {
  --cream: #FAF3E7;
  --cream-deep: #F3E7D3;
  --ink: #2A1A12;
  --terracotta: #C2452D;
  --terracotta-deep: #A33520;
  --saffron: #E9A13B;
  --olive: #4A5232;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Bricolage Grotesque', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

a { color: var(--terracotta); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.wordmark {
  font-family: 'Special Elite', 'Courier New', monospace; font-style: normal; font-weight: 400; font-size: 1.65rem;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--terracotta); }
.nav ul { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.nav ul a {
  color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav ul a:hover, .nav ul a.active { border-bottom-color: var(--terracotta); color: var(--terracotta-deep); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; }
.hero .eyebrow, .eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.9rem, 7.5vw, 5.4rem);
  max-width: 22ch;
}
.hero h1 em, .accent-em { font-style: italic; color: var(--terracotta); }
.hero .lede, .lede {
  margin-top: 28px; max-width: 58ch; font-size: 1.18rem; line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; margin-top: 32px;
  background: var(--terracotta); color: var(--cream);
  font-weight: 600; text-decoration: none;
  padding: 14px 30px; border-radius: 999px;
  border: 2px solid var(--terracotta);
  transition: all 0.18s ease;
}
.btn:hover { background: var(--cream); color: var(--terracotta); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.on-dark { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.btn.on-dark:hover { background: transparent; color: var(--saffron); }

/* ---------- Credentials ticker ---------- */
.ticker {
  background: var(--ink); color: var(--cream);
  padding: 16px 0; overflow: hidden; white-space: nowrap;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.ticker-track {
  display: inline-block; white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker span {
  display: inline-block; padding: 0 28px;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em;
}
.ticker .dot { color: var(--saffron); padding: 0; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin-bottom: 18px; max-width: 40ch; }
.section-sub { max-width: 62ch; margin-bottom: 40px; }

.band-terracotta { background: var(--terracotta); color: var(--cream); }
.band-terracotta a { color: var(--cream); }
.band-terracotta .eyebrow { color: var(--saffron); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink .eyebrow { color: var(--saffron); }
.band-deep { background: var(--cream-deep); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cards-2x2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .cards-2x2 { grid-template-columns: 1fr; } }
.card {
  background: var(--cream); border: 2px solid var(--ink); border-radius: 18px;
  padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  color: var(--ink); text-decoration: none;
}
a.card:hover { transform: translateY(-5px); box-shadow: 6px 6px 0 var(--saffron); color: var(--ink); }
.card .num {
  font-family: 'Instrument Serif', serif; font-style: italic;
  color: var(--terracotta); font-size: 1.15rem; margin-bottom: 14px;
}
.card h3 {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: 2rem; letter-spacing: -0.01em; margin-bottom: 12px;
}
.card p { font-size: 0.99rem; flex: 1; }
.card .go { margin-top: 20px; font-weight: 600; color: var(--terracotta); }

/* ---------- Pull quote ---------- */
.pullquote {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem); line-height: 1.3;
  max-width: 26ch; margin: 0 auto; text-align: center;
}
.pullquote .credit {
  display: block; margin-top: 24px; font-family: 'Bricolage Grotesque', sans-serif;
  font-style: normal; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron);
}

/* ---------- Two-column prose ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prose p + p { margin-top: 1.2em; }
.prose h2 { font-size: 2.1rem; margin: 1.6em 0 0.6em; }
.prose ul { margin: 1em 0 1em 1.2em; }
.prose li + li { margin-top: 0.5em; }

/* ---------- Decorative graphics ---------- */
.divider { display: flex; justify-content: center; margin: 0 auto 56px; }
.route-map { display: block; width: 100%; height: auto; margin: 24px 0 8px; }
.foot-compass { color: var(--cream); opacity: 0.8; align-self: center; }

/* ---------- Photos ---------- */
.photo {
  width: 100%; height: 100%; max-height: 560px; object-fit: cover;
  border-radius: 18px; border: 2px solid var(--ink); display: block;
  box-shadow: 8px 8px 0 var(--saffron);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero-grid .photo { max-height: 480px; }

/* ---------- Photo placeholder ---------- */
.photo-slot {
  border-radius: 18px; border: 2px dashed var(--terracotta);
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 420px; padding: 24px;
  color: var(--terracotta); font-weight: 500; font-size: 0.95rem;
}

/* ---------- Journey line (About) ---------- */
.journey {
  display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: center;
  font-family: 'Instrument Serif', serif; font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 40px 0;
}
.journey .arrow { color: var(--saffron); font-family: 'Bricolage Grotesque', sans-serif; }

/* ---------- Detail list ---------- */
.detail-list { list-style: none; }
.detail-list li {
  padding: 26px 0; border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
}
.detail-list li:last-child { border-bottom: 2px solid var(--ink); }
.detail-list h3 { font-size: 1.55rem; }
.band-ink .detail-list li, .band-ink .detail-list li:last-child { border-color: rgba(250, 243, 231, 0.35); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5.4vw, 3.5rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { max-width: 50ch; margin: 20px auto 0; }

/* ---------- Contact ---------- */
.contact-links { list-style: none; margin-top: 40px; }
.contact-links li { border-top: 2px solid var(--ink); }
.contact-links li:last-child { border-bottom: 2px solid var(--ink); }
.contact-links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 24px 4px; text-decoration: none; color: var(--ink);
  font-family: 'Instrument Serif', serif; font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  transition: all 0.15s ease;
}
.contact-links a span.where { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.9rem; font-weight: 500; color: var(--terracotta); }
.contact-links a:hover { background: var(--cream-deep); padding-left: 16px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--cream); padding: 56px 0 40px; }
.foot {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start;
}
footer .wordmark { color: var(--cream); }
footer .wordmark:hover { color: var(--saffron); }
.foot-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.foot-links a { color: var(--cream); text-decoration: none; font-size: 0.92rem; opacity: 0.85; }
.foot-links a:hover { opacity: 1; color: var(--saffron); }
.foot-note { width: 100%; margin-top: 32px; font-size: 0.82rem; opacity: 0.55; }

/* ---------- Mobile nav (hamburger) ---------- */
.nav-check { display: none; }
.nav-burger { display: none; cursor: pointer; padding: 4px; }
.nav-burger span {
  display: block; width: 24px; height: 2.5px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-check:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-check:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Story stamps ---------- */
.story-list li { display: grid; grid-template-columns: 150px 1fr; gap: 4px 24px; align-items: start; }
.stamp {
  grid-column: 1; grid-row: 1 / span 2; align-self: center; justify-self: start;
  font-family: 'Special Elite', monospace; text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.08em; color: var(--terracotta);
  border: 2px solid var(--terracotta); border-radius: 6px; padding: 4px 12px;
  transform: rotate(-5deg); white-space: nowrap;
}
.story-list a { grid-column: 2; }
.story-list p { grid-column: 2; }

/* ---------- Map background for stories ---------- */
.map-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='430'%3E%3Cg stroke='%232A1A12' stroke-opacity='0.055' fill='none'%3E%3Cpath d='M0 80 Q175 60 350 80 T700 80'/%3E%3Cpath d='M0 190 Q175 170 350 190 T700 190'/%3E%3Cpath d='M0 300 Q175 280 350 300 T700 300'/%3E%3Cpath d='M0 410 Q175 390 350 410 T700 410'/%3E%3Cpath d='M90 0 Q70 107 90 215 T90 430'/%3E%3Cpath d='M260 0 Q240 107 260 215 T260 430'/%3E%3Cpath d='M430 0 Q410 107 430 215 T430 430'/%3E%3Cpath d='M600 0 Q580 107 600 215 T600 430'/%3E%3C/g%3E%3Cpath d='M60 340 C160 260 300 300 380 220 C450 150 560 170 640 90' stroke='%23C2452D' stroke-opacity='0.16' stroke-width='2' stroke-dasharray='1 9' stroke-linecap='round' fill='none'/%3E%3Cg fill='none' stroke='%232A1A12' stroke-opacity='0.13'%3E%3Ccircle cx='60' cy='340' r='5'/%3E%3Ccircle cx='380' cy='220' r='5'/%3E%3Ccircle cx='640' cy='90' r='5'/%3E%3C/g%3E%3Cg stroke='%232A1A12' stroke-opacity='0.1' fill='none'%3E%3Ccircle cx='620' cy='360' r='16'/%3E%3Cline x1='604' y1='360' x2='610' y2='360'/%3E%3Cline x1='630' y1='360' x2='636' y2='360'/%3E%3Cpath d='M620 344 L623 358 L620 360 L617 358 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 700px 430px;
}

/* ---------- Vertical journey (mobile) ---------- */
.journey-vertical { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-burger { display: block; }
  .nav ul { display: none; width: 100%; flex-direction: column; gap: 14px; padding: 14px 0 6px; }
  .nav-check:checked ~ ul { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid .photo { max-height: 380px; }
  .detail-list li { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
  .photo-slot { min-height: 280px; }
}

@media (max-width: 640px) {
  .route-map { display: none; }
  .journey-vertical { display: block; margin: 8px 0 24px; padding-left: 8px; }
  .jv-stop { position: relative; padding: 0 0 28px 28px; border-left: 3px dotted var(--terracotta); }
  .jv-stop:last-child { border-left-color: transparent; padding-bottom: 6px; }
  .jv-dot {
    position: absolute; left: -10px; top: 2px; width: 13px; height: 13px;
    border-radius: 50%; background: var(--terracotta);
    border: 3px solid var(--cream-deep); box-shadow: 0 0 0 2px var(--ink);
  }
  .jv-stop strong { font-family: 'Special Elite', monospace; font-weight: 400; font-size: 1.2rem; display: block; line-height: 1.3; }
  .jv-stop em { font-size: 0.92rem; color: rgba(42, 26, 18, 0.6); }
  .story-list li { grid-template-columns: 1fr; }
  .stamp { grid-row: 1; grid-column: 1; margin: 2px 0 6px; }
  .story-list a, .story-list p { grid-column: 1; }
}

/* ---------- Story list ---------- */
.story-list { list-style: none; margin-top: 8px; }
.story-list li { border-top: 2px solid var(--ink); padding: 22px 4px; }
.story-list li:last-child { border-bottom: 2px solid var(--ink); }
.story-list a {
  font-family: 'Instrument Serif', serif; font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--ink); text-decoration: none;
}
.story-list a:hover { color: var(--terracotta); }
.story-list p { font-size: 0.95rem; color: rgba(42, 26, 18, 0.7); margin-top: 4px; }

/* ---------- AN monogram in wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 11px; }
.wordmark .logo { width: 40px; height: 40px; }
footer .wordmark .logo { filter: invert(93%) sepia(8%) saturate(500%) hue-rotate(340deg); }
