:root {
  /* ─── PALETTE — Figma node 32:12 ──────────────────────────
     Sampled directly from the design render. The v2 cream/pink
     palette is gone: the page is now white paper + black ink,
     with the illustrations carrying all the colour. */
  --paper:      #FFFFFF;   /* page background */
  --ink:        #000000;   /* all type */
  --pine:       #1B2926;   /* forest silhouette + dark panels */
  --sand:       #E9DFD3;   /* Fun Projects card fill */
  --olive:      #758067;   /* dashed card border */
  --sage:       #D4E0CF;   /* About photo-rail panel */
  --postcard:   #F8F4E8;   /* postcard paper (matches postcard.jpg) */

  /* Postcard stamp swatches — one per destination */
  --stamp-blue:      #B4CDE1;
  --stamp-terracotta:#A46253;
  --stamp-green:     #559A55;
  --stamp-pink:      #E1B4B4;

  /* Ink alphas — for rules, muted copy, hairlines */
  --ink-70:  rgba(0,0,0,0.70);
  --ink-50:  rgba(0,0,0,0.50);
  --ink-25:  rgba(0,0,0,0.25);
  --ink-12:  rgba(0,0,0,0.12);
  --ink-06:  rgba(0,0,0,0.06);

  /* RGB channels for alpha variants */
  --paper-rgb: 255,255,255;
  --pine-rgb:  27,41,38;
  --sand-rgb:  233,223,211;
  --olive-rgb: 117,128,103;

  /* ─── TYPE ────────────────────────────────────────────────
     Britney (Fontshare) is the new display face for every
     section heading. Switzer carries body copy. Boska is kept
     only for the Fun Projects card titles, per the design. */
  --font-display: 'Britney', 'Bodoni Moda', serif;
  --font-body:    'Switzer', ui-sans-serif, system-ui, sans-serif;
  --font-boska:   'Boska', 'Bodoni Moda', serif;
  --font-switzer: var(--font-body);

  /* The design tracks every string at 0.07em — hero, headings,
     body and postcard notes alike. Kept as a token so it stays
     consistent if it's ever retuned. */
  --track: 0.07em;

  /* ─── LEGACY ALIASES ──────────────────────────────────────
     Older rules (nav, experience, contact, fun overlay) still
     reference the v2 names. Re-pointed at the new palette so
     they inherit the redesign instead of holding stale colour. */
  --cream:      var(--paper);
  --dark:       var(--ink);
  --terra:      var(--olive);
  --mocha:      var(--olive);
  --dark-70:    var(--ink-70);
  --dark-50:    var(--ink-50);
  --dark-25:    var(--ink-25);
  --dark-10:    var(--ink-12);
  --dark-06:    var(--ink-06);
  --cream-rgb:  var(--paper-rgb);
  --sage-pale:  var(--sage);
  --terra-pale: var(--sand);
  --sage-rgb:   var(--olive-rgb);
  --terra-rgb:  var(--olive-rgb);
  --dark-rgb:   0,0,0;
  --near-black-rgb: var(--pine-rgb);
  --mocha-rgb:  var(--olive-rgb);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(var(--cream-rgb),0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-10);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--dark-50);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  /* ink, not --sage: the sage panel colour is near-invisible on white */
  background: var(--ink);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ─── HERO — ink mountain range ────────────────────────────
   Redesign per Figma node 32:12. The v2 sunrise (gold sky,
   pink ridge, torn-paper edge) is replaced by a pen-and-ink
   range on white paper. Children of .hero-scene are positioned
   as % of the 1440×745 design frame so the composition scales
   with viewport width. */
.hero {
  position: relative;
  width: 100%;
  background: var(--paper);
  overflow: hidden;
  scroll-margin-top: 68px;
}
.hero-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 745;
  min-height: 420px;
}
/* Ink range — sits on the baseline of the hero, edge to edge.
   images/mountain_range.svg has had its opaque white backing
   rect stripped and its viewBox cropped to the artwork, so it
   composites straight onto the paper. */
.hero-mountains {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}
/* Name — Britney Bold, top-left (138/1440, 86/745) */
.hero-name {
  position: absolute;
  left: 9.583%;
  top: 15.300%;                             /* nudged below the Figma y=86 */
  margin: 0;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.944vw, 100px);   /* 100 / 1440 */
  line-height: 1;
  letter-spacing: var(--track);             /* 7px @ 100px */
  color: var(--ink);
  white-space: nowrap;
}

