/* Inspore — Digital Design Hub */

:root {
  --dusty-pink: #E8D5DC;
  --dusty-pink-deep: #E8B4BC;
  --lavender: #C4B5D8;
  --lilac: #B8A9C9;
  --white: #FDFCFB;
  --off-white: #F7F5F2;
  --gold: #C9A962;
  --gold-soft: rgba(201, 169, 98, 0.35);
  --ink: #1A1A1A;
  --ink-muted: #4A4548;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Montserrat", system-ui, sans-serif;
  --masthead-h: 9.5rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 8px 32px rgba(26, 26, 26, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.site-protect--on body {
  -webkit-user-select: none;
  user-select: none;
}

html.site-protect--on .allow-select,
html.site-protect--on .allow-select *,
html.site-protect--on a[href^="mailto:"] {
  -webkit-user-select: text;
  user-select: text;
}

html.site-protect--on img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--off-white);
  background-image:
    linear-gradient(135deg, rgba(232, 213, 220, 0.4) 0%, transparent 50%),
    linear-gradient(225deg, rgba(196, 181, 216, 0.25) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-attachment: fixed;
  min-height: 100dvh;
  overflow-x: hidden;
}

.linen-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.015) 2px,
      rgba(0, 0, 0, 0.015) 4px
    );
}

/* Masthead — centered logo, nav below */
.site-header.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--white);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 1px 0 rgba(201, 169, 98, 0.12);
}

.header-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 0;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.social-link:hover {
  opacity: 1;
  color: var(--ink);
}

.header-brand {
  text-align: center;
  padding: 0.35rem 1rem 0.15rem;
}

.logo {
  text-decoration: none;
  display: inline-block;
}

.logo-mark {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 11vw, 3.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  margin: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0.65rem 0.75rem 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.35rem 0.85rem;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s;
  flex-shrink: 0;
}

.nav-pill:hover {
  color: var(--ink);
}

.nav-pill.active {
  color: var(--ink);
  font-weight: 500;
}

.nav-pill--quiz {
  position: relative;
  margin-left: 0.25rem;
  padding-left: 1rem;
  color: var(--ink);
  background: linear-gradient(
    135deg,
    rgba(232, 213, 220, 0.45) 0%,
    rgba(196, 181, 216, 0.22) 100%
  );
  border: 1px solid rgba(201, 169, 98, 0.38);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.nav-pill--quiz::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 98, 0.45), transparent);
  pointer-events: none;
}

.nav-pill--quiz:hover {
  color: var(--ink);
  background: linear-gradient(
    135deg,
    rgba(232, 213, 220, 0.62) 0%,
    rgba(196, 181, 216, 0.35) 100%
  );
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 2px 14px rgba(201, 169, 98, 0.12);
}

.nav-pill--quiz.active {
  color: var(--ink);
  font-weight: 500;
  background: linear-gradient(
    135deg,
    rgba(232, 180, 188, 0.35) 0%,
    rgba(196, 181, 216, 0.4) 100%
  );
  border-color: var(--gold);
  box-shadow: 0 2px 16px rgba(201, 169, 98, 0.18);
}

@media (min-width: 640px) {
  .header-utility {
    padding: 0.65rem 1.5rem 0;
  }

  .header-brand {
    padding: 0.5rem 1.5rem 0.25rem;
  }

  .main-nav {
    gap: 0.5rem;
    padding: 0.75rem 1.5rem 1rem;
  }

  .nav-pill {
    font-size: 0.6875rem;
    padding: 0.4rem 1.1rem;
  }
}

main {
  position: relative;
  z-index: 1;
}

/* —— Home landing —— */
body.is-home .site-header.masthead {
  background: rgba(253, 252, 251, 0.92);
  backdrop-filter: blur(10px);
}

.home-view {
  position: relative;
  min-height: calc(100dvh - var(--masthead-h) - 4rem);
  padding: 0 0 3rem;
  overflow: hidden;
}

.home-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.home-orb--pink {
  width: min(42vw, 22rem);
  height: min(42vw, 22rem);
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, var(--dusty-pink-deep) 0%, transparent 70%);
}

