/* ==========================================================================
   Krynex.store — Digital Gallery Store
   Pure CSS3 · Mobile-first · Production-ready
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg-stone: #FAF8F5;
  --bg-sand: #F3EEE8;
  --primary: #234E52;
  --secondary: #D97706;
  --accent: #B45309;
  --highlight: #0F766E;
  --decorative: #C084FC;
  --text: #1C1917;
  --text-muted: #6B7280;
  --card: #FFFFFF;
  --border: rgba(35, 78, 82, 0.10);

  --font-display: "Fraunces", Georgia, serif;
  --font-editorial: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 40px rgba(28, 25, 23, 0.06);
  --shadow-warm: 0 18px 48px rgba(180, 83, 9, 0.12);
  --shadow-lift: 0 24px 56px rgba(35, 78, 82, 0.14);

  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-stone);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--card);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn--primary {
  background: var(--primary);
  color: var(--card);
  border-color: var(--primary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--highlight);
  border-color: var(--highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(35, 78, 82, 0.35);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(180, 83, 9, 0.04);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  position: relative;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

.btn--ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.55rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.btn--ghost:hover::after,
.btn--ghost:focus-visible::after {
  transform: scaleX(1);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Floating Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-sm) 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: var(--nav-h);
  padding: 0.65rem 1.15rem;
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
  flex-shrink: 0;
}

.nav__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0.25rem;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle:checked + .nav__burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle:checked + .nav__burger span:nth-child(2) {
  opacity: 0;
}

.nav__toggle:checked + .nav__burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__links {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.nav__toggle:checked ~ .nav__links {
  display: flex;
}

.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--primary);
  background: rgba(35, 78, 82, 0.05);
}

.nav__cta {
  display: none;
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
}

@media (min-width: 900px) {
  .site-header {
    padding: var(--space-md) var(--space-lg) 0;
  }

  .nav {
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  }

  .nav__burger {
    display: none;
  }

  .nav__links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav__links a {
    padding: 0.5rem 0.85rem;
  }

  .nav__cta {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   Section primitives
   -------------------------------------------------------------------------- */
.section {
  padding: var(--space-2xl) var(--space-md);
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-3xl) var(--space-xl);
  }
}

.section__intro {
  max-width: 36rem;
  margin-bottom: var(--space-xl);
}

.section__intro--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section__lead {
  font-family: var(--font-editorial);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   1. Hero — Cinematic Welcome
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) var(--space-md) var(--space-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(15, 118, 110, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(180, 83, 9, 0.07), transparent 50%),
    linear-gradient(165deg, var(--bg-stone) 0%, var(--bg-sand) 55%, #EDE6DC 100%);
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Layered paper-cut shapes */
.hero__paper {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  animation: paperFloat 12s ease-in-out infinite;
}

.hero__paper--1 {
  width: min(42vw, 380px);
  height: min(55vw, 480px);
  top: 12%;
  right: 6%;
  border-radius: 2px 2px 80px 2px;
  background: linear-gradient(160deg, #FFFFFF 0%, #F3EEE8 100%);
  animation-delay: 0s;
}

.hero__paper--2 {
  width: min(28vw, 240px);
  height: min(36vw, 300px);
  bottom: 10%;
  left: 4%;
  border-radius: 120px 2px 2px 2px;
  background: linear-gradient(200deg, rgba(35, 78, 82, 0.06), #FFFFFF);
  animation-delay: -4s;
  animation-duration: 14s;
}

.hero__paper--3 {
  width: min(18vw, 160px);
  height: min(22vw, 200px);
  top: 28%;
  left: 18%;
  border-radius: 2px;
  opacity: 0.7;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.12), transparent 60%), var(--bg-sand);
  animation-delay: -7s;
  animation-duration: 16s;
}

/* Architectural arch */
.hero__arch {
  position: absolute;
  width: min(36vw, 320px);
  height: min(48vw, 420px);
  right: 14%;
  bottom: 8%;
  border: 1.5px solid rgba(35, 78, 82, 0.18);
  border-bottom: none;
  border-radius: 180px 180px 0 0;
  opacity: 0.65;
}

.hero__arch::before {
  content: "";
  position: absolute;
  inset: 18px 18px 0;
  border: 1px solid rgba(180, 83, 9, 0.25);
  border-bottom: none;
  border-radius: 160px 160px 0 0;
}

/* Framed product placeholders */
.hero__frame {
  position: absolute;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero__frame--a {
  width: min(22vw, 200px);
  height: min(28vw, 260px);
  right: 18%;
  top: 22%;
  transform: rotate(3deg);
  animation: frameDrift 10s ease-in-out infinite;
}

.hero__frame--b {
  width: min(16vw, 140px);
  height: min(20vw, 180px);
  right: 8%;
  bottom: 22%;
  transform: rotate(-4deg);
  animation: frameDrift 12s ease-in-out infinite reverse;
}

.hero__placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(145deg, rgba(35, 78, 82, 0.45), rgba(15, 118, 110, 0.55)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.04) 8px,
      rgba(255, 255, 255, 0.04) 16px
    );
}

.hero__placeholder--alt {
  background:
    linear-gradient(160deg, rgba(180, 83, 9, 0.35), rgba(35, 78, 82, 0.5)),
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.2), transparent 55%);
}

