:root {
  --ink: #11110f;
  --paper: #f1eee7;
  --paper-deep: #e3ddd1;
  --lime: #d7ff45;
  --sage: #aeb89a;
  --clay: #d8b69e;
  --wine: #5b281f;
  --lavender: #c4bfd0;
  --line-light: rgba(17, 17, 15, 0.2);
  --line-dark: rgba(241, 238, 231, 0.24);
  --gutter: clamp(20px, 4vw, 64px);
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --display: "Bodoni Moda", "Times New Roman", serif;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
}

body:has(.detail-dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-shell {
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.05fr 1.65fr auto auto;
  align-items: start;
  gap: 28px;
  min-height: 86px;
  padding: 21px var(--gutter);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  grid-template-columns: 1fr 1fr;
  border: 1px solid currentColor;
  font-size: 12px;
  line-height: 34px;
  text-align: center;
}

.brand-mark span:last-child {
  color: var(--ink);
  background: var(--lime);
}

.brand-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 0.94;
}

.header-intro {
  margin: 1px 0 0;
  color: rgba(241, 238, 231, 0.62);
}

.header-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 38px);
  margin-top: 1px;
}

.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-transform: uppercase;
}

.header-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-nav a span {
  color: var(--lime);
  font-size: 7px;
}

.edition {
  margin: 1px 0 0;
  text-align: right;
}

.edition span {
  color: rgba(241, 238, 231, 0.46);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(760px, 100svh);
  flex-direction: column;
  overflow: hidden;
  padding: 118px var(--gutter) 24px;
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 25%, rgba(215, 255, 69, 0.09), transparent 24%),
    linear-gradient(135deg, #151512 0%, #0e0e0c 62%, #191915 100%);
}

.hero::before {
  content: "01";
  position: absolute;
  z-index: -1;
  top: -7vw;
  right: -2vw;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(380px, 58vw, 900px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.12em;
  line-height: 1;
  opacity: 0.13;
  -webkit-text-stroke: 1px var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(241, 238, 231, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 238, 231, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 46%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 46%, #000 100%);
}

.hero-grid {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-left: clamp(0px, 4.5vw, 76px);
  animation: hero-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow,
.section-label,
.card-kicker,
.dialog-index {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 30px;
  color: rgba(241, 238, 231, 0.58);
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--lime);
}

.hero-eyebrow span {
  color: var(--lime);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 7.2vw, 116px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.12;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--lime);
}

.hero h1 span::after {
  content: "";
  position: absolute;
  right: -0.42em;
  bottom: 0.1em;
  width: 0.28em;
  height: 0.28em;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.hero-description {
  margin: 32px 0 0;
  color: rgba(241, 238, 231, 0.68);
  font-family: var(--serif);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.045em;
  line-height: 2.05;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-top: 38px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-cta > span:first-child {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(241, 238, 231, 0.46);
  transition: border-color 200ms ease;
}

.hero-cta:hover > span:first-child {
  border-color: var(--lime);
}

.cta-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: var(--sans);
  font-size: 17px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta:hover .cta-arrow {
  transform: rotate(-45deg);
}

.hero-visual {
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  position: relative;
  width: min(100%, 560px);
  height: clamp(510px, 49vw, 660px);
  justify-self: center;
  perspective: 1200px;
  animation: hero-visual-in 1100ms 160ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cover-card {
  position: absolute;
  z-index: 4;
  top: 46%;
  left: 48%;
  display: flex;
  width: min(310px, 60%);
  aspect-ratio: 0.71;
  flex-direction: column;
  padding: clamp(15px, 1.7vw, 22px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(17, 17, 15, 0.7);
  box-shadow:
    19px 23px 0 rgba(0, 0, 0, 0.34),
    0 35px 70px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%) rotate(-7deg) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.cover-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(215, 255, 69, 0.5);
}

.cover-top,
.cover-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: clamp(6px, 0.55vw, 7.5px);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.cover-top {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ink);
}

.cover-art {
  position: relative;
  flex: 1;
  margin: 11px 0 10px;
  overflow: hidden;
  background: #171714;
}

.cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 17px,
    rgba(241, 238, 231, 0.08) 17px 18px
  );
}

.cover-arch {
  position: absolute;
  z-index: 1;
  bottom: -3%;
  left: 21%;
  width: 62%;
  height: 76%;
  border-radius: 48% 48% 0 0;
  background: var(--sage);
}

.cover-arch::before {
  content: "";
  position: absolute;
  top: 26%;
  left: 23%;
  width: 54%;
  height: 58%;
  border: 1px solid rgba(17, 17, 15, 0.72);
  border-bottom: 0;
  border-radius: 48% 48% 0 0;
}

.cover-sun {
  position: absolute;
  z-index: 2;
  top: 12%;
  right: 10%;
  width: 29%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  mix-blend-mode: screen;
}

.cover-stripe {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 16%;
  left: 0;
  height: 6%;
  background: var(--paper);
  transform: rotate(-8deg) scaleX(1.2);
}

.cover-letter {
  position: absolute;
  z-index: 4;
  top: 2%;
  left: 7%;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(70px, 11vw, 140px);
  font-style: italic;
  line-height: 1;
}

.cover-tiny {
  position: absolute;
  z-index: 5;
  right: 7%;
  bottom: 8%;
  color: var(--paper);
  font-family: var(--mono);
  font-size: clamp(5px, 0.55vw, 7px);
  line-height: 1.4;
  text-align: right;
}

.cover-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-end;
  padding-top: 2px;
}

