:root {
  --bg: #f6f2ea;
  --bg-soft: #f1ebe1;
  --surface: #f3ede4;
  --surface-strong: #ece5da;
  --card: #fbf9f5;
  --text: #191715;
  --muted: #6b645b;
  --muted-soft: #b8aea2;
  --line: rgba(34, 29, 23, 0.12);
  --line-strong: rgba(34, 29, 23, 0.18);
  --accent: #ff7e63;
  --font-display: "Very Vogue Serif", "Very Vogue", Didot, "Bodoni Moda", "Iowan Old Style", "Times New Roman", serif;
  --shadow: 0 24px 48px rgba(23, 17, 10, 0.05);
  --radius-panel: 34px;
  --radius-card: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Skip link — visible only when focused via keyboard */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.92rem;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 40%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 38%, #f4efe7 100%);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-shell {
  width: min(1020px, calc(100vw - 40px));
  margin: 24px auto 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 240, 231, 0.98) 100%);
  box-shadow: 0 4px 10px rgba(23, 17, 10, 0.06);
}

.brand-mark::before {
  display: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(100%) contrast(1.04);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 0.98rem;
}

.main-nav a {
  padding: 10px 0;
  color: rgba(25, 23, 21, 0.7);
}

.main-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom: 2px solid var(--text);
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #49433d;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.98rem;
}

.top-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86b95f;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

main > * {
  min-width: 0;
}

main > .section {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}

.section {
  position: relative;
  padding: 4px 0;
}

.stage {
  padding-top: 72px;
}

.wave-lines::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  width: clamp(180px, 24vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 18px, rgba(103, 93, 82, 0.08) 18px 19px);
  opacity: 0.7;
  pointer-events: none;
}

.wave-lines {
  overflow: hidden;
}

.wave-left::before {
  left: -14px;
  right: auto;
}

.profile-stage {
  display: grid;
  gap: 36px;
}

.profile-title {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.micro-label,
.section-kicker,
.label,
.cv-meta {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.83rem;
}

.micro-label,
.section-kicker,
.label {
  color: var(--muted-soft);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10.4vw, 6.65rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 400;
}

.profile-grid-hero {
  align-items: center;
}

.hero-support,
.hero-side-note {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-side-note {
  gap: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.35fr) minmax(0, 0.88fr);
  gap: 28px;
  align-items: start;
}

.fact-list,
.metric-list {
  display: grid;
  gap: 0;
}

.fact-item,
.metric-item {
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}

.fact-item:first-child,
.metric-item:first-child {
  border-top: 1px solid transparent;
}

.fact-value,
.body,
.support,
.detail,
.quote-meta {
  color: #60594f;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-fact-list {
  gap: 0;
}

.hero-fact-list .fact-item {
  padding: 10px 0 14px;
}

.hero-quote {
  color: #322b24;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.portrait-stage {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.portrait-link {
  display: block;
  width: min(100%, 430px);
  color: inherit;
  text-decoration: none;
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 0.72;
  padding: 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 48px rgba(23, 17, 10, 0.06);
}

.portrait-shell {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f0e7 0%, #ece3d5 100%);
  box-shadow: inset 0 0 0 1px rgba(70, 58, 43, 0.07);
}

.portrait-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(100%) contrast(1.04);
}

.line-strip {
  width: min(100%, 260px);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #5d554c;
  font-size: 0.96rem;
}

.hero-logo-band {
  width: min(100%, 760px);
  margin: 2px auto 0;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 35px;
  align-items: center;
}

.hero-logo-mark {
  display: block;
  width: auto;
  max-width: 132px;
  max-height: 45px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) sepia(0.12) saturate(0.28) brightness(0.96) contrast(0.5);
  opacity: 0.42;
  mix-blend-mode: multiply;
}

