:root {
  --ink: #17191c;
  --ink-soft: #34383d;
  --paper: #f7f4ee;
  --paper-strong: #fffaf0;
  --muted: #77706a;
  --line: rgba(23, 25, 28, 0.14);
  --teal: #17666b;
  --coral: #c7664c;
  --gold: #b5873d;
  --blue: #243f67;
  --shadow: 0 22px 70px rgba(20, 20, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--paper-strong);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.86);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper-strong);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 12, 15, 0.78), rgba(10, 12, 15, 0.28) 48%, rgba(10, 12, 15, 0.58)),
    linear-gradient(0deg, rgba(10, 12, 15, 0.68), rgba(10, 12, 15, 0.08) 58%);
}

.hero-content {
  position: relative;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 108px 0 54px;
}

.eyebrow,
.section-label,
.feature-body span {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  font-weight: 800;
}

.button-primary {
  border-color: var(--paper-strong);
  color: var(--ink);
  background: var(--paper-strong);
}

.button-ghost {
  color: var(--paper-strong);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 74px) 0;
}

.intro-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

.intro-copy,
.contact-panel p,
.feature-body p {
  color: var(--muted);
}

.intro-copy p,
.contact-panel p {
  font-size: 18px;
}

.collection {
  width: 100%;
  padding: clamp(34px, 5vw, 58px) max(18px, calc((100vw - 1180px) / 2));
  background: #e8ece7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.category-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(23, 25, 28, 0.1);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(20, 20, 20, 0.2);
}

.feature-card img,
.category-card img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.feature-body {
  padding: 18px 20px;
}

.feature-body p {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 900;
}

.is-hidden {
  display: none;
}

.category-section {
  padding-top: clamp(52px, 7vw, 92px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.perfume-gallery {
  padding-top: clamp(52px, 7vw, 92px);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.gallery-heading p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.perfume-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.perfume-item {
  overflow: hidden;
  border: 1px solid rgba(23, 25, 28, 0.1);
  border-radius: 8px;
  background: var(--paper-strong);
}

.perfume-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.perfume-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 260ms ease;
}

.perfume-item-large img {
  aspect-ratio: 1 / 1.02;
}

.perfume-item:hover img {
  transform: scale(1.035);
}

.contact-panel {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(23, 25, 28, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(232, 236, 231, 0.9)),
    var(--paper-strong);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-links a::after {
  content: "->";
  color: var(--coral);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    padding-top: 14px;
  }

  .nav {
    max-width: 230px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .intro-grid,
  .contact-panel,
  .gallery-heading {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .feature-card img,
  .category-card img {
    aspect-ratio: 16 / 11;
  }

  .perfume-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .perfume-item-large {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .nav {
    font-size: 13px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 12, 15, 0.82), rgba(10, 12, 15, 0.18) 62%),
      linear-gradient(90deg, rgba(10, 12, 15, 0.72), rgba(10, 12, 15, 0.2));
  }

  .button {
    width: 100%;
  }

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

  .perfume-item-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer {
    flex-direction: column;
  }
}
