@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --font-body: "IBM Plex Sans";
  --font-display: "Space Grotesk";
  --ink: #102735;
  --ink-soft: #405866;
  --paper: #f3f1eb;
  --paper-raised: #faf9f5;
  --line: #cbd1ce;
  --amber: #8f5b12;
  --amber-bright: #e39a2d;
  --edge-blue: #2525d8;
  --edge-violet: #7048ad;
  --edge-orange: #f19650;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: #f2bd70; color: var(--ink); }

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 39, 53, .16);
  background: rgba(243, 241, 235, .93);
  backdrop-filter: blur(12px);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.wordmark {
  color: var(--ink);
  font-family: var(--font-display), sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .025em;
  text-decoration: none;
}
.wordmark span { color: var(--amber); }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav > a { min-height: 42px; display: flex; align-items: center; color: var(--ink-soft); font-size: 14px; font-weight: 500; text-decoration: none; }
.desktop-nav > a:hover { color: var(--ink); }
.desktop-nav .nav-cta {
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
}
.desktop-nav .nav-cta:hover { background: var(--ink); color: var(--paper-raised); }
.mobile-nav { display: none; position: relative; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: 72px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(43px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .99;
}
.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--paper-raised); }
.button-primary:hover { background: #1b3a4c; }
.button-secondary:hover { background: rgba(16, 39, 53, .06); }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0 0;
  border-top: 1px solid var(--ink);
}
.hero-meta div { padding: 16px 16px 0 0; }
.hero-meta div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-meta dt { color: var(--ink-soft); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hero-meta dd { margin: 6px 0 0; font-size: 14px; font-weight: 600; line-height: 1.4; }

.hero-proof {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 26px;
  border: 1px solid #27263b;
  border-radius: 18px;
  background: #08080b;
  color: #f5f1eb;
  text-decoration: none;
  box-shadow: 0 26px 60px -40px rgba(15, 37, 54, .7);
}
.hero-proof::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--edge-blue), var(--edge-orange));
}
.proof-copy { position: relative; z-index: 2; display: grid; gap: 4px; }
.proof-kicker { color: #aaa7b8; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.proof-copy strong { font-family: var(--font-display), sans-serif; font-size: 28px; font-weight: 600; }
.proof-copy > span:last-child { color: #aaa7b8; font-size: 14px; }
.phone-frame {
  width: min(250px, 77%);
  align-self: center;
  justify-self: center;
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid #38364c;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 28px 60px -30px rgba(83, 58, 221, .65);
}
.phone-frame img { width: 100%; height: auto; }
.proof-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }

.proof-strip { border-block: 1px solid var(--ink); background: var(--paper-raised); }
.proof-strip-inner { min-height: 76px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.proof-strip p { margin: 0; padding: 8px 24px 8px 0; font-size: 14px; font-weight: 600; }
.proof-strip p + p { padding-left: 24px; border-left: 1px solid var(--line); }
.proof-strip span { margin-right: 10px; color: var(--amber); font-size: 11px; letter-spacing: .08em; }

.section { padding-block: 110px; }
.section h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.projects-intro { padding-bottom: 76px; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .55fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
}
.section-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.case { border-top: 1px solid; }
.case-inner { padding-block: 112px; }
.case-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid;
}
.case-header h2 {
  margin: 3px 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .9;
}
.case-index {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-status {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: end;
  gap: clamp(44px, 8vw, 120px);
  padding-block: 52px 68px;
}
.case-lead { margin: 0; font-size: clamp(21px, 2.25vw, 29px); line-height: 1.48; }
.stack { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.stack span { padding: 7px 10px; border: 1px solid; border-radius: 5px; font-size: 12px; font-weight: 500; }

.edge-case { border-color: #2e2c39; background: #0a0a0d; color: #f4f0e9; }
.edge-case .case-header { border-color: #3b3946; }
.edge-case .case-index, .edge-case .version-label span, .edge-case figcaption { color: #aaa6b8; }
.edge-case .case-status { border-color: #595568; color: #d6d1df; }
.edge-case .stack span { border-color: #454252; color: #c9c4d2; }
.edge-comparison {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  margin: 0;
  padding: 50px clamp(24px, 5vw, 70px) 34px;
  border: 1px solid #302e3a;
  background: #0d0d12;
}
.edge-comparison::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--edge-blue), var(--edge-violet), var(--edge-orange));
}
.version { min-width: 0; }
.version-label { display: grid; gap: 3px; margin-bottom: 18px; }
.version-label span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.version-label strong { font-family: var(--font-display), sans-serif; font-size: 17px; font-weight: 600; }
.device-frame {
  width: min(100%, 330px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #3b3948;
  border-radius: 24px;
  background: #000;
}
.device-frame img { width: 100%; height: auto; }
.edge-comparison figcaption, .sofia-gallery figcaption {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid;
  font-size: 13px;
  line-height: 1.65;
}
.edge-comparison figcaption { border-color: #302e3a; }

.case-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-block: 1px solid;
}
.case-notes section { padding: 30px 30px 30px 0; }
.case-notes section + section { padding-left: 30px; border-left: 1px solid; }
.note-number { display: block; margin-bottom: 34px; font-size: 11px; font-weight: 600; letter-spacing: .09em; }
.case-notes h3 { margin: 0 0 10px; font-family: var(--font-display), sans-serif; font-size: 19px; font-weight: 600; }
.case-notes p { margin: 0; font-size: 14px; line-height: 1.72; }
.edge-notes { border-color: #3b3946; }
.edge-notes section + section { border-color: #3b3946; }
.edge-notes .note-number { color: #d58d5a; }
.edge-notes p { color: #aaa6b8; }

.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 72px; background: #3b3946; border: 1px solid #3b3946; }
.delivery-grid section { padding: 32px; background: #0a0a0d; }
.delivery-label { margin: 0 0 22px; color: #d58d5a; font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.delivery-grid ul { margin: 0; padding-left: 20px; color: #c4bfcc; }
.delivery-grid li { padding: 6px 0; font-size: 14px; line-height: 1.6; }
.architecture { margin-top: 28px; padding: 28px 30px; border: 1px solid #3b3946; }
.architecture > p { margin: 0 0 20px; color: #aaa6b8; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.architecture ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.architecture li { position: relative; min-height: 54px; padding: 0 22px; border-left: 1px solid #3b3946; color: #dad5df; font-size: 13px; font-weight: 600; line-height: 1.45; }
.architecture li:first-child { padding-left: 0; border-left: 0; }
.architecture li span { display: block; margin-bottom: 5px; color: #8c8799; font-size: 10px; }

.sofia-case { border-color: #b9d6e5; background: #f6fafb; color: #102735; }
.sofia-header { border-color: #9fc8dc; }
.sofia-header .case-index, .sofia-header .case-status { color: #006cae; }
.sofia-header .case-status { border-color: #7eb8d6; }
.sofia-intro .stack span { border-color: #9fc8dc; color: #175778; background: #fff; }
.sofia-gallery {
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  margin: 0;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid #b9d6e5;
  background: #fff;
}
.sofia-shot { min-width: 0; }
.sofia-shot .version-label span { color: #0578b8; }
.sofia-device {
  width: min(100%, 310px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #b9c9d0;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 24px 48px -36px rgba(16, 39, 53, .55);
}
.sofia-device img { width: 100%; height: auto; }
.browser-frame { overflow: hidden; border: 1px solid #b9c9d0; border-radius: 9px; background: #fff; box-shadow: 0 24px 48px -36px rgba(16, 39, 53, .55); }
.browser-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding-inline: 10px; border-bottom: 1px solid #d5e0e4; background: #eef3f5; }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #9fb1b9; }
.browser-frame img { width: 100%; height: auto; }
.sofia-gallery figcaption { border-color: #cce0e9; color: #56717f; }
.sofia-notes { border-color: #9fc8dc; }
.sofia-notes section + section { border-color: #9fc8dc; }
.sofia-notes .note-number { color: #0078b8; }
.sofia-notes p { color: #405d6b; }

.about { border-top: 1px solid var(--ink); background: var(--paper-raised); }
.about-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(46px, 9vw, 130px); }
.about-copy p { margin: 0 0 22px; color: var(--ink-soft); font-size: 17px; line-height: 1.78; }
.about-copy p:last-child { margin-bottom: 0; }
.skills-table { grid-column: 2; margin-top: -64px; border-top: 1px solid var(--ink); }
.skills-table div { display: flex; justify-content: space-between; gap: 30px; padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 14px; }
.skills-table span { color: var(--ink-soft); }
.skills-table strong { text-align: right; font-weight: 600; }

.experience-heading { align-items: start; }
.timeline { margin: 70px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.timeline li { display: grid; grid-template-columns: minmax(180px, .35fr) 1fr; gap: 42px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--amber); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.timeline h3 { margin: 0 0 7px; font-family: var(--font-display), sans-serif; font-size: 20px; font-weight: 600; }
.timeline p { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

.resume-section { padding-block: 100px; border-top: 1px solid var(--ink); background: #e9e6dd; }
.resume-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .72fr) minmax(260px, .72fr); gap: 18px; align-items: stretch; }
.resume-heading { padding: 14px clamp(20px, 4vw, 58px) 14px 0; }
.resume-heading h2 { margin: 0; font-family: var(--font-display), sans-serif; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; }
.resume-heading > p:last-child { max-width: 620px; margin: 24px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.resume-card { position: relative; overflow: hidden; display: flex; min-height: 430px; flex-direction: column; padding: 28px; border: 1px solid var(--ink); background: var(--paper-raised); }
.resume-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; }
.resume-tech::before { background: linear-gradient(90deg, var(--edge-blue), var(--edge-orange)); }
.resume-operations::before { background: #1282ba; }
.resume-card > span { color: var(--amber); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.resume-operations > span { color: #0874a9; }
.resume-card h3 { margin: 44px 0 14px; font-family: var(--font-display), sans-serif; font-size: 31px; font-weight: 600; letter-spacing: -.025em; }
.resume-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.resume-card ul { margin: 28px 0 32px; padding-left: 19px; color: var(--ink-soft); }
.resume-card li { padding: 5px 0; font-size: 13px; line-height: 1.5; }
.resume-actions { display: grid; gap: 8px; margin-top: auto; }
.resume-card .resume-actions a { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--ink); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .16s ease, color .16s ease; }
.resume-card .resume-actions a:hover { background: var(--ink); color: var(--paper-raised); }
.resume-card .resume-actions .resume-secondary { border-color: #8b989f; color: var(--ink-soft); }
.resume-card .resume-actions .resume-secondary:hover { border-color: var(--ink); color: var(--paper-raised); }

.contact { border-top: 1px solid #314957; background: var(--ink); color: var(--paper-raised); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: clamp(50px, 10vw, 150px); padding-block: 100px; }
.contact-kicker { margin: 0 0 22px; color: #e8aa53; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact h2 { max-width: 720px; margin: 0; font-family: var(--font-display), sans-serif; font-size: clamp(38px, 5vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; }
.contact-copy > p { margin: 0 0 30px; color: #b9c5ca; font-size: 16px; line-height: 1.72; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-actions a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid #536873; border-radius: 7px; color: #eef1f2; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.contact-actions a:hover { border-color: #8ea0a9; background: #193747; }
.contact-actions .contact-primary { grid-column: 1 / -1; min-height: 54px; border-color: var(--amber-bright); background: var(--amber-bright); color: var(--ink); font-size: 14px; }
.contact-actions .contact-primary:hover { border-color: #f0ae4f; background: #f0ae4f; }

footer { border-top: 1px solid #314957; background: var(--ink); color: #aebcc2; }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr .68fr; gap: 38px; }
  .hero h1 { font-size: clamp(40px, 6vw, 58px); }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div { padding: 12px 0; }
  .hero-meta div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .hero-proof { min-height: 540px; }
  .case-intro { grid-template-columns: 1fr; gap: 28px; }
  .stack { justify-content: flex-start; }
  .case-notes section { padding-right: 20px; }
  .case-notes section + section { padding-left: 20px; }
  .sofia-gallery { grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr); gap: 34px; padding: 34px; }
  .architecture ol { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .architecture li:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-grid { gap: 52px; }
  .skills-table { margin-top: -28px; }
  .resume-grid { grid-template-columns: 1fr 1fr; }
  .resume-heading { grid-column: 1 / -1; padding-right: 0; padding-bottom: 34px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 54px; }
}

@media (max-width: 740px) {
  .shell { width: min(100% - 40px, var(--shell)); }
  .nav { height: 64px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    min-width: 52px;
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav-panel {
    position: absolute;
    top: 49px;
    right: 0;
    width: 190px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 10px;
    background: var(--paper-raised);
    box-shadow: 0 18px 42px -24px rgba(16, 39, 53, .55);
  }
  .mobile-nav:not([open]) .mobile-nav-panel { display: none; }
  .mobile-nav-panel a { min-height: 46px; display: flex; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; text-decoration: none; }
  .mobile-nav-panel a:last-child { border-bottom: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 46px; padding-block: 64px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-lead { margin-top: 22px; font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-meta { margin-top: 34px; }
  .hero-proof { min-height: 570px; padding: 22px; }
  .phone-frame { width: min(240px, 76%); }
  .proof-strip-inner { grid-template-columns: 1fr; padding-block: 10px; }
  .proof-strip p { min-height: 50px; display: flex; align-items: center; padding: 10px 0; }
  .proof-strip p + p { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .section { padding-block: 80px; }
  .projects-intro { padding-bottom: 56px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .section-heading > p { max-width: 580px; }
  .case-inner { padding-block: 80px; }
  .case-header { align-items: flex-start; flex-direction: column; gap: 24px; }
  .case-header h2 { font-size: 58px; }
  .case-intro { padding-block: 38px 50px; }
  .case-lead { font-size: 21px; }
  .edge-comparison { grid-template-columns: 1fr; gap: 46px; padding: 42px 20px 26px; }
  .device-frame { width: min(100%, 300px); }
  .case-notes { grid-template-columns: 1fr; margin-top: 54px; }
  .case-notes section { padding: 26px 0; }
  .case-notes section + section { padding-left: 0; border-top: 1px solid; border-left: 0; }
  .note-number { margin-bottom: 20px; }
  .delivery-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .delivery-grid section { padding: 26px 22px; }
  .architecture { padding: 24px 20px; }
  .architecture ol { grid-template-columns: 1fr; gap: 0; }
  .architecture li, .architecture li:nth-child(3) { min-height: auto; padding: 16px 0; border-top: 1px solid #3b3946; border-left: 0; }
  .architecture li:first-child { border-top: 0; }
  .sofia-gallery { grid-template-columns: 1fr; gap: 46px; padding: 28px 20px; }
  .sofia-device { width: min(100%, 290px); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .skills-table { grid-column: auto; margin-top: 8px; }
  .timeline { margin-top: 46px; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; padding-block: 26px; }
  .resume-section { padding-block: 78px; }
  .resume-grid { grid-template-columns: 1fr; }
  .resume-heading { grid-column: auto; padding-bottom: 24px; }
  .resume-card { min-height: 390px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 78px; }
  .footer-inner { min-height: 88px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 5px; }
}

@media (max-width: 430px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .hero { padding-block: 52px; }
  .hero h1 { font-size: 38px; }
  .hero-proof { min-height: 520px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions .contact-primary { grid-column: auto; }
  .skills-table div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .skills-table strong { text-align: left; }
}

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

:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 3px; }
