/* ============================================================
   MAGMA® — loud things, made carefully
   dark editorial funhouse · Archivo / Instrument Serif / Caveat
   ============================================================ */

:root {
  --ink: #0E0C0A;
  --ink-2: #171310;
  --cream: #F4EDE1;
  --cream-dim: #A89F8F;
  --coral: #FF5A2D;
  --yellow: #FFC53D;
  --lilac: #B9A6FF;
  --line: rgba(244, 237, 225, 0.16);
  --arch: 'Archivo', sans-serif;
  --serif: 'Instrument Serif', serif;
  --hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--arch);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; height: 100dvh; }

::selection { background: var(--coral); color: var(--ink); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

.serif, .serif em { font-family: var(--serif); font-weight: 400; }
.hand { font-family: var(--hand); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); color: var(--cream-dim); }
.hand.accent { color: var(--coral); }
.accent { color: var(--coral); }

/* ---------- texture ---------- */

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

/* ---------- stickers, chips, doodles ---------- */

.sticker {
  display: inline-block;
  font-weight: 900; font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  transform: rotate(-3deg);
}
.sticker--coral { background: var(--coral); }
.sticker--yellow { background: var(--yellow); }
.sticker--lilac { background: var(--lilac); transform: rotate(2.5deg); }
.sticker--cream { background: var(--cream); transform: rotate(1.5deg); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-weight: 700; font-size: 10.5px; letter-spacing: 0.12em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--cream-dim);
}

.scribble { stroke: var(--coral); fill: none; }

.spin { display: inline-block; color: var(--coral); }

.circled { position: relative; white-space: nowrap; color: var(--cream); }
.circled svg { position: absolute; inset: -28% -6%; width: 112%; height: 156%; overflow: visible; pointer-events: none; }

.note {
  position: absolute;
  width: min(200px, 46%);
  padding: 16px 16px 12px;
  color: var(--ink);
  font-family: var(--hand);
  transform: rotate(-4deg);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease;
  z-index: 3;
}
.note:hover { transform: rotate(-1deg) scale(1.04); }
.note p { font-size: 21px; font-weight: 700; line-height: 1.15; }
.note span { display: block; margin-top: 6px; font-size: 16px; }
.note--yellow { background: var(--yellow); }
.note--coral { background: var(--coral); transform: rotate(3deg); }
.note--coral:hover { transform: rotate(1deg) scale(1.04); }

/* ---------- cursor ---------- */

.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cursor__dot, .cursor__ring, .cursor__label {
  position: absolute; top: 0; left: 0;
  transform: translate(-50%, -50%);
}
.cursor__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.cursor__ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(244, 237, 225, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
.cursor.is-link .cursor__ring { transform: translate(-50%, -50%) scale(1.5); border-color: var(--coral); }
.cursor__label {
  background: var(--coral); color: var(--ink);
  font-weight: 900; font-size: 11px; letter-spacing: 0.1em;
  padding: 10px 16px; border-radius: 999px;
  opacity: 0; scale: 0.5;
  transition: opacity 0.25s ease, scale 0.25s ease;
  white-space: nowrap;
}
.cursor.has-label .cursor__label { opacity: 1; scale: 1; }
.cursor.has-label .cursor__ring, .cursor.has-label .cursor__dot { opacity: 0; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- loader ---------- */

.loader {
  position: fixed; inset: 0; z-index: 250;
  background: var(--ink);
  display: grid; place-items: center;
}
.loader__word {
  font-weight: 900;
  font-size: clamp(48px, 9vw, 120px);
  letter-spacing: -0.02em;
}

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 3.4vw, 40px);
  transition: background 0.4s ease;
}
.nav.is-solid { background: rgba(14, 12, 10, 0.82); backdrop-filter: blur(12px); }
.nav__logo { font-weight: 900; font-size: 17px; letter-spacing: 0.08em; display: inline-block; }
.nav__reg { color: var(--coral); font-size: 11px; vertical-align: super; }
.nav__links { display: flex; gap: clamp(16px, 2.6vw, 34px); }
.nav__links a {
  font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--cream-dim);
  transition: color 0.3s ease;
}
.nav__links a:hover { color: var(--coral); }
.nav__cta {
  display: inline-block;
  font-weight: 900; font-size: 11px; letter-spacing: 0.12em;
  background: var(--cream); color: var(--ink);
  padding: 12px 20px; border-radius: 999px;
  transition: background 0.3s ease;
}
.nav__cta:hover { background: var(--coral); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(110px, 16vh, 160px) clamp(20px, 4vw, 48px) clamp(60px, 10vh, 120px);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 4; max-width: 1280px; margin-inline: auto; width: 100%; }
.hero__kicker { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vh, 44px); }
.hero__title {
  font-weight: 900;
  font-size: clamp(56px, 12.5vw, 176px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero__line { display: block; }
.hero__line--serif {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  text-transform: lowercase;
  color: var(--coral);
  font-size: 1.12em;
  line-height: 0.8;
}
.hero__sub {
  margin-top: clamp(26px, 4.5vh, 46px);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 560px;
}
.hero__note { display: flex; align-items: flex-end; gap: 6px; margin-top: clamp(20px, 3.5vh, 36px); }
.doodle--arrow { width: 64px; height: 48px; }
.hero__ast {
  position: absolute; z-index: 1;
  right: clamp(16px, 6vw, 120px); bottom: 10vh;
  font-size: clamp(60px, 8vw, 130px);
}

#embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float {
  position: absolute; z-index: 2;
  background: var(--cream);
  padding: 10px 10px 8px;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.6);
  width: clamp(170px, 17vw, 260px);
}
.float img { aspect-ratio: 4 / 3; object-fit: cover; }
.float figcaption { color: var(--ink); font-size: 17px; padding-top: 6px; text-align: center; }
.float--1 { right: 16%; top: 16%; rotate: 5deg; }
.float--2 { right: 4%; top: 44%; rotate: -6deg; }
.float--3 { right: 26%; bottom: 9%; rotate: 3deg; }