/* ─── SHARED SECTION ──────────────────────────────────── */
.section-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}
.sec-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.sec-rule {
  width: 36px; height: 2px;
  background: var(--sage);
  margin-bottom: 20px;
}
.sec-heading {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 0 0 8px 0;
}
.sec-heading-light {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 0;
}

/* ─── ABOUT ───────────────────────────────────────────── */
.about {
  padding: 140px 0;
  scroll-margin-top: 68px;
}
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 88px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--sage-pale);
  box-shadow:
    4px 8px 24px rgba(var(--dark-rgb),0.08),
    0 2px 4px rgba(var(--dark-rgb),0.06);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-accent-blob {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--terra-pale);
  z-index: -1;
}
.about-accent-line {
  position: absolute;
  top: 40px; left: -20px;
  width: 3px; height: 80px;
  background: var(--sage);
  border-radius: 2px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.80;
  color: var(--dark-70);
  margin-bottom: 18px;
}
.about-text p:last-of-type { margin-bottom: 0; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--dark-10);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--dark-50);
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: default;
}
.tag:hover { border-color: var(--sage); color: var(--dark); }

/* ─── WORK ────────────────────────────────────────────── */
.work {
  background: var(--dark);
  padding: 140px 0;
  scroll-margin-top: 68px;
  position: relative;
}
.work::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 25%, rgba(var(--terra-rgb),0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 78%, rgba(var(--sage-rgb),0.08) 0%, transparent 60%);
}
.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
}
.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--terra);
  color: var(--dark);
  padding: 13px 26px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.resume-btn:hover { background: var(--terra-pale); transform: translateY(-2px); }
.resume-btn:active { transform: translateY(0); }
.resume-btn:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: rgba(var(--cream-rgb),0.055);
  border: 1px solid rgba(var(--cream-rgb),0.11);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra) 0%, var(--sage) 100%);
  z-index: 3;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.project-card:hover {
  border-color: rgba(var(--sage-rgb),0.45);
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(var(--sage-rgb),0.18),
    0 20px 48px rgba(0,0,0,0.38),
    0 0 32px rgba(var(--sage-rgb),0.08);
}
.project-card:hover::before {
  opacity: 1;
}
.project-card:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
.project-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.project-img::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, rgba(var(--near-black-rgb),0.7));
  z-index: 4;
  pointer-events: none;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.project-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb),0.18);
}

/* ─── IMAGE SLIDESHOW ──────────────────────────────────── */
.img-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.42s ease;
  pointer-events: none;
}
.img-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.img-slide img,
.img-slide .project-img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.img-slide.active img { cursor: zoom-in; }
.img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(var(--near-black-rgb),0.54);
  border: 1px solid rgba(var(--cream-rgb),0.16);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
  color: rgba(var(--cream-rgb),0.9);
  flex-shrink: 0;
}
.img-arrow-prev { left: 9px; }
.img-arrow-next { right: 9px; }
.project-card:hover .img-arrow { opacity: 1; }
.img-arrow:hover { background: rgba(var(--near-black-rgb),0.82); }
.img-arrow:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; opacity: 1; }
.img-arrow:active { transform: translateY(-50%) scale(0.9); }
.img-dots {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}
.img-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(var(--cream-rgb),0.28);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.img-dot.active {
  background: rgba(var(--cream-rgb),0.88);
  transform: scale(1.3);
}
.project-body {
  padding: 22px 24px 24px;
}
.project-cat {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-pale);
  background: rgba(var(--sage-rgb),0.13);
  border: 1px solid rgba(var(--sage-rgb),0.22);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 11px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--cream);
  margin: 0 0 10px 0;
  line-height: 1.15;
}
.project-desc {
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(var(--cream-rgb),0.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: none;
}
.project-card.expanded .project-desc {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.read-more-hint {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.project-card:hover .read-more-hint { opacity: 1; color: var(--sage-pale); }
.project-card.expanded .read-more-hint { display: none; }
.collapse-hint {
  display: none;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.7;
  cursor: pointer;
}
.project-card.expanded .collapse-hint { display: inline-block; }
.project-body { cursor: pointer; }

/* ─── LIGHTBOX ────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(var(--near-black-rgb),0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  cursor: default;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
}
.lightbox-overlay.open img {
  transform: scale(1);
  opacity: 1;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(var(--cream-rgb),0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s ease;
}
.lightbox-close:hover { color: var(--cream); }

/* ─── WORLD JOURNAL ───────────────────────────────────── */
.journal {
  padding: 140px 0;
  scroll-margin-top: 68px;
}
.journal-top {
  margin-bottom: 72px;
}
.journal-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 72px;
  align-items: start;
}
.journal-sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark-25);
  margin-bottom: 20px;
}
.j-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 0 14px 20px;
  border: none;
  border-bottom: 1px solid var(--dark-10);
  border-radius: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--dark-25);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.j-tab::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 0;
  background: var(--terra);
  border-radius: 2px;
  transition: height 0.25s ease;
}
.j-tab.active { color: var(--dark); }
.j-tab.active::before { height: 20px; }
.j-tab:hover { color: var(--dark-70); }
.j-tab:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

