/*
Theme Name: Minutier
Theme URI: https://minutier.com
Description: Minutier Horological Atelier — Custom WordPress theme. Clean, natural, easily customisable. Built for Gutenberg + WooCommerce.
Author: Minutier
Version: 2.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: minutier
Tags: woocommerce, dark, luxury, watches, custom
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette — black, gold, and natural warm tones */
  --ink:          #0d0c09;
  --ink-2:        #141310;
  --ink-3:        #1c1a16;
  --gold:         #c9a227;
  --gold-hover:   #dbb840;
  --gold-dim:     #8a6e1a;
  --gold-faint:   rgba(201,162,39,0.10);
  --cream:        #f5f0e8;
  --parchment:    #ede6d6;
  --sand:         #c8b99a;
  --stone:        #8c7d68;
  --stone-light:  #b0a090;
  --border:       rgba(201,162,39,0.15);
  --border-warm:  rgba(200,185,154,0.25);

  /* Typography */
  --font-display: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --font-label:   'Jost', system-ui, sans-serif;

  /* Spacing */
  --gap:    clamp(40px, 6vw, 80px);
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 2px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-hover); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: 0.01em;
}

p { color: var(--sand); line-height: 1.75; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.m-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.m-section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.m-section-sm {
  padding: clamp(40px, 5vw, 72px) 0;
}

.m-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.m-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.m-center { text-align: center; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.m-eyebrow {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.m-title-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--cream);
}

.m-title-lg {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  color: var(--cream);
}

.m-title-md {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  color: var(--cream);
}

.m-body {
  font-size: 15px;
  color: var(--sand);
  line-height: 1.8;
  max-width: 560px;
}

.m-serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--stone-light);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.m-btn-gold {
  background: var(--gold);
  color: var(--ink) !important;
}
.m-btn-gold:hover {
  background: var(--gold-hover);
  color: var(--ink) !important;
}

.m-btn-outline {
  background: transparent;
  color: var(--cream) !important;
  border: 1px solid var(--border-warm);
}
.m-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.m-btn-ghost {
  background: transparent;
  color: var(--sand) !important;
  border: 1px solid rgba(140,125,104,0.3);
  padding: 11px 24px;
}
.m-btn-ghost:hover {
  color: var(--gold) !important;
  border-color: var(--gold);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,12,9,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 24px;
}

/* Logo */
.site-branding a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream) !important;
  text-decoration: none;
}

.site-branding .tagline {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-top: -2px;
}

/* Nav */
.main-navigation {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.main-navigation ul li a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-light);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--cream);
}

.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item > a::after {
  width: 100%;
}

/* Has submenu */
.main-navigation ul li.menu-item-has-children {
  position: relative;
}

.main-navigation ul li.menu-item-has-children > a::after {
  content: ' ↓';
  font-size: 8px;
  opacity: 0.5;
  letter-spacing: 0;
}

.main-navigation ul li.menu-item-has-children > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-2);
  border: 1px solid var(--border);
  min-width: 200px;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  z-index: 200;
}

.main-navigation ul li.menu-item-has-children > ul.open {
  display: flex;
}

.main-navigation ul li.menu-item-has-children > ul li a::after {
  display: none;
}

.main-navigation ul li.menu-item-has-children > ul li a {
  display: block;
  padding: 10px 20px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--stone-light);
}

.main-navigation ul li.menu-item-has-children > ul li a::after {
  display: none;
}

.main-navigation ul li.menu-item-has-children > ul li a:hover {
  color: var(--gold);
  background: var(--gold-faint);
}

/* Header right: sign in button */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream) !important;
  background: transparent;
  border: 1px solid var(--border-warm);
  padding: 9px 18px;
  transition: all 0.2s;
  text-decoration: none;
}

.header-account-btn:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.header-account-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ============================================================
   HERO — NAHLA
   ============================================================ */
.m-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.m-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 120px) clamp(30px, 5vw, 80px) clamp(60px, 8vw, 120px) var(--gutter);
  position: relative;
  z-index: 2;
}

.m-hero-left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-warm), transparent);
}

.m-hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.m-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s var(--ease);
}

.m-hero:hover .m-hero-right img {
  transform: scale(1.03);
}

