:root {
  /* Brand palette */
  --coffee: #3b2414;
  --coffee-deep: #2a180e;
  --coffee-soft: #5c3a24;
  --cream: #f5e6d3;
  --cream-light: #fbf4ea;
  --tan: #e8d5b7;
  --navy: #0f1c2e;
  --navy-soft: #1a2f4a;
  --baby-blue: #a8d5e5;
  --baby-blue-soft: #c9e7f0;

  /* geosurge-inspired clay / neumorphism tokens, tuned to cream + coffee */
  --clay: #ebe0d0;
  --clay-2: #e3d7c5;
  --ink: #221710;
  --ink-muted: #6b5344;
  --ink-faint: #857264;
  --shadow-light: #fbf7f0;
  --shadow-dark: #c2b5a3;
  --bg-gradient: linear-gradient(to right, #f7f0e6 0%, #e4d8c6 100%);
  --raise: -6px -6px 14px var(--shadow-light), 8px 8px 18px var(--shadow-dark);
  --raise-sm: -3px -3px 8px var(--shadow-light), 4px 4px 10px var(--shadow-dark);
  --raise-lg: -8px -8px 18px var(--shadow-light), 12px 12px 24px var(--shadow-dark);
  --inset: inset -4px -4px 9px var(--shadow-light), inset 5px 5px 11px var(--shadow-dark);

  --accent: var(--navy);
  --accent-soft: var(--baby-blue);
  --nm-label-ink: var(--coffee-soft);
  --nm-cta-bg: var(--navy);
  --nm-cta-fg: var(--cream-light);

  --max: 1120px;
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-display: "Clash Grotesk", "Space Grotesk", system-ui, sans-serif;
  --font-num: "Clash Grotesk", "Outfit", "Space Grotesk", sans-serif;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("../assets/fonts/clash-grotesk/ClashGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("../assets/fonts/clash-grotesk/ClashGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("../assets/fonts/clash-grotesk/ClashGrotesk-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("../assets/fonts/clash-grotesk/ClashGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--clay);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--bg-gradient);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--coffee-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Raised / inset surfaces */
.nm-raise {
  background: var(--clay);
  box-shadow: var(--raise);
}

.nm-raise-sm {
  background: var(--clay);
  box-shadow: var(--raise-sm);
}

.nm-raise-lg {
  background: var(--clay);
  box-shadow: var(--raise-lg);
}

.nm-inset {
  background: var(--clay);
  box-shadow: var(--inset);
}

.nm-label {
  font-family: var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nm-label-ink);
  font-size: 0.72rem;
  font-weight: 600;
}

.nm-live {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--baby-blue);
  box-shadow: 0 0 0 4px rgba(168, 213, 229, 0.25);
}

/* Header — full-width deep brown bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  padding: 0;
  background: linear-gradient(180deg, #1a0e08 0%, #2a160c 55%, #241209 100%);
  border-bottom: 1px solid rgba(232, 213, 183, 0.08);
  box-shadow: 0 10px 28px rgba(20, 10, 4, 0.28);
}

.nav-wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand,
.brand-logo,
.brand-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream-light);
  text-decoration: none;
}

.brand-logo {
  justify-self: start;
  grid-column: 1;
}

.brand-meta {
  justify-self: end;
  gap: 0.55rem;
  grid-column: 3;
}

.brand:hover,
.brand-logo:hover,
.brand-meta:hover {
  color: var(--cream);
}

.brand:hover .brand-text strong,
.brand-meta:hover .brand-text strong {
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  min-width: 0;
}

.brand-text strong {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-light);
  line-height: 1.05;
}

.nav-toggle {
  display: none;
  justify-self: end;
  grid-column: 3;
  background: rgba(245, 230, 211, 0.08);
  border: 1px solid rgba(245, 230, 211, 0.18);
  color: var(--cream-light);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  box-shadow: none;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  justify-self: center;
  grid-column: 2;
}

.site-nav a {
  color: rgba(245, 230, 211, 0.72);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background 0.18s ease;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cream-light);
  background: rgba(245, 230, 211, 0.1);
  box-shadow: none;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 0.35rem 0 0.5rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nm-label-ink);
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  margin-top: 1rem;
  max-width: 14ch;
}

.hero p {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 38rem;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--nm-cta-bg);
  color: var(--nm-cta-fg);
  box-shadow: -4px -4px 10px var(--shadow-light), 5px 5px 12px var(--shadow-dark);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: var(--baby-blue-soft);
}

.btn-secondary,
.btn-navy {
  background: var(--clay);
  color: var(--ink);
  box-shadow: var(--raise-sm);
  border: 1px solid rgba(34, 23, 16, 0.08);
}

.btn-secondary:hover,
.btn-navy:hover {
  color: var(--navy);
}

.hero-media {
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  min-height: 280px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  min-height: 280px;
}

.section {
  margin-bottom: 2.75rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.section-header p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 48rem;
  font-weight: 500;
  line-height: 1.55;
}

.journey-map-sub {
  max-width: none;
  white-space: nowrap;
}

/* Looping affiliation conveyor — logos only, no boxes */
.conveyor-section {
  margin-bottom: 3rem;
}

