/* ============================================================
   ANITRA — Crown Editorial
   styles.css
   ============================================================ */

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

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

body {
  background-color: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

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

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

/* 2. Design Tokens
   ----------------------------------------------------------- */
:root {
  --void:        #0d0d0d;
  --surface:     #161616;
  --elevated:    #1a1a1a;
  --gold:        #c9a060;
  --gold-light:  #e8c98a;
  --gold-dark:   #a07840;
  --crimson:     #8b1a1a;

  --white:    #ffffff;
  --white-80: rgba(255, 255, 255, 0.80);
  --white-65: rgba(255, 255, 255, 0.65);
  --white-40: rgba(255, 255, 255, 0.40);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-10: rgba(255, 255, 255, 0.10);

  --gold-border:  rgba(201, 160, 96, 0.15);
  --gold-border2: rgba(201, 160, 96, 0.25);
  --gold-glow:    rgba(201, 160, 96, 0.12);
  --gold-dim:     rgba(201, 160, 96, 0.80);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;

  --content:     min(1180px, calc(100vw - 3rem));
  --shadow:      0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.3);

  --announce-h: 36px;
  --nav-h:      72px;
}

/* 3. Layout
   ----------------------------------------------------------- */
.content {
  width: var(--content);
  margin: 0 auto;
}

/* 4. Announcement Bar
   ----------------------------------------------------------- */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announce-h);
  background: var(--void);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  z-index: 1100;
  display: flex;
  align-items: center;
}

.announce-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: inline-block;
  padding-right: 48px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track { animation-play-state: paused; }
}

/* 5. Navigation
   ----------------------------------------------------------- */
.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--void);
  border-bottom: 1px solid var(--gold-border);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--gold-border2);
}

.header-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
  transition: opacity 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  flex-shrink: 0;
  display: block;
  color: var(--gold);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.05));
}

