:root {
  --bg: #0c0907;
  --bg-elev: #14100d;
  --bg-soft: #1c1612;
  --cream: #f3e6d4;
  --cream-dim: #cbbba6;
  --sand: #e8d5bc;
  --amber: #d4a574;
  --copper: #c4783a;
  --espresso: #3d2314;
  --line: rgba(243, 230, 212, 0.12);
  --glass: rgba(20, 16, 13, 0.55);
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --font: 'Outfit', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) var(--bg);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

ul {
  list-style: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor,
.cursor-follower {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 10000;
  mix-blend-mode: difference;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--cream);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(243, 230, 212, 0.55);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cursor-follower.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(212, 165, 116, 0.15);
  border-color: var(--amber);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 10001;
  background: linear-gradient(90deg, var(--copper), var(--sand));
  box-shadow: 0 0 12px rgba(196, 120, 58, 0.6);
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(12, 9, 7, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}

.nav__logo {
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.nav__mark {
  color: var(--copper);
  font-size: 0.7rem;
  animation: pulse 2.4s ease-in-out infinite;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav__links a {
  font-size: 0.92rem;
  color: var(--cream-dim);
  transition: color 0.25s;
}

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

.nav__cta {
  padding: 0.55rem 1.1rem !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream) !important;
  background: rgba(243, 230, 212, 0.04);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 2;
  cursor: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav__toggle.is-open span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav__toggle.is-open span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s,
    color 0.35s, box-shadow 0.35s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--copper), #a85f28);
  color: #1a100a;
  box-shadow: 0 10px 40px rgba(196, 120, 58, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 48px rgba(196, 120, 58, 0.42);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(243, 230, 212, 0.04);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(243, 230, 212, 0.35);
  background: rgba(243, 230, 212, 0.08);
}

.btn--full {
  width: 100%;
}

/* SECTIONS COMMON */
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head--light .section-title,
.section-head--light .section-desc,
.section-head--light .section-eyebrow {
  color: var(--cream);
}

.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--cream-dim);
  font-size: 1.05rem;
  max-width: 32rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(36px);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 6rem;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

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

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.35) contrast(1.05);
  transform: scale(1.08);
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(196, 120, 58, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(12, 9, 7, 0.55) 0%, rgba(12, 9, 7, 0.35) 40%, rgba(12, 9, 7, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 52rem;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title span {
  display: block;
}

.hero__title-italic {
  font-style: italic;
  background: linear-gradient(120deg, var(--sand), var(--copper) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  color: var(--cream-dim);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  40% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

.hero__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(12, 9, 7, 0.45);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
}

.hero__marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cream-dim);
}

.hero__marquee-track span::after {
  content: '·';
  margin-left: 3rem;
  opacity: 0.4;
}

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

/* CAFES SLIDER */
.cafes {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  position: relative;
}

.slider {
  position: relative;
}

.slider__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0 1.5rem;
  cursor: grab;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slider__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.coffee-card {
  flex: 0 0 min(82vw, 340px);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  isolation: isolate;
  transition: border-color 0.35s, transform 0.5s var(--ease);
}

.coffee-card:hover {
  border-color: rgba(212, 165, 116, 0.35);
  transform: translateY(-6px);
}

.coffee-card__img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  transition: transform 0.8s var(--ease);
}

.coffee-card:hover .coffee-card__img {
  transform: scale(1.06);
}

.coffee-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 9, 7, 0.92) 100%);
  z-index: 1;
}

.coffee-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.4rem;
}

.coffee-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.coffee-card__name {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.coffee-card__meta {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.coffee-card__bar {
  margin-top: 1rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(243, 230, 212, 0.12);
  overflow: hidden;
}

.coffee-card__bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--copper), var(--sand));
  border-radius: inherit;
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--cream);
  font-size: 1.1rem;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  cursor: none;
}

.slider__btn:hover {
  border-color: var(--amber);
  background: rgba(212, 165, 116, 0.1);
}

.slider__dots {
  display: flex;
  gap: 0.45rem;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(243, 230, 212, 0.25);
  transition: width 0.35s var(--ease), background 0.35s;
  cursor: none;
}

.slider__dot.is-active {
  width: 28px;
  background: var(--amber);
}