@media (max-width: 900px) {
  .hero { display: block; padding-top: 120px; }
  .hero__ast { display: none; }
  .float { position: static; rotate: 0deg; width: auto; flex: 0 0 200px; }
  .float--1 { rotate: 2deg; }
  .float--2 { rotate: -2deg; }
  .float--3 { rotate: 1.5deg; }
  .hero__floats-row {
    display: flex; gap: 14px;
    margin-top: 44px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }
  .hero__floats-row .float { scroll-snap-align: start; }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  white-space: nowrap;
}
.marquee--tilt { transform: rotate(-1.6deg) scale(1.02); background: var(--ink-2); }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.06em;
  color: var(--cream);
}
.marquee__track--mark span {
  font-size: clamp(64px, 11vw, 170px);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 237, 225, 0.5);
}

/* ---------- section headings ---------- */

.h2 {
  font-weight: 900;
  font-size: clamp(42px, 7.5vw, 104px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.h2 .serif, .h2 em {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  text-transform: lowercase;
  color: var(--coral);
  font-size: 1.08em;
}
.h2__ast { font-size: 0.45em; vertical-align: top; margin-left: 10px; }
.h2__sub {
  margin-top: 16px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--cream-dim);
}

.eyebrow { margin-bottom: clamp(22px, 3.6vh, 38px); }

/* ---------- about ---------- */

.about { padding: clamp(90px, 15vh, 170px) 0 clamp(70px, 11vh, 130px); }
.about__text {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.34;
  max-width: 1080px;
  color: var(--cream-dim);
}
.about__text .circled { font-style: italic; }

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(52px, 8vh, 90px);
}
.stats li {
  border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 18px;
}
.stats li:nth-child(odd) { rotate: -1.2deg; }
.stats li:nth-child(even) { rotate: 1.2deg; }
.stats__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 1;
  color: var(--coral);
}
.stats__label {
  display: block; margin-top: 10px;
  font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--cream-dim);
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- work ---------- */

.work { padding: clamp(70px, 11vh, 140px) 0; }

.case {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(80px, 13vh, 160px);
}
.case--flip .case__media { order: 2; }
.case--flip .case__body { order: 1; }

.case__media { position: relative; }
.case__file { position: absolute; top: -16px; left: -10px; z-index: 4; }
.case__imgwrap {
  overflow: hidden;
  border-radius: 20px;
  rotate: -1.6deg;
  transition: rotate 0.5s ease;
}
.case--flip .case__imgwrap { rotate: 1.6deg; }
.case__imgwrap--arch { border-radius: 260px 260px 20px 20px; }
.case__imgwrap img {
  aspect-ratio: 4 / 3.4;
  width: 100%; object-fit: cover;
  filter: saturate(0.9);
  transition: scale 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  scale: 1.04;
}
.case__media:hover .case__imgwrap { rotate: 0deg; }
.case__media:hover img { scale: 1.1; filter: saturate(1.05); }
.case__caption { margin-top: 14px; margin-left: 8px; }
.case__media .note { right: -12px; bottom: 42px; }

