:root {
  --bg: #131311;
  --surface: #1f1f1c;
  --ink: #ebebe8;
  --muted: #a8a69c;
  --accent: #ff5b1f;
  --accent-hover: #ff7a45;
  --accent-ink: #131311;
  --paper: #e8e8e5;
  --paper-surface: #dcdcd8;
  --paper-ink: #131311;
  --paper-muted: #55534c;

  --m: 32px;
  --gap: 20px;
  --r: 12px;

  --font: "TikTok Sans", system-ui, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.2rem + 3.6vw, 4.25rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.45 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.display {
  font-weight: 800; font-stretch: 150%; font-variation-settings: "wdth" 150;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: .9;
}

/* buttons: one shape */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--r);
  font: 700 var(--step-small)/1 var(--font);
  text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ink { background: var(--paper-ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: var(--accent-ink); }
.btn--line { background: var(--surface); color: var(--ink); }
.btn--line:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- hero: inset photograph, crossing wordmark ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__photo {
  position: absolute; top: 20px; left: 20px; bottom: 20px; width: 47vw;
  border-radius: var(--r); overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; animation: breathe 16s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.nav {
  position: absolute; top: 28px; right: var(--m);
  display: flex; align-items: center; gap: 28px;
  font-size: var(--step-small); font-weight: 600;
}
.nav a:not(.btn) { text-decoration: none; padding: 8px 0; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--accent); }
.hero__lead {
  position: absolute; top: 40%; left: calc(47vw + 20px + (53vw - 20px) / 2);
  transform: translateX(-50%);
  width: min(26ch, 40vw);
  font-size: var(--step-lead); line-height: 1.3;
}
.hero__name {
  position: absolute; right: var(--m); bottom: 36px;
  margin: 0;
  font: 800 11.4vw/.8 var(--font);
  font-stretch: 150%; font-variation-settings: "wdth" 150;
  letter-spacing: -0.03em; text-transform: uppercase;
  white-space: nowrap;
  transform-origin: right bottom;
}
.hero__word { display: block; }

/* rotating booking badge */
.badge {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; text-decoration: none;
  transition: transform .4s var(--ease), opacity .3s;
  opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.85);
}
.badge.on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge text { font: 700 13.5px var(--font); fill: currentColor; }
.badge__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent-ink); transition: transform .4s var(--ease); }
.badge:hover { transform: scale(1.06) rotate(-6deg); }
.badge:hover .badge__dot { transform: scale(1.6); }
.badge:hover svg { animation-duration: 5s; }
@keyframes spin { to { transform: rotate(360deg); } }
body.visit-on .badge.on { opacity: 0; pointer-events: none; transform: scale(.6); }