.brand-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(145deg, #1a1710 0%, #12100b 65%, #0d0d0d 100%);
  border-radius: 14px;
  border: 1px solid rgba(201, 160, 96, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 28px rgba(0,0,0,0.34);
  flex-shrink: 0;
}

.brand-icon-wrap--sm {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.brand-wordmark {
  background: linear-gradient(90deg, #b8903e 0%, #e8c97a 40%, #f5dea0 55%, #e0b855 75%, #b8903e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(201, 160, 96, 0.08);
}

.brand-mark:hover { opacity: 0.75; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-65);
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.hamburger:hover { opacity: 0.7; }

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: calc(var(--announce-h) + var(--nav-h));
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 1.5rem 32px;
  transform: translateY(-110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  border-bottom: 1px solid var(--gold-border);
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-65);
  padding: 16px 0;
  border-bottom: 1px solid var(--white-10);
  transition: color 0.2s ease;
}

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

.mobile-nav-cta {
  color: var(--gold) !important;
  border-bottom: none !important;
  margin-top: 8px;
}

/* 6. Buttons
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  height: 52px;
  padding: 0 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background 0.25s ease, color 0.25s ease,
              transform 0.2s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: #0d0d0d;
  border-color: var(--gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201, 160, 96, 0.28);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline-gold:hover,
.btn--outline-gold:focus-visible {
  background: var(--gold);
  color: #0d0d0d;
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

.header-cta {
  height: 40px;
  padding: 0 20px;
  font-size: 11px;
}

/* 7. Type Utilities
   ----------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 0.93;
  color: var(--white);
  margin-bottom: 24px;
}

.section-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--white-65);
}

.gold-period { color: var(--gold); }
.gold-text   { color: var(--gold); }

/* 8. Scroll Reveal
   ----------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 9. Hero
   ----------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: var(--void);
  padding-top: calc(var(--announce-h) + var(--nav-h));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: calc(100vh - var(--announce-h) - var(--nav-h));
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 56px 80px max(1.5rem, calc((100vw - 1180px) / 2));
  animation: hero-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 124px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.78;
  color: var(--white-65);
  max-width: 400px;
  margin-bottom: 28px;
}

.hero-right {
  position: relative;
  animation: hero-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #6b0f0f 0%, #8b1a1a 50%, #3d0808 100%);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-img--active {
  opacity: 1;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    #0d0d0d 0%,
    rgba(13, 13, 13, 0.92) 15%,
    rgba(13, 13, 13, 0.55) 36%,
    rgba(13, 13, 13, 0.12) 58%,
    transparent 78%
  );
  pointer-events: none;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-left, .hero-right { animation: none; }
}

/* 10. Process
   ----------------------------------------------------------- */
.process {
  background: #111111;
  padding: 120px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.process-left {
  position: sticky;
  top: calc(var(--announce-h) + var(--nav-h) + 40px);
}

.process-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps-line {
  position: absolute;
  left: 38px;
  top: 64px;
  bottom: 64px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(201, 160, 96, 0.22) 12%,
    rgba(201, 160, 96, 0.22) 88%,
    transparent 100%
  );
  z-index: 0;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(201, 160, 96, 0.12);
  border-radius: 16px;
  padding: 32px 32px 32px 90px;
  z-index: 1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  border-color: rgba(201, 160, 96, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.step-num {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  color: rgba(201, 160, 96, 0.10);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.step-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.step-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.72;
  color: var(--white-65);
}

/* 11. Gallery — Carousel
   ----------------------------------------------------------- */
.gallery {
  background: var(--void);
  padding: 120px 0 0;
}

.gallery-header { margin-bottom: 44px; }

.gallery-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white-40);
  margin-top: 20px;
  max-width: 34rem;
  line-height: 1.72;
}

/* Tabs */
.gallery-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0;
}

.gallery-tabs::-webkit-scrollbar { display: none; }

.gallery-tab {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-25);
  padding: 14px 20px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.gallery-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tab.active       { color: var(--gold); }
.gallery-tab.active::after { transform: scaleX(1); }
.gallery-tab:hover:not(.active) { color: var(--white-65); }

/* Carousel wrapper — outside .content so stage bleeds full-width */
.carousel-wrapper {
  position: relative;
  margin-top: 48px;
  padding-bottom: 120px;
}

/* Stage — masked edges for depth */
.gallery-stage {
  position: relative;
  height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 11%,
    #000 89%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 11%,
    #000 89%,
    transparent 100%
  );
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* CSS custom prop for slide width — overridden at breakpoints */
:root { --slide-w: 400px; }

.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--slide-w);
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  transform: translateX(-50%);
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.55s ease,
    filter    0.55s ease;
  will-change: transform, opacity, filter;
  cursor: pointer;
}

.carousel-slide.is-active { cursor: zoom-in; }

.carousel-slide:not(.is-active) .slide-info,
.carousel-slide:not(.is-active) .slide-pips {
  opacity: 0.56;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Color fallback backgrounds per slide */
}

