/* =========================================================
   La Botellería Bog · 2026 redesign
   ========================================================= */

:root {
  --bg: #0a0608;
  --bg-2: #120a0c;
  --ink: #f6efe4;
  --ink-dim: #b9ad9c;
  --paper: #f4ecd8;
  --paper-ink: #120909;
  --wine: #5b0d1a;
  --wine-2: #2a0510;
  --copper: #e9b873;
  --gold: #f7d488;
  --red: #ff3354;
  --line: rgba(246, 239, 228, 0.12);
  --line-2: rgba(246, 239, 228, 0.06);
  --glass: rgba(246, 239, 228, 0.04);
  --max: 1280px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-out {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.loader__inner img {
  width: 220px;
  mix-blend-mode: screen;
  animation: pulse 1.6s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

.loader__bar {
  width: 180px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--copper), var(--red));
  animation: load 1.4s var(--ease) forwards;
}

@keyframes load {
  to { width: 100%; }
}

/* =========================================================
   CURSOR
   ========================================================= */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 150;
  mix-blend-mode: difference;
}

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
}

.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--paper);
}

.cursor__ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--paper);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.18s ease;
}

.cursor.is-hover .cursor__ring {
  width: 70px;
  height: 70px;
  border-color: var(--copper);
}

.cursor.is-hover .cursor__dot {
  background: var(--copper);
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* =========================================================
   BACKGROUND MESH
   ========================================================= */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--bg-2), var(--bg) 65%);
}

.mesh__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  animation: drift 22s var(--ease) infinite;
}

.mesh__blob--1 {
  width: 50vw;
  height: 50vw;
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, var(--wine) 0%, transparent 70%);
}

.mesh__blob--2 {
  width: 40vw;
  height: 40vw;
  top: 40%;
  right: -10vw;
  background: radial-gradient(circle, rgba(233, 184, 115, 0.45) 0%, transparent 70%);
  animation-delay: -8s;
}

.mesh__blob--3 {
  width: 45vw;
  height: 45vw;
  bottom: -10vw;
  left: 30%;
  background: radial-gradient(circle, rgba(255, 51, 84, 0.35) 0%, transparent 70%);
  animation-delay: -14s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10vw, 5vh) scale(1.1); }
  66% { transform: translate(-6vw, -4vh) scale(0.95); }
}

.mesh__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 239, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 239, 228, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1320px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
  background: rgba(10, 6, 8, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease), background 0.3s ease;
}

.nav.is-hidden {
  transform: translate(-50%, -120%);
}

.nav.is-scrolled {
  top: 12px;
  background: rgba(10, 6, 8, 0.78);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
}

.nav__brand img {
  width: 120px;
  height: 40px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.nav__links {
  justify-self: center;
  display: flex;
  gap: 6px;
}

.nav__links a {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  border-radius: 99px;
  overflow: hidden;
  transition: color 0.3s ease;
}

.nav__links a span {
  position: relative;
  z-index: 2;
}

.nav__links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-radius: 99px;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.nav__links a:hover {
  color: var(--paper-ink);
}

.nav__links a:hover::before {
  transform: translateY(0);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.nav__cta--contact {
  box-shadow: 0 0 0 1px rgba(233, 184, 115, 0.28), 0 14px 36px rgba(233, 184, 115, 0.18);
}

.nav__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--copper);
}

.nav__cta:hover svg {
  transform: translateX(4px);
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 50%;
}

.nav__burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 24px; }

body.menu-open .nav__burger span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

body.menu-open .nav__burger span:nth-child(2) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 6, 8, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 80px 32px;
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.drawer a {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, padding 0.3s var(--ease);
}

.drawer a:hover {
  color: var(--copper);
  padding-left: 12px;
}

.drawer__cta {
  margin-top: 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  background: var(--paper);
  color: var(--paper-ink) !important;
  padding: 16px 24px !important;
  border-radius: 99px;
  border-bottom: 0 !important;
  text-align: center;
}

body.menu-open .drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* =========================================================
   COMMON
   ========================================================= */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
  margin: 0 0 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.tag i {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 12px var(--red);
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.display {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
}

.display--xl {
  font-size: clamp(48px, 9vw, 124px);
}

.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
  font-variation-settings: "opsz" 144;
}

.lead {
  color: var(--ink-dim);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  max-width: 56ch;
  margin: 22px 0 28px;
}

.section__head {
  max-width: var(--max);
  margin: 0 auto 60px;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section__head--center {
  text-align: center;
  margin-bottom: 50px;
}

.section__head--center .lead {
  margin-inline: auto;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), color 0.3s ease;
  will-change: transform;
}

.btn--lg {
  padding: 20px 32px;
  font-size: 17px;
}

.btn svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 2;
  transition: transform 0.35s var(--ease);
}

.btn span {
  position: relative;
  z-index: 2;
}

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

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--copper), var(--red));
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}

.btn--primary:hover {
  color: var(--paper);
}

.btn--primary:hover::before {
  transform: translateY(0);
}

.btn--primary:hover svg {
  transform: translateX(6px);
}

.btn--ghost {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}

