@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --bg: #e9e8e4; --ink: #26251e; --muted: #6a685e; --line: #cfcdc6; --accent: #2456d6; --r: 999px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; overflow-x: hidden; margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
#bubbles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nav, main, .foot { position: relative; z-index: 1; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }
.nav { position: sticky; top: 0; z-index: 5; background: rgba(233,232,228,.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 600; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
nav a { margin-left: 24px; font-size: 15px; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }
.hero { padding-top: clamp(72px, 14vh, 150px); padding-bottom: clamp(72px, 12vh, 130px); }
.kicker { margin: 0 0 20px; font-size: 15px; color: var(--muted); }
h1 { margin: 0; font-size: clamp(48px, 9vw, 104px); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.lead { max-width: 560px; margin: 28px 0 36px; font-size: clamp(18px, 2vw, 22px); color: #3d3c33; }
.links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border: 1px solid var(--ink); border-radius: var(--r); font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn--fill { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--fill:hover { background: #1b45b3; border-color: #1b45b3; color: #fff; }
.block { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
h2 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.list, .facts { margin: 0; padding: 0; list-style: none; }
.list li, .facts > div { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.list li:last-child, .facts > div:last-child { border-bottom: 0; margin: 0; padding: 0; }
.list__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.tag { font-size: 13px; color: var(--accent); }
.list p, dd { margin: 8px 0 0; color: #3d3c33; max-width: 600px; }
dt { font-size: 19px; font-weight: 500; }
dd { margin-left: 0; }
.foot { padding: 72px 0 40px; border-top: 1px solid var(--line); }
.foot h2 { margin-bottom: 24px; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.03em; }
.small { margin: 48px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .block { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; } nav a { margin-left: 16px; } }

/* sections as cards so bubbles never sit behind text */
.hero, .block, .foot .wrap {
  width: calc(100% - 48px); max-width: 1040px; margin: 0 auto 24px;
  background: rgba(240,239,235,.95); border: 1px solid var(--line); border-radius: 28px;
  padding: 56px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.hero { margin-top: 32px; padding-top: clamp(56px, 10vh, 100px); padding-bottom: clamp(56px, 9vh, 90px); }
.block { border-top: 1px solid var(--line); }
.foot { border-top: 0; padding: 0 0 24px; }
.foot .wrap { padding: 56px; }
@media (max-width: 720px) {
  .hero, .block, .foot .wrap { padding: 28px 22px; border-radius: 22px; width: calc(100% - 32px); }
  .hero { padding-top: 44px; padding-bottom: 44px; }
  .block { padding-top: 32px; padding-bottom: 32px; }
}


/* projects with a photo collage beside the list */
.block--proj { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 24px 48px; }
.proj__text h2 { margin-bottom: 32px; }
.collage { position: sticky; top: 88px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 10px; padding-top: 8px; }
.shot { margin: 0; background: #fbfaf7; padding: 8px 8px 6px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(38,37,30,.12); transition: transform .3s; }
.shot img { display: block; width: 100%; height: auto; border-radius: 5px; }
.shot figcaption { margin-top: 5px; font-size: 12px; color: var(--muted); }
.s1 { grid-column: 1 / 5; transform: rotate(-2.5deg); }
.s2 { grid-column: 2 / 7; transform: rotate(1.8deg); margin-top: -6px; }
.s3 { grid-column: 1 / 4; transform: rotate(2.2deg); }
.s4 { grid-column: 4 / 7; transform: rotate(-1.8deg); margin-top: 18px; }
.shot:hover { transform: rotate(0) scale(1.03); z-index: 2; }
@media (max-width: 900px) { .block--proj { grid-template-columns: 1fr; } .collage { position: static; } }

.chips, .certs { list-style: none; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 16px; font-weight: 500; background: rgba(255,255,255,.5); }
.sub { margin: 36px 0 12px; font-size: 18px; }
.certs li { padding: 12px 0; border-top: 1px solid var(--line); color: #3d3c33; }
.certs li:last-child { border-bottom: 1px solid var(--line); }
