/* ==========================================================================
   AURORA — Fine Jewelry
   Design read: premium multi-page jewelry site (Home / Shop / About / Contact)
   for design-conscious shoppers. Brand mark (ink diamond on ivory) is an
   existing asset — palette below is extracted from it, not a stock default.
   Dials: DESIGN_VARIANCE 7 · MOTION_INTENSITY 6 · VISUAL_DENSITY 3
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root{
  /* Light (default) — extracted from the Aurora logo asset */
  --bg: #F7F3EC;
  --bg-alt: #EEE8DB;
  --surface: #FFFFFF;
  --surface-2: #FBF8F2;
  --ink: #16140F;
  --ink-soft: #5B5646;
  --ink-faint: #8A8471;
  --line: rgba(22,20,15,0.12);
  --line-strong: rgba(22,20,15,0.24);
  --shadow-rgb: 22,20,15;

  /* single accent system: "aurora shimmer" — used sparingly, never as a fill */
  --accent-1: #6C5CE0;
  --accent-2: #2BB6A3;
  --accent-3: #E892B5;
  --accent-gradient: linear-gradient(115deg, var(--accent-1) 0%, var(--accent-2) 52%, var(--accent-3) 100%);
  --accent-solid: #5B52D6;

  --radius-card: 24px;
  --radius-card-inner: 18px;
  --radius-input: 12px;
  --radius-pill: 999px;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-brand: 'Cinzel', serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) {
    --bg: #0A0A0B;
    --bg-alt: #131214;
    --surface: #1A1A1D;
    --surface-2: #1F1F22;
    --ink: #F4F0E8;
    --ink-soft: #B4AE9E;
    --ink-faint: #7C7768;
    --line: rgba(244,240,232,0.10);
    --line-strong: rgba(244,240,232,0.22);
    --shadow-rgb: 0,0,0;
    --accent-1: #8B7FFF;
    --accent-2: #35D6C0;
    --accent-3: #F0A5C9;
    --accent-solid: #8B7FFF;
    color-scheme: dark;
  }
}