.btn--ghost:hover {
  color: var(--paper-ink);
  border-color: var(--paper);
}

.btn--ghost:hover::before {
  transform: translateY(0);
}

.btn--contact {
  box-shadow: 0 0 0 1px rgba(233, 184, 115, 0.28), 0 18px 50px rgba(233, 184, 115, 0.18);
}

.btn--contact::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(247, 212, 136, 0.34);
  opacity: 0.75;
  pointer-events: none;
  animation: contact-pulse 2.6s var(--ease) infinite;
}

@keyframes contact-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.06);
    opacity: 0;
  }
}

/* reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

[data-reveal-split] .line {
  display: block;
  overflow: hidden;
}

[data-reveal-split] .line span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}

[data-reveal-split].is-in .line:nth-child(1) span { transition-delay: 0.05s; }
[data-reveal-split].is-in .line:nth-child(2) span { transition-delay: 0.18s; }
[data-reveal-split].is-in .line:nth-child(3) span { transition-delay: 0.31s; }

[data-reveal-split].is-in .line span {
  transform: translateY(0);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px clamp(20px, 4vw, 48px) 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 3;
}

.hero__title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(56px, 9.5vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 22px 0 28px;
}

.hero__title em {
  font-style: italic;
  color: var(--copper);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
}

.hero__lead {
  color: var(--ink-dim);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 0 36px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 460px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero__meta strong {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__meta span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.hero__media {
  position: relative;
  height: clamp(420px, 70vh, 760px);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.7);
  transform: translateY(0);
  animation: float 7s var(--ease) infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(233, 184, 115, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, transparent 50%, rgba(10, 6, 8, 0.6) 100%);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll span {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--copper));
  animation: scroll-pulse 1.8s var(--ease) infinite;
}

@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(10, 6, 8, 0.4);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: scroll-x 28s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.marquee__track i {
  width: 10px;
  height: 10px;
  background: var(--copper);
  border-radius: 50%;
}

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

/* =========================================================
   BRAND BAND
   ========================================================= */
.brand {
  max-width: var(--max);
  margin: 120px auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand__stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(91, 13, 26, 0.55) 0%, var(--bg-2) 70%);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
}

.brand__stage img {
  width: 78%;
  mix-blend-mode: screen;
  transform: translateZ(40px);
}

.brand__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(247, 212, 136, 0.18) 50%, transparent 60%);
  background-size: 200% 200%;
  background-position: 100% 100%;
  pointer-events: none;
  animation: shine 5s var(--ease) infinite;
}

@keyframes shine {
  0%, 100% { background-position: 100% 100%; }
  50% { background-position: 0% 0%; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chips span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 99px;
  font-size: 13px;
  color: var(--ink-dim);
  backdrop-filter: blur(10px);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.chips span:hover {
  color: var(--ink);
  border-color: var(--copper);
  transform: translateY(-2px);
}

/* =========================================================
   BENTO
   ========================================================= */
.bento {
  max-width: var(--max);
  margin: 140px auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.bento__card {
  position: relative;
  grid-column: span 2;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  cursor: pointer;
  will-change: transform;
}

.bento__card--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__card--md {
  grid-column: span 2;
  grid-row: span 1;
}

.bento__card--accent {
  background: linear-gradient(160deg, var(--wine), var(--wine-2));
}

.bento__card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
}

.bento__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bento__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.1);
  transition: transform 1s var(--ease), filter 0.6s ease;
}

.bento__card:hover .bento__bg img {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1);
}

.bento__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.3) 0%, rgba(10, 6, 8, 0.85) 80%);
}

.bento__content {
  position: relative;
  z-index: 2;
}

.bento__num {
  display: inline-block;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--copper);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.bento__content h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.bento__content p {
  color: var(--ink-dim);
  font-size: 14px;
  margin: 0 0 14px;
  max-width: 30ch;
}

.bento__content small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.bento__arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}

.bento__card:hover .bento__arrow {
  background: var(--paper);
  color: var(--paper-ink);
  transform: rotate(45deg);
}

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  max-width: var(--max);
  margin: 140px auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.process__sticky {
  position: sticky;
  top: 100px;
  align-self: start;
}

.process__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process__counter {
  position: absolute;
  bottom: 18px;
  right: 18px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 99px;
  font-family: "Fraunces", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process__steps .section__head {
  margin: 0 0 20px;
  padding: 0;
}

.process__step {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease);
}

.process__step.is-active {
  border-color: var(--copper);
  background: linear-gradient(135deg, rgba(233, 184, 115, 0.08), transparent);
}

.process__index {
  display: block;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--copper);
  margin-bottom: 12px;
}

.process__step h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.process__step p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

/* =========================================================
   CORPORATE
   ========================================================= */
.corporate {
  max-width: var(--max);
  margin: 140px auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.corporate__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}

.corporate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.corporate__media:hover img {
  transform: scale(1.04);
}

.corporate__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--paper-ink);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.corporate__badge span {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 500;
}

.corporate__badge small {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.7;
}

.corporate__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
  display: grid;
  gap: 12px;
}

.corporate__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--glass);
  font-size: 15px;
  color: var(--ink-dim);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.corporate__list li:hover {
  border-color: var(--copper);
  transform: translateX(4px);
}

