/* ── Design Tokens ── */
:root {
  --bg-primary: #0a0a0a;
  --bg-elevated: #141414;
  --bg-subtle: #1c1c1c;
  --text-primary: #f2f0eb;
  --text-secondary: #9a9690;
  --text-muted: #5c5854;
  --accent: #c8b89a;
  --accent-muted: #8a7f6e;
  --line: rgba(242, 240, 235, 0.08);
  --line-strong: rgba(242, 240, 235, 0.16);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'DM Mono', monospace;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --section-pad: clamp(4rem, 10vh, 7.5rem);

  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 144px;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.divider {
  height: 1px;
  background: var(--line);
  margin-top: var(--space-xl);
}

/* ── Typography ── */
.overline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-muted);
}

.section__subtitle {
  margin-top: var(--space-sm);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 36ch;
}

.link-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.link-arrow::after {
  content: ' →';
}

.link-arrow::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.link-arrow:hover {
  color: var(--accent);
}

.link-arrow:hover::before {
  width: calc(100% - 1.2em);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header--scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo__img {
  height: 128px;
  width: auto;
  display: block;
  filter: brightness(0) invert(92%) sepia(6%) saturate(400%) hue-rotate(5deg);
}

.logo__img--footer {
  height: 96px;
  opacity: 0.85;
}

.nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.menu-toggle--open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle--open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.menu-overlay--open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.menu-overlay__link {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.menu-overlay__link:hover {
  color: var(--text-primary);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: brightness(0.55) saturate(0.85);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 2rem);
}

.hero__title {
  font-size: clamp(2.75rem, 7.5vw, 6.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: var(--space-md);
  max-width: 14ch;
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 42ch;
  margin-top: var(--space-md);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.scroll-cue__line {
  width: 1px;
  height: 48px;
  background: var(--line-strong);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-cue__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: var(--space-lg);
  align-items: start;
}

.about__headline {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about__body {
  padding-top: 0.5rem;
}

.about__body p {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 52ch;
}

/* ── Brands ── */
.brands .section__header {
  margin-bottom: var(--space-xl);
}

.brands__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.brand-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease-out);
}

.brand-card:hover {
  border-color: var(--line-strong);
}

/* ── Brand Carousel ── */
.brand-carousel {
  position: relative;
  background: var(--bg-subtle);
}

.brand-carousel__viewport {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.brand-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.65s var(--ease-out);
}

.brand-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}

.brand-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  display: block;
}

.brand-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.brand-carousel__arrow:hover {
  background: rgba(10, 10, 10, 0.8);
  border-color: var(--accent-muted);
}

.brand-carousel__arrow span {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--text-primary);
  border-right: 1px solid var(--text-primary);
}

.brand-carousel__arrow--prev {
  left: 12px;
}

.brand-carousel__arrow--prev span {
  transform: rotate(-135deg) translate(1px, -1px);
}

.brand-carousel__arrow--next {
  right: 12px;
}

.brand-carousel__arrow--next span {
  transform: rotate(45deg) translate(-1px, 1px);
}

.brand-carousel__counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--line-strong);
  padding: 6px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand-card__body {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.brand-card__title {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-card__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-style: italic;
  color: var(--accent);
  margin-top: 4px;
}

.brand-card__rule {
  width: 32px;
  height: 1px;
  background: var(--accent-muted);
  margin-block: var(--space-md);
}

.brand-card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.brand-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

.brand-card__soon {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Contact ── */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.contact__intro {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.contact__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: var(--space-sm);
}

.contact__lead {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-secondary);
  margin-top: var(--space-md);
  max-width: 48ch;
}

.contact__general {
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-xl);
}

.contact__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: var(--space-md);
}

.contact__general-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.contact__value {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.contact__value:hover {
  color: var(--accent);
}

.contact__addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.address-card__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.address-card__rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-block: var(--space-md);
}

.address-card__address {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-primary);
}

.address-card__note {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: var(--space-md);
  max-width: 36ch;
}

/* ── Footer ── */
.footer {
  padding-block: var(--space-lg);
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo--footer:hover {
  opacity: 1;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  gap: var(--space-md);
}

.footer__nav a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer__nav a:hover {
  color: var(--text-primary);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .about__grid,
  .brands__grid,
  .contact__addresses {
    grid-template-columns: 1fr;
  }

  .about__headline {
    max-width: 16ch;
  }
}

@media (max-width: 767px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__title {
    max-width: none;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__general-grid {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-cue__line {
    animation: none;
  }

  .brand-carousel__track {
    transition: none;
  }
}
