/* Self-hosted, so no visitor request goes to Google (licences in fonts/OFL-*.txt). Latin subset. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --ink: #15212b;
  --ink-soft: #56636e;
  --line: #d9dfe4;
  --atlantic: #1d3447;
  --atlantic-2: #2c4a62;
  --accent: #4d7590;
  --mist: #8fa4b3;
  --sky-1: #cfd8df;
  --sky-2: #eef1f4;
  --hill-far: #a9b6c0;
  --hill-mid: #7b8c99;
  --hill-near: #4c5c69;
  --sea: #2c4a62;
  --sea-light: #3d5d75;
  --focus: #4d7590;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e161d;
    --surface: #15202a;
    --ink: #e6ecf0;
    --ink-soft: #9aa9b4;
    --line: #26343f;
    --atlantic: #c3d4e0;
    --atlantic-2: #dbe5ec;
    --accent: #85a8c1;
    --mist: #5f7383;
    --sky-1: #16222c;
    --sky-2: #1e2c38;
    --hill-far: #2b3a46;
    --hill-mid: #23313c;
    --hill-near: #1a252e;
    --sea: #13212b;
    --sea-light: #1a2d3a;
    --focus: #85a8c1;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 16px;
}
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 6px; }

nav.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  position: relative;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  color: var(--atlantic);
}
.brand svg { width: 30px; height: 30px; flex: none; }
nav.top ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}
nav.top ul a { text-decoration: none; color: var(--ink-soft); }
nav.top ul a:hover { color: var(--ink); }
@media (max-width: 480px) { nav.top ul { gap: 14px; font-size: 14px; } }

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 70%);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 48px 220px;
  max-width: 680px;
}
@media (min-width: 720px) { .hero-copy { padding-block: 72px 300px; } }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--atlantic);
  text-wrap: balance;
}
h1 em { font-style: italic; color: var(--accent); }
.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.landscape {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 260px;
  display: block;
}
@media (min-width: 720px) { .landscape { height: 340px; } }
.landscape .far { fill: var(--hill-far); }
.landscape .mid { fill: var(--hill-mid); }
.landscape .near { fill: var(--hill-near); }
.landscape .sea { fill: var(--sea); }
.landscape .sea-light { fill: var(--sea-light); }
.landscape .swell { fill: none; stroke: var(--mist); stroke-width: 1; opacity: 0.45; }

section { padding-block: 72px; }
@media (min-width: 720px) { section { padding-block: 96px; } }
.section-head { margin-bottom: 36px; max-width: 640px; }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--atlantic);
}
.section-head p { margin: 0; color: var(--ink-soft); }

.projects {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .projects { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }

.project {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-art {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
}
.project-art svg { width: 100%; height: 100%; display: block; }
.art-darts { background: #1d3447; }
.art-advent { background: #24394b; }
.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.project h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}
.project p { margin: 0; color: var(--ink-soft); }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tags li {
  font-size: 13px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--ink);
}
.features {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
}
.features li { margin-block: 2px; }
.project-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--atlantic);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.note { font-size: 14px; color: var(--ink-soft); }
.button.secondary {
  background: transparent;
  color: var(--atlantic);
  box-shadow: inset 0 0 0 1.5px var(--atlantic);
}
.about-links { margin-top: 24px; }

.next {
  margin-top: 24px;
  border: 1.5px dashed var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--ink-soft);
}
.next svg { width: 40px; height: 40px; flex: none; color: var(--accent); }
.next p { margin: 0; }

.about {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 820px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.about p { margin: 0 0 16px; text-wrap: pretty; }
.name-parts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.name-parts li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg);
}
.name-parts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--atlantic);
}
.name-parts span { color: var(--ink-soft); font-size: 15px; }
.name-parts svg { width: 44px; height: 44px; }

footer {
  padding-block: 40px;
  color: var(--ink-soft);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