/* Content panels */
.j-panel { display: none; }
.j-panel.active {
  display: block;
  animation: fadeUp 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.j-city {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 0 0 28px 0;
}
.j-country {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 36px;
}
.j-reflection {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--dark-70);
  max-width: 640px;
  margin-bottom: 52px;
}
.j-reflection p { margin-bottom: 18px; }
.j-reflection p:last-child { margin-bottom: 0; }

/* Photo marquee */
.j-photos {
  overflow: hidden;
  margin-bottom: 52px;
  margin-left: -40px;
  margin-right: -40px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}
.j-photos-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: j-marquee 22s linear infinite;
}
.j-photos-track:hover {
  animation-play-state: paused;
}
@keyframes j-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.j-photo {
  width: 180px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--sage-pale);
  position: relative;
  aspect-ratio: 3/4;
}
.j-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.j-photo-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px 10px;
  background: linear-gradient(to top, rgba(var(--dark-rgb),0.55) 0%, transparent 100%);
  font-size: 11px;
  font-weight: 300;
  color: rgba(var(--cream-rgb),0.90);
  letter-spacing: 0.04em;
}
.j-placeholder {
  width: 100%; height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--dark-rgb),0.22);
}

/* Recommendations */
.j-recs-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark-25);
  margin-bottom: 16px;
}
.j-rec {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--dark-06);
}
.j-rec:first-of-type { border-top: 1px solid var(--dark-06); }
.j-rec-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--terra);
  width: 22px;
  flex-shrink: 0;
  padding-top: 2px;
}
.j-rec-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 3px;
}
.j-rec-note {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--dark-50);
}

/* ─── CONTACT — "Let's connect" (Boska + Switzer vibe) ─── */
.contact {
  background: var(--paper);
  padding: clamp(80px, 12vw, 150px) 0 60px;
  scroll-margin-top: 68px;
}
.contact-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
}
.contact-eyebrow {
  font-family: var(--font-switzer);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mocha);
  margin: 0 0 18px;
}
.contact-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 7.6vw, 104px);
  line-height: 0.95;
  letter-spacing: var(--track);
  color: var(--ink);
  margin: 0 0 26px;
}
.contact-sub {
  font-family: var(--font-switzer);
  font-weight: 400;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(0,0,0,0.66);
  max-width: 430px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  flex-shrink: 0;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-switzer);
  font-weight: 500;
  font-size: clamp(14px, 1.1vw, 16px);
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.contact-link span {
  position: relative;
}
.contact-link span::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: rgba(0,0,0,0.2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(.2,.8,.25,1), background 0.2s ease;
}
.contact-link:hover { color: var(--mocha); }
.contact-link:hover span::after { transform: scaleX(1); background: var(--mocha); }
.contact-link:focus-visible { outline: 2px solid var(--mocha); outline-offset: 4px; border-radius: 2px; }
.contact-link svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  max-width: 1160px;
  margin: clamp(64px, 9vw, 110px) auto 0;
  padding: 26px 48px;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.02em;
}
.footer-copy {
  font-family: var(--font-switzer);
  font-weight: 400;
  font-size: 11px;
  color: rgba(0,0,0,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .contact-grid { flex-direction: column; align-items: flex-start; }
  .contact-links { align-items: flex-start; }
}

/* ─── HERO PHOTO MORPH ────────────────────────────────── */
.hero-photos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.photo-card {
  position: absolute;
  width: 80px;
  height: 112px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(var(--dark-rgb),0.12),
    0 10px 32px rgba(var(--dark-rgb),0.10);
  background: var(--sage-pale);
  will-change: transform, opacity;
  pointer-events: auto;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-card:hover {
  box-shadow:
    0 4px 16px rgba(var(--dark-rgb),0.18),
    0 14px 40px rgba(var(--dark-rgb),0.14);
}

/* ─── GRAIN OVERLAY ───────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

/* ================================================================
   MY ADVENTURES — postcard wall
   New section, per Figma node 32:12 (postcards 134:614 / 622 /
   630 / 638). Each card is a 537×356 design frame: the scanned
   paper texture (images/postcard.jpg) supplies the centre rule,
   the ruled writing lines and the scalloped stamp outline, and
   we lay a coloured stamp, a photo, the rotated place name and
   a handwritten-feel note on top. Card internals are positioned
   as % of that frame so a card scales as one unit.
   ================================================================ */
.adventures {
  position: relative;
  background: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
  scroll-margin-top: 68px;
}
.adv-heading {
  max-width: 1394px;
  margin: 0 auto clamp(28px, 3.5vw, 46px);
  padding: 0 clamp(24px, 6.39vw, 92px);   /* 92/1440 — aligns with card column */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.861vw, 70px);  /* 70/1440 */
  letter-spacing: var(--track);           /* 4.9px @ 70px */
  line-height: 1;
  color: var(--ink);
}
/* Two-up grid. 537 card + 136 gutter in the 1440 frame. */
.pc-row {
  max-width: 1394px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6.39vw, 92px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 7vw, 101px) clamp(24px, 9.4vw, 136px);
}