.conveyor-header {
  margin-bottom: 1.1rem;
}

.conveyor {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.conveyor-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 5.5rem);
  z-index: 2;
  pointer-events: none;
}

.conveyor-fade-left {
  left: 0;
  background: linear-gradient(to right, #ebe0d0 15%, transparent);
}

.conveyor-fade-right {
  right: 0;
  background: linear-gradient(to left, #ebe0d0 15%, transparent);
}

.conveyor-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: conveyor-scroll 26s linear infinite;
  will-change: transform;
}

.conveyor-group {
  display: flex;
  align-items: center;
  gap: 3.75rem;
  list-style: none;
  margin: 0;
  padding: 0 1.875rem;
  min-height: 4rem;
}

.conveyor-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 3.5rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  line-height: 0;
}

.conveyor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.conveyor-link:hover,
.conveyor-link:focus-visible {
  transform: scale(1.06);
  opacity: 0.92;
  outline: none;
}

.conveyor-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(168, 213, 229, 0.55);
}

.conveyor-item img {
  display: block;
  width: auto;
  height: 2.55rem;
  max-width: 100%;
  max-height: 2.55rem;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  vertical-align: middle;
}

/* Wordmarks: same vertical center, optically matched height */
.conveyor-item-wide {
  width: 11.75rem;
}

.conveyor-item-wide img {
  height: 1.85rem;
  max-height: 1.85rem;
}

/* Marks kept slightly smaller but still centered in the same row */
.conveyor-item-spartan img,
.conveyor-item-gonzaga img {
  height: 2.55rem;
  max-height: 2.55rem;
}

.conveyor-item-brandcapsule img {
  transform: translateY(0.28rem);
}

@keyframes conveyor-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card,
.hobby,
.experience-card,
.map-panel,
.resume-panel,
.embed-card {
  background: var(--clay);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--raise);
}

.card h3,
.experience-card h3,
.embed-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.card p,
.hobby p,
.experience-card p,
.embed-card p,
.statement-body p {
  margin: 0;
  color: var(--ink-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1.55;
}

.accent-pill {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--clay);
  box-shadow: var(--inset);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-num);
}

.card-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0;
  background: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-num);
}

