:root {
  --ink: #1b2027;
  --soft-ink: #4f5863;
  --muted: #7a7368;
  --ivory: #f8f4ec;
  --paper: #fffdf8;
  --champagne: #a77a2d;
  --champagne-light: #ead8ad;
  --mist: #e8edf2;
  --line: #d8d2c6;
  --navy: #121a24;
  --shadow: 0 24px 70px rgba(42, 34, 22, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--ivory); font-family: "Segoe UI", Inter, Arial, sans-serif; line-height: 1.62; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(167,122,45,.14), transparent 36%), linear-gradient(140deg, rgba(43,72,102,.10), transparent 54%), linear-gradient(180deg, #fbf8f1 0 44rem, var(--ivory) 44rem 100%); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(22px,5vw,78px); color: var(--ink); background: rgba(251,248,241,.90); border-bottom: 1px solid rgba(167,122,45,.20); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 15px; font-weight: 760; letter-spacing: .03em; }
.brand span, .monogram { display: grid; place-items: center; width: 40px; aspect-ratio: 1; color: #f8fbff; background: linear-gradient(135deg, #283445, var(--navy)); border-radius: 50%; font-family: Georgia, "Times New Roman", serif; font-weight: 900; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
nav a, .menu-button { min-height: 38px; padding: 8px 11px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; font-size: 12px; font-weight: 720; letter-spacing: .03em; cursor: pointer; }
nav a:hover, nav a:focus-visible, .menu-button:hover, .menu-button:focus-visible { color: var(--ink); background: rgba(43,72,102,.08); }
.menu-button { display: none; border: 1px solid rgba(167,122,45,.26); }
main { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(28px,5vw,64px); align-items: end; min-height: calc(100vh - 75px); padding: clamp(62px,9vw,120px) 0 clamp(54px,7vw,92px); color: var(--ink); }
.hero-copy, .contact-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.hero-copy { max-width: 850px; }
.eyebrow, .section-label { margin: 0 0 14px; color: var(--champagne); font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 940px; margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px,5.8vw,78px); font-weight: 500; line-height: 1.02; letter-spacing: 0; color: #151a21; }
h2 { margin-bottom: 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px,3.6vw,46px); font-weight: 500; line-height: 1.12; letter-spacing: 0; color: #1b2027; }
h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.25; font-weight: 760; }
.lead { max-width: 760px; color: var(--soft-ink); font-size: clamp(19px,2vw,25px); }
.hero-tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 760px; margin-top: 26px; border: 1px solid rgba(167,122,45,.26); background: rgba(255,255,255,.74); }
.hero-tags span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 10px; color: #1f2937; border-right: 1px solid rgba(43,72,102,.18); font-size: 12px; font-weight: 760; text-align: center; white-space: nowrap; } .hero-tags span:last-child { border-right: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; color: var(--navy); background: rgba(255,255,255,.62); border: 1px solid rgba(185,144,74,.34); border-radius: 999px; font-size: 14px; font-weight: 760; text-align: center; cursor: pointer; }
.button.primary { color: #f8fbff; background: linear-gradient(135deg, #2b4866, var(--navy)); border-color: transparent; }
.button.ghost { color: #2b4866; background: rgba(232,237,242,.72); }
.button:hover, .button:focus-visible { transform: translateY(-1px); filter: brightness(1.03); }
.contact-card { align-self: stretch; display: grid; align-content: end; padding-left: 28px; border-left: 1px solid rgba(43,72,102,.18); }
.monogram { width: 76px; margin-bottom: 26px; font-size: 25px; }
.status { width: fit-content; margin: 0 0 14px; color: var(--champagne); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.contact-card h2 { margin-bottom: 4px; font-size: 31px; }
.role { color: var(--soft-ink); font-size: 14px; font-weight: 650; }
dl { display: grid; gap: 17px; margin: 24px 0 0; }
dt { color: var(--champagne); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
dd { margin: 4px 0 0; color: var(--ink); font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.copy-card { width: fit-content; margin-top: 24px; }
.section { display: grid; gap: clamp(22px,3vw,34px); margin: 0; padding: clamp(48px,7vw,82px) 0; color: var(--ink); background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.section .section-label { color: var(--champagne); }
.section.split { grid-template-columns: minmax(260px,.62fr) minmax(0,1fr); align-items: start; }
.section.split > p { max-width: 760px; color: var(--soft-ink); font-size: clamp(18px,2vw,23px); }
.section-head { max-width: 900px; }
.fit-grid, .skills-grid, .reference-grid { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); box-shadow: 0 20px 60px rgba(18, 26, 36, 0.08); }
.fit-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.skills-grid, .reference-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.fit-grid article, .skills-grid article, .reference-grid article, .timeline article { background: rgba(255,255,255,.82); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.fit-grid article, .skills-grid article, .reference-grid article { padding: clamp(22px,3vw,30px); }
.fit-grid span { display: inline-block; margin-bottom: 24px; color: var(--champagne); font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.fit-grid p, .skills-grid p, .reference-grid article { color: var(--soft-ink); }
ul { margin: 0; padding-left: 18px; color: #485057; }
li + li { margin-top: 7px; }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline article { padding: clamp(24px,3.4vw,38px) 0 clamp(24px,3.4vw,38px) clamp(22px,4vw,52px); border-right: 0; border-bottom: 1px solid var(--line); position: relative; background: transparent; }
.timeline article::before { content: ""; position: absolute; top: 32px; left: 0; width: 8px; height: 8px; background: var(--champagne); border-radius: 50%; }
.timeline time { display: block; margin-bottom: 10px; color: var(--champagne); font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.company { margin-bottom: 14px; color: var(--soft-ink); font-weight: 800; }
.contact-section { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 30px; align-items: center; margin: clamp(24px,4vw,46px) 0 clamp(42px,6vw,76px); padding: clamp(34px,5vw,58px); color: var(--ink); background: linear-gradient(145deg, rgba(232,237,242,.72), transparent 48%), linear-gradient(135deg, rgba(167,122,45,.10), transparent 55%), #fffdf8; border: 1px solid var(--line); border-radius: 0; box-shadow: 0 20px 60px rgba(18, 26, 36, 0.08); }
.contact-section p:not(.section-label) { max-width: 700px; color: var(--soft-ink); }
.contact-actions { justify-content: flex-end; margin-top: 0; }
footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 24px clamp(22px,5vw,78px); color: #746a5b; background: var(--ivory); border-top: 1px solid var(--line); }
footer p { margin-bottom: 0; }
footer a { font-weight: 780; }
@media (max-width: 1040px) { .hero, .section.split, .contact-section { grid-template-columns: 1fr; } .hero { min-height: auto; } .contact-card { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(43,72,102,.18); } .hero-tags, .fit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .contact-actions { justify-content: flex-start; } }
@media (max-width: 760px) {
  body { line-height: 1.56; }
  .topbar { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
  .brand { font-size: 14px; }
  .brand span { width: 36px; }
  .menu-button { display: inline-flex; align-items: center; }
  nav { display: none; width: 100%; justify-content: stretch; gap: 8px; padding-top: 4px; }
  nav.is-open { display: grid; grid-template-columns: 1fr; }
  nav a { border: 1px solid rgba(43,72,102,.18); background: rgba(255,255,255,.54); text-align: center; }
  main { width: min(100% - 28px,1160px); }
  .hero { gap: 34px; padding: 42px 0 50px; }
  h1 { font-size: clamp(38px,11vw,54px); }
  h2 { font-size: clamp(27px,8vw,38px); }
  .lead, .section.split > p { font-size: 18px; }
  .hero-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
  .hero-tags span { min-height: 46px; white-space: normal; }
  .hero-tags span:nth-child(2n) { border-right: 0; }
  .hero-tags span:nth-child(-n+2) { border-bottom: 1px solid rgba(43,72,102,.18); }
  .actions, .contact-actions { display: grid; }
  .button { width: 100%; min-height: 48px; }
  .contact-card { padding-top: 24px; }
  .monogram { width: 64px; margin-bottom: 20px; }
  .fit-grid, .skills-grid, .reference-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .fit-grid article, .skills-grid article, .reference-grid article { padding: 22px; }
  .timeline article { padding-left: 26px; }
  .contact-section { padding: 28px 22px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  main { width: min(100% - 22px,1160px); }
  .hero { padding-top: 34px; }
  .hero-tags { grid-template-columns: 1fr; }
  .hero-tags span { border-right: 0; border-bottom: 1px solid rgba(43,72,102,.18); }
  .hero-tags span:last-child { border-bottom: 0; }
  .section { padding: 38px 0; }
  .contact-section { padding: 24px 18px; }
}