:root {
  --ink: #120018;
  --ink-2: #1e0828;
  --paper: #fff3ea;
  --hot: #ff2d7b;
  --hot-2: #ff7eb5;
  --gold: #ffc43a;
  --lime: #d4ff3d;
  --wine: #ff2d7b;
  --rose: #ff7eb5;
  --muted: #c9b4c8;
  --muted-d: #6b4e5c;
  --line: rgba(255, 45, 123, 0.35);
  --wa: #25d366;
  --nav: 78px;
  --display: "Syne", "Cormorant Garamond", Georgia, serif;
  --logo: "Italiana", "Syne", serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "Bricolage Grotesque", "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.55;
  font-size: 16.5px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--lime);
  border-radius: 99px;
}

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.05;
}

.italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.lede {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.sticker {
  display: inline-block;
  width: max-content;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 10px;
  transform: rotate(-3deg);
  color: var(--ink);
  background: var(--gold);
}

.sticker.hot {
  background: var(--hot);
  color: #fff;
  transform: rotate(3deg);
}

.sticker.lime {
  background: var(--lime);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(18, 0, 24, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: var(--logo);
  font-size: 1.45rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--lime);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.on {
  color: var(--gold);
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 14px;
    font-size: 13px;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.cart-btn b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--hot);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.cart-btn b.zero {
  display: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.burger span {
  width: 16px;
  height: 1.5px;
  background: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: 0.2s transform;
}

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

.btn-wine {
  background: var(--hot);
  color: #fff;
  box-shadow: 4px 4px 0 var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--hot);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--hot);
}

.btn-ghost {
  border: 2px solid var(--line);
}

.btn-block {
  width: 100%;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  padding-top: var(--nav);
}

.hero-photo {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 72vh;
}

.hero-photo::after {
  content: "ATELIER";
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  border-radius: 10px;
  transform: rotate(-6deg);
}

.hero-copy {
  padding: 8vh 6vw 6vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy .display {
  margin: 14px 0 18px;
  max-width: 12ch;
}

.hero-copy .lede {
  margin-bottom: 28px;
}

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

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-meta b {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--gold);
}

.hero-meta span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

section {
  padding: 88px 0;
}

.page-hero {
  padding: calc(var(--nav) + 48px) 0 28px;
}

.section-head {
  margin-bottom: 40px;
  display: grid;
  gap: 12px;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tile {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--line);
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, #120018 90%);
}

.tile-body {
  position: relative;
  z-index: 1;
  padding: 22px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.tile h3 {
  font-family: var(--display);
  font-size: 2rem;
}

.marquee {
  background: var(--hot);
  color: var(--ink);
  overflow: hidden;
  padding: 14px 0;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: slide 28s linear infinite;
}

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

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.svc {
  background: var(--ink-2);
  border: 2px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc:hover {
  box-shadow: 6px 6px 0 var(--hot);
  transform: translate(-2px, -2px);
}

.svc img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.svc-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.svc h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
}

.svc p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.price {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold);
}

.mins {
  font-size: 12px;
  color: var(--muted);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.flow article {
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: var(--ink-2);
}

.flow b {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: var(--lime);
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.flow h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.flow p {
  color: var(--muted);
}

.hot-band {
  background: linear-gradient(90deg, var(--hot), #ff6aa3);
  color: #fff;
}

.hot-band .lede {
  color: rgba(255, 255, 255, 0.88);
}

.hot-band .flow article {
  background: rgba(18, 0, 24, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
}

.hot-band .flow p {
  color: rgba(255, 255, 255, 0.85);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 260px;
  gap: 12px;
}

.gallery.big {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  cursor: zoom-in;
  border: 2px solid var(--line);
}

.gallery .tall {
  grid-row: span 2;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rev {
  background: var(--ink-2);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.rev:nth-child(2) {
  transform: rotate(1.2deg);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.rev p {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 16px;
}

.rev cite {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.frame {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: 8px 8px 0 var(--hot);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

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

.cream .lede,
.cream .muted {
  color: var(--muted-d);
}

.cream .kicker {
  color: var(--hot);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 0, 24, 0.55);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s opacity;
}

.overlay.on {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  background: #1a0524;
  z-index: 60;
  transform: translateX(104%);
  transition: 0.35s transform;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--hot);
}

.drawer.on {
  transform: none;
}

.drawer-h {
  padding: 22px 22px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.drawer-h h2 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
}

.close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line);
}

.drawer-b {
  padding: 16px 22px;
  overflow: auto;
  flex: 1;
}

.item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.item h4 {
  font-size: 0.98rem;
}

.item .rm {
  font-size: 12px;
  color: var(--hot-2);
}

.empty {
  color: var(--muted);
  padding: 30px 0;
}

.cal {
  margin-top: 18px;
}

.cal-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cal-h strong {
  font-family: var(--display);
  font-size: 1.2rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal-grid .dow {
  font-size: 11px;
  color: var(--muted);
  padding: 6px 0;
}

.cal-grid button {
  height: 38px;
  border-radius: 10px;
}

.cal-grid button:hover:not(:disabled) {
  background: var(--hot);
}

.cal-grid button.on {
  background: var(--gold);
  color: var(--ink);
}

.cal-grid button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.slots button {
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.slots button.on {
  background: var(--hot);
  color: #fff;
  border-color: var(--hot);
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  border: 2px solid var(--line);
  background: var(--ink);
  border-radius: 12px;
  padding: 11px 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  color: var(--paper);
}

.drawer-f {
  padding: 16px 22px 22px;
  border-top: 1px solid var(--line);
}

.total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 1.35rem;
}

.err {
  color: #ff8a80;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.err.on {
  display: block;
}

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

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: end;
}

.foot small {
  color: var(--muted);
}

.foot a {
  color: var(--gold);
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(18, 0, 24, 0.9);
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.on {
  display: grid;
}

.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  border-radius: 12px;
}

@media (max-width: 980px) {
  .hero,
  .svc-grid,
  .flow,
  .reviews,
  .split,
  .gallery,
  .gallery.big,
  .tiles {
    grid-template-columns: 1fr;
  }

  .gallery,
  .gallery.big {
    grid-auto-rows: 260px;
  }

  .gallery .tall {
    grid-row: auto;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    font-size: 1.4rem;
    transform: translateX(100%);
    transition: 0.3s transform;
    z-index: 1;
  }

  .nav-links.open {
    transform: none;
  }

  .burger {
    display: flex;
    z-index: 2;
  }

  .nav-right > .btn {
    display: none;
  }

  .hero-copy {
    padding: 40px 24px 56px;
  }
}