.cover-copy p {
  max-width: 112px;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(5px, 0.55vw, 7px);
  line-height: 1.45;
}

.cover-copy strong {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 28px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
  text-align: right;
}

.cover-bottom {
  align-items: flex-end;
  margin-top: 13px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}

.cover-bottom span:last-child {
  font-family: var(--sans);
  font-size: 15px;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(241, 238, 231, 0.27);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 0;
  right: -12%;
  width: 85%;
  aspect-ratio: 1;
  animation: orbit-spin 34s linear infinite;
}

.orbit-one::after {
  content: "";
  position: absolute;
  top: 22%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(215, 255, 69, 0.12);
}

.orbit-two {
  right: 2%;
  bottom: 13%;
  width: 70%;
  aspect-ratio: 1;
  border-style: dashed;
}

.floating-ticket {
  position: absolute;
  z-index: 7;
  bottom: 4%;
  left: -2%;
  display: grid;
  width: 158px;
  min-height: 185px;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: start;
  padding: 15px;
  color: var(--ink);
  background: var(--sage);
  border: 1px solid var(--ink);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.34);
  transform: rotate(7deg);
}

.ticket-index {
  font-family: var(--mono);
  font-size: 8px;
}

.ticket-rule {
  height: 1px;
  margin-top: 6px;
  background: var(--ink);
}

