/* Self-hosted fonts (SIL Open Font License) */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/big-shoulders-display-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/big-shoulders-display-latin-900-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/caveat-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/caveat-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-600-normal.woff2') format('woff2');
}

/* ─────────────────────────────────────────────────────────────
   Akshita — indigo zine
   Duotone collage photos, hand-drawn doodles, poster type,
   a little ML humour in monospace. Marigold only for sparks.
   ───────────────────────────────────────────────────────────── */

:root {
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --ink: #16133f;
  --ink-soft: #4a4770;
  --indigo: #3d33d6;
  --indigo-deep: #241c9e;
  --indigo-soft: #dcd9f7;
  --marigold: #f4b63f;

  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --body: 'Work Sans', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ticker-h: 34px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
p,
h1,
h2,
h3,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
::selection {
  background: var(--indigo);
  color: var(--paper);
}
:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  top: 44px;
}

.mono {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.small {
  font-size: 0.72rem;
}
.hand {
  font-family: var(--hand);
  color: var(--indigo);
  line-height: 1.05;
}
.poster {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
  font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem);
  color: var(--indigo);
}
.poster.big {
  font-size: clamp(3.4rem, 2rem + 7vw, 8.5rem);
}

.bracket-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--indigo);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.bracket-link::before {
  content: '[ ';
}
.bracket-link::after {
  content: ' ]';
}
.bracket-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── Ticker ────────────────────────────────────────────────── */

.ticker {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--ticker-h);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.ticker-track span {
  padding: 0 18px;
}
.ticker-track i {
  color: var(--marigold);
  font-style: normal;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ─── Header & menu ─────────────────────────────────────────── */

.top {
  position: sticky;
  top: var(--ticker-h);
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  background: rgba(244, 242, 236, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.logo {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--indigo);
  text-decoration: none;
  line-height: 1;
  position: relative;
}
.logo::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marigold);
}
.menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--indigo);
  display: grid;
  place-content: center;
  gap: 6px;
  position: relative;
  z-index: 60;
}
.menu-btn .bar {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.25s ease;
}
.menu-btn[aria-expanded='true'] .bar:first-of-type {
  transform: translateY(4.25px) rotate(45deg);
}
.menu-btn[aria-expanded='true'] .bar:last-of-type {
  transform: translateY(-4.25px) rotate(-45deg);
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--indigo);
  display: grid;
  place-items: center;
  animation: menu-in 0.3s ease;
}
.menu[hidden] {
  display: none;
}
.menu ol {
  counter-reset: m;
}
.menu li {
  counter-increment: m;
}
.menu a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1;
  color: var(--paper);
  text-decoration: none;
}
.menu a::before {
  content: '0' counter(m);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--marigold);
}
.menu a:hover {
  color: var(--marigold);
}
@keyframes menu-in {
  from {
    clip-path: circle(0 at calc(100% - 40px) 80px);
  }
  to {
    clip-path: circle(150% at calc(100% - 40px) 80px);
  }
}

/* ─── Photo cards (shared) ──────────────────────────────────── */

.photo-card {
  position: relative;
  background: var(--paper);
  padding: 10px 10px 34px;
  box-shadow: 0 2px 0 rgba(22, 19, 63, 0.08), 0 24px 40px -22px rgba(22, 19, 63, 0.55);
  transition: transform 0.35s ease;
}
.photo-card img {
  width: 100%;
}
.tilt-r {
  transform: rotate(3deg);
}
.tilt-l {
  transform: rotate(-3.5deg);
}
.photo-card:hover {
  transform: rotate(0deg) scale(1.01);
}
.duo {
  transition: opacity 0.3s ease;
}