.hero-section-divider {
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.metric-item {
  text-align: right;
}

.metric-item strong {
  display: block;
  margin: 6px 0 2px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 400;
}

.metric-item:last-child,
.fact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tray {
  padding: 22px 24px 24px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 237, 227, 0.75) 0%, rgba(240, 234, 224, 0.95) 100%);
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head > div {
  display: grid;
  gap: 8px;
}

.section-title,
.orb-title,
.quote-copy {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 126, 99, 0.35);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.98rem;
}

.button::after {
  content: "↗";
  font-size: 0.96rem;
}

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

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.detail {
  font-size: 0.95rem;
}

.proof-strip {
  display: grid;
  gap: 22px;
}

.proof-intro {
  display: grid;
  gap: 8px;
}

.proof-statement {
  color: #3f3932;
  font-size: 1.02rem;
  line-height: 1.55;
}

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

.proof-card {
  display: grid;
  gap: 10px;
  padding: 18px 16px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.proof-card strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 400;
}

.intro-section {
  padding-top: 10px;
}

.intro-copy {
  max-width: 860px;
  display: grid;
  gap: 16px;
}

.closing-line {
  color: #4f473f;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contrast-section {
  padding-top: 10px;
}

.contrast-section-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(38px, 5vw, 58px) 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(160deg, #23201d 0%, #191614 100%);
}

.contrast-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 30px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(160deg, #23201d 0%, #191614 100%);
  box-shadow: 0 34px 70px rgba(21, 15, 10, 0.18);
}

.contrast-shell-wide {
  width: min(1020px, calc(100vw - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contrast-shell::before {
  content: "";
  position: absolute;
  inset: auto auto -46px -28px;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 16px, rgba(255, 255, 255, 0.05) 16px 17px);
  opacity: 0.7;
}

.contrast-copy {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
}

.contrast-summary {
  display: grid;
  gap: 14px;
  max-width: 58ch;
}

.contrast-shell .section-kicker,
.contrast-shell .label {
  color: rgba(247, 239, 228, 0.58);
}

.contrast-shell .section-title {
  color: #f5efe4;
}

.contrast-shell .support {
  color: rgba(245, 239, 228, 0.72);
}

.capability-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid-compact {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.capability-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  min-height: 150px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.capability-card .body {
  color: rgba(245, 239, 228, 0.76);
}

.capability-card-compact {
  min-height: 0;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: start;
  gap: 12px;
  padding: 8px 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.capability-card-compact h3 {
  color: #f5efe4;
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.28;
  font-family: var(--font-body);
  font-weight: 500;
  max-width: 12ch;
  margin: 0 auto;
}

.capability-list-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: rgba(245, 239, 228, 0.92);
  background: transparent;
  border: 0;
}

.capability-mark svg {
  width: 46px;
  height: 46px;
}

.capability-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  gap: 14px;
  align-content: start;
}

.capability-stat {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.capability-stat strong {
  color: #f5efe4;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.process-section {
  display: grid;
  gap: 0;
  padding-bottom: clamp(26px, 4vw, 42px);
}

.process-section .section-head {
  margin-bottom: 0;
}

.process-section .section-body-intro {
  margin-top: clamp(18px, 3.2vw, 30px);
  margin-bottom: 0;
  max-width: 900px;
}

.process-section .section-head {
  margin-bottom: 10px;
}

#research-process {
  padding-top: 8px;
}

.process-tray {
  margin-top: 0;
  padding: 10px 18px 14px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(26px, 4vw, 42px);
}

.process-card {
  display: grid;
  gap: 12px;
  padding: 18px 18px 20px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.process-flow-copy {
  display: block;
  margin: clamp(28px, 4vw, 44px) auto;
  max-width: 900px;
  text-align: center;
}

.process-flow-head {
  display: grid;
  justify-content: stretch;
  justify-items: center;
  margin-top: clamp(20px, 3vw, 30px);
  margin-bottom: clamp(20px, 3vw, 28px);
  text-align: center;
  width: 100%;
}

.process-flow-head > div {
  justify-items: center;
  width: 100%;
}

.process-flow-head .scene-break,
.process-flow-head .section-kicker,
.process-flow-head .process-flow-copy {
  justify-self: center;
  margin-right: auto;
  margin-left: auto;
}

.process-flow-copy + .process-grid {
  margin-top: 0;
}

.showcase-section {
  display: grid;
  gap: 20px;
}

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

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

.showcase-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  align-content: start;
}

.showcase-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-grid-projects .showcase-card-featured,
.showcase-grid-projects .showcase-card-gated {
  grid-column: span 2;
  grid-row: auto;
}

.showcase-card-wide {
  grid-column: span 2;
}

.showcase-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(241, 236, 229, 0.78)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(34, 29, 23, 0.04));
}