/* ---- Postcard ---- */
.pc {
  position: relative;
  width: 100%;
  aspect-ratio: 537 / 356;
  isolation: isolate;
}
/* Scanned paper — carries the rules and stamp outline */
.pc-paper {
  position: absolute;
  left: 0;
  top: 1.685%;                            /* 6/356 */
  width: 97.766%;                         /* 525/537 */
  height: 98.315%;                        /* 350/356 */
  object-fit: cover;
  border-radius: 2px;
  box-shadow:
    0 1px 2px rgba(var(--pine-rgb), 0.10),
    0 12px 28px -14px rgba(var(--pine-rgb), 0.35);
  z-index: 0;
}
/* Coloured stamp block — drops inside the scalloped outline */
.pc-stamp {
  position: absolute;
  /* Sized to cover the scalloped outline printed in postcard.jpg, measured
     from the scan itself (x 600..707, y 22..155 of 736x490) and converted to
     card coordinates. The Figma file layers its own 141x141 stamp graphic over
     the paper, so its 73x103 @ (430,19) block does not line up with our scan. */
  left: 79.700%;
  top: 6.100%;
  width: 14.620%;      /* a touch over the measured 14.346% so the
                          scalloped edge is fully covered, as in Figma */
  height: 26.886%;
  z-index: 2;
}
/* Photo, left of the centre rule */
.pc-photo {
  position: absolute;
  left: 16.573%;                          /* 89/537 */
  top: 21.629%;                           /* 77/356 */
  width: 29.795%;                         /* 160/537 */
  height: 59.831%;                        /* 213/356 */
  overflow: hidden;
  z-index: 2;
  background: rgba(var(--olive-rgb), 0.16);
  box-shadow: 0 3px 10px -3px rgba(var(--pine-rgb), 0.45);
}
.pc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Place name — Britney Bold, rotated up the left edge */
.pc-name {
  position: absolute;
  left: 0;
  top: 19.382%;                           /* 69/356 */
  width: 14.711%;                         /* 79/537 */
  height: 60.393%;                        /* 215/356 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  margin: 0;
}
.pc-name span {
  display: block;
  transform: rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.167vw, 60px);  /* 60/1440 */
  letter-spacing: var(--track);           /* 4.2px @ 60px */
  line-height: 1;
  color: var(--ink);
}
/* Note — sits on the first ruled line */
.pc-note {
  position: absolute;
  left: 54.935%;                          /* 295/537 */
  top: 46.629%;                           /* 166/356 */
  width: 40%;
  margin: 0;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(12px, 1.736vw, 25px);  /* 25/1440 */
  letter-spacing: var(--track);           /* 1.75px @ 25px */
  line-height: 1.25;
  color: var(--ink);
}

@media (max-width: 720px) {
  .pc-row { grid-template-columns: 1fr; }
}