.hero__glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 520px;
  max-height: 520px;
  right: 5%;
  top: 15%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12), transparent 70%);
  filter: blur(20px);
  animation: glowPulse 8s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  width: 100%;
  margin-right: auto;
  animation: fadeRise 1.1s var(--ease) both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: var(--space-md);
  max-width: 18ch;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 34ch;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@media (max-width: 767px) {
  .hero__frame,
  .hero__arch,
  .hero__paper--3 {
    opacity: 0.35;
  }

  .hero__paper--1 {
    right: -8%;
    top: 8%;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }

  .hero__content {
    margin-left: 4%;
  }
}

/* --------------------------------------------------------------------------
   2. Featured Collection Wall
   -------------------------------------------------------------------------- */
.collection-wall {
  background: var(--bg-sand);
}

.wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  max-width: var(--max);
  margin: 0 auto;
}

.wall__panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
}

.wall__image {
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease);
}

.wall__panel:hover .wall__image,
.wall__panel:focus-within .wall__image {
  transform: scale(1.08);
}

.wall__image--essentials {
  background:
    linear-gradient(160deg, rgba(28, 25, 23, 0.15), rgba(35, 78, 82, 0.45)),
    linear-gradient(45deg, #D6D0C8, #8A9A96);
}

.wall__image--living {
  background:
    linear-gradient(180deg, rgba(28, 25, 23, 0.1), rgba(28, 25, 23, 0.5)),
    linear-gradient(120deg, #E8D5C4, #A67C52);
}

.wall__image--workspace {
  background:
    linear-gradient(200deg, rgba(35, 78, 82, 0.3), rgba(28, 25, 23, 0.55)),
    linear-gradient(90deg, #C5C9C7, #4A5C5E);
}

.wall__image--fashion {
  background:
    linear-gradient(160deg, rgba(180, 83, 9, 0.2), rgba(28, 25, 23, 0.55)),
    linear-gradient(30deg, #EDE0D4, #8B6B5A);
}

.wall__image--tech {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.25), rgba(28, 25, 23, 0.6)),
    linear-gradient(135deg, #B8C4C2, #2C3E40);
}

.wall__image--exclusive {
  background:
    linear-gradient(160deg, rgba(180, 83, 9, 0.35), rgba(35, 78, 82, 0.65)),
    linear-gradient(60deg, #D4A574, #3D2B1F);
}

.wall__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-md);
  color: var(--card);
  background: linear-gradient(to top, rgba(28, 25, 23, 0.75), transparent);
  transform: translateY(28%);
  transition: transform 0.55s var(--ease);
}

.wall__panel:hover .wall__caption,
.wall__panel:focus-within .wall__caption {
  transform: translateY(0);
}

.wall__index {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

.wall__caption h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.wall__caption p {
  font-size: 0.9rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s var(--ease) 0.05s, max-height 0.4s var(--ease);
}

.wall__panel:hover .wall__caption p,
.wall__panel:focus-within .wall__caption p {
  opacity: 0.9;
  max-height: 4rem;
}

@media (min-width: 640px) {
  .wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .wall__panel {
    min-height: 340px;
  }
}

@media (min-width: 1024px) {
  .wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .wall__panel {
    min-height: 420px;
    border: none;
  }

  .wall__panel:nth-child(1),
  .wall__panel:nth-child(6) {
    min-height: 480px;
  }
}

/* --------------------------------------------------------------------------
   3. Curated Product Exhibition
   -------------------------------------------------------------------------- */
.exhibition {
  background: var(--bg-stone);
}

.showcase {
  display: grid;
  gap: var(--space-lg);
  max-width: var(--max);
  margin: 0 auto var(--space-2xl);
  align-items: center;
}

.showcase:last-child {
  margin-bottom: 0;
}

.showcase__media {
  position: relative;
}

.showcase__frame {
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.showcase__frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(180, 83, 9, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.showcase:hover .showcase__frame::before {
  opacity: 1;
}

.showcase__image {
  aspect-ratio: 4 / 5;
  width: 100%;
  transition: transform 0.7s var(--ease);
}

.showcase:hover .showcase__image {
  transform: scale(1.03);
}

.showcase__image--1 {
  background:
    linear-gradient(165deg, rgba(35, 78, 82, 0.15), rgba(28, 25, 23, 0.25)),
    radial-gradient(ellipse at 50% 70%, #C4B5A5, #6B5B4F 70%);
}

.showcase__image--2 {
  background:
    linear-gradient(200deg, rgba(217, 119, 6, 0.15), rgba(35, 78, 82, 0.3)),
    linear-gradient(135deg, #E8E4DC, #8B7355 40%, #2A3F42);
}

.showcase__image--3 {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.2), rgba(28, 25, 23, 0.35)),
    linear-gradient(45deg, #D9CFC3, #5C6B68);
}

.showcase__story {
  padding: var(--space-sm) 0;
}

.showcase__collection {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: var(--space-sm);
}

.showcase__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.showcase__text {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  max-width: 38ch;
}

.showcase__meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.showcase__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
}

.showcase__rating {
  font-size: 0.85rem;
  color: var(--secondary);
  letter-spacing: 0.08em;
}

.showcase__rating em {
  font-style: normal;
  font-family: var(--font-ui);
  color: var(--text-muted);
  letter-spacing: 0;
  margin-left: 0.35rem;
}

@media (min-width: 900px) {
  .showcase {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
  }

  .showcase--reverse .showcase__media {
    order: 2;
  }

  .showcase--reverse .showcase__story {
    order: 1;
    text-align: right;
    margin-left: auto;
  }

  .showcase--reverse .showcase__text {
    margin-left: auto;
  }

  .showcase--reverse .showcase__meta {
    justify-content: flex-end;
  }
}

/* --------------------------------------------------------------------------
   4. Designer's Choice
   -------------------------------------------------------------------------- */
.designers {
  background:
    linear-gradient(180deg, var(--bg-sand) 0%, var(--bg-stone) 100%);
}

.designers__grid {
  display: grid;
  gap: var(--space-lg);
  max-width: var(--max);
  margin: 0 auto;
}

.choice-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  animation: floatCard 7s ease-in-out infinite;
}

.choice-card:nth-child(2) {
  animation-delay: -2.5s;
}

.choice-card:nth-child(3) {
  animation-delay: -5s;
}

.choice-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lift);
  animation-play-state: paused;
}

.choice-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card);
  background: var(--accent);
  border-radius: var(--radius-sm);
}