.home-orb--lavender {
  width: min(50vw, 26rem);
  height: min(50vw, 26rem);
  bottom: 10%;
  left: -12%;
  background: radial-gradient(circle, var(--lavender) 0%, transparent 70%);
  animation-delay: -6s;
}

.home-orb--gold {
  width: min(28vw, 14rem);
  height: min(28vw, 14rem);
  bottom: 28%;
  right: 18%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.28;
  animation-delay: -12s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(2rem, -1.5rem) scale(1.08); }
}

.home-inner {
  position: relative;
  z-index: 1;
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.home-intro {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.25rem;
  animation: home-rise 0.9s var(--ease) forwards;
}

.home-eyebrow {
  font-size: 0.5625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.home-headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.home-lede {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  max-width: 26rem;
  margin: 0 auto;
}

.home-portals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  animation: home-rise 0.9s var(--ease) 0.12s forwards;
  opacity: 0;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portal-card {
  min-height: 0;
}

.portal-card__btn {
  position: relative;
  display: block;
  width: 100%;
  min-height: 11.5rem;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  border-radius: 3px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.portal-card__btn:hover,
.portal-card__btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(26, 26, 26, 0.1);
  outline: none;
}

.portal-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}

.portal-card__btn:hover .portal-card__media {
  transform: scale(1.05);
}

.portal-card__media.is-placeholder {
  background: linear-gradient(135deg, var(--dusty-pink) 0%, var(--lavender) 55%, var(--off-white) 100%);
}

.portal-card:nth-child(1) .portal-card__media.is-placeholder {
  background: linear-gradient(145deg, #e8d5dc 0%, #c4b5d8 50%, #f7f5f2 100%);
}

.portal-card:nth-child(2) .portal-card__media.is-placeholder {
  background: linear-gradient(145deg, #f7f5f2 0%, #e8b4bc 40%, #b8a9c9 100%);
}

.portal-card:nth-child(3) .portal-card__media.is-placeholder {
  background: linear-gradient(145deg, #c9a962 0%, #e8d5dc 45%, #9b7b8e 100%);
}

.portal-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(26, 26, 26, 0.15) 0%,
    rgba(26, 26, 26, 0.55) 55%,
    rgba(26, 26, 26, 0.72) 100%
  );
  transition: opacity 0.4s var(--ease);
}

.portal-card__btn:hover .portal-card__veil {
  opacity: 0.92;
}

.portal-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 11.5rem;
  padding: 1.35rem 1.25rem 1.2rem;
  color: var(--white);
}

.portal-card__index {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.35rem;
}

.portal-card__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.portal-card__subtitle {
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-style: italic;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.portal-card__hint {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 0.65rem;
}

.portal-card__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.25rem;
  opacity: 0.7;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.portal-card__btn:hover .portal-card__arrow {
  transform: translateX(4px);
  opacity: 1;
}

.portal-card--accent .portal-card__veil {
  background: linear-gradient(
    165deg,
    rgba(155, 123, 142, 0.2) 0%,
    rgba(26, 26, 26, 0.5) 50%,
    rgba(26, 26, 26, 0.75) 100%
  );
}

.browse-view {
  animation: browse-enter 0.55s var(--ease) forwards;
}

@keyframes browse-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.browse-view[hidden] {
  display: none !important;
}

.home-section-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.home-section-head--left {
  text-align: left;
}

.home-section-eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.home-section-title {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.home-section-sub {
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  max-width: 22rem;
  margin: 0 auto;
}

.home-featured,
.home-collections {
  margin-top: 2.75rem;
  animation: home-rise 0.9s var(--ease) forwards;
  opacity: 0;
}

.home-featured { animation-delay: 0.18s; }
.home-collections { animation-delay: 0.22s; }

.home-featured__track {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-featured__track::-webkit-scrollbar {
  display: none;
}

.home-featured-item {
  flex: 0 0 auto;
  width: 7.5rem;
  scroll-snap-align: start;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease);
}

.home-featured-item:hover,
.home-featured-item:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.home-featured-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-featured-item__label {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 0.35rem;
  color: var(--ink-muted);
}

/* —— The collections (editorial panels) —— */
.home-collections__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.22);
}

.home-collections__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0.35rem 0 0.5rem;
}

