@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  color: #191c1a;
  background: #f6f5f1;
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; }
a { color: inherit; }
p, h1, h2, h3 { margin-top: 0; }
.skip-link { position: absolute; z-index: 5; top: -5rem; left: 1rem; padding: .8rem 1rem; background: #191c1a; color: white; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid #a48960; outline-offset: 4px; }
.site-wrap { max-width: 1600px; margin: auto; padding: 0 clamp(26px, 6vw, 96px); }

.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 84px; border-bottom: 1px solid #d7d6d0; }
.masthead-name { width: max-content; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.mark, .period { color: #a48960; }
.masthead nav { display: flex; gap: clamp(1.2rem, 3vw, 3rem); }
.masthead nav a { font-size: .78rem; font-weight: 500; text-decoration: none; }
.masthead nav a:hover, .inline-link:hover, .footer a:hover { color: #8e7654; }
.masthead-role { justify-self: end; color: #767972; font: 400 .64rem 'IBM Plex Mono', monospace; letter-spacing: .07em; white-space: nowrap; }

.hero { padding: 36px 0 70px; }
.hero-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: clamp(65px, 9vw, 150px); color: #7a7c76; font: 400 .7rem 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .075em; }
.hero h1 { margin: 0; font: 500 clamp(5rem, 11vw, 12.5rem)/.79 'Cormorant Garamond', Georgia, serif; letter-spacing: -.065em; }
.hero h1 > span, .hero h1 > em { display: block; }
.hero h1 em { margin-left: 12%; font-weight: 500; }
.hero-bottom { display: grid; grid-template-columns: 1fr minmax(320px, .8fr); align-items: end; gap: 3rem; margin-top: clamp(80px, 10vw, 150px); padding-top: 25px; border-top: 1px solid #191c1a; }
.hero-role { margin-bottom: 0; font: 500 clamp(1.35rem, 2vw, 2.05rem)/1.32 'Cormorant Garamond', Georgia, serif; }
.hero-intro { max-width: 550px; }
.hero-intro p { margin-bottom: 2rem; font-size: clamp(1.05rem, 1.45vw, 1.38rem); line-height: 1.63; letter-spacing: -.018em; }
.inline-link { display: inline-flex; align-items: center; gap: .6rem; padding-bottom: .35rem; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 600; text-decoration: none; }

.editorial-section { display: grid; grid-template-columns: minmax(185px, 23%) 1fr; gap: clamp(2rem, 6vw, 7rem); padding: clamp(90px, 11vw, 160px) 0; border-top: 1px solid #d7d6d0; }
.section-caption { display: flex; align-items: flex-start; gap: 1rem; color: #656a63; font: 400 .69rem 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .065em; }
.section-index { color: #a48960; }
.section-main { min-width: 0; }
h2 { margin-bottom: clamp(2rem, 4vw, 4rem); font: 500 clamp(3.3rem, 6.1vw, 7rem)/.93 'Cormorant Garamond', Georgia, serif; letter-spacing: -.045em; }
h2 i { font-weight: 500; }
.overview h2 { max-width: 1050px; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); max-width: 970px; }
.overview-grid p { margin: 0; color: #474b46; font-size: clamp(.96rem, 1.2vw, 1.12rem); line-height: 1.85; }

.experience { padding-bottom: 130px; }
.experience h2 { margin-bottom: 3.5rem; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline-entry { display: grid; grid-template-columns: minmax(160px, 23%) 1fr; align-items: start; gap: clamp(1.5rem, 3vw, 3rem); padding: 2.2rem 0 2.7rem; border-top: 1px solid #c9c9c2; }
.timeline-entry:last-child { border-bottom: 1px solid #c9c9c2; }
.timeline-date { padding-top: .6rem; color: #767972; font: 400 .82rem/1.5 'IBM Plex Mono', monospace; text-transform: uppercase; }
.timeline-content h3 { margin: 0 0 .5rem; font: 500 clamp(2rem, 3vw, 3.5rem)/1 'Cormorant Garamond', Georgia, serif; letter-spacing: -.02em; }
.timeline-content p { max-width: 650px; margin: .5rem 0 0; color: #525650; font-size: .95rem; line-height: 1.75; }
.timeline-content .timeline-role { color: #191c1a; font-weight: 600; }
.timeline-period { color: #767972; font-weight: 400; }
.timeline-stage { max-width: 650px; margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid #d7d6d0; }
.timeline-stage:first-of-type { margin-top: 1rem; padding-top: 0; border-top: 0; }
.timeline-stage h4 { margin: 0; color: #191c1a; font-size: .95rem; font-weight: 600; line-height: 1.6; }

.focus { background: #e9e9e2; margin: 0 calc(-1 * clamp(26px, 6vw, 96px)); padding-left: clamp(26px, 6vw, 96px); padding-right: clamp(26px, 6vw, 96px); }
.focus h2 { max-width: 720px; }
.focus-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 3rem); }
.focus-list > div { border-top: 1px solid #8c9288; padding-top: 1.1rem; }
.focus-list span { color: #8e7654; font: 400 .67rem 'IBM Plex Mono', monospace; }
.focus-list h3 { margin: 2.6rem 0 .8rem; font: 500 clamp(1.7rem, 2.5vw, 3rem) 'Cormorant Garamond', Georgia, serif; }
.focus-list p { max-width: 300px; margin: 0; color: #555a53; font-size: .9rem; line-height: 1.75; }

.technologies { padding-bottom: clamp(110px, 12vw, 170px); }
.technologies h2 { margin-bottom: 1.1rem; }
.tech-intro { max-width: 650px; margin-bottom: clamp(3rem, 6vw, 6rem); color: #555a53; line-height: 1.7; }
.tech-group { padding: 1.4rem 0 3rem; border-top: 1px solid #bfc1ba; }
.tech-group:last-child { border-bottom: 1px solid #bfc1ba; }
.tech-group h3 { margin: 0 0 2rem; color: #73766f; font: 400 .72rem 'IBM Plex Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.type-cloud { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: clamp(.8rem, 1.7vw, 1.8rem); row-gap: clamp(.55rem, 1.5vw, 1.25rem); max-width: 1020px; margin: 0; padding: 0; list-style: none; }
.type-cloud li { color: #2a2d2a; font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1; white-space: nowrap; }
.type-cloud li::after { content: '·'; margin-left: clamp(.8rem, 2vw, 2.3rem); color: #a48960; font: 400 .5em 'IBM Plex Sans', sans-serif; vertical-align: .2em; }
.type-cloud li:last-child::after { display: none; }
.type-cloud .type-feature { font-size: clamp(2.8rem, 4.6vw, 5rem); letter-spacing: -.04em; }
.type-cloud .type-mid { font-size: clamp(2.1rem, 3.3vw, 3.7rem); letter-spacing: -.035em; }
.type-cloud .type-small { font-size: clamp(1.6rem, 2.4vw, 2.5rem); letter-spacing: -.025em; }

.footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2.5rem 0 3.5rem; border-top: 1px solid #d7d6d0; color: #656a63; font-size: .72rem; }
.footer a { text-decoration: none; }

@media (max-width: 1100px) {
  .masthead { grid-template-columns: 1fr auto; }
  .masthead-role { display: none; }
  .hero h1 { font-size: clamp(5.4rem, 12vw, 9rem); }
  .editorial-section { grid-template-columns: 165px 1fr; gap: 2.5rem; }
}
@media (max-width: 760px) {
  .masthead { gap: 1rem; padding: 1.4rem 0; }
  .masthead nav { gap: 1rem; }
  .masthead nav a { font-size: .72rem; }
  .hero { padding-top: 24px; }
  .hero-meta { margin-bottom: 90px; }
  .hero h1 { font-size: clamp(4.3rem, 14vw, 7.5rem); }
  .hero h1 em { margin-left: 0; }
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; margin-top: 90px; }
  .editorial-section { grid-template-columns: 1fr; gap: 2rem; padding: 95px 0; }
  .focus { padding-left: clamp(26px, 6vw, 96px); padding-right: clamp(26px, 6vw, 96px); }
  .overview-grid { gap: 2rem; }
  .timeline-entry { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 570px) {
  .masthead { grid-template-columns: 1fr; }
  .masthead nav { justify-content: space-between; }
  .hero-meta { font-size: .58rem; margin-bottom: 75px; }
  .hero h1 { font-size: clamp(3.45rem, 13.5vw, 5rem); }
  .hero-bottom { margin-top: 80px; }
  .overview-grid, .focus-list { grid-template-columns: 1fr; }
  .focus-list { gap: 2.5rem; }
  .focus-list h3 { margin-top: 1.2rem; }
  .type-cloud .type-feature { font-size: clamp(2.5rem, 10vw, 3.8rem); }
  .type-cloud .type-mid { font-size: clamp(2rem, 8vw, 3rem); }
  .type-cloud .type-small { font-size: clamp(1.5rem, 6vw, 2.3rem); }
  .footer { flex-wrap: wrap; }
  .footer span:nth-child(2) { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