/* FEATURES */
.features {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
}

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

.features__bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: brightness(0.22) saturate(0.7);
  will-change: transform;
}

.features__inner {
  position: relative;
  z-index: 1;
}

.features__layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.features__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.features__tab {
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--cream-dim);
  transition: all 0.3s var(--ease);
  cursor: none;
}

.features__tab:hover {
  color: var(--cream);
  background: rgba(243, 230, 212, 0.04);
}

.features__tab.is-active {
  color: var(--cream);
  border-color: rgba(212, 165, 116, 0.35);
  background: rgba(212, 165, 116, 0.1);
}

.features__tab small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.65;
  margin-top: 0.15rem;
}

.features__panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(12, 9, 7, 0.55);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.features__media {
  position: relative;
  border-radius: calc(var(--radius-lg) - 0.4rem);
  overflow: hidden;
  min-height: 320px;
}

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

.features__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(12, 9, 7, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 0.82rem;
}

.features__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.85rem;
}

.features__body > p {
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}

.features__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.features__stats li {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(243, 230, 212, 0.04);
  border: 1px solid var(--line);
}

.features__stats strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.features__notes-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.65rem;
}

.features__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.features__chips span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 116, 0.35);
  background: rgba(212, 165, 116, 0.08);
  font-size: 0.88rem;
}

/* FAQ */
.faq {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(196, 120, 58, 0.08), transparent),
    var(--bg);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq__visual {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}

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

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: none;
}

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s;
  font-size: 1rem;
  color: var(--amber);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: rgba(212, 165, 116, 0.12);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a-inner {
  overflow: hidden;
}

.faq__a-inner p {
  padding: 0 0 1.25rem;
  color: var(--cream-dim);
  max-width: 40rem;
}

/* GALLERY */
.gallery {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

.gallery__grid {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: none;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}

.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease);
}

.gallery__item.tall img {
  aspect-ratio: 3/4;
  object-fit: cover;
}

.gallery__item:not(.tall) img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery__item:hover img {
  transform: scale(1.07);
}

.gallery__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(12, 9, 7, 0.85));
  font-size: 0.92rem;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.gallery__item:hover .gallery__cap {
  opacity: 1;
  transform: translateY(0);
}

/* CONTACT */
.contact {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

.contact__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  min-height: 560px;
}

.contact__form-wrap {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.contact__form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(12, 9, 7, 0.45);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(212, 165, 116, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.12);
}

.contact__status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--amber);
}

.contact__map-wrap {
  position: relative;
  min-height: 360px;
  background: var(--espresso);
}

.contact__map {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(1.05) brightness(0.75) sepia(0.25);
}

.contact__map-info {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: rgba(12, 9, 7, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.2rem;
  font-size: 0.92rem;
}

.contact__map-info strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.contact__map-info span {
  color: var(--cream-dim);
}

/* FOOTER */
.footer {
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  background: #090706;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer__brand p {
  margin-top: 0.75rem;
  color: var(--cream-dim);
  max-width: 16rem;
  font-size: 0.95rem;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.footer__cols h4 {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.footer__cols a {
  display: block;
  color: var(--cream-dim);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  transition: color 0.25s;
}

.footer__cols a:hover {
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 0.88rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer__legal a:hover {
  color: var(--cream);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(8, 6, 5, 0.92);
  backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: grid;
}

.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox p {
  margin-top: 1rem;
  color: var(--cream-dim);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(243, 230, 212, 0.06);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: none;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .features__layout {
    grid-template-columns: 1fr;
  }

  .features__nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .features__nav::-webkit-scrollbar {
    display: none;
  }

  .features__tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .features__panel {
    grid-template-columns: 1fr;
  }

  .features__media {
    min-height: 280px;
    aspect-ratio: 16/11;
  }

  .faq__grid,
  .contact__card {
    grid-template-columns: 1fr;
  }

  .contact__map-wrap {
    min-height: 320px;
  }
}

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

  .cursor,
  .cursor-follower {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(12, 9, 7, 0.96);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links a {
    font-size: 1.4rem;
  }

  .gallery__grid {
    columns: 2 140px;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    columns: 1;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