.home-collections__lede {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 26rem;
}

.home-collections__ornament {
  display: none;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.home-collections__ornament::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 0.35rem;
  height: 0.35rem;
  margin: -0.175rem 0 0 -0.175rem;
  border-radius: 50%;
  background: var(--gold);
}

.collection-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.collection-panel {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(26, 26, 26, 0.06);
  border: 1px solid rgba(201, 169, 98, 0.12);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.collection-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.09);
}

.collection-panel[data-tone="wardrobe"] {
  --tone: var(--dusty-pink-deep);
  --tone-soft: rgba(232, 180, 188, 0.35);
}

.collection-panel[data-tone="living"] {
  --tone: var(--lavender);
  --tone-soft: rgba(196, 181, 216, 0.4);
}

.collection-panel[data-tone="details"] {
  --tone: var(--mauve);
  --tone-soft: rgba(155, 123, 142, 0.35);
}

.collection-panel__visual {
  position: relative;
  min-height: 10.5rem;
  overflow: hidden;
}

.collection-panel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}

.collection-panel__bg.is-placeholder {
  background: linear-gradient(135deg, var(--tone-soft), var(--off-white));
}

.collection-panel:hover .collection-panel__bg {
  transform: scale(1.04);
}

.collection-panel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.05) 0%,
    rgba(26, 26, 26, 0.45) 100%
  );
}