/* ================================================================
   INTRO — "Hi!" + auto-scrolling photo wheel
   Ported from Figma node 47:38 (1440px frame). A flush-left cream
   rail (Figma "Group 1") auto-scrolls a vertical photo loop, beside
   the "Hi!" heading and self-introduction. Continues the hero's
   pink (#FDF4F2) so it flows straight out of the torn edge.
   ================================================================ */
.intro {
  position: relative;
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(220px, 302px) 1fr;   /* 302/1440 rail */
  align-items: stretch;
  overflow: hidden;
  min-height: 660px;
  scroll-margin-top: 68px;
}

/* ---- Left rail: vertical photo marquee (Figma "Group 1") ---- */
.intro-wheel {
  position: relative;
  overflow: hidden;
  background: var(--sage);             /* sage panel — Figma node 134:528 */
}
/* Sage-to-transparent fades at the top and bottom of the rail, so the
   marquee seam never reads as a cut. Painted as overlays rather than a
   mask on the panel — a mask would eat the panel's own hard edges, and
   a mask on the track would scroll along with the animation. */
.intro-wheel::before,
.intro-wheel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 7%;
  z-index: 2;
  pointer-events: none;
}
.intro-wheel::before {
  top: 0;
  background: linear-gradient(to bottom, var(--sage) 0%, rgba(212,224,207,0) 100%);
}
.intro-wheel::after {
  bottom: 0;
  background: linear-gradient(to top, var(--sage) 0%, rgba(212,224,207,0) 100%);
}
.intro-wheel-track {
  /* Absolute so the (very tall) track never dictates the grid row height —
     the rail's height comes from the copy column via align-items: stretch. */
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  padding: 0 23px;                     /* 23/24px side insets → 255px photo */
  will-change: transform;
  animation: intro-wheel-scroll 48s linear infinite;
}
.intro-wheel:hover .intro-wheel-track { animation-play-state: paused; }
/* Two identical photo sets → -50% lands set B exactly on set A's start.
   Every photo (incl. the last) carries the gap as margin-bottom so the
   two halves tile at equal height. */
@keyframes intro-wheel-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.intro-photo {
  width: 100%;
  aspect-ratio: 255 / 346;
  margin-bottom: 33px;                 /* seam gap, applied to every photo */
  border-radius: 4px;
  overflow: hidden;
  background: rgba(var(--olive-rgb), 0.18);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  flex-shrink: 0;
}
.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Right column: "Hi!" + intro copy ---- */
.intro-body {
  padding: clamp(64px, 10vw, 125px)      /* top → "Hi!" ~125px in frame */
           clamp(40px, 6vw, 90px)
           clamp(64px, 9vw, 120px)
           clamp(36px, 5.5vw, 79px);     /* left gap to rail = 79px in frame */
  align-self: start;                      /* "Hi!" sits near the top, per frame */
}
.intro-hi {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 6.94vw, 100px);   /* 100/1440 */
  line-height: 1;
  letter-spacing: var(--track);             /* 7px @ 100px */
  color: var(--ink);
  margin: 0 0 clamp(28px, 3vw, 44px);
}
.intro-copy {
  max-width: 898px;                        /* frame width */
}
.intro-copy p {
  font-family: var(--font-switzer);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  letter-spacing: var(--track);            /* 1.4px @ 20px */
  color: var(--ink);
  margin: 0 0 1.5em;
}
.intro-copy p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .intro-wheel-track { animation: none; }
}

@media (max-width: 640px) {
  .intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .intro-wheel { display: none; }        /* rail hidden; copy takes full width */
}

/* ================================================================
   EXPERIENCE — heading + "View Resume" + scrollable role list
   Ported from Figma node 47:38. Continues the white paper ground.
   The role list lives in a fixed-height scroll area so a long history
   stays compact — you scroll within the section to reach older roles.
   ================================================================ */
