/* Aurelia Heritage — luxury jewellery e-commerce */

:root {
  --bg-deep: #0f0a08;
  --bg-card: #1a1410;
  --bg-elevated: #241c16;
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dark: #8b7340;
  --cream: #f5efe6;
  --text: #f8f4ef;
  --text-muted: #a89a8c;
  --accent: #9b2335;
  --navy: #1a2744;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --announce-h: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.link-arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.link-arrow::after {
  content: " →";
}

.link-arrow:hover {
  color: var(--gold);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 10, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
}

.announcement-bar {
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: var(--bg-deep);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo span {
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.icon-btn:hover {
  color: var(--gold);
  background: rgba(201, 169, 98, 0.1);
}

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  background: var(--accent);
  color: white;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + var(--announce-h) + 3rem) clamp(1.5rem, 5vw, 4rem) 4rem;
  margin-top: calc(var(--header-h) + var(--announce-h));
}

.hero-bg {
  position: absolute;
  inset: calc(-1 * (var(--header-h) + var(--announce-h))) 0 0 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: calc(-1 * (var(--header-h) + var(--announce-h))) 0 0 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 10, 8, 0.95) 0%,
    rgba(15, 10, 8, 0.5) 45%,
    rgba(26, 39, 68, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-desc {
  margin: 1.25rem 0 2rem;
  font-size: 1.0625rem;
  color: var(--cream);
  opacity: 0.9;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Promo strip */
.promo-strip {
  padding: 4rem 0;
  background: var(--bg-card);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 320px;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(15, 10, 8, 0.85) 0%, transparent 60%);
}

.promo-card-overlay h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.promo-card-overlay p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 280px;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Categories */
.categories {
  padding: 5rem 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 98, 0.15);
  transition: border-color 0.25s, transform 0.25s;
}

.category-tile:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.category-arch {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3 / 4;
  border-radius: 100px 100px 16px 16px;
  border: 2px solid var(--gold);
  overflow: hidden;
  background: var(--bg-deep);
}

.category-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.category-arch--alt {
  border-color: var(--gold-light);
}

.category-tile span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.category-tile--wide {
  grid-column: span 1;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 280px;
}

.category-tile--wide img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.category-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.55);
}

.category-caption h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.category-caption p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Products */
.products {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-card) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg-deep);
}

.product-badge--sale {
  background: var(--accent);
  color: white;
}

.product-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #000;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-info {
  padding: 1.25rem;
}

.product-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.product-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold-light);
}

.price-old {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.btn-add {
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn-add:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

/* Craft banner */
.craft-banner {
  padding: 0;
  background: #000;
}

.craft-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.craft-inner > img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.craft-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--bg-card);
}

.craft-content p {
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
  max-width: 420px;
}

.craft-features {
  margin-bottom: 2rem;
}

.craft-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--cream);
}

.craft-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* Trust */
.trust {
  padding: 4rem 0;
  border-top: 1px solid rgba(201, 169, 98, 0.1);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.trust-item h3 {
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Newsletter */
.newsletter {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--bg-deep) 100%);
}

.newsletter-inner {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.newsletter-inner h2 {
  margin-bottom: 0.5rem;
}

.newsletter-inner > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.875rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 2px;
  color: var(--text);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

/* Footer */
.site-footer {
  padding: 4rem 0 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(201, 169, 98, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
}

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-tile--wide {
    grid-column: span 2;
  }

  .craft-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-tile--wide {
    grid-column: span 1;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .hero {
    align-items: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }
}