.case__tag { font-weight: 700; font-size: 11px; letter-spacing: 0.16em; color: var(--coral); margin-bottom: 14px; }
.case__title {
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -0.015em;
  line-height: 1;
}
.case__lede { margin-top: 12px; font-size: clamp(19px, 2vw, 26px); color: var(--cream-dim); }
.case__cols { margin-top: clamp(24px, 3.4vh, 38px); display: grid; gap: 18px; }
.case__cols dt {
  font-weight: 900; font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--coral); margin-bottom: 6px;
}
.case__cols dd { font-size: 15px; line-height: 1.65; color: var(--cream-dim); }
.case__body .chips { margin-top: clamp(22px, 3vh, 32px); }

@media (max-width: 880px) {
  .case { grid-template-columns: 1fr; gap: 34px; }
  .case--flip .case__media { order: 0; }
  .case--flip .case__body { order: 0; }
  .case__media .note { right: 4px; bottom: 56px; }
}

/* ---------- accordion (services + faq) ---------- */

.services { padding: clamp(80px, 13vh, 160px) 0; }
.faq { padding: clamp(70px, 11vh, 140px) 0 clamp(90px, 14vh, 170px); }

.acc { margin-top: clamp(40px, 6vh, 70px); border-top: 1px solid var(--line); }
.acc__row { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%;
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 3vh, 32px) 4px;
  text-align: left;
  transition: padding-left 0.35s ease;
}
.acc__head:hover { padding-left: clamp(12px, 1.6vw, 22px); }
.acc__num {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--coral);
  min-width: 2ch;
}
.acc__title {
  flex: 1;
  font-weight: 900;
  font-size: clamp(22px, 3.6vw, 48px);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.acc__plus {
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--coral);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.acc__row.is-open .acc__plus { transform: rotate(45deg); }
.acc__body { height: 0; overflow: hidden; }
.acc__inner { padding: 4px 4px clamp(26px, 4vh, 40px); max-width: 720px; }
.acc__inner p { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7; color: var(--cream-dim); }
.acc__inner .chips { margin-top: 18px; }

/* ---------- process ---------- */

.process { padding: clamp(70px, 11vh, 140px) 0; background: var(--ink-2); }

.path { position: relative; margin-top: clamp(50px, 8vh, 90px); }
.path__line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  border-left: 2px dashed rgba(255, 90, 45, 0.5);
  transform-origin: top center;
}
.phase {
  position: relative;
  width: calc(50% - clamp(28px, 4vw, 60px));
  border: 1px solid var(--line);
  background: var(--ink);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 36px);
  margin-bottom: clamp(30px, 5vh, 56px);
  rotate: -1.2deg;
}
.phase--r { margin-left: auto; rotate: 1.2deg; }
.phase h3 {
  font-weight: 900;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.01em;
  margin: 16px 0 10px;
}
.phase p { font-size: 15px; line-height: 1.65; color: var(--cream-dim); }
.phase__get { margin-top: 14px; }
.phase__get strong { color: var(--yellow); font-size: 11px; letter-spacing: 0.14em; font-weight: 900; }

@media (max-width: 760px) {
  .path__line { left: 8px; }
  .phase, .phase--r { width: auto; margin-left: 28px; }
}

/* ---------- house rules ---------- */

