:root {
  --ink: #17323d;
  --petrol: #075f64;
  --sand: #f4f1ea;
  --paper: #fbfaf6;
  --warm: #b46b32;
  --muted: #53666d;
  --rule: #c7d3d4;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.7; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--warm); outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 1rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(3.3rem, 6.5vw, 5.6rem); font-weight: 600; margin: 1rem 0 1.7rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 550; margin-bottom: 32px; }
h3 { font-size: 1.22rem; font-weight: 650; margin-bottom: .7rem; }
em { font-family: var(--serif); font-weight: 400; color: var(--petrol); }
strong { font-weight: 650; }
.section, header { width: min(1120px, 100%); margin: auto; padding: 76px 40px; }
header { padding-top: 26px; padding-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule); }
.brand { text-decoration: none; font-size: 1rem; font-weight: 650; white-space: nowrap; }
.brand small { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); }
nav { display: flex; gap: 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; text-decoration: none; }
nav a:hover { color: var(--petrol); text-decoration: underline; }
.skip { position: absolute; left: 12px; top: -80px; padding: 12px; background: white; z-index: 10; }
.skip:focus { top: 12px; }
.intro { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 70px; padding-top: 64px; }
.eyebrow { font-size: .73rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); margin-bottom: 18px; }
.lead { font-size: 1.3rem; color: var(--ink); line-height: 1.55; }
.intro-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.actions a, .offer { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
.button { padding: 10px 18px; background: var(--petrol); color: white; border-radius: 4px; text-decoration: none; }
.button:hover { background: var(--ink); }
.portrait { transform: rotate(2deg); }
.photo { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 5px; background: #e7e4db; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.placeholder { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; padding: 30px; color: var(--muted); text-align: center; font-size: .78rem; }
.initials { font-family: var(--serif); font-style: italic; font-size: 7rem; line-height: 1; color: var(--petrol); }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 13px; font-size: .7rem; }
figcaption span { color: var(--muted); }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.motivation { border-top: 1px solid var(--rule); }
.offer { margin-top: 18px; }
.connections { border-left: 2px solid #d8d7ca; padding-left: 30px; }
.connections article + article { margin-top: 26px; }
.connections p, .small-projects p { font-size: .94rem; color: var(--muted); }
.video-section { background: var(--ink); color: white; }
.video-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 64px; }
.video-section .eyebrow { color: #88c7c2; }
.video-section em { color: #a5d5d0; }
.video-section .section-intro { color: #c2cdd0; margin-bottom: 0; }
.video-frame { aspect-ratio: 16/9; overflow: hidden; border: 1px solid #47616a; border-radius: 6px; background: #10262f; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.video-frame video { display: block; width: 100%; height: 100%; background: #0f232b; }
.video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 30px; text-align: center; color: #c2cdd0; }
.video-placeholder p { font-size: .88rem; line-height: 1.55; }
.video-placeholder strong { color: white; }
.play-mark { display: grid; place-items: center; width: 68px; height: 68px; padding-left: 4px; border: 1px solid #88c7c2; border-radius: 50%; color: #a5d5d0; font-size: 1.25rem; }
.tinted { background: var(--sand); }
.section-intro { max-width: 640px; margin: -12px 0 32px; color: var(--muted); }
.project { max-width: 800px; }
.project h3 { font-size: 1.5rem; }
.status { display: inline-block; color: var(--petrol); border: 1px solid #9aafaa; border-radius: 30px; padding: 3px 12px; font-size: .72rem; margin-bottom: 15px; }
.project > p:not(.status) { color: var(--muted); }
.note { font-size: .85rem; border-left: 2px solid var(--warm); padding-left: 16px; }
.small-projects { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--rule); gap: 40px; }
.timeline article { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 28px 0; border-top: 1px solid var(--rule); }
.date { font-size: .86rem; color: var(--petrol); }
.date small { display: block; color: var(--muted); font-size: .78rem; margin-top: 5px; }
.timeline p { color: var(--muted); }
.profile-details { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 20px; }
.skills { padding: 28px; background: var(--sand); border-radius: 4px; }
.skills p { font-size: .93rem; color: var(--muted); }
.languages p { display: inline-block; min-width: 46%; }
.personal { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; padding-top: 20px; }
.personal h2 { margin-bottom: 24px; }
.personal p:not(.eyebrow) { color: var(--muted); }
.interest-panel { aspect-ratio: 1; overflow: hidden; border-radius: 5px; background: #e2e9e3; transform: rotate(-1deg); }
.interest-panel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.contact { background: #e5eeea; }
.contact .section { padding-top: 52px; padding-bottom: 52px; }
.contact h2 { margin-bottom: 18px; }
.contact p:not(.eyebrow) { color: var(--muted); }
.email { display: inline-block; margin-top: 24px; font-size: clamp(1rem, 2.6vw, 1.6rem); overflow-wrap: anywhere; max-width: 100%; }
.contact .actions { margin-top: 12px; }
footer { padding: 24px; text-align: center; font-size: .73rem; color: var(--muted); }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 48px 24px; }
  header { padding: 20px 24px; flex-wrap: wrap; gap: 12px; }
  nav { gap: 8px 20px; flex-wrap: wrap; }
  nav a { font-size: .78rem; }
  .intro { grid-template-columns: 1fr; gap: 26px; padding-top: 36px; }
  .intro-copy { display: contents; }
  .intro .eyebrow { grid-row: 1; margin: 0; }
  .intro h1 { grid-row: 2; margin: 0; font-size: clamp(3rem, 10vw, 4.8rem); }
  .portrait { grid-row: 3; width: min(330px, 90%); justify-self: center; margin: 4px 0 8px; transform: rotate(1deg); }
  .portrait .photo { aspect-ratio: 5/4; }
  .intro .lead, .intro p + p, .intro .actions { margin: 0; }
  .intro .actions { gap: 12px 20px; }
  .columns, .personal, .video-layout, .profile-details { grid-template-columns: 1fr; gap: 30px; }
  .connections { padding-left: 20px; }
  .timeline article { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .skills { padding: 22px; }
  .personal { padding-top: 16px; }
  .interest-panel { width: min(420px, 100%); aspect-ratio: 4/3; justify-self: center; }
  .contact .section { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
