:root {
  --accent: #a94064;
  --accent-soft: rgba(169, 64, 100, 0.24);
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --dim: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --night: #f24550;
  --night-2: #ef3340;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f24550;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.18), transparent 26rem),
    linear-gradient(145deg, #f24550 0%, #ef3340 46%, #d92d3d 100%);
}

.section-effect {
  position: relative;
}

.section-effect::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}

.section-effect:hover::before {
  opacity: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--dim);
  border-radius: 8px;
  background: rgba(18, 9, 17, 0.76);
  box-shadow: 0 20px 70px rgba(169, 64, 100, 0.18);
  backdrop-filter: blur(16px);
}

.section-effect-nav::before {
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(169, 64, 100, 0.5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 6px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.66fr);
  gap: 34px;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 78px 0 52px;
  align-items: center;
}

.section-effect-hero::before {
  background: radial-gradient(circle at 70% 30%, rgba(169, 64, 100, 0.22), transparent 26rem);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.92;
}

.hero-lede,
.about-copy p,
.section-heading p,
.category-content span,
.portfolio-panel-head h3,
.portfolio-video-toggle small {
  color: var(--muted);
}

.hero-lede {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-action {
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 18px 36px rgba(169, 64, 100, 0.34);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid var(--dim);
  background: rgba(255, 255, 255, 0.06);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.hero-panel {
  display: grid;
  gap: 24px;
  align-content: center;
  justify-items: center;
  min-height: 430px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 9, 17, 0.3), rgba(18, 9, 17, 0.92)),
    url("../images/background.jpg") center/cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.hero-logo {
  width: min(230px, 62vw);
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: contain;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--dim), 0 26px 60px rgba(0, 0, 0, 0.28);
}

.availability {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(169, 64, 100, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
}

.hero-panel h2,
.about-copy h2,
.section-heading h2,
.contact-band h2,
.portfolio-panel-head h3,
.category-content strong,
.portfolio-video-toggle strong {
  color: var(--ink);
}

.hero-panel h2 {
  margin: 0;
  font-size: 1.35rem;
}

.about-section,
.category-section,
.portfolio-section,
.contact-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: 32px;
  padding: 58px 0;
  align-items: center;
}

.section-effect-about::before {
  border-top: 1px solid rgba(169, 64, 100, 0.36);
  border-bottom: 1px solid rgba(169, 64, 100, 0.36);
}

.about-image {
  min-height: 320px;
  border: 1px solid var(--dim);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.about-section:hover .about-image {
  transform: scale(1.02);
  filter: saturate(1.12);
}

.about-copy h2,
.section-heading h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.about-copy p {
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.category-section {
  padding: 36px 0 20px;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: 32px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
  align-items: center;
}

.intro-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.intro-band > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.skills-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 0;
}

.skills-strip span {
  position: relative;
  display: grid;
  min-height: 220px;
  align-content: end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--dim);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(18, 9, 17, 0.18), rgba(18, 9, 17, 0.96)),
    url("../images/background.jpg") center/cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.skills-strip span:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(18, 9, 17, 0.18), rgba(18, 9, 17, 0.96)),
    url("../images/images.jpg") center/cover;
}

.skills-strip span:hover,
.skills-strip span.is-active {
  transform: translateY(-6px);
  border-color: rgba(169, 64, 100, 0.8);
  box-shadow: 0 26px 64px rgba(169, 64, 100, 0.24);
}

.section-effect-categories::before {
  background: linear-gradient(90deg, transparent, rgba(169, 64, 100, 0.16), transparent);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  font-size: 1.05rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 270px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--dim);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.16), transparent 60%);
  opacity: 0;
  transform: translateX(-40%);
  transition:
    opacity 220ms ease,
    transform 420ms ease;
}

.category-card:hover,
.category-card.is-active {
  transform: translateY(-6px);
  border-color: rgba(169, 64, 100, 0.8);
  box-shadow: 0 26px 64px rgba(169, 64, 100, 0.24);
}

.category-card:hover::after,
.category-card.is-active::after {
  opacity: 1;
  transform: translateX(35%);
}

.category-image {
  min-height: 164px;
  background-position: center;
  background-size: cover;
}

.category-content {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(18, 9, 17, 0.84), rgba(18, 9, 17, 0.96));
}

.category-content strong {
  font-size: 1.12rem;
}

.category-content span {
  font-size: 0.92rem;
}

