
:root {
  --ink: #101418;
  --muted: #5d666d;
  --paper: #f2f1ed;
  --line: #c9cbc5;
  --signal: #e74b2f;
  --deep: #14232a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1380px, calc(100% - 48px));
  height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-size: 24px; font-weight: 900; letter-spacing: -0.08em; }
.wordmark span { color: var(--signal); }
nav { display: flex; gap: 34px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
nav a { padding: 10px 0; }
nav a:hover { color: var(--signal); }

.hero {
  width: min(1380px, calc(100% - 48px));
  min-height: calc(100vh - 94px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.hero-copy { padding: 12vh 7vw 9vh 0; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 28px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--signal); }
h1 { margin: 0; max-width: 820px; font-size: clamp(58px, 7vw, 112px); line-height: .91; letter-spacing: -.07em; font-weight: 800; }
h1 em { color: var(--signal); font-family: Georgia, serif; font-weight: 400; }
.hero-intro { max-width: 690px; margin: 38px 0 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 22px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; gap: 26px; border: 1px solid var(--ink); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transition: .2s ease; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--signal); border-color: var(--signal); }
.button-secondary:hover { background: white; }

.hero-panel { position: relative; min-height: 620px; padding: 40px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background-color: var(--deep); color: white; border-left: 1px solid var(--line); }
.hero-panel::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 44px 44px; }
.radar { position: absolute; top: 8%; left: 50%; width: min(30vw, 430px); aspect-ratio: 1; transform: translateX(-50%); border: 1px solid #ffffff40; border-radius: 50%; }
.radar::before, .radar::after { content: ""; position: absolute; inset: 16%; border: 1px solid #ffffff35; border-radius: 50%; }
.radar::after { inset: 34%; }
.radar b { position: absolute; inset: 0; display: grid; place-items: center; color: var(--signal); font-size: clamp(60px, 7vw, 110px); letter-spacing: -.09em; }
.radar-line { position: absolute; inset: 50% 0 auto; height: 1px; background: #ffffff35; transform-origin: 50%; }
.radar-line-a { transform: rotate(30deg); }
.radar-line-b { transform: rotate(-42deg); }
.radar-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px #e74b2f30; }
.radar-dot-a { top: 20%; right: 18%; }
.radar-dot-b { bottom: 23%; left: 16%; }
.radar-dot-c { bottom: 13%; right: 30%; }
.status-card, .focus-row { position: relative; z-index: 1; }
.status-card { padding: 22px; background: #f2f1ed; color: var(--ink); border-left: 5px solid var(--signal); }
.status-card p { margin: 0 0 10px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.status-card strong { display: block; font-size: 20px; }
.status-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.focus-row { display: flex; gap: 18px; margin-top: 22px; color: #c5ced1; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

.work-section { padding: 120px max(24px, calc((100% - 1380px)/2)); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 74px); line-height: .95; letter-spacing: -.055em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-card { min-height: 450px; padding: 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .25s ease; }
.project-card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px #14232a12; }
.project-card:focus-visible { position: relative; z-index: 2; outline: 3px solid var(--signal); outline-offset: -3px; background: white; }
.project-topline { display: flex; justify-content: space-between; color: var(--signal); font: 700 12px ui-monospace, monospace; }
.project-card h3 { margin: 64px 0 20px; font-size: clamp(25px, 2vw, 33px); line-height: 1.05; letter-spacing: -.04em; }
.project-card > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.project-card ul { margin: auto 0 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.project-card li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.project-link { margin-top: 22px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.project-card:hover .project-link { color: var(--signal); }

.project-page { min-height: 100vh; }
.project-header { border-bottom-color: #d8d9d4; }
.showcase-index-hero { padding: 110px max(24px, calc((100% - 1380px)/2)); border-bottom: 1px solid var(--line); }
.showcase-index-hero h1 { max-width: 1050px; }
.showcase-index-hero > p:last-child { max-width: 760px; margin: 38px 0 0; color: var(--muted); font-size: 20px; line-height: 1.65; }
.showcase-directory { padding: 60px max(24px, calc((100% - 1380px)/2)); display: block; text-transform: none; letter-spacing: 0; }
.showcase-directory ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.showcase-directory li { border-bottom: 1px solid var(--line); }
.showcase-directory a { padding: 22px 0; display: grid; grid-template-columns: 70px 1fr; gap: 20px; font-size: 20px; font-weight: 800; }
.showcase-directory a:hover { color: var(--signal); padding-left: 10px; }
.showcase-directory span { padding-top: 4px; color: var(--signal); font: 700 11px ui-monospace, monospace; }
.portable-case { padding: 110px max(24px, calc((100% - 1380px)/2)); scroll-margin-top: 20px; border-top: 1px solid var(--line); }
.portable-case:nth-of-type(even) { background: #deded7; }
.portable-case > header { max-width: 1040px; }
.portable-case h2 { margin: 0; font-size: clamp(42px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.portable-case header > p:last-child { max-width: 880px; margin: 32px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.portable-case-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.portable-case-grid section { min-height: 290px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portable-case-grid h3 { margin: 0 0 24px; color: var(--signal); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.portable-case-grid p, .portable-case-grid li { color: #3e464b; font-size: 15px; line-height: 1.65; }
.portable-case-grid ul { margin: 0; padding-left: 20px; }
.portable-case-grid li { margin-bottom: 9px; }
.portable-gallery { margin-top: 50px; }
.portable-gallery > h3 { margin: 0 0 22px; color: var(--signal); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.portable-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.portable-gallery figure { margin: 0; overflow: hidden; background: white; border: 1px solid var(--line); }
.portable-gallery img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; background: #d8d9d4; }
.portable-gallery figcaption { min-height: 76px; padding: 20px 22px; color: #3e464b; font-size: 14px; line-height: 1.55; }
.portable-tags { margin: 28px 0 0; color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.8; text-transform: uppercase; letter-spacing: .08em; }
.next-project { padding: 90px max(24px, calc((100% - 1380px)/2)); background: var(--signal); color: white; }
.next-project > p { margin: 0 0 24px; color: #ffffffb5; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.next-project a { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid #ffffff75; border-bottom: 1px solid #ffffff75; }
.next-project a > span { font: 700 12px ui-monospace, monospace; }
.next-project a > span:last-child { font-size: 28px; }
.next-project strong { font-size: clamp(32px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; }
.next-project a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

.about-section { padding: 120px max(24px, calc((100% - 1380px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; background: var(--deep); color: white; }
.about-intro .eyebrow { color: #aeb7ba; }
.about-intro h2 { max-width: 680px; margin: 0; font-size: clamp(42px, 5vw, 75px); line-height: .98; letter-spacing: -.055em; }
.about-copy { padding-top: 42px; }
.about-copy p { margin: 0 0 28px; color: #c7ced0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.72; }
.about-copy p:first-child { color: white; }

.experience-section { padding: 120px max(24px, calc((100% - 1380px)/2)); }
.section-kicker { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-kicker .eyebrow { margin: 0; }
.section-kicker > span { color: var(--muted); font: 700 11px ui-monospace, monospace; text-transform: uppercase; }
.timeline article { display: grid; grid-template-columns: 180px 1fr; gap: 34px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.timeline-date { color: var(--signal); font: 700 12px ui-monospace, monospace; text-transform: uppercase; }
.timeline-type { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline h2 { max-width: 900px; margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.timeline article div > p:last-child { max-width: 800px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.toolkit-section { padding: 110px max(24px, calc((100% - 1380px)/2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; background: #deded7; }
.toolkit-section h2 { max-width: 520px; margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.skill-groups { border-top: 1px solid #b9bbb5; }
.skill-groups article { position: relative; padding: 34px 0 34px 62px; border-bottom: 1px solid #b9bbb5; }
.skill-groups span { position: absolute; left: 0; top: 38px; color: var(--signal); font: 700 11px ui-monospace, monospace; }
.skill-groups h3 { margin: 0 0 12px; font-size: 21px; letter-spacing: -.025em; }
.skill-groups p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.contact-section { padding: 115px max(24px, calc((100% - 1380px)/2)); background: var(--signal); color: white; }
.contact-section .eyebrow { color: #fff9; }
.contact-section h2 { max-width: 1100px; margin: 0; font-size: clamp(42px, 6vw, 88px); line-height: .98; letter-spacing: -.06em; }
.contact-section > div { margin-top: 52px; padding-top: 25px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #ffffff70; }
.contact-section > div p, .contact-section > div a { margin: 0; font-size: 13px; font-weight: 700; }
.contact-section > div a { padding-bottom: 4px; border-bottom: 1px solid #ffffff9c; }
.contact-section > div a:hover { border-color: white; }
footer { min-height: 150px; padding: 0 max(24px, calc((100% - 1380px)/2)); display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: white; }
footer p, footer > a:last-child { color: #aab1b4; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { display: flex; gap: 24px; color: #aab1b4; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a:hover { color: white; }

.resume-page { min-height: 100vh; padding: 34px 24px 90px; background: #dfe0dc; }
.resume-toolbar { width: min(900px, 100%); margin: 0 auto 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.resume-toolbar > div { display: flex; gap: 10px; }
.resume-action { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; cursor: pointer; text-transform: uppercase; letter-spacing: .06em; }
.resume-action-primary { background: var(--ink); color: white; }
.resume-action:hover { background: var(--signal); border-color: var(--signal); color: white; }
.resume-document { width: min(900px, 100%); margin: 0 auto; padding: clamp(34px, 6vw, 72px); background: white; box-shadow: 0 24px 60px #14232a1c; }
.resume-header { padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.resume-label { margin: 0 0 14px; color: var(--signal); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.resume-page h1 { margin: 0; max-width: none; font-size: clamp(48px, 8vw, 78px); line-height: .95; letter-spacing: -.055em; }
.resume-role { margin: 15px 0 8px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.resume-header address { color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.resume-header address a { text-decoration: underline; text-underline-offset: 3px; }
.resume-document section { padding: 28px 0 6px; }
.resume-document section > h2 { margin: 0 0 18px; color: var(--signal); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.resume-document section > p, .resume-entry > p { margin: 0; color: #3e464b; font-size: 15px; line-height: 1.7; }
.resume-entry { padding: 0 0 21px; }
.resume-entry h3 { margin: 0 0 7px; font-size: 20px; letter-spacing: -.025em; }
.resume-entry-heading { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.resume-entry-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.resume-entry-heading time { flex: none; color: var(--signal); font: 700 12px ui-monospace, monospace; }
.resume-entry ul { margin: 18px 0 0; padding-left: 20px; }
.resume-entry li { margin-bottom: 8px; color: #3e464b; font-size: 14px; line-height: 1.6; }
.resume-skills { margin: 0; }
.resume-skills > div { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 12px 0; border-top: 1px solid #dedfdb; }
.resume-skills dt { font-weight: 800; }
.resume-skills dd { margin: 0; color: #3e464b; line-height: 1.55; }
.resume-note { margin-top: 26px; padding: 15px; border: 1px solid #dedfdb; color: var(--muted); font-size: 12px; line-height: 1.5; }

@media (max-width: 900px) {
  .site-header, .hero { width: min(100% - 32px, 1380px); }
  nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 78vh; padding: 80px 0; }
  .hero-panel { min-height: 610px; border-left: 0; }
  .radar { width: 380px; max-width: 80%; }
  .section-heading { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 390px; }
  .about-section, .toolkit-section { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .timeline article { grid-template-columns: 120px 1fr; }
  .portable-case-grid { grid-template-columns: 1fr; }
  .portable-gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { height: 76px; }
  nav a:nth-child(2) { display: none; }
  h1 { font-size: 55px; }
  .hero-copy { min-height: auto; padding: 72px 0; }
  .hero-panel { min-height: 520px; padding: 24px; }
  .focus-row { flex-direction: column; gap: 8px; }
  .work-section { padding-top: 82px; padding-bottom: 82px; }
  .project-card { padding: 26px; }
  .showcase-index-hero { padding-top: 80px; padding-bottom: 80px; }
  .showcase-directory a { grid-template-columns: 42px 1fr; font-size: 17px; }
  .portable-case { padding-top: 78px; padding-bottom: 78px; }
  .portable-case-grid section { min-height: auto; padding: 26px; }
  .next-project a { grid-template-columns: 40px 1fr auto; }
  .timeline article { grid-template-columns: 1fr; gap: 14px; }
  .contact-section > div { align-items: flex-start; flex-direction: column; }
  .resume-page { padding-right: 12px; padding-left: 12px; }
  .resume-toolbar { align-items: flex-start; flex-direction: column; }
  .resume-toolbar > div { width: 100%; flex-wrap: wrap; }
  .resume-document { padding: 30px 22px; }
  .resume-entry-heading { flex-direction: column; gap: 8px; }
  .resume-skills > div { grid-template-columns: 1fr; gap: 6px; }
  footer { padding-top: 34px; padding-bottom: 34px; flex-direction: column; gap: 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  .resume-page { padding: 0; background: white; }
  .resume-toolbar { display: none; }
  .resume-document { width: 100%; padding: 0; box-shadow: none; }
  .resume-page h1 { font-size: 40px; }
  .resume-document section { padding-top: 17px; }
  .resume-entry { padding-bottom: 12px; break-inside: avoid; }
  .resume-entry li, .resume-document section > p, .resume-entry > p { font-size: 11px; line-height: 1.45; }
  .resume-entry h3 { font-size: 15px; }
  .resume-role { font-size: 12px; }
  .resume-note { display: none; }
}