.choice-card--featured .choice-card__badge {
  background: var(--primary);
}

.choice-card__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(180, 83, 9, 0.25);
  padding: 4px;
  margin-bottom: var(--space-md);
}

.choice-card__image {
  aspect-ratio: 3 / 4;
  transition: transform 0.6s var(--ease);
}

.choice-card:hover .choice-card__image {
  transform: scale(1.05);
}

.choice-card__image--1 {
  background:
    linear-gradient(160deg, rgba(28, 25, 23, 0.2), rgba(35, 78, 82, 0.4)),
    linear-gradient(30deg, #A89888, #3D3330);
}

.choice-card__image--2 {
  background:
    linear-gradient(180deg, rgba(180, 83, 9, 0.25), rgba(28, 25, 23, 0.5)),
    radial-gradient(circle at 50% 40%, #D4A574, #2C2420 70%);
}

.choice-card__image--3 {
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.2), rgba(28, 25, 23, 0.4)),
    linear-gradient(90deg, #EDE6DC, #7A6B5C);
}

.choice-card__quick {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(250, 248, 245, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: default;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.choice-card:hover .choice-card__quick {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.choice-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.choice-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.choice-card__price {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  color: var(--accent);
}

@media (min-width: 768px) {
  .designers__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: var(--space-md);
  }

  .choice-card--featured {
    transform: translateY(-1.5rem);
  }

  .choice-card--featured:hover {
    transform: translateY(calc(-1.5rem - 10px));
  }
}

/* --------------------------------------------------------------------------
   5. Collection Timeline
   -------------------------------------------------------------------------- */
.timeline-section {
  background: var(--bg-sand);
  overflow: hidden;
}

.timeline {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.timeline__path {
  display: none;
}

.timeline__node {
  position: relative;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(35, 78, 82, 0.2);
  padding-bottom: var(--space-sm);
}

.timeline__dot {
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.12);
  animation: dotPulse 3s ease-in-out infinite;
}

.timeline__node:nth-of-type(2) .timeline__dot { animation-delay: 0.4s; }
.timeline__node:nth-of-type(3) .timeline__dot { animation-delay: 0.8s; }
.timeline__node:nth-of-type(4) .timeline__dot { animation-delay: 1.2s; }

.timeline__node h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.timeline__node p {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .timeline__path {
    display: block;
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: visible;
  }

  .timeline__curve {
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
    opacity: 0.35;
    animation: pathDraw 8s linear infinite;
  }

  .timeline__node {
    border-left: none;
    padding-left: 0;
    text-align: center;
    padding-top: 2.5rem;
  }

  .timeline__dot {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .timeline__node:nth-of-type(odd) {
    padding-top: 0.5rem;
  }

  .timeline__node:nth-of-type(even) {
    padding-top: 4rem;
  }
}

/* --------------------------------------------------------------------------
   6. Customer Stories
   -------------------------------------------------------------------------- */
.stories {
  background: var(--bg-stone);
}

.stories__grid {
  display: grid;
  gap: var(--space-md);
  max-width: var(--max);
  margin: 0 auto;
}

.story-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-warm);
}

.story-card__portrait {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  border: 2px solid rgba(180, 83, 9, 0.35);
  box-shadow: 0 0 0 6px rgba(180, 83, 9, 0.06);
}

.story-card__portrait--1 {
  background: linear-gradient(135deg, #C4A484, #5C4A3A);
}

.story-card__portrait--2 {
  background: linear-gradient(135deg, #7A8B88, #2C3E40);
}

.story-card__portrait--3 {
  background: linear-gradient(135deg, #D4B5A0, #6B4E3D);
}

.story-card__stars {
  color: var(--secondary);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.story-card__quote {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.story-card__name {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.story-card__collection {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

@media (min-width: 768px) {
  .stories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   7. Limited Edition Showcase
   -------------------------------------------------------------------------- */
.limited {
  background: var(--bg-sand);
}

.limited__panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.limited__panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(35, 78, 82, 0.12);
  pointer-events: none;
}

.limited__visual {
  position: relative;
  z-index: 1;
}

.limited__frame {
  padding: 1rem;
  border: 1px solid rgba(180, 83, 9, 0.3);
}

.limited__image {
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(160deg, rgba(28, 25, 23, 0.35), rgba(35, 78, 82, 0.55)),
    radial-gradient(ellipse at 50% 45%, #9A8B7A, #1A1A1A 75%);
  position: relative;
  overflow: hidden;
}

.limited__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 50%
  );
  animation: copperShimmer 5s ease-in-out infinite;
}

.limited__stamp {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--card);
  background: rgba(35, 78, 82, 0.85);
  padding: 0.5rem 0.85rem;
}

.limited__copy {
  position: relative;
  z-index: 1;
}

.limited__text {
  color: var(--text-muted);
  margin: var(--space-md) 0;
  max-width: 42ch;
}

.limited__specs {
  margin-bottom: var(--space-lg);
}

.limited__specs li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.limited__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

@media (min-width: 900px) {
  .limited__panel {
    grid-template-columns: 1.15fr 0.85fr;
    padding: var(--space-xl);
    gap: var(--space-2xl);
  }
}

/* --------------------------------------------------------------------------
   8. Membership Benefits
   -------------------------------------------------------------------------- */
.membership {
  background: var(--bg-stone);
}

.benefits {
  display: grid;
  gap: var(--space-md);
  max-width: var(--max);
  margin: 0 auto;
}

.benefit {
  background: var(--card);
  border: 1px solid var(--border);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.benefit:hover {
  border-color: rgba(180, 83, 9, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.benefit__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(35, 78, 82, 0.15);
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.06), transparent);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.benefit__icon svg {
  width: 40px;
  height: 40px;
}

.benefit:hover .benefit__icon {
  color: var(--accent);
  border-color: rgba(180, 83, 9, 0.35);
}

.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.benefit p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 26ch;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   9. Premium Checkout Invitation
   -------------------------------------------------------------------------- */
.invite {
  position: relative;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  overflow: hidden;
  background: var(--primary);
  color: var(--card);
  text-align: center;
}

.invite__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.invite__geo {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.invite__glow {
  position: absolute;
  width: 60%;
  height: 60%;
  left: 20%;
  top: 20%;
  background: radial-gradient(circle, rgba(180, 83, 9, 0.35), transparent 65%);
  filter: blur(30px);
}

.invite__paper {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  animation: paperFloat 14s ease-in-out infinite;
}

.invite__paper--1 {
  width: 180px;
  height: 240px;
  top: 10%;
  left: 8%;
  border-radius: 2px 2px 60px 2px;
}

.invite__paper--2 {
  width: 140px;
  height: 180px;
  bottom: 12%;
  right: 10%;
  border-radius: 80px 2px 2px 2px;
  animation-delay: -5s;
}

.invite__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.invite__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.invite__text {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  opacity: 0.85;
  margin-bottom: var(--space-lg);
}

.invite .btn--primary {
  background: var(--card);
  color: var(--primary);
  border-color: var(--card);
}

.invite .btn--primary:hover,
.invite .btn--primary:focus-visible {
  background: transparent;
  color: var(--card);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.4);
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #1A2E30;
  color: rgba(250, 248, 245, 0.85);
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
}

.footer__grid {
  display: grid;
  gap: var(--space-xl);
  max-width: var(--max);
  margin: 0 auto var(--space-xl);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--card);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer__about {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.75;
  max-width: 32ch;
  margin-bottom: var(--space-md);
}

.footer__col h3 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.55);
  margin-bottom: var(--space-md);
}

.footer__col ul li {
  margin-bottom: 0.65rem;
}

.footer__col a {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.footer__col a:hover,
.footer__col a:focus-visible {
  opacity: 1;
  color: #F6C177;
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 22rem;
}

.newsletter input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: var(--card);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.newsletter input::placeholder {
  color: rgba(250, 248, 245, 0.45);
}

.newsletter input:focus {
  border-color: rgba(217, 119, 6, 0.6);
}

.newsletter .btn {
  flex-shrink: 0;
}

.newsletter .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--card);
}

.newsletter .btn--primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.footer__policies a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  opacity: 0.6;
  transition: opacity 0.25s var(--ease);
}

.footer__policies a:hover {
  opacity: 1;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  display: flex;
  opacity: 0.65;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.footer__social a:hover {
  opacity: 1;
  color: #F6C177;
}

.footer__copy {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .footer {
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes paperFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes frameDrift {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-10px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

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

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.12); }
  50% { box-shadow: 0 0 0 8px rgba(180, 83, 9, 0.06); }
}

@keyframes pathDraw {
  to { stroke-dashoffset: -28; }
}

@keyframes copperShimmer {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* Respect 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;
  }
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav__links a:focus-visible {
  outline-offset: 2px;
}
