/* ============================================================
   MAISON NOCTURNE — Main Stylesheet
   设计规范详见 DESIGN.md（午夜高定沙龙意象）
   目录：
   01 Tokens & Reset   02 Typography & Utilities   03 Header & Drawer
   04 Hero             05 Brand Story              06 Collection
   07 Atelier Banner   08 Footer                   09 Toast
   10 Animations       11 Responsive               12 Reduced Motion
   ============================================================ */

/* ---------- 01 Tokens & Reset ---------- */
:root {
  /* 色彩 — 来自 DESIGN.md Design Tokens */
  --noir: #121212;
  --abyss: #0B0B0B;
  --panel: #1A1A1A;
  --gold: #D4AF37;
  --gold-soft: #B8963E;
  --ivory: #ECE8E1;
  --mist: #9A938A;
  --hairline: rgba(212, 175, 55, 0.28);

  /* 字体栈（Google Fonts 加载失败时优雅回退） */
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* 布局 */
  --container: 1280px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --header-h: 76px;

  /* 动效曲线 — 天鹅绒般缓慢而有分量 */
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* 锚点定位时为固定导航留出空间 */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--noir);
  color: var(--ivory);
  font: 300 1rem/1.75 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(212, 175, 55, 0.28);
  color: var(--ivory);
}

/* ---------- 02 Typography & Utilities ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(5rem, 11vw, 9.5rem);
}

/* 奢侈品牌标志性小标签：全大写 + 宽字距 + 香槟金 */
.eyebrow {
  font: 500 0.72rem/1 var(--font-sans);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

/* eyebrow 前的金色短线 */
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold-soft);
}

.section-title {
  font: 400 clamp(2.3rem, 4.6vw, 3.7rem) / 1.12 var(--font-serif);
  letter-spacing: 0.01em;
  margin-top: 1.4rem;
}

.section-sub {
  color: var(--mist);
  max-width: 46ch;
  margin-top: 1.4rem;
}

.section-head {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* 按钮 — 实心金 / 描边幽灵两种 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.05rem 2.5rem;
  font: 500 0.7rem/1 var(--font-sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.5s var(--ease-lux),
              color 0.5s var(--ease-lux),
              border-color 0.5s var(--ease-lux);
}

.btn-solid {
  background: var(--gold);
  border-color: var(--gold);
  color: #121212;
}

.btn-solid:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  border-color: rgba(236, 232, 225, 0.32);
  color: var(--ivory);
}

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

/* 金色发丝线 hover 展开（用于文字链接） */
.line-grow {
  position: relative;
}

.line-grow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-lux);
}

.line-grow:hover::after {
  transform: scaleX(1);
}

/* 无障碍：屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.4rem;
  background: var(--gold);
  color: #121212;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- 03 Header & Drawer ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.5s var(--ease-lux);
}

/* 滚动超过 60px：背景加深 + 底部金色发丝线浮现（JS 控制 .is-scrolled） */
.site-header.is-scrolled {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

/* 金色字母组合 Logo 标记 */
.brand-mark {
  font: 500 1.35rem/1 var(--font-serif);
  color: var(--gold);
  letter-spacing: 0.06em;
}

.brand-amp {
  color: var(--gold-soft);
  font-size: 0.9rem;
  vertical-align: 0.18em;
}

.brand-name {
  font: 400 0.78rem/1 var(--font-sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory);
}

.nav-links {
  display: flex;
  gap: clamp(1.6rem, 3.4vw, 3rem);
}

.nav-link {
  font: 500 0.7rem/1 var(--font-sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(236, 232, 225, 0.82);
  padding-block: 0.4rem;
  transition: color 0.4s;
}

.nav-link:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.lang-btn {
  font: 500 0.68rem/1 var(--font-sans);
  letter-spacing: 0.22em;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(236, 232, 225, 0.25);
  color: var(--mist);
  transition: color 0.4s, border-color 0.4s;
}

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

.icon-btn {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  color: rgba(236, 232, 225, 0.82);
  transition: color 0.4s;
}

.icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

/* 汉堡按钮（移动端） */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 2.4rem;
  height: 2.4rem;
}

.burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.45s var(--ease-lux), opacity 0.3s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* 移动端全屏抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--abyss);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-lux), visibility 0.5s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.drawer-link {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  font: 400 clamp(2rem, 8vw, 3rem)/1.5 var(--font-serif);
  color: var(--ivory);
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.7s var(--ease-lux), opacity 0.7s var(--ease-lux), color 0.4s;
}

.drawer.is-open .drawer-link {
  transform: none;
  opacity: 1;
}