.ticket-label {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.floating-ticket strong {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 11px;
  font-family: var(--display);
  font-size: 42px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.fields-seal {
  position: absolute;
  z-index: 6;
  top: 5%;
  right: -1%;
  display: flex;
  width: 108px;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  transform: rotate(11deg);
  animation: float 5s ease-in-out infinite;
}

.fields-seal span {
  font-family: var(--display);
  font-size: 39px;
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.fields-seal small {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.25;
  text-align: center;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: rgba(241, 238, 231, 0.4);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 30px;
  align-items: end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: rgba(241, 238, 231, 0.47);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-footer p {
  margin: 0;
}

.hero-footer p:nth-child(2) {
  text-align: center;
}

.hero-footer p:last-child {
  text-align: right;
}

.hero-footer p span {
  color: var(--lime);
}

.scroll-cue {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 13px;
}

.scroll-line {
  position: relative;
  width: 70px;
  height: 1px;
  overflow: hidden;
  background: rgba(241, 238, 231, 0.28);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-100%);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.collection {
  position: relative;
  padding: clamp(86px, 9vw, 140px) var(--gutter) clamp(100px, 11vw, 168px);
  color: var(--ink);
  background: var(--paper);
}

.collection::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--line-light);
}

.collection-intro {
  display: grid;
  grid-template-columns: 1fr 2.5fr 0.7fr;
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 102px);
}

.section-label {
  margin: 8px 0 0;
  color: rgba(17, 17, 15, 0.54);
}

.section-label span {
  margin-right: 9px;
  color: var(--ink);
}

.collection-title h2,
.manifesto-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.8vw, 105px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.collection-title h2 em {
  color: #706a5f;
  font-weight: 400;
}

.collection-title > p {
  max-width: 500px;
  margin: 29px 0 0;
  color: #5d594f;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.035em;
  line-height: 2;
}

.collection-count {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: clamp(54px, 6vw, 86px);
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 0.72;
  text-align: right;
}

.collection-count span {
  display: inline-block;
  margin-left: 12px;
  color: #777126;
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-align: left;
  text-transform: uppercase;
  vertical-align: top;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(465px, 45vw, 610px);
  flex-direction: column;
  overflow: hidden;
  padding: clamp(18px, 2vw, 28px);
  color: var(--ink);
  background: var(--card-color);
  border: 1px solid rgba(17, 17, 15, 0.34);
  transition:
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 500ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 700ms ease;
}

.project-card:nth-child(1),
.project-card:nth-child(4) {
  grid-column: span 7;
}

.project-card:nth-child(2),
.project-card:nth-child(3) {
  grid-column: span 5;
}

.project-card:nth-child(2),
.project-card:nth-child(4) {
  margin-top: clamp(0px, 5vw, 72px);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 250ms ease;
}

.project-card:hover {
  z-index: 4;
  box-shadow: 13px 14px 0 rgba(17, 17, 15, 0.13);
  transform: translateY(-8px);
}

.project-card:hover::after {
  border-color: rgba(17, 17, 15, 0.7);
}

.project-card--builder {
  --card-color: var(--sage);
  --canvas-color: #dcd8c8;
}

.project-card--salon {
  --card-color: var(--clay);
  --canvas-color: #ead7c6;
}

.project-card--restaurant {
  --card-color: var(--wine);
  --canvas-color: #f0e4d1;
}

.project-card--nail {
  --card-color: var(--lavender);
  --canvas-color: #e9e5e8;
}

.project-card__open {
  display: block;
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-card__open:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -7px;
}

.card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.card-tag {
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: 0.66;
}

.card-canvas {
  position: relative;
  flex: 1;
  min-height: 255px;
  margin: clamp(18px, 2.4vw, 34px) 0 clamp(26px, 3.2vw, 46px);
  overflow: hidden;
  background: var(--canvas-color);
}

.art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 15, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
}

.art-arch {
  position: absolute;
  right: 11%;
  bottom: -4%;
  width: 48%;
  height: 88%;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 52% 52% 0 0;
  background: var(--sage);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.art-window {
  position: absolute;
  z-index: 1;
  right: 23%;
  bottom: 16%;
  width: 24%;
  height: 34%;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: var(--paper);
}

.art-window::before,
.art-window::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.art-window::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.art-window::after {
  top: 48%;
  right: 0;
  left: 0;
  height: 1px;
}

.art-builder .art-wordmark {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: 5%;
  font-family: var(--display);
  font-size: clamp(46px, 6.2vw, 90px);
  font-style: italic;
  letter-spacing: -0.09em;
  line-height: 0.72;
}

.art-salon::before {
  content: "";
  position: absolute;
  top: 13%;
  right: -4%;
  width: 78%;
  height: 90%;
  border-radius: 48% 48% 0 0;
  background: #312b26;
  transform: rotate(-9deg);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.art-salon::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: -2%;
  width: 53%;
  height: 77%;
  border-radius: 47% 49% 15% 15%;
  background: var(--clay);
  transform: rotate(-9deg);
}

.art-figure {
  position: absolute;
  z-index: 1;
  right: 27%;
  bottom: 19%;
  width: 20%;
  height: 32%;
  border-radius: 50% 50% 46% 46%;
  background: #c38e67;
  transform: rotate(-9deg);
}

.art-orbit {
  position: absolute;
  top: -30%;
  left: -16%;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 17, 15, 0.36);
  border-radius: 50%;
}

