:root {
  --bg: #f6f0e7;
  --bg-deep: #efe5d6;
  --card: rgba(255, 252, 247, 0.88);
  --card-strong: rgba(255, 249, 241, 0.96);
  --line: rgba(71, 67, 57, 0.12);
  --ink: #22302f;
  --ink-soft: #5c6b68;
  --forest: #294541;
  --forest-2: #365953;
  --clay: #b96f48;
  --gold: #d7b677;
  --shadow: 0 22px 56px rgba(82, 67, 46, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 182, 119, 0.13), transparent 26%),
    radial-gradient(circle at right 18%, rgba(185, 111, 72, 0.11), transparent 30%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 52%, var(--bg-deep) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1));
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  width: 260px;
  height: 260px;
  left: -40px;
  top: 80px;
  background: rgba(185, 111, 72, 0.13);
}

.glow-b {
  width: 320px;
  height: 320px;
  right: -90px;
  top: 320px;
  background: rgba(41, 69, 65, 0.14);
}

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  z-index: 30;
  background: linear-gradient(90deg, var(--clay), var(--gold));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 22px;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 240, 231, 0.88), rgba(246, 240, 231, 0));
  opacity: 0;
  transition: opacity 180ms ease;
}

.site-header.scrolled::before {
  opacity: 1;
}

.shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(71, 67, 57, 0.1);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(86, 68, 43, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--forest), #385853);
  color: #fff7ee;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 28px rgba(41, 69, 65, 0.18);
}

.brand-text {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(41, 69, 65, 0.08);
  color: var(--forest);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(71, 67, 57, 0.12);
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.96);
  color: var(--forest);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 28px rgba(86, 68, 43, 0.12);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(34, 31, 24, 0.28);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.content-layer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 34px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 28px;
  align-items: stretch;
}

.hero-side-stack {
  display: grid;
  gap: 18px;
}

.hero-copy,
.hero-panel,
.hero-support-card,
.strength-card,
.skill-band,
.role-card,
.closing-card {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.86), rgba(255, 248, 240, 0.8));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero-copy {
  padding: 38px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 182, 119, 0.12), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(41, 69, 65, 0.08);
  color: var(--forest);
  font-weight: 800;
  font-size: 0.77rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.closing-card h2 {
  margin: 18px 0 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  max-width: 11ch;
}

.hero h1 span {
  display: block;
  color: var(--forest);
}

.hero-summary {
  margin: 24px 0 0;
  max-width: 63ch;
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: #fff9ef;
  box-shadow: 0 18px 30px rgba(41, 69, 65, 0.18);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  border: 1px solid rgba(41, 69, 65, 0.14);
}

.contact-ribbon {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-ribbon a,
.contact-ribbon span {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(41, 69, 65, 0.08);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  color: var(--ink-soft);
}

.hero-panel {
  border-radius: 34px;
  padding: 18px;
}

.hero-support-card {
  border-radius: 30px;
  padding: 24px 24px 22px;
}

.panel-shell {
  height: 100%;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(215, 182, 119, 0.16), transparent 30%),
    linear-gradient(160deg, #213b38 0%, #294541 48%, #33534e 100%);
  color: #fbf7ef;
  position: relative;
  overflow: hidden;
}

.panel-topline {
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dcebe4;
}

.panel-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel-stat {
  min-height: 128px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.panel-stat:hover,
.panel-stat:focus-within {
  transform: translateY(-4px) scale(1.015);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 30px rgba(7, 25, 25, 0.18);
}

.panel-stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.95;
}

.panel-stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: rgba(251, 247, 239, 0.84);
}

.panel-note {
  margin: 16px 0 0;
  color: rgba(251, 247, 239, 0.86);
  font-size: 0.97rem;
  line-height: 1.7;
}

.support-topline {
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.support-copy {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.support-list span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(41, 69, 65, 0.06);
  border: 1px solid rgba(41, 69, 65, 0.12);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.support-list span:hover,
.support-list span:focus-visible {
  transform: translateY(-4px) scale(1.015);
  background: rgba(41, 69, 65, 0.11);
  border-color: rgba(41, 69, 65, 0.18);
  box-shadow: 0 18px 30px rgba(41, 69, 65, 0.1);
  color: var(--forest);
}

.section {
  padding: 42px 0;
}

.section-soft {
  padding-bottom: 70px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.section-head p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.74;
}

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

.strength-card {
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  will-change: transform;
}

.strength-card::after,
.role-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -44% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 111, 72, 0.12), transparent 70%);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.strength-card:hover,
.strength-card:focus-within,
.role-card:hover,
.role-card:focus-within,
.skill-band:hover,
.skill-band:focus-within,
.closing-card:hover,
.closing-card:focus-within {
  transform: translateY(-8px) scale(1.016);
  border-color: rgba(41, 69, 65, 0.18);
  box-shadow:
    0 28px 54px rgba(82, 67, 46, 0.16),
    0 10px 22px rgba(41, 69, 65, 0.08);
}