/* ---------- cuts: title torn at the seam ---------- */
.cuts { position: relative; }
.cuts__title {
  position: absolute; top: 32px; left: var(--m); z-index: 3;
  font: 700 clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem)/1 var(--font); text-transform: uppercase;
}
.proj { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.proj__pane { position: absolute; top: -12%; height: 124%; width: 50%; overflow: hidden; will-change: transform; }
.proj__pane--l { left: 0; }
.proj__pane--r { right: 0; }
.proj__pane img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.55) saturate(.95); }
.proj__pane .zoom { transform: scale(1.9); transform-origin: 60% 40%; }
.proj__pane .zoom--face { transform-origin: 50% 45%; }
.proj__pane--paper { background: var(--surface); }
.proj__pane--paper img { object-fit: contain; filter: invert(1) brightness(.75); mix-blend-mode: screen; padding: 18% 8%; }
.proj__label { transition: opacity .2s linear; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; z-index: 2; pointer-events: none; }
.proj__name {
  position: relative;
  font: 800 min(10vw, 10rem)/.82 var(--font);
  font-stretch: 150%; font-variation-settings: "wdth" 150;
  text-transform: uppercase; letter-spacing: -0.04em; white-space: nowrap;
  color: var(--ink);
}
.half { display: block; will-change: transform; }
.half--l { clip-path: inset(0 50% 0 0); }
.half--r { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.proj:nth-child(3) .proj__name { color: var(--accent); }
.proj:nth-child(2) .proj__name { color: var(--ink); }
.proj__meta { margin-top: 26px; font-size: var(--step-body); pointer-events: auto; }
.proj__meta a { text-decoration: none; display: inline-block; padding: 10px 4px; font-weight: 700; transition: color .2s; }
.proj__meta a:hover { color: var(--accent); }

/* ---------- price: the offer as a sentence ---------- */
.price { position: relative; }
.price__statement {
  min-height: 80svh; padding: 140px var(--m) 96px;
  background: var(--paper); color: var(--paper-ink);
  display: flex; flex-direction: column; justify-content: center;
}
.price__title {
  font: 800 clamp(3rem, 1rem + 8vw, 9rem)/.95 var(--font);
  font-stretch: 150%; font-variation-settings: "wdth" 150;
  text-transform: uppercase; letter-spacing: -0.03em;
}
.price__tag { display: inline-block; background: var(--accent); padding: 0 .15em; border-radius: 6px; }
.price__under { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 64px; }
.price__under p { max-width: 46ch; font-size: var(--step-lead); line-height: 1.35; }

.price__list {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 200px var(--m) 120px; align-items: end;
}
.price__head {
  grid-column: 1 / -1; margin-bottom: 96px; text-indent: 3vw;
  font: 700 var(--step-head)/.98 var(--font); text-transform: uppercase; max-width: 22ch;
}
.price__pic { grid-column: 1 / 6; align-self: start; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.price__pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.price__pic img.swap { opacity: 0; }
.price__table { grid-column: 7 / 13; align-self: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r);
  background: var(--surface); cursor: pointer;
  font-size: var(--step-small); font-weight: 600;
  transition: background-color .25s, color .25s;
}
.tabs button:hover { background: #2b2b27; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.rows li { animation: rowin .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes rowin { from { opacity: 0; transform: translateY(10px); } }
.row {
  display: grid; grid-template-columns: 28px 1fr auto auto; gap: 16px; align-items: baseline;
  padding: 14px 12px; margin: 0 -12px; border-radius: var(--r);
  cursor: pointer; transition: background-color .25s;
}
.row:hover { background: var(--surface); }
.row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.row .box { align-self: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface); display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease); }
.row .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) scale(.95); opacity: 0; transition: transform .3s var(--ease), opacity .2s; margin-top: -2px; }
.row input:checked ~ .box { background: var(--accent); }
.row input:checked ~ .box::after { transform: rotate(-45deg) scale(1); opacity: 1; }
.row input:focus-visible ~ .box { outline: 3px solid var(--accent); outline-offset: 2px; }
.row .t { color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.row .p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .d { display: block; color: var(--muted); font-size: var(--step-body); margin-top: 2px; }

.visit {
  position: sticky; bottom: 16px; z-index: 25;
  width: min(760px, calc(100% - 2 * var(--m))); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 12px 12px 24px; border-radius: var(--r);
  background: var(--paper); color: var(--paper-ink);
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .3s;
}
body.visit-on .visit { transform: none; opacity: 1; pointer-events: auto; }
.visit__sum { font-weight: 600; }

.gift {
  margin: 96px var(--m) 0; padding: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--surface); border-radius: var(--r);
}
.gift__text { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.gift__text b { color: var(--accent); font-weight: 700; }
.gift .btn--line { background: var(--bg); }

/* ---------- about: side facts, wide paragraph ---------- */
.about {
  margin-top: 200px; padding: 160px var(--m);
  background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-columns: 160px 1fr; column-gap: calc(34vw - 160px - var(--m));
  row-gap: 120px;
}
.about__facts { display: grid; gap: 20px; align-content: start; font-size: var(--step-body); }
.about__facts dt { color: var(--paper-muted); }
.about__facts dd { font-weight: 700; }
.about__text { font-size: clamp(1.25rem, 0.9rem + 1vw, 1.75rem); line-height: 1.35; max-width: min(56vw, 52ch); }
.about__word { font-size: var(--step-small); font-weight: 700; text-transform: uppercase; }
.about__lists { grid-column: 2; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: start; }
.about__list { display: grid; gap: 12px; font-size: var(--step-body); width: min(100%, 340px); }
.about__list li { display: flex; justify-content: space-between; gap: 16px; }
.about__list li span:last-child { color: var(--paper-muted); text-align: right; }

/* ---------- shop: small frames, wide space ---------- */
.shop { padding: 200px var(--m); }
.shop__title { font: 700 var(--step-lead)/1.2 var(--font); text-transform: uppercase; margin-bottom: 28px; }
.shop__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3vw; align-items: end; }
.item figure { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.item img[src$=".png"] { object-fit: contain; padding: 14%; }
.item:hover img { transform: scale(1.1); }
.item:nth-child(even) { transform: translateY(-48px); }
.item p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 12px; font-size: var(--step-body); }
.item b { color: var(--accent); white-space: nowrap; }
.shop__note { margin-top: 48px; font-size: var(--step-body); }