.art-salon .art-wordmark {
  position: absolute;
  z-index: 5;
  top: 11%;
  left: 7%;
  font-family: var(--display);
  font-size: clamp(63px, 8vw, 118px);
  font-style: italic;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.art-note {
  position: absolute;
  z-index: 5;
  right: 7%;
  bottom: 6%;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.project-card--restaurant .card-canvas {
  color: var(--wine);
}

.project-card--restaurant .card-top,
.project-card--restaurant .card-bottom,
.project-card--restaurant .art-note {
  color: var(--paper);
}

.art-restaurant::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -17%;
  width: 84%;
  aspect-ratio: 1;
  border: 1px solid rgba(91, 40, 31, 0.32);
  border-radius: 50%;
}

.art-plate {
  position: absolute;
  top: 12%;
  right: 13%;
  width: 53%;
  aspect-ratio: 1;
  border: 1px solid var(--wine);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #b7472f 0 9%, #e6c17f 9.5% 24%, transparent 24.5%),
    repeating-conic-gradient(from 30deg, #d9b173 0 9deg, #adb66f 9deg 18deg);
  box-shadow:
    inset 0 0 0 12px var(--canvas-color),
    inset 0 0 0 13px var(--wine);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.art-cutlery {
  position: absolute;
  top: 18%;
  left: 12%;
  width: 7px;
  height: 56%;
  border-radius: 4px;
  background: var(--wine);
  transform: rotate(10deg);
}

.art-cutlery::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 23px;
  height: 28%;
  border: 2px solid var(--wine);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.art-cutlery::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -2px;
  width: 5px;
  height: 55%;
  background: var(--wine);
  box-shadow: -12px 13px 0 -1px var(--wine);
  transform: rotate(-12deg);
}

.art-restaurant .art-wordmark {
  position: absolute;
  z-index: 2;
  bottom: 7%;
  left: 5%;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(35px, 4.7vw, 69px);
  font-style: italic;
  letter-spacing: -0.08em;
  line-height: 0.74;
}

.art-restaurant .art-note {
  color: var(--wine);
  opacity: 0.62;
}

.project-card--restaurant .card-kicker,
.project-card--restaurant .card-description,
.project-card--restaurant .card-link,
.project-card--restaurant .card-bottom h3 {
  color: var(--paper);
}

.art-nail::before {
  content: "";
  position: absolute;
  top: -68%;
  right: -12%;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 17, 15, 0.24);
  border-radius: 50%;
}

.art-nail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 1px;
  background: rgba(17, 17, 15, 0.18);
}

.nail-shape {
  position: absolute;
  z-index: 2;
  top: 11%;
  width: 15%;
  height: 84%;
  border-radius: 100px 100px 18px 18px;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nail-one {
  left: 19%;
  background: #f5f1e8;
  transform: rotate(13deg);
  box-shadow: 4px 3px 0 rgba(17, 17, 15, 0.12);
}

.nail-two {
  left: 40%;
  background: #aa9eb8;
  transform: translateY(8%) rotate(3deg);
}

.nail-three {
  left: 61%;
  background: #c5918e;
  transform: translateY(-3%) rotate(-10deg);
}

.nail-orbit {
  position: absolute;
  z-index: 1;
  top: 27%;
  left: 30%;
  width: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 17, 15, 0.35);
  border-radius: 50%;
}

