/* ── Reset & box model ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  --accent:     #004225;        /* warm terracotta */
  --accent-lt:  #f5ede8;        /* pale blush tint */
  --ink:        #004225;
  --ink-mid:    #4a4a4a;
  --ink-light:  #888;
  --bg:         #fafaf8;
  --rule:       #004225;
  --ff-serif:   "Righteous", serif;
  --ff-sans:    "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
  --max-w:      1080px;
  --pad-x:      48px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink-mid);
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Fade-in ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Drop shadow animation ── */
@keyframes dropShadowPulse {
  0% { box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
  50% { box-shadow: 0 16px 48px rgba(0,0,0,0.18); }
  100% { box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
}

/* ── Top nav ── */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 50;
  animation: fadeUp 0.5s ease-out both;
}

.nav-name {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mid);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  gap: 48px;
  align-items: center;
}

.hero-text {
  animation: fadeUp 0.7s 0.1s ease-out both;
}

.hero-text {
  position: relative;
}

.hero-name {
  font-family: var(--ff-serif);
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0;
}

.hero-img-wrap {
  position: relative;
  animation: fadeUp 0.7s 0.1s ease-out both;
}

.hero-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  animation: dropShadowPulse 3s ease-in-out infinite;
}

/* Accent bar beside image */
.hero-img-wrap::before {
  content: "";
  position: absolute;
  top: 16px; left: -16px;
  width: 4px;
  height: calc(100% - 32px);
  background: var(--accent);
  border-radius: 2px;
}

/* ── About section ── */
.about-section {
  border-top: 1px solid var(--rule);
  background: #fff;
  padding: 80px var(--pad-x);
  animation: fadeUp 0.7s 0.35s ease-out both;
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: start;
}

.about-body p {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--ink-mid);
  margin-bottom: 20px;
}

.about-body strong { color: var(--ink); font-weight: 500; }

.about-links {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pill-link {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #fff !important;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pill-link:hover {
  background: #a33509;
  transform: translateY(-1px);
  text-decoration: none;
}

.pill-link--outline {
  background: transparent;
  color: var(--ink-mid) !important;
  border: 1.5px solid var(--rule);
}

.pill-link--outline:hover {
  background: var(--accent-lt);
  border-color: var(--accent);
  color: var(--accent) !important;
}

/* ── Meta sidebar ── */
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.meta-block { display: flex; flex-direction: column; gap: 4px; }

.meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.meta-value {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mid);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px var(--pad-x);
  text-align: center;
  font-size: 13px;
  color: var(--ink-light);
  background: var(--bg);
}

.site-footer a {
  color: var(--ink-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover { color: var(--accent); }

/* ── Shared utility styles (used by Research / Multimedia via this sheet) ── */
.highlight-link { color: var(--ink-mid); text-decoration: underline; }
.highlight-link:hover { color: var(--accent); }

/* Kept for legacy collage pages */
.collage img {
  position: static;
  width: 300px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.collage img:hover { transform: scale(1.04); }

.image-container { position: relative; display: inline-block; }
.image-container img { display: block; transition: transform 0.3s; }

/* ── Responsive ── */
@media (max-width: 820px) {
  :root { --pad-x: 28px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 36px;
  }

  .hero-img-wrap::before { display: none; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 40px;
  }
}

@media (max-width: 540px) {
  :root { --pad-x: 20px; }

  .nav-links { gap: 20px; }

  .hero-name { font-size: clamp(56px, 16vw, 80px); }

  .about-links { flex-direction: column; }
  .pill-link { text-align: center; }
}

@media print {
  body { font-size: 12pt; color: #444; background: #fff; }
  .top-nav { position: static; }
}
