:root {
  --bg: #f3f3f1;
  --bg-soft: #e9e9e6;
  --paper: #ffffff;
  --ink: #101010;
  --ink-soft: #2b2b2b;
  --muted: #686865;
  --line: rgba(16, 16, 16, 0.1);
  --accent: #353535;
  --accent-dark: #101010;
  --accent-soft: rgba(16, 16, 16, 0.055);
  --accent-line: rgba(16, 16, 16, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
  --radius: 28px;
  --header-height: 98px;
  --max: 1200px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.82), transparent 31rem);
}

h1,
h2,
h3,
a,
li,
dt,
dd,
time,
.eyebrow,
.section-kicker,
.nav-panel,
.header-link,
.hero-lead,
.profile-facts dt,
.service-list span,
.timeline time,
.resume-list time,
.clean-list,
.video-meta,
.text-link {
  color: var(--ink) !important;
}

p {
  color: var(--muted) !important;
}

h1,
h2 {
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

h3 {
  letter-spacing: -0.025em;
}

.intro-loader {
  background: var(--bg);
}

.site-header {
  inset: 14px clamp(12px, 2vw, 28px) auto;
  width: auto;
  height: 68px;
  grid-template-columns: auto 1fr auto;
  padding: 0 clamp(14px, 2.5vw, 30px);
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.055);
  backdrop-filter: blur(22px) saturate(130%);
}

.site-header::before {
  display: none;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.91);
  border-color: rgba(16, 16, 16, 0.1);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.08);
}

.brand-mark,
.footer-logo {
  color: #000000;
}

.brand-mark {
  width: 70px;
  height: 52px;
}

.footer-logo {
  width: 70px;
  height: 52px;
}

.nav-panel {
  gap: clamp(0.55rem, 1.45vw, 1.25rem);
  color: var(--ink) !important;
  font-size: 0.66rem;
  letter-spacing: 0.035em;
}

.nav-panel a,
.header-link {
  padding: 0.55rem 0;
}

.nav-panel a::after,
.header-link::after {
  bottom: 0.35rem;
  height: 1px;
  background: var(--ink);
}