.showcase-media::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(34, 29, 23, 0.08);
}

.showcase-media::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 18px;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: rgba(34, 29, 23, 0.08);
}

.showcase-media-featured {
  min-height: 420px;
}

.showcase-media-featured::after {
  width: 128px;
  height: 128px;
}

.showcase-media-tall {
  min-height: 320px;
}

.showcase-media-wide {
  min-height: 250px;
}

.showcase-media-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    linear-gradient(160deg, #1f1a18 0%, #151210 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.showcase-media-dark::before {
  border-color: rgba(255, 255, 255, 0.08);
}

.showcase-media-dark::after {
  background: rgba(255, 255, 255, 0.12);
}

.showcase-copy {
  display: grid;
  gap: 10px;
}

.project-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #7a7268;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-tldr {
  color: #3f3932;
  font-size: 1rem;
  line-height: 1.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: #5b544b;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 238, 227, 0.78);
}

.showcase-copy h3,
.recognition-card h3,
.contact-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.18rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.showcase-card-dark .showcase-copy {
  padding: 16px 18px 18px;
  border-radius: 24px;
  background: #1c1714;
}

.showcase-card-dark .label,
.showcase-card-dark h3,
.showcase-card-dark .project-meta-line {
  color: #f5eee3;
}

.showcase-card-dark .body,
.showcase-card-dark .detail,
.showcase-card-dark .project-tldr {
  color: rgba(245, 238, 227, 0.82);
}

.showcase-card-dark .accent-link {
  color: #ff9a81;
}

.text-link {
  font-size: 0.98rem;
}

.section-body-intro {
  max-width: 760px;
  margin-top: 12px;
}

.process-flow-copy.section-body-intro {
  margin: clamp(42px, 5vw, 60px) auto;
  max-width: 760px;
  text-align: center;
}

.contact-section-simple {
  padding-top: 10px;
}

.contact-panel {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 280px;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 237, 227, 0.75) 0%, rgba(240, 234, 224, 0.95) 100%);
  box-shadow: var(--shadow);
  align-content: center;
}

