﻿/* ==========================================================================
   AURELLE — Fine Necklaces
   Pure static stylesheet (no framework)
   Design tokens: ivory / ink / champagne gold
   Fonts: Cormorant Garamond (serif) + Jost (sans)
   ========================================================================== */

:root {
  --ivory: #faf7f2;
  --ink: #1a1714;
  --gold: #b08d57;
  --gold-light: #c9a96a;
  --taupe: #8a7f70;
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --announce-h: 38px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

em {
  font-style: italic;
}

::selection {
  background: var(--gold);
  color: var(--ivory);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 112px 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }

.section__head {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.section__title {
  margin-top: 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.15;
}

.section__lead {
  margin-top: 24px;
  color: var(--taupe);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1px solid transparent;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s var(--ease-luxe);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ivory);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--ghost-light {
  border-color: rgba(250, 247, 242, 0.7);
  color: var(--ivory);
}
.btn--ghost-light:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

.btn--ghost-ink {
  border-color: rgba(26, 23, 20, 0.6);
  color: var(--ink);
}
.btn--ghost-ink:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.btn--sm {
  padding: 10px 28px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-luxe), transform 0.9s var(--ease-luxe);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.7s var(--ease-luxe), box-shadow 0.7s var(--ease-luxe);
}

.announce {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.8);
  text-align: center;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-luxe), opacity 0.5s var(--ease-luxe);
  max-height: 60px;
  opacity: 1;
}
.announce p {
  padding: 7px 24px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.is-scrolled .announce {
  max-height: 0;
  opacity: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
  flex: 1;
}
.nav-links--right {
  justify-content: flex-end;
}

.nav-links a,
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.85);
  transition: color 0.4s ease;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.5s var(--ease-luxe);
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border: 1px solid rgba(250, 247, 242, 0.4);
  transition: all 0.5s var(--ease-luxe);
}
.nav-cta:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

/* Scrolled state: frosted ivory */
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 23, 20, 0.08);
}
.site-header.is-scrolled .nav-links a,
.site-header.is-scrolled .nav-cta {
  color: rgba(26, 23, 20, 0.75);
}
.site-header.is-scrolled .nav-links a:hover {
  color: var(--gold);
}
.site-header.is-scrolled .nav-cta {
  border-color: rgba(26, 23, 20, 0.3);
}
.site-header.is-scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.site-header.is-scrolled .brand {
  color: var(--ink);
}
.site-header.is-scrolled .menu-toggle {
  color: var(--ink);
}

.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--ivory);
  transition: color 0.6s ease;
}

/* Hamburger */
.menu-toggle {
  position: relative;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease-luxe);
}
.menu-toggle.is-open .bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle.is-open .bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-luxe), visibility 0.6s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 300;
  color: rgba(250, 247, 242, 0.9);
  transition: color 0.4s ease;
}
.mobile-menu a:hover {
  color: var(--gold);
}
.mobile-menu__cta {
  margin-top: 32px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 23, 20, 0.7),
    rgba(26, 23, 20, 0.3) 45%,
    rgba(26, 23, 20, 0.75)
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  text-align: center;
  color: var(--ivory);
}
.hero__title {
  margin-top: 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.12;
}
.hero__text {
  max-width: 540px;
  margin: 32px auto 0;
  font-size: 16px;
  color: rgba(250, 247, 242, 0.75);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
}
.hero__scroll p {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
}

/* ---------- Values strip ---------- */
.values {
  border-bottom: 1px solid rgba(26, 23, 20, 0.1);
  background: var(--ivory);
}
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.values__item {
  padding: 48px 32px;
  text-align: center;
  border-bottom: 1px solid rgba(26, 23, 20, 0.1);
}
.values__item:last-child {
  border-bottom: 0;
}
.values__label {
  margin-top: 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
}

/* ---------- Collection ---------- */
.collection {
  background: var(--ivory);
}
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 32px;
  margin-top: 64px;
}
.product__link {
  display: block;
  overflow: hidden;
}
.product__media {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: rgba(26, 23, 20, 0.05);
}
.product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-luxe);
}
.product__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 32px;
  background: rgba(26, 23, 20, 0.3);
  opacity: 0;
  transition: opacity 0.7s var(--ease-luxe);
}
.product:hover .product__img {
  transform: scale(1.06);
}
.product:hover .product__overlay {
  opacity: 1;
}
.product__meta {
  margin-top: 20px;
  text-align: center;
}
.product__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
}
.product__desc {
  margin-top: 4px;
  font-size: 14px;
  color: var(--taupe);
}
.product__price {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.collection__more {
  margin-top: 64px;
  text-align: center;
}

/* ---------- Maison ---------- */
.maison__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.maison__media {
  overflow: hidden;
}
.maison__img {
  width: 100%;
  aspect-ratio: 11 / 13;
  object-fit: cover;
}
.maison__text {
  margin-top: 28px;
  color: var(--taupe);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(26, 23, 20, 0.1);
}
.stat__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Quote ---------- */
.quote {
  background: var(--ink);
  padding: 128px 0;
}
.quote__inner {
  max-width: 760px;
  text-align: center;
}
.quote__text {
  margin-top: 32px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: rgba(250, 247, 242, 0.9);
}
.quote__cite {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
}

/* ---------- Newsletter ---------- */
.newsletter__inner {
  max-width: 560px;
  text-align: center;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}
.newsletter__input {
  flex: 1;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(26, 23, 20, 0.2);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.4s ease;
}
.newsletter__input::placeholder {
  color: rgba(138, 127, 112, 0.7);
}
.newsletter__input:focus {
  border-color: var(--gold);
}
.newsletter__btn {
  width: 100%;
}
.newsletter__message {
  min-height: 24px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  padding: 80px 0;
  color: rgba(250, 247, 242, 0.7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.brand--footer {
  color: var(--ivory);
}
.footer__about {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(250, 247, 242, 0.5);
}
.footer__col ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col li,
.footer__col a {
  font-size: 14px;
  font-weight: 300;
  transition: color 0.4s ease;
}
.footer__col a:hover {
  color: var(--gold-light);
}
.footer__social {
  flex-direction: row !important;
  gap: 24px !important;
}
.footer__social li {
  font-size: 11px !important;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}
.footer__social li:hover {
  color: var(--gold-light);
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.4);
}

/* ==========================================================================
   Responsive — tablet & desktop
   ========================================================================== */
@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
  .values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .values__item {
    border-bottom: 0;
    border-right: 1px solid rgba(26, 23, 20, 0.1);
  }
  .values__item:last-child {
    border-right: 0;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter__form {
    flex-direction: row;
  }
  .newsletter__btn {
    width: auto;
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 144px 0;
  }
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .brand {
    flex: 1;
    text-align: center;
  }
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
  .maison__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