.art-nail .art-wordmark {
  position: absolute;
  z-index: 4;
  top: 9%;
  left: 6%;
  font-family: var(--display);
  font-size: clamp(61px, 7.8vw, 112px);
  font-style: italic;
  letter-spacing: -0.1em;
  line-height: 0.8;
  mix-blend-mode: multiply;
}

.project-card:hover .art-arch {
  transform: translateY(-9px) rotate(2deg);
}

.project-card:hover .art-salon::before {
  transform: rotate(-5deg) scale(1.04);
}

.project-card:hover .art-plate {
  transform: rotate(17deg);
}

.project-card:hover .nail-one {
  transform: translateY(-11px) rotate(9deg);
}

.project-card:hover .nail-two {
  transform: translateY(2%) rotate(1deg);
}

.project-card:hover .nail-three {
  transform: translateY(-8%) rotate(-6deg);
}

.card-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(180px, 1.2fr) auto;
  gap: 24px;
  align-items: end;
}

.card-kicker {
  margin: 0 0 9px;
  opacity: 0.52;
}

.card-bottom h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
}

.card-description {
  margin: 0;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.015em;
  line-height: 1.8;
  opacity: 0.75;
}

.card-link {
  display: flex;
  min-width: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-link span {
  font-family: var(--sans);
  font-size: 14px;
  transition: transform 250ms ease;
}

.project-card:hover .card-link span {
  transform: translate(2px, -2px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-grid [data-reveal]:nth-child(2) {
  transition-delay: 90ms;
}

.card-grid [data-reveal]:nth-child(3) {
  transition-delay: 40ms;
}

.card-grid [data-reveal]:nth-child(4) {
  transition-delay: 130ms;
}

.manifesto {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 38px;
  padding: 18px 0;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 44px);
  font-style: italic;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--lime);
  font-family: var(--sans);
  font-size: 15px;
  font-style: normal;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 62px clamp(46px, 9vw, 150px);
  padding: clamp(80px, 9vw, 132px) var(--gutter) clamp(94px, 10vw, 156px);
}

.manifesto-heading .section-label {
  color: rgba(241, 238, 231, 0.46);
}

.manifesto-heading .section-label span {
  color: var(--lime);
}

.manifesto-heading h2 {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: clamp(52px, 7.3vw, 112px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.13;
}

.manifesto-heading h2 em {
  color: var(--lime);
  font-style: normal;
  font-weight: inherit;
}

.manifesto-copy {
  align-self: end;
  padding-bottom: 9px;
}

.manifesto-copy p {
  margin: 0 0 24px;
  color: rgba(241, 238, 231, 0.67);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 2.1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(241, 238, 231, 0.45);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--lime);
  font-family: var(--sans);
  font-size: 17px;
  transition: transform 220ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.manifesto-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(34px, 6vw, 84px);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.manifesto-facts div {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.manifesto-facts strong {
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 57px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.manifesto-facts span {
  color: rgba(241, 238, 231, 0.46);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: end;
  padding: 28px var(--gutter) 34px;
  color: rgba(241, 238, 231, 0.55);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-transform: uppercase;
}

.footer-brand {
  width: max-content;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 0.9;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.footer-meta a {
  color: var(--lime);
}

.detail-dialog {
  width: min(920px, calc(100% - 40px));
  max-height: min(760px, calc(100svh - 40px));
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 20px 24px 0 rgba(0, 0, 0, 0.32);
}

.detail-dialog::backdrop {
  background: rgba(10, 10, 9, 0.74);
  backdrop-filter: blur(7px);
}

.detail-dialog[open] {
  animation: dialog-in 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease;
}

.dialog-close:hover {
  transform: rotate(90deg);
}

.dialog-layout {
  display: grid;
  min-height: 570px;
  grid-template-columns: 0.9fr 1.1fr;
}

.dialog-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--dialog-bg, var(--sage));
}

.dialog-visual::before {
  content: "";
  position: absolute;
  top: 11%;
  right: 12%;
  width: 66%;
  height: 78%;
  border: 1px solid var(--dialog-ink, var(--ink));
  border-radius: 50% 50% 0 0;
  background: var(--dialog-art, var(--paper));
}

.dialog-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(17, 17, 15, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}

.dialog-visual[data-theme="salon"] {
  --dialog-bg: var(--clay);
  --dialog-art: #312b26;
  --dialog-ink: #312b26;
}

.dialog-visual[data-theme="restaurant"] {
  --dialog-bg: #f0e4d1;
  --dialog-art: var(--wine);
  --dialog-ink: var(--wine);
}

.dialog-visual[data-theme="nail"] {
  --dialog-bg: #e9e5e8;
  --dialog-art: #aa9eb8;
  --dialog-ink: var(--ink);
}

.dialog-wordmark {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 8%;
  max-width: 80%;
  font-family: var(--display);
  font-size: clamp(62px, 10vw, 118px);
  font-style: italic;
  letter-spacing: -0.1em;
  line-height: 0.76;
}

.dialog-symbol {
  position: absolute;
  z-index: 3;
  right: 13%;
  bottom: 15%;
  width: 31%;
  aspect-ratio: 1;
  border: 1px solid var(--dialog-ink, var(--ink));
  border-radius: 50%;
  background: var(--lime);
}

.dialog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px);
}

.dialog-index {
  margin: 0 0 22px;
  color: #756f64;
}

.dialog-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
}

