*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Variables ────────────────────────────────────── */

:root {
  --bg:            #f8f6f2;
  --surface:       #ffffff;
  --border:        #e3ddd6;
  --border-strong: #ccc4ba;
  --text:          #1c1917;
  --text-muted:    #524840;
  --text-subtle:   #6b5f57;
  --navy:          #1a3554;
  --navy-deep:     #0f2237;
  --accent:        var(--navy);
  --accent-dim:    rgba(26, 53, 84, 0.09);
  --accent-strong: rgba(26, 53, 84, 0.28);
  --max-width:     1100px;
  --radius:        10px;
  --font-sans:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ── Progress bar ─────────────────────────────────── */

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ── Nav ──────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  padding: 18px 0;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.25s;
}


nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
}


nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--navy);
  transition: color 0.25s;
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}


/* ── Layout ───────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 88px);
}

/* ── Hero ─────────────────────────────────────────── */

.hero {
  padding: 96px 0 112px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s, border-color 0.25s;
}

.hero-card {
  padding: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 580px) 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero-text {
  min-width: 0;
  max-width: 580px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-bottom: 24px;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards 0.2s;
}

.hero-photo {
  justify-self: center;
  width: clamp(240px, 22vw, 340px);
  height: clamp(240px, 22vw, 340px);
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 28px rgba(28, 25, 23, 0.12);
  opacity: 0;
  transform: scale(0.92);
  animation: photoIn 0.6s ease forwards 0.3s;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  transform: scale(1.2);
}

@keyframes photoIn {
  to { opacity: 1; transform: scale(1); }
}

.hero-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s ease forwards 0.1s;
}

.hero-bio {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s ease forwards 0.4s;
  margin-bottom: 28px;
}

.hero-bio-lead {
  margin-bottom: 14px;
}

.hero-bio-meta {
  font-size: 14.5px;
  color: var(--text-subtle);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s ease forwards 0.55s;
}

/* ── Buttons ──────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--navy);
  color: #ffffff;
  border: 1.5px solid var(--navy);
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 53, 84, 0.28);
}


.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── Sections ─────────────────────────────────────── */

section {
  padding: clamp(56px, 5vw, 80px) 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.25s;
}


section:last-of-type {
  border-bottom: none;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.section-header .section-label {
  margin-bottom: 0;
}

/* ── Scroll reveal ────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Current Role editorial ────────────────────────── */

.work-editorial {
  max-width: 100%;
}

.work-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}


.work-editorial-statement {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 18px;
}

.work-editorial-support {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 680px;
}

.role-focus {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.role-focus-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--accent);
  background: transparent;
}

.role-focus-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.role-focus-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .role-focus {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .role-focus-item {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 16px 0 0 0;
  }
  .role-focus-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ── Mid-breakpoint: stack hero before grid gets cramped ── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: flex-start;
  }

  .hero-photo {
    width: 140px;
    height: 140px;
    justify-self: center;
    order: -1;
  }

  .hero h1 {
    font-size: clamp(40px, 6.5vw, 64px);
  }

  .hero-bio {
    font-size: 16px;
  }
}

/* ── Tablet: 721–1024px ───────────────────────────── */
@media (min-width: 721px) and (max-width: 1024px) {
  .slide-photo {
    width: 200px;
    height: 200px;
  }

  .carousel-slide.active {
    gap: 32px;
  }

  .stat-val {
    font-size: 24px;
  }

  .slide-team {
    font-size: 17px;
  }

  .slide-desc {
    font-size: 13.5px;
  }
}


/* ── Projects ─────────────────────────────────────── */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: 32px;
}

.project-card {
  position: relative;
  padding: clamp(26px, 2.5vw, 36px);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.project-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -28px rgba(26, 53, 84, 0.35);
}

.project-card-top {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.project-card-status {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  line-height: 1;
  width: max-content;
}

.status--live {
  background: var(--navy);
  color: var(--bg);
  border: 1px solid var(--navy);
}

.status--building {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.status--soon {
  background: transparent;
  color: var(--text-subtle);
  border: 1px dashed var(--border-strong);
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}

.project-card-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.project-card-foot {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0;
}

@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }
  .project-card {
    min-height: 0;
    gap: 14px;
  }
  .project-card:last-child {
    grid-column: auto;
  }
  .project-card-desc {
    font-size: 14px;
  }
}

/* ── Hockey carousel ──────────────────────────────── */

#hockey {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s, border-color 0.25s;
}

