/* ── Variables ── */
:root {
  --gold: #b59a6d;
  --gold-light: #d4bc8e;
  --gold-dim: rgba(181, 154, 109, 0.15);
  --black: #0c0c0c;
  --black-soft: #141414;
  --gray: #8a8a8a;
  --gray-light: #c4c4c4;
  --white: #f5f2ed;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background layers ── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 154, 109, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 154, 109, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--gold {
  width: 500px;
  height: 500px;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(181, 154, 109, 0.12) 0%, transparent 70%);
}

.bg-glow--dark {
  width: 600px;
  height: 600px;
  bottom: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(181, 154, 109, 0.06) 0%, transparent 70%);
}

#molecules {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* ── Layout ── */
.page {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  padding: 2rem 0;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-wrap {
  margin-bottom: 2.5rem;
  animation: fadeUp 1s 0.1s ease both;
}

.logo {
  position: relative;
  width: min(280px, 75vw);
  aspect-ratio: 427 / 351;
}

.logo__layer {
  position: absolute;
  inset: 0;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.logo__layer--light {
  background: #f5f2ed;
  mask-image: url('assets/logo-mask-light.png');
  -webkit-mask-image: url('assets/logo-mask-light.png');
}

.logo__layer--gold {
  background: #b59a6d;
  mask-image: url('assets/logo-mask-gold.png');
  -webkit-mask-image: url('assets/logo-mask-gold.png');
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(200px, 50vw);
  margin-bottom: 1.75rem;
  animation: fadeUp 1s 0.2s ease both;
}

.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider__diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Typography ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: fadeUp 1s 0.25s ease both;
}

.title {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-bottom: 1rem;
  animation: fadeUp 1s 0.3s ease both;
}

.title__main {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.title__accent {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--gray-light);
  margin-bottom: 1.75rem;
  animation: fadeUp 1s 0.35s ease both;
}

.description {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.4s ease both;
}

/* ── Status badge ── */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold-dim);
  border: 1px solid rgba(181, 154, 109, 0.25);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.45s ease both;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.status__text {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}

/* ── Contact button ── */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(181, 154, 109, 0.4);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  animation: fadeUp 1s 0.5s ease both;
}

.contact-btn:hover {
  background: rgba(181, 154, 109, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-btn__icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  margin-top: 3rem;
  animation: fadeUp 1s 0.6s ease both;
}

.feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(181, 154, 109, 0.12);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}

.feature:hover {
  background: rgba(181, 154, 109, 0.06);
  border-color: rgba(181, 154, 109, 0.3);
}

.feature__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature__title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature__text {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray);
}

/* ── Footer ── */
.footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(181, 154, 109, 0.1);
  text-align: center;
  width: 100%;
  animation: fadeUp 1s 0.7s ease both;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.footer__domain {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(181, 154, 109, 0.5);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .page {
    padding: 2rem 1.25rem 1.5rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    text-align: left;
    padding: 1.25rem;
  }

  .feature__icon {
    grid-row: 1 / 3;
    margin: 0;
    align-self: center;
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #molecules {
    display: none;
  }
}