.experience {
  background: var(--paper);
  padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 9vw, 110px);
  scroll-margin-top: 68px;
}
.exp-header {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}
.exp-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 4.861vw, 70px);  /* 70/1440 */
  line-height: 1;
  letter-spacing: var(--track);           /* 4.9px @ 70px */
  color: var(--ink);
  margin: 0;
}
.exp-resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mocha);
  color: #fff;
  font-family: var(--font-switzer);
  font-weight: 700;
  font-size: clamp(14px, 1.15vw, 17px);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(var(--mocha-rgb), 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.exp-resume-btn:hover {
  background: #a68d78;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(var(--mocha-rgb), 0.45);
}
.exp-resume-btn:active { transform: translateY(0); }
.exp-resume-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Scroll area */
.exp-scroll-wrap { position: relative; }
.exp-scroll {
  max-height: clamp(360px, 46vh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--mocha-rgb), 0.7) transparent;
}
.exp-scroll::-webkit-scrollbar { width: 9px; }
.exp-scroll::-webkit-scrollbar-track { background: transparent; }
.exp-scroll::-webkit-scrollbar-thumb {
  background: rgba(var(--mocha-rgb), 0.55);
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.exp-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--mocha-rgb), 0.9);
  background-clip: content-box;
}
/* Bottom fade — hints "more below"; hidden once scrolled to the end */
.exp-fade {
  position: absolute;
  left: 0; right: 16px; bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(var(--paper-rgb), 0) 0%, var(--paper) 90%);
  opacity: 1;
  transition: opacity 0.3s ease;
}
.exp-scroll.is-end + .exp-fade { opacity: 0; }

/* Role rows */
.exp-list { list-style: none; margin: 0; padding: 0; }
.exp-item {
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--dark-10);
  position: relative;
}
.exp-item:first-child { padding-top: 4px; }
.exp-item:last-child { border-bottom: 0; }
/* subtle left accent on hover — adds craft without altering the layout */
.exp-item::before {
  content: '';
  position: absolute;
  left: -18px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 0;
  background: var(--terra);
  border-radius: 2px;
  transition: height 0.25s ease;
}
.exp-item:hover::before { height: clamp(28px, 60%, 64px); }
.exp-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
}
.exp-role {
  font-family: var(--font-switzer);
  font-weight: 700;
  font-size: clamp(19px, 2.08vw, 30px);   /* 30/1440 */
  letter-spacing: 0.055em;                /* 2.1px @ 30px */
  line-height: 1.15;
  color: #000;
  margin: 0;
}
.exp-at { color: var(--dark-25); font-weight: 700; }
.exp-co { color: #000; }
.exp-item:hover .exp-co { color: var(--terra); transition: color 0.2s ease; }
.exp-date {
  font-family: var(--font-switzer);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 24px);
  letter-spacing: 0.05em;
  color: var(--dark-50);
  white-space: nowrap;
  flex-shrink: 0;
}
.exp-desc {
  font-family: var(--font-switzer);
  font-weight: 400;
  font-size: clamp(14px, 1.04vw, 16px);   /* scaled from 20px @1440 for readability */
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--dark-70);
  max-width: 680px;
  margin: 8px 0 0;
}

/* ================================================================
   FUN PROJECTS — Figma node 74:943
   Pink panel; draggable character cutouts walking on static white
   "trail" streaks; a Swiper card stack; and an in-page detail
   overlay (node 75:992) that dims the page behind it.
   ================================================================ */
.fun {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  padding: 0;                          /* stage == Figma frame; no extra space */
  scroll-margin-top: 68px;
}
/* Stage matches the Figma band: heading at y=2912, forest 2981→3704
   in the 1440-wide design frame → 1440 × 824. */
.fun-stage {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 1440 / 824;
}
.fun-heading {
  position: absolute;
  left: 5.972%;                        /* 86/1440 */
  top: 3.883%;                         /* 32/824 */
  margin: 0;
  z-index: 6;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.861vw, 70px);   /* 70/1440 */
  letter-spacing: var(--track);            /* 4.9px @ 70px */
  line-height: 1;
  color: var(--ink);
}

/* ---- Forest silhouette (Figma node 134:3895) ----
   Sits on the section baseline, edge to edge. The artwork is a
   single flat fill (--pine) so it reads as one solid treeline. */
