/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Color — basalt & terracotta, planetary field-site palette */
  --basalt-950: #0f0c0a;
  --basalt-900: #171310;
  --basalt-800: #221c17;
  --basalt-700: #332924;
  --basalt-600: #453832;

  --terracotta-500: #c1633b;
  --terracotta-400: #d68258;
  --terracotta-300: #e3a184;

  --stone-100: #f5f0e8;
  --stone-300: #ded4c6;
  --stone-500: #a89684;
  --stone-700: #6b5d51;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;

  /* Layout */
  --nav-height: 68px;
  --content-width: 880px;
  --wide-width: 1100px;
  --radius: 3px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--basalt-950);
  color: var(--stone-300);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--stone-100);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.4rem; font-weight: 600; }

p { margin: 0 0 1.1em 0; }

a {
  color: var(--terracotta-400);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--terracotta-300); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracotta-400);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-300);
  font-weight: 500;
}

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

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

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 12px 0;
  background: rgba(15, 12, 10, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--basalt-700);
}

.site-nav__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__mark {
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  gap: 3px;
}

.site-nav__mark-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.site-nav__mark-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-300);
}

.site-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--stone-100);
}

.site-nav__links a[aria-current="page"] {
  border-bottom: 2px solid var(--terracotta-400);
  padding-bottom: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--basalt-600);
  color: var(--stone-100);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--basalt-900);
    border-bottom: 2px solid var(--basalt-700);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .site-nav__links.is-open { display: flex; }
  .site-nav__links a {
    padding: 14px 24px;
    display: block;
    border-bottom: 2px solid var(--basalt-800);
  }
}

/* =========================================================
   HERO / PLANETARY BACKGROUND
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  isolation: isolate;
}

/*
  PLACEHOLDER PLANETARY BACKGROUND
  ---------------------------------
  This is a CSS/SVG stand-in (starfield + topographic contour lines)
  until real photos are added. To swap in a real photo later:

    .hero__bg {
      background-image: linear-gradient(180deg, rgba(15,12,10,0.55), rgba(15,12,10,0.95)), url("images/your-photo.jpg");
      background-size: cover;
      background-position: center;
    }

  Keep the dark gradient overlay so text stays readable on top.
*/
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1px 1px at 8% 22%, rgba(245,240,232,0.5), transparent),
    radial-gradient(1px 1px at 22% 68%, rgba(245,240,232,0.35), transparent),
    radial-gradient(1.5px 1.5px at 38% 12%, rgba(245,240,232,0.4), transparent),
    radial-gradient(1px 1px at 52% 78%, rgba(245,240,232,0.3), transparent),
    radial-gradient(1.5px 1.5px at 68% 34%, rgba(245,240,232,0.45), transparent),
    radial-gradient(1px 1px at 81% 58%, rgba(245,240,232,0.3), transparent),
    radial-gradient(1.5px 1.5px at 91% 20%, rgba(245,240,232,0.4), transparent),
    radial-gradient(1px 1px at 14% 88%, rgba(245,240,232,0.3), transparent),
    radial-gradient(1px 1px at 63% 91%, rgba(245,240,232,0.35), transparent),
    linear-gradient(180deg, var(--basalt-900) 0%, var(--basalt-950) 100%);
}

.hero__contours {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: url("images/contours.svg");
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: 130% auto;
}

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

.hero__coords {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--terracotta-300);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero__role {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--stone-300);
  margin-bottom: 0.4rem;
}

.hero__institution {
  color: var(--stone-500);
  margin-bottom: 1.6rem;
  font-size: 1.1rem;
}

.hero__intro {
  max-width: 620px;
  font-size: 1.18rem;
  color: var(--stone-300);
}

/* Keyword tag row, Anna-Gulcher style */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-row li {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--stone-100);
  letter-spacing: 0.02em;
}

.tag-row li:not(:last-child)::after {
  content: "·";
  margin-left: 0.9rem;
  color: var(--basalt-600);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: 4.5rem 0;
  border-bottom: 2px solid var(--basalt-800);
}

.section:last-of-type { border-bottom: none; }

.section__head {
  margin-bottom: 2.4rem;
}

.section__head .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}

