@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/AtkinsonHyperlegibleNext-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --white: oklch(1 0 0);
  --canvas: oklch(0.98 0.012 353);
  --surface: oklch(0.965 0.024 353);
  --ink: oklch(0.2 0.05 333);
  --ink-soft: oklch(0.39 0.036 333);
  --primary: oklch(0.62 0.22 353);
  --primary-deep: oklch(0.48 0.18 353);
  --pink-soft: oklch(0.84 0.105 353);
  --mint: oklch(0.8 0.11 169);
  --mint-soft: oklch(0.91 0.058 169);
  --yellow: oklch(0.89 0.125 92);
  --line: oklch(0.86 0.058 353);
  --focus: oklch(0.45 0.19 353);
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "Atkinson Hyperlegible Next", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --content-width: 78rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: var(--primary-deep);
  text-decoration-color: color-mix(in oklch, currentColor 58%, transparent);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Splash page */

.splash-page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--canvas);
  grid-template-rows: minmax(min-content, 1fr) auto;
}

.splash-main {
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 6vw, 6rem) 2rem;
}

.brand-lockup {
  display: flex;
  width: min(100%, 72rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-assembly {
  position: relative;
  width: clamp(10rem, min(25vw, 45svh), 23rem);
  aspect-ratio: 10 / 11;
  margin-bottom: clamp(1rem, 3.5vh, 2.25rem);
}

.logo-slice {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo-slice--left {
  clip-path: inset(0 50% 0 0);
  animation: assemble-left 900ms 90ms var(--ease-out) both;
}

.logo-slice--right {
  clip-path: inset(0 0 0 50%);
  animation: assemble-right 900ms 90ms var(--ease-out) both;
}

.studio-name {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.3vw, 5.4rem);
  font-stretch: 75%;
  font-variation-settings: "opsz" 72, "wdth" 75;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.claim {
  max-width: 50ch;
  margin: clamp(1.1rem, 2.7vh, 1.75rem) 0 0;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.25vw, 1.85rem);
  font-variation-settings: "opsz" 30, "wdth" 96;
  font-weight: 520;
  letter-spacing: -0.015em;
  line-height: 1.22;
  text-wrap: balance;
  animation: claim-settle 800ms 420ms var(--ease-out) both;
}

.splash-footer {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem clamp(1.2rem, 3.5vh, 2rem);
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.3;
}

.splash-footer a {
  position: relative;
  display: inline-block;
  padding-bottom: 0.28rem;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.splash-footer a::before {
  position: absolute;
  content: "";
  inset: -0.72rem -0.65rem;
}

.splash-footer a::after {
  position: absolute;
  right: -0.08rem;
  bottom: 0;
  left: -0.08rem;
  height: 1.5px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.splash-footer p {
  margin: 0;
}

.splash-motifs,
.motif {
  position: absolute;
  pointer-events: none;
}

.splash-motifs {
  z-index: 1;
  inset: 0;
  overflow: hidden;
}

.motif--mint-corner {
  top: -2rem;
  left: -2rem;
  width: clamp(9rem, 22vw, 21rem);
  height: clamp(12rem, 38vh, 24rem);
  background: var(--mint);
  clip-path: polygon(0 0, 100% 0, 36% 25%, 82% 27%, 23% 49%, 67% 47%, 0 88%);
}

.motif--pink-spark {
  top: -3rem;
  right: -3rem;
  width: clamp(9rem, 17vw, 16rem);
  aspect-ratio: 1;
  background: var(--pink-soft);
  clip-path: polygon(41% 0, 58% 22%, 80% 7%, 77% 34%, 100% 40%, 75% 54%, 88% 79%, 61% 70%, 48% 100%, 38% 73%, 8% 86%, 23% 58%, 0 44%, 29% 35%);
}

.motif--yellow-triangles {
  top: 31%;
  left: clamp(1.5rem, 9vw, 9rem);
  width: 4.8rem;
  height: 3rem;
}

.motif--yellow-triangles::before,
.motif--yellow-triangles::after {
  position: absolute;
  width: 2rem;
  height: 1.8rem;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 50%, 18% 100%);
  content: "";
}

.motif--yellow-triangles::after {
  top: -1.25rem;
  right: 0;
  rotate: -18deg;
}

.motif--blush-arch {
  bottom: -8rem;
  left: -7rem;
  width: clamp(13rem, 25vw, 24rem);
  aspect-ratio: 1;
  background: var(--pink-soft);
  border-radius: 48% 48% 0 0;
  rotate: 14deg;
}

.motif--plum-feathers {
  bottom: clamp(2rem, 8vh, 6rem);
  left: clamp(1.2rem, 7vw, 6.5rem);
  width: 7rem;
  height: 5.5rem;
}

.motif--plum-feathers::before,
.motif--plum-feathers::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6.5rem;
  height: 1.25rem;
  background: var(--ink);
  border-radius: 100% 0;
  content: "";
  transform-origin: left center;
  rotate: -24deg;
}

.motif--plum-feathers::after {
  width: 5.2rem;
  rotate: -56deg;
}

.motif--mint-zigzag {
  right: -1rem;
  bottom: -3rem;
  width: clamp(10rem, 19vw, 18rem);
  height: clamp(12rem, 28vh, 18rem);
  background: var(--mint);
  clip-path: polygon(68% 0, 100% 18%, 73% 32%, 100% 49%, 69% 57%, 100% 80%, 62% 77%, 72% 100%, 20% 100%, 0 51%, 33% 62%, 24% 29%, 56% 43%);
}

.motif--yellow-crown {
  right: clamp(6rem, 16vw, 15rem);
  bottom: clamp(2rem, 8vh, 6rem);
  width: 4rem;
  height: 3rem;
  background: var(--yellow);
  clip-path: polygon(0 19%, 30% 52%, 37% 0, 61% 50%, 81% 7%, 100% 100%, 22% 100%);
  rotate: -12deg;
}

@keyframes assemble-left {
  from {
    transform: translateX(-1.2rem) rotate(-3deg);
  }
  to {
    transform: translateX(0) rotate(0);
  }
}

@keyframes assemble-right {
  from {
    transform: translateX(1.2rem) rotate(3deg);
  }
  to {
    transform: translateX(0) rotate(0);
  }
}

@keyframes claim-settle {
  from {
    filter: blur(2px);
    transform: translateY(0.55rem);
  }
  to {
    filter: blur(0);
    transform: translateY(0);
  }
}

/* Privacy policy */

.privacy-page {
  background: var(--white);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem max(1.25rem, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.mini-brand,
.back-link,
.home-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.mini-brand {
  gap: 0.85rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.mini-brand img {
  width: 2.75rem;
  height: auto;
}

.back-link,
.home-link {
  gap: 0.45rem;
  font-size: 1rem;
}

.back-link svg,
.home-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 180ms var(--ease-out);
}

.back-link:hover svg,
.home-link:hover svg {
  transform: translateX(-0.2rem);
}

.policy-layout {
  display: grid;
  max-width: var(--content-width);
  min-height: 75vh;
  margin: 0 auto;
  grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
}

.policy-rail {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 2rem 4rem 0;
  background: var(--surface);
}

.policy-rail::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;
  background: var(--surface);
  content: "";
}

.policy-rail nav {
  position: sticky;
  top: 2rem;
}

.policy-rail-title {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
}

.policy-rail ol {
  margin: 0;
  padding-left: 1.55rem;
}

.policy-rail li {
  padding: 0.42rem 0 0.42rem 0.15rem;
  color: var(--primary-deep);
  font-size: 0.98rem;
  line-height: 1.35;
}

.policy-rail li::marker {
  font-family: var(--font-display);
  font-weight: 750;
}

.policy-rail a {
  color: var(--ink);
  text-decoration: none;
}

.policy-rail a:hover {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.22em;
}

.policy-article {
  min-width: 0;
  padding: clamp(3.2rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.25rem) 7rem;
}

.policy-heading,
.policy-article section {
  max-width: 46rem;
}

.policy-heading {
  padding-bottom: 2.75rem;
}

.policy-title-wrap {
  position: relative;
  display: inline-block;
}

.policy-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  font-variation-settings: "opsz" 72, "wdth" 92;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.title-spark {
  position: absolute;
  top: -1rem;
  right: -3rem;
  display: block;
  width: 3rem;
  height: 2.35rem;
}

.title-spark i {
  position: absolute;
  display: block;
  width: 0.36rem;
  height: 1.15rem;
  background: var(--primary);
  border-radius: 999px;
}

.title-spark i:first-child {
  top: 0.85rem;
  left: 0.15rem;
  transform: rotate(-54deg);
}

.title-spark i:nth-child(2) {
  top: 0;
  left: 1.32rem;
  height: 1.45rem;
}

.title-spark i:last-child {
  top: 0.85rem;
  right: 0.15rem;
  transform: rotate(54deg);
}

.last-updated {
  margin: 1.45rem 0 0;
  color: var(--ink-soft);
  font-weight: 650;
}

.policy-intro {
  max-width: 59ch;
  margin: 1.5rem 0 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.1vw, 1.4rem);
  line-height: 1.48;
  text-wrap: pretty;
}

.policy-article section {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.policy-article section:last-child {
  padding-bottom: 0;
}

.policy-article h2,
.policy-article h3 {
  color: var(--ink);
  font-family: var(--font-display);
  text-wrap: balance;
}

.policy-article h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-variation-settings: "opsz" 40, "wdth" 94;
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.policy-article h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.28rem;
  font-weight: 690;
  line-height: 1.25;
}

.policy-article p,
.policy-article ul {
  max-width: 68ch;
}

.policy-article p {
  margin: 0.85rem 0 0;
  text-wrap: pretty;
}

.policy-article ul {
  margin: 1rem 0 1.25rem;
  padding-left: 1.3rem;
}

.policy-article li {
  padding-left: 0.45rem;
  margin: 0.48rem 0;
}

.policy-article li::marker {
  color: var(--primary);
}

.contact-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
}

.policy-footer {
  display: flex;
  max-width: var(--content-width);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.policy-footer p {
  margin: 0;
}

.policy-footer a {
  color: var(--ink);
}

/* Not found */

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 2rem;
  background: var(--canvas);
}

.not-found-page main {
  display: flex;
  max-width: 46rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.not-found-page img {
  width: clamp(7rem, 18vw, 10rem);
  height: auto;
}

.not-found-page h1 {
  margin: 1.25rem 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-variation-settings: "opsz" 64, "wdth" 88;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

@media (max-width: 54rem) {
  .motif--yellow-triangles,
  .motif--yellow-crown,
  .motif--plum-feathers {
    display: none;
  }

  .policy-layout {
    display: block;
  }

  .policy-rail {
    padding: 2rem max(1.25rem, 6vw);
  }

  .policy-rail::before {
    right: 50%;
    left: auto;
    width: 100vw;
  }

  .policy-rail nav {
    position: static;
    max-width: 46rem;
    margin: 0 auto;
  }

  .policy-rail ol {
    columns: 2;
    column-gap: 2rem;
  }

  .policy-rail li {
    break-inside: avoid;
  }

  .policy-article {
    max-width: 52rem;
    margin: 0 auto;
    padding: 3.5rem max(1.25rem, 6vw) 5rem;
  }
}

@media (max-width: 38rem) {
  body {
    font-size: 1.0625rem;
  }

  .splash-main {
    padding-top: 4rem;
  }

  .studio-name {
    max-width: 10ch;
  }

  .claim {
    max-width: 25ch;
  }

  .motif--mint-corner {
    opacity: 0.78;
  }

  .motif--pink-spark {
    opacity: 0.82;
  }

  .motif--blush-arch {
    bottom: -7rem;
    left: -8rem;
  }

  .motif--mint-zigzag {
    right: -5rem;
    bottom: -5rem;
  }

  .site-header {
    min-height: 5.25rem;
    padding: 0.8rem 1rem;
  }

  .mini-brand span {
    max-width: 9rem;
    line-height: 1.05;
  }

  .back-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .back-link svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .policy-rail ol {
    columns: 1;
  }

  .policy-heading h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .title-spark {
    top: -1rem;
    right: -2.1rem;
    scale: 0.8;
  }

  .policy-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .policy-rail,
  .policy-footer,
  .skip-link,
  .title-spark {
    display: none !important;
  }

  body {
    color: oklch(0 0 0);
    background: oklch(1 0 0);
    font-size: 11pt;
  }

  .policy-layout,
  .policy-article {
    display: block;
    max-width: none;
    padding: 0;
  }

  .policy-article section {
    break-inside: avoid;
  }

  a {
    color: inherit;
  }
}