.dialog-description {
  margin: 25px 0;
  color: #5c584f;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 2;
}

.dialog-notes {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.dialog-notes li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dialog-notes li::before {
  content: "↳";
  color: #777126;
}

.dialog-palette {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.dialog-palette span {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 17, 15, 0.25);
  border-radius: 50%;
}

.dialog-footnote {
  margin: 30px 0 0;
  color: #8a857b;
  font-family: var(--display);
  font-size: 17px;
  font-style: italic;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(11deg);
  }
  50% {
    transform: translateY(-9px) rotate(8deg);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .header-intro {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
    gap: 24px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(50px, 7.4vw, 80px);
  }

  .hero-visual {
    height: 540px;
  }

  .cover-card {
    width: min(285px, 66%);
  }

  .collection-intro {
    grid-template-columns: 0.8fr 2.2fr 0.6fr;
  }

  .project-card {
    min-height: 500px;
  }

  .card-bottom {
    grid-template-columns: 1fr auto;
  }

  .card-description {
    grid-row: 2;
    grid-column: 1;
  }

  .card-link {
    grid-row: 1 / 3;
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 78px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .header-nav {
    gap: 17px;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 670px;
  }

  .hero h1 {
    font-size: clamp(49px, 10vw, 82px);
  }

  .hero-visual {
    width: min(96%, 530px);
    height: 530px;
    margin-top: 30px;
  }

  .cover-card {
    width: min(290px, 65%);
  }

  .hero-footer {
    grid-template-columns: 1fr auto;
    margin-top: 50px;
  }

  .hero-footer p:nth-child(2) {
    display: none;
  }

  .collection-intro {
    grid-template-columns: 1fr auto;
  }

  .collection-title {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .collection-count {
    grid-column: 2;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card:nth-child(n) {
    grid-column: span 1;
    min-height: 520px;
    margin-top: 0;
  }

  .project-card:nth-child(even) {
    margin-top: 48px;
  }

  .card-bottom {
    grid-template-columns: 1fr auto;
  }

  .card-description {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 1px;
  }

  .card-link {
    grid-row: 1;
    grid-column: 2;
  }

  .art-builder .art-wordmark,
  .art-salon .art-wordmark,
  .art-nail .art-wordmark {
    font-size: clamp(42px, 8vw, 78px);
  }

  .art-restaurant .art-wordmark {
    font-size: clamp(31px, 5vw, 53px);
  }

  .manifesto-inner {
    grid-template-columns: 1fr;
  }

  .manifesto-copy {
    max-width: 570px;
  }

  .manifesto-facts {
    grid-column: 1;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 40px);
    overflow-y: auto;
  }

  .dialog-visual {
    min-height: 280px;
  }

  .dialog-content {
    padding: 38px 30px 42px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .edition {
    font-size: 8px;
  }

  .hero {
    padding-top: 106px;
    padding-bottom: 18px;
  }

  .hero::before {
    top: 14%;
    right: -9vw;
    font-size: 78vw;
  }

  .hero-eyebrow {
    display: block;
    margin-bottom: 24px;
    font-size: 8px;
  }

  .hero-eyebrow::before {
    content: none;
  }

  .hero-eyebrow span {
    display: block;
  }

  .hero h1 {
    font-size: clamp(43px, 13.4vw, 66px);
    letter-spacing: -0.075em;
    line-height: 1.16;
  }

  .hero-description {
    margin-top: 26px;
    font-size: 12px;
  }

  .desktop-break {
    display: none;
  }

  .hero-cta {
    margin-top: 30px;
  }

  .hero-visual {
    width: 100%;
    height: 430px;
    margin-top: 20px;
  }

  .cover-card {
    top: 48%;
    left: 48%;
    width: min(250px, 70%);
  }

  .cover-letter {
    font-size: 80px;
  }

  .cover-copy strong {
    font-size: 21px;
  }

  .floating-ticket {
    bottom: 1%;
    left: -1%;
    width: 124px;
    min-height: 151px;
    padding: 12px;
  }

  .floating-ticket strong {
    margin-top: 5px;
    font-size: 32px;
  }

  .fields-seal {
    top: 0;
    right: -1%;
    width: 84px;
  }

  .fields-seal span {
    font-size: 31px;
  }

  .visual-caption {
    display: none;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    margin-top: 27px;
    padding-top: 13px;
  }

  .hero-footer p:last-child {
    display: none;
  }

  .scroll-line {
    width: 46px;
  }

  .collection {
    padding-top: 76px;
    padding-bottom: 92px;
  }

  .collection-intro {
    gap: 18px;
    margin-bottom: 44px;
  }

  .collection-title h2 {
    font-size: clamp(45px, 14vw, 66px);
    line-height: 0.95;
  }

  .collection-title > p {
    margin-top: 24px;
    font-size: 12px;
  }

  .collection-count {
    padding-top: 3px;
    font-size: 49px;
  }

  .collection-count span {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .project-card:nth-child(n) {
    min-height: 470px;
    margin-top: 0;
  }

  .card-canvas {
    min-height: 245px;
    margin-top: 20px;
    margin-bottom: 27px;
  }

  .card-tag {
    display: none;
  }

  .card-bottom h3 {
    font-size: 34px;
  }

  .art-builder .art-wordmark,
  .art-salon .art-wordmark,
  .art-nail .art-wordmark {
    font-size: 65px;
  }

  .art-restaurant .art-wordmark {
    font-size: 45px;
  }

  .marquee-track {
    gap: 25px;
  }

  .manifesto-inner {
    padding-top: 72px;
    padding-bottom: 82px;
  }

  .manifesto-heading h2 {
    margin-top: 26px;
    font-size: clamp(44px, 12.7vw, 63px);
    line-height: 1.2;
  }

  .manifesto-facts {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .manifesto-facts div {
    min-height: 102px;
  }

  .site-footer {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .footer-meta span {
    display: none;
  }

  .detail-dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
  }

  .dialog-layout {
    max-height: calc(100svh - 24px);
  }

  .dialog-visual {
    min-height: 230px;
  }

  .dialog-wordmark {
    font-size: 72px;
  }

  .dialog-content {
    padding: 34px 22px 39px;
  }

  .dialog-content h2 {
    font-size: 44px;
  }

  .dialog-close {
    top: 11px;
    right: 11px;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
