:root {
  --paper: #efeee9;
  --paper-dark: #d8d5cc;
  --ink: #10100f;
  --muted: #6d6a63;
  --line: #c8c5bc;
  --soft: #f8f7f2;
  --grey: #77736d;
  --red: #9b2f28;
  --shadow: 0 22px 60px rgba(15, 15, 14, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: default;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.065;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px);
  background-size: 13px 17px, 19px 23px;
  mix-blend-mode: multiply;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1000;
  transition: opacity 120ms ease, width 140ms ease, height 140ms ease, background 140ms ease;
}

.cursor-dot.is-visible {
  opacity: 1;
}

.cursor-dot.is-hover {
  width: 28px;
  height: 28px;
  background: rgba(16, 16, 15, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 64px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(16, 16, 15, 0.13);
  background: rgba(239, 238, 233, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.language-switch {
  display: flex;
  border: 1px solid var(--line);
}

.lang-button {
  width: 38px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.lang-button.active {
  background: var(--ink);
  color: var(--paper);
}

.section-band {
  position: relative;
  padding: 90px 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.76), rgba(16, 16, 15, 0.34) 44%, rgba(16, 16, 15, 0.12)),
    linear-gradient(180deg, rgba(16, 16, 15, 0.12), rgba(16, 16, 15, 0.72));
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 50%;
  filter: grayscale(0.1) contrast(1.05) brightness(0.78);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 780px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 13vw, 168px);
  line-height: 0.86;
  font-weight: 520;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 112px);
  line-height: 0.92;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.05;
}

.hero-subtitle {
  margin-bottom: 8px;
  font-size: clamp(24px, 3.4vw, 46px);
  line-height: 1;
}

.hero-seo {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(239, 238, 233, 0.78);
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.35;
}

.hero-work-strip {
  display: none;
}

.hero-video-welcome {
  display: none;
}

.hero .kicker {
  display: none;
}

.hero .hero-meta a,
.hero .button {
  color: var(--paper);
  border-color: currentColor;
}

.hero .hero-meta a:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero .button.primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.hero .button.secondary {
  background: rgba(16, 16, 15, 0.18);
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.hero-meta {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0;
}

.hero-meta a,
.stamp,
.status,
.work-label,
.work-number {
  border: 1px solid currentColor;
  padding: 6px 9px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.hero-meta a {
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero-meta a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

.hero-board {
  display: none;
}

.paper-card {
  position: absolute;
  inset: 28px 12% auto auto;
  width: min(380px, 76vw);
  aspect-ratio: 0.78;
  transform: rotate(-2deg);
  transform-style: preserve-3d;
}

.hero .paper-card {
  display: none;
}

.postcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(var(--postcard-rotate, 0deg));
  transform-style: preserve-3d;
  transition: transform 120ms linear;
}

.postcard-face {
  position: absolute;
  inset: 0;
  padding: 22px;
  overflow: hidden;
  backface-visibility: hidden;
  background: #f2f2ee;
  box-shadow: var(--shadow);
}

.postcard-back {
  display: grid;
  place-items: center;
  gap: 16px;
  transform: rotateY(180deg);
  border: 1px solid var(--line);
}

.postcard-back img {
  width: min(72%, 260px);
  height: auto;
  mix-blend-mode: multiply;
}

.postcard-back span {
  align-self: start;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.paper-index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.paper-caption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-family: "Courier New", monospace;
  font-size: 11px;
  z-index: 2;
}

.inside-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.16) contrast(0.95) brightness(0.86);
}

.work-video {
  background: var(--ink);
}

.specimen {
  position: absolute;
  inset: 72px 52px;
}