.hockey-carousel {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.carousel-track {
  min-height: 280px;
}

.carousel-slide {
  display: none;
  padding: 32px 0;
  gap: 40px;
  align-items: flex-start;
}

.carousel-slide.active {
  display: flex;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

.slide-photo {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--accent-dim);
  border: 1.5px solid var(--border);
  transition: border-color 0.25s;
}

.slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Per-slide image adjustments */
.carousel-slide[data-slide="voodoos"] .slide-photo img {
  object-position: center 25%;
}

.carousel-slide[data-slide="littlecaesars"] .slide-photo {
  background: var(--bg);
}

.carousel-slide[data-slide="littlecaesars"] .slide-photo img {
  object-fit: contain;
  object-position: center center;
}

.slide-text {
  flex: 1;
  min-width: 0;
}

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.slide-team {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.slide-team-note {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.slide-league {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.slide-years {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-subtle);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.slide-highlight {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.slide-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slide-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
}

.slide-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: baseline;
}

.slide-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
  line-height: 1;
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: 500;
}

.slide-stats:has(> .slide-stat:only-child) .stat-val {
  font-size: 36px;
}
.slide-stats:has(> .slide-stat:only-child) .stat-lbl {
  font-size: 12px;
}

.slide-stats:has(> .slide-stat:nth-child(3)) {
  gap: 20px;
}
.slide-stats:has(> .slide-stat:nth-child(3)) .stat-val {
  font-size: 22px;
}

/* Minimal carousel nav: chevrons + tabular position counter,
   Watch Highlights link right-aligned. No tick strip, no progress bar. */
.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.carousel-nav-arrows {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
}

.carousel-nav-btn {
  background: transparent;
  border: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
  padding: 2px 10px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}

.carousel-nav-btn:hover {
  opacity: 1;
}

.carousel-nav-prev:hover { transform: translateX(-2px); }
.carousel-nav-next:hover { transform: translateX(2px); }

.carousel-nav-btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  opacity: 1;
}

.carousel-nav-position {
  font-family: var(--font-serif);
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  min-width: 56px;
  text-align: center;
}

.highlights-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.highlights-link svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.highlights-link-text {
  position: relative;
}

.highlights-link-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.36, 1);
}

.highlights-link:hover {
  color: var(--navy-deep);
}

.highlights-link:hover svg {
  transform: translateX(2px);
}

.highlights-link:hover .highlights-link-text::after {
  transform: scaleX(1);
}

/* ── Skills ───────────────────────────────────────── */

.skills-groups {
  display: flex;
  flex-direction: column;
}

.skills-group {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.skills-group:last-child {
  border-bottom: none;
}

.skills-group-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-subtle);
  flex-shrink: 0;
  width: 148px;
  padding-top: 2px;
}

.skills-items {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Contact ──────────────────────────────────────── */

.contact-inner {
  max-width: 520px;
  margin: 0;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--text);
}

.contact-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Keyframes ────────────────────────────────────── */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hamburger ────────────────────────────────────── */

.nav-hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}

.nav-hamburger:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-hamburger .close-icon { display: none; }
.nav-hamburger.open .hamburger-icon { display: none; }
.nav-hamburger.open .close-icon { display: block; }

/* ── Carousel stat stagger ────────────────────────── */

.carousel-slide.active .slide-stat {
  animation: statFadeUp 0.4s ease both;
}

.carousel-slide.active .slide-stat:nth-child(1) { animation-delay: 0.22s; }
.carousel-slide.active .slide-stat:nth-child(2) { animation-delay: 0.32s; }
.carousel-slide.active .slide-stat:nth-child(3) { animation-delay: 0.42s; }

@keyframes statFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  /* Nav */
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: background-color 0.25s;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-right {
    gap: 10px;
  }

  /* Sections */
  section {
    padding: 56px 0;
  }

  /* Hero */
  .hero {
    padding: 32px 0 40px;
  }

  .hero-card {
    padding: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: flex-start;
  }

  .hero-photo {
    width: 128px;
    height: 128px;
    justify-self: center;
    order: -1;
  }

  .hero-bio {
    font-size: 15px;
  }


  /* Current Role editorial */
  .work-editorial-header {
    gap: 8px;
  }

  .work-editorial-statement {
    font-size: clamp(22px, 6vw, 30px);
  }

  /* Carousel */
  .carousel-track {
    min-height: unset;
  }

  .carousel-slide.active {
    flex-direction: column;
    padding: 18px 0 32px;
    gap: 28px;
  }

  /* Square frame matches desktop aspect so crops look the same on mobile. */
  .slide-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .slide-text {
    text-align: left;
  }

  .carousel-slide[data-slide="voodoos"] .slide-photo img {
    object-fit: cover;
    object-position: center 25%;
  }

  /* Firebirds: pull the frame down from top so the goalie isn't pushed up. */
  .carousel-slide[data-slide="firebirds"] .slide-photo img {
    object-position: center 30%;
  }

  /* Little Caesars: mirror desktop — contain to avoid the wide-frame zoom. */
  .carousel-slide[data-slide="littlecaesars"] .slide-photo img {
    object-fit: contain;
    object-position: center;
  }

  .slide-header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }

  .slide-highlight {
    margin-bottom: 14px;
  }

  .slide-desc {
    margin-bottom: 24px;
  }

  .slide-stats {
    gap: 28px;
  }

  .carousel-nav {
    margin-top: 28px;
    padding-top: 22px;
    gap: 14px;
  }

  .carousel-nav-btn {
    font-size: 28px;
    padding: 2px 6px;
  }

  .carousel-nav-position {
    font-size: 13px;
    min-width: 48px;
  }

  /* Skills */
  .skill-tag {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* Contact */
  .contact-inner {
    padding: 0;
  }

  .contact-heading {
    font-size: 34px;
  }

  /* Skills */
  .skills-group {
    flex-direction: column;
    gap: 6px;
  }

  .skills-group-label {
    width: auto;
  }

}