.contact-microcopy {
  color: #4f473f;
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-hero {
  position: relative;
  padding: 0;
  margin-top: clamp(32px, 5vw, 64px);
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}

.contact-hero-inner {
  position: relative;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px);
  background: linear-gradient(160deg, #1f1a18 0%, #151210 100%);
  color: #f5eee3;
  border-radius: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0 0;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.contact-hero .section-kicker,
.contact-hero .micro-label {
  color: rgba(245, 238, 227, 0.58);
}

.contact-hero .section-title,
.contact-hero h2 {
  color: #f5eee3;
  max-width: 26ch;
}

.contact-hero .body,
.contact-hero .support,
.contact-hero p {
  color: rgba(245, 238, 227, 0.84);
}

.contact-hero .contact-microcopy {
  color: rgba(245, 238, 227, 0.62);
}

.contact-hero .button-row {
  margin-top: 8px;
}

.contact-hero .button-accent {
  background: #ff9a81;
  color: #1a1310;
  border-color: transparent;
}

.contact-hero .button-secondary {
  background: transparent;
  color: #f5eee3;
  border: 1px solid rgba(245, 238, 227, 0.34);
}

.contact-hero .button-secondary:hover {
  background: rgba(245, 238, 227, 0.08);
}

.contact-hero + .footer-bar,
.contact-hero + footer.footer-bar,
main:has(> .contact-hero:last-child) + .footer-bar,
main:has(.contact-hero:last-child) + .footer-bar {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.scene-break {
  justify-self: center;
  width: min(248px, 44vw);
  height: 24px;
  margin: clamp(32px, 6vw, 96px) auto 0;
  background-color: var(--line);
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='0' y1='12' x2='88' y2='12'/%3E%3Cline x1='152' y1='12' x2='240' y2='12'/%3E%3Ccircle cx='38' cy='12' r='2.15' fill='%23000' stroke='none'/%3E%3Ccircle cx='202' cy='12' r='2.15' fill='%23000' stroke='none'/%3E%3Cpath d='M120 5 127 12 120 19 113 12Z' fill='%23000' stroke='none'/%3E%3Cpath d='M132 7 137 12 132 17 127 12Z'/%3E%3Cpath d='M108 7 113 12 108 17 103 12Z'/%3E%3C/g%3E%3C/svg%3E")
      center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='0' y1='12' x2='88' y2='12'/%3E%3Cline x1='152' y1='12' x2='240' y2='12'/%3E%3Ccircle cx='38' cy='12' r='2.15' fill='%23000' stroke='none'/%3E%3Ccircle cx='202' cy='12' r='2.15' fill='%23000' stroke='none'/%3E%3Cpath d='M120 5 127 12 120 19 113 12Z' fill='%23000' stroke='none'/%3E%3Cpath d='M132 7 137 12 132 17 127 12Z'/%3E%3Cpath d='M108 7 113 12 108 17 103 12Z'/%3E%3C/g%3E%3C/svg%3E")
      center / contain no-repeat;
}

.cv-section .section-head {
  text-align: center;
}

.cv-section-title {
  text-align: center;
  justify-self: center;
}

.cv-head .section-title {
  margin-top: clamp(48px, 9vw, 128px);
}

.cv-section {
  padding-top: 0;
  padding-bottom: 10px;
}

.cv-head {
  justify-content: center;
  margin-bottom: 30px;
}

.cv-head > div {
  justify-items: center;
  text-align: center;
}

.cv-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px 0 12px;
}

.cv-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(42, 35, 26, 0.04), rgba(42, 35, 26, 0.12), rgba(42, 35, 26, 0.04));
  transform: translateX(-50%);
}

.cv-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 188px;
}

.cv-copy {
  display: grid;
  gap: 10px;
  max-width: 360px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cv-entry-left .cv-copy {
  justify-self: end;
  text-align: right;
}

.cv-entry-right .cv-copy {
  justify-self: start;
  text-align: left;
}

.cv-copy h3,
.project-card h3,
.detail-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.cv-meta {
  color: #8d8274;
  font-size: 0.74rem;
}

.cv-node {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.95), rgba(247, 243, 236, 0.96)),
    linear-gradient(180deg, rgba(247, 242, 233, 0.9), rgba(241, 235, 226, 0.92));
  display: grid;
  place-items: center;
  justify-self: center;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.45);
  z-index: 1;
  overflow: hidden;
}

.cv-node-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
}

.cv-node-logo-wide {
  object-fit: cover;
  object-position: center;
}

.cv-node-muted .cv-node-logo {
  opacity: 0.82;
}

.accent-link {
  color: var(--accent);
  font-size: 0.98rem;
}

.quote-panel {
  padding: 20px 0 8px;
  text-align: center;
}

.quote-panel::before {
  top: 54px;
}

