/* =========================================================
   Camilla Caccialanza — Portfolio
   ---------------------------------------------------------
   FONTS: temporary soft rounded sans-serif.
   .hand  = titles that will become Camilla's handwriting.
   To swap: add @font-face for the handwriting font and change
   --font-hand below (or replace the titles with SVG/PNG).
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --ink: #f3f0eb;
  --muted: #8f8b86;
  --line: rgba(243, 240, 235, .12);

  /* light accents */
  /* palette: pink shades of the header flowers + a green accent (the stems), neon glow */
  --blush: #f7d1cd;
  --rose: #f4b2bb;
  --petal: #e86f8c;
  --deep: #d84a6e;
  --rasp: #b8345a;
  --red: #d84a6e;
  --pink: #f293a6;
  --purple: #b8345a;
  --green: #a8d97e;
  --blue: #f4b2bb;
  --magenta: #e86f8c;
  --indigo: #b8345a;
  --sky: #f4b2bb;
  --aqua: #f7d1cd;
  --mint: #a8d97e;
  --lime: #a8d97e;
  --hotpink: #e86f8c;
  --white: #f3f0eb;

  --font-body: "DM Sans", system-ui, "Segoe UI", sans-serif;
  --font-scrap: "Nunito", system-ui, sans-serif; /* little notes around the About photo */
  --font-display: "Clarity City", "DM Sans", system-ui, sans-serif;
  --font-hand: var(--font-display); /* ← replace with handwriting font later */

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--pink); color: var(--bg); }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: -.02em; line-height: .95; }
.label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- hand-drawn marks ---------- */
.hd { filter: drop-shadow(0 0 2px currentColor) drop-shadow(0 0 8px currentColor); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
      overflow: visible; pointer-events: none; }