.doodle {
  position: absolute;
  pointer-events: none;
  fill: none;
  stroke: var(--indigo);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.doodle circle {
  fill: var(--marigold);
  stroke: none;
}

/* ─── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(calc(100vh - var(--ticker-h) - 76px), 820px);
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px) 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 0 clamp(12px, 3vw, 40px);
  padding: 10px var(--gutter) 60px;
}
.hero-type {
  display: contents;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.82;
  color: var(--indigo);
}
.hero-hello {
  grid-column: 1;
  grid-row: 1 / 3;
  justify-self: end;
  align-self: center;
  font-size: clamp(4rem, 1.5rem + 9vw, 10rem);
  z-index: 2;
}
.hero-meet {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  margin-bottom: 0.9em;
  z-index: 3;
  font-family: var(--hand);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem);
  transform: rotate(-6deg);
  margin-right: calc(clamp(40px, 7vw, 120px) - 6px);
}
.hero-name {
  grid-column: 3;
  grid-row: 3;
  justify-self: start;
  font-size: clamp(4.4rem, 1.5rem + 10vw, 11.5rem);
  margin-left: calc(-1 * clamp(40px, 7vw, 120px));
  z-index: 2;
  letter-spacing: -0.01em;
}
.hero-photo {
  grid-column: 2;
  grid-row: 1 / 4;
  position: relative;
  width: 100%;
  z-index: 1;
}
.doodle-hero {
  inset: -30px -34px -30px -34px;
  width: calc(100% + 68px);
  height: calc(100% + 60px);
}
.note-hero {
  position: absolute;
  right: -230px;
  top: -34px;
  font-size: 1.45rem;
  transform: rotate(6deg);
  width: 200px;
}
.note-hero::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 34px;
  width: 34px;
  height: 22px;
  border-left: 2.5px solid var(--indigo);
  border-bottom: 2.5px solid var(--indigo);
  border-radius: 0 0 0 22px;
  transform: rotate(20deg);
}
.hero-side {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  padding-top: 40px;
  max-width: 320px;
}
.typing {
  color: var(--indigo);
  min-height: 1.6em;
  margin-bottom: 14px;
}
.caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  vertical-align: -2px;
  margin-left: 2px;
  background: var(--marigold);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 30ch;
}

/* page-load sequence: the one orchestrated moment */
.is-loading .hero-hello {
  transform: translateX(-40px);
  opacity: 0;
}
.is-loading .hero-name {
  transform: translateX(40px);
  opacity: 0;
}
.is-loading .hero-photo {
  transform: translateY(-30px) rotate(-8deg);
  opacity: 0;
}
.is-loading .hero-meet,
.is-loading .hero-side,
.is-loading .note-hero {
  opacity: 0;
}
.hero-hello,
.hero-name,
.hero-photo,
.hero-meet,
.hero-side,
.note-hero {
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s ease;
}
.hero-photo {
  transition-delay: 0.1s;
}
.hero-name {
  transition-delay: 0.25s;
}
.hero-meet,
.hero-side,
.note-hero {
  transition-delay: 0.6s;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
    padding-top: 0;
    gap: 0;
  }
  .hero-hello,
  .hero-meet,
  .hero-name,
  .hero-photo,
  .hero-side {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .hero-hello {
    order: 1;
    font-size: clamp(4.4rem, 22vw, 7rem);
  }
  .hero-meet {
    order: 2;
  }
  .hero-photo {
    order: 3;
  }
  .hero-name {
    order: 4;
  }
  .hero-side {
    order: 5;
  }
  .hero-meet {
    margin: -6px 0 0 6px;
    align-self: start;
    justify-self: start;
  }
  .hero-photo {
    width: min(76%, 320px);
    justify-self: center;
    margin: 30px 0 0;
  }
  .hero-name {
    justify-self: end;
    margin: -46px 0 0;
    font-size: clamp(4.6rem, 25vw, 8rem);
  }
  .note-hero {
    left: auto;
    right: -18px;
    top: -58px;
    bottom: auto;
    width: 150px;
    transform: rotate(5deg);
    font-size: 1.15rem;
    text-align: right;
  }
  .note-hero::before {
    display: none;
  }
  .hero-side {
    margin-top: 26px;
    max-width: none;
    padding-top: 0;
  }
}

/* ─── Intro + rolling words ─────────────────────────────────── */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  align-items: start;
}
.intro-left {
  position: sticky;
  top: 140px;
}
.intro-lede {
  margin-top: 22px;
  font-weight: 600;
  font-size: 1.15rem;
}
.intro-text {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 52ch;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 28px 0 22px;
  max-width: 460px;
}
.stats div {
  border-top: 2px solid var(--ink);
  padding-top: 8px;
}
.stats dt {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--indigo);
}
.stats dd {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.roll ul {
  padding: 18vh 0;
}
.roll li {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 1.4rem + 4vw, 5.6rem);
  line-height: 0.95;
  color: var(--ink);
  transition: filter 0.2s linear, opacity 0.2s linear;
  will-change: filter, opacity;
}
@media (max-width: 860px) {
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-left {
    position: static;
  }
  .roll ul {
    padding: 4vh 0 0;
  }
}

/* ─── Work collage ──────────────────────────────────────────── */

