:root {
  --black: #090806;
  --ink: #16130f;
  --charcoal: #24201a;
  --white: #ffffff;
  --ivory: #fbf8f1;
  --porcelain: #fffdf8;
  --champagne: #c7a66a;
  --antique: #8d6b32;
  --sand: #e7dcc9;
  --muted: #756c5f;
  --line: rgba(141, 107, 50, 0.22);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 18px 45px rgba(28, 22, 12, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(199, 166, 106, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--ivory), #f5eee1 52%, var(--ivory));
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.top-bar {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--black);
  border-bottom: 1px solid rgba(199, 166, 106, 0.3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(18px, 5vw, 78px);
  background: rgba(251, 248, 241, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--antique);
  background: var(--porcelain);
  border: 1px solid rgba(141, 107, 50, 0.42);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--charcoal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--antique);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  overflow: hidden;
  background: var(--black);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(28px, 6vw, 84px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.76) 0%, rgba(9, 8, 6, 0.42) 46%, rgba(9, 8, 6, 0.04) 100%),
    linear-gradient(0deg, rgba(9, 8, 6, 0.24), rgba(9, 8, 6, 0));
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--antique);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow,
.feature span,
.service-strip span,
.product-content p {
  color: var(--champagne);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.6rem);
}

h3 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.intro-section > p,
.editorial-copy p,
.collection-note p,
.contact-panel > p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.8;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions,
.carousel-controls,
.contact-list,
.contact-highlights,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.product-card:hover {
  transform: translateY(-3px);
}

.button-gold {
  color: var(--black);
  background: var(--champagne);
  border-color: var(--champagne);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  min-height: 44px;
  padding-right: 12px;
  color: var(--antique);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link::after {
  width: 42px;
  height: 1px;
  content: "";
  background: currentColor;
}

.carousel-controls {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(20px, 5vw, 56px);
  z-index: 3;
}

.carousel-prev,
.carousel-next,
.carousel-dot {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.carousel-prev,
.carousel-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
}

.carousel-dot.is-active {
  background: var(--champagne);
  border-color: var(--champagne);
}

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

.intro-section,
.collection-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 7vw, 84px);
  align-items: end;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: center;
  padding-top: 0;
}

.editorial-image,
.page-hero-media,
.product-media {
  position: relative;
  overflow: hidden;
  background: var(--porcelain);
}

.editorial-image {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.editorial-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature-grid,
.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
}

.feature,
.service-strip > div {
  min-height: 230px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--black);
  color: var(--white);
}

.feature span,
.service-strip span,
.product-content p {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature p,
.service-strip p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 108px) 0 clamp(34px, 5vw, 66px);
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.page-hero h1,
.contact-panel h1 {
  color: var(--black);
  font-size: clamp(2.9rem, 6vw, 6.15rem);
}

.page-hero-media {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% center;
}

.hero-stats {
  align-items: stretch;
  margin-top: 28px;
}

.hero-stats span {
  display: grid;
  gap: 4px;
  min-width: 138px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.hero-stats strong {
  color: var(--black);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.catalog-toolbar {
  position: sticky;
  top: 78px;
  z-index: 10;
  display: flex;
  gap: 8px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 0;
  overflow-x: auto;
  background: rgba(251, 248, 241, 0.9);
  box-shadow: 0 10px 20px rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(12px);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.catalog-toolbar::-webkit-scrollbar {
  display: none;
}

.catalog-toolbar a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 11px 16px;
  color: var(--black);
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  scroll-snap-align: start;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  padding-top: 0;
}

.product-card {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card[id] {
  scroll-margin-top: 150px;
}

.product-card:hover {
  box-shadow: 0 24px 62px rgba(28, 22, 12, 0.16);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  color: var(--black);
  background: rgba(251, 248, 241, 0.88);
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-content {
  padding: clamp(22px, 3vw, 32px);
  color: var(--ink);
}

.product-content h2 {
  margin: 8px 0 12px;
  color: var(--black);
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.product-content > span {
  color: var(--muted);
  line-height: 1.7;
}

.product-details {
  display: grid;
  gap: 1px;
  margin: 22px 0 0;
  background: var(--line);
}

.product-details div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  background: var(--porcelain);
}

.product-details dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-details dd {
  margin: 0;
  color: var(--black);
  font-weight: 700;
  text-align: right;
}

.service-strip {
  padding-top: 0;
}

.cta-band {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 1180px;
  margin-bottom: clamp(42px, 7vw, 90px);
  padding: clamp(42px, 7vw, 78px);
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(9, 8, 6, 0.82), rgba(9, 8, 6, 0.82)),
    url("assets/catalog-earrings.png") center / cover;
  border: 1px solid var(--line-dark);
}

.cta-band .eyebrow {
  color: var(--champagne);
}

.cta-band h2 {
  max-width: 760px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(26px, 6vw, 70px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 118px) 0;
}

.contact-panel {
  align-self: center;
}

.contact-list {
  align-items: stretch;
  flex-direction: column;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  padding: 16px 18px;
  color: var(--black);
  background: var(--porcelain);
  border: 1px solid var(--line);
  font-weight: 700;
}

.contact-highlights {
  margin-top: 18px;
}

.contact-highlights span {
  padding: 10px 12px;
  color: var(--antique);
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--porcelain);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--antique);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  color: var(--black);
  background: #fffaf0;
  border: 1px solid rgba(141, 107, 50, 0.28);
  border-radius: 0;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 30px clamp(18px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
}

.site-footer a {
  color: var(--champagne);
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 112px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--white);
    background: var(--black);
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    color: var(--white);
    padding: 14px;
  }

  .carousel-slide {
    align-items: end;
  }

  .carousel-slide::after {
    background: linear-gradient(0deg, rgba(9, 8, 6, 0.92) 0%, rgba(9, 8, 6, 0.62) 58%, rgba(9, 8, 6, 0.12) 100%);
  }

  .intro-section,
  .collection-note,
  .catalog-hero,
  .contact-layout,
  .editorial-band {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-strip,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-media {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .top-bar {
    font-size: 0.62rem;
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    gap: 9px;
    font-size: 1.18rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: calc(100vh - 102px);
  }

  .site-nav {
    top: 102px;
  }

  .catalog-toolbar {
    top: 68px;
  }

  .product-card[id] {
    scroll-margin-top: 132px;
  }

  .page-hero {
    padding-top: 42px;
  }

  .page-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3rem);
    line-height: 1.04;
  }

  .site-nav {
    right: 12px;
    left: 12px;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
  }

  .carousel-controls {
    right: 18px;
    bottom: 16px;
  }

  .hero-copy {
    padding-bottom: 70px;
  }

  .product-details div {
    display: grid;
  }

  .product-details dd {
    text-align: left;
  }

  .product-media img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 10px;
    background: var(--black);
  }
}