/* =========================================================
   RESEARCH CARDS
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--basalt-900);
  border: 2px solid var(--basalt-700);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--terracotta-500);
  transform: translateY(-2px);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--terracotta-400);
  display: block;
  margin-bottom: 0.9rem;
}

.card h3 { margin-bottom: 0.6rem; }

.card p {
  font-size: 1.05rem;
  color: var(--stone-500);
  margin-bottom: 0;
}

/* =========================================================
   PUBLICATIONS
   ========================================================= */
.pub-year {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--terracotta-400);
  margin: 2.2rem 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pub-year:first-child { margin-top: 0; }

.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-item {
  padding: 1.1rem 0;
  border-bottom: 2px solid var(--basalt-800);
}

.pub-item:last-child { border-bottom: none; }

.pub-item__title {
  color: var(--stone-100);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.pub-item__meta {
  font-size: 1rem;
  color: var(--stone-500);
  margin-bottom: 0.4rem;
}

.pub-item__links a {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 1.2rem;
}

/* =========================================================
   CV
   ========================================================= */
.cv-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--basalt-950);
  background: var(--terracotta-400);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.cv-download:hover {
  background: var(--terracotta-300);
  color: var(--basalt-950);
}

.cv-block {
  margin-bottom: 3.2rem;
}

.cv-block h3 {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta-300);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.cv-entry {
  margin-bottom: 1.1rem;
}

.cv-entry__title {
  color: var(--stone-100);
  font-weight: 600;
}

.cv-entry__meta {
  font-size: 1rem;
  color: var(--stone-500);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-links {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-links a {
  font-family: var(--font-mono);
  font-size: 1.08rem;
}

.contact-links a::before {
  content: "→ ";
  color: var(--terracotta-500);
}

/* Icon-button variant, used in the homepage bio section */
.contact-icons {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.9rem;
}

.contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--basalt-600);
  color: var(--stone-100);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.contact-icons a svg {
  width: 20px;
  height: 20px;
}

.contact-icons a:hover {
  border-color: var(--terracotta-400);
  color: var(--terracotta-300);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER — coordinate readout signature
   ========================================================= */
.site-footer {
  padding: 2.5rem 0;
  border-top: 2px solid var(--basalt-800);
}

.site-footer__inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__coords {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--stone-700);
  letter-spacing: 0.04em;
}

.site-footer__coords span {
  color: var(--terracotta-500);
}

.site-footer__meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--stone-700);
}

/* =========================================================
   HERO PHOTO (Earth-Moon image, name overlay)
   ========================================================= */
.hero-photo {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.hero-photo__frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--basalt-700);
  background: var(--basalt-900);
}

.hero-photo__frame img {
  display: block;
  width: 100%;
  height: clamp(320px, 52vw, 520px);
  object-fit: cover;
  object-position: center 35%;
}

.hero-photo__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, rgba(15,12,10,0) 45%, rgba(15,12,10,0.88) 100%);
}

.hero-photo__overlay h1 {
  color: var(--stone-100);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55);
}

.hero-photo__role {
  margin-top: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--stone-300);
}

.hero-photo__credit {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--stone-700);
}

/* =========================================================
   BIO GRID (photo left, text right)
   ========================================================= */
.bio-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.bio-grid__photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--basalt-700);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

@media (max-width: 720px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
  .bio-grid__photo {
    max-width: 220px;
  }
}

/* =========================================================
   TINTED SECTION (Active Research)
   ========================================================= */
.section--tint {
  background: var(--basalt-900);
  border-top: 2px solid var(--basalt-700);
  border-bottom: 2px solid var(--basalt-700);
}

/* =========================================================
   QUOTE BLOCK
   ========================================================= */
.quote-block {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 24px 4.5rem;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--stone-100);
  margin: 0 0 1.2rem;
}

.quote-block cite {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--terracotta-400);
  font-style: normal;
}

/* =========================================================
   BACKDROP SYSTEM (shared across pages that use it)
   The image sits fixed behind the whole page. Content sits in
   "cards" (.home-section) with gaps between them, so the
   backdrop is visible in those gaps as you scroll.
   ========================================================= */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-backdrop--home {
  background-image:
    linear-gradient(180deg, rgba(15,12,10,0.22) 0%, rgba(15,12,10,0.55) 45%, rgba(15,12,10,0.88) 100%),
    url("https://www.nasa.gov/wp-content/uploads/2023/03/earth_and_limb_m1199291564l_color_2stretch_mask_0.jpg");
  background-position: 75% 20%; /* keeps Earth prominent near the top */
}