.carousel-slide[data-index="0"] { background: linear-gradient(150deg, #5a0808 0%, #8b1a1a 100%); }
.carousel-slide[data-index="1"] { background: linear-gradient(150deg, #0a2a18 0%, #1a4a2e 100%); }
.carousel-slide[data-index="2"] { background: linear-gradient(150deg, #420808 0%, #6b1414 100%); }
.carousel-slide[data-index="3"] { background: linear-gradient(150deg, #080808 0%, #1c1c1c 100%); }
.carousel-slide[data-index="4"] { background: linear-gradient(150deg, #0a0a0a 0%, #242424 100%); }

/* Pip progress indicators inside each card */
.slide-pips {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}

.slide-pip {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.slide-pip.active {
  background: rgba(255, 255, 255, 0.9);
}

/* Slide label at bottom */
.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 52px 22px 22px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.5) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}

.slide-tag {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.slide-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

/* Prev / Next buttons — live outside the masked stage */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 60px)); /* align with center of slide */
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 160, 96, 0.3);
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.carousel-btn:hover {
  background: rgba(201, 160, 96, 0.15);
  border-color: var(--gold);
  transform: translateY(calc(-50% - 60px)) scale(1.1);
}

.carousel-prev { left: calc(50% - var(--slide-w) / 2 - 60px); }
.carousel-next { right: calc(50% - var(--slide-w) / 2 - 60px); }

/* 11b. Archive Selects
   ----------------------------------------------------------- */
.gallery-archive-section {
  background: var(--void);
  padding: 0 0 120px;
}

.gallery-archive {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 48px;
  align-items: start;
}

.gallery-archive-copy {
  max-width: 300px;
  padding-top: 8px;
}

.gallery-archive-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 0.96;
  color: var(--white);
  margin-bottom: 18px;
}

.gallery-archive-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.78;
  color: var(--white-65);
}

.gallery-archive-btn {
  margin-top: 24px;
}

.gallery-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.archive-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  border: 1px solid rgba(201, 160, 96, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.archive-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.archive-card[hidden] {
  display: none !important;
}

.archive-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.15) 75%, transparent 100%);
  pointer-events: none;
}

.archive-card-meta,
.archive-card-title {
  position: absolute;
  left: 16px;
  z-index: 2;
}

.archive-card-meta {
  bottom: 42px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.archive-card-title {
  bottom: 16px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
}

.archive-card:hover,
.archive-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 160, 96, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.archive-card:hover img,
.archive-card:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

/* 12. Testimonials
   ----------------------------------------------------------- */
.testimonials {
  background: #111111;
  padding: 120px 0;
}

.testimonials-header { margin-bottom: 64px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 48px;
  align-items: start;
}

.testimonial-main {
  position: relative;
  padding-top: 32px;
}

.testimonial-quote-mark {
  position: absolute;
  top: -52px;
  left: -16px;
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 900;
  color: rgba(201, 160, 96, 0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.18;
  color: var(--white);
  max-width: 560px;
  margin-bottom: 28px;
}

.testimonial-attr {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.testimonials-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
}

.testimonial-card {
  background: var(--elevated);
  border: 1px solid rgba(201, 160, 96, 0.10);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover { border-color: rgba(201, 160, 96, 0.22); }

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--white-80);
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* 13. Order / Request Form
   ----------------------------------------------------------- */
.order {
  background: var(--void);
  background-image: radial-gradient(ellipse 60% 50% at 25% 50%, rgba(201, 160, 96, 0.04) 0%, transparent 70%);
  padding: 120px 0;
}

.order-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 80px;
  align-items: start;
}

.order-left {
  position: sticky;
  top: calc(var(--announce-h) + var(--nav-h) + 40px);
}

.order-heading {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.order-left .section-body { max-width: 340px; }

.form-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 44px;
}

.form-row { margin-bottom: 20px; }

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

.field-group { display: flex; flex-direction: column; }

.field-group label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.req { color: var(--crimson); }

.optional {
  color: var(--white-40);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 400;
}

.field-group input,
.field-group select,
.field-group textarea {
  background: var(--void);
  border: 1px solid var(--white-10);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a060' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--white-25); }

.field-group select option {
  background: var(--surface);
  color: var(--white);
}

.field-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.65) sepia(0.5) hue-rotate(345deg) saturate(1.2);
  cursor: pointer;
  opacity: 0.7;
}

.field-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-success[hidden],
.form-error-msg[hidden] {
  display: none;
}

.form-success {
  text-align: center;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success-icon {
  margin-bottom: 8px;
  opacity: 0.9;
}

.form-success-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin: 0;
}

.form-success p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--white-65);
  max-width: 360px;
  margin: 0;
}

.form-error-msg {
  margin-top: 16px;
  text-align: center;
}

.form-error-msg p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--crimson);
  line-height: 1.65;
}

/* 14a. CTA Banner
   ----------------------------------------------------------- */
.cta-banner {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.75) contrast(1.05);
  transition: transform 8s ease;
}

.cta-banner:hover .cta-banner-img {
  transform: scale(1.04);
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(13, 13, 13, 0.55) 0%,
    rgba(13, 13, 13, 0.80) 60%,
    rgba(13, 13, 13, 0.92) 100%
  );
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner-eyebrow {
  margin-bottom: 16px;
}

.cta-banner-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}

.cta-banner-sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--white-65);
  max-width: 420px;
  margin: 0 auto 40px;
}

@media (max-width: 820px) {
  .cta-banner { height: 480px; }
  .cta-banner-overlay {
    background: linear-gradient(
      to bottom,
      rgba(13, 13, 13, 0.75) 0%,
      rgba(13, 13, 13, 0.85) 100%
    );
  }
}

