:root {
  --paper: #f5f5f2;
  --surface: #eaeae5;
  --ink: #1b2224;
  --muted: #626b6d;
  --line: #cfd3d1;
  --accent: #af4b30;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #e7b9a9; color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
.layout { width: min(100% - 88px, 1180px); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -60px; z-index: 10; background: var(--ink); color: white; padding: 12px 16px; }
.skip-link:focus { top: 16px; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { font-size: 18px; font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a, .header-note { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.site-nav a { transition: color .18s ease; }
.site-nav a:hover, .site-footer a:hover { color: var(--accent); }
.header-note { white-space: nowrap; }

.hero { border-bottom: 1px solid var(--line); }
.hero .layout { padding-top: 70px; padding-bottom: 91px; }
.hero-topline { display: flex; align-items: center; justify-content: space-between; font: 11px var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.hero-topline > span:first-child { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.small-square { display: block; width: 8px; height: 8px; background: var(--accent); }
.hero h1 { margin: 68px 0 57px; font-size: clamp(76px, 10vw, 148px); line-height: .91; letter-spacing: -.085em; font-weight: 500; }
.hero h1 span { padding-left: .5em; }
.hero h1 i { font-style: normal; color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); align-items: start; gap: 50px; border-top: 1px solid var(--ink); padding-top: 28px; }
.hero-summary p { max-width: 440px; margin: 0 0 32px; font-size: 19px; line-height: 1.5; letter-spacing: -.025em; }
.underlined-link { display: inline-flex; align-items: center; gap: 34px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .18s ease, border-color .18s ease; }
.underlined-link:hover { color: var(--accent); border-color: var(--accent); }
.underlined-link span { font-size: 20px; font-weight: 400; line-height: 1; }
.code-window { border: 1px solid #3d484b; background: #20292c; color: #dde3e1; font: 12px var(--mono); }
.code-window-header { display: flex; align-items: center; justify-content: space-between; height: 42px; padding-inline: 17px; border-bottom: 1px solid #3d484b; color: #aab8b7; font-size: 10px; }
.code-window-header > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.code-window-header i { width: 6px; height: 6px; background: #b65d42; }
.code-window-body { overflow-x: auto; padding: 18px 18px 21px; line-height: 1.9; white-space: nowrap; }
.line-number { display: inline-block; width: 29px; color: #788b8e; user-select: none; }
.code-keyword { color: #d4a58f; }
.code-property { color: #d9e5e2; }
.code-string { color: #b4c9b9; }
.code-number { color: #d3b8a1; }
.code-punctuation { color: #9eacad; }

.section { border-bottom: 1px solid var(--line); }
.section-grid, .contact-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 42px; }
.section-grid { padding-block: 104px 112px; }
.section-label { display: flex; align-items: baseline; gap: 20px; padding-top: 10px; font: 11px var(--mono); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.section-label span { color: var(--accent); }
.section-content h2 { margin: 0 0 35px; font-size: clamp(38px, 4.3vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -.065em; }
.large-copy { max-width: 780px; margin-bottom: 61px; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.5; letter-spacing: -.032em; color: #394347; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; border-top: 1px solid var(--line); }
.about-facts div { padding-top: 17px; }
.about-facts dt { margin-bottom: 10px; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; }
.about-facts dd { margin: 0; font-size: 17px; font-weight: 500; }

.experience-section { background: var(--surface); }
.experience-section .section-content h2 { margin-bottom: 45px; }
.experience-list { border-top: 1px solid var(--ink); }
.experience-item { display: grid; grid-template-columns: 172px 1fr; align-items: baseline; gap: 24px; margin-inline: -14px; padding: 27px 14px 29px; border-bottom: 1px solid #c8cdca; transition: background-color .18s ease; }
.experience-item:hover, .experience-item:focus-within { background: #f1e7e1; }
.experience-date { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font: 12px var(--mono); white-space: nowrap; }
.experience-date::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--accent); }
.experience-item h3 { margin: 0 0 4px; font-size: 29px; font-weight: 500; letter-spacing: -.04em; }
.experience-item h3 a { display: inline-flex; align-items: baseline; gap: 9px; transition: color .18s ease; }
.experience-item h3 a:hover { color: var(--accent); }
.experience-item h3 a span { color: var(--accent); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.experience-item p { margin: 0; color: var(--muted); font-size: 14px; }

.technology-section .section-content h2 { margin-bottom: 53px; }
.technology-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.technology-group { border-top: 1px solid var(--ink); padding-top: 20px; }
.technology-group h3 { margin: 0 0 24px; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; }
.technology-group p { max-width: 380px; margin: 0; font-size: 23px; line-height: 1.55; letter-spacing: -.04em; }
.technology-group p span { color: #a1a8a7; padding-inline: 4px; }

.services-section { background: #efefeb; }
.services-section .section-content h2 { margin-bottom: 23px; }
.services-intro { max-width: 660px; margin-bottom: 47px; color: #495355; font-size: 19px; line-height: 1.55; }
.services-list { border-top: 1px solid var(--ink); }
.service-item { display: grid; grid-template-columns: 32px minmax(210px, .95fr) minmax(0, 1.05fr); gap: 22px; align-items: baseline; padding: 25px 0 27px; border-bottom: 1px solid var(--line); }
.service-number { color: var(--accent); font: 11px var(--mono); }
.service-item h3 { margin: 0; font-size: 23px; font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
.service-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.review-proof { display: grid; grid-template-columns: minmax(0, 1fr) 142px; align-items: center; gap: 30px; margin-top: 36px; padding: 27px 29px; border: 1px solid #bdc4c0; background: var(--paper); }
.review-proof-heading { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 11px var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.review-proof-mark { display: grid; place-items: center; width: 24px; height: 24px; flex: none; background: var(--accent); color: #fff; font-size: 14px; line-height: 1; }
.review-proof-score { display: flex; align-items: end; gap: 20px; margin-top: 24px; }
.review-proof-score strong { font-size: 66px; font-weight: 500; line-height: .95; letter-spacing: -.075em; }
.review-proof-score > span { display: grid; gap: 4px; padding-bottom: 3px; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; }
.review-proof-stars { color: var(--accent); font: 16px var(--sans); letter-spacing: .13em; }
.review-proof-content p { max-width: 460px; margin: 21px 0 0; color: #495355; font-size: 15px; line-height: 1.55; }
.review-proof-link { margin-top: 24px; }
.review-proof-preview { display: block; width: 100%; height: auto; border: 1px solid #d4dac8; box-shadow: 0 8px 18px rgba(27, 34, 36, .1); }
.services-link { margin-top: 35px; }

.contact-section { background: var(--ink); color: #f4f4f1; }
.contact-grid { padding-block: 92px 104px; }
.contact-section .section-label { color: #f4f4f1; }
.contact-section h2 { max-width: 740px; margin: 0 0 55px; font-size: clamp(48px, 6vw, 82px); font-weight: 500; line-height: 1.08; letter-spacing: -.065em; }
.contact-email { display: inline-flex; align-items: center; gap: 24px; padding-bottom: 11px; border-bottom: 1px solid #9da9aa; font-size: clamp(20px, 3vw, 35px); letter-spacing: -.045em; overflow-wrap: anywhere; transition: color .18s ease, border-color .18s ease; }
.contact-email:hover { color: #e6a58f; border-color: #e6a58f; }
.contact-email span { color: #e6a58f; font-size: 28px; flex: none; }
.linkedin-link { display: flex; align-items: center; gap: 18px; width: min(100%, 430px); min-height: 86px; margin-top: 48px; padding: 14px 18px; border: 1px solid #536064; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.linkedin-link:hover { background: #2b3639; border-color: #e6a58f; transform: translateY(-2px); }
.linkedin-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: #e6a58f; color: var(--ink); }
.linkedin-icon svg { display: block; width: 25px; height: 25px; }
.linkedin-copy { display: grid; gap: 5px; min-width: 0; font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.linkedin-copy small { color: #aab5b5; font: 11px var(--mono); letter-spacing: 0; }
.linkedin-arrow { margin-left: auto; color: #e6a58f; font-size: 24px; line-height: 1; }
.site-footer { background: #141a1c; color: #9ca5a5; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; font: 11px var(--mono); }
.site-footer a { transition: color .18s ease; }

@media (max-width: 900px) {
  .layout { width: min(100% - 64px, 1180px); }
  .header-note { display: none; }
  .section-grid, .contact-grid { grid-template-columns: 140px minmax(0, 1fr); gap: 28px; }
  .hero h1 { font-size: clamp(72px, 11vw, 116px); }
  .review-proof { grid-template-columns: minmax(0, 1fr) 110px; gap: 18px; padding: 22px; }
}

@media (max-width: 800px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 38px; }
  .code-window { width: min(100%, 480px); }
}

@media (max-width: 650px) {
  .layout { width: min(100% - 40px, 1180px); }
  .header-inner { min-height: 68px; }
  .wordmark { font-size: 16px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 10px; }
  .site-nav a:nth-child(-n+3) { display: none; }
  .hero .layout { padding-top: 42px; padding-bottom: 65px; }
  .hero-topline { font-size: 10px; }
  .hero-topline > span:last-child { display: none; }
  .hero h1 { margin: 67px 0 59px; font-size: clamp(65px, 14.3vw, 94px); line-height: .96; }
  .hero h1 span { padding-left: 0; }
  .hero-bottom { padding-top: 20px; gap: 38px; }
  .hero-summary p { margin-bottom: 27px; font-size: 18px; }
  .code-window-body { padding: 16px 11px 19px; font-size: 10px; }
  .section-grid, .contact-grid { display: block; padding-block: 72px 79px; }
  .section-label { margin-bottom: 40px; padding: 0; }
  .section-content h2 { margin-bottom: 28px; font-size: clamp(38px, 10vw, 52px); }
  .large-copy { margin-bottom: 47px; font-size: 19px; }
  .about-facts { gap: 10px; }
  .about-facts dd { font-size: 14px; }
  .about-facts dt { font-size: 9px; }
  .experience-section .section-content h2 { margin-bottom: 34px; }
  .experience-item { grid-template-columns: 1fr; gap: 7px; padding: 22px 0 25px; }
  .experience-date { grid-row: 2; font-size: 10px; }
  .experience-item h3 { font-size: 25px; }
  .experience-item p { font-size: 13px; }
  .technology-section .section-content h2 { margin-bottom: 37px; }
  .technology-grid { grid-template-columns: 1fr; gap: 34px; }
  .technology-group p { font-size: 22px; }
  .services-section .section-content h2 { margin-bottom: 21px; }
  .services-intro { margin-bottom: 35px; font-size: 17px; }
  .service-item { grid-template-columns: 26px 1fr; gap: 7px 10px; padding: 21px 0 23px; }
  .service-number { grid-row: 1 / 3; padding-top: 5px; }
  .service-item h3 { font-size: 21px; }
  .service-item p { grid-column: 2; font-size: 14px; }
  .review-proof { grid-template-columns: minmax(0, 1fr) 90px; align-items: start; gap: 14px; margin-top: 29px; padding: 21px; }
  .review-proof-heading { align-items: start; font-size: 10px; line-height: 1.5; }
  .review-proof-score { display: grid; gap: 7px; margin-top: 22px; }
  .review-proof-score strong { font-size: 52px; }
  .review-proof-content p { font-size: 14px; }
  .review-proof-link { margin-top: 20px; }
  .services-link { margin-top: 30px; }
  .contact-grid { padding-block: 72px 83px; }
  .contact-section h2 { margin-bottom: 46px; font-size: clamp(46px, 12vw, 68px); }
  .contact-email { gap: 10px; font-size: clamp(18px, 5vw, 26px); }
  .contact-email span { font-size: 20px; }
  .linkedin-link { margin-top: 40px; padding: 12px; gap: 13px; }
  .linkedin-icon { width: 44px; height: 44px; }
  .linkedin-copy { font-size: 14px; }
  .footer-inner { font-size: 9px; }
}

@media (max-width: 360px) {
  .review-proof { grid-template-columns: 1fr; }
  .review-proof-preview { width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