.specimen-eye,
.visual-eye {
  background:
    radial-gradient(ellipse at 45% 44%, #111 0 9%, transparent 10%),
    radial-gradient(ellipse at 49% 44%, transparent 0 14%, #111 15% 17%, transparent 18%),
    linear-gradient(115deg, transparent 0 38%, #111 39% 44%, transparent 45%),
    linear-gradient(0deg, rgba(16, 16, 15, 0.13), rgba(16, 16, 15, 0.13));
  clip-path: polygon(5% 50%, 33% 18%, 80% 22%, 96% 49%, 74% 72%, 29% 78%);
}

.floating-note {
  position: absolute;
  display: grid;
  place-items: center;
  width: 136px;
  height: 64px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: "Courier New", monospace;
  font-size: 11px;
  transform: rotate(5deg);
  box-shadow: var(--shadow);
}

.note-a {
  left: 2%;
  top: 18%;
}

.note-b {
  right: 6%;
  bottom: 18%;
  color: var(--red);
  transform: rotate(-8deg);
}

.note-c {
  left: 14%;
  bottom: 12%;
  transform: rotate(-4deg);
}

.note-d {
  right: 24%;
  top: 8%;
  transform: rotate(7deg);
}

.note-e {
  right: 0;
  top: 38%;
  transform: rotate(-3deg);
}

.mini-symbol {
  position: absolute;
  width: 92px;
  height: 92px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

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

.mini-symbol::before {
  left: 50%;
  top: 10px;
  width: 1px;
  height: 72px;
}

.mini-symbol::after {
  left: 10px;
  top: 50%;
  width: 72px;
  height: 1px;
}

.symbol-a {
  left: 6%;
  bottom: 6%;
}

.symbol-b {
  right: 2%;
  top: 4%;
  transform: scale(0.7) rotate(22deg);
}

.ticker {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
  transform: translateY(0);
  transition: transform 260ms ease, opacity 260ms ease;
}

body.ticker-hidden .ticker {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}

.ticker div {
  display: inline-flex;
  gap: 46px;
  min-width: 100%;
  padding: 12px 22px;
  animation: ticker 26s linear infinite;
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-45%);
  }
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p:not(.kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0 12px;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.portfolio-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 34px;
  align-items: start;
  margin: 0 0 64px;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.portfolio-about-copy {
  max-width: 900px;
}

.portfolio-about-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 7vw, 104px);
}

.portfolio-about-copy p:not(.kicker) {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.about-photo-card {
  position: sticky;
  top: 94px;
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 0.75;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1100px;
}

.about-card-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 560ms ease;
}

.about-photo-card:hover .about-card-inner,
.about-photo-card:focus-visible .about-card-inner,
.about-photo-card.is-flipped .about-card-inner {
  transform: rotateY(180deg);
}

.about-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  backface-visibility: hidden;
  background: #f2f2ee;
  box-shadow: var(--shadow);
}

.about-card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(0.95) brightness(0.88);
}

.about-card-face span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.about-card-back {
  transform: rotateY(180deg);
  border: 1px solid var(--line);
}

.about-card-back img {
  width: min(72%, 260px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none;
}

.about-card-back span {
  color: var(--muted);
}

.portfolio-empty {
  display: block;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.portfolio-empty[hidden] {
  display: none;
}

.portfolio-grid {
  display: flex;
  max-width: 100%;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 18px;
  scroll-padding-left: 0;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) rgba(16, 16, 15, 0.12);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.portfolio-grid::-webkit-scrollbar {
  height: 7px;
}

.portfolio-grid::-webkit-scrollbar-track {
  background: rgba(16, 16, 15, 0.08);
}

.portfolio-grid::-webkit-scrollbar-thumb {
  background: var(--ink);
}

.portfolio-grid::after {
  content: "";
  flex: 0 0 22px;
}

.main-nav,
.filter-row,
.portfolio-grid,
.city-grid {
  cursor: grab;
}

.main-nav.is-dragging,
.filter-row.is-dragging,
.portfolio-grid.is-dragging,
.city-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.portfolio-grid.is-collapsed {
  display: none;
}

.portfolio-item {
  position: relative;
  display: block;
  flex: 0 0 clamp(240px, 24vw, 360px);
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper-dark);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 24%, transparent 68%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(0, 0, 0, 0.08) 100%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.portfolio-item[hidden] {
  display: none;
}

.work-number {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
}

.work-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(239, 238, 233, 0.78);
}

.portfolio-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.02);
  transform: scale(1);
  transition: transform 420ms ease, filter 420ms ease;
}

.portfolio-item:hover .portfolio-photo {
  filter: grayscale(0.06) contrast(1.06);
  transform: scale(1.025);
}

.work-visual {
  position: absolute;
  inset: 18%;
  filter: grayscale(1);
  opacity: 0.92;
  transition: transform 360ms ease, opacity 360ms ease;
}