.drawer.is-open .drawer-link:nth-child(2) { transition-delay: 0.06s; }
.drawer.is-open .drawer-link:nth-child(3) { transition-delay: 0.12s; }
.drawer.is-open .drawer-link:nth-child(4) { transition-delay: 0.18s; }

.drawer-link:hover {
  color: var(--gold);
}

.drawer-num {
  font: 500 0.65rem/1 var(--font-sans);
  letter-spacing: 0.3em;
  color: var(--gold-soft);
}

.drawer-foot {
  margin-top: 3.5rem;
  font: 500 0.66rem/1 var(--font-sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 04 Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 压暗渐变：保证文字可读性，同时向页面底色过渡 */
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0.58) 0%,
    rgba(11, 11, 11, 0.30) 42%,
    rgba(18, 18, 18, 0.72) 82%,
    var(--noir) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-inline: var(--gutter);
  max-width: 62rem;
}

.hero-eyebrow {
  color: var(--gold);
  animation: riseIn 1s var(--ease-lux) 0.25s both;
}

/* Hero 主标题：入场动画 + 首行可以改为品牌 slogan */
.hero-title {
  font: 400 clamp(2.9rem, 7.2vw, 6rem)/1.06 var(--font-serif);
  letter-spacing: 0.015em;
  margin-top: 1.6rem;
  animation: riseIn 1.1s var(--ease-lux) 0.45s both;
}

.hero-sub {
  color: rgba(236, 232, 225, 0.78);
  max-width: 54ch;
  margin: 1.8rem auto 0;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  animation: riseIn 1.1s var(--ease-lux) 0.7s both;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.8rem;
  animation: riseIn 1.1s var(--ease-lux) 0.95s both;
}

/* 底部滚动提示：缓慢往复的竖线 */
.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  animation: riseIn 1s var(--ease-lux) 1.4s both;
}

.scroll-cue-label {
  font: 500 0.6rem/1 var(--font-sans);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--mist);
}

.scroll-cue-line {
  width: 1px;
  height: 3rem;
  background: rgba(236, 232, 225, 0.22);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: cueSlide 2.6s var(--ease-lux) infinite;
}

/* ---------- 05 Brand Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.story-text p {
  color: var(--mist);
  max-width: 58ch;
}

.story-text p + p {
  margin-top: 1.4rem;
}

.story-quote {
  margin-top: 2.6rem;
  padding-left: 1.6rem;
  border-left: 1px solid var(--hairline);
}

.story-quote p {
  font: italic 400 clamp(1.25rem, 2vw, 1.55rem)/1.5 var(--font-serif);
  color: var(--ivory);
}

.story-quote cite {
  display: block;
  margin-top: 1rem;
  font: 500 0.66rem/1 var(--font-sans);
  font-style: normal;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* 统计数字：金色衬线大字，发丝线分隔 */
.stats {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(1.8rem, 4vw, 3.4rem);
}

.stat {
  padding-left: clamp(1.8rem, 4vw, 3.4rem);
  border-left: 1px solid var(--hairline);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-num {
  font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--font-serif);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 0.7rem;
  font: 500 0.62rem/1.5 var(--font-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  max-width: 12ch;
}

/* 主图 + 错位叠加的细节小图 */
.story-media {
  position: relative;
}

.story-photo {
  overflow: hidden;
}

.story-photo img {
  width: 100%;
  height: auto;
  transition: transform 1.2s ease;
}

.story-photo:hover img {
  transform: scale(1.05);
}

.story-photo--detail {
  position: absolute;
  right: -1.5rem;
  bottom: -3rem;
  width: clamp(9rem, 22vw, 15rem);
  border: 1px solid var(--hairline);
  outline: 10px solid var(--noir);
}

.story-photo--detail:hover img {
  transform: scale(1.08);
}

/* ---------- 06 Collection ---------- */
.collection {
  background: var(--abyss);
  border-block: 1px solid rgba(212, 175, 55, 0.12);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
}

.product-card {
  background: transparent;
  transition: transform 0.6s var(--ease-lux);
}

/* 图片容器：4:5 比例预留，防止布局抖动（CLS） */
.product-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--panel);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

/* 悬停：图片极缓慢放大（天鹅绒呼吸感） */
.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-info {
  padding-top: 1.4rem;
  text-align: center;
}