.work {
  padding: clamp(40px, 8vw, 100px) var(--gutter) clamp(60px, 10vw, 140px);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(30px, 5vw, 60px);
}
.work-hint {
  font-size: 1.6rem;
  transform: rotate(-3deg);
}
.collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.proj {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: none;
  padding: 18px 18px 20px;
  background: var(--indigo);
  color: var(--paper);
  min-height: 380px;
  box-shadow: 0 26px 40px -26px rgba(22, 19, 63, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proj:nth-child(3n + 1) {
  transform: rotate(-2deg);
}
.proj:nth-child(3n + 2) {
  transform: rotate(1.5deg) translateY(36px);
}
.proj:nth-child(3n + 3) {
  transform: rotate(-1deg) translateY(-10px);
}
.proj:nth-child(even) {
  background: var(--indigo-deep);
}
.proj:hover,
.proj:focus-visible {
  transform: rotate(0) translateY(-6px);
  z-index: 2;
  box-shadow: 0 34px 50px -24px rgba(22, 19, 63, 0.8);
}
.proj .tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 90px;
  height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(244, 182, 63, 0.85);
}
.proj .proj-note {
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 26ch;
}
.proj .art {
  flex: 1;
  display: grid;
  place-items: center;
  margin: 14px 0;
  min-height: 170px;
}
.proj .art svg {
  width: min(70%, 200px);
  height: auto;
  fill: none;
  stroke: var(--paper);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.proj .art svg .dot {
  fill: var(--marigold);
  stroke: none;
}
.proj .art img {
  width: 100%;
  border: 6px solid var(--paper);
  transform: rotate(2deg);
  box-shadow: 0 14px 24px -14px rgba(0, 0, 0, 0.6);
}
.proj h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.3rem;
  line-height: 0.9;
}
.proj .proj-date {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  opacity: 0.75;
}
.proj .live-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--marigold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 999px;
}
@media (max-width: 960px) {
  .collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proj:nth-child(n) {
    transform: rotate(-1deg);
  }
  .proj:nth-child(even) {
    transform: rotate(1.2deg) translateY(24px);
  }
}
@media (max-width: 600px) {
  .collage {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .proj:nth-child(n) {
    transform: rotate(-1.2deg);
    min-height: 0;
  }
  .proj:nth-child(even) {
    transform: rotate(1.2deg);
  }
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(22, 19, 63, 0.55);
  animation: fade 0.2s ease;
}
.modal[hidden] {
  display: none;
}
.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--paper);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  animation: pop 0.25s ease;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: none;
  font-size: 1.5rem;
  line-height: 1;
}
.modal h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 0.9;
  color: var(--indigo);
  padding-right: 40px;
}
.modal .m-note {
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--indigo);
  margin: 8px 0 16px;
}
.modal .m-desc {
  max-width: 62ch;
}
.modal img {
  margin: 0 0 18px;
  border: 1px solid var(--paper-2);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.tags li {
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}
.m-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--indigo);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}
.btn.ghost {
  background: none;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn:hover {
  background: var(--indigo-deep);
  color: var(--paper);
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    transform: translateY(16px) rotate(-1deg);
    opacity: 0;
  }
}

/* ─── Experience ────────────────────────────────────────────── */

.experience {
  padding: clamp(40px, 8vw, 100px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.timeline {
  border-left: 2px dashed var(--indigo);
  padding-left: 28px;
}
.timeline li {
  position: relative;
  padding-bottom: 34px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--indigo);
}
.timeline li:first-child::before {
  background: var(--marigold);
}
.timeline .t-date {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--indigo);
}
.timeline h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.9rem;
  line-height: 1;
  margin: 2px 0 2px;
}
.timeline .t-place {
  font-weight: 600;
}
.timeline ul {
  margin-top: 8px;
  color: var(--ink-soft);
}
.timeline ul li {
  padding: 0 0 4px 16px;
}
.timeline ul li::before {
  content: '';
  left: 0;
  top: 11px;
  width: 7px;
  height: 2px;
  border: none;
  border-radius: 0;
  background: var(--indigo);
}
@media (max-width: 860px) {
  .experience {
    grid-template-columns: 1fr;
  }
}

