/* =============================================
   WONDER CHROME STUDIO — GLOBAL
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --black:        #080604;
  --espresso:     #100e0b;
  --charcoal:     #1a1714;
  --dark:         #221f1b;
  --muted:        #2e2a25;
  --border:       rgba(180, 150, 90, 0.15);
  --border-light: rgba(180, 150, 90, 0.08);

  --gold:         #b8965a;
  --gold-light:   #cead72;
  --gold-muted:   rgba(184, 150, 90, 0.4);
  --bronze:       #7a6240;

  --ivory:        #f2ede4;
  --ivory-dim:    #c8c0b0;
  --ivory-ghost:  rgba(242, 237, 228, 0.5);
  --ivory-faint:  rgba(242, 237, 228, 0.15);

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', sans-serif;

  --spacing-xs:   0.5rem;
  --spacing-sm:   1rem;
  --spacing-md:   2rem;
  --spacing-lg:   4rem;
  --spacing-xl:   7rem;
  --spacing-2xl:  11rem;

  --ease-luxury:  cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);

  --max-width:    1320px;
  --header-h:     80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--black);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-luxury);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
h5 { font-size: 1.1rem; }

p {
  font-size: 0.9375rem;
  color: var(--ivory-dim);
  line-height: 1.85;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ── Utilities ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: var(--spacing-xl) 0;
}

.section--dark {
  background-color: var(--espresso);
}

.section--charcoal {
  background-color: var(--charcoal);
}

.section--muted {
  background-color: var(--muted);
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

/* Divider */
.divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  opacity: 0.6;
}

.divider--left {
  margin-left: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  transition: all 0.35s var(--ease-luxury);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-luxury);
  z-index: 0;
}

.btn--primary span {
  position: relative;
  z-index: 1;
}

.btn--primary:hover::after {
  transform: translateX(0);
}

.btn--primary:hover {
  color: var(--black);
}

.btn--outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--ivory-dim);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Image placeholders */
.img-placeholder {
  width: 100%;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(184,150,90,0.04) 0%,
    transparent 50%,
    rgba(0,0,0,0.3) 100%
  );
}

.img-placeholder--portrait { aspect-ratio: 4 / 5; }
.img-placeholder--square   { aspect-ratio: 1 / 1; }
.img-placeholder--wide     { aspect-ratio: 16 / 9; }
.img-placeholder--cinema   { aspect-ratio: 21 / 9; }
.img-placeholder--tall     { aspect-ratio: 3 / 4; }

/* Gradient overlays */
.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.overlay--bottom {
  background: linear-gradient(to top, var(--black) 0%, transparent 60%);
}

.overlay--dark {
  background: rgba(8,6,4,0.55);
}

/* Text decorative */
.italic { font-style: italic; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
}

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