.fun-forest {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 87.743%;                     /* 723/824 */
  object-fit: cover;
  object-position: bottom center;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* ---- Card stack (Swiper EffectCards) ---- */
.fun-cards {
  position: absolute;
  top: 28.883%;                        /* (3118-2880)/824 */
  left: 32.292%;                       /* 465/1440 */
  width: 36.806%;                      /* 530/1440 */
  z-index: 8;
}
.fun-swiper {
  width: 100%;
  aspect-ratio: 530 / 313;
  overflow: visible;                   /* let back cards peek past edges */
}
.fun-card {
  position: relative;
  border-radius: 20px;
  background: var(--sand);
  overflow: hidden;
}
.fun-card-inner {
  position: absolute;
  /* 22px side / 24px top inset on a 530×313 card */
  inset: 7.668% 4.151%;
  border: 3px dashed var(--olive);
  border-radius: 20px;
  padding: 8% 8% 7%;
}
.fun-card-title {
  font-family: var(--font-boska);
  font-weight: 900;
  font-size: clamp(20px, 2.083vw, 30px);   /* 30/1440 */
  letter-spacing: var(--track);            /* 2.1px @ 30px */
  line-height: 1;
  color: var(--ink);
  margin: 0 0 clamp(10px, 1.6vw, 20px);
}
.fun-card-desc {
  font-family: var(--font-switzer);
  font-weight: 400;
  font-size: clamp(11px, 1.042vw, 15px);   /* 15/1440 */
  letter-spacing: var(--track);            /* 1.05px @ 15px */
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.fun-card.is-coming-soon .fun-card-desc {
  font-family: var(--font-boska);
  font-size: clamp(14px, 1.4vw, 20px);
  color: rgba(0,0,0,0.45);
}
.fun-card-arrow {
  position: absolute;
  top: 5%;
  right: 5%;
  width: clamp(20px, 2.3vw, 33px);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.fun-card-arrow img { width: 100%; height: auto; display: block; }
.swiper-slide-active { cursor: pointer; }
.swiper-slide-active .fun-card-arrow { opacity: 1; }
.swiper-slide-active:hover .fun-card-arrow { transform: translate(3px, -3px); }
.swiper-slide-active:hover .fun-card { box-shadow: 0 24px 50px -26px rgba(var(--pine-rgb),0.7); }
.fun-hint {
  margin-top: clamp(12px, 1.6vw, 20px);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* Straddles the treeline, so it needs to read on both the pale gaps
     between trunks and the solid canopy below. */
  color: var(--sand);
  text-shadow: 0 1px 3px rgba(var(--pine-rgb), 0.95);
}

/* ---- Detail overlay (node 75:992) ---- */
.fun-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  background: rgba(46,46,46,0);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, background .35s ease, backdrop-filter .35s ease, visibility 0s linear .35s;
}
.fun-overlay.open {
  opacity: 1;
  visibility: visible;
  background: rgba(46,46,46,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity .35s ease, background .35s ease, backdrop-filter .35s ease, visibility 0s;
}
.fun-overlay-panel {
  position: relative;
  width: 100%;
  max-width: 1098px;
  max-height: 90vh;
  overflow: auto;
  background: #e9dfd3;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 72px) clamp(24px, 4vw, 80px);
  box-shadow: 0 40px 110px rgba(0,0,0,0.45);
  transform: scale(.94) translateY(12px);
  transition: transform .35s cubic-bezier(.2,.8,.25,1);
}
.fun-overlay.open .fun-overlay-panel { transform: none; }
.fun-overlay-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 24px; line-height: 1;
  color: rgba(0,0,0,0.5);
  cursor: pointer; padding: 6px;
  transition: color .2s ease, transform .2s ease;
}
.fun-overlay-close:hover { color: #000; transform: scale(1.1); }
.fun-overlay-close:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }
.fun-detail-title {
  font-family: var(--font-boska);
  font-weight: 900;
  font-size: clamp(30px, 3.5vw, 50px);
  letter-spacing: 0.07em;
  line-height: 1;
  color: #000;
  margin: 0 0 clamp(22px, 3vw, 44px);
}
.fun-detail-gallery {
  display: grid;
  grid-auto-flow: column;        /* N images → N equal columns, full width */
  grid-auto-columns: 1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
}
.fun-detail-shot {
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}
/* height:auto shows the whole image (no crop), scaled to the column width */
.fun-detail-shot img { width: 100%; height: auto; display: block; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  /* The full-bleed 1440-frame composition only holds on desktop; below
     that the heading, cards and forest stack instead of overlapping. */
  .fun { padding: 40px 0 0; }
  .fun-stage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }
  .fun-heading { position: static; margin: 0 20px 18px; }
  .fun-cards {
    position: static;
    width: min(340px, 84vw);
    margin: 8px auto 0;
    order: 1;
  }
  .fun-forest {
    position: static;
    order: 2;
    height: auto;
    margin-top: 24px;
  }
  /* stacked layout puts the hint back on white — drop the halo */
  .fun-hint { color: var(--ink-50); text-shadow: none; }
}
@media (max-width: 640px) {
  .fun-detail-gallery { display: flex; flex-direction: column; }
}