.statement {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.statement-aside {
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.statement-aside h2 {
  color: var(--ink);
}

.statement-aside .eyebrow {
  color: var(--nm-label-ink);
}

.statement-aside .stat-num {
  color: var(--navy);
}

.statement-aside p {
  color: var(--ink-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.statement-body {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.statement-body p {
  margin-bottom: 1rem;
  color: var(--ink);
}

.statement-body p:last-child {
  margin-bottom: 0;
}

.statement-page {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2.75rem;
  text-align: left;
}

.statement-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin: 0.2rem 0 1.35rem;
  white-space: nowrap;
  text-align: left;
}

.statement-prose {
  display: grid;
  gap: 1.05rem;
  text-align: left;
  margin: 0;
  max-width: none;
}

.statement-prose p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
}

.statement-download {
  margin-top: 2.5rem;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
}

.statement-preview-link {
  display: block;
  width: min(100%, 22rem);
  text-decoration: none;
  color: inherit;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--cream);
  box-shadow:
    8px 8px 18px rgba(61, 40, 23, 0.14),
    -6px -6px 14px rgba(255, 252, 245, 0.9);
  border: 1px solid rgba(61, 40, 23, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.statement-preview-link:hover,
.statement-preview-link:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    10px 12px 22px rgba(61, 40, 23, 0.16),
    -6px -6px 14px rgba(255, 252, 245, 0.95);
  outline: none;
}

.statement-preview-link img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.statement-preview-caption {
  margin: 0;
  padding: 0.75rem 1rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(245, 230, 211, 0.55);
  border-top: 1px solid rgba(61, 40, 23, 0.06);
}

@media (max-width: 720px) {
  .statement-page {
    padding-top: 1.75rem;
  }

  .statement-title {
    white-space: normal;
  }

  .statement-preview-link {
    width: min(100%, 18rem);
  }
}

.media-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.media-strip figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--clay);
  box-shadow: var(--raise);
}

.media-strip img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.media-strip figcaption {
  padding: 0.85rem 1rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hobbies-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) 1.25fr;
  gap: 2rem;
  align-items: center;
}

.hobby-stack {
  position: relative;
  width: min(100%, 20rem);
  aspect-ratio: 4 / 5;
  margin: 1.1rem auto 3.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.hobby-stack-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0.7rem 0.7rem 1.7rem;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 23, 16, 0.18), 0 2px 6px rgba(34, 23, 16, 0.08);
  transition: transform 0.4s ease, opacity 0.35s ease, filter 0.35s ease;
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  filter: brightness(0.96);
}

.hobby-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 1px;
}

.hobby-stack-card.is-active {
  opacity: 1;
  transform: translate(0, 0) rotate(-3.5deg);
  z-index: 3;
  pointer-events: auto;
  filter: brightness(1);
}

.hobby-stack-card.is-next {
  opacity: 1;
  transform: translate(0.95rem, 0.55rem) rotate(5deg);
  z-index: 2;
  filter: brightness(0.94);
}

.hobby-stack-card.is-back {
  opacity: 1;
  transform: translate(-0.85rem, 0.75rem) rotate(-8deg);
  z-index: 1;
  filter: brightness(0.9);
}

.hobby-stack-hint {
  position: absolute;
  left: 50%;
  top: calc(100% + 1.55rem);
  bottom: auto;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  pointer-events: none;
  z-index: 4;
}

.hobby-copy {
  display: grid;
  gap: 1rem;
}

.hobby-copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  max-width: 40rem;
}

.hobby-copy em {
  font-style: italic;
  color: var(--ink);
}

.hobby {
  border-top: 0;
  position: relative;
  overflow: hidden;
}

.hobby::before {
  content: "";
  display: block;
  width: 2.2rem;
  height: 3px;
  border-radius: 999px;
  background: var(--baby-blue);
  margin-bottom: 0.9rem;
}

.hobby strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.page-hero {
  margin-bottom: 2rem;
  padding: 0.35rem 0 0.5rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 42rem;
  color: var(--ink-muted);
  margin-bottom: 0;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.journey-layout {
  align-items: start;
}

#journey-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 360px;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--raise);
  background: var(--tan);
  border: 0;
}

#journey-map .leaflet-container,
#journey-map .leaflet-pane,
#journey-map .leaflet-top,
#journey-map .leaflet-bottom,
#journey-map .leaflet-control {
  z-index: auto;
}

#journey-map .leaflet-tile-pane {
  z-index: 1;
}

#journey-map .leaflet-overlay-pane {
  z-index: 2;
}

#journey-map .leaflet-marker-pane,
#journey-map .leaflet-tooltip-pane {
  z-index: 3;
}

#journey-map .leaflet-popup-pane {
  z-index: 4;
}

#journey-map .leaflet-control-container {
  z-index: 5;
}

.journey-stops {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.2rem;
  height: auto;
  min-height: 0;
  padding: 0;
}

.journey-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  flex: 0 0 auto;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.85rem 0.4rem 1rem;
  border: 0;
  border-radius: 0 14px 14px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

.journey-stop::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5px;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--baby-blue);
  transition: background 0.2s ease, height 0.2s ease;
}

