@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/cormorant-garamond-italic-500.woff) format("woff");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/cormorant-garamond-normal-500.woff) format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/dm-sans-normal-400.woff) format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/dm-sans-normal-500.woff) format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/fonts/dm-sans-normal-600.woff) format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./assets/fonts/dm-sans-normal-700.woff) format("woff");
}
:root {
  color-scheme: light;
  --paper: #fcfaf4;
  --surface: #fffefa;
  --ink: #063142;
  --soft: #04637c;
  --line: #c6d5c9;
  --copper: #37645a;
  --brown: #15454a;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
  font-family: var(--sans);
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
button,
input {
  font: inherit;
}
button,
a,
summary,
label {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #4e7763;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex: none;
}
[hidden] {
  display: none !important;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  background: white;
  padding: 1rem;
  z-index: 10;
}
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.header-inner,
.footer-inner {
  max-width: 1540px;
  padding: 0 clamp(1.3rem, 4.6vw, 5.5rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.header-inner {
  min-height: 5.2rem;
  gap: 1.45rem;
}
.wordmark {
  display: flex;
  align-items: center;
}
.wordmark img {
  width: 4.85rem;
  height: auto;
  filter: brightness(0) saturate(100%) invert(17%) sepia(17%) saturate(848%)
    hue-rotate(346deg) brightness(94%) contrast(93%);
}
.nav-separator {
  width: 1px;
  height: 1.7rem;
  background: var(--line);
}
.studio {
  font-family: var(--serif);
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}
.header-inner nav {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
}
.header-inner nav button {
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0.7rem 0;
}
.shop {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  text-decoration: none;
}
.header-inner nav button:hover,
.shop:hover,
.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.shop .icon {
  width: 1.1rem;
  height: 1.1rem;
}
main {
  max-width: 1540px;
  margin: 0 auto;
}
.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.99fr) minmax(0, 1fr);
  gap: clamp(2rem, 6.1vw, 6.8rem);
  padding: clamp(1.7rem, 3.25vw, 3.5rem) clamp(1.3rem, 4.6vw, 5.5rem)
    clamp(2rem, 3.5vw, 4rem);
  align-items: stretch;
}
.editorial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 5px;
  background: #61876a;
  min-height: 36rem;
}
.hero-photo,
.editorial-shade {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.hero-photo {
  object-fit: cover;
  object-position: center 44%;
}
.editorial-shade {
  background: linear-gradient(
    180deg,
    transparent 25%,
    rgba(5, 38, 51, 0.04) 39%,
    rgba(5, 37, 49, 0.22) 56%,
    rgba(5, 36, 48, 0.8) 94%
  );
}
.photo-copy {
  position: absolute;
  bottom: clamp(1.8rem, 3vw, 3.5rem);
  left: clamp(1.6rem, 3vw, 3.4rem);
  right: clamp(1.6rem, 3vw, 3.4rem);
  color: #fdfcf8;
}
.photo-copy h1 {
  font-size: clamp(4rem, 6.7vw, 7.1rem);
  line-height: 0.83;
  letter-spacing: -0.059em;
  margin-bottom: 1.38rem;
}
.photo-copy h1 em {
  font-weight: 500;
  color: #d6dfaf;
}
.photo-copy p {
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  max-width: 24rem;
  line-height: 1.46;
  color: #fcfbf5;
}
.time {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  margin-top: 1.2rem;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.017em;
  color: #e7ebe0;
}
.time .icon {
  width: 1.04rem;
  height: 1.04rem;
}
.time-dot {
  margin: 0 0.07rem;
}
.quiz {
  align-self: center;
  width: 100%;
  max-width: 39rem;
  margin: 0 auto;
  padding: 1rem 0;
  scroll-margin-top: 1.2rem;
}
.progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0.155em;
  text-transform: uppercase;
  color: #275654;
}
.muted {
  color: #1f6e80;
  letter-spacing: 0.12em;
}
.section-name {
  color: var(--soft);
  font-size: 0.865rem;
}
.segments {
  display: flex;
  gap: 0.4rem;
  margin: 0.72rem 0 1.8rem;
}
.segments span {
  height: 3px;
  flex: 1;
  border-radius: 4px;
  background: #d5dfd2;
}
.segments .filled {
  background: #4c7562;
}
.quiz h2 {
  font-size: clamp(2.65rem, 3.55vw, 4.05rem);
  letter-spacing: -0.047em;
  line-height: 0.98;
  max-width: 12.5em;
  outline: 0;
}
.quiz .hint {
  font-size: 1rem;
  color: var(--soft);
  line-height: 1.45;
  margin: 0.65rem 0 1.3rem;
}
fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 0.48rem;
}
.answer {
  display: block;
  position: relative;
  cursor: pointer;
}
.answer input {
  width: 1px;
  height: 1px;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 18px;
}
.answer-frame {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-height: 4.05rem;
  padding: 0.53rem 1rem 0.53rem 0.68rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid #c0d2c5;
  border-radius: 0.44rem;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.choice-icon {
  width: 2.55rem;
  height: 2.55rem;
  flex: none;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  color: #326058;
  background: #eaede3;
}
.choice-icon .icon {
  width: 1.43rem;
  height: 1.43rem;
}
.answer-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.answer-copy strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.012em;
}
.answer-copy small {
  font-size: 0.87rem;
  color: var(--soft);
  line-height: 1.3;
}
.choice-ring {
  display: grid;
  place-items: center;
  margin-left: auto;
  width: 1.09rem;
  height: 1.09rem;
  flex: none;
  border-radius: 50%;
  border: 1.25px solid #7ba4a0;
  background: transparent;
}
.choice-ring .icon {
  width: 0.82rem;
  height: 0.82rem;
  stroke-width: 2.2;
  opacity: 0;
}
.answer:hover .answer-frame {
  border-color: #7d9d76;
  background: #fbf9f1;
}
.answer input:focus-visible + .answer-frame {
  outline: 3px solid #4e7763;
  outline-offset: 2px;
}
.answer input:checked + .answer-frame {
  background: #ebeee4;
  border-color: #3a665b;
  box-shadow: inset 0 0 0 0.5px #3a665b;
}
.answer input:checked + .answer-frame .choice-icon {
  background: #c4d293;
}
.answer input:checked + .answer-frame .choice-ring {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}
.answer input:checked + .answer-frame .choice-ring .icon {
  opacity: 1;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.primary,
.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.5rem;
  background: var(--brown);
  border: 1px solid var(--brown);
  color: white;
  border-radius: 0.38rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s;
}
.primary:hover:not(:disabled),
.product-link:hover {
  background: #062f3e;
}
.next {
  flex: 1;
}
.primary:disabled {
  background: #d8e1d5;
  border-color: #d8e1d5;
  color: #0d677d;
}
.back,
.restart,
.edit-answer {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.7rem 0.25rem;
  color: var(--brown);
  font-weight: 500;
}
.back {
  min-width: 4rem;
}
.footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  min-height: 4rem;
  justify-content: space-between;
  color: #196b7f;
  font-size: 0.8rem;
}
.foot-divider {
  margin: 0 0.5rem;
  color: #729d9b;
}
.footer a {
  text-decoration: none;
}
.question-view {
  animation: arrive 0.24s ease both;
}
@keyframes arrive {
  from {
    opacity: 0.45;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
dialog {
  width: min(30rem, calc(100% - 2rem));
  border: 1px solid #b3c9be;
  border-radius: 10px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 60px #05263333;
}
dialog::backdrop {
  background: #05263380;
}
.dialog-inner {
  position: relative;
  padding: 2.5rem;
}
.dialog-inner h2 {
  font-size: 2.7rem;
  line-height: 1;
  margin: 0.7rem 0 1rem;
  letter-spacing: -0.035em;
}
.dialog-inner p:not(.eyebrow) {
  margin-bottom: 1rem;
  line-height: 1.55;
  color: var(--soft);
}
.dialog-inner .primary {
  margin-top: 0.3rem;
}
.close {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  background: none;
  border: 0;
  font-size: 1.8rem;
  width: 2.75rem;
  height: 2.75rem;
}
#results {
  padding: clamp(1.4rem, 3vw, 3rem) clamp(1.3rem, 4.6vw, 5.5rem) 2.7rem;
  scroll-margin-top: 1rem;
}
.result-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 29%;
  background: #073a4e;
  color: #fbf9f1;
  overflow: hidden;
  border-radius: 5px;
}
.result-intro > div {
  padding: clamp(1.55rem, 3.3vw, 3.8rem);
}
.result-intro .eyebrow {
  color: #bfcf93;
}
.result-intro h1 {
  font-size: clamp(3.15rem, 5.4vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.047em;
  margin: 0.7rem 0 0.85rem;
  outline: 0;
}
.result-intro p:not(.eyebrow) {
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #d3ddaa;
}
.result-art {
  height: 100%;
  width: 100%;
  max-height: 18rem;
  object-fit: cover;
  object-position: center 48%;
}
.result-body {
  padding-top: 2rem;
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.result-heading h2,
.result-notes h2 {
  font-size: clamp(2rem, 3.1vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.product-count {
  font-size: 0.9rem;
  color: var(--soft);
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.15rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: none;
  height: clamp(12rem, 18vw, 17rem);
  background: radial-gradient(ellipse at 50% 44%, #fefdfb, #e5eadf);
}
.product-art img {
  display: block;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  padding: 0.75rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-info {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}
.product-info h3 {
  font-size: clamp(2rem, 2.55vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0.45rem 0 0.78rem;
}
.product-info > p:not(.eyebrow) {
  line-height: 1.47;
  color: var(--soft);
  font-size: 1rem;
}
.product-info > p.why {
  color: var(--ink);
  font-size: 0.9rem;
  padding: 0.7rem 0;
}
.usage {
  font-size: 0.88rem;
  margin: 0.25rem 0 1rem;
  width: 100%;
}
.usage summary,
.profile summary {
  cursor: pointer;
  font-weight: 600;
}
.usage p {
  line-height: 1.45;
  color: var(--soft);
  margin-top: 0.45rem;
}
.product-link {
  gap: 0.5rem;
  width: 100%;
  margin-top: auto;
}
.product-link .icon {
  width: 1rem;
  height: 1rem;
}
.single .product-card {
  display: grid;
  grid-template-columns: minmax(12rem, 30%) 1fr;
}
.single .product-art {
  height: auto;
  min-height: 16rem;
}
.single .product-link {
  width: auto;
}
.result-notes {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 1fr);
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.result-notes h2 {
  font-size: 2rem;
}
.tip-box p {
  line-height: 1.5;
  color: var(--soft);
  margin-top: 0.6rem;
}
.profile {
  border-bottom: 1px solid var(--line);
}
.profile summary {
  list-style: none;
  position: relative;
  padding: 0.6rem 2rem 0.8rem 0;
}
.profile summary::-webkit-details-marker {
  display: none;
}
.profile summary:after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  font-weight: 400;
  font-size: 1.35rem;
}
.profile[open] summary:after {
  content: "−";
}
.profile-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.5rem 0;
}
.profile-line small,
.profile-line span {
  display: block;
}
.profile-line small {
  font-size: 0.78rem;
  color: var(--soft);
  margin-bottom: 0.12rem;
}
.edit-answer {
  font-size: 0.9rem;
  min-height: 44px;
}
.restart {
  margin-top: 1.5rem;
}
@media (min-width: 1600px) {
  .editorial {
    min-height: 42rem;
  }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .quiz-layout {
    gap: 2rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
  .photo-copy h1 {
    font-size: clamp(3.95rem, 7vw, 5.6rem);
  }
  .answer-frame {
    gap: 0.67rem;
  }
  .quiz h2 {
    font-size: 2.9rem;
  }
}
@media (max-width: 760px) {
  .header-inner {
    min-height: 4.3rem;
    padding: 0 1.15rem;
    gap: 0.8rem;
  }
  .wordmark img {
    width: 3.95rem;
  }
  .studio {
    font-size: 1.3rem;
  }
  .nav-separator {
    height: 1.4rem;
  }
  .header-inner nav {
    gap: 1rem;
    font-size: 0.85rem;
  }
  .header-inner nav button {
    display: none;
  }
  .shop {
    gap: 0.35rem;
  }
  .quiz-layout {
    display: block;
    padding: 1rem 1.15rem 1.7rem;
  }
  .editorial {
    min-height: 0;
    height: 12.8rem;
    overflow: hidden;
  }
  .hero-photo {
    object-position: 50% 37%;
  }
  .editorial-shade {
    background: linear-gradient(
      90deg,
      #063040df 0%,
      #062e3dad 39%,
      #062d3c4d 65%,
      transparent 100%
    );
  }
  .photo-copy {
    inset: auto 1.15rem 1.1rem;
  }
  .photo-copy h1 {
    font-size: 3.5rem;
    line-height: 0.86;
    margin-bottom: 0.55rem;
  }
  .photo-copy h1 br {
    display: none;
  }
  .photo-copy h1 em:before {
    content: " ";
  }
  .photo-copy p {
    max-width: 21rem;
    font-size: 0.94rem;
    line-height: 1.32;
  }
  .time {
    font-size: 0.79rem;
    margin-top: 0.62rem;
  }
  .quiz {
    max-width: none;
    padding: 1.35rem 0 0;
    scroll-margin-top: 0.6rem;
  }
  .segments {
    margin: 0.54rem 0 1.2rem;
  }
  .quiz h2 {
    font-size: 2.62rem;
  }
  .quiz .hint {
    margin: 0.44rem 0 0.9rem;
  }
  .answer-frame {
    min-height: 3.8rem;
    padding: 0.52rem 0.75rem 0.52rem 0.52rem;
    gap: 0.7rem;
  }
  .choice-icon {
    width: 2.35rem;
    height: 2.35rem;
  }
  .answer-copy small {
    font-size: 0.83rem;
  }
  .action-row {
    margin-top: 1rem;
  }
  .walkthrough .editorial {
    display: none;
  }
  .walkthrough .quiz {
    padding-top: 0.6rem;
  }
  .footer-inner {
    padding: 0 1.15rem;
    min-height: 3.2rem;
  }
  .result-intro {
    grid-template-columns: 1fr 24%;
  }
  .result-art {
    max-height: none;
    min-height: 100%;
  }
  .result-intro h1 {
    font-size: 3.05rem;
  }
  .result-intro p:not(.eyebrow) {
    font-size: 0.96rem;
  }
  .match-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .product-card,
  .single .product-card {
    display: grid;
    grid-template-columns: minmax(5rem, 28%) 1fr;
  }
  .product-art,
  .single .product-art {
    height: auto;
    min-height: 0;
  }
  .product-art img {
    padding: 0.45rem;
  }
  .product-info {
    padding: 1rem;
  }
  .product-info h3 {
    font-size: 2rem;
  }
  .single .product-link,
  .product-link {
    width: 100%;
  }
  .result-notes {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .result-heading {
    align-items: baseline;
  }
  .result-heading h2 {
    font-size: 2.15rem;
  }
  .result-body {
    padding-top: 1.4rem;
  }
  .dialog-inner {
    padding: 2.2rem 1.5rem;
  }
}
@media (max-width: 430px) {
  .editorial {
    height: 11.85rem;
  }
  .photo-copy h1 {
    font-size: 2.97rem;
  }
  .photo-copy p {
    max-width: 16rem;
    font-size: 0.88rem;
  }
  .studio {
    font-size: 1.15rem;
  }
  .header-inner {
    gap: 0.58rem;
  }
  .shop .bag-icon {
    display: none;
  }
  .header-inner nav {
    font-size: 0.8rem;
  }
  .quiz h2 {
    font-size: 2.37rem;
  }
  .answer-copy strong {
    font-size: 0.98rem;
  }
  .answer-frame {
    min-height: 3.55rem;
  }
  .result-intro {
    grid-template-columns: 1fr;
  }
  .result-art {
    display: none;
  }
  .product-card,
  .single .product-card {
    grid-template-columns: 1fr;
  }
  .product-art,
  .single .product-art {
    height: 12rem;
  }
  .product-info {
    padding: 1.15rem;
  }
  .result-heading {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Answer cards and the photograph carried forward from the previous choice. */
.answer-grid {
  display: grid;
  gap: 0.52rem;
}
.answer.answer-frame {
  display: flex;
  width: 100%;
  text-align: left;
  min-height: 4.2rem;
  padding: 0.42rem 0.92rem 0.42rem 0.42rem;
  font: inherit;
}
.choice-photo {
  width: 3.55rem;
  height: 3.1rem;
  object-fit: cover;
  flex: none;
  border-radius: 0.24rem;
  background: #dfe6da;
}
.answer-indicator {
  margin-left: auto;
  display: grid;
  place-items: center;
  flex: none;
  width: 1.52rem;
  height: 1.52rem;
  line-height: 1;
  font-weight: 400;
  font-size: 1.22rem;
  border: 1px solid #b5c790;
  border-radius: 50%;
  color: #38645b;
}
.answer-indicator .icon {
  width: 1rem;
  height: 1rem;
}
.answer.answer-frame:hover,
.answer.answer-frame:focus-visible {
  background: #f5f4eb;
  border-color: #62886b;
}
.answer-frame[aria-pressed="true"] {
  border-color: #5b8268;
  background: #eef0e6;
}
.answer-frame[aria-pressed="true"] .answer-indicator {
  color: white;
  background: var(--brown);
  border-color: var(--brown);
}
.answer-frame:active {
  transform: scale(0.99);
}
.choice-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.8rem;
  margin-top: 0.72rem;
  gap: 1rem;
}
.quick-choice {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--soft);
  cursor: pointer;
  padding: 0.6rem 0;
}
.quick-choice input {
  margin: 0;
  accent-color: var(--brown);
  width: 1rem;
  height: 1rem;
}
.editorial.has-selection .photo-copy h1 {
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  line-height: 0.95;
  margin: 0.55rem 0 0.75rem;
  letter-spacing: -0.045em;
}
.hero-category {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  font-weight: 600;
}
.editorial.has-selection .photo-copy p {
  line-height: 1.5;
}
body:has(#answer-reveal[open]) {
  overflow: hidden;
}
/* The answer dialog can always advance immediately, including while a film loads or plays. */
#answer-reveal {
  width: min(48rem, calc(100vw - 2.8rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid #c4d4c7;
  border-radius: 12px;
  color: var(--ink);
  background: #fefefc;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 95px #05222e40;
}
#answer-reveal::backdrop {
  background: rgba(5, 34, 46, 0.51);
  backdrop-filter: blur(4px);
}
#answer-reveal[open] {
  animation: answer-pop 0.29s cubic-bezier(0.15, 0.84, 0.23, 1) both;
}
@keyframes answer-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.reveal-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 23.8rem;
}
.reveal-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--scene-tint);
  min-height: 100%;
}
.reveal-media > img,
.reveal-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reveal-media.has-film {
  background: #d4ded2;
}
.reveal-media.has-film::before {
  content: "";
  position: absolute;
  inset: -2rem;
  z-index: -1;
  background: var(--film-still) center / cover;
  filter: blur(2rem);
  opacity: 0.54;
}
.reveal-media.has-film > img,
.reveal-media.has-film > video {
  top: 50%;
  bottom: auto;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  transform: translateY(-50%);
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 14%,
    black 86%,
    transparent
  );
}
.media-control {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.5rem 0.86rem;
  background: rgba(254, 254, 252, 0.95);
  color: #073749;
  border: 1px solid #b6cbc0;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
}
.media-control svg {
  width: 1rem;
  height: 1rem;
}
.reveal-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 2.55rem 2.25rem 1.8rem;
}
.reveal-copy > .eyebrow {
  color: var(--scene-ink);
  padding-right: 0.5rem;
}
.reveal-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.65rem, 4.2vw, 4.2rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  margin: 0.5rem 0 0.65rem;
  outline: 0;
  overflow-wrap: break-word;
}
.reveal-graphic {
  height: 5.1rem;
  width: 100%;
  margin: 0.2rem 0 0.8rem;
  background: var(--scene-tint);
  border-radius: 0.32rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.scene-engraving {
  width: auto;
  height: 90%;
  color: var(--scene-ink);
}
.scene-engraving path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: trace-mark 0.8s cubic-bezier(0.3, 0.12, 0.2, 1) both;
  animation-delay: calc(var(--line) * 0.075s);
}
@keyframes trace-mark {
  from {
    stroke-dashoffset: 1;
    opacity: 0.2;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
#reveal-note {
  font-size: 1rem;
  line-height: 1.49;
  color: var(--soft);
}
.reveal-actions {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  margin-top: 1.25rem;
}
#confirm-answer {
  min-height: 2.85rem;
  width: 100%;
  color: white;
  background: var(--scene-ink);
  border-color: var(--scene-ink);
}
#confirm-answer:hover {
  filter: brightness(0.9);
}
.change-answer {
  background: none;
  border: 0;
  font-size: 0.87rem;
  color: var(--soft);
  padding: 0.55rem;
  min-height: 2.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reveal-close {
  position: absolute;
  display: grid;
  place-items: center;
  z-index: 2;
  right: 0.55rem;
  top: 0.55rem;
  background: rgba(254, 254, 252, 0.93);
  border: 1px solid #bed0c4;
  border-radius: 50%;
  font: 400 1.42rem/1 var(--sans);
  color: #044b61;
  width: 2.13rem;
  height: 2.13rem;
}
.preview-picks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.2rem);
  width: 100%;
  height: 100%;
}
.preview-pick {
  text-align: center;
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.06rem;
  max-width: 31%;
  height: 100%;
}
.preview-pick img {
  width: 3.4rem;
  max-width: 100%;
  height: 2.85rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.preview-pick small {
  font-size: 0.72rem;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 760px) {
  .walkthrough .editorial.has-selection {
    display: block;
    height: 6.4rem;
  }
  .editorial.has-selection .photo-copy {
    bottom: 0.8rem;
    left: 1rem;
  }
  .editorial.has-selection .hero-category {
    font-size: 0.68rem;
  }
  .editorial.has-selection .photo-copy h1 {
    font-size: 2.1rem;
    margin: 0.18rem 0;
  }
  .editorial.has-selection .photo-copy p {
    display: none;
  }
  .walkthrough .quiz {
    padding-top: 1.1rem;
  }
  .answer.answer-frame {
    min-height: 3.7rem;
  }
  .choice-photo {
    width: 3.15rem;
    height: 2.7rem;
  }
}
@media (max-width: 620px) {
  #answer-reveal {
    width: min(26rem, calc(100vw - 1.6rem));
    max-height: calc(100dvh - 1.3rem);
    border-radius: 11px;
  }
  .reveal-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .reveal-media {
    height: clamp(8rem, 24dvh, 13rem);
    min-height: 0;
  }
  .reveal-media > img {
    object-position: center 48%;
  }
  .reveal-copy {
    padding: 1.15rem 1.35rem 0.65rem;
    display: block;
  }
  .reveal-copy h2 {
    font-size: 2.65rem;
    margin: 0.25rem 0 0.65rem;
  }
  .reveal-graphic {
    height: 3.6rem;
    margin-bottom: 0.65rem;
  }
  .reveal-graphic:has(.preview-picks) {
    height: 4.4rem;
  }
  .reveal-actions {
    margin-top: 0.85rem;
  }
  .media-control {
    min-height: 2.5rem;
    bottom: 0.56rem;
    left: 0.6rem;
  }
  .reveal-close {
    width: 2.5rem;
    height: 2.5rem;
  }
}
@media (max-height: 520px) and (min-width: 621px) {
  .reveal-layout {
    min-height: 0;
  }
  .reveal-copy {
    padding: 1.4rem 2rem 0.5rem;
  }
  .reveal-copy h2 {
    font-size: 2.7rem;
  }
  .reveal-graphic {
    height: 3.7rem;
  }
  .reveal-actions {
    margin-top: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  #answer-reveal[open],
  .scene-engraving path {
    animation: none;
  }
}

@media (max-width: 620px) {
  .reveal-media.has-film > img,
  .reveal-media.has-film > video {
    inset: 0;
    height: 100%;
    width: auto;
    max-width: 100%;
    margin: auto;
    transform: none;
    mask-image: linear-gradient(
      to right,
      transparent,
      black 9%,
      black 91%,
      transparent
    );
  }
}

#advance-countdown:not(:empty) {
  margin-left: 0.3em;
  font-variant-numeric: tabular-nums;
}
/* Select a second concern or a spot on the face without leaving the question. */
.answer-grid.many-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.many-choices .answer.answer-frame {
  align-items: flex-start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.6rem 0.7rem 0.68rem;
  min-height: 6.75rem;
}
.many-choices .choice-photo {
  width: 3.55rem;
  height: 2.25rem;
  object-position: 50% 51%;
}
.many-choices .answer-indicator {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.33rem;
  height: 1.33rem;
  font-size: 1rem;
}
.many-choices .answer-copy {
  gap: 0.2rem;
}
.many-choices .answer-copy small {
  font-size: 0.82rem;
  line-height: 1.28;
}
.quiz-layout.map-step {
  display: block;
}
.map-step .editorial {
  display: none;
}
.map-step .quiz {
  max-width: 59rem;
  margin: 0 auto;
}
.map-step .quiz h2 {
  max-width: none;
}
.map-step .answer-stage {
  display: grid;
  grid-template-columns: minmax(13rem, 0.85fr) minmax(16rem, 1.25fr);
  gap: clamp(1rem, 2.5vw, 2.4rem);
  align-items: center;
}
.face-map {
  position: relative;
  isolation: isolate;
  aspect-ratio: 8/9;
  border-radius: 0.48rem;
  overflow: hidden;
  background: #b5c791;
}
.face-map > img {
  display: block;
  width: 100%;
  height: 100%;
}
.face-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  min-height: 2.75rem;
  min-width: 2.75rem;
  display: grid;
  place-items: center;
  z-index: 1;
  border: 0;
  background: none;
  padding: 0;
}
.face-pin > span {
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 50%;
  border: 2px solid #fdfcf8;
  background: #02556c99;
  box-shadow:
    0 0 0 4px #fcfbf655,
    0 1px 6px #031e2888;
}
.face-pin b {
  position: absolute;
  pointer-events: none;
  top: 78%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.35;
  white-space: nowrap;
  color: #063242;
  background: #fdfcf9ed;
  border-radius: 1rem;
  padding: 0.1rem 0.45rem;
}
.face-pin:is(:hover, :focus-visible) > span {
  background: #1a4b4f;
  box-shadow: 0 0 0 7px #fcfbf68a;
}
.face-pin:focus-visible {
  outline: 2px solid #ffffff;
  border-radius: 50%;
}
.favorite-picker {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem 0.7rem;
  background: #e9ede2;
  border: 1px solid #b9cdc1;
  border-radius: 0.4rem;
}
.favorite-picker summary {
  cursor: pointer;
  color: var(--brown);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0;
}
.favorite-picker label {
  display: block;
  margin: 0.65rem 0 0.45rem;
  font-size: 0.9rem;
}
.favorite-picker select {
  appearance: none;
  max-width: 100%;
  width: 100%;
  padding: 0.75rem 2rem 0.75rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid #7d9d77;
  border-radius: 0.25rem;
  color: #063344;
  background: #fefdfb
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%235b4533' stroke-width='1.4'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.75rem center;
}
.owned-preview {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.35;
  color: var(--soft);
  font-size: 0.89rem;
  margin-top: 0.55rem;
}
.owned-preview img {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.new-picks-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.93rem;
  color: var(--brown);
  margin-bottom: 1rem;
  cursor: pointer;
}
.new-picks-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brown);
}
.eye-match {
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(9rem, 20%) 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.2rem;
  border-radius: 6px;
}
.eye-match > img {
  display: block;
  width: 100%;
  max-height: 11.3rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.eye-match h2,
.day-heading h2 {
  font-size: clamp(2rem, 3.1vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.eye-match .eyebrow {
  margin-bottom: 0.4rem;
}
.eye-match p:not(.eyebrow) {
  line-height: 1.48;
  margin: 0.55rem 0;
  color: var(--soft);
}
.eye-match .product-link {
  margin-top: 0.3rem;
  min-height: 2.65rem;
  padding: 0.55rem 1rem;
}
.day-plan {
  border-top: 1px solid var(--line);
  margin: 2.1rem 0 1rem;
  padding-top: 1.65rem;
}
.day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
}
.day-switch {
  display: inline-flex;
  gap: 0.1rem;
  background: #d7e0d4;
  padding: 0.22rem;
  border-radius: 99px;
}
.day-switch button {
  border: none;
  padding: 0.55rem 0.95rem;
  border-radius: 99px;
  color: var(--soft);
  background: transparent;
  font-size: 0.93rem;
  min-height: 2.45rem;
}
.day-switch button[aria-pressed="true"] {
  background: #15454a;
  color: #ffffff;
}
.day-order {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: application;
}
.day-order li {
  counter-increment: application;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.37rem;
  background: var(--surface);
}
.day-order li:before {
  content: counter(application, decimal-leading-zero);
  display: block;
  color: #3f6a5d;
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.day-order strong,
.day-order span,
.day-order small {
  display: block;
}
.day-order strong {
  font-size: 0.88rem;
  color: #325f58;
}
.day-order span {
  font-weight: 550;
  margin: 0.27rem 0;
  font-size: 1rem;
  line-height: 1.35;
}
.day-order small {
  line-height: 1.4;
  color: var(--soft);
  font-size: 0.87rem;
}
@media (max-width: 760px) {
  .map-step .quiz {
    padding-top: 0.4rem;
  }
  .map-step .answer-stage {
    grid-template-columns: minmax(9.6rem, 0.9fr) minmax(9.2rem, 1fr);
    gap: 0.65rem;
    align-items: start;
  }
  .map-step .answer-grid {
    gap: 0.35rem;
  }
  .map-step .choice-photo,
  .map-step .answer-copy small {
    display: none;
  }
  .map-step .answer.answer-frame {
    min-height: 2.75rem;
    padding: 0.45rem 0.5rem;
    align-items: center;
  }
  .map-step .answer-copy strong {
    font-size: 0.89rem;
  }
  .map-step .answer-indicator {
    width: 1.05rem;
    height: 1.05rem;
    font-size: 0.85rem;
  }
  .face-pin b {
    font-size: 0.65rem;
  }
  .many-choices .answer.answer-frame {
    min-height: 6.25rem;
  }
  .day-order {
    grid-template-columns: 1fr;
  }
  .day-order li {
    display: flex;
    gap: 0.75rem;
  }
  .eye-match {
    grid-template-columns: 4rem 1fr;
    gap: 0.75rem;
    padding: 0.8rem;
  }
  .day-heading h2,
  .eye-match h2 {
    font-size: 2.05rem;
  }
}
@media (max-width: 520px) {
  .map-step .answer-stage {
    grid-template-columns: 1fr;
  }
  .map-step .face-map {
    width: min(68vw, 16rem);
    margin: 0 auto;
  }
  .map-step .answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .map-step .answer-grid .answer:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 350px) {
  .many-choices .answer-copy small {
    display: none;
  }
}

.studio-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.studio-play {
  position: absolute;
  z-index: 1;
  right: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #ffffff78;
  border-radius: 2rem;
  background: #063142d9;
  color: #fdfcf8;
  font: 500 0.8rem/1.2 var(--sans);
}
.studio-play::before {
  content: "";
  width: 0;
  height: 0;
  border: 0.31rem solid transparent;
  border-left: 0.51rem solid currentColor;
  border-right: 0;
}
.studio-play[data-playing="true"]::before {
  width: 0.48rem;
  height: 0.65rem;
  border: 0;
  border-inline: 2px solid currentColor;
}
.editorial,
.product-card,
.result-intro {
  border-radius: 0.75rem;
}
.many-choices .answer.answer-frame {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(3.2rem, 30%) 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 5.4rem;
  border-radius: 0.5rem;
}
.many-choices .choice-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  height: 100%;
  border-radius: 0;
}
.many-choices .answer-copy {
  grid-column: 2;
  align-self: center;
  padding: 0.75rem 0.65rem;
}
.many-choices .answer-indicator {
  display: none;
}
.many-choices .answer[aria-pressed="true"] .answer-indicator {
  display: grid;
  top: 0.28rem;
  left: 0.28rem;
  right: auto;
}
.product-card {
  min-width: 0;
}
.product-info {
  min-width: 0;
}
.day-layout {
  display: grid;
  grid-template-columns: minmax(9.5rem, 17%) minmax(0, 1fr);
  gap: 0.8rem;
}
.day-portrait {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0.5rem;
  min-height: 9.5rem;
  background: #064055;
  display: flex;
  align-items: end;
}
.day-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: -2;
}
.day-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #052633d9, transparent 80%);
  z-index: -1;
}
.day-portrait h3 {
  color: #fcfbf6;
  font: 500 clamp(1.8rem, 2.6vw, 2.5rem) / 1 var(--serif);
  margin: 0.9rem;
}
.day-order {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
}
.reveal-graphic {
  position: relative;
  isolation: isolate;
}
.reveal-graphic:has(.scene-engraving)::before {
  content: "";
  position: absolute;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  border: 1px solid var(--scene-ink);
  opacity: 0.1;
  z-index: -1;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-graphic:has(.scene-engraving)::before {
    animation: soft-ring 2.5s ease-out both;
  }
  .reveal-media:not(.has-film) > img {
    animation: macro-focus 3.2s ease-in-out both;
  }
  .day-portrait img {
    animation: macro-focus 2.4s ease-out both;
  }
  .product-art img {
    transition: transform 0.55s cubic-bezier(0.22, 0.68, 0.25, 1);
  }
  .day-order li {
    animation: arrive 0.36s ease-out both;
  }
  .day-order li:nth-child(2) {
    animation-delay: 0.05s;
  }
  .day-order li:nth-child(3) {
    animation-delay: 0.1s;
  }
  .day-order li:nth-child(4) {
    animation-delay: 0.15s;
  }
  .day-order li:nth-child(5) {
    animation-delay: 0.2s;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-art:hover img {
    transform: scale(1.035);
  }
}
@keyframes macro-focus {
  0% {
    transform: scale(1.075);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes soft-ring {
  0% {
    transform: scale(0.28);
    opacity: 0;
  }
  25% {
    opacity: 0.18;
  }
  100% {
    transform: scale(1.25);
    opacity: 0.04;
  }
}
@media (max-width: 760px) {
  .map-step .answer-grid .answer {
    min-width: 0;
  }
  .day-layout {
    grid-template-columns: 1fr;
  }
  .day-portrait {
    min-height: 5.5rem;
  }
  .day-portrait img {
    object-position: center 38%;
  }
  .day-order {
    grid-template-columns: 1fr;
  }
  .day-order li {
    align-items: flex-start;
  }
  .studio-play {
    top: 0.5rem;
    right: 0.5rem;
  }
}
@media (max-width: 520px) {
  .many-choices .answer.answer-frame {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .many-choices .choice-photo {
    position: static;
    width: 100%;
    height: 2.85rem;
    min-height: 2.85rem;
  }
  .many-choices .answer-copy {
    align-self: stretch;
    padding: 0.48rem 0.55rem 0.6rem;
  }
}

.routine-cart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  margin: 2rem 0 0;
}
.routine-cart h2 {
  font: 500 clamp(2.25rem, 4vw, 3.5rem) / 1 var(--serif);
  letter-spacing: -0.045em;
}
.routine-cart p {
  color: var(--soft);
  margin-top: 0.5rem;
  line-height: 1.45;
}
.cart-lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.6rem;
  margin: 1.1rem 0;
}
.cart-lines label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  padding: 0.5rem 0.7rem;
  border-radius: 0.45rem;
}
.cart-lines label:has(:checked) {
  border-color: #668b6c;
  background: #fbfaf3;
}
.cart-lines input {
  width: 1rem;
  height: 1rem;
  flex: none;
  accent-color: var(--brown);
}
.cart-lines img {
  display: block;
  width: 2.1rem;
  height: 2.75rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.cart-lines span {
  font-weight: 550;
}
.cart-lines small {
  display: block;
  font-weight: 400;
  color: var(--soft);
}
.cart-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}
.cart-action .primary {
  gap: 0.5rem;
}
.cart-action .primary:disabled {
  background: #06647c;
  border-color: #06647c;
  color: white;
  cursor: default;
}
.cart-count,
.routine-cart .cart-status {
  font-size: 0.9rem;
}
.cart-status:empty {
  display: none;
}
@media (max-width: 520px) {
  .cart-action .primary {
    width: 100%;
  }
}

/* The cover is a separate screen, with a clear starting point on every device. */
.studio-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eff0e6;
  color: #062e3e;
}
.cover-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 35%;
  z-index: -2;
}
.cover-inner {
  max-width: 1500px;
  margin: auto;
  min-height: clamp(34rem, 43vw, 46rem);
  padding: clamp(2.5rem, 5.6vw, 6.2rem) clamp(1.3rem, 5.8vw, 6.3rem) clamp(1.5rem, 3vw, 3.25rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}
.cover-heading { align-self: center; padding-bottom: 2.8rem; }
.studio-signature {
  display: flex;
  align-items: baseline;
  gap: .42em;
  color: #073b4e;
  font: 700 clamp(.95rem, 1.45vw, 1.35rem)/1 var(--sans);
  letter-spacing: .12em;
  margin-bottom: clamp(1.1rem, 2vw, 2.2rem);
}
.studio-signature span {
  font: italic 500 1.72em/1 var(--serif);
  letter-spacing: -.065em;
}
.studio-signature sup {
  font: 600 .39em/1 var(--sans);
  margin-left: .12em;
  letter-spacing: 0;
}
.cover-heading h1 {
  font: 500 clamp(5.6rem, 8.1vw, 9.3rem)/.78 var(--serif);
  letter-spacing: -.065em;
  outline: none;
}
.cover-heading h1 em { color: #044a60; font-weight: 500; }
.cover-meta { display: flex; align-items: center; gap: .45rem; font-size: .96rem; margin-top: 1.8rem; color: #035167; }
.cover-meta .icon { width: 1.05rem; height: 1.05rem; }
.cover-start {
  max-width: 30.5rem;
  width: 100%;
  justify-self: end;
  align-self: end;
  background: rgba(253, 252, 247, .91);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: .9rem;
  padding: clamp(1.2rem, 1.9vw, 1.85rem);
  box-shadow: 0 .5rem 2rem #073a4e13;
}
.cover-start h2 { font-size: clamp(2rem, 2.45vw, 3rem); letter-spacing: -.055em; line-height: 1; }
.cover-start > p { font-size: 1rem; line-height: 1.45; margin-top: .55rem; }
.cover-button {
  display: block;
  width: 100%;
  padding: .88rem 1.4rem;
  color: white;
  font-weight: 700;
  background: #073b4f;
  border: 1px solid #073b4f;
  border-radius: .35rem;
  margin-top: 1.05rem;
}
.cover-button:hover { background: #062a39; }
.cover-start p.cover-disclaimer, .results-disclaimer { font-size: .84rem; line-height: 1.45; color: #02556c; }
.cover-start p.cover-disclaimer { margin-top: .85rem; }
.results-disclaimer { margin: 1rem 0 0; max-width: 70ch; }
.age-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
.age-option {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: 1rem;
  font-weight: 600;
}
.age-option:hover, .age-option[aria-pressed="true"] { border-color: #03546b; background: #f2f3e9; }
.age-option[data-answer="skip"] { color: #05455a; }
.photo-guide { display: grid; gap: 1.05rem; }
.example-row { margin: 0; border: 0; padding: 0; min-width: 0; }
.example-row legend { font-weight: 650; font-size: 1.05rem; margin-bottom: .4rem; padding: 0; }
.example-photos { display: flex; gap: .55rem; }
.example-photo {
  position: relative;
  width: clamp(3.55rem, 6vw, 5rem);
  aspect-ratio: 1;
  padding: .15rem;
  border-radius: .55rem;
  background: white;
  border: 2px solid #cfdace;
  overflow: hidden;
}
.example-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: .29rem; }
.example-photo:hover, .example-photo[aria-pressed="true"] { border-color: #064055; }
.example-photo[aria-pressed="true"] { background: #064055; }
.example-tick { display: none; }
.example-photo[aria-pressed="true"] .example-tick {
  display: grid; place-items: center; position: absolute; right: .17rem; bottom: .17rem;
  width: 1.25rem; height: 1.25rem; color: #ffffff; background: #064055; border-radius: 50%; font-size: .84rem;
}
.guide-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.answer-copy .photo-match-note { color: #05485d; font-weight: 700; }
.routine-compare { margin-bottom: clamp(1.4rem,3vw,2.55rem); }
.routine-compare h2 { font: 500 clamp(2rem, 3vw, 3.35rem)/1.1 var(--serif); letter-spacing: -.055em; margin-bottom: .85rem; }
.routine-switcher { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.routine-view {
  display: grid; gap: .35rem; align-content: start; text-align: left;
  padding: clamp(.95rem,1.8vw,1.5rem);
  border: 2px solid #b2c9be; border-radius: .65rem; background: #fdfcf8; color: #073e52;
}
.routine-view[aria-pressed="true"] { border-color: #063f53; background: #063f53; color: #fdfcf8; }
.routine-view:hover { border-color: #063f53; }
.view-top { display: flex; align-items: center; justify-content: space-between; gap: .3rem; }
.view-count { font: 650 .88rem/1.3 var(--sans); }
.view-tick { border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; font-size: .85rem; }
.routine-view[aria-pressed="false"] .view-tick { color: transparent; border-color: #6b9898; }
.routine-view[aria-pressed="true"] .view-tick { background: #f2f3e9; border-color: #f2f3e9; color: #073e52; }
.routine-view strong { font: 500 clamp(1.9rem,3.1vw,3.25rem)/1 var(--serif); letter-spacing: -.05em; }
.view-roles { font-size: .95rem; line-height: 1.35; }
.store-shopping { margin-top: .7rem; padding: .6rem 1rem; border-left: 3px solid #00627b; background: #f9f8ef; }
.store-shopping ul { padding-left: 1.25rem; }
.store-shopping li { margin: .6rem 0; }
.checkout-link { display: inline-block; margin-top: 1rem; font-weight: 600; text-underline-offset: .22em; }
@media (prefers-reduced-motion:no-preference) {
  .cover-portrait { animation: studio-cover-focus 1.7s ease-out both; }
  @keyframes studio-cover-focus { from { transform: scale(1.025); } to { transform: none; } }
}
@media (max-width:760px) {
  .cover-inner { min-height: clamp(38rem, 83svh, 47rem); padding: 2.5rem 1.15rem 1.15rem; grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 2rem; }
  .cover-portrait { height: 78%; object-position: 77% 30%; }
  .studio-cover::after { position: absolute; content: ""; inset: 0; z-index: -1; background: linear-gradient(0deg,#eff0e6 23%,transparent 52%), linear-gradient(90deg,rgba(239,240,230,.92),rgba(239,240,230,.58) 34%,transparent 67%); pointer-events: none; }
  .cover-heading { align-self: start; padding: 0 0 0 .25rem; width: fit-content; }
  .studio-signature { font-size: .85rem; gap: .32em; margin-bottom: 1.3rem; }
  .cover-heading h1 { font-size: clamp(4rem,12.8vw,6.2rem); }
  .cover-meta { margin-top: 1rem; font-size: .85rem; }
  .cover-start { justify-self: center; max-width: 32rem; padding: 1.15rem; }
  .cover-start h2 { font-size: 2.22rem; }
  .cover-start p.cover-disclaimer { font-size: .83rem; }
  .view-roles { font-size: .87rem; }
  .view-count { font-size: .8rem; }
  .routine-view strong { font-size: clamp(1.45rem,6.15vw,2.6rem); }
  .routine-view { padding: .8rem; }
  .routine-switcher { gap: .5rem; }
}
@media (max-width:390px) { .cover-portrait { object-position: 74% 30%; } .studio-signature { font-size: .74rem; } }