/* Earth pulled toward the left edge, Moon toward the right edge,
   both sitting on a black background with a gap between them */
.page-backdrop--research {
  background-color: #000000;
  background-image:
    url("https://assets.science.nasa.gov/dynamicimage/assets/science/cds/kids/nasa-kids-science/earth/why-does-nasa-study-earth/earth1.jpg?w=2048&h=2048&fit=clip&crop=faces%2Cfocalpoint"),
    url("https://images-assets.nasa.gov/image/PIA00405/PIA00405~large.jpg");
  background-position: left 4% center, right 10% center;
  background-size: 58% auto, 32% auto;
  background-repeat: no-repeat, no-repeat;
}

@media (max-width: 720px) {
  .page-backdrop--research {
    background-position: left 4% top 8%, right 4% bottom 8%;
    background-size: 62% auto, 40% auto;
  }
}

/* Smaller hero used on secondary pages (Research, etc.) — just a
   page title floating on the backdrop, no photo box, no long intro */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 24px 3rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 26px rgba(0,0,0,0.75), 0 2px 8px rgba(0,0,0,0.6);
}

/* Full-bleed horizontal bar — spans edge to edge, unlike the
   boxed .home-section cards. Used for short intro/summary strips. */
.home-bar {
  position: relative;
  width: 100%;
  margin: 0 0 3.5rem;
  padding: 3.5rem 0;
  border-top: 2px solid var(--basalt-700);
  border-bottom: 2px solid var(--basalt-700);
  background-image:
    linear-gradient(rgba(15,12,10,0.75), rgba(15,12,10,0.75)),
    url("images/contours.svg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

/* Plain solid-color variant of .home-bar, used for the
   address bar at the bottom of the Contact page */
.home-bar--convection {
  background-image: none;
  background-color: var(--basalt-900);
}

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

/* Centered page-title variant of .home-bar, e.g. "PUBLICATIONS" */
.home-bar--title {
  text-align: center;
  padding: 4.5rem 0;
}

.home-bar--title h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin: 0;
}

/* Publications backdrop: tomography model over a basalt-gray base,
   matching the Research page's fixed-backdrop treatment. Content
   sections glide over it with gaps in between. */
.page-backdrop--publications {
  background-color: var(--basalt-900);
  background-image:
    linear-gradient(rgba(23,19,16,0.5), rgba(23,19,16,0.5)),
    url("images/tomography.png");
  background-size: 88%;
  background-position: center;
  background-repeat: no-repeat;
}

/* More transparent variant of .home-section, lets the fixed backdrop
   show through more clearly — used on the Publications page */
.home-section--glass {
  background: rgba(15, 12, 10, 0.15);
}

/* Dark card wrapper for CV subsections on the homepage — same
   treatment as the Active Research cards, used inside the
   orange-tinted .home-section--research background */
.cv-card {
  background: var(--basalt-900);
  border: 2px solid var(--basalt-700);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  margin-bottom: 1.8rem;
}

.cv-card:first-of-type {
  margin-top: 1.8rem;
}

.cv-card:last-child {
  margin-bottom: 0;
}

.cv-card h3 {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta-300);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* Blog cards for the Outreach page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.blog-card {
  display: block;
  background: var(--basalt-900);
  border: 2px solid var(--basalt-700);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: var(--terracotta-500);
  transform: translateY(-3px);
}

.blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.blog-card--full img {
  height: 190px;
  object-fit: contain;
  background: var(--basalt-950);
}

.blog-card__body {
  padding: 1rem 1.2rem 1.2rem;
}

.blog-card__title {
  color: var(--stone-100);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--stone-500);
  margin-top: 0.5rem;
  display: block;
}

.blog-card--noimage .blog-card__body {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image:
    linear-gradient(rgba(15,12,10,0.95), rgba(15,12,10,0.95)),
    url("images/contours.svg");
  background-size: cover;
  background-position: center;
}