:root[data-theme="dark"]{
  --bg: #0A0A0B;
  --bg-alt: #131214;
  --surface: #1A1A1D;
  --surface-2: #1F1F22;
  --ink: #F4F0E8;
  --ink-soft: #B4AE9E;
  --ink-faint: #7C7768;
  --line: rgba(244,240,232,0.10);
  --line-strong: rgba(244,240,232,0.22);
  --shadow-rgb: 0,0,0;
  --accent-1: #8B7FFF;
  --accent-2: #35D6C0;
  --accent-3: #F0A5C9;
  --accent-solid: #8B7FFF;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease-out-strong), color .4s var(--ease-out-strong);
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }
h1,h2,h3,h4,p{ margin: 0; }
::selection{ background: var(--accent-solid); color: #fff; }

.wrap{
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

/* ---------- Typography ---------- */
.eyebrow{
  font-family: var(--font-brand);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-block;
}
.display{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display em{
  font-style: italic;
  font-weight: 500;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
  display: inline-block;
  line-height: 1.15;
}
h1.display{ font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2.display{ font-size: clamp(2rem, 4vw, 3.1rem); }
h3.display{ font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.lede{
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46ch;
}
.section-head{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}
.section-head.center{ align-items: center; text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .18s var(--ease-out-strong), background-color .25s var(--ease-out-strong), color .25s var(--ease-out-strong), border-color .25s var(--ease-out-strong), box-shadow .25s var(--ease-out-strong);
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover{ box-shadow: 0 8px 24px -8px rgba(var(--shadow-rgb),0.4); transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover{ border-color: var(--ink); background: rgba(var(--shadow-rgb),0.04); }
.btn-icon-wrap{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(var(--shadow-rgb),0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-out-strong);
  flex-shrink: 0;
}
.btn-primary .btn-icon-wrap{ background: rgba(255,255,255,0.18); }
.btn:hover .btn-icon-wrap{ transform: translate(2px,-2px) scale(1.06); }
.btn-sm{ padding: 10px 18px; font-size: 0.76rem; }
.btn[disabled]{ opacity: 0.5; cursor: not-allowed; }

/* ---------- Navigation (fluid island) ---------- */
.nav-shell{
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
}
.nav{
  pointer-events: auto;
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px -18px rgba(var(--shadow-rgb),0.35);
  transition: background-color .4s var(--ease-out-strong), border-color .4s var(--ease-out-strong);
}
.nav-brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-brand img{ height: 26px; width: auto; }
:root[data-theme="dark"] .nav-brand img{ filter: invert(1); }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .nav-brand img{ filter: invert(1); }
}
.nav-brand .word{
  font-family: var(--font-brand);
  font-size: 1rem;
  letter-spacing: 0.24em;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a{
  position: relative;
  padding: 10px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color .25s var(--ease-out-strong), background-color .25s var(--ease-out-strong);
}
.nav-links a:hover{ color: var(--ink); background: rgba(var(--shadow-rgb),0.05); }
.nav-links a.active{ color: var(--ink); background: rgba(var(--shadow-rgb),0.07); }
.nav-actions{ display: flex; align-items: center; gap: 6px; }
.nav-icon-btn{
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 1.05rem;
  position: relative;
  transition: background-color .25s var(--ease-out-strong), transform .18s var(--ease-out-strong);
}
.nav-icon-btn:hover{ background: rgba(var(--shadow-rgb),0.06); }
.nav-icon-btn:active{ transform: scale(0.92); }
.wish-badge{
  position: absolute; top: 4px; right: 4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent-solid);
  color: #fff;
  font-size: 9px;
  display: none;
  align-items: center; justify-content: center;
  font-family: var(--font-sans);
}
.wish-badge.show{ display: flex; }

/* mobile menu trigger: three lines -> X */
.menu-trigger{
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none; background: transparent;
  position: relative;
  align-items: center; justify-content: center;
}
.menu-trigger span{
  position: absolute;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .45s var(--ease-in-out), opacity .3s var(--ease-in-out), top .45s var(--ease-in-out);
}
.menu-trigger span:nth-child(1){ top: 16px; }
.menu-trigger span:nth-child(2){ top: 21px; }
.menu-trigger span:nth-child(3){ top: 26px; }
.menu-trigger.open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.menu-trigger.open span:nth-child(2){ opacity: 0; }
.menu-trigger.open span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

.mobile-overlay{
  position: fixed; inset: 0;
  z-index: 85;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out-strong), visibility 0s linear .4s;
}
.mobile-overlay.open{ opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out-strong); }
.mobile-overlay a{
  font-family: var(--font-display);
  font-size: 2.1rem;
  padding: 10px 0;
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease-out-strong), transform .5s var(--ease-out-strong);
}
.mobile-overlay.open a{ opacity: 1; transform: translateY(0); }
.mobile-overlay.open a:nth-child(1){ transition-delay: .08s; }
.mobile-overlay.open a:nth-child(2){ transition-delay: .14s; }
.mobile-overlay.open a:nth-child(3){ transition-delay: .2s; }
.mobile-overlay.open a:nth-child(4){ transition-delay: .26s; }
.mobile-theme-row{
  margin-top: 28px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out-strong) .32s, transform .5s var(--ease-out-strong) .32s;
}
.mobile-overlay.open .mobile-theme-row{ opacity: 1; transform: translateY(0); }

@media (max-width: 880px){
  .nav-links{ display: none; }
  .menu-trigger{ display: inline-flex; }
}

/* ---------- Hero (cinematic, full-bleed) ---------- */
.hero{ position: relative; }
.hero-cinematic{
  /* scoped light-on-dark token overrides — every child (.eyebrow, .display,
     .lede, .btn) reads these vars already, so no component rule needs
     duplicating for the dark backdrop. */
  --ink: #F7F3EC;
  --ink-soft: rgba(247,243,236,0.82);
  --ink-faint: rgba(247,243,236,0.56);
  --bg: #15130E;
  --line-strong: rgba(247,243,236,0.4);
  --shadow-rgb: 0,0,0;
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #15130E;
}
.hero-bg{ position: absolute; inset: 0; z-index: 0; }
.hero-bg-layer{
  position: absolute; inset: -3%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroCrossfade 24s ease-in-out infinite, heroZoom 24s linear infinite alternate;
}
.hero-bg-layer:first-child{ opacity: 1; }
.hero-bg-layer:nth-child(2){ animation-delay: -12s; }
.hero-scrim{
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(8,7,5,0.2), rgba(8,7,5,0.62) 75%),
    linear-gradient(180deg, rgba(8,7,5,0.6) 0%, rgba(8,7,5,0.2) 28%, rgba(8,7,5,0.32) 58%, rgba(8,7,5,0.88) 100%);
}
.hero-inner{
  position: relative; z-index: 2;
  width: min(680px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(120px, 20vh, 190px) clamp(64px, 9vh, 96px);
}
.hero-mark{
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  color: var(--ink-faint);
  font-size: 0.7rem;
}
.hero-inner .eyebrow{ margin: 0; }
.hero-inner h1.display{ margin: 0 0 20px; }
.hero-inner .lede{ margin: 0 auto 36px; max-width: 44ch; }
.hero-inner .hero-cta{ justify-content: center; }
.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; }

/* staggered entrance — above the fold, so it plays on load, not on scroll */
.hero-mark, .hero-inner h1, .hero-inner .lede, .hero-inner .hero-cta{
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise 0.9s var(--ease-out-strong) forwards;
}
.hero-mark{ animation-delay: .1s; }
.hero-inner h1{ animation-delay: .26s; }
.hero-inner .lede{ animation-delay: .42s; }
.hero-inner .hero-cta{ animation-delay: .58s; }

@keyframes heroRise{ to{ opacity: 1; transform: translateY(0); } }
@keyframes heroCrossfade{
  0%, 33%{ opacity: 1; }
  46%, 87%{ opacity: 0; }
  100%{ opacity: 1; }
}
@keyframes heroZoom{ from{ transform: scale(1); } to{ transform: scale(1.1); } }

@media (max-width: 640px){
  .hero-inner{ padding-block: clamp(128px, 26vh, 170px) 56px; }
}
@media (prefers-reduced-motion: reduce){
  .hero-bg-layer{ animation: none !important; }
  .hero-bg-layer:first-child{ opacity: 1; }
  .hero-bg-layer:nth-child(2){ opacity: 0; }
  .hero-mark, .hero-inner h1, .hero-inner .lede, .hero-inner .hero-cta{
    opacity: 1; transform: none; animation: none;
  }
}

/* ---------- Sections / rhythm ---------- */
section{ position: relative; }
.section-pad{ padding-block: clamp(72px, 10vw, 128px); }
.section-alt{ background: var(--bg-alt); }

/* ---------- Trust strip ---------- */
.trust-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item{
  display: flex; align-items: center; gap: 14px;
  padding: 30px 22px;
  border-left: 1px solid var(--line);
}
.trust-item:first-child{ border-left: none; }
.trust-item i{ font-size: 1.5rem; color: var(--ink); flex-shrink: 0; }
.trust-item .t{ font-size: 0.86rem; font-weight: 500; }
.trust-item .s{ font-size: 0.76rem; color: var(--ink-faint); }
@media (max-width: 880px){
  .trust-grid{ grid-template-columns: repeat(2,1fr); }
  .trust-item{ border-left: none; border-top: 1px solid var(--line); padding: 22px 4px; }
  .trust-item:nth-child(odd){ padding-left: 0; }
}

/* ---------- Bento collections ---------- */
.bento{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 20px;
}
.bento-card{
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 26px;
}
.bento-card .tile-bg{
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  transform: scale(1.01);
  transition: transform .9s var(--ease-out-strong), filter .5s ease;
}
.bento-card:hover .tile-bg{ transform: scale(1.08); }
.bento-card::before{
  content:'';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.05) 55%);
}
.bento-card .tile-label{ color: #fff; }
.bento-card .tile-label .name{ font-family: var(--font-display); font-size: 1.5rem; display: block; margin-bottom: 4px; }
.bento-card .tile-label .count{ font-size: 0.76rem; opacity: 0.8; letter-spacing: 0.04em; }
.bento-card.large{ grid-column: span 2; grid-row: span 2; }
.bento-card.tall{ grid-row: span 2; }
.bento-card.wide{ grid-column: span 2; }
@media (max-width: 980px){
  .bento{ grid-template-columns: repeat(2, 1fr); }
  .bento-card.large{ grid-column: span 2; grid-row: span 1; min-height: 320px; }
  .bento-card.wide{ grid-column: span 2; }
}
@media (max-width: 620px){
  .bento{ grid-template-columns: 1fr; }
  .bento-card.large, .bento-card.wide, .bento-card.tall{ grid-column: span 1; grid-row: span 1; }
  .bento-card{ min-height: 260px; }
}

/* ---------- Editorial split story ---------- */
.story{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.story-media{ position: relative; min-height: 480px; }
.story-media img{ width: 100%; height: 100%; object-fit: cover; }
.story-copy{
  background: var(--surface);
  padding: clamp(36px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.story-copy .stat-row{ display: flex; gap: 32px; margin-top: 12px; }
.story-copy .stat .n{ font-family: var(--font-display); font-size: 2rem; }
.story-copy .stat .l{ font-size: 0.76rem; color: var(--ink-faint); letter-spacing: 0.03em; }
@media (max-width: 880px){
  .story{ grid-template-columns: 1fr; }
  .story-media{ min-height: 320px; }
}

/* ---------- Testimonials ---------- */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card{
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card .stars{ color: var(--accent-solid); font-size: 0.95rem; letter-spacing: 3px; }
.testi-card blockquote{
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}
.testi-who{ display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-who .avatar{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-brand); font-size: 0.8rem;
}
.testi-who .name{ font-size: 0.86rem; font-weight: 500; }
.testi-who .role{ font-size: 0.74rem; color: var(--ink-faint); }
@media (max-width: 880px){
  .testi-grid{ grid-template-columns: 1fr; }
}

/* ---------- Marquee ---------- */
.marquee-section{ overflow: hidden; padding-block: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track{
  display: flex;
  width: max-content;
  gap: 64px;
  animation: marqueeMove 34s linear infinite;
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; overflow-x: auto; }
}
@keyframes marqueeMove{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.marquee-item{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 24px;
  white-space: nowrap;
}
.marquee-item i{ color: var(--accent-solid); font-style: normal; font-size: 1rem; }

/* ---------- Newsletter band ---------- */
.news-band{
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--bg);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.news-band h2{ color: var(--bg); }
.news-band .lede{ color: color-mix(in srgb, var(--bg) 70%, transparent); }
.news-form{ display: flex; gap: 10px; }
.news-form input{
  flex: 1;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--bg);
}
.news-form input::placeholder{ color: color-mix(in srgb, var(--bg) 55%, transparent); }
.news-form .btn-primary{ background: var(--bg); color: var(--ink); flex-shrink: 0; }
.news-form .btn-primary .btn-icon-wrap{ background: rgba(var(--shadow-rgb),0.08); }
.news-note{ margin-top: 12px; font-size: 0.8rem; color: color-mix(in srgb, var(--bg) 75%, transparent); display: none; }
.news-note.show{ display: block; }
@media (max-width: 780px){
  .news-band{ grid-template-columns: 1fr; }
  .news-form{ flex-direction: column; }
}

/* ---------- Footer ---------- */
footer{ padding-top: clamp(60px, 8vw, 96px); border-top: 1px solid var(--line); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .word{ font-family: var(--font-brand); font-size: 1.1rem; letter-spacing: 0.2em; }
.footer-brand p{ color: var(--ink-soft); font-size: 0.88rem; margin-top: 16px; max-width: 32ch; }
.footer-social{ display: flex; gap: 10px; margin-top: 22px; }
.footer-col h4{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 0.9rem; color: var(--ink-soft); transition: color .2s ease; }
.footer-col a:hover{ color: var(--ink); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--ink-faint);
  flex-wrap: wrap; gap: 10px;
}
@media (max-width: 880px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out-strong), transform .8s var(--ease-out-strong);
}
[data-reveal].in{ opacity: 1; transform: translateY(0); }
[data-reveal-group] > *{ transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* ---------- Page header (interior pages) ---------- */
.page-header{
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 56px;
}
.page-header .eyebrow{ margin-bottom: 16px; }
.page-header .lede{ margin-top: 18px; }
.breadcrumb{ display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 22px; }
.breadcrumb a:hover{ color: var(--ink); }

/* ---------- Shop: filters ---------- */
.filter-bar{
  position: sticky; top: calc(var(--nav-h) + 8px);
  z-index: 40;
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 10px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  margin-bottom: 44px;
  width: fit-content;
}
.filter-pill{
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  transition: background-color .25s var(--ease-out-strong), color .25s var(--ease-out-strong);
}
.filter-pill:hover{ color: var(--ink); }
.filter-pill.active{ background: var(--ink); color: var(--bg); }

/* ---------- Product grid ---------- */
.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.product-card{
  display: flex; flex-direction: column; gap: 14px;
}
.product-media{
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-2);
}
.product-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out-strong);
}
.product-card:hover .product-media img{ transform: scale(1.06); }
.product-tag{
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
}
.product-wish{
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(6px);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: transform .2s var(--ease-out-strong), color .2s ease;
}
.product-wish:active{ transform: scale(0.88); }
.product-wish.active{ color: #e0507a; }
.product-wish.active i{ font-weight: 900; }
.product-actions{
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; gap: 8px; opacity: 0; transform: translateY(10px);
  transition: opacity .3s var(--ease-out-strong), transform .3s var(--ease-out-strong);
}
.product-card:hover .product-actions{ opacity: 1; transform: translateY(0); }
.product-actions .btn{ flex: 1; padding: 12px 10px; font-size: 0.72rem; }
.product-actions .btn.added{ background: #1f8a5f; color: #fff; }
.product-info{ display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.product-info h3{ font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.product-info .cat{ font-size: 0.76rem; color: var(--ink-faint); margin-top: 2px; }
.product-price{ font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 980px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .product-grid{ grid-template-columns: 1fr; }
  .filter-bar{ width: 100%; overflow-x: auto; flex-wrap: nowrap; }
}

/* ---------- Quick view modal ---------- */
.modal-overlay{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(var(--shadow-rgb), 0.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out-strong), visibility 0s linear .35s;
}
.modal-overlay.open{ opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out-strong); }
.modal-card{
  background: var(--surface);
  border-radius: var(--radius-card);
  max-width: 880px; width: 100%;
  max-height: 86vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: scale(0.94) translateY(10px);
  opacity: 0;
  transition: transform .4s var(--ease-out-strong), opacity .4s var(--ease-out-strong);
}
.modal-overlay.open .modal-card{ transform: scale(1) translateY(0); opacity: 1; }
.modal-media{ position: relative; min-height: 320px; }
.modal-media img{ width: 100%; height: 100%; object-fit: cover; }
.modal-body{ padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.modal-close{
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.85); border: none;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 720px){
  .modal-card{ grid-template-columns: 1fr; }
  .modal-media{ min-height: 240px; }
}

/* ---------- Process steps (about) ---------- */
.process-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step{
  padding: 30px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s ease, transform .3s var(--ease-out-strong);
}
.process-step:hover{ border-color: var(--line-strong); transform: translateY(-4px); }
.process-step .step-n{ font-family: var(--font-display); font-size: 2.2rem; color: var(--ink-faint); }
.process-step h4{ font-size: 1rem; font-weight: 500; }
.process-step p{ font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 880px){
  .process-row{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .process-row{ grid-template-columns: 1fr; }
}

/* ---------- Values bento (about) ---------- */
.values-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
.value-card{
  border-radius: var(--radius-card);
  padding: 34px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.value-card.photo{ color: #fff; }
.value-card.photo .tile-bg{ position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.value-card.photo::before{ content:''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.1) 60%); }
.value-card.plain{ background: var(--surface); border: 1px solid var(--line); }
.value-card i{ font-size: 1.8rem; }
.value-card h4{ font-family: var(--font-display); font-size: 1.35rem; }
.value-card p{ font-size: 0.88rem; line-height: 1.6; }
.value-card.plain p{ color: var(--ink-soft); }
@media (max-width: 900px){
  .values-grid{ grid-template-columns: 1fr 1fr; }
  .value-card:first-child{ grid-column: span 2; }
}
@media (max-width: 600px){
  .values-grid{ grid-template-columns: 1fr; }
  .value-card:first-child{ grid-column: span 1; }
}

/* ---------- Gallery (about atelier) ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid img{
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-card-inner);
  aspect-ratio: 1;
  transition: transform .6s var(--ease-out-strong), filter .6s ease;
}
.gallery-grid img:hover{ transform: scale(1.03); }
.gallery-grid a:nth-child(1){ grid-column: span 2; grid-row: span 2; }
.gallery-grid a:nth-child(1) img{ aspect-ratio: 1; }
@media (max-width: 780px){
  .gallery-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid a:nth-child(1){ grid-column: span 2; }
}

/* ---------- Founder quote ---------- */
.founder-quote{
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
}
.founder-quote img{ width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.founder-quote blockquote{ font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; line-height: 1.4; margin: 0 0 14px; }
.founder-quote cite{ font-style: normal; font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 620px){
  .founder-quote{ grid-template-columns: 1fr; text-align: center; }
  .founder-quote img{ margin-inline: auto; }
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
.field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label{ font-size: 0.82rem; font-weight: 500; }
.field .hint{ font-size: 0.74rem; color: var(--ink-faint); }
.field input, .field textarea{
  padding: 14px 16px;
  border-radius: var(--radius-input);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--ink-faint); }
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--accent-solid);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-solid) 22%, transparent);
}
.field.error input, .field.error textarea{ border-color: #d5455f; }
.field .err-msg{ font-size: 0.74rem; color: #d5455f; display: none; }
.field.error .err-msg{ display: block; }
.field textarea{ resize: vertical; min-height: 140px; }
.form-status{
  padding: 16px 18px; border-radius: var(--radius-input);
  background: var(--bg-alt);
  font-size: 0.86rem;
  display: none;
  align-items: center; gap: 10px;
}
.form-status.show{ display: flex; }
.form-status.ok{ color: #1f8a5f; }
.form-status.bad{ color: #d5455f; }

.info-card{
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.info-card .map{ height: 220px; width: 100%; filter: grayscale(0.4) contrast(1.05); border: 0; display: block; }
:root[data-theme="dark"] .info-card .map{ filter: grayscale(0.6) invert(0.92) contrast(0.9); }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .info-card .map{ filter: grayscale(0.6) invert(0.92) contrast(0.9); }
}
.info-card .body{ padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.info-row{ display: flex; gap: 16px; align-items: flex-start; }
.info-row i{ font-size: 1.2rem; margin-top: 2px; color: var(--ink); }
.info-row .t{ font-size: 0.88rem; font-weight: 500; }
.info-row .s{ font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.info-social{ display: flex; gap: 10px; }
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* ---------- Social icon buttons (shared) ---------- */
.icon-chip{
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .25s ease, transform .18s var(--ease-out-strong), border-color .25s ease;
}
.icon-chip:hover{ background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Cart / bag drawer ---------- */
.cart-overlay{
  position: fixed; inset: 0; z-index: 210;
  background: rgba(var(--shadow-rgb), 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out-strong), visibility 0s linear .4s;
}
.cart-overlay.open{ opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out-strong); }
.cart-drawer{
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 211;
  width: min(420px, 100%);
  background: var(--surface);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s var(--ease-out-strong);
  box-shadow: -20px 0 60px -20px rgba(var(--shadow-rgb),0.35);
}
.cart-overlay.open .cart-drawer{ transform: translateX(0); }
.cart-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3{ font-family: var(--font-display); font-size: 1.4rem; }
.cart-items{ flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 18px; }
.cart-empty{ color: var(--ink-faint); font-size: 0.9rem; padding: 40px 0; text-align: center; }
.cart-item{ display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; }
.cart-item img{ width: 68px; height: 68px; object-fit: cover; border-radius: 14px; background: var(--surface-2); }
.cart-item .name{ font-size: 0.9rem; font-weight: 500; }
.cart-item .cat{ font-size: 0.74rem; color: var(--ink-faint); margin-top: 2px; }
.cart-qty{ display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty button{
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.cart-qty span{ font-size: 0.84rem; min-width: 14px; text-align: center; }
.cart-item-price{ font-size: 0.88rem; font-weight: 500; text-align: right; white-space: nowrap; }
.cart-remove{ display: block; margin-top: 8px; font-size: 0.72rem; color: var(--ink-faint); text-decoration: underline; text-underline-offset: 2px; margin-left: auto; }
.cart-foot{ padding: 20px 24px 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.cart-subtotal{ display: flex; justify-content: space-between; font-size: 0.95rem; font-weight: 500; }
.cart-foot .hint{ font-size: 0.76rem; color: var(--ink-faint); }
@media (max-width: 480px){
  .cart-drawer{ width: 100%; }
}

/* ---------- Theme toggle switch ---------- */
.theme-toggle{
  width: 52px; height: 30px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  position: relative;
  flex-shrink: 0;
}
.theme-toggle .knob{
  position: absolute; top: 2px; left: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: transform .4s var(--ease-out-strong);
}
:root[data-theme="dark"] .theme-toggle .knob{ transform: translateX(22px); }

/* ---------- Utility ---------- */
.mt-0{ margin-top: 0 !important; }
.center-text{ text-align: center; }
.tag-row{ display: flex; gap: 10px; flex-wrap: wrap; }
.tag{
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); color: var(--ink-soft);
}