@media (max-width: 640px) {
  .cta-banner { height: 420px; }
  .cta-banner-headline { font-size: clamp(44px, 12vw, 72px); }
}

/* 14. Standard Hats — Shop
   ----------------------------------------------------------- */
.shop {
  background: #111111;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.shop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 160, 96, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.shop-inner { position: relative; z-index: 1; }

/* Product layout */
.shop-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Images */
.shop-images { display: flex; flex-direction: column; gap: 12px; }

.shop-img-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}

.shop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.shop-img--active { opacity: 1; }

.shop-img-thumbs { display: flex; gap: 10px; }

.shop-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.shop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.shop-thumb--active { border-color: var(--gold); }
.shop-thumb:hover { border-color: rgba(201,160,96,0.5); }

/* Details */
.shop-details { display: flex; flex-direction: column; gap: 0; }

.shop-heading {
  font-size: clamp(42px, 5vw, 72px);
  margin: 8px 0 16px;
}

.shop-price {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white-65);
  margin: 0 0 20px;
}

.shop-price strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.shop-body {
  margin: 0 0 32px;
}

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

.paypal-subscribe-form {
  width: min(100%, 440px);
}

.paypal-subscribe-label {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.paypal-subscribe-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.paypal-subscribe-row select {
  min-width: min(100%, 244px);
  height: 52px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--gold-border2);
  border-radius: 4px;
  background:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%) calc(100% - 18px) 22px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--gold) 50%, transparent 50%) calc(100% - 13px) 22px / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  appearance: none;
}

.paypal-subscribe-row select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.paypal-subscribe-button {
  width: auto;
  max-width: 170px;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.paypal-subscribe-button:hover,
.paypal-subscribe-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.shop-buy-btn {
  background: var(--gold);
  color: #0d0d0d;
  border-color: var(--gold);
}

.shop-buy-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* 14b. Subscription
   ----------------------------------------------------------- */
.subscription {
  background: #0d0d0d;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.subscription::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 72% 60% at 12% 0%, rgba(139, 26, 26, 0.12) 0%, transparent 58%);
  pointer-events: none;
}

.subscription-product {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.subscription-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.subscription-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subscription-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.subscription-heading {
  font-size: clamp(42px, 5vw, 72px);
  margin: 8px 0 16px;
}

/* 15. Founder / About
   ----------------------------------------------------------- */
.founder {
  background: #111111;
  padding: 0;
  overflow: hidden;
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.founder-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 72px 100px max(2rem, calc((100vw - 1180px) / 2 + 2rem));
}

.founder-copy .eyebrow { margin-bottom: 16px; }

.founder-copy .section-heading { margin-bottom: 28px; }

.founder-body2 {
  margin-top: 18px;
  margin-bottom: 40px;
}

.founder-cta { align-self: flex-start; }

.founder-photo-wrap {
  position: relative;
  background: linear-gradient(135deg, #1a1510 0%, #0d0d0d 50%, #111108 100%);
}

.founder-photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.04) brightness(0.96);
}

.founder-photo-wrap:hover .founder-img { transform: scale(1.03); }

.founder-photo-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #111111 0%,
    rgba(17,17,17,0.08) 18%,
    transparent 40%
  );
  pointer-events: none;
  z-index: 1;
}

/* 15b. FAQ
   ----------------------------------------------------------- */
.faq {
  background: var(--void);
  padding: 100px 0;
  border-top: 1px solid rgba(201, 160, 96, 0.08);
}

.faq-intro {
  margin-bottom: 56px;
}

.faq-intro .section-heading {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}

.faq-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.faq-list {
  min-width: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--gold); }

.faq-q[aria-expanded="true"] { color: var(--gold); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-a {
  overflow: hidden;
}

.faq-a p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--white-65);
  padding-bottom: 24px;
  max-width: 640px;
  margin: 0;
}

.faq-a strong {
  color: var(--white);
  font-weight: 600;
}

/* 15c. Reel Phone Mockup
   ----------------------------------------------------------- */