.collection-panel__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(253, 252, 251, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.collection-panel__body {
  padding: 1.35rem 1.25rem 1.5rem;
  border-top: 3px solid var(--tone, var(--gold));
}

.collection-panel__brand {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.collection-panel__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.collection-panel__tagline {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.collection-links {
  list-style: none;
  margin: 0 0 1.15rem;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}

.collection-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: padding-left 0.3s var(--ease), background 0.25s;
}

.collection-link:hover,
.collection-link:focus-visible {
  padding-left: 0.35rem;
  background: linear-gradient(90deg, var(--tone-soft), transparent 70%);
  outline: none;
}

.collection-link__name {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.collection-link__meta {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.collection-enter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s, gap 0.25s;
}

.collection-enter::after {
  content: "→";
  font-size: 0.875rem;
  transition: transform 0.25s var(--ease);
}

.collection-enter:hover,
.collection-enter:focus-visible {
  color: var(--gold);
  outline: none;
}

.collection-enter:hover::after {
  transform: translateX(4px);
}

/* —— Closing: philosophy + manifesto —— */
.home-closing {
  margin-top: 3rem;
  padding: 2.25rem 1.15rem 0;
  border-radius: 4px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 213, 220, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(196, 181, 216, 0.2) 0%, transparent 50%),
    rgba(253, 252, 251, 0.65);
  border: 1px solid rgba(201, 169, 98, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-closing__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.home-closing__eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.home-closing__title {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 4.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.home-values__mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

.home-value {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  text-align: left;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(201, 169, 98, 0.12);
  border-radius: 3px;
  box-shadow: 0 6px 24px rgba(26, 26, 26, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.home-value:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26, 26, 26, 0.07);
}

.home-value__index {
  position: absolute;
  top: 0.35rem;
  right: 0.75rem;
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(201, 169, 98, 0.2);
  pointer-events: none;
  user-select: none;
}

.home-value--feature {
  padding: 1.75rem 1.5rem 1.5rem;
  background: linear-gradient(
    145deg,
    var(--white) 0%,
    rgba(232, 213, 220, 0.22) 55%,
    rgba(253, 252, 251, 0.98) 100%
  );
  border-color: rgba(201, 169, 98, 0.22);
}

.home-value--feature .home-value__index {
  font-size: 4rem;
  top: 0.5rem;
  right: 1rem;
  color: rgba(201, 169, 98, 0.28);
}

.home-value--feature .home-value__title {
  font-size: 1.375rem;
  max-width: 14rem;
}

.home-value__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.625rem;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 50%;
  background: rgba(253, 252, 251, 0.9);
}

.home-value__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  padding-right: 2rem;
}

.home-value__text {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 20rem;
}

.home-manifesto {
  margin: 2rem 0 0;
  padding: 0;
  animation: home-rise 0.9s var(--ease) 0.3s forwards;
  opacity: 0;
}

.home-manifesto__frame {
  position: relative;
  padding: 2.25rem 1.5rem 1.75rem;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 3px;
  box-shadow:
    0 20px 50px rgba(26, 26, 26, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.home-manifesto__frame::before {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(201, 169, 98, 0.12);
  border-radius: 2px;
  pointer-events: none;
}

.home-manifesto__glyph {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

.home-manifesto__glyph--open {
  top: 0.15rem;
  left: 0.75rem;
}

.home-manifesto__glyph--close {
  bottom: 2.5rem;
  right: 0.85rem;
}

.home-manifesto__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0.5rem;
  border: none;
}

.home-manifesto__quote p {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 3.2vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink);
  max-width: 30rem;
  margin: 0 auto;
}

.home-manifesto__credit {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.25rem;
  font-size: 0.5625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.home-manifesto__credit::before {
  content: "—";
  margin-right: 0.5rem;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .home-inner {
    padding: 2.5rem 1.5rem 0;
  }

  .home-intro {
    margin-bottom: 3rem;
  }

  .home-collections__ornament {
    display: block;
  }

  .collection-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }

  .collection-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .collection-panel__visual {
    min-height: 11rem;
  }

  .collection-panel__body {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .collection-enter {
    margin-top: auto;
  }

  .home-closing {
    padding: 2.5rem 1.75rem 0.5rem;
  }

  .home-values__mosaic {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    align-items: stretch;
  }

  .home-value--feature {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-featured-item {
    width: 9rem;
  }

  .home-portals {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .portal-card:first-child {
    grid-row: span 2;
  }

  .portal-card:first-child .portal-card__btn,
  .portal-card:first-child .portal-card__content {
    min-height: 100%;
  }

  .portal-card:first-child .portal-card__content {
    min-height: 24rem;
  }

  .portal-card:not(:first-child) .portal-card__btn,
  .portal-card:not(:first-child) .portal-card__content {
    min-height: 11.75rem;
  }
}

@media (min-width: 1024px) {
  .collection-panel {
    grid-template-columns: 38% 1fr;
    grid-template-rows: 1fr;
    min-height: 18.5rem;
  }

  .collection-panel__visual {
    min-height: 100%;
  }

  .collection-panel__body {
    padding: 1.5rem 1.5rem 1.35rem;
    border-top: none;
    border-left: 3px solid var(--tone, var(--gold));
  }

  .collection-panel__num {
    font-size: 3rem;
  }

  .home-closing {
    padding: 3rem 2rem 1rem;
  }

  .home-values__mosaic {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto;
  }

  .home-value--feature {
    grid-row: auto;
    grid-column: 1;
  }

  .home-values__mosaic .home-value:nth-child(2) {
    grid-column: 2;
  }

  .home-values__mosaic .home-value:nth-child(3) {
    grid-column: 3;
  }

  .home-manifesto__frame {
    padding: 3rem 3rem 2.25rem;
  }

  .home-manifesto__glyph--close {
    bottom: 3rem;
    right: 2rem;
  }

  .home-headline {
    font-size: 3rem;
  }

  .portal-card:first-child .portal-card__content {
    min-height: 28rem;
    padding: 2rem 1.75rem 1.5rem;
  }

  .portal-card__title {
    font-size: 2.125rem;
  }
}

.hero {
  text-align: center;
  padding: 1.25rem 1.25rem 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(0.9375rem, 3.5vw, 1.125rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

/* Wardrobe season rail — only visible on The Wardrobe */
.category-filters {
  max-width: 48rem;
  margin: 0 auto 1.25rem;
  padding: 0 0.75rem;
  animation: card-reveal 0.6s var(--ease) forwards;
}

.season-rail {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0 0.5rem;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.season-rail::-webkit-scrollbar {
  display: none;
}

.season-link {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1rem 1.15rem 0.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: opacity 0.25s;
}

.season-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
}

.season-link:hover {
  opacity: 0.75;
}

.season-link.active::after {
  width: 1.5rem;
  left: calc(50% - 0.75rem);
}

.season-link-name {
  font-family: var(--serif);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.season-link-era {
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.season-link[data-season="all"] .season-link-name {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.season-link + .season-link {
  border-left: 1px solid rgba(26, 26, 26, 0.05);
}

@media (min-width: 768px) {
  .season-rail {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .season-link {
    padding: 1.1rem 1.5rem 1rem;
  }

  .season-link-name {
    font-size: 1.0625rem;
  }
}

.card-season {
  font-family: var(--serif);
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

/* Masonry grid */
.curated-grid {
  padding: 1.25rem 0.75rem 3rem;
  max-width: 72rem;
  margin: 0 auto;
}

.grid-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  align-items: start;
}

@media (min-width: 640px) {
  .grid-masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .grid-masonry {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .curated-grid {
    padding: 0 1.5rem 4rem;
  }
}

.curated-card {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: card-reveal 0.7s var(--ease) forwards;
}

.curated-card:nth-child(1) { animation-delay: 0.05s; }
.curated-card:nth-child(2) { animation-delay: 0.1s; }
.curated-card:nth-child(3) { animation-delay: 0.15s; }
.curated-card:nth-child(4) { animation-delay: 0.2s; }
.curated-card:nth-child(5) { animation-delay: 0.25s; }
.curated-card:nth-child(6) { animation-delay: 0.3s; }
.curated-card:nth-child(7) { animation-delay: 0.35s; }
.curated-card:nth-child(8) { animation-delay: 0.4s; }
.curated-card:nth-child(9) { animation-delay: 0.45s; }
.curated-card:nth-child(10) { animation-delay: 0.5s; }

@keyframes card-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.curated-card.is-filtering-out,
.curated-card.is-hidden {
  animation: none;
}

.curated-card:not(.is-hidden) {
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.curated-card.is-hidden {
  display: none;
}

.curated-card.is-filtering-out {
  opacity: 0;
  transform: scale(0.96);
}

.card-inner {
  position: relative;
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--dusty-pink) 0%, var(--off-white) 100%);
}

.card-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s var(--ease);
}

.curated-card:hover .card-image-wrap img {
  transform: scale(1.03);
}

.card-meta {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(201, 169, 98, 0.12);
  background: linear-gradient(180deg, var(--white) 0%, rgba(253, 252, 251, 0.98) 100%);
}

.card-category {
  font-size: 0.5625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.card-title {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* Hotspots */
.hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.75rem 0 0 -0.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(253, 252, 251, 0.92);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 2px 12px rgba(26, 26, 26, 0.12);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--gold);
}

.hotspot:hover,
.hotspot:focus-visible,
.hotspot.is-active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--gold), 0 4px 20px rgba(201, 169, 98, 0.35);
  animation: none;
  outline: none;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 1px var(--gold-soft), 0 2px 12px rgba(26, 26, 26, 0.12);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.15), 0 2px 12px rgba(26, 26, 26, 0.12);
  }
}

.hotspot-tooltip {
  position: fixed;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 2px;
  max-width: 14rem;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hotspot-tooltip[hidden] {
  display: none;
}

.tooltip-product {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.tooltip-brand {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.tooltip-soon {
  display: inline-block;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.4rem;
  width: 100%;
}

.empty-state {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--ink-muted);
  padding: 3rem 1rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem 2rem;
  border-top: 1px solid rgba(201, 169, 98, 0.15);
  background: rgba(253, 252, 251, 0.6);
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-legal a {
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal a:hover {
  color: var(--ink);
}

.footer-disclaimer {
  font-size: 0.5625rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 28rem;
  margin: 0 auto 0.65rem;
  opacity: 0.85;
}

.footer-disclaimer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy {
  font-size: 0.625rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

/* —— Legal pages —— */
.legal-body .site-header--compact {
  padding-bottom: 0.5rem;
}

.legal-body .site-header--compact .header-brand {
  padding: 1rem 1rem 0.5rem;
}

.legal-body .logo-mark {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.legal-page {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.legal-page__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.legal-page__eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.legal-page__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}

.legal-page__intro {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.legal-page__updated {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.75rem;
}

.legal-toc a {
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(201, 169, 98, 0.3);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.legal-toc a:hover {
  background: rgba(232, 213, 220, 0.35);
}

.legal-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.legal-section h3 {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  margin: 1.25rem 0 0.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
}

.legal-section a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section code {
  font-size: 0.75rem;
  background: rgba(232, 213, 220, 0.35);
  padding: 0.1rem 0.35rem;
}

.legal-section--highlight {
  padding: 1.25rem 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(232, 213, 220, 0.15));
  border: 1px solid rgba(201, 169, 98, 0.25);
}

.legal-checklist li {
  margin-bottom: 0.5rem;
}

.legal-contact {
  font-size: 0.875rem;
}

.legal-back {
  text-align: center;
  margin-top: 1rem;
}

.legal-back a {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
}

.legal-back a:hover {
  color: var(--ink);
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0.75rem;
  pointer-events: none;
}

.cookie-banner:not([hidden]) {
  pointer-events: auto;
}

.cookie-banner__inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  background: rgba(253, 252, 251, 0.97);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow: 0 -8px 32px rgba(26, 26, 26, 0.1);
}

.cookie-banner__title {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.cookie-banner__text {
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.cookie-banner__text a {
  color: var(--ink);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__btn {
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.cookie-banner__btn--primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* —— Style quiz —— */
body.is-quiz .site-header.masthead {
  background: rgba(253, 252, 251, 0.92);
  backdrop-filter: blur(10px);
}

.quiz-view {
  position: relative;
  min-height: calc(100dvh - var(--masthead-h) - 4rem);
  padding: 0 0 3rem;
  overflow: hidden;
  animation: browse-enter 0.55s var(--ease) forwards;
}

.quiz-view[hidden] {
  display: none !important;
}

.quiz-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.quiz-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.4;
}

.quiz-orb--pink {
  width: min(40vw, 20rem);
  height: min(40vw, 20rem);
  top: -6%;
  right: -4%;
  background: radial-gradient(circle, var(--dusty-pink-deep) 0%, transparent 70%);
}

.quiz-orb--lavender {
  width: min(44vw, 22rem);
  height: min(44vw, 22rem);
  bottom: 8%;
  left: -10%;
  background: radial-gradient(circle, var(--lavender) 0%, transparent 70%);
}

.quiz-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.quiz-intro {
  margin: 0 auto 2.5rem;
  max-width: 36rem;
}

.quiz-intro__frame {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 6vw, 3rem) clamp(1.5rem, 5vw, 2.5rem);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(253, 250, 251, 0.75) 45%, rgba(232, 213, 220, 0.18) 100%);
  border: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 48px rgba(26, 26, 26, 0.06);
}

.quiz-intro__corner {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  pointer-events: none;
  opacity: 0.55;
}

.quiz-intro__corner--tl {
  top: 0.75rem;
  left: 0.75rem;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.quiz-intro__corner--br {
  bottom: 0.75rem;
  right: 0.75rem;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.quiz-intro__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.5rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.quiz-intro__eyebrow-line {
  display: block;
  width: min(3.5rem, 12vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.quiz-intro__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.875rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.quiz-intro__emph {
  font-style: italic;
  font-weight: 400;
  color: #6b5a62;
}

.quiz-intro__lede {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 26rem;
  margin: 0 auto 1.35rem;
}

.quiz-intro__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 1.75rem;
  padding: 0;
}

.quiz-intro__step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

.quiz-intro__step-num {
  font-family: var(--serif);
  font-size: 0.6875rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.quiz-intro__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.quiz-intro__note {
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.75;
}

.quiz-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 12.5rem;
  padding: 0.9rem 1.75rem;
}

.quiz-btn__arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.quiz-btn--primary:hover .quiz-btn__arrow {
  transform: translateX(4px);
}

.quiz-btn {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.quiz-btn:hover {
  border-color: var(--ink);
  background: rgba(232, 213, 220, 0.25);
}

.quiz-btn--primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.quiz-btn--primary:hover {
  background: #333;
  border-color: #333;
}

.quiz-progress {
  margin-bottom: 1.25rem;
}

.quiz-progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.quiz-progress__eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.quiz-progress__count {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.quiz-progress__track {
  height: 2px;
  background: rgba(26, 26, 26, 0.08);
  border-radius: 1px;
  overflow: hidden;
}

.quiz-progress__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--dusty-pink-deep), var(--lavender));
  transition: width 0.35s var(--ease);
}

.quiz-question__title {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.quiz-question.is-transitioning {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.quiz-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .quiz-choices {
    grid-template-columns: 1fr;
  }
}

.quiz-choice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.04);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.quiz-choice:hover {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
  transform: translateY(-3px);
}

.quiz-choice__visual {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(155deg, #f0e6ec 0%, #e4d4e8 50%, #d8cce4 100%);
}

.quiz-choice__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 26, 26, 0.04) 100%);
  pointer-events: none;
}

.quiz-choice__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quiz-choice.is-img-missing .quiz-choice__visual img {
  opacity: 0;
}

.quiz-choice__body {
  padding: 0.85rem 0.9rem 1rem;
}

.quiz-choice__label {
  display: block;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.quiz-choice__sub {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.quiz-choice--abstract .quiz-abstract {
  aspect-ratio: 4 / 5;
}

.quiz-abstract {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f5eef2 0%, #e8dfe8 45%, #ddd4e4 100%);
}

.quiz-abstract__surface {
  position: relative;
  width: 72%;
  height: 72%;
}

.quiz-gem {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8e8 0%, var(--gold) 55%, #a8843a 100%);
  box-shadow: 0 2px 12px rgba(201, 169, 98, 0.45);
}

.quiz-abstract--max .quiz-gem--1 { width: 14%; height: 14%; top: 8%; left: 12%; }
.quiz-abstract--max .quiz-gem--2 { width: 10%; height: 10%; top: 22%; right: 18%; }
.quiz-abstract--max .quiz-gem--3 { width: 12%; height: 12%; bottom: 28%; left: 8%; }
.quiz-abstract--max .quiz-gem--4 { width: 8%; height: 8%; bottom: 12%; right: 22%; }

.quiz-ring {
  position: absolute;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.5);
}

.quiz-abstract--max .quiz-ring--1 {
  width: 28%;
  height: 28%;
  top: 38%;
  left: 38%;
  transform: rotate(-12deg);
}

.quiz-abstract--max .quiz-ring--2 {
  width: 22%;
  height: 22%;
  bottom: 18%;
  right: 12%;
  border-width: 1.5px;
  opacity: 0.85;
}

.quiz-bangle {
  position: absolute;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c9a962, #e8d5a0, #c9a962);
}

.quiz-abstract--max .quiz-bangle--1 {
  width: 36%;
  top: 52%;
  left: 10%;
  transform: rotate(-8deg);
}

.quiz-abstract--max .quiz-bangle--2 {
  width: 30%;
  bottom: 32%;
  right: 8%;
  transform: rotate(14deg);
  opacity: 0.7;
}

.quiz-watch {
  position: absolute;
  width: 32%;
  height: 32%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(26, 26, 26, 0.15);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0%, #f0ebe8 100%);
}

.quiz-watch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 28%;
  background: var(--ink);
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(35deg);
}

.quiz-abstract--min .quiz-bangle--solo {
  width: 42%;
  top: 62%;
  left: 50%;
  transform: translateX(-50%);
}

.quiz-abstract--min .quiz-gem--solo {
  width: 10%;
  height: 10%;
  top: 18%;
  right: 28%;
}

.quiz-result {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0.5rem 0 2.5rem;
}

.quiz-result__card {
  position: relative;
  text-align: center;
  padding: clamp(2.25rem, 7vw, 3.25rem) clamp(1.5rem, 5vw, 2.5rem) clamp(2rem, 5vw, 2.75rem);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(253, 250, 251, 0.8) 50%, rgba(232, 213, 220, 0.15) 100%);
  border: 1px solid rgba(201, 169, 98, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 28px 56px rgba(26, 26, 26, 0.07);
  overflow: hidden;
}

.quiz-result__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 169, 98, 0.12), transparent 55%);
  pointer-events: none;
}

.quiz-result[data-mood="urban"] .quiz-result__card::before {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(196, 181, 216, 0.2), transparent 55%);
}

.quiz-result[data-mood="luxe"] .quiz-result__card::before {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 169, 98, 0.22), transparent 55%);
}

.quiz-result[data-mood="glam"] .quiz-result__card::before {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 180, 188, 0.25), transparent 55%);
}

.quiz-result[data-mood="dark"] .quiz-result__card::before {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(107, 90, 98, 0.18), transparent 55%);
}

.quiz-result[data-mood="soft"] .quiz-result__card::before {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 213, 220, 0.35), transparent 55%);
}

.quiz-result__corner {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

.quiz-result__corner--tl {
  top: 0.85rem;
  left: 0.85rem;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.quiz-result__corner--br {
  bottom: 0.85rem;
  right: 0.85rem;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.quiz-result__seal {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
}

.quiz-result__seal-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 50%;
  animation: quiz-seal-spin 24s linear infinite;
}

.quiz-result__seal-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(232, 213, 220, 0.6);
  border-radius: 50%;
}

@keyframes quiz-seal-spin {
  to { transform: rotate(360deg); }
}

.quiz-result__seal-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.quiz-result__eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.5rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.quiz-result__eyebrow-line {
  display: block;
  width: min(3rem, 10vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.quiz-result__title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7.5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.quiz-result__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.75rem);
}

.quiz-result__word-gap {
  display: inline;
}

.quiz-result.is-revealed .quiz-result__word {
  animation: quiz-result-word 0.7s var(--ease) forwards;
  animation-delay: calc(0.12s + var(--word-i, 0) * 0.08s);
}

@keyframes quiz-result-word {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-result__rule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
  width: min(12rem, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.45), transparent);
  opacity: 0;
}

.quiz-result.is-revealed .quiz-result__rule {
  animation: quiz-fade-up 0.6s var(--ease) 0.45s forwards;
}

.quiz-result__rule-gem {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.quiz-result__blurb {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.8vw, 1.1875rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 24rem;
  margin: 0 auto 0.65rem;
  opacity: 0;
}

.quiz-result.is-revealed .quiz-result__blurb {
  animation: quiz-fade-up 0.65s var(--ease) 0.55s forwards;
}

.quiz-result__tagline {
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0;
  margin-bottom: 1.75rem;
}

.quiz-result.is-revealed .quiz-result__tagline {
  animation: quiz-fade-up 0.6s var(--ease) 0.65s forwards;
}

@keyframes quiz-fade-up {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-result__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  opacity: 0;
}

.quiz-result.is-revealed .quiz-result__actions {
  animation: quiz-fade-up 0.6s var(--ease) 0.75s forwards;
}

.quiz-result.is-revealed .quiz-result__seal {
  animation: quiz-fade-up 0.8s var(--ease) 0.05s forwards;
  opacity: 0;
}

.quiz-result.is-revealed .quiz-result__eyebrow {
  animation: quiz-fade-up 0.6s var(--ease) 0.1s forwards;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .quiz-result__word,
  .quiz-result__rule,
  .quiz-result__blurb,
  .quiz-result__tagline,
  .quiz-result__actions,
  .quiz-result__seal,
  .quiz-result__eyebrow {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .quiz-result__seal-ring {
    animation: none !important;
  }
}

/* Home quiz teaser */
.home-quiz {
  display: block;
  margin-top: 2.5rem;
  animation: home-rise 0.9s var(--ease) forwards;
  animation-delay: 0.14s;
  opacity: 0;
}

.home-quiz__card {
  text-align: center;
  max-width: 26rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.85) 0%, rgba(232, 213, 220, 0.2) 100%);
}

.home-quiz__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.home-quiz__lede {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.home-quiz__cta {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.7rem 1.35rem;
  border: none;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.home-quiz__cta:hover {
  background: #333;
}

@media (min-width: 900px) {
  :root {
    --masthead-h: 10.5rem;
  }

  .header-utility {
    padding: 0.75rem 2rem 0;
  }

  .logo-mark {
    font-size: 3.75rem;
  }

  .main-nav {
    gap: 1rem;
    padding: 0.85rem 2rem 1.15rem;
  }

  .nav-pill {
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    padding: 0.45rem 1.25rem;
  }

  .nav-pill.active:not(.nav-pill--quiz) {
    border-bottom: 1px solid var(--ink);
  }

  .nav-pill--quiz {
    margin-left: 0.5rem;
    padding-left: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
