:root {
  --ink: #111111;
  --muted: #6f665f;
  --paper: #fbfaf7;
  --cream: #efe5d8;
  --copper: #b96a42;
  --rose: #9e5366;
  --plum: #3f2639;
  --line: rgba(17, 17, 17, 0.14);
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand . nav"
    ". socials .";
  align-items: center;
  row-gap: 8px;
  column-gap: 18px;
  min-height: 84px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav {
  grid-area: nav;
  position: relative;
  justify-self: end;
}

.menu-toggle {
  display: inline-grid;
  gap: 5px;
  place-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(17, 17, 17, 0.42);
  transform: translateY(-1px);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-links {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 170px;
  padding: 10px;
  background: rgba(251, 250, 247, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(16px);
}

.nav[data-open="true"] .nav-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  padding: 12px 14px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--cream);
}

.socials {
  grid-area: socials;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-self: center;
  gap: 12px;
}

.site-header .socials a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.site-header .socials a:hover {
  border-color: var(--line);
  transform: translateY(-1px);
}

.site-header .socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-header .socials svg path:not([d="M10.5 9.5 15 12l-4.5 2.5z"]) {
  fill: none;
}

.site-header .socials svg path[d="M10.5 9.5 15 12l-4.5 2.5z"] {
  fill: currentColor;
  stroke: none;
}

.site-footer .socials a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.site-footer .socials a:hover {
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.site-footer .socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-footer .socials svg path[d="M10.5 9.5 15 12l-4.5 2.5z"] {
  fill: currentColor;
  stroke: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111111;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.76), rgba(17, 17, 17, 0.22) 58%, rgba(17, 17, 17, 0.64)),
    url("assets/IMG_7740.jpg");
  background-position: center 28%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(1120px, 100%);
  padding: clamp(36px, 7vw, 96px);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c5a1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1060px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.4vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roles {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 760px;
}

.roles span {
  flex: 0 0 auto;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.email-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: inherit;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 800;
  text-decoration: none;
}

.email-icon {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
}

.email-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-email {
  color: #ffffff;
}

.hero-email .email-icon {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.bio-email {
  color: var(--ink);
}

.bio-email .email-icon {
  background: var(--cream);
  border: 1px solid var(--line);
}

.email-contact:hover .email-icon {
  transform: translateY(-1px);
}

section {
  padding: clamp(64px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.section-copy {
  max-width: 760px;
}

.section-copy p {
  color: #35302b;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.portrait {
  width: 100%;
  min-height: 520px;
  max-height: 820px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.bio-section {
  display: block;
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.bio-section .section-copy {
  max-width: 980px;
  margin: 0 auto;
}

.bio-carousel {
  position: relative;
  width: min(100vw, 1280px);
  margin: 0 0 30px 50%;
  transform: translateX(-50%);
}

.carousel-track {
  display: flex;
  gap: 0;
  width: 100%;
  height: clamp(430px, 68vh, 700px);
  overflow-x: auto;
  overflow-y: hidden;
  padding-inline: clamp(54px, 19vw, 260px);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(54px, 19vw, 260px);
  scrollbar-width: none;
  background: #eee9f1;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img {
  flex: 0 0 clamp(300px, 58vw, 730px);
  width: clamp(300px, 58vw, 730px);
  height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(255, 255, 255, 0.72);
}

.carousel-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(28px, 8vw, 96px);
  pointer-events: none;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: clamp(58px, 7vw, 92px);
  height: clamp(58px, 7vw, 92px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.carousel-button svg {
  width: clamp(28px, 3.6vw, 42px);
  height: clamp(28px, 3.6vw, 42px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.work-section {
  background: var(--ink);
  color: #ffffff;
}

.work-section .eyebrow {
  color: #e5a076;
}

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

.work-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: #ffffff;
  background: #222222;
  text-decoration: none;
}

.work-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 536px;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.work-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.work-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding-top: 70px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.resume-block {
  display: grid;
  justify-items: center;
  margin-top: 28px;
  text-align: center;
}

.resume-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 22px 10px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #171313 0%, #2c1f22 58%, #3f2639 100%);
  border: 1px solid rgba(229, 160, 118, 0.62);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.resume-card:hover {
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(229, 160, 118, 0.32);
  transform: translateY(-2px);
}

.resume-card span:last-child {
  position: relative;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: #e5a076;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.resume-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.training-section {
  background: #ffffff;
}

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

.training-grid article {
  min-height: 310px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

ul {
  margin: 0;
  padding-left: 18px;
}

li + li {
  margin-top: 10px;
}

.awards-section {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  background: var(--cream);
}

.award-list {
  margin-bottom: 28px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  color: #ffffff;
  background: var(--plum);
  border: 1px solid var(--plum);
  border-radius: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.secondary {
  color: var(--plum);
  background: transparent;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #ffffff;
}

.site-footer .socials {
  justify-self: center;
}

@media (max-width: 980px) {
  .site-header {
    column-gap: 12px;
  }

  .site-header > .socials {
    justify-self: center;
  }

  .split-section,
  .awards-section {
    grid-template-columns: 1fr;
  }

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

  .work-card.featured {
    grid-column: span 2;
    min-height: 360px;
  }

  .portrait {
    min-height: 420px;
  }
}

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

  .site-header > .socials {
    justify-self: center;
  }

  .hero {
    min-height: 740px;
  }

  .hero-content {
    padding: 32px 18px;
  }

  h1 {
    font-size: clamp(1.65rem, 7vw, 2.3rem);
    line-height: 1;
  }

  .bio-carousel {
    width: calc(100vw - 36px);
  }

  .carousel-track {
    height: clamp(360px, 62vh, 560px);
    padding-inline: 36px;
    scroll-padding-inline: 36px;
  }

  .carousel-track img {
    flex-basis: min(72vw, 360px);
    width: min(72vw, 360px);
  }

  .carousel-controls {
    padding-inline: 16px;
  }

  .work-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.featured {
    grid-column: auto;
    min-height: 260px;
  }

}