.rules { padding: clamp(80px, 13vh, 160px) 0 clamp(50px, 8vh, 100px); }
.rules__list { list-style: none; margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--line); }
.rules__list li {
  display: flex; align-items: baseline; gap: clamp(18px, 3vw, 44px);
  padding: clamp(18px, 2.6vh, 28px) 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
  font-size: clamp(19px, 3vw, 40px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: background 0.35s ease, color 0.35s ease, padding-left 0.35s ease;
}
.rules__list li span {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 0.6em;
  color: var(--coral);
}
.rules__list li:hover {
  background: var(--coral);
  color: var(--ink);
  padding-left: clamp(16px, 2.4vw, 34px);
}
.rules__list li:hover span { color: var(--ink); }

/* ---------- CTA ---------- */

.cta { border-top: 1px solid var(--line); }
.cta .marquee { border-top: 0; }
.cta__inner { text-align: center; padding: clamp(80px, 13vh, 160px) clamp(20px, 4vw, 48px); }
.cta__title {
  font-weight: 900;
  font-size: clamp(46px, 9vw, 130px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.cta__title em {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  text-transform: lowercase;
  color: var(--coral);
}
.cta__sub { margin-top: 20px; font-size: clamp(15px, 1.6vw, 19px); color: var(--cream-dim); }
.btn {
  display: inline-block;
  margin-top: clamp(30px, 5vh, 52px);
  font-weight: 900; font-size: clamp(13px, 1.4vw, 16px); letter-spacing: 0.1em;
  background: var(--coral); color: var(--ink);
  padding: 22px 40px;
  border-radius: 999px;
  transition: background 0.35s ease;
}
.btn:hover { background: var(--yellow); }
.cta__hand { margin-top: 26px; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); padding-top: clamp(50px, 8vh, 90px); overflow: hidden; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(50px, 8vh, 90px);
}
.footer__label {
  font-weight: 900; font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--coral);
  margin-bottom: 14px;
}
.footer__col, .footer__col a { font-size: 15px; line-height: 1.9; color: var(--cream-dim); }
.footer__col a:hover { color: var(--cream); }
.footer__col strong { color: var(--cream); }
.footer__mark .marquee { border-bottom: 0; padding: 0 0 10px; }
.footer__legal {
  text-align: center;
  font-weight: 700; font-size: 10px; letter-spacing: 0.16em;
  color: var(--cream-dim);
  padding: 22px 20px 30px;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   SET-PIECES — the "not a normal scrolling site" layer
   ============================================================ */

/* ---------- work: pinned sideways gallery (html.fx = desktop) ---------- */

.work__track { max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.work__ui { display: none; }
.case__ghost { display: none; }
.case { position: relative; }
.case__media, .case__body { position: relative; z-index: 1; }

.fx .work { padding: 0; }
.fx .work__stage {
  position: relative;
  height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding-top: 84px;
}
.fx .work__head { margin-bottom: clamp(18px, 3.6vh, 36px); }
.fx .work__head .h2 { font-size: clamp(36px, 5vw, 72px); }
.fx .work__viewport { flex: 0 0 auto; }
.fx .work__track {
  max-width: none; margin: 0;
  display: flex; align-items: center; gap: 7vw;
  padding: 0 11vw;
  will-change: transform;
}
.fx .work__track .case { flex: 0 0 auto; width: min(78vw, 1150px); margin-top: 0; }
.fx .case__imgwrap img { aspect-ratio: auto; height: clamp(280px, 44svh, 500px); scale: 1.12; }
.fx .case__media:hover img { scale: 1.18; }
.fx .case__cols { gap: 12px; margin-top: 20px; }
.fx .case__cols dd { font-size: 14px; }

.fx .case__ghost {
  display: block;
  position: absolute; z-index: 0;
  top: -14%; left: -5%;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(180px, 36vh, 340px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 237, 225, 0.2);
  pointer-events: none;
}

.fx .work__ui {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; align-items: center; gap: 14px;
  font-weight: 900; font-size: 11px; letter-spacing: 0.14em;
  color: var(--cream-dim);
}
.fx .work__bar { width: 200px; height: 2px; background: var(--line); overflow: hidden; }
.fx .work__bar i {
  display: block; height: 100%; width: 100%;
  background: var(--coral);
  transform: scaleX(0); transform-origin: left center;
}

/* ---------- house rules: the coral takeover ---------- */

.rules { transition: background-color 0.7s ease; }
.h2 { transition: color 0.7s ease; }
.h2 .serif, .h2 em { transition: color 0.7s ease; }
.rules__list li { transition: background 0.35s ease, color 0.7s ease, padding-left 0.35s ease, border-color 0.7s ease; }
.rules__list li span { transition: color 0.7s ease; }

.rules--flip { background: var(--coral); }
.rules--flip .h2, .rules--flip .h2 .serif, .rules--flip .h2 em { color: var(--ink); }
.rules--flip .rules__list { border-color: rgba(14, 12, 10, 0.35); }
.rules--flip .rules__list li { color: var(--ink); border-color: rgba(14, 12, 10, 0.35); }
.rules--flip .rules__list li span { color: var(--ink); }
.rules--flip .rules__list li:hover { background: var(--ink); color: var(--cream); }
.rules--flip .rules__list li:hover span { color: var(--coral); }

/* ---------- spinning corner badge ---------- */

.badge {
  position: fixed;
  right: clamp(14px, 2.6vw, 32px);
  bottom: clamp(14px, 3vh, 30px);
  z-index: 140;
  width: 96px; height: 96px;
  display: grid; place-items: center;
}
.badge__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge__svg text {
  font-family: var(--arch); font-weight: 900;
  font-size: 11px; letter-spacing: 2.4px;
  fill: var(--cream);
  transition: fill 0.35s ease;
}
.badge:hover .badge__svg text { fill: var(--coral); }
.badge__ast { color: var(--coral); font-size: 24px; }
@media (max-width: 720px) { .badge { width: 66px; height: 66px; } }

/* ---------- draggable polaroids ---------- */

.float { cursor: grab; }
.float.is-drag { cursor: grabbing; z-index: 12; box-shadow: 0 44px 80px -24px rgba(0, 0, 0, 0.75); }
.hero__dragnote {
  position: absolute; z-index: 3;
  right: 13%; top: 35%;
  rotate: -5deg;
  color: var(--yellow);
}
@media (max-width: 900px) { .hero__dragnote { display: none; } }

/* ---------- cross-over band: deliberately in Northform's house style
   (ivory, Bodoni serif, bronze hairlines, letterspaced small caps —
   the one place this site is allowed to whisper) ---------- */

.twin-quiet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vh, 26px);
  text-align: center;
  background: #FAF7F2;
  padding: clamp(72px, 12vh, 130px) 20px
           calc(clamp(72px, 12vh, 130px) + env(safe-area-inset-bottom, 0px));
}

.twin-quiet__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--arch);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #9C7A4D;
}
.twin-quiet__eyebrow::before,
.twin-quiet__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: #9C7A4D;
}