.corporate__list strong {
  color: var(--copper);
}

/* =========================================================
   CATALOG
   ========================================================= */
.catalog {
  max-width: var(--max);
  margin: 140px auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.catalog__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  max-width: var(--max);
  margin: 140px auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.cta__inner {
  position: relative;
  padding: clamp(48px, 8vw, 110px) clamp(28px, 5vw, 80px);
  text-align: center;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse at top, rgba(91, 13, 26, 0.55), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  overflow: hidden;
}

.cta__inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--copper), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
}

.cta__logo {
  width: 220px;
  margin: 0 auto 28px;
  mix-blend-mode: screen;
}

.cta__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px clamp(20px, 4vw, 48px) 32px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__top img {
  width: 180px;
  mix-blend-mode: screen;
}

.footer__top p {
  color: var(--ink-dim);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer__links a {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--copper);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    min-height: auto;
    gap: 50px;
  }
  .hero__media {
    height: 60vh;
    order: -1;
  }
  .hero__scroll { display: none; }
  .brand,
  .corporate,
  .process {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process__sticky {
    position: relative;
    top: 0;
  }
  .process__media { aspect-ratio: 16 / 11; }
  .corporate__media { aspect-ratio: 16 / 11; }
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .bento__card--lg {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  /* ---- Nav ---- */
  .nav {
    grid-template-columns: 1fr auto;
    padding: 8px 12px 8px 16px;
    top: 10px;
    width: calc(100% - 20px);
    gap: 12px;
  }
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav__brand { padding: 0; }
  .nav__brand img { width: 96px; height: 32px; }

  /* ---- Drawer ---- */
  .drawer {
    padding: 96px 26px 32px;
    font-size: clamp(34px, 10vw, 56px);
    gap: 6px;
  }
  .drawer__cta {
    font-size: 16px;
    padding: 14px 22px !important;
  }

  /* ---- Hero ---- */
  .hero {
    padding: 120px 18px 32px;
    gap: 36px;
  }
  .hero__title {
    font-size: clamp(46px, 13.5vw, 64px);
    line-height: 0.96;
    margin: 18px 0 22px;
  }
  .hero__lead {
    font-size: 15.5px;
    margin-bottom: 28px;
  }
  .hero__cta {
    width: 100%;
    margin-bottom: 36px;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 14.5px;
  }
  .hero__media {
    height: min(56vh, 520px);
    min-height: 360px;
    border-radius: 22px;
  }
  .hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: none;
    padding-top: 20px;
  }
  .hero__meta strong {
    font-size: 26px;
  }
  .hero__meta span {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  /* ---- Type and shared spacing ---- */
  .display {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }
  .display--xl {
    font-size: clamp(40px, 12vw, 68px);
  }
  .lead {
    font-size: 15px;
    margin: 18px 0 24px;
  }
  .section__head,
  .section__head--center {
    padding: 0 18px;
    margin-bottom: 32px;
    text-align: left;
  }
  .section__head--center .lead {
    margin-inline: 0;
  }
  .marquee {
    padding: 16px 0;
  }
  .marquee__track {
    gap: 24px;
  }

  /* ---- Sections ---- */
  .brand,
  .bento,
  .process,
  .corporate,
  .catalog,
  .cta {
    margin: 80px auto;
    padding: 0 18px;
  }
  .brand {
    grid-template-columns: 1fr;
  }
  .brand__stage {
    aspect-ratio: 4 / 3;
  }

  /* ---- Categories ---- */
  .bento__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 14px;
  }
  .bento__card,
  .bento__card--lg,
  .bento__card--md {
    grid-column: 1;
    grid-row: span 1;
    border-radius: 22px;
    padding: 22px;
  }
  .bento__content h3 {
    font-size: 28px;
  }
  .bento__content p {
    font-size: 13.5px;
    max-width: 28ch;
  }
  .bento__arrow {
    width: 40px;
    height: 40px;
    top: 18px;
    right: 18px;
  }

  /* ---- Process and corporate ---- */
  .process,
  .corporate {
    gap: 28px;
  }
  .process__media,
  .corporate__media {
    border-radius: 22px;
  }
  .process__step {
    padding: 26px 22px;
  }
  .process__step h3 {
    font-size: 28px;
  }
  .process__step p,
  .corporate__list li {
    font-size: 14.5px;
  }
  .corporate__list {
    margin: 22px 0 28px;
  }

  /* ---- Catalog and CTA ---- */
  .catalog__actions {
    justify-content: stretch;
  }
  .catalog__actions .btn,
  .cta__buttons .btn,
  .corporate .btn {
    width: 100%;
    justify-content: center;
  }
  .cta__inner {
    padding: 44px 22px;
    border-radius: 22px;
  }
  .cta__logo {
    width: 170px;
  }

  /* ---- Footer ---- */
  .footer {
    padding: 44px 18px 28px;
    gap: 28px;
  }
  .footer__links {
    gap: 16px 22px;
  }
  .footer__bottom {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .hero__meta {
    grid-template-columns: 1fr;
  }
  .hero__meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
}