.hd use { width: 100%; height: 100%; }
.hd--star { fill: currentColor; stroke-width: 1.5; }
.c-red { color: var(--red); } .c-pink { color: var(--pink); } .c-purple { color: var(--purple); }
.c-green { color: var(--green); } .c-blue { color: var(--blue); }
/* draw-in animation (path has pathLength=1) */
.hd:not(.hd--star) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.is-drawn .hd, .hd.is-drawn { stroke-dashoffset: 0; }
.hd--star { transform: scale(0) rotate(-40deg); transition: transform .9s var(--ease) .3s; }
.is-drawn .hd--star, .hd--star.is-drawn { transform: scale(1) rotate(0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.5em; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  transition: transform .4s var(--ease), background .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--accent, var(--pink)); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { color: var(--bg); border-color: transparent; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(10, 10, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav__links a {
  font-family: var(--font-display); font-weight: 400; font-size: 15px;
  position: relative; padding: 4px 0;
}
.nav__links a span { font-size: 10px; color: var(--muted); margin-right: 6px; vertical-align: top; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
  border-radius: 2px;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero (logo header over a real photograph) ---------- */
.hero {
  --lx: 50%; --ly: 46%;
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; background: #000;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 26% at 50% 50%, rgba(0,0,0,.45), transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,.6), transparent 20%, transparent 72%, var(--bg) 100%); }
.hero__center { text-align: center; padding: 0 var(--gutter); will-change: transform; }
.hero__logo-wrap { margin: 0; }
.hero__logo { width: min(62vw, 620px); height: auto; margin: 0 auto; filter: drop-shadow(0 6px 30px rgba(0,0,0,.85)); }
.hero__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 3vw, 40px); letter-spacing: .01em; margin: clamp(10px, 2vw, 24px) 0 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,.9); }
.hero__role { font-family: var(--font-display); font-size: clamp(11px, 1.1vw, 14px); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #ddd8d2; margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.9); }
.hero__role i { font-style: normal; color: var(--pink); margin: 0 .7em; }
.hero__corner { position: absolute; z-index: 1; color: #bdb8b2; }
.hero__corner--tl { top: 96px; left: var(--gutter); } .hero__corner--tr { top: 96px; right: var(--gutter); }
.hero__corner--bl { bottom: 28px; left: var(--gutter); } .hero__corner--br { bottom: 28px; right: var(--gutter); }
.nav__logo { transition: opacity .4s; } .nav:not(.is-scrolled) .nav__logo { opacity: 0; pointer-events: none; }

/* ---------- peak work ---------- */
.peak-band { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) 0; }
.peak { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.peak__side { position: relative; }
.peak__tag { position: relative; display: inline-block; padding: 10px 22px; margin: 0 0 22px 22px; }
.peak__tag .label { color: var(--ink); }
.peak__tag .hd--circle { position: absolute; left: -22px; top: -14px; width: calc(100% + 44px); height: calc(100% + 28px); }
.peak__frame { display: block; aspect-ratio: 1.414 / 1; }
.peak__title { font-size: clamp(40px, 4.6vw, 72px); margin: 0 0 12px; }
.peak__sub { margin-bottom: 16px; }
.peak__side p:not(.label) { color: #c9c4be; margin: 0 0 28px; }
.peak__arrow { position: absolute; width: 96px; height: 48px; left: 210px; top: -4px; transform: rotate(18deg); }

/* film frame (moodboard: Kodak Portra strips) */
.film {
  position: relative; padding: 26px 14px; background: #050505;
  border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.film::before, .film::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 9px;
  background: repeating-linear-gradient(90deg, rgba(243,240,235,.18) 0 10px, transparent 10px 22px);
  border-radius: 2px;
}
.film::before { top: 9px; } .film::after { bottom: 9px; }
.film > * { width: 100%; height: 100%; border-radius: 3px; overflow: hidden; }
.film img { object-fit: cover; }

/* ---------- placeholders (swap for real images) ---------- */
.placeholder {
  position: relative; width: 100%; height: 100%; min-height: 160px;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #1d1d21, #0c0c0e 70%);
}
.placeholder__note {
  position: absolute; bottom: 14px; left: 16px;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.placeholder--orb .orb {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 20deg, var(--pink), var(--purple), var(--blue), var(--green), var(--red), var(--pink));
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%, #000 70%, transparent 72%);
          mask: radial-gradient(circle, transparent 54%, #000 56%, #000 70%, transparent 72%);
  filter: blur(1.5px) saturate(1.1);
  box-shadow: 0 0 120px 30px rgba(232, 111, 140, .25);
  animation: spin 18s linear infinite;
  position: relative;
}
.placeholder--orb::before {
  content: ""; position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 20deg, var(--pink), var(--purple), var(--blue), var(--green), var(--red), var(--pink));
  filter: blur(70px); opacity: .35; animation: spin 18s linear infinite reverse;
}
.orb--sm { width: 54% !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.placeholder--hues { display: flex; gap: 0; padding: 0; }
.placeholder--hues span:not(.placeholder__note) { flex: 1; height: 100%; opacity: .85; }
.placeholder--hues span:nth-child(1) { background: linear-gradient(#0c0c0e 10%, var(--blue)); }
.placeholder--hues span:nth-child(2) { background: linear-gradient(#0c0c0e 25%, var(--green)); }
.placeholder--hues span:nth-child(3) { background: linear-gradient(#0c0c0e 5%, var(--purple)); }
.placeholder--hues span:nth-child(4) { background: linear-gradient(#0c0c0e 30%, var(--pink)); }
.placeholder--hues span:nth-child(5) { background: linear-gradient(#0c0c0e 15%, var(--red)); }
.placeholder--hues .placeholder__note { color: var(--bg); }
.placeholder--portrait { aspect-ratio: 4 / 5; background: radial-gradient(60% 50% at 50% 38%, #26262b, #0c0c0e 75%); }

/* ---------- polaroids ---------- */
.polaroid {
  position: relative; background: #f1eee8; padding: 12px 12px 46px; border-radius: 3px;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.9);
  transition: transform .6s var(--ease);
}
.polaroid > img, .polaroid > .placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; }
.polaroid__note {
  position: absolute; left: 16px; bottom: 12px; color: #1a1a1a;
  font-family: var(--font-hand); font-size: 17px; font-weight: 400;
}
.polaroid--tilt-l { transform: rotate(-3deg); } .polaroid--tilt-r { transform: rotate(2.5deg); }
.polaroid:hover { transform: rotate(0) scale(1.02); }
.polaroid::before { /* tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(243, 240, 235, .28); backdrop-filter: blur(2px); border-radius: 2px;
}

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; }
.section__head { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(48px, 7vw, 96px); }
.section__num { font-family: var(--font-display); font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.section__title { font-size: clamp(52px, 9vw, 140px); margin: 0; }
.section__head .hd--underline { width: min(380px, 60%); height: 22px; margin-top: 6px; }
.section__intro { color: var(--muted); max-width: 32em; margin: 18px auto 0; }

/* ---------- projects ---------- */
.project {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line);
}
.project[data-accent="green"] { --accent: var(--green); }
.project[data-accent="blue"] { --accent: var(--blue); }
.project[data-accent="pink"] { --accent: var(--pink); }
.project[data-accent="red"] { --accent: var(--red); }
.project--flip .project__info { order: 2; }
.project__index { font-family: var(--font-display); font-size: 13px; color: var(--accent); }
.project__info .label { margin: 14px 0 12px; }
.project__title { font-size: clamp(44px, 5.4vw, 84px); margin: 0 0 24px; }
.project__desc { color: #cdc8c2; margin: 0 0 22px; max-width: 34em; }
.project__desc strong { color: var(--accent); font-weight: 700; }
.project__scope { color: var(--muted); font-size: 14px; margin: 0 0 30px; max-width: 34em; }
.tags { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; color: #cdc8c2; }
.project__media { position: relative; min-height: 420px; display: grid; place-items: center; }
.project__media .polaroid { width: min(78%, 520px); }
.project__media .polaroid--small { position: absolute; width: min(36%, 240px); right: 0; bottom: -10px; }
.project__media .polaroid--small > .placeholder { aspect-ratio: 1; }
.project__doodle { position: absolute; width: 54px; height: 54px; top: 2%; left: 6%; }
.project--flip .project__doodle { width: 150px; height: 40px; top: auto; bottom: 0; left: auto; right: 4%; }

.facts { display: flex; gap: 36px; margin: 0 0 22px; padding: 18px 0; border-block: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 34px; font-weight: 400; line-height: 1.1; color: var(--accent); }

/* collage */
.project--case { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); align-items: start; }
.collage { position: relative; aspect-ratio: 1 / .94; }
.collage__item { position: absolute; margin: 0; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__cover { width: 82%; top: 0; right: 0; aspect-ratio: 16 / 9.6; z-index: 1; }
.collage__logo { width: 50%; left: -2%; top: 31%; z-index: 3; }
.collage__mood { width: 50%; right: 2%; top: 46%; z-index: 2; }
.collage__look { width: 56%; left: 10%; bottom: 0; z-index: 1; border-radius: 4px; overflow: hidden; aspect-ratio: 16/9; opacity: .92;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.9); }
.collage__logo > img, .collage__mood > img { aspect-ratio: 16 / 9; }
.collage__arrow { position: absolute; width: 120px; height: 60px; z-index: 4; left: 34%; top: 23%; transform: rotate(150deg) scaleY(-1); }
.collage__x { position: absolute; width: 34px; height: 34px; z-index: 4; right: 6%; bottom: 8%; }
.collage__scribble {
  position: absolute; z-index: 4; right: 0; bottom: 0;
  font-family: var(--font-hand); color: var(--pink); font-size: clamp(18px, 2vw, 26px); transform: rotate(-6deg);
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.about__photo { position: relative; padding-top: 12px; }
.polaroid--big { max-width: 420px; }
.polaroid--big > .placeholder { aspect-ratio: 4 / 5; }
.about__star { position: absolute; width: 48px; height: 48px; top: -14px; right: 4%; }
.about__squiggle { position: absolute; width: 160px; height: 40px; bottom: -40px; left: 10%; }
.about__big { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; margin: 0 0 clamp(48px, 6vw, 80px); letter-spacing: -.01em; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .32em; border-radius: 4px; z-index: -1; opacity: .5; }
.hl--pink::after { background: var(--pink); } .hl--blue::after { background: var(--blue); }

.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.years__item { padding: 28px 24px 8px 0; position: relative; }
.years__item + .years__item { padding-left: 24px; border-left: 1px solid var(--line); }
.years__num { font-family: var(--font-display); font-size: clamp(64px, 7vw, 108px); font-weight: 400; line-height: .9; color: var(--c); }
.years__unit { font-family: var(--font-display); font-size: 14px; color: var(--muted); margin-left: 6px; }
.years__item h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 18px 0 8px; }
.years__item p { font-size: 15px; color: var(--muted); margin: 0; }

.philosophy { margin-top: clamp(80px, 10vw, 140px); }
.philosophy__list { list-style: none; padding: 0; margin: 44px 22px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 76px); align-items: stretch; }
.philosophy__list li { position: relative; padding: 34px 30px 38px; background: transparent; transition: transform .5s var(--ease); }
.philosophy__list li:hover { transform: translateY(-6px); }
.philosophy__list .construct { position: absolute; left: -22px; top: -22px; pointer-events: none; overflow: visible; }
.construct .c-box { fill: none; stroke: #fff; stroke-width: 1.1; }
.construct .c-guide { stroke: rgba(255,255,255,.28); stroke-width: 1; }
.construct .c-handle { stroke: rgba(255,255,255,.7); stroke-width: 1; }
.construct .c-anchor { fill: #0a0a0b; stroke: #fff; stroke-width: 1.1; }
.construct .c-dot { fill: #fff; }
.philosophy__n { font-family: var(--font-display); color: var(--muted); }
.philosophy__list h3 { font-size: clamp(30px, 3vw, 42px); margin: 28px 0 14px; }
.philosophy__list li:nth-child(1) h3 { color: var(--deep); }
.philosophy__list li:nth-child(2) h3 { color: var(--rose); }
.philosophy__list li:nth-child(3) h3 { color: var(--green); }
.philosophy__list p { color: #bdb8b2; margin: 0; font-size: 16px; }

/* ---------- polaroid variants ---------- */
.polaroid--portrait > img { aspect-ratio: 3 / 4 !important; object-position: center 40%; }
.project__media .polaroid--portrait { width: min(56%, 380px); }
.project__media .polaroid--small.polaroid--portrait { width: min(30%, 200px); }
.project__media .polaroid--small > img { aspect-ratio: 1; }
[data-open] { cursor: zoom-in; }
.facts dd.facts__small { font-size: 15px; line-height: 1.3; max-width: 9em; padding-bottom: 6px; }
.about__small { color: var(--muted); max-width: 36em; margin: -24px 0 0; }

.xp { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); padding-top: 22px; }
.xp ul { list-style: none; padding: 0; margin: 16px 0 0; }
.xp li { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.xp li span { font-family: var(--font-display); color: var(--muted); font-size: 14px; }
.xp li b { font-family: var(--font-display); font-weight: 700; }
.xp li em { font-style: normal; color: var(--muted); font-size: 14px; text-align: right; }

.about__text .xp { margin-top: 48px; }

/* ---------- about (scrapbook "HI!!") ---------- */
.about { --hot: var(--hotpink); padding-top: clamp(70px, 9vw, 120px); }
.hand-script { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.hi { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hi__visual { position: relative; height: clamp(520px, 44vw, 620px); }
.hi__badge { position: absolute; left: 4%; top: 0; width: 64px; height: 74px; display: grid; place-items: center; }
.hi__badge svg { filter: drop-shadow(0 0 4px var(--red)) drop-shadow(0 0 12px var(--red)); position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--red); }
.hi__badge b { position: relative; top: 10px; font-family: var(--font-scrap); font-weight: 700; color: #0a0a0b; font-size: 18px; }
.hi__title { position: absolute; left: 18%; top: 4px; margin: 0; font-size: clamp(44px, 5vw, 70px); color: #fff; transform: rotate(-6deg); line-height: 1; }
.hi__title-line { position: absolute; left: 20%; top: clamp(70px, 6.6vw, 92px); width: 200px; height: 18px; color: var(--lime); transform: rotate(-6deg); stroke-width: 2.6; }
.hi__smile { position: absolute; left: 1%; top: 110px; width: 110px; height: 84px; color: var(--mint); stroke-width: 5; }
.hi__ring { position: absolute; left: -7%; top: 44%; width: 180px; height: 180px; z-index: 3; paint-order: stroke; stroke: #0a0a0b; stroke-width: 3px; animation: spin 26s linear infinite; }
.hi__ring { filter: drop-shadow(0 0 4px var(--aqua)); }
.hi__ring text { fill: var(--aqua); font-family: var(--font-scrap); font-weight: 700; font-size: 13px; }
.hi__zero { position: absolute; left: 2.5%; top: 56%; width: 70px; height: 80px; color: var(--sky); stroke-width: 5; z-index: 4; }
/* scrapbook photo (no polaroid) */
.hi__photo { position: absolute; left: 18%; top: 160px; width: clamp(290px, 27vw, 380px); margin: 0; z-index: 2; }
.hi__print { position: relative; transform: rotate(-3deg); box-shadow: 0 40px 70px -24px rgba(0,0,0,.95); overflow: hidden; }
.hi__print img { display: block; width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 58% 30%;
  filter: grayscale(1) contrast(1.28) brightness(.95); }
.hi__grain { position: absolute; inset: 0; mix-blend-mode: overlay; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.hi__film { position: absolute; font-family: var(--font-scrap); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: #f3f0eb; white-space: nowrap; line-height: 1.1; }
.hi__film small { display: block; font-weight: 700; font-size: 10px; letter-spacing: .08em; padding-left: 26px; opacity: .85; }
.hi__film--top { top: -40px; left: 2%; }
.hi__film--top2 { top: -40px; left: 64%; opacity: .7; }
.hi__film--side { right: -64px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; width: max-content; margin-right: -120px; }
.hi__stamp { position: absolute; left: 6%; bottom: -26px; font-family: var(--font-scrap); font-size: 9px; letter-spacing: .12em; color: rgba(243,240,235,.55); transform: rotate(-3deg); white-space: nowrap; }
.hi__dust { position: absolute; fill: rgba(243,240,235,.75); pointer-events: none; }
.hi__dust--a { right: -120px; top: -40px; width: 120px; height: 360px; }
.hi__dust--b { left: -30%; bottom: -90px; width: 360px; height: 84px; opacity: .6; }
.hi__hand { position: absolute; font-family: "Covered By Your Grace", cursive; color: #f3f0eb; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; white-space: nowrap; }
.hi__hand--1 { left: 4%; bottom: -70px; transform: rotate(-4deg); }
.hi__hand--2 { right: -170px; top: -6px; transform: rotate(6deg); }
.hi__hand--3 { right: -120px; top: 74%; transform: rotate(-8deg); font-size: clamp(22px, 2vw, 30px); }
.hi__hand--5 { right: -40px; bottom: -78px; transform: rotate(-3deg); font-size: clamp(15px, 1.25vw, 19px); }
.hi__burst { filter: drop-shadow(0 0 3px var(--purple)) drop-shadow(0 0 10px var(--purple)); position: absolute; left: calc(20% + clamp(220px, 21vw, 290px)); top: 230px; width: 104px; height: 104px; z-index: 3; animation: spin 40s linear infinite reverse; }
.hi__burst path { fill: #0a0a0b; stroke: var(--purple); stroke-width: 2.5; stroke-linejoin: round; }
.hi__flame { position: absolute; left: calc(20% + clamp(200px, 19vw, 270px)); top: 300px; width: 200px; height: 270px; color: var(--hot); stroke-width: 4.5; z-index: 1; }
.hi__visual .hd { transition-duration: 1.8s; }

.hi__text { position: relative; padding-right: 60px; }
.hi__hello { font-family: var(--font-body); font-weight: 700; font-size: clamp(80px, 10vw, 150px); line-height: .85; margin: 0 0 24px; letter-spacing: -.02em; }
.hi__text p:not(.hi__hello) { max-width: 26em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; margin: 0 0 22px; }
.hi__text p:nth-of-type(3) { margin-left: clamp(0px, 4vw, 70px); }
.hi__text p:nth-of-type(4) { margin-left: clamp(0px, 8vw, 140px); }
.hi__text b { font-family: var(--font-body); font-weight: 700; font-size: 1.3em; letter-spacing: -.01em; }
.hi__L { position: absolute; right: 0; bottom: 6%; width: 64px; height: 56px; border-left: 14px solid #fff; border-bottom: 14px solid #fff; }

.hi__foot { display: flex; flex-direction: column; align-items: center; gap: 30px; margin-top: clamp(40px, 6vw, 80px); }
.hi__logo { width: 140px; height: auto; }
.hi__contacts { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; }
.hi__pill { border: 1.5px solid #fff; border-radius: 999px; padding: 6px 18px; font-size: 15px; transition: background .3s, color .3s; }
.hi__pill:hover { background: #fff; color: #0a0a0b; }
.about .xp { margin-top: clamp(64px, 8vw, 110px); }

/* ---------- timeline (slider control) ---------- */
.timeline { margin: 0 calc(var(--gutter) * -1) 28px; }
.timeline__scroll { overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; }
.timeline__scroll::-webkit-scrollbar { display: none; }
.timeline__svg { display: block; width: 100%; min-width: 1060px; height: auto; overflow: visible; --active: var(--pink);
  font-family: var(--font-display); user-select: none; -webkit-user-select: none; }
.tl-years { font-family: var(--font-body); font-size: 28px; fill: var(--ink); }
.tl-guide { stroke: rgba(243,240,235,.18); stroke-width: 1; }
.tl-dot { fill: var(--ink); }
.tl-note { font-size: 13px; fill: rgba(243,240,235,.68); }
.tl-gloss { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2.2; stroke-linecap: round; filter: blur(1.2px); }
.tl-axis { stroke: rgba(243,240,235,.35); stroke-width: 1.2; }
.tl-progress { stroke: var(--active); stroke-width: 2.4; transition: stroke .5s; }
.tl-tick { stroke: rgba(243,240,235,.45); }
.tl-year { font-size: 13px; fill: var(--muted); text-anchor: middle; }
.tl-cp { cursor: pointer; outline: none; }
.tl-cp__halo { fill: var(--c); opacity: 0; transition: opacity .5s; }
.tl-cp__ring2 { fill: none; stroke: var(--c); stroke-width: 1.5; opacity: .7; }
.tl-cp__ring { fill: none; stroke: #fff; stroke-width: 2.5; }
.tl-cp__core { fill: none; stroke: #fff; stroke-width: 2; opacity: .85; }
.tl-cp__axisdot { fill: var(--c); }
.tl-leader { stroke: rgba(243,240,235,.4); stroke-width: 1; stroke-dasharray: 2 4; }
.tl-cp__date { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: var(--c); text-anchor: middle; }
.tl-cp__title { font-size: 17px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.tl-cp > * { transition: transform .5s var(--ease), opacity .4s; transform-box: fill-box; transform-origin: center; }
.tl-cp:hover .tl-cp__ring2, .tl-cp:focus-visible .tl-cp__ring2 { transform: scale(1.12); }
.tl-cp.is-active .tl-cp__halo { opacity: .55; }
.tl-cp.is-active .tl-cp__ring2 { transform: scale(1.18); opacity: 1; }
.tl-cp:not(.is-active) .tl-cp__img { opacity: .75; }
.tl-head { cursor: grab; touch-action: none; }
.is-dragging .tl-head { cursor: grabbing; }
.tl-head__line { stroke: var(--active); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .8; }
.tl-head__knob { fill: var(--bg); stroke: var(--active); stroke-width: 3; transition: stroke .5s; }
.tl-head__dot { fill: #fff; }
.tl-head__hint { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; fill: var(--active); text-anchor: middle; }

.tl-pixels { filter: drop-shadow(0 0 3px rgba(255,255,255,.25)) drop-shadow(0 0 10px rgba(232,111,140,.45)); }
.tl-cp__img { filter: drop-shadow(0 0 6px var(--c)) drop-shadow(0 0 16px var(--c)); }
.tl-pixels rect { transform-box: fill-box; transform-origin: center; transition: transform .25s ease-out; }

/* ---------- skills: neon marquees ---------- */
.marquee { margin-bottom: clamp(26px, 3.4vw, 44px); }
.marquee__label { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 16px; }
.marquee__label span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #fff; font-size: 13px; }
.marquee__viewport { display: flex; overflow: hidden; padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 18px; padding: 0 9px; margin: 0; list-style: none; flex: none; animation: marquee-left 38s linear infinite; }
.marquee--right .marquee__track { animation-name: marquee-right; }
.marquee:nth-of-type(2) .marquee__track { animation-duration: 32s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  flex: none; padding: 16px 30px; border-radius: 8px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.4vw, 19px); color: #0a0a0b;
  background: radial-gradient(120% 140% at 50% 35%, color-mix(in srgb, var(--n) 55%, #fff) 0%, var(--n) 45%, color-mix(in srgb, var(--n) 75%, #000) 100%);
  box-shadow: 0 0 6px var(--n), 0 0 22px var(--n), 0 0 46px color-mix(in srgb, var(--n) 60%, transparent), inset 0 0 12px rgba(255,255,255,.35);
  transition: transform .3s var(--ease);
}
.marquee__track li:hover { transform: scale(1.06); }
@keyframes marquee-left { to { transform: translateX(-100%); } }
@keyframes marquee-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ---------- slides (one per work) ---------- */
.slider { overflow: hidden; border-radius: 30px; outline: none; touch-action: pan-y; }
.slider:focus-visible { box-shadow: 0 0 0 2px var(--pink); }
.slider__track { display: flex; transition: transform .8s var(--ease); will-change: transform; cursor: grab; }
.slider__track:active { cursor: grabbing; }
.slide { flex: 0 0 100%; min-width: 0; background: #1c1c1e; border-radius: 30px; padding: clamp(20px, 2.6vw, 36px) clamp(18px, 3vw, 44px) clamp(24px, 3vw, 44px);
  --accent: var(--pink); user-select: none; -webkit-user-select: none; }
.slide img { -webkit-user-drag: none; }
.slide__meta { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px; margin: 0; }
.slide__meta dt { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.slide__meta dd { margin: 4px 0 0; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: #cfcac4; line-height: 1.4; }
.slide__meta div:nth-child(n+2) { text-align: left; }
.slide__meta div:last-child { justify-self: end; }
.slide__title { position: relative; margin: clamp(10px, 1.6vw, 22px) 0 0; text-align: center; line-height: .82; }
.slide__big { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(54px, 11.4vw, 172px); letter-spacing: -.035em; color: #fff; white-space: nowrap; }
.slide#slide-balenciaga .slide__big, .slide#slide-perseoweb .slide__big, .slide#slide-commedia .slide__big { font-size: clamp(44px, 9.6vw, 146px); }
.slide__script { position: absolute; left: 50%; bottom: -.32em; transform: translateX(-30%) rotate(-7deg);
  font-family: var(--font-body); font-weight: 400; font-size: clamp(34px, 5.6vw, 86px); color: var(--accent); white-space: nowrap;
  text-shadow: 0 2px 0 rgba(0,0,0,.25); pointer-events: none; }
.slide__bar { display: flex; justify-content: space-between; align-items: center; margin: clamp(14px, 2vw, 26px) 0 clamp(18px, 2.4vw, 30px); gap: 16px; }
.slide__mark { display: flex; align-items: center; gap: 18px; }
.ico-eye { width: 72px; height: 36px; fill: none; stroke: #fff; stroke-width: 1.6; }
.slide__dots { letter-spacing: .3em; font-size: 14px; white-space: nowrap; }
.slide__sym { display: flex; flex-direction: column; line-height: 1; }
.slide__sym b { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.slide__sym small { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: #cfcac4; margin-top: 4px; }
.slide__tools { display: flex; align-items: center; gap: 18px; }
.ico-fwd svg { width: 52px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.4; display: block; }
.swatches { display: flex; gap: 4px; }
.swatches span { width: clamp(26px, 3vw, 36px); aspect-ratio: 1; border-radius: 6px; }
.slide__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.slide__frame { position: relative; margin: 0; aspect-ratio: 1.3 / 1; cursor: zoom-in; }
.slide__frame-bg { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; }
.slide__frame-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slide__frame:hover .slide__frame-bg img { transform: scale(1.04); }
.slide__cutout { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); height: 118%; width: auto; max-width: 92%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); transition: transform 1s var(--ease); pointer-events: none; }
.slide__frame:hover .slide__cutout { transform: translateX(-50%) translateY(-8px) scale(1.02); }
.slide__cutout--balenciaga { height: 128%; bottom: 3%; left: 58%; }
.slide__frame:hover .slide__cutout--balenciaga { transform: translateX(-50%) translateY(-8px) scale(1.02); }
.slide#slide-balenciaga .slide__script { font-size: clamp(28px, 4.4vw, 66px); transform: translateX(-12%) rotate(-7deg); }
.slide__cutout--rein { height: 122%; bottom: 2%; left: 54%; }
.slide__cutout--ecohue { left: 56%; }
.slide__cutout--perseoweb { height: 104%; left: 74%; bottom: 0; }
.slide__cutout--dior { height: 128%; left: 66%; bottom: 2%; }
.slide__cutout--hui { height: auto; width: 86%; max-width: 86%; bottom: -8%; left: 52%; }
.slide__cutout--commedia { height: auto; width: 96%; max-width: 96%; bottom: 80%; left: 50%; transform: translateX(-50%) rotate(-6deg); }
.slide__frame:hover .slide__cutout--commedia { transform: translateX(-50%) rotate(-3deg) translateY(-6px); }
.slide__frame--flat .slide__frame-bg { box-shadow: inset 0 0 0 1px rgba(243,240,235,.12); }
.slide__side { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.slide__label { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.slide__about p:last-child { margin: 0; font-size: clamp(12px, 1vw, 14px); letter-spacing: .05em; text-transform: uppercase; line-height: 1.55; color: #e9e5df; }
.slide__actions { display: flex; align-items: center; gap: 20px; }
.pill { flex: 1; border: 1.5px solid rgba(243,240,235,.6); border-radius: 999px; padding: 12px 20px; font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.pill:hover { background: var(--accent); border-color: var(--accent); color: #111; }
.slide__hint { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: right; line-height: 1.3; }
.ico-pix { width: 26px; height: 32px; fill: var(--accent); flex: none; }
.slide__pics { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; height: clamp(150px, 15vw, 230px); }
.slide__pics figure { margin: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; }
.slide__pics img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.slide__pics figure:hover img { transform: scale(1.06); }
.slider__nav { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 22px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .3s, color .3s; }
.slider__btn:hover { background: var(--ink); color: var(--bg); }
.slider__count { font-family: var(--font-display); font-size: 14px; letter-spacing: .14em; color: var(--muted); min-width: 64px; text-align: center; }

/* ---------- skills ---------- */
.skills__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.skill::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: var(--c); filter: blur(80px); opacity: 0; transition: opacity .6s; }
.skill:hover::before { opacity: .18; }
.skill__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.skill__n { font-family: var(--font-display); width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--c); color: var(--c);
  border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; font-size: 13px; font-weight: 700; flex: none; }
.skill h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; }
.skill ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.skill li { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(243,240,235,.05); border: 1px solid var(--line); transition: border-color .3s, color .3s; }
.skill li:hover { border-color: var(--c); color: var(--c); }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .section__num { display: block; padding: 0; margin-bottom: 18px; }
.contact__title { font-size: clamp(64px, 13vw, 210px); margin: 18px 0 56px; position: relative; display: inline-block; }
.contact__star { position: absolute; width: 0.32em; height: 0.32em; top: -.05em; right: -.36em; }
.contact__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.contact__link { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(15px, 1.6vw, 20px); transition: background .3s, color .3s, border-color .3s; }
.contact__link .label { font-size: 10px; }
.contact__link:hover { background: var(--ink); color: var(--bg); }
.contact__link:hover .label { color: var(--bg); }

/* ---------- footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 40px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.footer__logo { height: 30px; width: auto; opacity: .8; }
.footer a:hover { color: var(--ink); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,6,.94); backdrop-filter: blur(8px);
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; text-align: center; }
.lightbox__stage img { max-height: 82vh; max-width: 100%; margin: 0 auto; border-radius: 4px; }
.lightbox__stage figcaption { margin-top: 16px; color: var(--muted); font-family: var(--font-display); font-size: 14px; }
.lightbox__close { position: absolute; top: 18px; right: 22px; font-size: 22px; padding: 8px; }
.lightbox__nav { font-size: 26px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); }
.lightbox__nav:hover { background: var(--ink); color: var(--bg); }
.lightbox .placeholder { aspect-ratio: 16/10; max-width: 900px; margin: 0 auto; border-radius: 6px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .peak { grid-template-columns: 1fr; }
  .peak__arrow { display: none; }
  .slide__body { grid-template-columns: 1fr; }
  .hi { grid-template-columns: 1fr; }
  .hi__text { padding-right: 0; }
  .slide__frame { margin-top: 40px; }
  .project, .project--case { grid-template-columns: 1fr; }
  .project--flip .project__info { order: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 380px; }
  .skills__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__logo img { height: 36px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__links { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity .4s; }
  .nav__links a { font-size: 32px; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .hero { min-height: 86svh; }
  .slide__meta { grid-template-columns: 1fr 1fr; }
  .slide__meta div:last-child { justify-self: start; }
  .slide__script { bottom: -.42em; }
  .slide__bar { margin-top: 38px; }
  .philosophy__list { grid-template-columns: 1fr; gap: 56px; }
  .hi__visual { height: 560px; }
  .hi__title { left: 26%; }
  .hi__title-line { left: 28%; }
  .hi__photo { left: 16%; width: 240px; top: 140px; }
  .hi__hand--2, .hi__hand--3, .hi__film--top2, .hi__film--side, .hi__dust--a { display: none; }
  .hi__film--top { left: 0; }
  .hi__ring { width: 140px; height: 140px; left: -4%; top: 52%; }
  .hi__burst { left: auto; right: 0; top: 150px; width: 80px; height: 80px; }
  .hi__flame { left: auto; right: -4%; top: 330px; width: 150px; height: 210px; }
  .hi__zero { top: 66%; }
  .hi__text p:nth-of-type(3), .hi__text p:nth-of-type(4) { margin-left: 0; }
  .hi__L { display: none; }
  .hi__pill { font-size: 13px; }
  .slide__tools .ico-fwd { display: none; }
  .ico-eye { width: 54px; }
  .slide__pics { height: 150px; }
  .slide__actions .slide__hint { display: none; }
  .hero__logo { width: 82vw; }
  .hero__role { letter-spacing: .14em; line-height: 2; }
  .hero__role i { display: none; }
  .hero__role { display: flex; flex-direction: column; }
  .hero__corner--tr, .hero__corner--br { display: none; }
  .xp li { grid-template-columns: 1fr; gap: 2px; }
  .xp li em { text-align: left; }
  .peak__caption { flex-direction: column; align-items: flex-start; }
  .film { padding: 20px 10px; }
  .project__media { min-height: 320px; }
  .collage { aspect-ratio: 1 / 1.02; }
  .collage__scribble, .collage__x { display: none; }
  .collage__cover { width: 100%; }
  .collage__logo { width: 62%; top: 30%; }
  .collage__mood { width: 62%; top: 52%; }
  .collage__look { width: 70%; left: 0; }
  .collage__arrow { display: none; }
  .years { grid-template-columns: 1fr; }
  .years__item + .years__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .skills__grid { grid-template-columns: 1fr; }
  .facts { gap: 24px; }
  .footer { flex-direction: column; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 56px 12px 20px; }
  .lightbox__stage { grid-column: 1 / -1; }
  .lightbox__prev { justify-self: end; margin-right: 8px; } .lightbox__next { justify-self: start; margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hd { stroke-dashoffset: 0 !important; } .hd--star { transform: none !important; }
}

/* about title centred, script */
.section__head--about { margin-bottom: clamp(24px, 3vw, 40px); }
.section__head--about .section__title { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; font-size: clamp(54px, 7vw, 104px); }
.philosophy__label { text-align: center; }

/* ---------- skills: six construction boxes ---------- */
.skillboxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 6vw, 96px) clamp(40px, 5vw, 80px); padding: 24px; align-items: center; justify-items: center; }
.skillbox { position: relative; width: 100%; display: grid; place-items: center; }
.skillbox__in { position: relative; z-index: 1; text-align: center; padding: 34px 30px; }
.skillbox--circle, .skillbox--oval { aspect-ratio: 1; max-width: 360px; }
.skillbox--oval { aspect-ratio: 1.45; max-width: none; }
.skillbox--hex { aspect-ratio: 1.15; }
.skillbox--circle .skillbox__in { padding: 18% 14%; }
.skillbox--oval .skillbox__in { padding: 12% 16%; }
.skillbox--hex .skillbox__in { padding: 14% 18%; }
.skillbox__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--n); color: var(--n); font-family: var(--font-display); font-weight: 700; font-size: 13px;
  box-shadow: 0 0 8px var(--n); }
.skillbox h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 12px 0 16px; color: var(--n); text-shadow: 0 0 6px var(--n), 0 0 18px color-mix(in srgb, var(--n) 55%, transparent); }
.skillbox ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.skillbox li { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(243,240,235,.18); color: #e9e5df; }
.skillbox > .construct { position: absolute; left: -22px; top: -22px; pointer-events: none; overflow: visible; }

/* construction kit shared */
.construct .c-box { fill: none; stroke: #fff; stroke-width: 1.1; }
.construct .c-guide { stroke: rgba(255,255,255,.28); stroke-width: 1; }
.construct .c-handle { stroke: rgba(255,255,255,.7); stroke-width: 1; }
.construct .c-anchor { fill: #0a0a0b; stroke: #fff; stroke-width: 1.1; }
.construct .c-dot { fill: #fff; }
.construct .c-align { stroke: rgba(255,255,255,.22); stroke-width: .8; stroke-dasharray: 3 4; }
.construct .c-tick { fill: none; stroke: rgba(255,255,255,.3); stroke-width: .8; }

/* slides outlined with construction lines */
.slide { position: relative; background: transparent !important; }
.slide > .construct { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 0; }
.slide > *:not(.construct) { position: relative; z-index: 1; }

@media (max-width: 1024px) { .skillboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .skillboxes { grid-template-columns: 1fr; padding: 22px 8px; } .skillbox--oval { aspect-ratio: 1.15; } }

/* slides: a bit smaller so the construction lines breathe; photos end on the same line */
.slider { max-width: 1260px; margin: 0 auto; }
.slide { padding: clamp(30px, 3.4vw, 50px) clamp(30px, 3.8vw, 56px) clamp(34px, 3.8vw, 56px) !important; }
.slide__body { align-items: stretch; min-height: clamp(360px, 33vw, 480px); }
.slide__frame { aspect-ratio: auto; height: 100%; min-height: 300px; }
.slide__side { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 22px); }
.slide__pics { flex: 1 1 auto; height: auto; min-height: 150px; }
@media (max-width: 1024px) { .slide__body { min-height: 0; } .slide__frame { aspect-ratio: 1.3 / 1; height: auto; min-height: 0; width: 100%; } .slide__pics { flex: none; height: 150px; } }
.slide { overflow: hidden; }
@media (max-width: 1024px) { .slide__body { grid-template-columns: minmax(0, 1fr); } .slide__side, .slide__about, .slide__pics { min-width: 0; } }
@media (max-width: 720px) { .swatches span { width: 20px; } .slide__mark { gap: 10px; } }
/* every slide: same image sizes (Balenciaga as reference) */
@media (min-width: 1025px) {
  .slide__body { height: clamp(380px, 35vw, 480px); min-height: 0; grid-template-rows: minmax(0, 1fr); }
  .slide__frame { height: 100%; }
  .slide__side { height: 100%; }
  .slide__about { flex: 1 1 auto; min-height: 0; overflow: hidden; }
  .slide__pics { flex: 0 0 auto; height: clamp(180px, 18vw, 250px); min-height: 0; }
  .slide__title { height: clamp(96px, 9.6vw, 146px); display: flex; align-items: center; justify-content: center; }
}

/* ---------- handwritten section titles (Camilla's handwriting), written word by word ---------- */
@property --p { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.section__title.ink-title { position: relative; display: block; height: clamp(64px, 8vw, 120px); width: auto; max-width: 100%; margin: 0 auto; font-size: 0; }
.section__head--about .section__title.ink-title { height: clamp(78px, 9.5vw, 140px); }
.ink { position: absolute; top: 0; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--p) - 8%), transparent var(--p));
          mask-image: linear-gradient(100deg, #000 calc(var(--p) - 8%), transparent var(--p));
  --p: 0%; filter: drop-shadow(0 0 6px rgba(255,255,255,.25)); }
.ink img { display: block; width: 100%; height: 100%; }
.ink-title.is-in .ink { animation: ink-write var(--t, 1.2s) cubic-bezier(.45,.1,.4,1) var(--d, 0s) forwards; }
@keyframes ink-write { to { --p: 112%; } }
@media (prefers-reduced-motion: reduce) { .ink { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 720px) { .section__title.ink-title { height: clamp(44px, 13vw, 70px); } .section__head--about .section__title.ink-title { height: clamp(54px, 15vw, 80px); } }

/* Biro Script titles (vector paths) */
.ink svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ink svg path { fill: #f3f0eb; }
.section__title.ink-title.contact__ink { height: clamp(84px, 12vw, 190px); margin: 18px auto 56px; }
.contact__ink .contact__star { width: clamp(26px, 3.4vw, 54px); height: clamp(26px, 3.4vw, 54px); top: -6%; right: -7%; }
@media (max-width: 720px) { .section__title.ink-title.contact__ink { height: clamp(60px, 17vw, 96px); } }

/* Slides — Biro Script second titles, sampled swatches, plain-case description */
.slide__script { line-height: 0; text-shadow: none; }
.slide__script .biro { display: block; height: 1.45em; width: auto; overflow: visible; fill: var(--accent);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 35%, transparent)); }
.slide__about p:last-child { text-transform: none; letter-spacing: .01em; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; }
.slide__mark:empty { display: block; }
.slide__script .biro { height: 1.6em; }

.slide#slide-balenciaga .slide__script { font-size: clamp(26px, 3.8vw, 58px); transform: translateX(-46%) rotate(-6deg); }
.slide#slide-dior .slide__script { transform: translateX(-52%) rotate(-7deg); }
.slide#slide-perseoweb .slide__script { transform: translateX(-40%) rotate(-7deg); }
.slide__script { z-index: 5; }
.slide > .slide__title { z-index: 2; }
@media (max-width: 720px) {
  .slide .slide__script, .slide#slide-balenciaga .slide__script, .slide#slide-dior .slide__script, .slide#slide-perseoweb .slide__script {
    font-size: clamp(22px, 7vw, 34px); transform: translateX(-50%) rotate(-6deg); }
}
@media (max-width: 720px) { .slide#slide-balenciaga .slide__script, .slide#slide-dior .slide__script { font-size: 18px; } }
@media (max-width: 720px) { .slide#slide-dior .slide__script { font-size: 24px; } }

/* ---------- side-panel PDF viewer ---------- */
.pdfpanel { position: fixed; inset: 0; z-index: 300; }
.pdfpanel[hidden] { display: none; }
.pdfpanel__scrim { position: absolute; inset: 0; background: rgba(5,5,6,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s var(--ease); cursor: pointer; }
.pdfpanel__sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(920px, 94vw); background: #141415; border-left: 1px solid rgba(243,240,235,.14);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -30px 0 60px rgba(0,0,0,.45); }
.pdfpanel.is-spread .pdfpanel__sheet { width: min(1500px, 96vw); }
.pdfpanel.is-open .pdfpanel__scrim { opacity: 1; }
.pdfpanel.is-open .pdfpanel__sheet { transform: none; }
.pdfpanel__bar { display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 24px; border-bottom: 1px solid rgba(243,240,235,.12); }
.pdfpanel__title { font-weight: 700; font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdfpanel__count { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pdfpanel__ext { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(243,240,235,.4); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.pdfpanel__ext:hover { background: var(--pink); border-color: var(--pink); color: #111; }
.pdfpanel__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,240,235,.4); background: none; color: inherit; font-size: 16px; cursor: pointer; }
.pdfpanel__close:hover { background: #f3f0eb; color: #111; }
.pdfpanel__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.pdfpanel__row { display: flex; justify-content: center; gap: 0; }
.pdfpanel__row > .pdfpanel__page { flex: 1 1 0; }
.pdfpanel__row.is-single > .pdfpanel__page { flex: 0 0 50%; }
.pdfpanel__page { position: relative; background: #1d1d1f; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.pdfpanel__page canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.pdfpanel__page.is-ready canvas { opacity: 1; }
.pdfpanel__frame { flex: 1; width: 100%; border: 0; border-radius: 6px; background: #fff; min-height: 70vh; }
.pdfpanel__loading { margin: auto; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 720px) {
  .pdfpanel__sheet, .pdfpanel.is-spread .pdfpanel__sheet { width: 100vw; border-left: 0; }
  .pdfpanel__body { padding: 12px; gap: 10px; }
  .pdfpanel__count { display: none; }
}
.slide__cutout--ecohue { left: 62%; }

body { font-optical-sizing: auto; }

/* ---------- neon highlights ---------- */
.neon { --c: var(--pink); font-weight: 700; color: color-mix(in srgb, var(--c) 55%, #fff);
  text-shadow: 0 0 2px #fff3, 0 0 6px var(--c), 0 0 14px var(--c), 0 0 30px color-mix(in srgb, var(--c) 60%, transparent); }
.neon--pink { --c: var(--pink); }
.neon--green { --c: var(--green); }
.hi__text p:nth-of-type(2) { margin-left: clamp(0px, 4vw, 70px); }

/* slide second titles: bold Clarity City with neon glow (replaces Biro on the slides) */
.slide .slide__script { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -.01em;
  font-size: clamp(26px, 4.2vw, 64px); color: color-mix(in srgb, var(--accent) 60%, #fff);
  text-shadow: 0 0 2px #fff4, 0 0 8px var(--accent), 0 0 20px var(--accent), 0 0 44px color-mix(in srgb, var(--accent) 60%, transparent); }
.slide#slide-balenciaga .slide__script, .slide#slide-dior .slide__script { font-size: clamp(22px, 3.4vw, 52px); }
@media (max-width: 720px) {
  .slide .slide__script, .slide#slide-balenciaga .slide__script, .slide#slide-dior .slide__script { font-size: clamp(18px, 5.6vw, 26px); }
}
@media (max-width: 720px) { .hi__text p:nth-of-type(2) { margin-left: 0; } }

/* SEO headings that keep the label look */
h2.label { margin: 1em 0; line-height: inherit; }

/* slide text block: h3 title + paragraphs + skills used */
.slide__heading { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; margin: 0 0 10px;
  color: color-mix(in srgb, var(--accent) 70%, #fff); }
.slide__about p, .slide__about p:last-child { margin: 0 0 8px; text-transform: none; letter-spacing: .01em; font-size: clamp(13.5px, 1.02vw, 15px); line-height: 1.55; color: #e9e5df; }
.slide__about p:last-child { margin-bottom: 0; }
.slide__skills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.slide__skills li { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #111;
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent); }
@media (min-width: 1025px) {
  .slide__body { height: clamp(440px, 37vw, 530px); }
  .slide__about { overflow: visible; }
}
@media (min-width: 1025px) and (max-width: 1320px) { .slide__body { height: 520px; } }
@media (min-width: 1025px) { .slide__about { flex: 0 0 auto; } .slide__pics { flex: 1 1 auto; height: auto; min-height: 150px; } }

/* text kept for search engines and screen readers, hidden visually */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1.hero__name { font-size: clamp(22px, 3vw, 40px); }
/* paragraph spacing inside text blocks */
.philosophy__list p + p { margin-top: 12px; }
.hi__text p:nth-of-type(3) { margin-left: clamp(0px, 4vw, 70px); }
@media (max-width: 720px) { .hi__text p:nth-of-type(3) { margin-left: 0; } }
.slide#slide-rein .slide__big { font-size: clamp(36px, 8.4vw, 128px); }
.slide#slide-rein .slide__script { transform: translateX(-20%) rotate(-7deg); }

/* footer social icons — neon, in the three main colours */
.footer__social { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.soc { --c: var(--deep); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--c);
  border: 1.5px solid var(--c); box-shadow: 0 0 8px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 8px color-mix(in srgb, var(--c) 30%, transparent);
  transition: transform .3s var(--ease), background .3s, color .3s; }
.soc svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px var(--c)) drop-shadow(0 0 8px var(--c)); }
.soc--li { --c: var(--deep); } .soc--ig { --c: var(--rose); } .soc--mail { --c: var(--green); }
.soc:hover { transform: translateY(-3px); background: var(--c); color: #111; }
.soc:hover svg { filter: none; }

/* Meroni: perfume bottle from the Lancôme spot over the video timeline */
.slide__cutout--meroni { height: 64%; width: auto; max-width: 80%; left: 58%; bottom: 3%; }
.slide__frame:hover .slide__cutout--meroni { transform: translateX(-50%) translateY(-8px) scale(1.02); }
/* Dior: mannequin in front of the title */
.slide#slide-dior > .slide__body { z-index: 3; }
/* EcoHue: smaller bag */
.slide__cutout--ecohue { height: 100%; bottom: 6%; }

.contact__intro { max-width: 34em; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: #e9e5df; }

/* contact: hand-drawn details */
.contact { position: relative; }
.contact .hd { position: absolute; pointer-events: none; }
.contact__squiggle { width: clamp(110px, 12vw, 170px); height: auto; aspect-ratio: 4; left: 50%; transform: translateX(-50%); top: calc(clamp(84px, 12vw, 190px) + 150px); }
.contact__spiral { width: clamp(70px, 7vw, 110px); height: auto; aspect-ratio: 1; left: 6%; top: 120px; }
.contact__burst { width: clamp(70px, 7vw, 110px); height: auto; aspect-ratio: 1; right: 7%; top: 130px; transform: rotate(8deg); stroke-width: 2; }
.contact__x { width: 34px; height: 34px; right: 16%; bottom: 40px; }
.contact__arrow { width: clamp(90px, 9vw, 130px); height: auto; aspect-ratio: 2; left: 4%; bottom: 70px; transform: rotate(-12deg); }
.contact__note { position: absolute; left: 3%; bottom: 128px; font-family: "Covered By Your Grace", cursive; font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.1; color: #f3f0eb; transform: rotate(-6deg); text-align: left; pointer-events: none; }
@media (max-width: 1100px) { .contact__arrow, .contact__note, .contact__x { display: none; } }
@media (max-width: 720px) { .contact__spiral { width: 54px; left: 2%; top: 60px; } .contact__burst { width: 54px; right: 2%; top: 56px; } .contact__squiggle { display: none; } }
/* copied toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 400; background: var(--green); color: #111;
  font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 999px; box-shadow: 0 0 18px color-mix(in srgb, var(--green) 50%, transparent);
  transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.contact .contact__squiggle { position: relative; display: block; left: auto; top: auto; transform: none; margin: calc(-1 * clamp(20px, 3vw, 44px)) auto clamp(18px, 2vw, 30px); }
@media (max-width: 720px) { .contact .contact__squiggle { display: block; width: 90px; margin-top: -24px; } }
.contact__intro p { margin: 0 0 14px; }
.contact__intro p:last-child { margin-bottom: 0; }

/* phone/tablet: no colour swatches, more air above "See more", no empty space under the photos */
@media (max-width: 1024px) {
  .slider__track { align-items: flex-start; }
  .slider { transition: height .5s var(--ease); }
  .swatches { display: none; }
  .slide__skills { margin-bottom: 10px; }
}
@media (max-width: 720px) { .slide__bar { display: none; } .slide__title { margin-bottom: 26px; } }
/* lightbox on phones: image centred, arrows side by side under it */
@media (max-width: 720px) {
  .lightbox { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; align-content: center; row-gap: 18px; padding: 64px 12px 28px; }
  .lightbox__stage { grid-column: 1 / -1; grid-row: 1; align-self: center; }
  .lightbox__stage img { max-height: 70vh; }
  .lightbox__prev { grid-column: 1; grid-row: 2; justify-self: end; margin-right: 10px; }
  .lightbox__next { grid-column: 2; grid-row: 2; justify-self: start; margin-left: 10px; }
}
@media (max-width: 720px) { .lightbox { grid-template-rows: auto auto; } }
/* mobile menu: full-screen solid overlay, toggle aligned with the page gutter */
@media (max-width: 720px) {
  .nav { padding-left: 20px; padding-right: 20px; }
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav__links { height: 100vh; height: 100dvh; width: 100vw; z-index: 1; }
  .nav__toggle { margin-right: 0; }
}
@media (max-width: 720px) { .footer__copy { order: 3; } .footer__social { order: 2; } }
.hi { align-items: center; } .hi__text { padding-right: 0; align-self: center; }
@media (min-width: 1025px) { .hi__text { padding-top: clamp(80px, 9vw, 135px); } }

/* navbar: each link glows in its own colour on hover */
.nav__links a { transition: color .3s, text-shadow .3s; }
.nav__links a:nth-child(1)::after { background: var(--deep); }
.nav__links a:nth-child(2)::after { background: var(--rose); }
.nav__links a:nth-child(3)::after { background: var(--green); }
.nav__links a:nth-child(4)::after { background: var(--pink); }
.nav__links a:nth-child(1):hover { color: var(--deep); text-shadow: 0 0 10px var(--deep); }
.nav__links a:nth-child(2):hover { color: var(--rose); text-shadow: 0 0 10px var(--rose); }
.nav__links a:nth-child(3):hover { color: var(--green); text-shadow: 0 0 10px var(--green); }
.nav__links a:nth-child(4):hover { color: var(--pink); text-shadow: 0 0 10px var(--pink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.page-contact .nav__logo, .page-thesis .nav__logo { opacity: 1 !important; pointer-events: auto !important; }
.contact--page { min-height: calc(100svh - 120px); padding-top: clamp(130px, 14vw, 190px); }
.nav__links a:nth-child(1)[aria-current="page"] { color: var(--deep); }
.nav__links a:nth-child(2)[aria-current="page"] { color: var(--rose); }
.nav__links a:nth-child(3)[aria-current="page"] { color: var(--green); }
/* footer: copyright exactly in the middle */
@media (min-width: 721px) {
  .footer { display: grid; grid-template-columns: 1fr auto 1fr; }
  .footer__copy { justify-self: center; text-align: center; }
  .footer__social { justify-self: end; }
}
/* footer: navbar links above the copyright */
.footer__mid { display: flex; flex-direction: column; align-items: center; gap: 10px; justify-self: center; }
.footer__nav { display: flex; gap: clamp(18px, 2.4vw, 32px); }
.footer__nav a { font-family: var(--font-display); font-size: 15px; color: var(--ink); transition: color .3s, text-shadow .3s; }
.footer__nav a:nth-child(1):hover { color: var(--deep); text-shadow: 0 0 10px var(--deep); }
.footer__nav a:nth-child(2):hover { color: var(--rose); text-shadow: 0 0 10px var(--rose); }
.footer__nav a:nth-child(3):hover { color: var(--green); text-shadow: 0 0 10px var(--green); }
@media (max-width: 720px) { .footer__mid { order: 3; } .footer__copy { order: initial; } }
/* home: signature logo always visible in the navbar */
.nav:not(.is-scrolled) .nav__logo { opacity: 1; pointer-events: auto; }

/* ---------- footer v3: bio · vertical menu · icons, copyright underneath ---------- */
.footer { display: grid !important; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: start; gap: 28px clamp(30px, 5vw, 80px);
  padding-top: clamp(40px, 5vw, 64px); padding-bottom: 28px; }
.footer__brand { display: grid; gap: 14px; justify-items: start; }
.footer__brand .footer__logo { height: 38px; opacity: .9; }
.footer__bio { margin: 0; max-width: 34em; font-size: 14.5px; line-height: 1.6; color: #bdb8b2; }
.footer .footer__nav { flex-direction: column; gap: 10px; justify-self: center; align-items: flex-start; }
.footer__social { justify-self: end; }
.footer .footer__copy { grid-column: 1 / -1; justify-self: stretch; text-align: center; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); order: initial; }
@media (max-width: 720px) {
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__brand { justify-items: center; }
  .footer .footer__nav { justify-self: center; align-items: center; }
  .footer__social { justify-self: center; }
  .footer__social, .footer .footer__nav, .footer .footer__copy { order: initial; }
}
@media (min-width: 721px) { .footer { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) auto; } .footer__bio { max-width: 50em; } }
.footer__bio { max-width: 36em !important; }
/* footer: menu at equal distance from the text and the icons */
@media (min-width: 721px) {
  .footer { grid-template-columns: auto 1fr auto 1fr auto !important; column-gap: 0 !important; }
  .footer__brand { grid-column: 1; }
  .footer .footer__nav { grid-column: 3; justify-self: center; }
  .footer__social { grid-column: 5; }
}

/* ---------- privacy policy page (long-text reading) ---------- */
.privacy { padding-top: clamp(130px, 14vw, 180px); }
.privacy__head { margin-bottom: clamp(40px, 5vw, 70px); }
.privacy__body { max-width: 760px; margin: 0 auto; }
.privacy__sec { padding: clamp(22px, 2.6vw, 32px) 0; border-top: 1px solid var(--line); }
.privacy__sec:first-child { border-top: 0; padding-top: 0; }
.privacy__sec h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.25; margin: 0 0 12px; color: var(--rose); }
.privacy__sec:nth-child(3n+1) h2 { color: var(--deep); }
.privacy__sec:nth-child(3n) h2 { color: var(--green); }
.privacy__sec p, .privacy__sec li { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: #e1ddd7; }
.privacy__sec p { margin: 0 0 12px; }
.privacy__sec p:last-child { margin-bottom: 0; }
.privacy__sec ul { margin: 0 0 12px; padding-left: 1.2em; }
.privacy__sec li::marker { color: var(--pink); }
.privacy a, .footer__copy a, .t-form__legal a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; transition: color .3s, text-shadow .3s; }
.privacy a:hover, .footer__copy a:hover, .t-form__legal a:hover { color: var(--green); text-shadow: 0 0 8px color-mix(in srgb, var(--green) 60%, transparent); }
.privacy__date { margin: clamp(26px, 3vw, 40px) 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.page-privacy .nav__logo { opacity: 1 !important; pointer-events: auto !important; }
.privacy a { word-break: break-word; }
