/* ==========================================================================
   Dash Shaw — personal site
   Aesthetic: ink-navy nautical chart. Brass/gold accents. Cream text.
   Display: Fraunces (editorial serif, old-style figures)
   Body: Figtree (clean geometric sans)
   ========================================================================== */

:root {
  --navy-950: #081627;
  --navy-900: #0a1f33;
  --navy-800: #0f2b45;
  --navy-700: #15395a;
  --gold-500: #e8c468;
  --gold-600: #c9972f;
  --gold-700: #9c6b1f;
  --cream-100: #f7f3e8;
  --cream-200: #f3efe3;
  --cream-300: #e7dfc9;
  --ink-muted: #a9bdcf;
  --teal-500: #4fa39a;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 980px;
  --section-pad: clamp(72px, 10vw, 140px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--cream-200);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .pull-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream-100);
  margin: 0;
}

a { color: inherit; }

/* ---------------- Nav ---------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  background: linear-gradient(to bottom, rgba(8,22,39,0.92), rgba(8,22,39,0));
  backdrop-filter: blur(2px);
}

.nav-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--gold-500);
  text-decoration: none;
  border: 1.5px solid var(--gold-600);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--gold-500); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  overflow: hidden;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--navy-700) 0%, transparent 55%),
    linear-gradient(to top, rgba(79, 163, 154, 0.16) 0%, rgba(79, 163, 154, 0.06) 16%, transparent 36%);
}

.celestial-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1000px, 150vw);
  height: min(1000px, 150vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.celestial-watermark .twinkle-1,
.celestial-watermark .twinkle-2,
.celestial-watermark .twinkle-3 {
  animation: twinkle 4s ease-in-out infinite;
}

.celestial-watermark .twinkle-2 {
  animation-duration: 5.5s;
  animation-delay: 1.2s;
}

.celestial-watermark .twinkle-3 {
  animation-duration: 3.4s;
  animation-delay: 2.1s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}

.north-star {
  position: absolute;
  top: clamp(56px, 11vh, 110px);
  right: clamp(20px, 7vw, 130px);
  width: clamp(110px, 16vw, 190px);
  height: clamp(110px, 16vw, 190px);
  pointer-events: none;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 18px;
  font-weight: 600;
}

.hero-line {
  position: relative;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.18;
  max-width: 920px;
  font-weight: 500;
}

.hero-sub {
  position: relative;
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.credential-strip {
  position: relative;
  margin-top: 30px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cream-300);
  border-top: 1px solid rgba(232, 196, 104, 0.3);
  border-bottom: 1px solid rgba(232, 196, 104, 0.3);
  padding: 10px 0;
}

.scroll-cue {
  position: relative;
  margin-top: 56px;
  text-decoration: none;
  color: var(--gold-500);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------------- Sections ---------------- */

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

.section {
  padding: var(--section-pad) 0;
}

.section h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-top: 10px;
  max-width: 760px;
  line-height: 1.25;
}

.section-intro {
  max-width: 640px;
  color: var(--ink-muted);
  font-size: 17px;
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.voyage-connector {
  display: block;
  width: 2px;
  height: 90px;
  margin: 0 auto;
  color: var(--gold-700);
  opacity: 0.6;
}

/* ---------------- Throughline ---------------- */

.throughline {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.throughline-text {
  font-size: 19px;
  color: var(--cream-200);
  line-height: 1.75;
}

.pull-quote {
  margin: 44px 0 16px;
  padding: 0;
}

.pull-quote p {
  font-size: clamp(30px, 4.4vw, 44px);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-500);
  line-height: 1.3;
}

.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.throughline-closer {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-muted);
  font-style: italic;
}

/* ---------------- Timeline ---------------- */

.timeline {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  border-left: 2px solid rgba(232, 196, 104, 0.25);
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--gold-500);
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 6px;
}

.timeline-years {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--gold-500);
  font-weight: 600;
}

.timeline-org {
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-item p {
  margin: 0;
  color: var(--cream-300);
  max-width: 620px;
}

.credential-row {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 196, 104, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13px;
  color: var(--ink-muted);
}

.speaking-line {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------------- Split layout (Water / Wake) ---------------- */

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.split-layout--reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.fact-list h3 {
  font-size: 18px;
  color: var(--gold-500);
  margin-bottom: 6px;
}

.fact-list p {
  margin: 0;
  color: var(--cream-300);
}

.wake-text p {
  margin: 0 0 18px;
  color: var(--cream-200);
}

.boat-callout {
  color: var(--gold-500) !important;
  font-style: italic;
}

.closer-line {
  margin-top: 36px;
  font-size: 17px;
  font-style: italic;
  color: var(--cream-300);
  border-left: 2px solid var(--gold-600);
  padding-left: 18px;
}

/* ---------------- Photo slots ---------------- */

.photo-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.photo-slot {
  margin: 0;
  border: 1.5px solid var(--gold-700);
  border-radius: 4px;
  padding: 2px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.photo-slot-inner {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(232, 196, 104, 0.4);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-700);
}

.photo-slot-inner p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.photo-slot-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.photo-slot--portrait .photo-slot-img {
  aspect-ratio: 3 / 4;
}

.photo-slot figcaption {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-muted);
  padding: 10px 6px 6px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  text-align: center;
  padding: 100px 24px 60px;
  background: var(--navy-950);
  border-top: 1px solid rgba(232, 196, 104, 0.15);
}

.footer-compass {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  color: var(--gold-600);
}

.site-footer h2 {
  font-size: 28px;
}

.site-footer p {
  color: var(--ink-muted);
  max-width: 480px;
  margin: 16px auto 28px;
}

.footer-email {
  display: block;
  text-decoration: none;
  font-size: 16px;
  color: var(--gold-500);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 36px !important;
  font-size: 12px;
  color: rgba(169, 189, 207, 0.6);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 760px) {
  .split-layout,
  .split-layout--reverse {
    grid-template-columns: 1fr;
  }
  .timeline { margin-left: 4px; }
  :root { --section-pad: 64px; }
}