/* Fallback SVG watch illustration */
.m-hero-watch-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 60% 50%, #1c1a16 0%, #0d0c09 70%);
}

.m-hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--stone-light);
  margin: 16px 0 32px;
  line-height: 1.5;
}

.m-hero-specs {
  display: flex;
  gap: 32px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
}

.m-hero-spec {
  border-left: 1px solid var(--border-warm);
  padding-left: 14px;
}

.m-hero-spec-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 3px;
}

.m-hero-spec-value {
  font-size: 14px;
  color: var(--parchment);
  font-family: var(--font-display);
}

.m-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Scroll indicator */
.m-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
}

.m-scroll-hint::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
}

/* ============================================================
   COLLECTION PANELS
   ============================================================ */
.m-collections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.m-collection-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
}

.m-collection-panel-bg {
  position: absolute;
  inset: 0;
  background: var(--ink-3);
  transition: transform 0.6s var(--ease);
}

.m-collection-panel:hover .m-collection-panel-bg {
  transform: scale(1.03);
}

.m-collection-panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.4s;
}

.m-collection-panel:hover .m-collection-panel-bg img {
  opacity: 0.75;
}

/* Warm overlay gradient */
.m-collection-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,12,9,0.96) 0%,
    rgba(13,12,9,0.5) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.m-collection-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 60px);
}

/* Divider between panels */
.m-collection-panel:first-child {
  border-right: 1px solid var(--border);
}

.m-collection-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
  color: var(--cream);
  margin: 10px 0 16px;
  line-height: 1.05;
}

.m-collection-desc {
  font-size: 14px;
  color: var(--sand);
  line-height: 1.75;
  max-width: 380px;
  margin-bottom: 28px;
}

/* ============================================================
   SECTION: WARM LIGHT (cream background sections)
   ============================================================ */
.m-section-light {
  background: var(--parchment);
}

.m-section-light h1,
.m-section-light h2,
.m-section-light h3,
.m-section-light h4 {
  color: var(--ink);
}

.m-section-light p,
.m-section-light .m-body {
  color: var(--stone);
}

.m-section-light .m-eyebrow {
  color: var(--gold-dim);
}

.m-section-light .m-serif-italic {
  color: var(--stone);
}

/* ============================================================
   ABOUT / STORY STRIP
   ============================================================ */
.m-story-strip {
  background: var(--cream);
  padding: clamp(60px, 8vw, 110px) 0;
}

.m-story-strip h2,
.m-story-strip h3 { color: var(--ink); }
.m-story-strip p   { color: var(--stone); }
.m-story-strip .m-eyebrow { color: var(--gold-dim); }

.m-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.m-story-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--parchment);
}

.m-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-story-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment);
  border: 1px solid var(--border-warm);
}

.m-story-image-placeholder p {
  font-size: 12px;
  color: var(--stone-light);
  text-align: center;
  padding: 24px;
}

.m-story-text { display: flex; flex-direction: column; gap: 20px; }

.m-story-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--stone);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  line-height: 1.5;
  margin: 8px 0;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.m-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--border);
}

.m-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink-3);
  cursor: pointer;
}

.m-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}

.m-gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.m-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,12,9,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.m-gallery-item:hover .m-gallery-overlay { opacity: 1; }

.m-gallery-cap {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--parchment);
}

/* Lightbox */
.m-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,12,9,0.97);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.m-lightbox.open { display: flex; }
.m-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--stone);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.m-lightbox-close:hover { color: var(--gold); }
#m-lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}
#m-lb-cap {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--stone);
}

/* ============================================================
   WOOCOMMERCE
   ============================================================ */
.woocommerce-page { background: var(--ink) !important; }

/* Strip default WC styles */
.woocommerce ul.products li.product {
  background: var(--ink-2) !important;
  border: 1px solid var(--border) !important;
  padding: 0 !important;
  transition: border-color 0.25s, transform 0.25s !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover {
  border-color: rgba(201,162,39,0.35) !important;
  transform: translateY(-3px) !important;
}

.woocommerce ul.products li.product img {
  margin: 0 !important;
  aspect-ratio: 1;
  object-fit: cover !important;
  width: 100% !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: var(--cream) !important;
  padding: 16px 18px 4px !important;
  letter-spacing: 0.02em !important;
}

.woocommerce ul.products li.product .price {
  color: var(--gold) !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  padding: 0 18px 16px !important;
  display: block !important;
}

.woocommerce ul.products li.product a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-family: var(--font-label) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 12px 24px !important;
  margin: 0 18px 18px !important;
  display: inline-flex !important;
  border: none !important;
  transition: background 0.2s !important;
}