.twin-quiet__serif {
  font-family: 'Bodoni Moda', 'Didot', serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: #1A1A1A;
  text-transform: none;
}
.twin-quiet__serif em { font-style: italic; color: #9C7A4D; }

.twin-quiet__visit {
  position: relative;
  font-family: var(--arch);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #5C574E;
  padding-bottom: 5px;
}
.twin-quiet__visit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #9C7A4D;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.twin-quiet:hover .twin-quiet__visit::after { transform: scaleX(1); }

/* ---------- page wipe: coral slam between pages ---------- */

.pagewipe {
  position: fixed;
  inset: -1% 0;
  z-index: 240;
  background: var(--coral);
  transform: translateY(101%);
  pointer-events: none;
}
html.subpage .pagewipe { transform: translateY(0); } /* covers until JS lifts it */
html.flat .pagewipe { display: none; }

/* destination motifs inside the wipe (revealed per-journey by JS) */
.pw-evidence,
.pw-protocol {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.pw-file {
  position: absolute;
  font-weight: 900;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.12em;
  background: var(--ink);
  color: var(--coral);
  padding: 9px 16px;
  border-radius: 999px;
}

.pw-evidence__word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 96px);
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.pw-protocol {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6vh, 16px);
}

.pw-step {
  font-weight: 900;
  font-size: clamp(24px, 4.5vw, 52px);
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- GALLERY OF NOISE: one canvas, three acts ---------- */

.artbox {
  position: relative;
  height: 100svh;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

#artCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.artbox__flash {
  position: absolute;
  inset: 0;
  background: var(--coral);
  opacity: 0;
  pointer-events: none;
}

.artbox__ui {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(28px, 6vh, 64px);
  pointer-events: none;
}

.artbox__tag {
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
}

.artbox__name {
  margin-top: 12px;
  font-weight: 900;
  font-size: clamp(44px, 8.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.artbox__cap {
  margin-top: 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
}

.artbox__hint {
  position: absolute;
  top: clamp(84px, 12vh, 120px);
  right: clamp(20px, 4vw, 48px);
  rotate: 4deg;
  color: var(--yellow);
}
@media (hover: none) { .artbox__hint { display: none; } }

@media (max-width: 900px) { .artbox { height: 78svh; } }

/* ---------- pick a door ---------- */

.doors { padding: clamp(90px, 14vh, 170px) 0; }

.doors__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(40px, 7vh, 70px);
}

.doorcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-height: clamp(360px, 52vh, 520px);
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(24px, 3.4vw, 44px);
  transition: background 0.5s ease, color 0.5s ease, translate 0.5s cubic-bezier(0.22, 1, 0.36, 1), rotate 0.5s ease;
}
.doorcard--work { rotate: -1.4deg; }
.doorcard--method { rotate: 1.4deg; }
.doorcard:hover { translate: 0 -10px; rotate: 0deg; }
.doorcard--work:hover { background: var(--coral); color: var(--ink); }
.doorcard--method:hover { background: var(--lilac); color: var(--ink); }

.doorcard__big {
  font-weight: 900;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.doorcard__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 42ch;
  transition: color 0.5s ease;
}
.doorcard:hover .doorcard__sub { color: inherit; }
.doorcard__go {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
}

@media (max-width: 760px) {
  .doors__row { grid-template-columns: 1fr; }
  .doorcard { min-height: 40vh; }
}

/* ---------- next-up (subpages) + compact footer ---------- */

.nextup { padding: clamp(90px, 14vh, 170px) 0; text-align: center; }
.nextup__hand { font-size: clamp(20px, 2.4vw, 28px); }
.nextup__link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 900;
  font-size: clamp(38px, 8vw, 100px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.nextup__arrow { display: inline-block; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.nextup__link:hover .nextup__arrow { transform: translateX(16px); }
.nextup__home { margin-top: 30px; }
.nextup__home a {
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
}
.nextup__home a:hover { color: var(--coral); }

.footer--sub { border-top: 1px solid var(--line); padding-top: 0; }

/* subpages: give the pinned work stage breathing room under the nav */
html.subpage .work { padding-top: 74px; }
html.subpage.fx .work { padding-top: 0; }

/* ============================================================
   FLAT MODE — reduced motion / CDN failure fallback
   ============================================================ */

html.flat .loader, html.flat .cursor, html.flat .badge, html.flat .hero__dragnote { display: none; }
html.flat .marquee--tilt { transform: none; }
html.flat [data-a], html.flat [data-chars] { opacity: 1 !important; transform: none !important; }
html.flat .acc__body { height: auto; }
html.flat .float { position: static; rotate: 0deg; display: inline-block; margin: 20px 10px 0 0; }

/* ============================================================
   PRICING (pricing.html) + CONTACT (contact.html)
   Loud, raw, coral-and-ink — native to the noise.
   ============================================================ */

/* -- cost hero -- */
.cost { padding: clamp(130px, 20vh, 220px) 0 clamp(40px, 7vh, 90px); }
.cost__stamp { background: var(--coral); margin-bottom: 26px; font-size: 13px; }
.cost__title { margin: 0 0 28px; }
.cost__title em { color: var(--coral); text-transform: none; }
.cost__sub, .h2__sub { max-width: 40rem; }
.cost__sub strong, .h2__sub strong { color: var(--coral); font-weight: 900; }

/* -- rates -- */
.rates-sec { padding-block: clamp(40px, 7vh, 90px) clamp(60px, 10vh, 120px); }
.rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
  align-items: stretch;
}
.rate {
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1.5px solid var(--line);
  padding: clamp(26px, 2.8vw, 40px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
}
.rate:hover { transform: translateY(-6px) rotate(-0.6deg); border-color: rgba(255,90,45,0.5); }
.rate--hero { border-color: var(--coral); background: linear-gradient(180deg, rgba(255,90,45,0.08), var(--ink-2)); }
.rate--hero:hover { transform: translateY(-6px) rotate(0.6deg); }
.rate__sticker { align-self: flex-start; margin-bottom: 22px; }
.rate__name { font-weight: 900; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.01em; color: var(--cream); margin-bottom: 14px; }
.rate__price {
  font-weight: 900; font-size: clamp(32px, 4.2vw, 52px); line-height: 1;
  color: var(--coral); letter-spacing: -0.03em; margin-bottom: 20px;
}
.rate--hero .rate__price { color: var(--yellow); }
.rate__from { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--cream-dim); text-transform: uppercase; margin-bottom: 4px; }
.rate__desc { font-size: 15px; line-height: 1.6; color: var(--cream-dim); margin-bottom: 24px; }
.rate__list { list-style: none; padding: 0; margin: 0 0 auto; border-top: 1.5px solid var(--line); }
.rate__list li {
  font-size: 14px; font-weight: 500; color: var(--cream);
  padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); position: relative;
}
.rate__list li::before { content: "✳"; position: absolute; left: 0; top: 11px; color: var(--coral); font-size: 12px; }
.rate--hero .rate__list li::before { color: var(--yellow); }

/* -- keep it loud (recurring) -- */
.loudcare { padding-block: clamp(70px, 12vh, 150px); border-top: 1.5px solid var(--line); }
.loudcare .h2 { margin-bottom: 20px; }
.loudcare .h2 em { color: var(--coral); text-transform: none; }
.loudcare__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px); align-items: stretch;
  margin-top: clamp(40px, 6vh, 70px);
}
.lplan {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-2); border: 1.5px solid var(--line);
  padding: clamp(24px, 2.6vw, 38px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
}
.lplan:hover { transform: translateY(-5px); border-color: rgba(255,90,45,0.5); }
.lplan--hero { border-color: var(--coral); box-shadow: 0 0 60px -20px rgba(255,90,45,0.5); }
.lplan__badge { position: absolute; top: -13px; left: 22px; background: var(--coral); }
.lplan__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.lplan__name { font-weight: 900; font-size: clamp(17px, 1.9vw, 23px); color: var(--cream); }
.lplan__price { font-weight: 900; font-size: clamp(24px, 2.8vw, 36px); color: var(--coral); letter-spacing: -0.02em; white-space: nowrap; }
.lplan__per { font-size: 13px; font-weight: 700; color: var(--cream-dim); }
.lplan__desc { font-family: var(--hand); font-size: 20px; color: var(--yellow); margin-bottom: 20px; }
.lplan__list { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--line); }
.lplan__list li { font-size: 14px; color: var(--cream); padding: 11px 0 11px 24px; border-bottom: 1px solid var(--line); position: relative; }
.lplan__list li::before { content: "✳"; position: absolute; left: 0; top: 10px; color: var(--coral); font-size: 12px; }

