/* ==========================================================
   Aadriv Global — style.css
   Palette: Ink #131210 · Slate #1C1A16 · Brass #C8A24E
            Ivory #ECE6D8 · Ash #97907E
   Type:    Fraunces (display) · Newsreader (body) · Archivo (utility)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,400&family=Archivo:wght@400;500;600&display=swap');

:root {
  --ink: #131210;
  --slate: #1c1a16;
  --slate-2: #211e19;
  --brass: #c8a24e;
  --amber: #e0b354;
  --ivory: #ece6d8;
  --ash: #97907e;
  --hairline: rgba(200, 162, 78, 0.22);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Newsreader', Georgia, serif;
  --utility: 'Archivo', -apple-system, sans-serif;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brass); color: var(--ink); }

a { color: var(--brass); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--amber); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------- Navigation ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(19, 18, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.wordmark {
  font-family: var(--utility);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
}
.wordmark span { color: var(--brass); }
.wordmark:hover { color: var(--ivory); }

nav.links {
  display: flex;
  gap: 1.75rem;
  font-family: var(--utility);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
nav.links a { color: var(--ash); }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--brass); }

/* ---------- Hero ---------- */
.hero { padding: 6rem 0 0; }

.eyebrow {
  font-family: var(--utility);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.5rem;
}

h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 15ch;
}
h1 em { font-style: italic; font-weight: 400; color: var(--brass); }

.lede {
  margin-top: 2rem;
  max-width: 34rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--ash);
}
.lede strong { color: var(--ivory); font-weight: 400; }

/* ---------- Compounding curve (signature) ---------- */
.curve-band { margin-top: 3.5rem; overflow: hidden; }
.curve-band svg { display: block; width: 100%; height: auto; }
.curve-path {
  stroke: var(--brass);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.8s ease-out 0.3s forwards;
}
.curve-label {
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: 0.16em;
  fill: var(--ash);
  text-transform: uppercase;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .curve-path { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
section + section { border-top: 1px solid var(--hairline); }

h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
h2 em { font-style: italic; color: var(--brass); }

h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.section-label {
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

p + p { margin-top: 1.2rem; }

.prose { max-width: 42rem; color: var(--ivory); }
.prose p { color: #cfc9bb; }
.prose p strong { color: var(--ivory); }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.pillar { border-top: 1px solid var(--hairline); padding-top: 1.4rem; }
.pillar p { font-size: 1rem; color: var(--ash); }

/* ---------- Band (cross-link) ---------- */
.band {
  background: var(--slate);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.band .inner { padding: 4rem 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.band h2 { margin-bottom: 0.4rem; }
.band p { color: var(--ash); max-width: 34rem; }

.btn {
  display: inline-block;
  font-family: var(--utility);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass);
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brass); color: var(--ink); }

/* ---------- Notes list ---------- */
.note-list { margin-top: 2.5rem; max-width: 46rem; }
.note {
  border-top: 1px solid var(--hairline);
  padding: 1.8rem 0;
  display: block;
  color: inherit;
}
.note:last-child { border-bottom: 1px solid var(--hairline); }
.note-date {
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.note h3 { margin: 0.5rem 0 0.4rem; transition: color 0.2s ease; }
.note:hover h3 { color: var(--brass); }
.note p { font-size: 1rem; color: var(--ash); }

/* ---------- Article (individual note) ---------- */
.article { max-width: 42rem; margin: 0 auto; padding: 5rem 1.5rem; }
.article h1 { font-size: clamp(2rem, 4.5vw, 3rem); max-width: none; }
.article .note-date { margin-bottom: 1rem; display: block; }
.article .prose { margin-top: 2.5rem; }
.article .prose p { font-size: 1.15rem; }

/* ---------- Timeline (About) ---------- */
.timeline { margin-top: 3rem; max-width: 44rem; }
.milestone {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 2rem;
  border-top: 1px solid var(--hairline);
  padding: 1.8rem 0;
}
.milestone .year {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brass);
}
.milestone p { font-size: 1.05rem; color: #cfc9bb; }

/* ---------- Principles (Philosophy) ---------- */
.principles { margin-top: 3rem; max-width: 46rem; }
.principle { border-top: 1px solid var(--hairline); padding: 2rem 0; }
.principle p { font-size: 1.05rem; color: #cfc9bb; max-width: 40rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 46rem;
}
.contact-item { border-top: 1px solid var(--hairline); padding-top: 1.4rem; }
.contact-item .label {
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.5rem;
}
.contact-item a, .contact-item span { font-size: 1.15rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 3rem 0 3.5rem;
  margin-top: 2rem;
}
footer .inner { display: flex; flex-direction: column; gap: 1.2rem; }
.disclaimer {
  font-family: var(--utility);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ash);
  max-width: 44rem;
}
.copyright {
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .hero { padding-top: 4rem; }
  section { padding: 3.5rem 0; }
  .pillars { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .milestone { grid-template-columns: 1fr; gap: 0.3rem; }
  nav.links { gap: 1rem; font-size: 0.7rem; flex-wrap: wrap; justify-content: flex-end; }
}