.woocommerce ul.products li.product a.button:hover,
.woocommerce a.button:hover { background: var(--gold-hover) !important; }

/* Collection badges on products */
.m-wc-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin: 14px 18px 0;
}
.m-wc-badge-studio  { color: var(--gold-dim);  border: 1px solid rgba(201,162,39,0.3); }
.m-wc-badge-atelier { color: var(--stone-light); border: 1px solid rgba(176,160,144,0.3); }

/* Product single */
.woocommerce div.product .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  font-weight: 400 !important;
  color: var(--cream) !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--gold) !important;
  font-size: 18px !important;
  letter-spacing: 0.08em !important;
}

/* Cart / Checkout */
.woocommerce-cart .cart_item td,
.woocommerce-cart .cart_item th {
  border-color: var(--border) !important;
  color: var(--cream) !important;
  background: var(--ink-2) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: var(--ink-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--cream) !important;
  font-family: var(--font-body) !important;
  padding: 12px 14px !important;
  border-radius: 0 !important;
}

.woocommerce form .form-row label {
  color: var(--stone) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* Breadcrumb */
.woocommerce-breadcrumb {
  font-size: 11px !important;
  color: var(--stone) !important;
  letter-spacing: 0.12em !important;
  padding: 24px 0 !important;
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 40px !important;
}

/* My Account */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  border: 1px solid var(--border);
}
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-light);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--gold);
  background: var(--gold-faint);
}

/* ============================================================
   FORMS (interest / commission)
   ============================================================ */
.m-form { display: flex; flex-direction: column; gap: 16px; }

.m-field { display: flex; flex-direction: column; gap: 6px; }

.m-field label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.m-field input,
.m-field select,
.m-field textarea {
  background: var(--ink-2);
  border: 1px solid var(--border);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
}

.m-field input:focus,
.m-field select:focus,
.m-field textarea:focus { border-color: var(--gold-dim); }
.m-field input::placeholder,
.m-field textarea::placeholder { color: var(--stone); }

.m-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.m-form-msg { font-size: 13px; padding: 8px 0; display: none; }
.m-form-msg.success { color: var(--gold); display: block; }
.m-form-msg.error   { color: #c0392b; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
  display: block;
}

.footer-brand-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
  display: block;
}

.footer-col-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
  display: block;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--stone);
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.08em;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.m-page-hero {
  padding: clamp(100px, 12vw, 160px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.m-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.m-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .m-hero              { grid-template-columns: 1fr; min-height: auto; }
  .m-hero-right        { min-height: 50vw; order: -1; }
  .m-hero-left::after  { display: none; }
  .m-collections       { grid-template-columns: 1fr; }
  .m-collection-panel:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .m-story-grid        { grid-template-columns: 1fr; }
  .m-story-image       { aspect-ratio: 3/2; }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .m-grid-2            { grid-template-columns: 1fr; }
  .m-grid-3            { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-navigation     { display: none; }
  .main-navigation.open { display: flex; position: fixed; inset: 68px 0 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: center; z-index: 99; }
  .main-navigation.open ul { flex-direction: column; gap: 28px; text-align: center; }
  .main-navigation.open ul li a { font-size: 13px; }
  .main-navigation.open ul li.menu-item-has-children > ul { position: static; transform: none; display: flex; background: none; border: none; padding: 12px 0 0; }
  .menu-toggle         { display: flex; }
  .m-gallery-grid      { grid-template-columns: 1fr 1fr; }
  .m-form-row          { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; gap: 32px; }
  .m-grid-3            { grid-template-columns: 1fr; }
  .m-hero-specs        { gap: 20px; }
}

@media (max-width: 480px) {
  .m-gallery-grid { grid-template-columns: 1fr; }
}