/* -- extras / bolt-ons -- */
.extras { padding-block: clamp(60px, 10vh, 130px); }
.extras .h2 { margin-bottom: 18px; }
.extras .h2 em { color: var(--lilac); text-transform: none; }
.extras__grid { display: flex; flex-wrap: wrap; gap: 14px; margin: clamp(32px,5vh,54px) 0 30px; }
.extra {
  font-weight: 700; font-size: 15px; color: var(--cream);
  background: var(--ink-2); border: 1.5px solid var(--line);
  padding: 14px 20px; border-radius: 999px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.extra:hover { transform: rotate(-2deg) scale(1.04); border-color: var(--coral); }
.extra b { color: var(--coral); }
.extras__fine { font-size: 13px; color: var(--cream-dim); max-width: 40rem; line-height: 1.6; }

/* -- loud contact -- */
.loudcontact { padding: clamp(130px, 20vh, 220px) 0 clamp(80px, 12vh, 150px); }
.loudcontact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 90px); align-items: start; }
.loudcontact__stamp { background: var(--yellow); margin-bottom: 24px; font-size: 13px; }
.loudcontact__title { margin: 0 0 26px; }
.loudcontact__title em { color: var(--coral); text-transform: none; }
.loudcontact__hand { margin: clamp(34px,5vh,54px) 0 12px; color: var(--cream-dim); }
.loudcontact__email {
  display: inline-block; font-weight: 900; font-size: clamp(20px, 3vw, 38px);
  letter-spacing: -0.02em; color: var(--cream);
  border-bottom: 3px solid var(--coral); padding-bottom: 6px;
  transition: color 0.3s ease;
}
.loudcontact__email:hover { color: var(--coral); }
.loudcontact__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: clamp(36px,6vh,60px); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--cream-dim); }
.loudcontact__meta span:nth-child(even) { color: var(--coral); }