.journey-stop:hover,
.journey-stop:focus-visible {
  background: color-mix(in srgb, var(--baby-blue) 12%, transparent);
  outline: none;
  transform: translateX(2px);
}

.journey-stop:hover::before,
.journey-stop:focus-visible::before {
  background: var(--navy-soft);
  height: 2.15rem;
}

.journey-stop.is-active {
  background: color-mix(in srgb, var(--baby-blue) 22%, transparent);
  outline: none;
}

.journey-stop.is-active::before {
  background: var(--navy);
  height: 2.35rem;
}

.journey-stop strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 0.88rem;
}

.journey-stop span {
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.timeline {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--baby-blue);
  padding-bottom: 0.25rem;
}

.timeline strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}

.timeline span {
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.resume-panel {
  text-align: center;
}

.resume-experience-grid {
  margin-bottom: 4.5rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.experience-card {
  min-width: 0;
  height: 100%;
}

.experience-card h3 {
  line-height: 1.25;
}

.resume-download {
  margin-top: 0.5rem;
  justify-items: center;
}

.resume-download-layout {
  align-items: center;
}

.resume-preview {
  margin: 1rem 0 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: var(--inset);
  min-height: 280px;
}

.resume-preview iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.experience-card .meta {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  font-family: var(--font-num);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.gallery-intro {
  text-align: center;
  display: grid;
  justify-items: center;
  padding: 2.75rem 0 0.5rem;
  margin-bottom: 2rem;
}

.gallery-intro h1 {
  max-width: none;
  margin: 0.2rem auto 0.75rem;
}

.gallery-intro p {
  margin-left: auto;
  margin-right: auto;
  max-width: min(52rem, 92vw);
  white-space: normal;
  line-height: 1.55;
}

.resume-intro p {
  max-width: none;
  text-align: center;
}

@media (max-width: 720px) {
  .gallery-intro {
    padding-top: 1.75rem;
  }
}

.gallery-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.tweets-gallery-wall {
  --tweet-scale: 0.84;
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: auto;
  height: 980px;
  min-height: 980px;
  margin: 0.15rem auto 0.25rem;
  overflow: visible;
}

.section:has(.tweets-gallery-wall) {
  overflow: visible;
  margin-bottom: 1.1rem;
}

.tweets-gallery-wall .twitter-embed-wrap {
  position: absolute;
  width: 280px;
  margin: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  max-height: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, z-index 0s;
  box-shadow: 0 10px 18px rgba(34, 23, 16, 0.14);
  transform: rotate(var(--tilt, 0deg)) scale(var(--tweet-scale));
  transform-origin: center center;
  /* Avoid filter: it clips Twitter iframes in Chromium */
  filter: none;
}

.tweets-gallery-wall .tweet-featured {
  left: 50%;
  top: 46%;
  width: 320px;
  z-index: 20;
  --tilt: 0deg;
  --tweet-scale: 1;
  translate: -50% -50%;
  box-shadow: 0 18px 28px rgba(34, 23, 16, 0.2);
}

.tweets-gallery-wall .tweet-wall-1 {
  left: 54%;
  top: 0%;
  translate: -50% 0;
  z-index: 8;
  --tilt: -1.8deg;
}

.tweets-gallery-wall .tweet-wall-2 {
  left: 68%;
  top: 3%;
  z-index: 7;
  --tilt: 2.2deg;
}

.tweets-gallery-wall .tweet-wall-3 {
  left: 76%;
  top: 25%;
  z-index: 9;
  --tilt: 1.4deg;
}

.tweets-gallery-wall .tweet-wall-4 {
  left: 74%;
  top: 47%;
  z-index: 8;
  --tilt: -1.6deg;
}

.tweets-gallery-wall .tweet-wall-5 {
  left: 61%;
  top: 63%;
  z-index: 7;
  --tilt: 2deg;
}

.tweets-gallery-wall .tweet-wall-6 {
  left: 50%;
  top: 67%;
  translate: -50% 0;
  z-index: 8;
  --tilt: -1.3deg;
}

.tweets-gallery-wall .tweet-wall-7 {
  left: 10%;
  top: 58%;
  z-index: 7;
  --tilt: 1.7deg;
}

.tweets-gallery-wall .tweet-wall-8 {
  left: 1%;
  top: 37%;
  z-index: 9;
  --tilt: -2deg;
}

.tweets-gallery-wall .tweet-wall-9 {
  left: 2%;
  top: 17%;
  z-index: 8;
  --tilt: 1.5deg;
}

.tweets-gallery-wall .tweet-wall-10 {
  left: 13%;
  top: 2.5%;
  z-index: 7;
  --tilt: -2.1deg;
}

.tweets-gallery-wall .twitter-embed-wrap:hover {
  --tweet-scale: 0.92;
  --tilt: 0deg;
  z-index: 30;
  box-shadow: 0 18px 26px rgba(34, 23, 16, 0.22);
}

.tweets-gallery-wall .tweet-featured:hover {
  --tweet-scale: 1.02;
  box-shadow: 0 22px 32px rgba(34, 23, 16, 0.24);
}

.twitter-embed-wrap {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.twitter-tweet {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow: visible !important;
  max-height: none !important;
}

.tweets-gallery-wall .twitter-tweet iframe,
.tweets-gallery-wall iframe.twitter-tweet-rendered {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
}

.tweets-gallery-wall .tweet-featured .twitter-tweet iframe,
.tweets-gallery-wall .tweet-featured iframe.twitter-tweet-rendered {
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
}

@media (max-width: 980px) {
  .tweets-gallery-wall {
    --tweet-scale: 0.76;
    height: 900px;
    min-height: 900px;
  }
}

@media (max-width: 820px) {
  .tweets-gallery-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0.65rem;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
  }

  .tweets-gallery-wall .twitter-embed-wrap,
  .tweets-gallery-wall .tweet-featured {
    position: static;
    translate: none;
    width: min(100%, 320px);
    --tilt: 0deg;
    --tweet-scale: 1;
    transform: none;
    z-index: auto;
    box-shadow: none;
  }

  .tweets-gallery-wall .tweet-featured {
    flex: 1 1 100%;
    width: min(100%, 320px);
    order: -1;
    margin-inline: auto;
  }

  .tweets-gallery-wall .twitter-tweet iframe,
  .tweets-gallery-wall iframe.twitter-tweet-rendered,
  .tweets-gallery-wall .tweet-featured .twitter-tweet iframe,
  .tweets-gallery-wall .tweet-featured iframe.twitter-tweet-rendered {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .tweets-gallery-wall .twitter-embed-wrap:hover,
  .tweets-gallery-wall .tweet-featured:hover {
    --tweet-scale: 1;
    transform: translateY(-3px);
  }
}

@media (max-width: 560px) {
  .tweets-gallery-wall .twitter-embed-wrap,
  .tweets-gallery-wall .tweet-featured {
    width: 100%;
  }
}

.gallery-grid-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-articles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.media-article {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.media-article-link {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.media-article-link:hover,
.media-article-link:focus-visible {
  transform: translateY(-3px);
  background: transparent;
  box-shadow: none;
  outline: none;
}

.media-article-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(15, 28, 46, 0.22);
  box-shadow: 0 10px 22px rgba(34, 23, 16, 0.12);
}

.media-article-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 0.15rem 0.25rem;
}

.gallery-thumb-grid {
  /* tighter spacing to mimic the original media gallery thumbnails */
  gap: 1rem;
}

.media-thumb-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
  padding: 1.05rem 1.05rem;
  border-radius: 24px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(245, 230, 211, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.media-thumb-link:hover,
.media-thumb-link:focus-visible {
  transform: translateY(-3px);
  background: rgba(245, 230, 211, 0.06);
  box-shadow: inset 0 0 0 1px rgba(168, 213, 229, 0.22);
  outline: none;
}

.media-thumb-img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(15, 28, 46, 0.22);
}

.media-thumb-title {
  min-width: 0;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--ink);
}

.embed-card-copy {
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.embed-card-copy .embed-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.gallery-tabs button {
  border: 0;
  background: var(--clay);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--raise-sm);
}

.gallery-tabs button.active,
.gallery-tabs button:hover {
  color: var(--cream);
  background: var(--navy);
  box-shadow: -4px -4px 10px var(--shadow-light), 5px 5px 12px var(--shadow-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.embed-card {
  overflow: hidden;
  padding: 0;
}

.embed-card .embed-meta {
  padding: 0.95rem 1.05rem 1.15rem;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: var(--navy);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.footer-social-icons {
  margin-top: 0.55rem;
  justify-content: flex-end;
}

.footer-inner > div:last-child {
  text-align: right;
}

.footer-social-icons .social-icon {
  width: 2rem;
  height: 2rem;
}

.footer-social-icons .social-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.15s ease, background 0.18s ease;
}

.social-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
  display: block;
}

.social-icon:hover {
  color: var(--coffee-soft);
  background: rgba(59, 36, 20, 0.08);
  transform: translateY(-1px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--clay);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--raise-sm);
}

.chip:hover {
  background: var(--navy);
  color: var(--baby-blue);
}

.site-footer {
  margin-top: 2rem;
  padding: 0 1.25rem 2rem;
  background: transparent;
  border: 0;
  color: var(--ink);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-top: 1px solid rgba(34, 23, 16, 0.18);
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
}

.site-footer strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leaflet-popup-content-wrapper {
  background: var(--cream-light);
  color: var(--ink);
  border-radius: 14px;
  border: 0;
  box-shadow: var(--raise-sm);
}

.leaflet-popup-tip {
  background: var(--cream-light);
}

.hidden {
  display: none !important;
}

.coming-soon {
  min-height: min(58vh, 34rem);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 3.5rem 1rem 4rem;
}

.coming-soon h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
}

.coming-soon p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

.stat-num {
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .brand-meta {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    flex-direction: column;
    justify-self: stretch;
    grid-column: 1 / -1;
    background: #1f1109;
    border-radius: 0;
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding: 0.65rem max(1.1rem, calc(50vw - (var(--max) / 2))) 0.9rem;
    box-shadow: 0 16px 28px rgba(20, 10, 4, 0.35);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero,
  .statement,
  .split,
  .media-strip,
  .experience-grid,
  .hobby-grid,
  .hobbies-layout,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .media-strip img {
    height: 220px;
  }

  .hobby-stack {
    margin-bottom: 3.25rem;
  }

  .hobby-grid,
  .card-grid,
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid,
  .gallery-grid-featured,
  .gallery-grid-links {
    grid-template-columns: 1fr;
  }

  .gallery-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-text {
    gap: 0.2rem 0.65rem;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }

  .site-header {
    position: sticky;
  }

  .hobby-grid,
  .card-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: start;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .conveyor-group {
    gap: 2.75rem;
    padding: 0 1.375rem;
    min-height: 3.5rem;
  }

  .conveyor-item {
    width: 5.5rem;
    height: 3rem;
  }

  .conveyor-item img {
    height: 2.15rem;
    max-height: 2.15rem;
  }

  .conveyor-item-wide {
    width: 9.5rem;
  }

  .conveyor-item-wide img {
    height: 1.55rem;
    max-height: 1.55rem;
  }

  .conveyor-item-spartan img,
  .conveyor-item-gonzaga img {
    height: 2.15rem;
    max-height: 2.15rem;
  }

  .conveyor-item-brandcapsule img {
    transform: translateY(0.22rem);
  }

  .conveyor-track {
    animation-duration: 24s;
  }

  .gallery-grid,
  .gallery-grid-featured,
  .gallery-grid-links {
    grid-template-columns: 1fr;
  }

  .gallery-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tweets-gallery-wall .twitter-embed-wrap,
  .tweets-gallery-wall .twitter-embed-wrap:hover,
  .tweets-gallery-wall .tweet-featured:hover {
    --tilt: 0deg;
    transition: none;
  }

  .tweets-gallery-wall .twitter-embed-wrap:not(.tweet-featured) {
    --tweet-scale: 0.84;
  }

  .tweets-gallery-wall .tweet-featured,
  .tweets-gallery-wall .tweet-featured:hover {
    --tweet-scale: 1;
  }

  .conveyor-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 0.85rem;
    padding: 0 0.85rem;
  }

  .conveyor-group[aria-hidden="true"] {
    display: none;
  }

  .conveyor-group {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .conveyor-fade {
    display: none;
  }
}
