:root {
  --navy: #15273B;
  --charcoal: #27313A;
  --muted: #68717A;
  --gold: #A47C48;
  --warm-gray: #F1F0EC;
  --rule: #D9D7D2;
  --white: #FFFFFF;
  --hero-copy-width: 860px;
}

* { box-sizing: border-box; }
html { background: var(--warm-gray); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans Display", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--warm-gray);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 27vw) 1fr;
  background: var(--white);
}

.identity-panel {
  background: var(--warm-gray);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 34px;
  border-right: 1px solid rgba(217,215,210,.78);
}
.identity-inner {
  width: min(100%, 390px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-2vh);
}
.portrait {
  width: clamp(158px, 15vw, 212px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 50%;
  display: block;
  filter: saturate(.9) contrast(1.02);
}

.metrics {
  width: 100%;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.metric {
  text-align: center;
  min-height: 105px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.metric-bordered {
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.metric strong {
  color: var(--navy);
  font-size: 29px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
}
.metric span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: .075em;
}
.metric small {
  font: inherit;
  font-size: .92em;
}

.main-panel {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(42px, 6.2vw, 105px);
  overflow: hidden;
  background: var(--white);
}
.content-wrap {
  width: min(1000px, 100%);
  margin: auto 0;
  padding: 72px 0 42px;
  position: relative;
  z-index: 2;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Encode Sans Semi Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 4.05vw, 61px);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 600;
  max-width: var(--hero-copy-width);
}
.positioning {
  margin: 20px 0 0;
  color: var(--charcoal);
  font-size: clamp(9.4px, .78vw, 12.4px);
  font-weight: 600;
  letter-spacing: .045em;
  line-height: 1.55;
  white-space: nowrap;
  max-width: var(--hero-copy-width);
}
.positioning span { color: var(--gold); padding: 0 .28em; }

.section-rule {
  width: min(150px, 18vw);
  height: 3px;
  margin-top: 22px;
  background: var(--gold);
}

.intro {
  margin: 30px 0 0;
  max-width: 800px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.62;
  font-weight: 400;
  color: var(--charcoal);
}

.cv-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(235px, 315px));
  gap: 14px;
  margin-top: 46px;
}
.cv-button {
  min-height: 88px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: 13px;
  padding: 18px 22px;
  text-decoration: none;
  border: 1px solid var(--navy);
  position: relative;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}
.cv-button:hover { transform: translateY(-2px); }
.cv-button.primary { background: var(--navy); color: var(--white); }
.cv-button.primary:hover { background: #1D344D; }
.cv-button.secondary { background: var(--white); color: var(--navy); }
.cv-button.secondary:hover { border-color: var(--gold); }
.flag-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 1;
  background: rgba(255,255,255,.96);
  box-shadow: 0 0 0 1px rgba(255,255,255,.28);
}
.flag-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.button-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.button-label {
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 600;
  opacity: .74;
}
.button-language {
  font-size: 19px;
  line-height: 1.15;
  font-weight: 600;
  margin-top: 5px;
}
.download-icon {
  grid-column: 3 / 4;
  grid-row: 1;
  align-self: center;
  width: 22px;
  height: 22px;
  color: var(--gold);
}
.download-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary .download-icon { color: #CBA878; }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 34px;
  color: #5D6670;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
a.contact-item { transition: color .2s ease; }
a.contact-item:hover { color: var(--navy); }
.contact-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.linkedin-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
}

.career-skyline {
  position: relative;
  margin: -112px calc(-1 * clamp(42px, 6.2vw, 105px)) 0;
  line-height: 0;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--white);
  z-index: 1;
}
.career-skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 8%,
    rgba(255,255,255,.98) 13%,
    rgba(255,255,255,.90) 19%,
    rgba(255,255,255,.64) 27%,
    rgba(255,255,255,.28) 35%,
    rgba(255,255,255,.07) 42%,
    rgba(255,255,255,0) 47%
  );
}
.career-skyline img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .95;
  filter: saturate(.92) contrast(.98);
}


footer {
  width: 100%;
  min-height: 48px;
  padding: 14px 0 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .positioning { white-space: normal; max-width: 860px; }
  .content-wrap { padding-top: 64px; }
  .intro { margin-top: 38px; }
  .cv-actions { margin-top: 38px; }
}

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 1fr; }
  .identity-panel {
    min-height: auto;
    padding: 42px 24px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .identity-inner { max-width: 560px; transform: none; }
  .portrait { width: 148px; }
  .metrics { margin-top: 32px; }
  .metric { min-height: 90px; }
  .main-panel { min-height: auto; padding: 0 24px; }
    .content-wrap { padding: 58px 0 44px; }
  h1 { font-size: clamp(35px, 8vw, 50px); }
  .positioning { margin-top: 18px; font-size: 11px; }
  .intro { margin-top: 34px; }
  .cv-actions { grid-template-columns: 1fr; max-width: 440px; margin-top: 36px; }
  .career-skyline { margin: -20px -24px 0; height: clamp(170px, 38vw, 240px); background-size: auto 100%; background-position: center top; }
  footer { padding-bottom: 22px; }
}