/* ---------- where: statement, table pushed right ---------- */
.where {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: 0 var(--m) 200px; align-items: end;
}
.where__title { grid-column: 1 / -1; margin-bottom: 96px; text-indent: 3vw; font: 700 var(--step-head)/.98 var(--font); text-transform: uppercase; max-width: 20ch; }
.where__pic { grid-column: 1 / 5; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.where__pic img { width: 100%; height: 100%; object-fit: cover; }
.where__word { grid-column: 7; align-self: start; font-size: var(--step-small); color: var(--muted); }
.where__rows { grid-column: 8 / 13; align-self: start; display: grid; gap: 26px; font-size: var(--step-body); }
.where__rows li { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 16px; }
.where__rows li span:first-child { color: var(--muted); }
.where__rows li > :last-child { text-align: right; }
.where__rows a { text-decoration: none; font-weight: 700; transition: color .2s; }
.where__rows a:hover { color: var(--accent); }
.where__rows .gap { margin-top: 44px; }

/* ---------- contact: the email as display type ---------- */
.contact {
  position: relative; min-height: 64svh; padding: 40px var(--m);
  background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-rows: auto 1fr auto;
}
.contact__lead { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.375rem); max-width: 26ch; }
.contact__mail {
  align-self: end; margin-bottom: 12vh;
  font: 400 6.9vw/1 var(--font); letter-spacing: -0.04em;
  text-decoration: none; white-space: nowrap;
  transition: color .3s;
}
.contact__mail:hover { color: var(--accent); }
.br-m { display: none; }
.contact__foot { display: flex; justify-content: space-between; gap: 24px; font-size: var(--step-body); }
.contact__foot a { text-decoration: none; }
.contact__foot a:hover { text-decoration: underline; }