/* Wide link box, used for single external links like the LinkedIn post */
.link-box {
  display: block;
  background: var(--basalt-900);
  border: 2px solid var(--basalt-700);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-top: 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.link-box:hover {
  border-color: var(--terracotta-500);
  transform: translateY(-2px);
}

.link-box__title {
  color: var(--stone-100);
  font-weight: 600;
  display: block;
}

.link-box__meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--terracotta-400);
  margin-top: 0.5rem;
  display: block;
}
/* Contact page backdrop — contour texture instead of a photo */
.page-backdrop--contact {
  background-color: var(--basalt-950);
  background-image:
    linear-gradient(rgba(15,12,10,0.85), rgba(15,12,10,0.85)),
    url("images/contours.svg");
  background-size: cover;
  background-position: center 30%;
}

/* Email row inside the Contact Information card */
.contact-email-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

.contact-email-row .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--basalt-600);
  color: var(--stone-100);
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact-email-row .icon-circle svg {
  width: 20px;
  height: 20px;
}

.contact-email-row span {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--stone-100);
  transition: color 0.15s ease;
}

.contact-email-row:hover .icon-circle {
  border-color: var(--terracotta-400);
  color: var(--terracotta-300);
}

.contact-email-row:hover span {
  color: var(--terracotta-300);
}

/* Bottom address bar on the Contact page */
.contact-footer-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-footer-bar__address {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--stone-300);
}

.contact-footer-bar__coords {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  color: var(--terracotta-300);
}

.contact-footer-bar__logo img {
  height: 90px;
  width: auto;
  display: block;
}

.home-section--xwide {
  max-width: 1480px;
  padding-left: 2.2rem;
  padding-right: 2.2rem;
}

/* Section variant with the contour-line texture instead of a flat color */
.home-section--contours {
  background-image:
    linear-gradient(rgba(15,12,10,0.95), rgba(15,12,10,0.95)),
    url("images/contours.svg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

/* Simple dash-style bullet list, used for short interest/keyword lists */
.bullet-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bullet-list li {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--stone-100);
  padding-left: 1.8rem;
  position: relative;
}

.bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--terracotta-400);
}

/* Spacing for repeated image-left/text-right project rows */
.project-row {
  margin-bottom: 2.8rem;
}

.project-row:last-child {
  margin-bottom: 0;
}

.project-group {
  margin-bottom: 3rem;
}

.project-group:last-child {
  margin-bottom: 0;
}

.home-hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 24px 4rem;
}

.home-hero h1 {
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,0.75), 0 2px 10px rgba(0,0,0,0.6);
}

.home-hero__role {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--stone-100);
  text-shadow: 0 2px 14px rgba(0,0,0,0.75);
}

.home-hero__credit {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--stone-300);
  text-shadow: 0 1px 10px rgba(0,0,0,0.75);
}

.home-section {
  position: relative;
  max-width: var(--wide-width);
  margin: 0 auto 3.5rem;
  padding: 3.5rem 3rem;
  border-radius: 8px;
  border: 2px solid var(--basalt-700);
  background: rgba(15, 12, 10, 0.94);
}

.home-section--about {
  background: rgba(34, 28, 23, 0.95);
}

.home-section--research {
  background: linear-gradient(160deg, rgba(193, 99, 59, 0.16), rgba(15, 12, 10, 0.95));
  border-color: var(--terracotta-500);
}

.home-quote {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
  padding: 0 24px;
}

.home-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.75);
  margin: 0 0 1.1rem;
}

.home-quote cite {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--terracotta-300);
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
  font-style: normal;
}

.home-footer {
  text-align: center;
  padding: 2.5rem 24px 3.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--stone-100);
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}

.home-footer__credit {
  font-size: 0.78rem;
  color: var(--stone-300);
  margin-bottom: 0.5rem;
}

@media (max-width: 720px) {
  .home-section {
    margin: 0 16px 2.5rem;
    padding: 2.5rem 1.5rem;
  }
  .home-hero {
    min-height: 68vh;
    padding: 5rem 20px 3rem;
  }
}

/* =========================================================
   UTILITY
   ========================================================= */
.fade-in {
  animation: fadeIn 0.8s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-300);
  border: 2px solid var(--basalt-600);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  margin-top: 1.6rem;
}

.btn-secondary:hover {
  border-color: var(--terracotta-400);
  color: var(--terracotta-300);
}
