/* ==========================================================================
   VELOUR BUNNY
   ========================================================================== */

:root {
  --paper: #f6f3ee;
  --paper-2: #eee9e1;
  --ink: #141312;
  --ink-2: #36332f;
  --mute: #6b655d;
  --line: #d8d1c6;
  --veil: rgba(20, 19, 18, .55);

  --logo: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;   /* wordmark only */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;         /* headlines */
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;   /* body & UI */

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* --- Type ----------------------------------------------------------------- */
.eyebrow, .label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.label { color: var(--mute); }
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.02;
  margin: 0;
}
.display em, .serif-italic { font-style: italic; font-weight: 400; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
.lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.4;
  font-weight: 400;
  max-width: 28ch;
}
.prose { max-width: 58ch; color: var(--ink-2); }

.link {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  display: inline-flex; gap: .8em; align-items: center;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 36px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  transition: background .3s, color .3s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn--block { width: 100%; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section-head h2 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 64px); line-height: 1; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header .wrap {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.wordmark {
  font-family: var(--logo);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: .3em; /* optically balance letter-spacing */
}
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav--right { justify-content: flex-end; }
.nav a {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper);
  padding: 40px var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 44px; line-height: 1.15; }
.mobile-menu nav a[aria-current="page"] { font-style: italic; }

@media (max-width: 860px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .wordmark { justify-self: center; font-size: 17px; letter-spacing: .26em; }
  .header-cart { justify-self: end; }
}
.header-cart { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
@media (min-width: 861px) { .header-cart { display: none; } }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr;
  min-height: calc(100svh - var(--header-h));
  border-bottom: 1px solid var(--line);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(32px, 5vw, 72px) var(--gutter);
}
.hero__title { font-family: var(--logo); letter-spacing: -.01em; line-height: .96; font-size: clamp(64px, 10.5vw, 176px); }
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: .9em; font-style: italic; }
.hero__foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.hero__media { position: relative; overflow: hidden; border-left: 1px solid var(--line); }
.hero__media .frame { position: absolute; inset: 0; aspect-ratio: auto; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 5; border-left: 0; }
  .hero__text { gap: 48px; }
}