.header-link {
  color: var(--ink) !important;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.section {
  width: min(var(--max), calc(100% - clamp(1.5rem, 6vw, 6rem)));
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.hero {
  width: min(1260px, calc(100% - clamp(1.5rem, 5vw, 5rem)));
  min-height: max(760px, 100svh);
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.8fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: calc(var(--header-height) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(5.5rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 700px;
}

.hero .eyebrow {
  margin-bottom: 1.4rem;
  font-size: 0.7rem;
  line-height: 1.4;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 1.8rem;
  height: 1px;
  background: var(--ink);
}

#hero-title {
  max-width: 760px;
  margin-bottom: 1.4rem;
  color: var(--ink) !important;
  font-size: clamp(4rem, 7.3vw, 7.2rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

#hero-title .hero-prefix,
#hero-title .hero-name {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit !important;
  font: inherit;
  text-transform: none;
}

#hero-title .hero-prefix::before {
  display: none;
}

#hero-title .hero-prefix::after,
#hero-title .hero-name:not(:last-child)::after {
  content: " ";
}

.hero-lead {
  max-width: 590px;
  color: #434340 !important;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
}

.hero-actions,
.contact-actions {
  gap: 0.65rem;
  margin-top: 2.2rem;
}

.button {
  min-height: 50px;
  padding: 0.88rem 1.35rem;
  border: 0;
  border-radius: 999px;
  color: var(--ink) !important;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button-primary {
  color: #ffffff !important;
  background: var(--ink);
  box-shadow: none;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #ffffff !important;
  background: #303030;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.36);
}

.hero-media {
  position: relative;
  min-height: clamp(500px, 68svh, 670px);
  align-self: center;
  justify-items: center;
  align-items: end;
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 46px);
  background: linear-gradient(150deg, #e5e5e2, #fafafa 68%);
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.05);
}

.hero-media::before {
  inset: 9% 9% auto auto;
  width: 7.5rem;
  height: 7.5rem;
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 50%;
  transform: none;
  opacity: 1;
}

.hero-media img {
  z-index: 2;
  width: min(112%, 40rem);
  max-height: min(72svh, 690px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.055) drop-shadow(0 28px 45px rgba(0, 0, 0, 0.14));
  transform: translateY(2.5%);
}

.hero:hover .hero-media img {
  transform: translateY(1.5%);
  filter: grayscale(1) contrast(1.07) drop-shadow(0 32px 52px rgba(0, 0, 0, 0.17));
}

.brush-accent {
  right: -12%;
  bottom: 14%;
  width: 74%;
  height: 30%;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.045);
  transform: rotate(-12deg);
  filter: blur(1px);
}

.hero-rail {
  display: none;
}

.hero-social {
  bottom: 2rem;
  gap: 1.2rem;
  color: var(--ink);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 1.5rem;
  color: var(--ink) !important;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 980px;
  margin-bottom: clamp(2.4rem, 5vw, 4.5rem);
}

.section-heading p {
  max-width: 720px;
  font-size: 1.02rem;
}

.profile-layout {
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.profile-media::before {
  inset: auto -1rem -1rem 20%;
  height: 72%;
  border: 0;
  border-radius: 34px;
  background: #dededb;
}

.profile-media picture {
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  box-shadow: none;
  background: var(--paper);
}

.profile-media img {
  object-position: center center;
  filter: grayscale(1) contrast(1.04);
}

.profile-copy p {
  font-size: 1rem;
}

.profile-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 2.4rem;
  border: 0;
}

.profile-facts div,
.profile-facts div + div {
  min-height: 108px;
  padding: 1.15rem;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.profile-facts dt {
  color: var(--muted) !important;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.profile-facts dd {
  color: var(--ink) !important;
}

.service-list,
.timeline,
.resume-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border: 0;
}

.service-list article,
.timeline article,
.resume-list article {
  position: relative;
  display: block;
  min-height: 230px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.045);
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.service-list article:hover,
.timeline article:hover,
.resume-list article:hover {
  z-index: 1;
  transform: translateY(-5px);
  background: var(--paper);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.075);
}

.service-list article:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 200px;
}