/* ---------- footer: columns above, wordmark below ---------- */
.foot {
  padding: 40px var(--m) 24px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden;
}
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); font-size: var(--step-body); }
.foot__cols li:not(:first-child) { opacity: .75; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__mark {
  grid-row: 3; align-self: end;
  font: 800 13.4vw/.8 var(--font);
  font-stretch: 150%; font-variation-settings: "wdth" 150;
  letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap;
  margin: 160px 0 20px -0.04em; justify-self: start;
  transform-origin: left bottom;
}
.foot__legal { grid-row: 4; font-size: var(--step-body); max-width: 64ch; opacity: .85; }

/* ---------- entrances ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .item.reveal.in:nth-child(even) { transform: translateY(-48px); }
.js .hero__photo { animation: photoin 1.1s var(--ease) both; }
@keyframes photoin { from { opacity: .35; transform: scale(1.04); } }
.js .hero__word { animation: rise .8s var(--ease) .1s backwards; }
.js .hero__lead, .js .nav { animation: fade .6s var(--ease) .25s backwards; }
@keyframes rise { from { transform: translateY(30%); opacity: .2; } }
@keyframes fade { from { opacity: .2; } }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  :root { --m: 24px; }
  .nav a:not(.btn) { display: none; }
  .hero__lead { top: 30%; }
  .price__pic { grid-column: 1 / -1; aspect-ratio: 16 / 9; margin-bottom: 40px; }
  .price__table { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; row-gap: 40px; }
  .about__text { max-width: 52ch; }
  .about__facts { grid-template-columns: repeat(3, 1fr); }
  .about__lists { grid-column: 1; }
  .about__list { width: 100%; }
  .shop__row { grid-template-columns: repeat(3, 1fr); }
  .shop { padding: 140px var(--m) 120px; }
  .price__list { padding-top: 140px; }
  .where__pic { grid-column: 1 / 6; }
  .where__word { display: none; }
  .where__rows { grid-column: 7 / 13; }
}
@media (max-width: 680px) {
  :root { --m: 20px; }
  .hero { height: auto; min-height: 100svh; padding-bottom: 32px; display: flex; flex-direction: column; }
  .hero__photo { order: 1; }
  .hero__name { order: 2; }
  .hero__lead { order: 3; }
  .hero__photo { position: relative; top: auto; left: auto; bottom: auto; margin: 12px; width: auto; height: 58svh; }
  .nav { top: 22px; right: 24px; }
  .hero__name { position: relative; right: auto; bottom: auto; margin: -3vw var(--m) 0; z-index: 2; align-self: flex-start; }
  .hero__lead { position: static; transform: none; width: auto; margin: 24px var(--m) 0; font-size: var(--step-body); }
  .proj__name { font-size: 9.6vw; }
  .proj__meta { font-size: var(--step-small); padding: 0 var(--m); }
  .price__statement { min-height: 0; padding: 100px var(--m) 72px; }
  .price__title { font-size: 11.5vw; }
  .price__tag { display: table; margin-top: .08em; }
  .price__under { flex-direction: column; align-items: stretch; margin-top: 40px; }
  .price__under .btn { width: 100%; }
  .price__list { padding-top: 120px; }
  .price__head { text-indent: 0; margin-bottom: 40px; font-size: 9.5vw; }
  .row { grid-template-columns: 26px 1fr auto; }
  .row .t { grid-column: 2; grid-row: 2; }
  .row .p { grid-column: 3; grid-row: 1; }
  .visit { flex-direction: column; align-items: stretch; text-align: center; padding: 14px; }
  .gift { flex-direction: column; align-items: stretch; padding: 24px; }
  .about { padding: 100px var(--m); margin-top: 120px; }
  .about__text { font-size: 1.1875rem; }
  .about__facts { grid-template-columns: repeat(2, 1fr); font-size: 0.875rem; }
  .shop { padding: 120px var(--m); }
  .shop__row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .item:nth-child(even), .js .item.reveal.in:nth-child(even) { transform: translateY(32px); }
  .where { padding-bottom: 120px; }
  .where__title { text-indent: 0; font-size: 9.5vw; margin-bottom: 40px; }
  .where__rows { grid-column: 1 / -1; font-size: var(--step-body); }
  .where__rows li { grid-template-columns: 1fr auto; }
  .where__rows li span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .where__pic { grid-column: 5 / -1; grid-row: 3; margin-top: 48px; }
  .contact { min-height: 70svh; }
  .contact__mail { font-size: 11.5vw; white-space: normal; margin-bottom: 8vh; }
  .br-m { display: inline; }
  .contact__foot { flex-direction: column; gap: 12px; }
  .foot { min-height: 0; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .foot__mark { margin-top: 96px; }
  .badge { width: 104px; height: 104px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .half, .proj__pane { transform: none !important; }
}