.portfolio-section {
  padding: 82px 0;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.video-stage {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(169, 64, 100, 0.44);
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.video-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-list {
  display: grid;
  gap: 14px;
}

.video-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  min-height: 150px;
  padding: 10px;
  border: 1px solid var(--dim);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.video-card:hover,
.video-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(169, 64, 100, 0.8);
  box-shadow: 0 22px 44px rgba(169, 64, 100, 0.18);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  min-height: 130px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(18, 9, 17, 0.68));
}

.play-mark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.video-info {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-info strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.video-eyebrow {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-effect-portfolio::before {
  background: radial-gradient(circle at 20% 10%, rgba(169, 64, 100, 0.2), transparent 30rem);
}

.portfolio-panel {
  display: none;
  padding: 28px;
  border: 1px solid var(--dim);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.portfolio-panel.is-active {
  display: block;
  animation: panelReveal 260ms ease both;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-panel-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.portfolio-panel-head h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  line-height: 1.1;
}

.year-groups {
  display: grid;
  gap: 22px;
}

.year-group {
  display: grid;
  gap: 14px;
}

.year-group h4 {
  width: fit-content;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.95rem;
}

.year-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-video-card {
  overflow: hidden;
  border: 1px solid var(--dim);
  border-radius: 8px;
  background: rgba(18, 9, 17, 0.74);
}

.portfolio-video-toggle {
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 132px;
  padding: 18px;
  border: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(169, 64, 100, 0.2), transparent),
    transparent;
  cursor: pointer;
  text-align: left;
}

.portfolio-video-toggle span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(169, 64, 100, 0.7);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-video-toggle strong {
  font-size: 1.12rem;
}

.portfolio-video-card:hover .portfolio-video-toggle,
.portfolio-video-card.is-open .portfolio-video-toggle {
  background:
    linear-gradient(135deg, rgba(169, 64, 100, 0.42), rgba(255, 255, 255, 0.05)),
    transparent;
}

.portfolio-video-embed {
  aspect-ratio: 16 / 9;
  border-top: 1px solid var(--dim);
  background: #000000;
}

.portfolio-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  padding: 38px;
  border: 1px solid rgba(169, 64, 100, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(169, 64, 100, 0.88), rgba(18, 9, 17, 0.94)),
    url("../images/background.jpg") center/cover;
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.06), 0 24px 70px rgba(0, 0, 0, 0.26);
}

.section-effect-contact::before {
  border-radius: 8px;
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.16);
}

.contact-band .primary-action {
  flex: 0 0 auto;
  color: var(--ink);
  background: rgba(18, 9, 17, 0.7);
  box-shadow: none;
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .about-section,
  .category-section,
  .portfolio-section,
  .contact-band {
    width: min(100% - 24px, 760px);
  }

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

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .category-grid,
  .skills-strip,
  .portfolio-layout,
  .year-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 0.94rem;
  }

  .nav-links a {
    padding: 8px 6px;
    font-size: 0.84rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 17vw, 4rem);
  }

  .hero-panel,
  .portfolio-panel,
  .contact-band {
    padding: 22px;
  }

  .category-grid,
  .skills-strip,
  .portfolio-layout,
  .video-card,
  .year-videos {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 240px;
  }

  .skills-strip span {
    min-height: 180px;
  }

  .video-thumb {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
}

/* Step 2 redesign: centered logo header, editorial hero, year-first portfolio flow. */
.site-header {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 0;
  place-items: center;
  padding: 14px 0;
}

.header-logo {
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.18), transparent 48%),
    var(--accent);
  box-shadow:
    0 0 0 10px rgba(169, 64, 100, 0.1),
    0 22px 60px rgba(169, 64, 100, 0.28);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.header-logo:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 0 14px rgba(169, 64, 100, 0.13),
    0 28px 74px rgba(169, 64, 100, 0.36);
}

.header-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.hero {
  grid-template-columns: 1fr;
  width: min(1040px, calc(100% - 32px));
  min-height: auto;
  padding: 72px 0 86px;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.role-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(960px, 100%);
  margin-bottom: 34px;
}

.role-showcase span {
  position: relative;
  display: inline-grid;
  min-height: 78px;
  place-items: center;
  overflow: hidden;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: #6b163f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 42px rgba(107, 22, 63, 0.24);
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 950;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.role-showcase span:nth-child(2) {
  background: #7f264f;
}

.role-showcase span:nth-child(3) {
  background: #4c1236;
}

.role-showcase span::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.role-showcase span:hover {
  transform: translateY(-5px) rotate(-1deg);
  background: #ffffff;
  color: #a94064;
  box-shadow: 0 22px 58px rgba(255, 255, 255, 0.22);
}

.role-showcase span:hover::before {
  opacity: 1;
  transform: scale(1);
}

.hero h1 {
  max-width: 940px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 8.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.86;
  color: #ffe8ef;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.28),
    0 12px 42px rgba(107, 22, 63, 0.36);
}

.hero h1::after {
  content: "";
  display: block;
  width: min(220px, 42vw);
  height: 5px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.44);
}

