/* ========================================
   Wookies Studio - Premium Jewelry Design
   Inspired by Graff, Cartier, Harry Winston
   ======================================== */

:root {
  /* Light Mode - Clean, Luxurious White */
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-cream: #f8f6f3;
  --text: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent: #897358;
  --accent-light: #a89070;
  --accent-dark: #6d5a45;
  --gold: #c9a962;
  --gold-light: #d4bc7d;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --max-width: 1400px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

:root[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-cream: #141414;
  --text: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent: #a89070;
  --accent-light: #c4a882;
  --accent-dark: #897358;
  --gold: #d4bc7d;
  --gold-light: #e0cb95;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --card-bg: #141414;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Font Configuration - Matter (Your Font)
   ======================================== */

@font-face {
  font-family: "Matter";
  src: url("assets/fonts/MatterGX.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Matter";
  src: url("assets/fonts/MatterItalicGX.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Matter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   Announcement Bar
   ======================================== */

.announcement-bar {
  background: var(--accent);
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.announcement-bar p {
  margin: 0;
}

/* ========================================
   Header - Centered Logo Navigation
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav-left {
  justify-content: flex-end;
  padding-right: 60px;
}

.nav-right {
  justify-content: flex-start;
  padding-left: 60px;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.logo {
  flex-shrink: 0;
}

.logo-image {
  height: 40px;
  width: auto;
  transition: opacity 0.3s var(--ease);
}

.logo:hover .logo-image {
  opacity: 0.7;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}

/* ========================================
   Hero Section - Full Impact
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 40px;
  background: #000;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: #ffffff;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero .btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.hero .btn-primary:hover {
  background: transparent;
  color: #ffffff;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text);
}

/* ========================================
   Section Styles
   ======================================== */

.section {
  padding: clamp(80px, 12vw, 160px) 40px;
}

.section-header,
.showcase-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.section-cta {
  text-align: center;
  margin-top: 60px;
}

/* ========================================
   Featured Grid
   ======================================== */

.featured-section {
  background: var(--bg-alt);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.featured-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  transition: transform 0.6s var(--ease);
}

.featured-card:hover {
  transform: translateY(-8px);
}

.featured-large {
  grid-row: span 2;
}

.featured-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.featured-large .featured-image {
  aspect-ratio: auto;
  height: 100%;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.featured-card:hover .image-placeholder {
  transform: scale(1.05);
}

.gradient-aurora {
  background: linear-gradient(
    145deg,
    #f5e6d3 0%,
    #d4bc7d 40%,
    #897358 70%,
    #4a3d2e 100%
  );
}

.gradient-lumen {
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #e8e0d5 30%,
    #c4a882 70%,
    #8a7560 100%
  );
}

.gradient-solstice {
  background: linear-gradient(
    145deg,
    #f0ebe5 0%,
    #b8a48c 40%,
    #7a6650 80%,
    #3d3229 100%
  );
}

.featured-info {
  padding: 28px;
}

.featured-info h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.featured-info p {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.card-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.card-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.card-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ========================================
   Product Showcase
   ======================================== */

.product-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-item {
  text-align: center;
}

.product-image {
  aspect-ratio: 1;
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--bg-cream);
}

.product-image video,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-item:hover .product-image video,
.product-item:hover .product-image img {
  transform: scale(1.05);
}

.product-details {
  padding: 0 16px;
}

.product-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.product-details h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.product-details p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   Atelier / Bespoke Section
   ======================================== */

.atelier-section {
  background: var(--bg-cream);
}

.atelier-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.atelier-text h2 {
  margin-bottom: 24px;
}

.atelier-text p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.9;
}

.atelier-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.gradient-atelier {
  background: linear-gradient(
    160deg,
    #1a1a1a 0%,
    #3d3229 30%,
    #897358 60%,
    #d4bc7d 100%
  );
}

/* ========================================
   Craft Section
   ======================================== */

.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.craft-item {
  display: grid;
  gap: 32px;
}

.craft-visual {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.gradient-design {
  background: linear-gradient(
    135deg,
    #f5f5f5 0%,
    #e0e0e0 50%,
    #1a1a1a 50%,
    #000000 100%
  );
}

.gradient-3d {
  background: linear-gradient(
    135deg,
    #2a2a2a 0%,
    #4a4a4a 30%,
    var(--gold) 70%,
    var(--gold-light) 100%
  );
}

.craft-info h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.craft-info p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.craft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.craft-tags span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ========================================
   Philosophy Section
   ======================================== */

.philosophy-section {
  background: var(--bg-alt);
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 100px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.philosophy-text h2 {
  margin-bottom: 32px;
}

.philosophy-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.9;
}

.philosophy-details {
  padding-top: 60px;
}

.detail-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.detail-item:first-child {
  border-top: 1px solid var(--border);
}

.detail-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-value {
  font-size: 14px;
  color: var(--text);
}

/* ========================================
   Statement Section
   ======================================== */

.statement-section {
  padding: clamp(120px, 20vw, 240px) 40px;
  text-align: center;
  background: var(--bg);
}

.statement-content {
  max-width: 900px;
  margin: 0 auto;
}

.statement-body {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.8;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 24px;
}

.statement-text {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 24px;
}

.statement-sub {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
  background: var(--bg-cream);
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  margin-bottom: 20px;
}

.contact-content > p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover {
  color: var(--text);
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 80px 40px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 48px;
  text-align: center;
}

.footer-logo {
  height: 32px;
  margin: 0 auto;
  filter: invert(1);
  opacity: 0.9;
}

:root[data-theme="dark"] .footer-logo {
  filter: none;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-social a {
  display: inline-flex;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

/* ========================================
   Animations
   ======================================== */

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
}

@keyframes glow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Scroll Animations */
.js [data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out);
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-large {
    grid-row: span 1;
  }

  .product-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  .logo {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .atelier-content,
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .craft-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .philosophy-details {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 24px;
  }

  .hero {
    padding: 80px 24px;
  }

  .header-inner {
    padding: 16px 24px;
  }

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

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .statement-section {
    padding: 80px 24px;
  }
}

/* ========================================
   Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