.quote-copy {
  max-width: 980px;
  margin: 10px auto 16px;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-note {
  color: #575046;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dot-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(34, 29, 23, 0.18);
}

.dot.active {
  background: var(--accent);
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100vw - 28px, 760px);
  }

  .site-header {
    flex-wrap: wrap;
    align-items: start;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    gap: 22px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .metric-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    column-gap: 28px;
  }

  .hero-logo-band {
    width: min(100%, 620px);
    gap: 16px 24px;
    padding-top: 16px;
  }

  .hero-logo-mark {
    max-height: 38px;
  }

  .metric-item {
    text-align: left;
    padding: 10px 0 12px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .metric-item:first-child {
    border-top: 1px solid var(--line);
  }

  .tray {
    padding: 20px;
  }

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

  .contrast-shell-wide {
    width: min(100vw - 28px, 760px);
    grid-template-columns: 1fr;
  }

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

  .capability-card-compact {
    gap: 10px;
  }

  .capability-mark {
    width: 78px;
    height: 78px;
  }

  .capability-mark svg {
    width: 40px;
    height: 40px;
  }

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

  .showcase-card-featured,
  .showcase-card-wide {
    grid-column: span 2;
    grid-row: auto;
  }

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

  .button {
    margin-top: 4px;
  }

  .cv-timeline {
    gap: 0;
    padding-top: 10px;
  }

  .cv-timeline::before {
    left: 36px;
    transform: none;
  }

  .cv-entry {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 16px 0 8px;
    align-items: start;
  }

  .cv-entry .cv-spacer {
    display: none;
  }

  .cv-entry .cv-node {
    grid-column: 1;
    grid-row: 1;
  }

  .cv-entry .cv-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .cv-entry-left .cv-copy,
  .cv-entry-right .cv-copy {
    max-width: none;
    justify-self: stretch;
    text-align: left;
  }

  .cv-node {
    width: 72px;
    height: 72px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.45);
  }

  .cv-node-logo {
    width: 100%;
    height: 100%;
  }

  .quote-copy,
  .section-title,
  .orb-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100%, calc(100vw - 24px));
    margin: 8px auto 18px;
  }

  .section.stage,
  .profile-stage,
  .profile-title,
  .profile-grid-hero,
  .hero-support,
  .hero-side-note,
  .portrait-stage,
  .portrait-frame {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-header {
    gap: 14px;
    padding: 0 0 14px;
  }

  .brand-copy strong {
    font-size: 0.85rem;
  }

  .brand-copy span,
  .main-nav {
    font-size: 0.92rem;
  }

  .stage {
    padding-top: 56px;
  }

  main {
    gap: 36px;
  }

  .display,
  .section-title,
  .quote-copy,
  .orb-title {
    font-size: clamp(3rem, 16vw, 4.25rem);
  }

  .profile-title {
    gap: 22px;
    justify-items: stretch;
  }

  .profile-title .micro-label,
  .display {
    width: 100%;
    max-width: 100%;
  }

  .profile-title .micro-label {
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: pretty;
    text-align: center;
  }

  .display {
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: pretty;
    text-align: center;
  }

  .line-strip {
    font-size: 0.88rem;
  }

  .hero-logo-band {
    gap: 14px 18px;
    padding-top: 14px;
  }

  .hero-logo-mark {
    max-width: 108px;
    max-height: 32px;
  }

  .tray,
  .recognition-card,
  .contact-card {
    border-radius: 28px;
  }

  .proof-grid,
  .capability-grid,
  .showcase-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .contrast-section-band {
    padding: 30px 0;
  }

  .contrast-shell-wide {
    width: min(100%, calc(100vw - 24px));
    gap: 20px;
  }

  .capability-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
  }

  .metric-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    column-gap: 18px;
  }

  .capability-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .capability-card-compact {
    gap: 12px;
  }

  .capability-mark {
    width: 68px;
    height: 68px;
  }

  .capability-mark svg {
    width: 34px;
    height: 34px;
  }

  .showcase-media-featured,
  .showcase-media-tall,
  .showcase-media-wide,
  .showcase-media {
    min-height: 250px;
  }

  .showcase-card-featured,
  .showcase-card-wide {
    grid-column: span 1;
  }

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