.reel-col {
  position: sticky;
  top: calc(var(--announce-h) + var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.reel-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow:
    0 0 0 1px rgba(201, 160, 96, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(13, 13, 13, 0.35);
  transition: opacity 0.4s ease;
}

.reel-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.reel-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding-left: 4px; /* optical center for play triangle */
}

.reel-play-btn:hover {
  background: rgba(201, 160, 96, 0.5);
  transform: scale(1.08);
}

.reel-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}


/* Stats badge */
.reel-badge {
  align-self: flex-start;
  margin-top: -20px;
  margin-left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 40px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}

.reel-badge-heart {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 160, 96, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.reel-badge-count {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  line-height: 1;
}

.reel-badge-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  line-height: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .reel-col {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }

  /* FAQ header centering */
  .faq-intro {
    text-align: center;
  }
}

/* 16. Footer
   ----------------------------------------------------------- */
.site-footer {
  background: var(--void);
  border-top: 1px solid rgba(201, 160, 96, 0.12);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 52px;
}

.footer-brand { display: flex; flex-direction: column; gap: 10px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer-logo:hover { opacity: 0.75; }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--white-40);
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-65);
  transition: color 0.2s ease;
}

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

.footer-social { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.footer-social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-handle {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.footer-social-link {
  color: var(--gold);
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  gap: 7px;
  align-items: center;
}

.footer-social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-made {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-25);
}

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

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-25);
}

.footer-bottom p:last-child {
  text-align: right;
}

.footer-credit-link {
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* 16. Focus
   ----------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════
   LUXURY ENHANCEMENTS
══════════════════════════════════════════════════════ */

/* Film grain overlay — texture for premium depth */
html::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Scroll progress bar */
/* ── Notify Me Modal ──────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop.modal-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 440px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.modal-open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--white-65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  margin: 10px 0 16px;
}

.modal-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-65);
  margin-bottom: 28px;
}

.modal-form { display: flex; flex-direction: column; gap: 16px; }

.modal-success[hidden] { display: none; }

.modal-success {
  text-align: center;
  padding: 24px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.modal-success-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.modal-success p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white-65);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 640px) {
  .modal-card { padding: 40px 24px 32px; }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold-light);
}

@media (max-width: 640px) {
  .back-to-top { bottom: 20px; right: 20px; }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 2000;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Nav underline hover animation */
.header-nav a {
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav a:hover::after { width: 100%; }
.header-nav a:hover { color: var(--gold); }

/* Button shimmer animation */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.btn--gold {
  background-size: 200% auto;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background-image: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 40%,
    var(--gold) 80%,
    var(--gold-light) 100%
  );
  background-size: 200% auto;
  animation: shimmer 1.6s linear infinite;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
  padding: 20px 0;
  border-top: 1px solid rgba(201, 160, 96, 0.12);
  border-bottom: 1px solid rgba(201, 160, 96, 0.12);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-40);
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(201, 160, 96, 0.18);
  flex-shrink: 0;
}