/* -- loud form -- */
.loudcontact__form-wrap { background: var(--ink-2); border: 1.5px solid var(--line); padding: clamp(26px, 3vw, 48px); }
.loudform { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 28px); }
.lfield { display: flex; flex-direction: column; }
.lfield__label { font-weight: 900; font-size: 12px; letter-spacing: 0.1em; color: var(--coral); margin-bottom: 10px; text-transform: uppercase; }
.lfield__input {
  font-family: var(--arch); font-weight: 500; font-size: 16px; color: var(--cream);
  background: var(--ink); border: 1.5px solid var(--line); border-radius: 0;
  padding: 14px 16px; transition: border-color 0.3s ease;
  -webkit-appearance: none; appearance: none;
}
.lfield__input::placeholder { color: #6a6357; }
.lfield__input:focus { outline: none; border-color: var(--coral); }
.lfield__textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.lfield__select {
  cursor: pointer; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FF5A2D' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.loudform__submit {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--arch); font-weight: 900; font-size: 15px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); background: var(--coral);
  border: none; padding: 18px 30px; border-radius: 999px; cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.loudform__submit:hover { background: var(--yellow); transform: rotate(-1.5deg) scale(1.03); }
.loudform__ast { display: inline-block; }
.loudform__submit:hover .loudform__ast { animation: spin 1.2s linear infinite; }
.loudform__note { font-size: 12px; color: var(--cream-dim); line-height: 1.55; }
.loudform__note.is-sent { color: var(--coral); font-weight: 700; }

@media (max-width: 900px) {
  .rates, .loudcare__grid { grid-template-columns: 1fr; }
  .rate--hero { order: -1; }
  .loudcontact__grid { grid-template-columns: 1fr; gap: 44px; }
}


@keyframes spin { to { transform: rotate(360deg); } }

.loudform__note.is-error { color: var(--yellow); font-weight: 700; }

/* ============================================================
   LEGAL (privacy.html) + 404 (404.html)
   ============================================================ */
.legal { padding: clamp(140px, 20vh, 220px) 0 clamp(80px, 13vh, 160px); }
.legal__wrap { max-width: 52rem; }
.legal__title {
  font-weight: 900; font-size: clamp(34px, 6vw, 72px); line-height: 1;
  letter-spacing: -0.02em; text-transform: uppercase; margin: 22px 0 14px;
}
.legal__title em { color: var(--coral); text-transform: none; }
.legal__meta { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--cream-dim); margin-bottom: clamp(36px, 5vh, 56px); }
.legal__lede { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--cream); margin-bottom: clamp(34px, 5vh, 52px); }
.legal__body h2 { font-weight: 900; font-size: clamp(17px, 1.9vw, 24px); text-transform: uppercase; letter-spacing: 0.01em; color: var(--coral); margin: clamp(30px, 4.5vh, 50px) 0 12px; }
.legal__body p { font-size: 15.5px; line-height: 1.8; color: var(--cream-dim); margin-bottom: 14px; max-width: 44rem; }
.legal__body strong { color: var(--cream); }
.legal__body a { color: var(--cream); border-bottom: 2px solid var(--coral); transition: color 0.3s ease; }
.legal__body a:hover { color: var(--coral); }
.legal__note { font-style: italic; margin-top: clamp(40px, 6vh, 60px); padding-top: 26px; border-top: 1.5px solid var(--line); color: var(--cream-dim); font-size: 14px; }