.hero-lede {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.7;
}

.hero-panel,
.hero-logo,
.availability {
  display: none;
}

.about-section {
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 78px 0;
}

.about-copy {
  max-width: 900px;
}

.about-copy h2 {
  max-width: 860px;
}

.about-copy p {
  max-width: 820px;
  line-height: 1.75;
}

.about-image {
  display: none;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-pillars article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(169, 64, 100, 0.24), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.2);
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.about-pillars article:hover {
  transform: translateY(-5px);
  border-color: rgba(169, 64, 100, 0.76);
}

.about-pillars span {
  display: inline-grid;
  width: 44px;
  aspect-ratio: 1;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 950;
}

.about-pillars h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.26rem;
}

.about-pillars p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-section .section-heading h2,
.portfolio-section .section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.portfolio-panel {
  max-width: 1120px;
}

.portfolio-panel-head {
  margin-bottom: 26px;
}

.year-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.year-group {
  align-content: start;
}

.year-toggle {
  display: flex;
  width: 100%;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(169, 64, 100, 0.4), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.year-toggle:hover,
.year-group.is-open .year-toggle {
  transform: translateY(-3px);
  border-color: rgba(169, 64, 100, 0.78);
  background:
    linear-gradient(135deg, rgba(169, 64, 100, 0.66), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.year-toggle span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.year-toggle small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.year-group h4 {
  display: none;
}

.year-videos {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.portfolio-video-embed[hidden],
.year-videos[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .role-showcase,
  .about-pillars,
  .year-groups {
    grid-template-columns: 1fr;
  }

  .role-showcase span {
    min-height: 76px;
  }
}

/* Step 3 header: reference-style full-width red bar with centered logo. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 0 clamp(16px, 3vw, 54px);
  background: #ef3340;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
}

.section-effect-nav::before {
  display: none;
}

.header-nav,
.header-socials {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-nav {
  justify-self: start;
  gap: 20px;
  margin-left: clamp(0px, 18vw, 430px);
}

.header-socials {
  justify-self: end;
  gap: 12px;
  margin-right: clamp(0px, 18vw, 430px);
}

.header-nav a,
.header-socials a,
.courses-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: #ffffff;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.courses-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.courses-note {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 4;
  width: max-content;
  max-width: 160px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ef3340;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.courses-link:hover .courses-note,
.courses-link:focus-visible .courses-note {
  opacity: 1;
  transform: translate(-50%, 0);
}

.header-nav a:hover,
.header-socials a:hover,
.courses-link:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.menu-caret {
  width: 0;
  height: 0;
  border-top: 5px solid #ffffff;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.header-socials a {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
}

.header-socials svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: #ffffff;
}

.header-logo {
  position: static;
  justify-self: center;
  display: grid;
  width: 88px;
  height: 62px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.header-logo:hover {
  box-shadow: none;
  transform: scale(1.04);
}

.header-logo img {
  width: 74px;
  height: 54px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 1180px) {
  .header-nav,
  .header-socials {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "logo nav socials";
    gap: 12px;
    min-height: 82px;
    padding: 10px 14px;
  }

  .header-logo {
    grid-area: logo;
    justify-self: start;
    width: 66px;
    height: 52px;
  }

  .header-logo img {
    width: 58px;
    height: 46px;
  }

  .header-nav,
  .header-socials {
    justify-self: stretch;
  }

  .header-nav {
    grid-area: nav;
    justify-content: center;
    gap: 12px;
  }

  .header-socials {
    grid-area: socials;
    justify-content: end;
    gap: 6px;
  }

  .header-nav a,
  .courses-link {
    font-size: 0.74rem;
  }

  .header-socials a {
    width: 24px;
    height: 24px;
  }

  .header-socials svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav"
      "socials";
    min-height: 138px;
  }

  .header-logo,
  .header-nav,
  .header-socials {
    justify-self: center;
  }

  .header-socials {
    justify-content: center;
  }

  .courses-note {
    top: auto;
    bottom: calc(100% + 8px);
  }
}