.portfolio-item:hover .work-visual {
  transform: scale(1.06) rotate(-2deg);
  opacity: 1;
}

.visual-flower {
  background:
    radial-gradient(ellipse at 35% 44%, transparent 0 18%, #111 19% 24%, transparent 25%),
    radial-gradient(ellipse at 65% 44%, transparent 0 18%, #111 19% 24%, transparent 25%),
    radial-gradient(circle at 50% 56%, #111 0 3%, transparent 4%),
    linear-gradient(90deg, transparent 0 49%, #111 50% 51%, transparent 52%);
  clip-path: circle(48% at 50% 50%);
}

.visual-chair {
  background:
    linear-gradient(90deg, transparent 0 20%, #111 21% 30%, transparent 31%),
    linear-gradient(15deg, transparent 0 45%, #111 46% 52%, transparent 53%),
    radial-gradient(ellipse at 52% 66%, #111 0 24%, transparent 25%);
  clip-path: polygon(24% 8%, 72% 4%, 88% 66%, 55% 95%, 20% 80%);
}

.visual-bird {
  background:
    radial-gradient(ellipse at 35% 40%, #111 0 18%, transparent 19%),
    linear-gradient(30deg, transparent 0 42%, #111 43% 49%, transparent 50%),
    radial-gradient(ellipse at 68% 48%, transparent 0 12%, #111 13% 18%, transparent 19%);
  clip-path: polygon(0 50%, 42% 16%, 100% 22%, 65% 52%, 100% 82%, 39% 73%);
}

.visual-hand {
  background:
    radial-gradient(ellipse at 40% 70%, #111 0 13%, transparent 14%),
    radial-gradient(ellipse at 52% 62%, #111 0 15%, transparent 16%),
    linear-gradient(90deg, transparent 0 53%, #111 54% 59%, transparent 60%);
  clip-path: polygon(15% 96%, 28% 24%, 48% 38%, 64% 2%, 80% 26%, 64% 96%);
}

.visual-figure {
  background:
    radial-gradient(circle at 50% 18%, #111 0 9%, transparent 10%),
    radial-gradient(ellipse at 50% 58%, #111 0 27%, transparent 28%),
    linear-gradient(90deg, transparent 0 47%, #111 48% 52%, transparent 53%);
  clip-path: polygon(31% 2%, 74% 4%, 84% 90%, 16% 94%);
}

.booking-section {
  background: var(--soft);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.city-card {
  position: relative;
  display: grid;
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.city-card:hover,
.city-card.active {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.city-card strong {
  align-self: end;
  font-size: 28px;
}

.city-card span:last-child {
  color: var(--muted);
}

.status {
  width: fit-content;
  color: var(--red);
}

.status.waitlist {
  color: var(--muted);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: none;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  scroll-margin-top: 132px;
}

.form-head,
.wide,
.submit-button {
  grid-column: 1 / -1;
}

.form-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-head .stamp {
  display: grid;
  width: fit-content;
  min-height: auto;
  place-items: center;
}

.form-head h3 {
  margin-bottom: 4px;
  font-size: 44px;
}

.form-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

label small {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 1.35;
  text-transform: none;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fbfaf5;
  color: var(--ink);
  padding: 12px;
  resize: vertical;
  text-transform: none;
}

input,
textarea {
  cursor: text;
}

select,
input[type="file"] {
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--ink);
}

.confirmation {
  max-width: 600px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 34px;
}

.manifesto {
  position: sticky;
  top: 92px;
  align-self: start;
  padding-right: 26px;
}

.manifesto p {
  font-size: clamp(30px, 5vw, 74px);
  line-height: 0.98;
}

.process-list {
  display: grid;
  gap: 12px;
}

.about-block,
.cities-block {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 34px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.about-block h2,
.cities-block h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 6vw, 92px);
}

.about-copy,
.cities-block p:not(.kicker) {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-copy p,
.cities-block p:not(.kicker) {
  margin-bottom: 0;
}

.gift-section {
  background: #f2f1ec;
}

.gift-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.gift-visual {
  position: sticky;
  top: 92px;
  margin: 0;
}

.gift-stage {
  --gift-rotate: 0deg;
  --gift-lift: 28px;
  --gift-tilt: -8deg;
  position: relative;
  display: grid;
  min-height: min(620px, 78vh);
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 32%, rgba(16, 16, 15, 0.08), transparent 34%),
    linear-gradient(180deg, #f9f8f4, #ebe9e2);
  box-shadow: var(--shadow);
  perspective: 1500px;
}

.gift-stage-grid {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(16, 16, 15, 0.08);
  background-image:
    linear-gradient(rgba(16, 16, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 15, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0 46%, transparent 76%);
  pointer-events: none;
}

.gift-floating-card {
  position: relative;
  z-index: 2;
  width: min(360px, 68%);
  aspect-ratio: 1;
  transform:
    translateY(calc(var(--gift-lift) * -1))
    rotateX(var(--gift-tilt))
    rotateY(var(--gift-rotate));
  transform-style: preserve-3d;
  transition: transform 120ms linear;
  will-change: transform;
}

.gift-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.gift-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  backface-visibility: hidden;
  border-radius: 2px;
  background: #1d221c;
  box-shadow:
    0 36px 70px rgba(16, 16, 15, 0.22),
    0 2px 8px rgba(16, 16, 15, 0.18);
}

.gift-card-face img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gift-card-back {
  transform: rotateY(180deg);
}

.gift-shadow {
  position: absolute;
  bottom: 17%;
  left: 50%;
  width: min(330px, 56%);
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 16, 15, 0.18);
  filter: blur(18px);
  opacity: var(--gift-shadow, 0.38);
  transform: translateX(-50%) scale(var(--gift-shadow-scale, 0.82));
  transition: opacity 120ms linear, transform 120ms linear;
}

.gift-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.gift-content {
  display: grid;
  gap: 18px;
}

.gift-copy,
.gift-conditions,
.gift-request {
  padding: 20px;
  border-top: 1px solid var(--ink);
  background: rgba(251, 250, 246, 0.62);
}

.gift-content h3 {
  font-size: clamp(26px, 3vw, 42px);
}

.gift-content p,
.gift-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.gift-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.gift-request .button {
  margin-top: 12px;
}

.process-step,
.care-card {
  padding: 20px;
  border-top: 1px solid var(--ink);
}

.process-step span,
.care-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.care-card .care-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.care-card .care-card-meta span {
  display: block;
  margin-bottom: 0;
}

.care-icon {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  color: var(--ink);
  flex: 0 0 auto;
}

.care-icon::before,
.care-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-film {
  border-radius: 3px;
}

.icon-film::before,
.icon-film::after {
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: var(--ink);
}

.icon-film::before {
  left: 10px;
}

.icon-film::after {
  right: 10px;
}

.icon-wash {
  border-radius: 50%;
}

.icon-wash::before {
  left: 7px;
  top: 10px;
  width: 18px;
  height: 10px;
  border: 1px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.icon-wash::after {
  left: 9px;
  top: 6px;
  width: 4px;
  height: 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 8px -2px 0 -1px var(--paper), 8px -2px 0 0 var(--ink);
}

.icon-clock {
  border-radius: 50%;
}

.icon-clock::before {
  left: 15px;
  top: 7px;
  width: 1px;
  height: 10px;
  background: var(--ink);
}

.icon-clock::after {
  left: 15px;
  top: 16px;
  width: 8px;
  height: 1px;
  background: var(--ink);
}

.icon-drop {
  border: 0;
}

.icon-drop::before {
  inset: 4px 7px 3px;
  border: 1px solid var(--ink);
  border-radius: 50% 50% 55% 55%;
  transform: rotate(45deg);
}

.icon-check {
  border-radius: 50%;
}

.icon-check::before {
  left: 8px;
  top: 15px;
  width: 7px;
  height: 1px;
  background: var(--ink);
  transform: rotate(45deg);
}

.icon-check::after {
  left: 13px;
  top: 13px;
  width: 13px;
  height: 1px;
  background: var(--ink);
  transform: rotate(-45deg);
}

.icon-ban {
  border-radius: 50%;
}

.icon-ban::before {
  left: 7px;
  top: 15px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transform: rotate(-35deg);
}

.icon-shirt::before {
  left: 6px;
  top: 7px;
  width: 20px;
  height: 19px;
  border: 1px solid var(--ink);
  border-top: 0;
  clip-path: polygon(0 0, 27% 0, 37% 22%, 63% 22%, 73% 0, 100% 0, 100% 100%, 0 100%);
}

.icon-sun {
  border: 0;
}

.icon-sun::before {
  left: 9px;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.icon-sun::after {
  left: 15px;
  top: 2px;
  width: 1px;
  height: 28px;
  background: var(--ink);
  box-shadow: 0 0 0 var(--ink);
  transform: rotate(45deg);
}

.icon-alert {
  border: 0;
}

.icon-alert::before {
  left: 5px;
  top: 4px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  transform: rotate(45deg);
}

.icon-alert::after {
  left: 15px;
  top: 10px;
  width: 1px;
  height: 12px;
  background: var(--ink);
  box-shadow: 0 15px 0 0 var(--ink);
}

.care-icon {
  width: 54px;
  height: 38px;
  border: 0;
  background-image: url("assets/icons/care-icons.png");
  background-repeat: no-repeat;
  background-size: 300% auto;
  filter: grayscale(1) contrast(1.45);
  mix-blend-mode: multiply;
}

.care-icon::before,
.care-icon::after {
  display: none;
}

.icon-film {
  background-position: 0 0;
}

.icon-wash {
  background-position: 50% 0;
}

.icon-clock {
  background-position: 100% 0;
}

.icon-drop {
  background-position: 50% 100%;
}

.icon-check {
  background-position: 100% 100%;
}

.icon-ban {
  background-position: 50% 50%;
}

.icon-shirt {
  background-position: 100% 50%;
}

.icon-sun {
  background-position: 0 50%;
}

.icon-alert {
  background-position: 0 100%;
}

.process-step p,
.care-card p {
  color: var(--muted);
  line-height: 1.5;
}

.care-section {
  background: #f7f7f3;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.care-card {
  min-height: 270px;
  border-top: 0;
  background: #fbfaf6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-top: 1px solid var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.work-dialog {
  width: min(520px, calc(100vw - 28px));
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 24px;
  box-shadow: var(--shadow);
}

.work-dialog::backdrop {
  background: rgba(16, 16, 15, 0.34);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.work-dialog dl {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.work-dialog dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.work-dialog dt {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.work-dialog dd {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal.slow {
  transition-duration: 980ms;
}

@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  .cursor-dot {
    display: none;
  }

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

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 14px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .info-layout,
  .portfolio-about,
  .gift-layout {
    grid-template-columns: 1fr;
  }

  .about-photo-card,
  .gift-visual {
    position: relative;
    top: auto;
    margin: 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 140px;
    padding-bottom: 82px;
  }

  .hero-board {
    min-height: 0;
  }

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

  .portfolio-grid {
    gap: 10px;
  }

  .manifesto {
    position: static;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 0;
  }

  section[id] {
    scroll-margin-top: 112px;
  }

  .section-band {
    padding: 48px 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px 14px 9px;
    gap: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 10px;
    text-align: left;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    padding-inline: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .language-switch {
    grid-column: 1 / -1;
    width: 100%;
  }

  .lang-button {
    width: 44px;
    height: 28px;
  }

  .hero-meta,
  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    min-height: calc(100svh - 118px);
    padding: 42px 18px 74px;
    align-items: end;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16, 16, 15, 0.7), rgba(16, 16, 15, 0.24)),
      linear-gradient(180deg, rgba(16, 16, 15, 0.08), rgba(16, 16, 15, 0.76));
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    margin-bottom: 12px;
    font-size: clamp(48px, 15vw, 64px);
    line-height: 0.9;
  }

  h2 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.96;
  }

  h3 {
    font-size: 21px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-seo {
    max-width: 320px;
    font-size: 14px;
  }

  .button {
    width: auto;
    min-height: 42px;
    padding-inline: 14px;
  }

  .hero-work-strip {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 20px 0 18px;
  }

  .hero-video-welcome {
    display: none;
  }

  .hero-video-welcome video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(0.08) contrast(1.04);
  }

  .hero-video-welcome span {
    position: absolute;
    left: 12px;
    bottom: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Courier New", monospace;
    font-size: 10px;
  }

  .hero-work-strip a {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper-dark);
  }

  .hero-work-strip img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(0.1) contrast(1.04);
  }

  .hero-work-strip span {
    position: absolute;
    top: 6px;
    right: 6px;
    color: var(--paper);
    font-family: "Courier New", monospace;
    font-size: 10px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .hero-board {
    min-height: 390px;
  }

  .paper-card {
    inset: 20px auto auto 50%;
    width: min(300px, 78vw);
    transform: translateX(-50%) rotate(-2deg);
  }

  .about-block,
  .cities-block,
  .portfolio-about,
  .gift-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .portfolio-section {
    display: flex;
    flex-direction: column;
  }

  .portfolio-section .section-heading {
    order: 1;
  }

  .portfolio-section .filter-row {
    order: 2;
  }

  .portfolio-empty {
    order: 3;
  }

  .portfolio-grid {
    order: 4;
  }

  .portfolio-about {
    order: 5;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading p:not(.kicker) {
    font-size: 15px;
  }

  .filter-row {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    margin: 0 -16px 16px;
    overflow-x: auto;
    padding: 0 16px 3px;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 11px;
    white-space: nowrap;
  }

  .portfolio-about {
    margin-bottom: 0;
    padding-top: 22px;
  }

  .portfolio-about-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(34px, 11vw, 48px);
  }

  .portfolio-about-copy p:not(.kicker),
  .about-copy,
  .cities-block p:not(.kicker) {
    font-size: 15px;
    line-height: 1.48;
  }

  .about-photo-card {
    width: min(260px, 76vw);
    margin-inline: auto;
  }

  .info-layout {
    gap: 18px;
  }

  .manifesto {
    padding-right: 0;
  }

  .manifesto p {
    margin-bottom: 0;
    font-size: 25px;
    line-height: 1.04;
  }

  .process-list {
    gap: 0;
    border-bottom: 1px solid var(--ink);
  }

  .process-step {
    padding: 15px 0;
  }

  .process-step span,
  .care-card span {
    margin-bottom: 12px;
  }

  .about-block,
  .cities-block {
    padding-top: 20px;
  }

  .city-grid {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    margin: 0 -16px 18px;
    overflow-x: auto;
    padding: 0 16px 4px;
    scrollbar-width: none;
  }

  .city-grid::-webkit-scrollbar {
    display: none;
  }

  .city-card {
    flex: 0 0 166px;
    min-height: 112px;
    padding: 14px;
  }

  .city-card strong {
    font-size: 21px;
    line-height: 1;
  }

  .status,
  .work-label,
  .work-number {
    font-size: 10px;
  }

  .booking-form {
    gap: 10px;
    padding: 14px;
  }

  .form-head {
    gap: 8px;
    grid-template-columns: 1fr;
    justify-content: stretch;
    padding-bottom: 12px;
  }

  .form-head h3 {
    font-size: 30px;
  }

  label {
    gap: 5px;
    font-size: 10px;
  }

  input,
  textarea,
  select {
    padding: 10px;
    font-size: 15px;
  }

  .gift-stage {
    min-height: 330px;
  }

  .gift-floating-card {
    width: min(230px, 72%);
  }

  .gift-caption {
    left: 12px;
    bottom: 10px;
    font-size: 10px;
  }

  .gift-content {
    gap: 10px;
  }

  .gift-copy,
  .gift-conditions,
  .gift-request {
    padding: 15px 0;
    background: transparent;
  }

  .gift-content h3 {
    font-size: 25px;
  }

  .gift-content p,
  .gift-content li {
    font-size: 15px;
    line-height: 1.45;
  }

  .gift-content ul {
    gap: 7px;
  }

  .care-grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
  }

  .care-card {
    min-height: 0;
    padding: 15px 0;
    border-top: 1px solid var(--line);
  }

  .care-card .care-card-meta {
    align-items: flex-start;
  }

  .care-icon {
    width: 46px;
    height: 32px;
  }

  .care-card p,
  .process-step p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.42;
  }

  .note-b {
    right: -20px;
  }

  .note-c {
    left: -4px;
    bottom: 2%;
  }

  .note-d {
    right: -14px;
    top: 24%;
  }

  .note-e {
    right: 8px;
    top: 62%;
  }

  .symbol-b {
    right: -28px;
  }

  .city-grid,
  .care-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    margin-right: -16px;
    padding: 1px 16px 15px 0;
  }

  .portfolio-item {
    flex-basis: min(72vw, 280px);
  }

  .form-head {
    display: grid;
  }

  .site-footer {
    flex-direction: column;
  }
}