/* Hero vertical editorial label */
.hero-tag-vertical {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(201, 160, 96, 0.3);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

/* Step cards — gold left border accent on hover */
.step-card {
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.step-card:hover::before { transform: scaleY(1); }

.step-card:hover {
  border-color: rgba(201, 160, 96, 0.32);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 160, 96, 0.08);
  transform: translateY(-2px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Review stars */
.review-stars {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1;
}

.review-stars--lg {
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Form card — top accent bar + focus-within glow */

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold) 30%,
    var(--gold-light) 50%,
    var(--gold) 70%,
    transparent
  );
  border-radius: 0 0 2px 2px;
}

.form-card:focus-within {
  border-color: rgba(201, 160, 96, 0.28);
  box-shadow: 0 0 0 1px rgba(201, 160, 96, 0.08),
              0 24px 64px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Testimonial cards — subtle lift on hover */
.testimonial-card:hover {
  border-color: rgba(201, 160, 96, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* 16b. Gallery Lightbox
   ----------------------------------------------------------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox.modal-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-shell {
  position: relative;
  width: min(1180px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 18px;
  align-items: center;
}

.gallery-lightbox-figure {
  margin: 0;
  display: grid;
  gap: 14px;
}

.gallery-lightbox-media {
  border: 1px solid rgba(201, 160, 96, 0.16);
  border-radius: 22px;
  overflow: hidden;
  background: #090909;
  height: min(74vh, 760px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090909;
}

.gallery-lightbox-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.gallery-lightbox-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.gallery-lightbox-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.gallery-lightbox-count {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-40);
  white-space: nowrap;
}

.gallery-lightbox-nav,
.gallery-lightbox-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201, 160, 96, 0.28);
  background: rgba(13, 13, 13, 0.86);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.gallery-lightbox-nav {
  font-size: 24px;
}

.gallery-lightbox-close {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 2;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible,
.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  transform: scale(1.05);
  background: rgba(201, 160, 96, 0.14);
  border-color: var(--gold);
}

/* 17. Responsive — 1024px
   ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .process-left { position: static; }
  .order-left   { position: static; }
  .founder-copy { padding: 80px 48px; }
}

/* 18. Responsive — 820px
   ----------------------------------------------------------- */
@media (max-width: 820px) {
  :root { --nav-h: 64px; }

  .header-nav  { display: none; }
  .hamburger   { display: flex; }
  .header-right { margin-left: auto; }
  .header-cta  { display: none; }

  .founder-inner {
    grid-template-columns: 1fr;
  }

  .founder-photo-wrap {
    height: 420px;
    position: relative;
  }

  .founder-photo-frame {
    position: absolute;
    inset: 0;
  }

  .founder-photo-accent {
    background: linear-gradient(to bottom, transparent 60%, #111111 100%);
  }

  .founder-copy {
    padding: 56px 1.5rem 72px;
  }

  .hero { align-items: flex-start; min-height: auto; }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto;
    min-height: auto;
  }

  .hero-left {
    grid-row: 2;
    padding: 52px 1.5rem 72px;
  }

  .hero-right {
    grid-row: 1;
    position: relative;
    height: 300px;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-image-wrap {
    clip-path: none;
    position: absolute;
    inset: 0;
  }

  .hero-image-overlay {
    background: linear-gradient(to bottom, transparent 50%, #0d0d0d 100%);
  }

  .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-line   { display: none; }

  .gallery-archive {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-archive-copy {
    max-width: 34rem;
  }

  .gallery-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { align-items: flex-start; }
  .footer-nav { flex-direction: column; align-items: center; gap: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom p:last-child { text-align: left; }
  .shop-product { grid-template-columns: 1fr; gap: 40px; }
  .subscription-product { grid-template-columns: 1fr; gap: 40px; }

  .hero-tag-vertical { display: none; }

  .hero-stats {
    gap: 18px;
    padding: 16px 0;
  }

  .hero-stat-num { font-size: 22px; }

  /* ── Mobile centering ── */

  /* Hero */
  .hero-left {
    align-items: center;
    text-align: center;
  }
  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
  }

  /* Process */
  .process-left {
    text-align: center;
  }
  .process-left .section-body {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  /* Gallery header + archive copy */
  .gallery-header {
    text-align: center;
  }
  .gallery-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-archive-copy {
    text-align: center;
  }
  .gallery-archive-btn {
    margin-left: auto;
    margin-right: auto;
  }

  /* Testimonials */
  .testimonials-header {
    text-align: center;
  }
  .testimonial-text {
    margin-left: auto;
    margin-right: auto;
  }
  .testimonial-attr {
    text-align: center;
  }

  /* Order / request form left column */
  .order-left {
    text-align: center;
  }
  .order-left .section-body {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  /* Founder / about */
  .founder-copy {
    align-items: center;
    text-align: center;
  }
  .founder-cta {
    align-self: center;
  }

  /* Shop product */
  .shop-details {
    align-items: center;
    text-align: center;
  }

  .subscription-details {
    align-items: center;
    text-align: center;
  }

  .paypal-subscribe-form {
    max-width: 360px;
  }

  .paypal-subscribe-row {
    justify-content: center;
  }

  .paypal-subscribe-row select {
    width: 100%;
    min-width: 0;
    font-size: 13px;
  }

  .paypal-subscribe-button {
    margin: 0 auto;
  }

  .shop-actions {
    justify-content: center;
  }

  /* Footer */
  .footer-brand {
    align-items: center;
  }
  .footer-social {
    align-items: center;
  }
  .footer-tagline,
  .footer-social-handle {
    text-align: center;
  }

  /* Carousel responsive */
  :root { --slide-w: 300px; }

  .gallery-stage { height: 440px; }

  .carousel-prev { left: calc(50% - var(--slide-w) / 2 - 52px); }
  .carousel-next { right: calc(50% - var(--slide-w) / 2 - 52px); }

  .gallery { padding: 80px 0 0; }
}

/* 19. Responsive — 640px
   ----------------------------------------------------------- */
@media (max-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr; }
  .form-card   { padding: 28px 20px; }

  :root { --slide-w: 260px; }
  .gallery-stage { height: 380px; }
  .carousel-prev, .carousel-next { display: none; }

  .gallery-archive-section {
    padding-bottom: 88px;
  }

  .gallery-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .archive-card-meta {
    left: 14px;
    bottom: 40px;
  }

  .archive-card-title {
    left: 14px;
    bottom: 14px;
    font-size: 18px;
  }

  .testimonial-quote-mark { font-size: 130px; }

  .shop-heading { font-size: clamp(36px, 10vw, 56px); }

  .gallery-lightbox-shell {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 72px 0 18px;
    align-items: start;
  }

  .gallery-lightbox-close {
    top: 16px;
    right: 4px;
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: calc(50% - 40px);
    z-index: 2;
  }

  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }

  .gallery-lightbox-media {
    height: 62vh;
    border-radius: 18px;
  }

  .gallery-lightbox-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════
   CHAT WIDGET — Ni, Style Advisor
═══════════════════════════════════════════════════════════ */

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── Launcher button ──────────────────────────────────── */
.chat-launcher {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(201, 160, 96, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.chat-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(201, 160, 96, 0.55);
}

.chat-launcher-icon {
  width: 28px;
  height: 28px;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-launcher-icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.chat-widget.open .chat-launcher-icon--open {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.chat-widget.open .chat-launcher-icon--close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--void);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-widget.open .chat-badge {
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

/* ── Panel ────────────────────────────────────────────── */
.chat-panel {
  width: 340px;
  max-height: 520px;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease;
}

.chat-panel[hidden] { display: none; }

.chat-widget.open .chat-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* ── Header ───────────────────────────────────────────── */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 18px;
  background: linear-gradient(135deg, #161616 0%, #1e1614 100%);
  border-bottom: 1px solid rgba(201, 160, 96, 0.12);
  flex-shrink: 0;
}

.chat-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.chat-avatar-svg {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
}

.chat-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2px solid var(--surface);
}

.chat-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.chat-role {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--white-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--white-65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ── Messages ─────────────────────────────────────────── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 160, 96, 0.2) transparent;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(201, 160, 96, 0.25); border-radius: 4px; }

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  animation: chat-msg-in 0.3s ease both;
}

@keyframes chat-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--white-65);
  max-width: 260px;
}

.chat-msg--user {
  flex-direction: row-reverse;
}

.chat-msg--user .chat-msg-bubble {
  background: rgba(201, 160, 96, 0.12);
  border-color: rgba(201, 160, 96, 0.2);
  border-radius: 16px 16px 4px 16px;
  color: var(--gold);
  font-size: 13px;
}

/* ── Options ──────────────────────────────────────────── */
.chat-options {
  padding: 8px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-opt-btn {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--white-65);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  animation: chat-msg-in 0.3s ease both;
}

.chat-opt-btn:hover {
  background: rgba(201, 160, 96, 0.1);
  border-color: rgba(201, 160, 96, 0.3);
  color: var(--white);
}

.chat-opt-btn--action {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
  text-align: center;
}

.chat-opt-btn--action:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #000;
}

@media (max-width: 400px) {
  .paypal-subscribe-row select {
    font-size: 12px;
    padding-left: 12px;
    padding-right: 34px;
  }

  .chat-panel { width: calc(100vw - 32px); }
  .chat-widget { right: 16px; bottom: 16px; }
}