.service-list span,
.timeline time,
.resume-list time {
  display: block;
  margin-bottom: clamp(2.4rem, 5vw, 4.5rem);
  color: var(--muted) !important;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-list h3,
.timeline h3,
.resume-list h3 {
  max-width: 28rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.service-list p,
.timeline p,
.resume-list p {
  max-width: 42rem;
}

.work-grid,
.education-grid,
.insight-strip {
  gap: 1rem;
  background: transparent;
  border: 0;
}

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

.work-grid article,
.education-grid article,
.insight-strip article {
  min-height: 260px;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(16, 16, 16, 0.045);
}

.work-grid article:hover,
.education-grid article:hover,
.insight-strip article:hover {
  background: var(--paper);
}

.work-grid article:nth-child(2),
.work-grid article:nth-child(5) {
  color: #ffffff;
  background: var(--ink);
  box-shadow: none;
}

.work-grid article:nth-child(2) h3,
.work-grid article:nth-child(2) p,
.work-grid article:nth-child(5) h3,
.work-grid article:nth-child(5) p {
  color: #ffffff !important;
}

.work-grid article:nth-child(2) p,
.work-grid article:nth-child(5) p {
  opacity: 0.67;
}

.resume-layout {
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
}

.resume-aside {
  top: calc(var(--header-height) + 0.5rem);
  padding: 1.6rem;
  border: 0;
  border-radius: 24px;
  background: var(--ink);
}

.resume-aside h3,
.resume-aside li,
.resume-aside a {
  color: #ffffff !important;
}

.resume-aside li {
  opacity: 0.66;
}

.resume-list article {
  min-height: 250px;
}

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

.education-grid article {
  min-height: 210px;
}

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

.insight-strip article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-strip h3 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.salsa {
  padding-top: 2rem;
}

.salsa-layout {
  grid-template-columns: minmax(0, 0.68fr) minmax(290px, 0.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 0;
  border-radius: 34px;
  background: var(--paper);
}

.salsa-copy {
  max-width: 660px;
}

.video-block {
  gap: 0.75rem;
}

.video-reserve {
  min-height: 250px;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #e5e5e2;
}

.video-reserve::before {
  inset: 0.8rem;
  border-color: rgba(16, 16, 16, 0.09);
  border-radius: 18px;
}

.video-reserve::after {
  width: 62px;
  height: 62px;
  border: 0;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.video-reserve span {
  border-left-color: var(--ink);
}

.contact {
  padding-top: 3rem;
}

.contact-panel {
  padding: clamp(2.4rem, 7vw, 5.5rem);
  border: 0;
  border-radius: 40px;
  background: var(--ink);
  box-shadow: none;
}

.contact-panel h2,
.contact-panel p,
.contact-panel .section-kicker,
.contact-panel .text-link {
  color: #ffffff !important;
}

.contact-panel p {
  opacity: 0.65;
}

.contact-panel .button-primary {
  color: var(--ink) !important;
  background: #ffffff;
}

.contact-panel .button-secondary {
  color: #ffffff !important;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.site-footer {
  padding: 2.4rem 0 3.5rem;
  border-top-color: var(--line);
  color: var(--muted);
}

.site-footer p {
  color: var(--muted) !important;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-panel {
    inset: 78px 12px auto;
    padding: 1.1rem;
    border: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
  }

  .hero,
  .profile-layout,
  .resume-layout,
  .contact-panel,
  .salsa-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2.8rem);
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-media {
    min-height: 620px;
  }

  .hero-media img {
    width: min(100%, 35rem);
    max-height: 640px;
  }

  .hero-social {
    position: static;
  }

  .profile-layout {
    gap: 4rem;
  }

  .profile-media {
    width: min(100%, 32rem);
  }

  .resume-aside {
    position: static;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 86px;
  }

  .site-header {
    inset: 10px 8px auto;
    height: 62px;
    padding-inline: 12px;
  }

  .brand-mark {
    width: 62px;
    height: 46px;
  }

  .footer-logo {
    width: 62px;
    height: 46px;
  }

  .nav-panel {
    inset: 70px 8px auto;
  }

  .section {
    width: min(100% - 1.25rem, var(--max));
    padding: 5rem 0;
  }

  .hero {
    width: min(100% - 1.25rem, var(--max));
    gap: 2rem;
    padding-top: calc(var(--header-height) + 1.7rem);
    padding-bottom: 3.5rem;
  }

  #hero-title {
    font-size: clamp(3.6rem, 18vw, 5rem);
    line-height: 0.86;
    white-space: normal;
  }

  .hero-media {
    min-height: 500px;
    border-radius: 28px;
  }

  .hero-media img {
    width: min(112%, 31rem);
    max-height: 530px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  h2 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .profile-facts,
  .service-list,
  .timeline,
  .resume-list,
  .work-grid,
  .education-grid,
  .insight-strip {
    grid-template-columns: 1fr;
  }

  .service-list article:nth-child(5) {
    grid-column: auto;
  }

  .service-list article,
  .timeline article,
  .resume-list article,
  .work-grid article,
  .education-grid article,
  .insight-strip article {
    min-height: 220px;
  }

  .service-list span,
  .timeline time,
  .resume-list time {
    margin-bottom: 2.8rem;
  }

  .salsa-layout,
  .contact-panel {
    padding: 1.4rem;
    border-radius: 28px;
  }

  .video-reserve {
    min-height: 190px;
  }

  .site-footer {
    width: min(100% - 1.25rem, var(--max));
  }
}