/* 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; padding-block: 20vh; }
.notfound__code { font-weight: 900; font-size: clamp(72px, 20vw, 200px); line-height: 0.85; color: var(--coral); letter-spacing: -0.04em; }
.notfound__title { font-weight: 900; font-size: clamp(34px, 7vw, 80px); line-height: 0.98; text-transform: uppercase; letter-spacing: -0.02em; margin: 10px 0 22px; }
.notfound__title em { color: var(--coral); text-transform: none; }
.notfound__lede { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.6; color: var(--cream-dim); max-width: 34rem; margin-bottom: clamp(30px, 5vh, 44px); }
.notfound__actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.notfound__cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--coral); padding: 18px 30px; border-radius: 999px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.notfound__cta:hover { background: var(--yellow); transform: rotate(-1.5deg) scale(1.03); }
.notfound__alt { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--cream-dim); }
.notfound__alt a { color: var(--coral); border-bottom: 1px solid var(--line); }
.notfound__alt a:hover { border-bottom-color: var(--coral); }

/* privacy consent line under the contact form + footer legal links */
.loudform__consent { font-size: 12px; color: var(--cream-dim); line-height: 1.55; }
.loudform__consent a { color: var(--coral); border-bottom: 1px solid var(--line); }
.footer__legal-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.footer__legal-links a { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--cream-dim); transition: color 0.3s ease; }
.footer__legal-links a:hover { color: var(--coral); }