/* --- Frames (images & placeholders) -------------------------------------- */
.frame {
  position: relative; overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 5;
}
.frame--tall { aspect-ratio: 9 / 16; }
.frame--square { aspect-ratio: 1; }
.frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), opacity .6s;
}
.frame .ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 24px;
  background:
    radial-gradient(120% 80% at 30% 20%, #f3eee6 0%, transparent 60%),
    linear-gradient(160deg, #ebe4da 0%, #ddd4c7 100%);
  color: var(--ink-2);
}
.frame .ph__mark { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-style: italic; opacity: .55; }
.frame .ph__text { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; max-width: 22ch; line-height: 1.6; }
.frame::after { /* film grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* --- Work grid ------------------------------------------------------------ */
.grid {
  display: grid; gap: clamp(12px, 1.6vw, 24px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tile { display: block; text-align: left; width: 100%; }
.tile .frame { margin-bottom: 14px; }
.tile:hover .frame img { transform: scale(1.035); }
.tile__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tile__title { font-size: 15px; line-height: 1.4; font-weight: 500; }
.tile__cat { flex-shrink: 0; }
.tile__play {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(6px); transition: .5s var(--ease);
}
.tile__play::before { content: ""; width: 0; height: 0; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.tile.has-media:hover .tile__play { opacity: 1; transform: none; }
.tile.has-media .frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 40%);
  opacity: 0; transition: opacity .5s;
}
.tile.has-media:hover .frame::before { opacity: 1; }

.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: clamp(32px, 4vw, 56px); }
.filters button {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  color: var(--mute); padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.filters sup { font-size: 10px; margin-left: 3px; letter-spacing: 0; }

/* --- Index list (categories / services) ---------------------------------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a, .index .row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 16px;
  padding: clamp(18px, 2.4vw, 30px) 0;
}
.index .num { font-size: 12px; letter-spacing: .2em; color: var(--mute); }
.index .name { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 64px); line-height: 1; transition: transform .6s var(--ease), font-style 0s; }
.index a:hover .name { transform: translateX(14px); font-style: italic; }
.index .count { font-size: 12px; letter-spacing: .2em; color: var(--mute); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.services > div { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.services > div:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.services h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin: 14px 0 12px; }
.services p { color: var(--ink-2); margin: 0; max-width: 36ch; }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .services > div, .services > div:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps > div { border-top: 1px solid var(--ink); padding-top: 20px; }
.steps h3 { font-family: var(--serif); font-size: 28px; margin: 10px 0 10px; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --- Split / editorial blocks --------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.page-head { padding-top: clamp(56px, 9vw, 136px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-head h1 { font-family: var(--serif); font-size: clamp(56px, 9vw, 148px); line-height: .95; letter-spacing: -.015em; }
.page-head .label { display: block; margin-bottom: 28px; }
.page-head p { margin-top: 28px; }

.quote { font-family: var(--serif); font-size: clamp(30px, 4vw, 56px); line-height: 1.15; max-width: 22ch; margin: 0 auto; text-align: center; }
.quote em { font-style: italic; }

.band { background: var(--ink); color: var(--paper); }
.band .label { color: #a39d93; }
.band .rule { border-color: #3a3734; }
.band .prose, .band .steps p, .band .services p { color: #cfc8bd; }
.band .steps > div { border-color: #f6f3ee; }
.band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band .btn:hover { background: transparent; color: var(--paper); }
.band .btn--ghost { background: transparent; color: var(--paper); }
.band .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* --- Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 28px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 560px) { .form .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: currentColor; }
.band .field input, .band .field textarea { border-color: #4a4641; }
.inline-form { display: flex; border-bottom: 1px solid currentColor; max-width: 460px; }
.inline-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; color: inherit; background: transparent;
  border: 0; padding: 14px 0; border-radius: 0;
}
.inline-form input::placeholder { color: inherit; opacity: .5; }
.inline-form input:focus { outline: none; }
.inline-form button { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-left: 16px; }
.form-note { font-size: 14px; color: var(--mute); margin-top: 14px; }

/* --- Shop ----------------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-card .frame { margin-bottom: 16px; }
.product-card:hover .frame img { transform: scale(1.03); }
.product-card__row { display: flex; justify-content: space-between; gap: 16px; }
.product-card__name { font-size: 16px; line-height: 1.4; font-weight: 500; }
.product-card__price { font-size: 15px; }
.status { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 4px; display: block; }

.product { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(24px, 4vw, 56px); }
.product__gallery { display: grid; gap: 12px; }
.product__info { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.product__info h1 { font-family: var(--serif); font-size: clamp(38px, 4vw, 60px); line-height: 1.02; margin: 18px 0 14px; }
.product__price { font-size: 16px; letter-spacing: .06em; margin-bottom: 32px; }
.product__details { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.product__details li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product__info { position: static; } }

/* --- Lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 13, 12, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 16px 24px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__player { height: min(82vh, 860px); aspect-ratio: 9 / 16; max-width: 100%; background: #000; }
.lightbox__player iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; top: 20px; right: var(--gutter);
  color: var(--paper); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.lightbox__caption {
  position: absolute; left: var(--gutter); bottom: 24px; color: var(--paper);
  font-size: 15px; max-width: 40ch;
}
@media (max-width: 720px) { .lightbox__caption { display: none; } }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0 32px; overflow: hidden; }
.site-footer .label { color: #a39d93; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(56px, 8vw, 104px); }
.footer-top h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 14ch; margin-bottom: 28px; }
.footer-top ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.footer-top ul a { color: #e4ded4; transition: color .3s; }
.footer-top ul a:hover { color: #fff; }
.footer-word {
  font-family: var(--logo); text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(32px, 9vw, 170px); line-height: .9; white-space: nowrap;
  text-align: center; margin: 0 0 32px; color: var(--paper);
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #3a3734; padding-top: 24px; font-size: 13px; color: #a39d93; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* --- Reveal motion -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.empty { text-align: center; padding: 64px 0; color: var(--mute); }
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.site-footer .form-note { color: #a39d93; }