.product-line {
  font: 500 0.62rem/1 var(--font-sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.product-name {
  margin-top: 0.7rem;
  font: 400 1.55rem/1.2 var(--font-serif);
  color: var(--ivory);
}

.product-meta {
  margin-top: 0.45rem;
  font: 300 0.8rem/1.5 var(--font-sans);
  color: var(--mist);
}

/* Discover 链接：hover 金线自左向右展开 */
.discover {
  display: inline-block;
  margin-top: 1.1rem;
  font: 500 0.64rem/1 var(--font-sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding-bottom: 0.5rem;
  transition: color 0.4s;
}

.discover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-lux);
}

.product-card:hover .discover {
  color: var(--gold);
}

.product-card:hover .discover::after {
  transform: scaleX(1);
}

.collection-note {
  margin-top: clamp(3rem, 5vw, 4rem);
  text-align: center;
  font: 300 0.82rem/1.6 var(--font-sans);
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 07 Atelier Banner ---------- */
.atelier-banner {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

/* 高度放大 120%，为桌面端视差位移预留空间 */
.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  top: -10%;
  object-fit: cover;
  will-change: transform;
}

.banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--noir) 0%,
    rgba(11, 11, 11, 0.55) 22%,
    rgba(11, 11, 11, 0.62) 78%,
    var(--abyss) 100%
  );
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  max-width: 56rem;
}

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

.banner-quote {
  font: 400 clamp(1.9rem, 4.4vw, 3.4rem)/1.25 var(--font-serif);
  margin-top: 1.8rem;
}

.banner-sub {
  color: rgba(236, 232, 225, 0.72);
  max-width: 52ch;
  margin: 1.8rem auto 0;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
}

.banner-content .btn {
  margin-top: 2.6rem;
}

/* ---------- 08 Footer ---------- */
.footer {
  background: var(--abyss);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(4rem, 8vw, 6.5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(2.8rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.brand-name--lg {
  font: 400 1.05rem/1.4 var(--font-sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory);
}

.footer-tagline {
  margin-top: 1.2rem;
  color: var(--mist);
  max-width: 40ch;
  font-size: 0.92rem;
}

.newsletter-title {
  font: 400 1.5rem/1.3 var(--font-serif);
  color: var(--ivory);
}

.newsletter-sub {
  margin-top: 0.9rem;
  color: var(--mist);
  font-size: 0.88rem;
  max-width: 46ch;
}

/* 订阅框：底部发丝线极简样式，聚焦时金线点亮 */
.newsletter-form {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  align-items: stretch;
  max-width: 30rem;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(236, 232, 225, 0.28);
  color: var(--ivory);
  font: 300 0.9rem/1 var(--font-sans);
  letter-spacing: 0.04em;
  padding: 0.9rem 0.2rem;
  transition: border-color 0.4s;
}

.newsletter-input::placeholder {
  color: rgba(154, 147, 138, 0.75);
}

.newsletter-input:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.newsletter-btn {
  font: 500 0.66rem/1 var(--font-sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.4s, border-color 0.4s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  color: var(--ivory);
  border-bottom-color: var(--gold);
}

/* 链接矩阵 */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: clamp(2.8rem, 5vw, 4rem);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-heading {
  font: 500 0.66rem/1 var(--font-sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}

.footer-col a,
.footer-col address {
  font: 300 0.88rem/1.6 var(--font-sans);
  color: var(--mist);
  font-style: normal;
  transition: color 0.4s;
  width: fit-content;
}

.footer-col a:hover {
  color: var(--gold);
}

/* 底部条：版权 + 社交 */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding-block: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.copyright {
  font: 300 0.78rem/1.6 var(--font-sans);
  color: rgba(154, 147, 138, 0.85);
  letter-spacing: 0.04em;
}

.social {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 232, 225, 0.16);
  color: var(--mist);
  transition: color 0.4s, border-color 0.4s;
}

.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--hairline);
}

/* ---------- 09 Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2.4rem;
  transform: translate(-50%, 16px);
  z-index: 150;
  background: var(--panel);
  border: 1px solid var(--hairline);
  color: var(--ivory);
  font: 300 0.82rem/1.5 var(--font-sans);
  letter-spacing: 0.06em;
  padding: 0.95rem 1.8rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-lux), transform 0.5s var(--ease-lux), visibility 0.5s;
  max-width: min(90vw, 26rem);
  text-align: center;
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 10 Animations ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cueSlide {
  0% {
    top: -100%;
  }
  55%,
  100% {
    top: 100%;
  }
}

/* 滚动淡入：JS IntersectionObserver 添加 .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
  transition-delay: var(--d, 0s);
}

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

/* ---------- 11 Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem 1.4rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .lang-btn {
    display: none;
  }

  .burger {
    display: flex;
  }

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

  .story-media {
    order: -1;
    margin-bottom: 2.5rem;
  }

  .story-photo--detail {
    right: 0;
    bottom: -2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .atelier-banner {
    min-height: 72vh;
  }
}

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

  .product-card {
    max-width: 26rem;
    margin-inline: auto;
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .stat {
    padding-left: 1.6rem;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .story-photo--detail {
    display: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* ---------- 12 Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
