@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jbm-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jbm-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jbm-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jbm-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jbm-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jbm-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Used only on the closing tagline strip, which mixes fonts on purpose. */
@font-face {
  font-family: "Fira Code";
  src: url("../assets/fonts/fira-code-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Stand-in for Codec Pro (a commercial Lineto font we don't have a license
   to embed) — closest open-source match for its geometric, single-story
   lowercase a/g. Swap in real Codec Pro woff2 files here if you have a
   license for them. */
@font-face {
  font-family: "Codec Pro Alt";
  src: url("../assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Codec Pro Alt";
  src: url("../assets/fonts/poppins-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0219b6;
  --blue-deep: #01138f;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.22);
  --dim: rgba(255, 255, 255, 0.55);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 6vw, 72px);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  background: var(--blue);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--blue);
  padding: 10px 16px;
  z-index: 100;
  font-size: 12px;
}

.skip-link:focus {
  left: var(--gutter);
  top: 10px;
}

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

p { margin: 0; }

.eyebrow {
  text-transform: lowercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  color: var(--white);
}

.caps { text-transform: uppercase; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blue);
  border-bottom: 1px solid var(--line);
}

.nav-list {
  display: flex;
  gap: clamp(16px, 5.2vw, 88px);
  align-items: center;
  padding: clamp(16px, 2.2vh, 28px) var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-list a {
  font-size: clamp(12px, 1.9vw, 30px);
  color: var(--dim);
  transition: color 0.2s ease, opacity 0.2s ease;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}

.nav-list a:hover { color: var(--white); }

.nav-list a.is-active {
  color: var(--white);
  font-weight: 700;
  border-bottom-color: var(--white);
}

/* ---------- SECTION BASE ---------- */
.section {
  padding: clamp(64px, 11vh, 120px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 56px;
  text-transform: lowercase;
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  min-height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(40px, 6vh, 80px);
  padding-bottom: clamp(40px, 6vh, 80px);
}

.hero-title {
  font-size: clamp(36px, 6.8vw, 150px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(40px, 7vh, 96px);
  text-transform: lowercase;
}

.hero-foot {
  position: relative;
  text-align: left;
  min-height: clamp(90px, 10vw, 150px);
}

.hero-note-text {
  max-width: 420px;
  font-size: clamp(13px, 2vw, 32px);
  line-height: 1.75;
}

.hero-note-text em {
  font-style: italic;
}

.hero-arrow {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: clamp(26px, 2vw, 42px);
  color: var(--white);
  animation: bob 2.6s ease-in-out infinite;
}

.hero-arrow svg { display: block; width: 100%; height: auto; }

.sketch-arrow {
  display: inline-block;
  width: clamp(22px, 1.6vw, 34px);
  color: var(--white);
  animation: bob 2.6s ease-in-out infinite;
}

.sketch-arrow svg { display: block; width: 100%; height: auto; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- EXPERIMENTS OVERVIEW ---------- */
.experiments-overview {
  min-height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
}

.experiments-overview .eyebrow {
  font-size: clamp(13px, 2.3vw, 40px);
}

.overview-row {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}

.overview-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
  text-align: center;
}

@media (min-width: 1000px) {
  .experiments-overview { align-items: flex-start; }
  .overview-list a { white-space: nowrap; }
  .overview-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.overview-list a {
  font-size: clamp(22px, 3.4vw, 68px);
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.overview-list a:hover {
  opacity: 0.72;
  transform: translateX(4px);
}

.overview-aside-list a { opacity: 0.78; }

.overview-aside-list a:hover { opacity: 1; }

/* ---------- EXPERIMENTS ---------- */
.experiments { padding-top: clamp(40px, 7vh, 72px); }

.project {
  padding-top: clamp(48px, 8vh, 88px);
  padding-bottom: clamp(48px, 8vh, 88px);
  border-top: 1px solid var(--line);
}

.project:first-child { border-top: none; }

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.project-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.project-intro {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.92);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.project-list li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.project-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: opacity 0.2s ease;
}

.project-list a:hover {
  opacity: 0.72;
}

.project-media { max-width: 440px; }

.project-shot {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #000f66;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.project-shot img { width: 100%; height: auto; display: block; }

.project-shot--placeholder {
  aspect-ratio: 600 / 341;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #15120e 0%, #241d14 55%, #3a2a1c 100%);
}

.project-shot--light {
  background: linear-gradient(160deg, #faf7f2 0%, #f5f0e8 55%, #ecd9ca 100%);
}

.project-shot--light .placeholder-art { color: #c1694f; }

.placeholder-art {
  font-family: var(--mono);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 600;
  color: #e4d9c4;
  text-align: center;
}

.project-shot:hover,
.project-shot:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.55);
}

.visit-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--blue);
  padding: 5px 9px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-shot:hover .visit-tag,
.project-shot:focus-visible .visit-tag {
  opacity: 1;
  transform: translateY(0);
}

.project-caption {
  margin-top: 14px;
  font-size: 11px;
  font-style: italic;
  color: var(--dim);
  line-height: 1.6;
}

/* ---------- TAGLINE STRIP ---------- */
.tagline {
  max-width: none;
  padding-top: clamp(50px, 9vh, 96px);
  padding-bottom: clamp(50px, 9vh, 96px);
  position: relative;
  overflow-x: hidden;
}

.tag {
  font-weight: 700;
  font-size: clamp(16px, 5.1vw, 92px);
  margin: 6px 0;
  white-space: nowrap;
}

/* what About this? / kinda fire? — JetBrains Mono (site default), bold */
.tag.l1 { margin-left: 1.9vw; }
.tag.l2 { margin-left: 10.5vw; font-size: clamp(16px, 5.4vw, 96px); }

/* anett's homepage / I like it — Fira Code */
.tag.l3,
.tag.l4 {
  font-family: "Fira Code", var(--mono);
  font-weight: 400;
}
.tag.l3 { margin-left: 18.2vw; font-size: clamp(16px, 5.1vw, 92px); }
.tag.l4 { margin-left: 30vw; font-size: clamp(16px, 5.4vw, 96px); }

/* I kinda like it / Anett's homepage — Codec Pro (see @font-face note) */
.tag.l5,
.tag.l6 {
  font-family: "Codec Pro Alt", ui-sans-serif, system-ui, sans-serif;
}
.tag.l5 { margin-left: 8.2vw; font-weight: 500; font-size: clamp(17px, 5.6vw, 100px); }
.tag.l6 { margin-left: 0; font-weight: 800; font-size: clamp(20px, 6.8vw, 122px); }

.tag-aside {
  margin-top: 28px;
  text-align: right;
  font-size: 10px;
  color: var(--dim);
}

/* ---------- ABOUT ---------- */
.about-intro {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.about-text {
  font-size: 15px;
  line-height: 1.75;
  max-width: 62ch;
}

.polaroid {
  margin: 0;
  background: #f2f1ec;
  padding: 10px 10px 28px;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: rotate(-2.5deg);
  width: min(260px, 70vw);
  align-self: center;
}

.polaroid img {
  width: 100%;
  height: auto;
  display: block;
}

.story-continues {
  margin: 8px 0 56px;
  font-size: 13px;
  color: var(--dim);
}

.story-continues .sketch-arrow {
  display: block;
  margin-top: 10px;
}

.past-life {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.past-life-text p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 56ch;
}

.stats-label {
  font-size: 13px;
  margin-bottom: 14px;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.planett-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 72px;
}

.planett-link {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.annotation {
  font-size: 12px;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.annotation-arrow { font-size: 16px; }

.reading-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.reading-label {
  font-size: 13px;
  margin-bottom: 16px;
}

.reading-cover-link {
  display: block;
  width: min(220px, 60vw);
  margin: 0 auto;
  transition: transform 0.25s ease;
}

.reading-cover-link:hover,
.reading-cover-link:focus-visible {
  transform: translateY(-4px);
}

.reading-cover {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.reading-link {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- WORK WITH ME ---------- */
.work-dek {
  font-size: clamp(17px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  max-width: 46ch;
  margin: 0 0 40px;
}

.work-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 64ch;
  margin-bottom: 64px;
}

.work-intro p {
  font-size: 15px;
  line-height: 1.75;
}

.work-section {
  margin-bottom: 64px;
}

.work-section:last-child {
  margin-bottom: 0;
}

.work-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.work-feature-title {
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.work-feature p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
}

.work-text {
  font-size: 13px;
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 16px;
}

.work-text:last-child {
  margin-bottom: 0;
}

.work-cta-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- CONTACT ---------- */
.contact-body { max-width: 560px; }

.contact-label {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 18px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.linkedin-link:hover { opacity: 0.8; }

.li-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.78em;
  height: 0.78em;
  background: var(--white);
  color: var(--blue);
  border-radius: 0.14em;
  flex: none;
}

.contact-note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--dim);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
  text-align: center;
}

/* ---------- RESPONSIVE: TABLET+ ---------- */
@media (min-width: 720px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .project-media { justify-self: end; }

  .work-features {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }

  .about-intro {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .polaroid { align-self: flex-start; }

  .past-life {
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
  }
}

@media (min-width: 1000px) {
  .nav-list { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-arrow, .sketch-arrow { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