/* ─── About ─────────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  align-items: center;
}
.about-photo {
  position: relative;
  max-width: 420px;
}
.scribble {
  position: absolute;
  font-size: 1.5rem;
  white-space: nowrap;
}
.s1 {
  top: 8%;
  right: -40px;
  transform: rotate(8deg);
  background: var(--paper);
  padding: 2px 8px;
}
.s2 {
  bottom: -46px;
  left: 10px;
  transform: rotate(-4deg);
}
.doodle-about {
  width: 70px;
  height: 70px;
  left: -36px;
  top: -30px;
  stroke: var(--marigold);
  fill: var(--marigold);
}
.about-text > p,
#aboutParas p {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--ink-soft);
}
#aboutParas p:first-child {
  color: var(--ink);
  font-size: 1.12rem;
}
.skills {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}
.skills h3 {
  font-family: var(--hand);
  font-size: 1.6rem;
  color: var(--indigo);
  line-height: 1;
  margin-bottom: 8px;
}
.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skills li {
  font-size: 0.84rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--indigo-soft);
}
.extras {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
}
.extras li::before {
  content: '★ ';
  color: var(--marigold);
}
@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-photo {
    width: min(80%, 340px);
    margin: 0 auto 30px;
  }
  .s1 {
    right: -24px;
    font-size: 1.25rem;
  }
}
@media (max-width: 520px) {
  .skills {
    grid-template-columns: 1fr;
  }
}

/* ─── FAQ ───────────────────────────────────────────────────── */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  background: var(--paper-2);
}
.faq .poster.big {
  font-size: clamp(3rem, 1.6rem + 4.6vw, 6.8rem);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
  counter-reset: q;
}
.faq-grid div {
  counter-increment: q;
}
.faq-grid dt {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.7rem;
  line-height: 1;
}
.faq-grid dt::before {
  content: 'q' counter(q, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--indigo);
  margin-bottom: 6px;
  text-transform: none;
}
.faq-grid dd {
  margin-top: 8px;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .faq {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA scribble ──────────────────────────────────────────── */

.cta {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 80px var(--gutter);
}
.scribble-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  font-family: var(--hand);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--indigo);
  opacity: 0.22;
  white-space: nowrap;
  transform: rotate(-4deg) scale(1.15);
}
.scribble-bg span {
  display: block;
}
.scribble-bg span:nth-child(even) {
  margin-left: -120px;
}
.cta-words {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 clamp(16px, 4vw, 60px);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.85;
  font-size: clamp(3.4rem, 1.5rem + 9vw, 10rem);
  color: var(--indigo);
}
.cta-words .w {
  background: var(--paper);
  padding: 0 0.08em;
}
.w1 {
  transform: rotate(-5deg);
}
.w2 {
  transform: rotate(3deg) translateY(10px);
  justify-self: end;
}
.w3 {
  grid-column: 1 / -1;
  justify-self: center;
  transform: rotate(-2deg);
}
.w4 {
  grid-column: 1 / -1;
  justify-self: end;
  transform: rotate(4deg);
  color: var(--paper);
  background: var(--indigo) !important;
}
.cta-btn {
  position: relative;
  margin-top: 28px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--marigold);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--marigold);
}

/* ─── Footer ────────────────────────────────────────────────── */

.foot {
  position: relative;
  overflow: hidden;
  padding: 70px var(--gutter) 0;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 1;
}
.logo-foot {
  display: inline-block;
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.foot p {
  color: var(--ink-soft);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 10px;
}
.foot-links a {
  font-family: var(--mono);
  font-size: 0.82rem;
  text-transform: lowercase;
  text-decoration: none;
  border-bottom: 2px solid var(--indigo-soft);
}
.foot-links a:hover {
  border-color: var(--indigo);
}
.foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  text-align: right;
}
.foot-slogan {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(4rem, 16vw, 17rem);
  line-height: 0.75;
  white-space: nowrap;
  color: var(--indigo);
  opacity: 0.09;
  margin-top: 30px;
  transform: translateY(14%);
  text-align: center;
}
@media (max-width: 600px) {
  .foot-right {
    align-items: flex-start;
    text-align: left;
  }
}

/* ─── Floating mail button & cursor ─────────────────────────── */

.mail-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--indigo);
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  box-shadow: 0 14px 24px -12px rgba(22, 19, 63, 0.7);
  transition: transform 0.2s ease;
}
.mail-fab:hover {
  transform: rotate(0) scale(1.06);
}
.mail-fab svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.mail-fab::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--marigold);
  border: 3px solid var(--paper);
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--indigo);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: multiply;
  display: none;
}
.cursor.big {
  width: 42px;
  height: 42px;
  background: var(--marigold);
}
@media (pointer: fine) {
  .cursor {
    display: block;
  }
}

@media (max-width: 600px) {
  .mail-fab {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
    border-radius: 15px;
  }
  .mail-fab svg {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .roll li {
    filter: none !important;
    opacity: 1 !important;
  }
  .cursor {
    display: none !important;
  }
}