.strength-card:hover::after,
.strength-card:focus-within::after,
.role-card:hover::after,
.role-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.card-kicker,
.band-label {
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.strength-card h3 {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.05rem;
  line-height: 1.03;
}

.strength-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.skill-band {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 28px;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.skill-cloud span,
.role-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(41, 69, 65, 0.06);
  border: 1px solid rgba(41, 69, 65, 0.12);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
  will-change: transform;
}

.skill-cloud span:hover,
.skill-cloud span:focus-visible {
  transform: translateY(-4px) scale(1.015);
  background: rgba(41, 69, 65, 0.11);
  border-color: rgba(41, 69, 65, 0.18);
  box-shadow: 0 18px 30px rgba(41, 69, 65, 0.1);
  color: var(--forest);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(41, 69, 65, 0.42), rgba(185, 111, 72, 0.3));
}

.role-card {
  position: relative;
  margin-left: 54px;
  border-radius: 30px;
  padding: 24px 24px 22px;
  overflow: hidden;
  transform: translateY(0) scale(1);
  will-change: transform;
}

.role-card::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--clay));
  box-shadow: 0 0 0 7px rgba(41, 69, 65, 0.08);
}

.role-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.role-date {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(41, 69, 65, 0.08);
  color: var(--forest);
  font-weight: 800;
  font-size: 0.88rem;
}

.role-track {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.role-chip {
  padding: 8px 12px;
  font-size: 0.86rem;
  background: rgba(185, 111, 72, 0.08);
  border-color: rgba(185, 111, 72, 0.14);
  color: var(--clay);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.role-card h3 {
  margin: 14px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  line-height: 0.98;
}

.role-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.role-card li + li {
  margin-top: 8px;
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
}

.closing-card {
  border-radius: 30px;
  padding: 28px;
}

.credential-list,
.contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.credential-item,
.contact-stack a,
.contact-stack span {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(41, 69, 65, 0.12);
}

.credential-item strong {
  display: block;
  font-size: 1rem;
}

.credential-item span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.contact-stack a,
.contact-stack span {
  font-weight: 700;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 140ms;
}

.delay-3 {
  transition-delay: 200ms;
}

.delay-4 {
  transition-delay: 260ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-panel,
  .hero-support-card,
  .strength-card,
  .skill-band,
  .role-card,
  .closing-card,
  .panel-stat,
  .skill-cloud span,
  .role-chip,
  .reveal {
    transition: none;
  }

  .strength-card:hover,
  .strength-card:focus-within,
  .role-card:hover,
  .role-card:focus-within,
  .skill-band:hover,
  .skill-band:focus-within,
  .closing-card:hover,
  .closing-card:focus-within,
  .skill-cloud span:hover,
  .skill-cloud span:focus-visible {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .closing-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
  }

  main {
    padding-top: 126px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid rgba(71, 67, 57, 0.1);
    box-shadow: 0 22px 42px rgba(86, 68, 43, 0.16);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(41, 69, 65, 0.05);
    border: 1px solid rgba(41, 69, 65, 0.08);
    font-size: 1.12rem;
    font-weight: 700;
  }

  body.menu-open .content-layer {
    filter: blur(4px) saturate(0.9);
    transform: scale(0.995);
    transition: filter 180ms ease, transform 180ms ease;
  }

  .content-layer {
    transition: filter 180ms ease, transform 180ms ease;
  }

  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero {
    padding-top: 22px;
  }

  .hero-copy,
  .hero-panel,
  .hero-support-card,
  .strength-card,
  .skill-band,
  .role-card,
  .closing-card {
    padding: 24px;
  }

  .panel-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 12px;
  }

  .role-card {
    margin-left: 30px;
  }

  .role-card::before {
    left: -24px;
  }

  .role-card h3 {
    font-size: 1.85rem;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.45rem;
  }

  .brand-text {
    font-size: 1.25rem;
  }

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

  .hero-summary,
  .section-head p {
    font-size: 0.97rem;
  }
}
