:root {
  color-scheme: light;
  --page: #fcfbf8;
  --paper: #fcfbf8;
  --paper-strong: #ffffff;
  --ink: #17130f;
  --ink-soft: #4f4740;
  --muted: #796f66;
  --line: rgba(23, 19, 15, 0.16);
  --line-soft: rgba(23, 19, 15, 0.09);
  --brown: #74503b;
  --brown-deep: #261d17;
  --brown-black: #17110e;
  --cream: #f3eee6;
  --danger: #9e3429;
  --success: #315f41;
  --focus: rgba(116, 80, 59, 0.34);
  --shell: min(1280px, calc(100% - 72px));
  --font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 100;
  padding: 0.72rem 0.95rem;
  color: var(--paper-strong);
  background: var(--brown-black);
  transition: top 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 248, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.nav > .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 1.18rem;
  font-weight: 300;
  font-synthesis: none;
  letter-spacing: 0px;
  line-height: 1;
  width: clamp(8.4rem, 10vw, 10.6rem);
  height: 1.5rem;
  justify-content: center;
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: 0px;
  line-height: 1;
}

.nav > .brand .brand-wordmark {
  display: block;
  flex: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.55rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.nav-links a {
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  padding-bottom: 0.12rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.nav-toggle {
  margin-left: auto;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  width: 19px;
  height: 1px;
  background: currentColor;
}

.button:focus-visible,
.nav-links a:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
.find-prompt:focus-visible,
.quiet-link:focus-visible,
.brand:focus-visible,
.footer-links a:focus-visible,
.privacy-note a:focus-visible,
.legal-content a:focus-visible,
.legal-kicker a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

/* Homepage */

.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: stretch;
  background: var(--page);
}

.hero-stage {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 34px;
  padding-bottom: 36px;
}

.hero-index,
.hero-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.hero-copy {
  align-self: center;
  padding: 8vh 0 9vh;
}

.hero-copy h1 {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(3.9rem, 7.5vw, 7.1rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0px;
  line-height: 1;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 18ch;
  margin: 2.15rem 0 0;
  color: var(--brown);
  font-size: clamp(0.98rem, 1.35vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0px;
}

.hero-foot {
  align-items: flex-end;
  text-transform: none;
  letter-spacing: 0px;
  font-size: 0.9rem;
}

.hero-foot p {
  max-width: 340px;
  margin: 0;
  text-align: right;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.22rem;
}

.recognition {
  color: var(--cream);
  background: #2b211b;
}

.recognition-stage {
  min-height: 92svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 48px;
  padding-bottom: 54px;
}

.scene-label,
.find-column-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 620;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.scene-label {
  color: currentColor;
  opacity: 0.56;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.45;
}

.recognition h2 {
  align-self: center;
  margin: 0;
  max-width: 1100px;
  font-size: clamp(3.35rem, 6.45vw, 6.55rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0px;
  line-height: 0.92;
  text-wrap: balance;
}

.recognition-line {
  max-width: 720px;
  margin: 0 0 0 auto;
  color: rgba(244, 236, 225, 0.68);
  font-size: clamp(1.02rem, 1.45vw, 1.45rem);
  letter-spacing: 0px;
  line-height: 1.32;
  text-align: right;
}

.recognition-phrase {
  display: inline-block;
}

.recognition-line.is-reveal-ready .recognition-phrase {
  opacity: 0;
  transform: translateY(12px);
}

.recognition-line.is-reveal-ready.is-revealed .recognition-phrase {
  opacity: 1;
  transform: translateY(0);
  transition-property: opacity, transform;
  transition-duration: 600ms, 600ms;
  transition-timing-function: ease, cubic-bezier(.2, .72, .2, 1);
}

.recognition-line.is-reveal-ready.is-revealed .recognition-phrase:nth-child(2) {
  transition-delay: 110ms;
}

.recognition-line.is-reveal-ready.is-revealed .recognition-phrase:nth-child(3) {
  transition-delay: 220ms;
}

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

/* Product navigation and editorial catalogue, inspired by ARKET's restraint
   while keeping SCENTIKI's own imagery, wordmark and scent artwork. */
.product-page {
  --page: #f4f4f2;
  --paper: #f4f4f2;
  --paper-strong: #ffffff;
  --ink: #111111;
  --ink-soft: #3c3c3a;
  --muted: #6c6c68;
  --line: rgba(17, 17, 17, 0.24);
  --line-soft: rgba(17, 17, 17, 0.12);
  --brown: #4a413b;
  --brown-deep: #111111;
  --focus: rgba(17, 17, 17, 0.28);
  background: var(--page);
}

.product-page .site-header {
  position: sticky;
  background: rgba(244, 244, 242, 0.98);
  border-bottom-color: var(--ink);
  backdrop-filter: none;
}

.product-page .nav { min-height: 64px; }
.product-page .nav-links { color: var(--ink); font-size: 0.78rem; text-transform: uppercase; }
.product-page .nav-links a { text-decoration: none; }
.product-page .nav-links a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.product-page .nav-links a:hover,
.product-page .nav-links a:focus-visible { text-decoration: none; opacity: 0.56; }

.product-page [data-page="find"],
.product-page [data-page="search"],
.product-page [data-page="profile"] { min-height: calc(100svh - 64px); padding-top: clamp(3.5rem, 8vw, 7.5rem); }

.product-page .product-hero {
  width: 100%;
  min-height: calc(100svh - 64px);
  background: #fff;
}

.product-page .product-hero-media { gap: 2px; background: var(--page); }
.product-page .product-hero-media::after {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 2px;
  background: var(--page);
  content: "";
  transform: translateX(-1px);
}
.product-page .product-hero-mark { top: 16%; }
.product-page .product-hero-mark h1 { width: min(14rem, 72%); height: 2rem; }
.product-page .product-hero-mark h1 img {
  filter: brightness(0) invert(96%) sepia(8%) saturate(330%) hue-rotate(344deg) brightness(103%) contrast(96%) drop-shadow(0 1px 2px rgba(17, 17, 17, 0.72));
}
.product-page .product-hero-mark p { color: #fff; font-size: 0.78rem; }
.product-page .hero-find-link { color: #fff; font-size: 0.75rem; text-transform: uppercase; }
.product-page .hero-find-link:hover,
.product-page .hero-find-link:focus-visible { opacity: 0.64; }

.news-section { padding: clamp(4rem, 8vw, 8rem) 0; border-top: 0; }
.news-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.news-heading h2 { margin: 0; color: var(--ink); font-size: clamp(2.25rem, 4.6vw, 5rem); font-weight: 450; line-height: 1; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.news-card { display: grid; grid-template-rows: minmax(22rem, 60vh) auto; background: #e7e7e3; }
.news-card-media { min-height: 0; background-size: cover; background-position: center; }
.news-card-media-earth { background-image: url('/assets/hero/hero-earth.jpg'); background-position: 22% 48%; }
.news-card-media-water { background-image: url('/assets/hero/hero-water.jpg'); background-position: 78% 52%; }
.news-card-copy { min-height: 15rem; padding: 1.25rem 1.25rem 1.5rem; background: #fff; }
.news-card-copy h3 { max-width: 17ch; margin: 0.4rem 0 0.85rem; color: var(--ink); font-size: clamp(1.5rem, 2.5vw, 2.75rem); font-weight: 450; line-height: 1.05; }
.news-card-copy > p:not(.section-kicker) { max-width: 38rem; color: var(--ink-soft); }
.news-card-copy .text-button { display: inline-block; margin-top: 1rem; color: var(--ink); font-size: 0.76rem; text-transform: uppercase; }

.product-page .product-section h2,
.product-page .perfume-dialog h2 { color: var(--ink); font-weight: 450; }
.product-page .section-kicker { color: var(--ink); font-size: 0.68rem; text-transform: uppercase; }
.product-page .product-grid { gap: 2px; }
.product-page .perfume-card { min-height: 0; padding: 0; border-top: 0; background: #fff; }
.product-page .perfume-artwork-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d5c5b4; }
.product-page .scent-artwork { width: 100%; height: 100%; transition: transform 420ms cubic-bezier(.2,.7,.2,1); }
.product-page .perfume-card:hover .scent-artwork { transform: scale(1.018); }
.product-page .perfume-card-copy { position: relative; min-height: 15.25rem; padding: 1rem 1rem 3.5rem; }
.product-page .card-brand { margin-top: 0; color: var(--ink); font-size: 0.66rem; text-transform: uppercase; }
.product-page .perfume-card h3 { color: var(--ink); font-size: 0.98rem; font-weight: 500; }
.product-page .card-meta { min-height: 0; margin-top: 0.35rem; color: var(--muted); font-size: 0.72rem; }
.product-page .note-tags { color: var(--ink-soft); }
.product-page .perfume-card .text-button { position: absolute; bottom: 1rem; left: 1rem; color: var(--ink); font-size: 0.72rem; text-transform: uppercase; }
.product-page .fit-reason { margin: 1rem 0 0; padding: 0; color: var(--ink-soft); background: transparent; }
.product-page .find-product-section .perfume-card { background: #fff; }
.product-page .find-product-section .perfume-card-copy { background: #fff; }

.product-page .find-option { border-color: var(--ink); color: var(--ink); background: transparent; }
.product-page .find-option[aria-pressed="true"] { color: #fff; background: var(--ink); }
.product-page .button-primary { color: #fff; background: #111; }
.product-page .button-primary:hover,
.product-page .button-primary:focus-visible { color: #fff; background: #111; opacity: 0.62; }
.product-page .button-quiet { border-color: #111; color: #111; }
.product-page .button-quiet:hover,
.product-page .button-quiet:focus-visible { color: #111; background: transparent; opacity: 0.62; text-decoration: none; }

@media (max-width: 760px) {
  .product-page .nav { min-height: 60px; }
  .product-page .product-hero { min-height: calc(100svh - 60px); }
  .product-page .product-hero-media { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .product-page .product-hero-media::after { inset: 50% 0 auto; width: auto; height: 2px; transform: translateY(-1px); }
  .product-page .product-hero-mark { top: 12%; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-rows: minmax(19rem, 58vh) auto; }
  .news-card-copy { min-height: 12rem; }
  .product-page .perfume-card-copy { min-height: 14rem; }
}

@media (prefers-reduced-motion: reduce) {
  .product-page .scent-artwork { transition: none; }
}

/* Product copy and Find choices follow the current SCENTIKI app. */
.product-page [hidden] { display: none !important; }
.product-page .section-description { max-width: 38rem; margin: 0.8rem 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.product-page .home-find-cta { max-width: 44rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.product-page .home-find-cta h3 { margin: 0.45rem 0 0.65rem; color: var(--brown-deep); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 500; }
.product-page .home-find-cta > p:not(.section-kicker) { color: var(--ink-soft); line-height: 1.5; }
.product-page .home-find-cta .button { margin-top: 0.5rem; }
.product-page .home-shelf { margin-top: 3.5rem; }
.product-page .home-shelf .section-heading { margin-bottom: 1.35rem; }
.product-page .home-shelf h3 { margin: 0; color: var(--brown-deep); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 500; }
.product-page #home,
.product-page #find,
.product-page #search,
.product-page #profile { scroll-margin-top: 5rem; }

.product-page .find-quiz { max-width: 50rem; }
.product-page .find-progress { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; }
.product-page .find-progress p { margin: 0; color: var(--ink-soft); font-size: 0.8125rem; }
.product-page .find-progress .text-button { min-width: 3rem; text-align: left; }
.product-page .find-progress-track { height: 2px; margin: 0.4rem 0 2rem; background: var(--line); }
.product-page .find-progress-track span { display: block; height: 100%; background: var(--brown-deep); transition: width 180ms ease; }
.product-page .find-form { display: block; max-width: none; }
.product-page .find-form h3 { margin: 0 0 0.45rem; color: var(--brown-deep); font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 500; }
.product-page .find-question-subtitle { margin: 0 0 1.5rem; color: var(--ink-soft); font-size: 1rem; }
.product-page .find-options { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.product-page .find-option { min-height: 44px; padding: 0.65rem 1rem; border: 1px solid var(--line); border-radius: 0; color: var(--ink-soft); background: var(--page); font-size: 0.9rem; text-align: left; }
.product-page .find-option:hover { border-color: var(--brown); }
.product-page .find-option[aria-pressed="true"] { border-color: var(--brown-deep); color: var(--paper); background: var(--brown-deep); }
.product-page .find-more { margin-top: 1rem; }
.product-page .find-more input { display: block; max-width: 22rem; margin-top: 0.85rem; }
.product-page .find-form > .button { margin-top: 1.7rem; }
.product-page .find-form > .button:disabled,
.product-page .find-refine-actions .button:disabled { opacity: 0.45; cursor: not-allowed; }
.product-page .find-results { margin-top: 0; }
.product-page .find-result-controls { max-width: 50rem; margin-bottom: 1.5rem; }
.product-page .find-result-controls .text-button:last-child { text-align: right; }
.product-page .find-result-intro { margin: 0.5rem 0 2rem; color: var(--ink-soft); }
.product-page .find-product-section .perfume-card { display: flex; flex-direction: column; min-height: 17rem; padding-bottom: 0; }
.product-page .find-product-section .perfume-card .text-button { position: static; align-self: flex-start; margin-top: auto; padding-top: 1.1rem; }
.product-page .find-product-section .fit-reason { margin: 1rem 0 0; padding: 0; line-height: 1.45; }
.product-page .find-product-section .fit-reason strong { color: var(--brown-deep); font-weight: 600; }
.product-page .find-refinement { max-width: 50rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.product-page .find-refinement h3 { margin: 0.25rem 0 0.5rem; color: var(--brown-deep); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; }
.product-page .find-refinement > p:not(.section-kicker) { color: var(--ink-soft); }
.product-page .find-follow-up { margin-top: 1.6rem; }
.product-page .find-follow-up h4 { margin: 0 0 0.8rem; font-size: 1rem; font-weight: 500; }
.product-page .find-refine-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }

@media (max-width: 620px) {
  .product-page .find-options { gap: 0.5rem; }
  .product-page .find-option { padding-inline: 0.8rem; font-size: 0.875rem; }
  .product-page .home-find-cta { margin-top: 2rem; }
}

/* Product web refinement: shared SCENTIKI surface, informed by the approved
   editorial direction without reproducing another brand's implementation. */
.product-page {
  --shell: min(1600px, calc(100% - 80px));
  --page-gutter: 40px;
  --product-space: 64px;
}

.product-page .site-header {
  background: var(--page);
  backdrop-filter: none;
}

.product-page .nav { min-height: 68px; }
.product-page .nav-links { gap: 1.15rem; font-size: 0.875rem; }
.product-page .nav-links a { padding-block: 0.35rem; }
.product-page .nav-links a:hover,
.product-page .nav-links a:focus-visible { text-decoration: underline; text-underline-offset: 0.26rem; }

.product-page .button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  transition: opacity 160ms ease;
}

.product-page .button-primary:hover,
.product-page .button-primary:focus-visible { background: var(--brown-deep); opacity: 0.82; }
.product-page .button-quiet:hover,
.product-page .button-quiet:focus-visible { color: var(--brown-deep); background: transparent; text-decoration: underline; text-underline-offset: 0.25rem; }

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 8vw, 10rem);
  padding: var(--product-space) 0;
  border-bottom: 1px solid var(--line);
}

.home-intro h2,
.product-page .product-section h2,
.product-page .perfume-dialog h2 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
}

.home-intro > div:last-child { max-width: 36rem; }
.home-intro > div:last-child > p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.home-intro-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }

.product-page .product-section { padding: var(--product-space) 0; border-top: 0; }
.product-page .home-picks { border-bottom: 1px solid var(--line); }
.product-page #search { border-bottom: 1px solid var(--line); }
.product-page .section-heading { align-items: flex-start; margin-bottom: 2rem; }
.product-page .section-heading h2 { margin-top: 0.35rem; }
.product-page .section-status { max-width: 18rem; font-size: 0.8125rem; line-height: 1.45; }

.product-page .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border: 0;
  background: transparent;
}

.product-page .perfume-card {
  min-height: 15rem;
  padding: 0 0 3.6rem;
  border-top: 1px solid var(--line);
  background: transparent;
}

.product-page .card-brand { margin-top: 0.8rem; font-size: 0.75rem; font-weight: 600; }
.product-page .perfume-card h3 { font-family: inherit; font-size: 1rem; font-weight: 500; line-height: 1.35; }
.product-page .card-meta { font-size: 0.8125rem; }
.product-page .note-tags { gap: 0.3rem; margin-top: 0.75rem; }
.product-page .note-tags span,
.product-page .tag-button { padding: 0; border: 0; font-size: 0.75rem; }
.product-page .note-tags span:not(:last-child)::after { content: ","; margin-right: 0.3rem; }
.product-page .perfume-card .text-button { right: auto; bottom: 0; left: 0; font-size: 0.8125rem; }
.product-page .home-picks-link { display: inline-block; margin-top: 2rem; }

.product-page .find-product-section { color: var(--ink); background: transparent; border-bottom: 1px solid var(--line); }
.product-page .find-product-section h2,
.product-page .find-product-section .section-kicker,
.product-page .find-product-section .section-status { color: inherit; }
.product-page .find-form { max-width: 64rem; }
.product-page .find-form > label,
.product-page .find-form fieldset { color: var(--ink-soft); }
.product-page .find-form input,
.product-page .find-form select { border-color: var(--line); color: var(--ink); background: var(--paper-strong); }
.product-page .find-form .choice-row input { accent-color: var(--brown-deep); }
.product-page .find-result-heading p { color: var(--ink-soft); }
.product-page .find-product-section .product-grid { border: 0; background: transparent; }
.product-page .find-product-section .perfume-card,
.product-page .fit-reason { background: transparent; }
.product-page .fit-reason { margin-top: -0.5rem; padding: 0 0 1rem; color: var(--ink-soft); font-size: 0.8125rem; }

.product-page .account-form,
.product-page .account-panel { padding: 0; border: 0; background: transparent; }
.product-page .account-panel { border-top: 1px solid var(--line); padding-top: 1rem; }

@media (max-width: 900px) {
  .product-page { --shell: min(100% - 48px, 1600px); --page-gutter: 24px; }
  .product-page .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 620px) {
  .product-page { --shell: min(100% - 32px, 1600px); --page-gutter: 16px; --product-space: 40px; }
  .product-page .nav { min-height: 60px; }
  .product-page .nav-links { gap: 0; }
  .home-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .product-page .perfume-card { min-height: 14.5rem; }
  .product-page .section-heading { display: grid; gap: 0.75rem; }
  .product-page .section-status { max-width: none; text-align: left; }
}

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

/* Product platform surface. It reuses the established warm paper, wordmark,
   header and footer rather than making the web product mimic the mobile app. */
.product-page { letter-spacing: 0; }
.product-hero { position: relative; width: min(1600px, 100%); min-height: clamp(29rem, 51vw, 43rem); margin: 0 auto; overflow: hidden; background: var(--brown-deep); }
.product-hero-media { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--page); }
.product-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-mark { position: absolute; top: 18%; left: 50%; z-index: 1; width: min(22rem, calc(100% - 3rem)); transform: translateX(-50%); text-align: center; }
.product-hero-mark h1 { display: flex; align-items: center; justify-content: center; width: min(10.5rem, 62%); height: 1.55rem; margin: 0 auto; overflow: hidden; line-height: 0; }
.product-hero-mark h1 img { flex: none; width: 100%; height: auto; filter: invert(1); }
.product-hero-mark p { margin: 1rem 0 0; color: var(--cream); font-size: 0.84rem; font-weight: 500; line-height: 1.35; }
.hero-find-link { display: inline-block; margin-top: 0.9rem; padding-bottom: 0.18rem; border-bottom: 1px solid currentColor; color: var(--cream); font-size: 0.76rem; font-weight: 650; }
.product-section h2, .perfume-dialog h2 { max-width: 13ch; color: var(--brown-deep); font-size: clamp(2.25rem, 5.2vw, 5.3rem); font-weight: 500; line-height: 0.98; letter-spacing: 0; }
.hero-actions, .form-actions, .detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.7rem 1.1rem; border: 1px solid var(--brown-deep); border-radius: 0; font-size: 0.82rem; font-weight: 650; letter-spacing: 0; transition: background-color 140ms ease, color 140ms ease; }
.button-primary { color: var(--paper); background: var(--brown-deep); }.button-primary:hover,.button-primary:focus-visible { color: var(--paper); background: var(--brown); }.button-quiet { color: var(--brown-deep); background: transparent; }.button-quiet:hover,.button-quiet:focus-visible { color: var(--paper); background: var(--brown-deep); }.text-button { padding: 0; border: 0; color: var(--brown-deep); background: transparent; font-weight: 650; text-decoration: underline; text-underline-offset: 0.22em; }
.product-section { padding: clamp(3.75rem, 8vw, 7rem) 0; border-top: 1px solid var(--line); }.find-product-section { color: var(--paper); background: var(--brown-deep); }.find-product-section h2,.find-product-section .section-kicker,.find-product-section .section-status { color: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }.section-heading h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.8rem); }.section-status { max-width: 20rem; margin: 0; color: var(--muted); font-size: 0.86rem; text-align: right; }
.catalogue-controls,.find-form,.account-form { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0.8rem; align-items: end; }.find-form { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 58rem; }.find-form fieldset { grid-column: 1 / -1; }.account-form { grid-template-columns: minmax(0,1fr) auto; }.catalogue-controls label,.find-form > label,.account-form label { display: grid; gap: 0.38rem; color: var(--ink-soft); font-size: 0.72rem; font-weight: 650; }.find-form > label,.find-form fieldset { color: var(--cream); }
input,select,textarea { width: 100%; min-height: 2.75rem; padding: 0.65rem 0.72rem; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper-strong); font: inherit; letter-spacing: 0; }textarea { min-height: 7rem; resize: vertical; }.find-form input,.find-form select { border-color: rgba(255,255,255,0.34); color: var(--paper); background: rgba(255,255,255,0.08); }input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
fieldset { margin: 0; padding: 0; border: 0; }legend { margin-bottom: 0.55rem; font-size: 0.72rem; font-weight: 650; }.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }.choice-row label,.consent-row { display: inline-flex; align-items: center; gap: 0.42rem; font-size: 0.82rem; }.choice-row input,.consent-row input { width: 1rem; min-height: auto; accent-color: var(--brown); }.find-form .choice-row input { accent-color: var(--cream); }.catalogue-result-meta { margin: 1.25rem 0; color: var(--muted); font-size: 0.82rem; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }.perfume-card { position: relative; min-height: 14rem; padding: 1.2rem; background: var(--page); }.card-brand,.card-meta,.fit-reason { margin: 0; }.card-brand { margin-top: 0; color: var(--brown); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }.perfume-card h3 { margin: 0.32rem 0; color: var(--brown-deep); font-family: Georgia,serif; font-size: 1.35rem; font-weight: 400; line-height: 1.08; }.card-meta { min-height: 1.4rem; color: var(--muted); font-size: 0.75rem; }.perfume-card .text-button { position: absolute; right: 1.2rem; bottom: 1.1rem; font-size: 0.74rem; }.note-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.9rem; }.note-tags span,.tag-button { padding: 0.22rem 0.38rem; border: 1px solid var(--line); color: var(--ink-soft); background: transparent; font-size: 0.67rem; }.tag-button { cursor: pointer; }.load-more { display: block; margin: 1.5rem auto 0; }.empty-state { grid-column: 1 / -1; padding: 2.5rem 1rem; color: var(--ink-soft); text-align: center; }.empty-state h3 { margin-bottom: 0.35rem; color: var(--brown-deep); font-size: 1.2rem; }
.find-results { margin-top: 2rem; }.find-result-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }.find-result-heading p { margin: 0; color: var(--cream); font-size: 0.84rem; }.find-product-section .product-grid { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.16); }.find-product-section .perfume-card { background: #f8f4ed; }.fit-reason { margin-top: -0.8rem; padding: 0 1.2rem 1rem; color: var(--brown); background: #f8f4ed; font-size: 0.72rem; }
.account-grid { display: grid; grid-template-columns: minmax(18rem,1fr) minmax(15rem,0.75fr); gap: 1rem; align-items: start; }.account-form,.account-panel { padding: 1.25rem; border: 1px solid var(--line); background: var(--paper); }.account-panel { min-height: 8rem; color: var(--ink-soft); font-size: 0.86rem; }.account-panel .text-button { display: block; margin-top: 0.7rem; }.form-message { min-height: 1.25rem; margin: 0.6rem 0 0; color: var(--brown); font-size: 0.78rem; }.saved-list { display: grid; gap: 0.55rem; }
.perfume-dialog { width: min(46rem,calc(100% - 2rem)); max-height: min(48rem,calc(100vh - 2rem)); padding: clamp(1.25rem,4vw,3rem); border: 1px solid var(--line); color: var(--ink); background: var(--page); overflow: auto; }.perfume-dialog::backdrop { background: rgba(38,29,23,0.42); }.perfume-dialog h2 { margin: 0.2rem 0 0.55rem; font-size: clamp(2rem,4vw,3.5rem); }.dialog-close { position: absolute; top: 0.65rem; right: 0.85rem; border: 0; color: var(--brown-deep); background: transparent; font-size: 2rem; line-height: 1; }.detail-meta { color: var(--muted); font-size: 0.84rem; }.detail-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 1.5rem; border: 1px solid var(--line); background: var(--line); }.detail-columns section { padding: 0.9rem; background: var(--paper); }.detail-columns h3,.similar-section h3,.review-section h3 { margin: 0 0 0.42rem; color: var(--brown); font-size: 0.7rem; text-transform: uppercase; }.detail-columns p,.similar-section p,.review-section p { margin: 0; color: var(--ink-soft); font-size: 0.84rem; }.similar-section,.review-section { margin-top: 1.55rem; padding-top: 1rem; border-top: 1px solid var(--line); }.review { margin-top: 0.7rem; padding: 0.75rem 0; border-top: 1px solid var(--line-soft); }.review strong { color: var(--brown); letter-spacing: 0.08em; }.integration-note { margin-top: 1.5rem; color: var(--muted); font-size: 0.72rem; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.catalogue-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }.catalogue-controls > .button { width: 100%; } }
@media (max-width: 620px) { .product-hero { min-height: 34rem; }.product-hero-media { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; }.product-hero-mark { top: 15%; width: min(18rem, calc(100% - 2.5rem)); }.product-hero-mark h1 { width: min(9rem, 60%); }.product-hero-mark p { font-size: 0.84rem; }.section-heading { display: block; }.section-status { margin-top: 0.8rem; text-align: left; }.catalogue-controls,.find-form,.account-form,.account-grid { grid-template-columns: 1fr; }.product-grid,.detail-columns { grid-template-columns: 1fr; }.card-brand { margin-top: 1.25rem; }.perfume-card { min-height: 12rem; }.find-result-heading { align-items: flex-start; gap: 0.75rem; } }

.find-scene {
  padding: 128px 0 150px;
  background: var(--paper);
}

.find-heading {
  margin-bottom: 88px;
}

.find-heading h2 {
  margin: 1.35rem 0 0;
  font-size: clamp(3.55rem, 6.5vw, 6.1rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0px;
  line-height: 0.93;
  text-wrap: balance;
}

.find-heading > p:last-child {
  margin: 1.35rem 0 0;
  color: var(--brown);
  font-size: clamp(0.97rem, 1.27vw, 1.35rem);
  letter-spacing: 0px;
}

.find-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.find-prompts {
  padding: 34px 48px 34px 0;
  border-right: 1px solid var(--line);
}

.find-column-label {
  color: var(--muted);
}

.find-prompt {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 27px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  background: transparent;
  text-align: left;
  transition: color 160ms ease, opacity 160ms ease;
}

.find-prompt:last-child {
  border-bottom: 0;
}

.find-prompt span {
  padding-top: 0.18rem;
  font-size: 0.68rem;
  letter-spacing: 0px;
}

.find-prompt strong {
  max-width: 430px;
  font-size: clamp(1.08rem, 1.45vw, 1.5rem);
  font-weight: 450;
  letter-spacing: 0px;
  line-height: 1.25;
}

.find-prompt:hover,
.find-prompt:focus-visible,
.find-prompt.is-active {
  color: var(--ink);
}

.find-prompt:not(.is-active) {
  opacity: 0.66;
}

.find-reading {
  min-height: 650px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  padding: 34px 0 0 64px;
  transition: opacity 140ms ease, transform 140ms ease;
}

.find-reading.is-changing {
  opacity: 0.42;
  transform: translateY(3px);
}

.find-reading-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.demo-label {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.find-reading blockquote {
  max-width: 760px;
  margin: 72px 0 42px;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.75vw, 3.1rem);
  font-weight: 450;
  letter-spacing: 0px;
  line-height: 1.08;
  text-wrap: balance;
}

.signal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-bottom: 46px;
}

.signal-line span {
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown);
  background: transparent;
  font-size: 0.66rem;
}

.direction-reveal {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  gap: 2.5rem;
  align-items: end;
  margin-left: -64px;
  padding: 44px 0 46px 64px;
  border-top: 1px solid var(--line);
}

.direction-reveal h3 {
  margin: 0;
  font-size: clamp(2.45rem, 4.0vw, 4.35rem);
  font-weight: 450;
  letter-spacing: 0px;
  line-height: 0.94;
  text-wrap: balance;
}

.direction-reveal .find-column-label {
  font-weight: 400;
}

.direction-subtitle {
  margin: 0.9rem 0 0;
  color: var(--brown);
  font-size: clamp(0.82rem, 0.99vw, 1rem);
  letter-spacing: 0px;
}

.direction-reason {
  max-width: 350px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.discovery-scene {
  color: var(--cream);
  background: #2b211b;
}

.discovery-stage {
  min-height: 95svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 64px;
  padding-bottom: 60px;
}

.discovery-copy h2 {
  margin: 1.55rem 0 0;
  max-width: 900px;
  font-size: clamp(3.3rem, 6vw, 5.95rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0px;
  line-height: 0.92;
  text-wrap: balance;
}

.scent-path {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 74px 0;
  border-top: 1px solid rgba(244, 236, 225, 0.16);
  border-bottom: 1px solid rgba(244, 236, 225, 0.16);
}

.scent-path div {
  display: grid;
  gap: 0.7rem;
}

.scent-path span {
  color: rgba(244, 236, 225, 0.54);
  font-size: 0.68rem;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.scent-path strong {
  font-size: clamp(1.6rem, 2.5vw, 3rem);
  font-weight: 430;
  letter-spacing: 0px;
}

.path-arrow {
  visibility: hidden;
  font-size: 1.2rem !important;
  opacity: 0.62;
}

.discovery-note {
  max-width: 560px;
  margin: 0 0 0 auto;
  color: rgba(244, 236, 225, 0.62);
  font-size: clamp(0.98rem, 1.22vw, 1.18rem);
  letter-spacing: 0px;
  text-align: right;
}

.early-section {
  color: var(--ink);
  background: var(--page);
}

.access-stage {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 8vw;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.access-copy h2 {
  margin: 1.55rem 0 0;
  font-size: clamp(3.3rem, 5.85vw, 5.85rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0px;
  line-height: 0.92;
  text-wrap: balance;
}

.access-copy > p:last-child {
  max-width: 430px;
  margin: 2rem 0 0;
  color: var(--brown);
  font-size: clamp(0.9rem, 1.14vw, 1.14rem);
  letter-spacing: 0px;
}

/* SCENTIKI display typography: quiet, controlled and unsynthesized. */
.hero-copy h1,
.recognition h2,
.find-heading h2,
.discovery-copy h2,
.access-copy h2 {
  font-weight: 450;
  font-synthesis: none;
  font-kerning: normal;
  letter-spacing: 0px;
  line-height: 1.02;
}

.find-reading blockquote {
  font-weight: 450;
  font-synthesis: none;
  font-kerning: normal;
  letter-spacing: 0px;
  line-height: 1.08;
}


.early-form {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.form-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  border-bottom: 1px solid var(--ink);
}

.email-field {
  min-width: 0;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 62px;
  padding: 0.8rem 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
}

input[type="email"] {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  letter-spacing: 0px;
}

input[type="email"]::placeholder {
  color: var(--muted);
}

input[aria-invalid="true"] {
  box-shadow: inset 0 -2px 0 var(--danger);
}

.button {
  min-height: 62px;
  padding: 0.8rem 0 0.8rem 1.5rem;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 650;
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.field-error,
.privacy-note,
.form-message {
  margin: 0;
  font-size: 0.82rem;
}

.field-error {
  min-height: 1.15rem;
  color: var(--danger);
}

.consent-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 430;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin: 0.12rem 0 0;
  accent-color: var(--brown-deep);
}

.privacy-note {
  max-width: 520px;
  color: var(--muted);
}

.privacy-note a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-message {
  min-height: 1.4rem;
  color: var(--ink-soft);
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
  background: var(--page);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
}

.site-footer .brand-wordmark {
  display: block;
  flex: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.site-footer .brand { width: clamp(7.2rem, 8vw, 8.8rem); height: 1.3rem; justify-content: center; overflow: hidden; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* Legal and support pages */

.legal-main {
  padding: 78px 0 110px;
  background: var(--paper);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  gap: 7vw;
  align-items: start;
}

.legal-kicker {
  position: sticky;
  top: 116px;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--brown);
  font-size: 0.6rem;
  font-weight: 620;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.legal-kicker h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3.6vw, 4.1rem);
  font-weight: 460;
  letter-spacing: 0px;
  line-height: 0.98;
  text-wrap: balance;
}

.legal-kicker p {
  margin-top: 1.6rem;
  color: var(--muted);
}

.legal-content {
  padding: 0;
  background: transparent;
}

.legal-content section {
  padding: 0 0 2rem;
}

.legal-content section + section {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 590;
  letter-spacing: 0px;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  padding-left: 1.15rem;
}

.legal-content a,
.legal-kicker a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.support-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line-soft);
}

.support-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.support-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
}

@media (max-width: 1020px) {
  :root {
    --shell: min(100% - 48px, 1280px);
  }

  .find-stage {
    grid-template-columns: 1fr;
  }

  .find-prompts {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .find-prompt strong {
    max-width: 680px;
  }

  .find-reading {
    min-height: 600px;
    padding-left: 0;
  }

  .direction-reveal {
    margin-left: 0;
    padding-left: 0;
  }

  .access-stage {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .early-form {
    max-width: 760px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .legal-kicker {
    position: static;
    max-width: 720px;
  }
}

.seo-detail {
  min-height: 70vh;
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: 5rem;
}

.seo-detail > h1 { max-width: 18ch; }
.seo-detail > section { margin-top: 2.5rem; max-width: 56rem; }

.seo-intro {
  max-width: 48rem;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.seo-scent-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  border-top: 1px solid var(--line);
  margin: 2rem 0 3rem;
}

.seo-scent-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.seo-scent-list a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.seo-scent-list span {
  color: var(--muted);
  text-align: right;
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 1280px);
  }

  .site-header {
    backdrop-filter: none;
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0.7rem 15px 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--page);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    color: var(--brown);
    font-size: 0.72rem;
  }

  .nav > .brand {
    font-size: 1.02rem;
    letter-spacing: 0px;
  }

  .hero,
  .hero-stage {
    min-height: calc(100svh - 66px);
  }

  .hero-stage {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  .hero-index {
    font-size: 0.61rem;
  }

  .section-kicker {
    font-size: 0.61rem;
  }

  .hero-index span:last-child {
    text-align: right;
  }

  .hero-copy {
    padding: 6vh 0 8vh;
  }

  .hero-copy h1 {
    font-size: clamp(3.25rem, calc(2.68rem + 2.45vw), 3.9rem);
    line-height: 1.02;
  }

  .hero-copy p {
    margin-top: 1.4rem;
    font-size: 0.82rem;
  }

  .hero-foot {
    display: grid;
    gap: 1.3rem;
  }

  .hero-foot p {
    max-width: 270px;
    margin-left: auto;
    font-size: 0.78rem;
    text-align: right;
  }

  .recognition-stage {
    min-height: 88svh;
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .recognition h2 {
    font-size: clamp(2.9rem, calc(2.55rem + 1.7vw), 3.35rem);
  }

  .recognition-line {
    max-width: 330px;
    font-size: 0.98rem;
  }

  .find-scene {
    padding: 92px 0 104px;
  }

  .find-heading {
    margin-bottom: 56px;
  }

  .find-heading h2 {
    font-size: clamp(3rem, calc(2.59rem + 2vw), 3.55rem);
  }

  .find-heading > p:last-child {
    font-size: 0.96rem;
  }

  .find-prompts {
    padding-top: 25px;
    padding-bottom: 12px;
  }

  .find-prompt {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 22px 0;
  }

  .find-prompt strong {
    font-size: 0.98rem;
  }

  .find-reading {
    min-height: 570px;
    padding-top: 26px;
  }

  .find-reading blockquote {
    margin: 54px 0 36px;
    font-size: clamp(1.86rem, calc(2.38rem - 1.05vw), 2.15rem);
  }

  .signal-line {
    padding-bottom: 36px;
  }

  .direction-reveal {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 34px 0 38px;
  }

  .direction-reveal h3 {
    font-size: clamp(2.58rem, calc(3.2rem - 1.3vw), 2.9rem);
  }

  .direction-reason {
    max-width: 100%;
  }

  .discovery-stage {
    min-height: 92svh;
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .discovery-copy h2 {
    font-size: clamp(2.9rem, calc(2.59rem + 1.5vw), 3.3rem);
  }

  .scent-path {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 42px 0;
  }

  .path-arrow {
    transform: rotate(90deg);
    width: fit-content;
    margin-left: 0.2rem;
  }

  .scent-path strong {
    font-size: 2.05rem;
  }

  .discovery-note {
    max-width: 320px;
    font-size: 0.98rem;
  }

  .access-stage {
    min-height: auto;
    gap: 4rem;
    padding-top: 92px;
    padding-bottom: 96px;
  }

  .access-copy h2 {
    font-size: clamp(3rem, calc(2.85rem + 1vw), 3.3rem);
  }

  .access-copy > p:last-child {
    font-size: 0.94rem;
  }

  .form-inline {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  input[type="email"] {
    min-height: 58px;
    border-bottom: 1px solid var(--ink);
    font-size: 1.25rem;
  }

  .button {
    width: fit-content;
    min-height: 54px;
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .copyright {
    white-space: normal;
  }

  .legal-main {
    padding: 54px 0 84px;
  }
}

@media (max-width: 380px) {
  :root {
    --shell: min(100% - 24px, 1280px);
  }

  .brand {
    font-size: 0.92rem;
  }

  .find-reading-head {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* Final product-surface overrides intentionally live last. */
.product-page .site-header { background: rgba(244, 244, 242, 0.98); border-bottom: 1px solid #111; }
.product-page .nav { min-height: 64px; }
.product-page .nav-links { color: #111; font-size: 0.78rem; text-transform: uppercase; }
.product-page .nav-links a:hover,
.product-page .nav-links a:focus-visible { text-decoration: none; opacity: 0.56; }
.product-page .nav-links a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.product-page [data-page="find"],
.product-page [data-page="search"],
.product-page [data-page="profile"] { min-height: calc(100svh - 64px); padding-top: clamp(3.5rem, 8vw, 7.5rem); }
.product-page .product-hero { width: 100%; min-height: calc(100svh - 64px); background: #fff; }
.product-page .product-hero-media { gap: 2px; background: var(--page); }
.product-page .product-hero-mark { top: 16%; }
.product-page .product-hero-mark h1 { width: min(14rem, 72%); height: 2rem; }
.product-page .product-hero-mark p,
.product-page .hero-find-link { color: #fff; }
.product-page .product-grid { gap: 2px; border: 0; background: transparent; }
.product-page .perfume-card,
.product-page .find-product-section .perfume-card { display: block; min-height: 0; padding: 0; border: 0; background: #fff; }
.product-page .perfume-artwork-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d5c5b4; }
.product-page .scent-artwork { width: 100%; height: 100%; }
.product-page .perfume-card-copy,
.product-page .find-product-section .perfume-card-copy { position: relative; min-height: 15.25rem; padding: 1rem 1rem 3.5rem; background: #fff; }
.product-page .card-brand { margin-top: 0; color: #111; }
.product-page .perfume-card h3 { color: #111; font-size: 0.98rem; }
.product-page .card-meta { min-height: 0; margin-top: 0.35rem; }
.product-page .perfume-card .text-button,
.product-page .find-product-section .perfume-card .text-button { position: absolute; bottom: 1rem; left: 1rem; margin-top: 0; padding-top: 0; }
.product-page .find-product-section .fit-reason { margin: 1rem 0 0; padding: 0; background: transparent; }
.product-page .find-option { border-color: #111; color: #111; background: transparent; }
.product-page .find-option[aria-pressed="true"] { border-color: #111; color: #fff; background: #111; }

@media (max-width: 760px) {
  .product-page .nav { min-height: 60px; }
  .product-page .product-hero { min-height: calc(100svh - 60px); }
  .product-page .product-hero-media { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .product-page .product-hero-mark { top: 12%; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-rows: minmax(19rem, 58vh) auto; }
}

/* Find is a guided editorial experience, not a generic form. */
.product-page .find-experience { display: block; }
.product-page .find-main { width: min(100%, 60rem); min-width: 0; margin-inline: auto; }
.product-page .find-main > .section-heading { margin-bottom: clamp(3rem, 7vw, 6rem); }
.product-page .find-main > .section-heading h2 { max-width: 10ch; font-size: clamp(3.1rem, 6vw, 6.8rem); line-height: 0.95; }
.product-page .find-quiz { max-width: none; }
.product-page .find-progress { border-bottom: 1px solid var(--line); }
.product-page .find-progress-track { height: 1px; margin: -1px 0 clamp(2.5rem, 5vw, 4.5rem); background: transparent; }
.product-page .find-progress-track span { background: #111; }
.product-page .find-form h3 { max-width: 16ch; font-size: clamp(2rem, 3.4vw, 3.75rem); line-height: 1; }
.product-page .find-question-subtitle { margin-bottom: 2rem; }
.product-page .find-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.product-page .find-option { min-height: 58px; padding: 0.9rem 0.3rem; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font-size: clamp(0.95rem, 1.2vw, 1.15rem); text-align: left; transition: padding 160ms ease, opacity 160ms ease, background 160ms ease; }
.product-page .find-option:nth-child(odd) { padding-right: 1.25rem; }
.product-page .find-option:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.product-page .find-option:hover { padding-left: 0.75rem; border-color: var(--line); opacity: 0.62; }
.product-page .find-option[aria-pressed="true"] { padding-left: 0.75rem; border-color: #111; color: #fff; background: #111; }
.product-page .find-form > .button { margin-top: 2.25rem; min-width: 9rem; }
.product-page .find-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Search behaves like a considered catalogue instrument. */
.product-page .search-heading { margin-bottom: clamp(3rem, 7vw, 6rem); }
.product-page .search-heading h2 { max-width: none; font-size: clamp(3.4rem, 7vw, 7.8rem); line-height: 0.92; }
.product-page .catalogue-controls { display: block; }
.product-page .search-command { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding: 1rem 0; border-top: 1px solid #111; border-bottom: 1px solid #111; }
.product-page .search-query input { min-height: 4.25rem; padding: 0; border: 0; color: #111; background: transparent; font-size: clamp(1rem, 1.65vw, 1.35rem); font-weight: 430; }
.product-page .search-query input::placeholder { color: #777771; opacity: 1; }
.product-page .search-command-actions { display: flex; align-items: center; gap: 2rem; padding-bottom: 0.85rem; }
.product-page .search-command-actions .text-button { color: #111; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
.product-page .search-sort { display: flex; align-items: center; gap: 0.65rem; color: #111; font-size: 0.7rem; text-transform: uppercase; white-space: nowrap; }
.product-page .search-sort select { width: auto; min-height: 2rem; padding: 0 1.5rem 0 0; border: 0; color: #111; background: transparent; font-size: 0.75rem; }
.product-page .search-suggestions { position: absolute; top: calc(100% + 1px); right: 0; left: 0; z-index: 20; padding: 0.6rem 1rem 1rem; border-bottom: 1px solid #111; background: #fff; box-shadow: 0 16px 30px rgba(0,0,0,0.08); }
.product-page .search-suggestion-label,
.product-page .search-suggestion-empty { margin: 0.45rem 0; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; }
.product-page .search-suggestions button { width: 100%; display: flex; justify-content: space-between; gap: 2rem; padding: 0.7rem 0; border: 0; border-top: 1px solid var(--line-soft); color: #111; background: transparent; text-align: left; }
.product-page .search-suggestions button:hover { opacity: 0.55; }
.product-page .search-suggestions small { color: var(--muted); }
.product-page .search-filter-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 1rem; align-items: end; padding: 1.25rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.product-page .search-filter-panel > label { display: grid; gap: 0.4rem; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; }
.product-page .search-filter-panel select { border-color: var(--line); background: transparent; }
.product-page .search-filter-actions { display: flex; align-items: center; gap: 1rem; }
.product-page .search-filter-actions .button { min-height: 2.75rem; padding: 0.65rem 1rem; }
.product-page .search-result-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin: 2rem 0 1rem; }
.product-page .search-result-heading p { margin: 0; }
.product-page .search-result-heading .section-status { max-width: none; color: var(--muted); font-size: 0.72rem; }

@media (max-width: 900px) {
  .product-page .search-command { grid-template-columns: 1fr; gap: 0; }
  .product-page .search-command-actions { justify-content: space-between; padding-bottom: 0.5rem; }
  .product-page .search-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .product-page .find-main > .section-heading h2 { font-size: clamp(2.7rem, 14vw, 4.3rem); }
  .product-page .find-options { grid-template-columns: 1fr; }
  .product-page .find-option:nth-child(even) { padding-left: 0.3rem; border-left: 0; }
  .product-page .find-results .product-grid { grid-template-columns: 1fr; }
  .product-page .search-heading h2 { font-size: clamp(3rem, 17vw, 5rem); }
  .product-page .search-query input { min-height: 3.75rem; font-size: 1.05rem; }
  .product-page .search-command-actions { align-items: flex-end; }
  .product-page .search-sort { display: grid; gap: 0.25rem; }
  .product-page .search-filter-panel { grid-template-columns: 1fr; }
  .product-page .search-filter-actions { justify-content: space-between; }
  .product-page .search-result-heading { display: grid; gap: 0.4rem; }
}

/* Refined product surfaces: quieter headings and editorial details. */
.product-page .find-main > .section-heading h2 {
  max-width: 15ch;
  font-size: clamp(2.15rem, 3.7vw, 4.25rem);
  line-height: 1;
}

.product-page .search-heading h2 {
  font-size: clamp(2.35rem, 4.25vw, 4.8rem);
  line-height: 0.98;
}

.detail-editorial {
  margin-top: 2rem;
  border-bottom: 1px solid var(--line);
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.detail-section > h3,
.note-row h4 {
  margin: 0;
  color: var(--brown);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-section > p,
.note-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.accord-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
}

.accord-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.2;
}

.accord-chip > span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #9b9186;
}

.accord-citrus > span { background: #d4a62e; }
.accord-fresh > span { background: #6f9bab; }
.accord-green > span { background: #788452; }
.accord-floral > span { background: #bd7d8b; }
.accord-fruity > span { background: #a85d6c; }
.accord-woody > span { background: #846044; }
.accord-amber > span { background: #ae6942; }
.accord-spicy > span { background: #9d5138; }
.accord-gourmand > span { background: #b4814d; }
.accord-powdery > span { background: #9d86a5; }
.accord-musky > span { background: #a49f96; }
.accord-smoky > span { background: #504c49; }
.accord-leather > span { background: #583b2f; }
.accord-creamy > span { background: #e7e4dc; box-shadow: 0 0 0 1px rgba(17,17,17,0.14); }
.accord-clean > span { background: #bdcacb; }
.accord-aromatic > span { background: #71836e; }
.accord-neutral > span { background: #958a7d; }

.house-link {
  width: fit-content;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.house-link:hover,
.house-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.product-page .find-option-toned {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.product-page .find-option-toned::before {
  content: '';
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--option-tone);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.product-page .find-option-toned:hover {
  background: color-mix(in srgb, var(--option-tone) 8%, transparent);
}

.product-page .find-option-toned[aria-pressed="true"] {
  border-color: var(--option-tone);
  color: #fff;
  background: var(--option-tone);
}

.product-page .find-option-toned[aria-pressed="true"]::before {
  background: #fff;
  box-shadow: none;
}

.note-pyramid {
  display: grid;
  gap: 0;
}

.note-list {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.note-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.25fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-soft);
}

.note-row:first-child {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 620px) {
  .product-page .find-main > .section-heading h2,
  .product-page .search-heading h2 {
    font-size: clamp(2.2rem, 10.5vw, 3.25rem);
  }

  .detail-section {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .note-row {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }
}

/* Profile follows the site's quiet editorial layout. */
.perfume-artwork-wrap { position: relative; }
.favorite-button { position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.favorite-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.favorite-button:disabled { opacity: .5; cursor: wait; }
.account-grid.is-signed-in { display: block; }
.account-grid.is-signed-in .account-panel { border-top: 0; padding-top: 0; }
.account-grid { grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr); gap: clamp(3rem, 7vw, 7rem); }
.account-access { min-width: 0; border: 0; background: transparent; }
.account-access .account-form { width: 100%; max-width: 48rem; padding: clamp(2rem, 4vw, 3.25rem) 0 0; border: 0; background: transparent; }
.account-access .account-form[hidden] { display: none; }
.account-methods { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2.5rem); padding: 0; border-bottom: 1px solid var(--line); }
.account-methods .text-button { position: relative; margin: 0 0 -1px; padding: 0 0 .9rem; border-bottom: 1px solid transparent; color: var(--muted); font-size: .82rem; font-weight: 500; text-decoration: none; }
.account-methods .text-button:hover,.account-methods .text-button:focus-visible { color: var(--ink); }
.account-methods .text-button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); box-shadow: none; }
.account-access .account-form { grid-template-columns: 1fr; gap: 1.15rem; align-items: start; }
.account-access [data-signup-form] { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
.account-access [data-signup-form] > label:first-child,.account-access [data-signup-form] > .password-guidance,.account-access [data-signup-form] > .form-actions,.account-access [data-signup-form] > .form-message { grid-column: 1 / -1; }
.account-access .account-form label { gap: .55rem; color: var(--ink); font-size: .74rem; font-weight: 500; }
.account-access .account-form input { min-height: 3.15rem; padding: .78rem .9rem; border: 1px solid var(--line); background: transparent; font-size: .9rem; line-height: 1.25; }
.account-access .account-form input:focus { border-color: var(--ink); }
.password-field { position: relative; display: block; width: 100%; }
.password-field > input { width: 100%; padding-right: 3rem !important; }
.password-visibility { position: absolute; top: 50%; right: .55rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; transform: translateY(-50%); }
.password-visibility:hover,.password-visibility:focus-visible { color: var(--ink); background: var(--line-soft); }
.password-visibility svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.45; }
.password-visibility[aria-pressed="true"] svg { opacity: .6; }
.account-access .form-actions { margin-top: .65rem; }
.auth-challenge { padding: 1.25rem 0 0; }
.auth-challenge[hidden] { display: none; }
.auth-challenge p { margin: 0 0 .65rem; color: var(--muted); font-size: .75rem; }
.account-access .button { min-width: 10rem; font-size: .78rem; }
.account-panel { min-height: 0; padding: 1.35rem 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; line-height: 1.6; }
.account-panel-title { margin: 0 0 .65rem; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.account-panel .text-button { width: fit-content; }
.password-guidance { grid-column: 1 / -1; max-width: 34rem; margin: -.15rem 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }
.similar-list { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.similar-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line-soft); }
.similar-name { max-width: 28rem; color: var(--ink); font-size: .82rem; font-weight: 450; line-height: 1.35; text-align: left; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.similar-votes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem; }
.similar-votes .text-button { font-size: .7rem; }
.similar-votes .text-button[aria-pressed="true"] { color: var(--brown); text-decoration: underline; text-underline-offset: 0.22em; }
.similar-suggestion { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.7rem; align-items: end; margin-top: 1rem; }
.similar-suggestion label,.review-form label { display: grid; gap: 0.35rem; color: var(--ink-soft); font-size: 0.76rem; }
.similar-suggestion .form-message { grid-column: 1 / -1; }
.similar-search-results { position: absolute; z-index: 4; top: calc(100% - 2rem); left: 0; width: min(30rem, 100%); padding: 0.45rem; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 0.7rem 1.7rem rgba(38,29,23,0.12); }
.similar-search-results .text-button { display: block; width: 100%; padding: 0.55rem; text-align: left; }
.review-form { display: grid; gap: 0.9rem; }
.review-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.review-form .consent-row { display: flex; align-items: flex-start; }
.dialog-back,.review-back,.refinement-back { display: inline-flex; margin: 0 0 1.35rem; color: var(--muted); font-size: .72rem; text-decoration: none; }
.detail-navigation { display: block; width: 100%; margin: 0 0 1.6rem; }
.detail-navigation .dialog-back { display: flex; width: fit-content; margin: 0; }
.detail-house { display: block; width: fit-content; margin: 0 0 .55rem; }
.dialog-back:hover,.dialog-back:focus-visible,.review-back:hover,.review-back:focus-visible,.refinement-back:hover,.refinement-back:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.review-intro { max-width: 36rem; margin: -.15rem 0 .85rem !important; }
.review-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; margin-top: .8rem; }
.review-photos img { display: block; width: 100%; aspect-ratio: 1; border: 1px solid var(--line-soft); object-fit: cover; background: var(--paper-strong); }
.review-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .7rem; }
.review-actions .review-report { color: var(--muted); font-size: .66rem; font-weight: 400; text-decoration: underline; text-underline-offset: .25em; }
.review-actions .review-report:hover,.review-actions .review-report:focus-visible { color: var(--ink); }
.review-picker { min-width: 0; margin: .45rem 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line-soft); }
.review-picker legend { padding: 0; color: var(--ink); font-size: .8rem; font-weight: 500; }
.review-picker > p { margin: .25rem 0 .85rem; color: var(--muted); font-size: .74rem; }
.review-choice-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.review-choice { min-height: 2.2rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: transparent; font: inherit; font-size: .72rem; cursor: pointer; }
.review-choice:hover,.review-choice:focus-visible { border-color: var(--ink); color: var(--ink); }
.review-choice[aria-pressed="true"] { border-color: var(--option-tone, var(--ink)); color: var(--ink); background: color-mix(in srgb, var(--option-tone, var(--ink)) 14%, transparent); }
.review-choice-grid-short .review-choice { min-width: 6.5rem; }
.review-selected { margin-top: .9rem; }
.review-selected > p { margin: 0 0 .5rem; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.review-search { display: grid; gap: .45rem; margin-top: 1rem; max-width: 28rem; }
.review-search-options { margin-top: .7rem; }
.review-form textarea { min-height: 7rem; resize: vertical; }
@media (max-width: 780px) { .account-grid { grid-template-columns: 1fr; gap: 3.5rem; }.account-panel { max-width: 34rem; }.account-access [data-signup-form] { grid-template-columns: 1fr; }.account-access [data-signup-form] > * { grid-column: 1 !important; } }
@media (max-width: 620px) { .account-methods { gap: 1.2rem; }.account-methods .text-button { font-size: .76rem; }.similar-item { align-items: flex-start; flex-direction: column; }.similar-votes { justify-content: flex-start; }.similar-suggestion,.review-fields { grid-template-columns: 1fr; }.similar-search-results { top: 4.25rem; } }
.profile-identity { display: flex; gap: 1.5rem; align-items: center; padding: 1rem 0 2rem; }
.profile-identity h3 { font-size: 1.5rem; font-weight: 450; margin: 0 0 .4rem; color: var(--ink); }
.profile-identity p { margin: .25rem 0; max-width: 42rem; overflow-wrap: anywhere; }
.profile-avatar { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%; background: #e5e1d9; overflow: hidden; display: grid; place-items: center; font-size: 2rem; color: var(--ink); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-tabs { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.account-panel .profile-tabs .text-button { margin: 0; padding: 1rem 0; white-space: nowrap; border-bottom: 2px solid transparent; text-decoration: none; }
.profile-tabs .text-button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); }
.profile-empty { padding: 2rem 0 4rem; }
.profile-empty h3,.profile-settings h3 { font-size: 1.1rem; font-weight: 450; color: var(--ink); }
.profile-saved-grid { padding-top: 1rem; }
.profile-history-row { display: flex; justify-content: space-between; align-items: start; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.profile-history-row p { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-settings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; padding: 1rem 0 3rem; }
.profile-settings-column { display: grid; gap: 2.75rem; align-content: start; min-width: 0; }
.profile-settings form { display: grid; align-content: start; gap: 1rem; }
.profile-settings section form + form { margin-top: 2rem; }
.profile-settings label { display: grid; gap: .5rem; }
.profile-settings input { width: 100%; min-height: 44px; padding: .75rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; }
.profile-settings .button { justify-self: start; }
.profile-photo-copy { max-width: 30rem; margin: 0 0 1rem; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.profile-photo-status { color: var(--brown); }
.profile-photo-editor { display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(12rem, 1fr); gap: 1.5rem; align-items: center; margin-top: .25rem; }
.profile-photo-editor[hidden],.profile-photo-submit[hidden] { display: none !important; }
.profile-photo-preview { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-strong); cursor: grab; touch-action: none; user-select: none; }
.profile-photo-preview.is-dragging { cursor: grabbing; }
.profile-photo-controls { display: grid; gap: .9rem; }
.profile-photo-controls p { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.7; }
.profile-photo-reset { justify-self: start; }
.profile-photo-form input[type="file"] { padding: .45rem; font-size: .78rem; }
.profile-photo-form input[type="file"]::file-selector-button { margin-right: .8rem; padding: .55rem .75rem; border: 1px solid var(--ink); color: var(--paper); background: var(--ink); font: inherit; cursor: pointer; }
.account-notice { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 100; max-width: calc(100% - 2rem); width: max-content; margin: 0; padding: .9rem 1.25rem; background: var(--ink); color: var(--paper); font-size: .85rem; box-shadow: 0 2px 12px #0002; }
@media (max-width: 780px) { .profile-photo-editor { grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); } }
@media (max-width: 620px) { .profile-settings { grid-template-columns: 1fr; gap: 2rem; } .profile-settings-column { gap: 2rem; } .profile-photo-editor { grid-template-columns: 1fr; }.profile-photo-preview { width: min(14rem, 100%); } .profile-tabs { gap: 1.3rem; } .profile-identity { gap: 1rem; } .profile-avatar { width: 76px; height: 76px; flex-basis: 76px; } }

/* Consent is intentionally editorial rather than a third-party-looking banner. */
.consent-open { overflow: hidden; }
.consent-layer { position: fixed; z-index: 1000; inset: 0; display: grid; align-items: end; padding: clamp(.75rem, 2vw, 1.5rem); background: rgba(25, 20, 17, .32); }
.consent-layer[hidden] { display: none; }
.consent-panel { width: min(56rem, 100%); margin: 0 auto; padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line); background: var(--paper); box-shadow: 0 1.5rem 5rem rgba(25, 20, 17, .18); text-align: center; }
.consent-summary { max-width: 50rem; margin: 0 auto; }
.consent-summary h2 { margin: .35rem 0 .75rem; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 450; line-height: 1.05; }
.consent-summary p:not(.section-kicker) { margin: 0 0 .7rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.consent-summary a { color: var(--ink); font-size: .78rem; text-underline-offset: .2em; }
.consent-choices { display: grid; gap: 0; width: min(46rem, 100%); margin: 1.25rem auto 0; border-top: 1px solid var(--line); text-align: left; }
.consent-choices[hidden] { display: none; }
.consent-choices label { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.consent-choices label span { display: grid; gap: .2rem; }
.consent-choices strong { color: var(--ink); font-size: .82rem; font-weight: 550; }
.consent-choices small { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.consent-choices input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
.consent-actions { display: grid; grid-template-columns: repeat(3, 11rem); justify-content: center; gap: .7rem; width: fit-content; max-width: 100%; margin: 1.35rem auto 0; }
.consent-panel.is-managing .consent-actions { grid-template-columns: repeat(2, 11rem); }
.consent-actions .button { display: grid; place-items: center; width: 100%; min-width: 0; height: 2.75rem; min-height: 2.75rem; padding: 0 1rem; border-color: var(--ink); color: var(--paper); background: var(--ink); font-size: .78rem; font-weight: 550; line-height: 1; text-align: center; }
.consent-actions .button:hover,.consent-actions .button:focus-visible { border-color: var(--ink); color: var(--paper); background: var(--ink); opacity: .78; }
.consent-actions [hidden] { display: none !important; }
.footer-consent { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 620px) {
  .consent-layer { padding: 0; }
  .consent-panel { max-height: min(90vh, 44rem); overflow: auto; border-right: 0; border-bottom: 0; border-left: 0; }
  .consent-actions,.consent-panel.is-managing .consent-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .consent-actions .button { width: 100%; }
}