@media (max-width: 520px) {
  .identity-panel { padding-top: 32px; }
  .portrait { width: 126px; }
  .metrics { margin-top: 26px; }
  .metric strong { font-size: 23px; }
  .metric span { font-size: 8px; }
  .content-wrap { padding-top: 48px; }
  .positioning { letter-spacing: .025em; line-height: 1.75; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
  .contact-item { gap: 9px; }
  .career-skyline { height: 160px; background-size: auto 100%; background-position: center top; }
}

/* FINAL RESPONSIVE PASS */
@media (max-width: 900px) {
  body { background: var(--white); }
  .page-shell { display: block; min-height: 100vh; }
  .identity-panel {
    padding: 34px 24px 28px;
  }
  .identity-inner { width: min(100%, 620px); }
  .portrait { width: 142px; }
  .metrics {
    max-width: 520px;
    margin-top: 28px;
  }
  .metric { min-height: 88px; padding-inline: 12px; }
  .metric strong { font-size: 27px; }
  .metric span { font-size: 9px; }
  .main-panel { overflow: visible; }
  .content-wrap {
    width: 100%;
    margin: 0;
    padding: 48px 0 34px;
  }
  h1 { max-width: 100%; }
  .positioning { max-width: 100%; }
  .section-rule { width: 120px; }
  .intro { max-width: 720px; font-size: 18px; line-height: 1.55; }
  .cv-actions { width: 100%; max-width: 520px; }
  .cv-button { min-height: 80px; }
  .career-skyline {
    height: auto;
    margin: -58px -24px 0;
  }
  .career-skyline img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  .identity-panel { padding: 28px 18px 24px; }
  .portrait { width: 124px; }
  .metrics {
    margin-top: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric { min-height: 82px; padding: 0 7px; }
  .metric strong { font-size: 24px; }
  .metric span {
    margin-top: 8px;
    font-size: 7.8px;
    line-height: 1.35;
    letter-spacing: .055em;
  }
  .main-panel { padding: 0 20px; }
  .content-wrap { padding: 40px 0 30px; }
  h1 {
    font-size: clamp(32px, 10.2vw, 43px);
    line-height: 1.02;
    letter-spacing: -.03em;
  }
  .positioning {
    margin-top: 16px;
    font-size: 10px;
    line-height: 1.65;
    letter-spacing: .035em;
  }
  .positioning span { padding: 0 .18em; }
  .section-rule { margin-top: 18px; width: 96px; height: 2px; }
  .intro {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.55;
  }
  .cv-actions {
    margin-top: 30px;
    gap: 12px;
    max-width: none;
  }
  .cv-button {
    min-height: 76px;
    padding: 15px 18px;
  }
  .flag-icon { width: 26px; height: 26px; font-size: 23px; }
  .button-label { font-size: 9px; }
  .button-language { font-size: 17px; }
  .download-icon { width: 21px; height: 21px; }
  .contact-row {
    margin-top: 28px;
    font-size: 13px;
    line-height: 1.45;
    gap: 6px;
  }
  .career-skyline {
    margin: -28px -20px 0;
    height: auto;
  }
  footer {
    min-height: 42px;
    padding: 12px 0 16px;
    font-size: 8px;
  }
}

@media (max-width: 390px) {
  .identity-panel { padding-inline: 14px; }
  .portrait { width: 112px; }
  .metric { padding-inline: 5px; }
  .metric strong { font-size: 22px; }
  .metric span { font-size: 7.1px; letter-spacing: .04em; }
  .main-panel { padding: 0 16px; }
  .content-wrap { padding-top: 34px; }
  h1 { font-size: 31px; }
  .positioning { font-size: 9.2px; }
  .intro { font-size: 15px; }
  .career-skyline { margin: -18px -16px 0; }
}

@media (orientation: landscape) and (max-height: 520px) and (min-width: 650px) {
  .identity-panel { padding-block: 24px; }
  .portrait { width: 112px; }
  .metrics { margin-top: 20px; }
  .content-wrap { padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .cv-button { transition: none; }
  .cv-button:hover { transform: none; }
}
