/* ==========================================================================
   Luisante — page layouts
   ========================================================================== */

/* ================================================================= homepage */

.hero {
  position: relative;
  height: 882px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the still stays underneath as the poster and the fallback */
.hero__video {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero__video.is-playing {
  opacity: 1;
}

.hero__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 83px;
}

.hero__title {
  color: var(--white);
  text-transform: capitalize;
  max-width: 760px;
  margin-left: 101px;
}

.hero__cta {
  margin: 19px 0 0 104px;
  width: 336px;
  padding: 5px 0;
}

.home-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 45px;
}

.home-grid-3 .card__media {
  aspect-ratio: 412 / 470;
}

.home-grid-3 .card__title {
  max-width: 170px;
}

/* the price and the + sit a line lower than the title in the design */
.home-grid-3 .card__buy {
  margin-top: 9px;
}

.home-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 49px;
}

.home-grid-2 .card {
  padding: 39px 28px 38px;
}

.home-grid-2 .card__media {
  aspect-ratio: 644 / 705;
}

.home-grid-2 .card__foot {
  margin-top: 44px;
  align-items: center;
}

/* review quote */

.review {
  margin-top: 171px;
  padding-left: 206px;
}

.review__quote {
  position: relative;
  max-width: 1008px;
  margin-top: 40px;
}

.review__author {
  display: inline-flex;
  align-items: center;
  gap: 21px;
  margin-left: 24px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
  vertical-align: 6px;
}

.review__author::before {
  content: "";
  width: 84px;
  height: 1px;
  background: currentColor;
}

/* philosophy */

.philosophy {
  margin-top: 176px;
  height: 376px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
}

.philosophy p {
  max-width: 578px;
  margin: 0;
}

.philosophy .pill {
  margin-top: 36px;
  width: 324px;
  padding: 5px 0;
}

/* doshas */

.doshas {
  display: grid;
  grid-template-columns: 820fr 580fr;
  gap: 20px;
  margin-top: 40px;
}

.doshas__panel {
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 73px 100px 79px;
  display: flex;
  flex-direction: column;
}

.doshas__panel .display {
  max-width: 645px;
}

.doshas__panel p {
  max-width: 527px;
  margin: 43px 0 0;
  color: var(--bg);
}

.dosha-list {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin: 75px 0 0;
  list-style: none;
  padding: 0 0 0 11px;
}

.dosha-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.dosha-list li:nth-child(1) { width: 150px; }
.dosha-list li:nth-child(2) { width: 157px; }
.dosha-list li:nth-child(3) { width: 175px; }

.dosha-list img {
  width: auto;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dosha-list li:hover img {
  transform: translateY(-6px);
}

.dosha-list span {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
  white-space: nowrap;
}

.doshas__quiz {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 79px;
  color: var(--white);
  text-align: center;
}

.doshas__quiz img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.doshas__quiz:hover img {
  transform: scale(1.04);
}

.doshas__quiz::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0) 34%, rgb(0 0 0 / 0.5) 87%);
}

.doshas__quiz h3,
.doshas__quiz .pill {
  position: relative;
  z-index: 2;
}

.doshas__quiz h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
  margin: 0 0 11px;
}

.doshas__quiz .pill {
  width: 253px;
  padding: 5px 0;
  border-radius: 32px;
}

/* newsletter + footer band */

.closing {
  margin-top: 70px;
  background: var(--red);
  color: var(--white);
}

.newsletter {
  padding-top: 110px;
  text-align: center;
}

.newsletter h2 {
  margin: 0;
}

.newsletter form {
  display: flex;
  align-items: center;
  width: 650px;
  max-width: 100%;
  height: 58px;
  margin: 19px auto 0;
  padding: 0 40px 0 30px;
  border: 1px solid currentColor;
  border-radius: var(--r-md);
}

.newsletter input {
  flex: 1;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
}

.newsletter input::placeholder {
  color: currentColor;
  opacity: 1;
}

.newsletter input:focus {
  outline: none;
}

.newsletter button {
  width: 60px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: none;
}

.newsletter button svg {
  width: 60px;
  transition: transform 0.3s ease;
}

.newsletter button:hover svg {
  transform: translateX(6px);
}

.closing .site-footer {
  margin-top: 44px;
}

/* ============================================================= product page */

.product-top {
  display: grid;
  grid-template-columns: 701fr 698fr;
  gap: 31px;
  margin-top: 42px;
  align-items: start;
}

.gallery {
  position: relative;
}

.gallery__frame {
  margin-top: 7px;
  border-radius: 29px;
  overflow: hidden;
  aspect-ratio: 701 / 597;
  background: var(--placeholder);
}

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

.gallery__dots {
  position: absolute;
  left: 100px;
  bottom: 35px;
  display: flex;
  gap: 8px;
}

.gallery__dots button {
  width: 119px;
  height: 6px;
  background: rgb(139 0 19 / 0.35);
  padding: 0;
  transition: background-color 0.3s ease;
}

.gallery__dots button[aria-selected="true"] {
  background: var(--red);
}

.product-info {
  display: flex;
  flex-direction: column;
  height: 509px;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 50px 76px 16px 75px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating__stars {
  display: flex;
  gap: 2.67px;
  color: var(--red);
}

.rating__stars svg {
  width: 16px;
  height: 16px;
}

.rating__count {
  font-family: var(--font-body);
  font-size: 10.64px;
  line-height: 12px;
  color: var(--muted);
}

.product-info h1 {
  margin: 60px 0 0;
  text-transform: lowercase;
}

/* the trio panel carries more copy, so its title starts higher */
[data-page="product-trio"] .product-info h1 {
  margin-top: 37px;
}

.product-info__lead {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  color: var(--muted);
  margin: 9px 0 0;
}

.product-info__desc {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
  color: var(--muted);
  margin: 13px 0 0;
}

.accordion {
  margin-top: auto;
}

.accordion__item + .accordion__item {
  margin-top: 16px;
}

.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 10px 15px;
  border-bottom: 1px solid var(--red);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.54px;
  text-transform: uppercase;
  text-align: left;
}

.accordion__head svg {
  flex: none;
  transition: transform 0.35s ease;
}

.accordion__item.is-open .accordion__head svg {
  transform: rotate(180deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel > div {
  overflow: hidden;
}

.accordion__panel p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 24px;
  color: var(--muted);
  margin: 0;
  padding: 14px 15px 0;
}

.buy-bar {
  margin-top: 15px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 23px 48px;
}

.buy-bar .pill {
  width: 100%;
  height: 34px;
  padding: 5px 0;
  font-family: "Work Sans", var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
}

.howto {
  margin-top: 77px;
}

.howto > .section-title {
  padding-left: 87px;
}

.howto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 39px;
}

.howto__card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 20px 15px 30px;
}

.howto__card figure {
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 429 / 352;
  background: var(--placeholder);
}

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

.howto__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 56px;
  margin-top: 25px;
}

.howto__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 55px;
  line-height: 50px;
}

.howto__label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  text-transform: uppercase;
  width: 200px;
}

.ugc {
  margin-top: 49px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 65px 0 62px;
}

.ugc h2 {
  padding-left: 87px;
}

.ugc__strip {
  display: flex;
  gap: 11px;
  margin-top: 44px;
  padding: 0 46px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ugc__strip::-webkit-scrollbar {
  display: none;
}

.ugc__strip img {
  width: 349px;
  height: 384px;
  object-fit: cover;
  flex: none;
  scroll-snap-align: start;
  background: var(--placeholder);
}

.progress {
  position: relative;
  height: 2px;
  background: var(--red);
  margin: 39px 100px 0;
}

.related .progress {
  margin: 44px 20px 0;
}

.progress span {
  position: absolute;
  left: 0;
  top: -3px;
  height: 8px;
  width: 240px;
  background: var(--red);
  transition: transform 0.2s linear;
}

.wide-shot {
  margin-top: 78px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1420 / 548;
}

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

.related {
  margin-top: 170px;
}

.related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
}

.related__arrows {
  display: flex;
  gap: 14px;
}

.related__arrows button {
  width: 50px;
  height: 20px;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.related__arrows button:hover {
  transform: translateX(4px);
}

.related__arrows button:first-child:hover {
  transform: translateX(-4px);
}

.related__strip {
  display: flex;
  gap: 16px;
  margin-top: 41px;
  padding-bottom: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.related__strip::-webkit-scrollbar {
  display: none;
}

.related__strip .card {
  position: relative;
  width: 385px;
  height: 487px;
  flex: none;
  scroll-snap-align: start;
  border-radius: 13.73px;
  padding: 20px 20px 24px;
  text-align: center;
}

.related__strip .card__media {
  aspect-ratio: 344 / 392;
  border-radius: 11px;
}

.related__strip .card__foot {
  margin-top: 10px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.related__strip .card__title {
  font-size: 25px;
  max-width: 100%;
}

.related__strip .card__price {
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
}

.related__strip .pill--icon {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  top: 352px;
  background: rgb(252 251 247 / 0.75);
  backdrop-filter: blur(4px);
}

/* Reviews — the Figma frame holds a flat placeholder screenshot here, so the
   block is rebuilt in the brand's own type and colour. */

.reviews {
  margin-top: 78px;
  min-height: 548px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 40px 48px 48px;
}

.reviews__summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgb(139 0 19 / 0.2);
}

.reviews__score {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  line-height: 28px;
  margin: 0;
}

.reviews__score .rating__stars svg {
  width: 18px;
  height: 18px;
}

.reviews__label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 10px 0 0;
}

.reviews__based {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 20px;
  color: var(--muted);
  margin: 2px 0 0;
}

.reviews__filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 7px 18px;
  border: 1px solid var(--red);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.reviews__filter:hover {
  background: var(--red);
  color: var(--card);
}

.reviews__sort .dropdown__button,
.reviews__sort .dropdown__option {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.reviews__sort .dropdown__button {
  gap: 14px;
  padding: 7px 18px 7px 20px;
  border: 1px solid var(--red);
  border-radius: var(--r-md);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.reviews__sort .dropdown__button:hover,
.reviews__sort.is-open .dropdown__button {
  background: var(--red);
  color: var(--card);
}

.review-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 60px;
  padding-top: 30px;
}

.review-card__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}

.review-card__verified {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 20px;
}

.review-card dl {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
}

.review-card dt {
  font-family: var(--font-sans);
  font-weight: 700;
  margin-top: 14px;
}

.review-card dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__top .rating__stars svg {
  width: 18px;
  height: 18px;
}

.review-card__age {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}

.review-card__body h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  line-height: 22px;
  margin: 18px 0 8px;
}

.review-card__body > p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 24px;
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}

.review-card__scale {
  margin-top: 30px;
  max-width: 300px;
}

.review-card__scale p {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}

.scale {
  position: relative;
  height: 2px;
  background: rgb(139 0 19 / 0.25);
}

.scale__dot {
  position: absolute;
  right: 0;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.scale__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}

.derm-banner {
  margin: 39px 0 0;
  background: var(--card);
  border-radius: var(--r-lg);
  height: 97px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36.28px;
  line-height: 34px;
}

/* on the trio page the banner sits directly under the buy bar */
.derm-banner--top {
  margin-top: 60px;
}

/* =============================================================== about page */

.page-hero {
  position: relative;
  overflow: hidden;
}

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

.page-hero__caption {
  position: absolute;
  color: var(--white);
}

.about-hero {
  height: 982px;
}

.about-hero .page-hero__caption {
  left: 50%;
  translate: -50% 0;
  width: min(var(--content), 100% - var(--gutter) * 2);
  top: 691px;
}

.about-hero h1 {
  margin: 0 0 25px 721px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 55px;
  line-height: 52px;
}

.about-hero p {
  margin: 0 0 0 721px;
  max-width: 507px;
}

.about-split {
  display: grid;
  grid-template-columns: 700fr 700fr;
  gap: 20px;
  margin-top: 70px;
}

.about-split figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 700 / 803;
  background: var(--placeholder);
}

.about-split figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-note {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 0 100px 47px 43px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: right;
}

.about-note .display {
  margin-bottom: 0;
}

.about-note__phonetic {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
  margin: 0 0 36px;
}

.about-note .body-text {
  align-self: flex-end;
  width: 557px;
  max-width: 100%;
  color: #000;
}

.about-statement {
  margin-top: 22px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 41px 41px 40px;
}

.about-statement img {
  width: 100%;
  border-radius: var(--r-md);
}

.about-statement__line {
  margin: 45px 0 0;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 55px;
  line-height: 52px;
  text-align: center;
}

/* Our Values — the boxes sit on a deliberately staggered grid. */

.values-card {
  position: relative;
  margin-top: 40px;
  min-height: 567px;
  background: var(--card);
  border-radius: var(--r-lg);
}

.values-card__title {
  position: absolute;
  left: 239px;
  top: 164px;
  width: 218px;
  text-align: right;
  margin: 0;
}

.value {
  position: absolute;
  width: 340px;
  height: 195px;
  border: 1px solid var(--red);
  border-radius: 12px;
  padding: 20px 20px 13px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.value:hover {
  background: var(--red);
  color: var(--card);
}

.value h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 25px;
  margin: 0 0 4px;
}

.value p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
  margin: 0;
}

.value--quality { left: 480px; top: 79px; }
.value--transparency { left: 840px; top: 79px; }
.value--essential { left: 239px; top: 294px; }
.value--approachable { left: 600px; top: 294px; }

/* Intentional ingredients — a full-bleed scroller */

.ingredients {
  margin-top: 100px;
  overflow: hidden;
}

.ingredients__title {
  text-align: center;
  margin: 0 0 37px;
}

.ingredients__strip {
  display: flex;
  gap: 18px;
  padding: 0 46px 0 84px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ingredients__strip::-webkit-scrollbar {
  display: none;
}

.ingredient {
  flex: none;
  width: 297px;
  height: 385px;
  scroll-snap-align: start;
  border: 0.86px solid var(--red);
  border-radius: 12.84px;
  padding: 4px 1px 5px;
  display: flex;
  flex-direction: column;
}

.ingredient img {
  width: 295px;
  height: 295px;
  object-fit: cover;
  margin: 0 auto;
  /* the source photographs carry a white ground; the Figma node blends it
     away against the page rather than being cut out */
  mix-blend-mode: darken;
}

.ingredient__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: auto 10px 0;
}

.ingredient h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19.56px;
  line-height: 23px;
  text-transform: uppercase;
  margin: 0;
  max-width: 236px;
}

.info-dot {
  flex: none;
  width: 26px;
  height: 26px;
  border: 1.18px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}

.ingredients .progress {
  margin: 29px 13px 0;
}

/* dosha panel */

.dosha-card {
  display: grid;
  grid-template-columns: 1fr 385px;
  gap: 60px;
  margin-top: 100px;
  min-height: 504px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 73px 141px 60px 120px;
}

.dosha-card .display {
  max-width: 709px;
}

.dosha-card .body-text {
  max-width: 491px;
  margin-top: 56px;
  color: var(--bg);
}

.dosha-rows {
  list-style: none;
  margin: 7px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dosha-rows li {
  display: flex;
  align-items: center;
  height: 101px;
  padding: 0 19px 0 11px;
  border: 1px solid currentColor;
  border-radius: var(--r-sm);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dosha-rows li:hover {
  background: rgb(255 255 255 / 0.1);
}

.dosha-rows img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.dosha-rows span {
  margin-left: 39px;
  margin-right: auto;
  font-family: var(--font-sans);
  font-size: 25px;
  line-height: 30px;
  text-transform: uppercase;
}

/* ---------------------------------------------- gap above the footer, per page */

[data-page="blog"] .site-footer { margin-top: 107px; }
[data-page^="product"] .site-footer { margin-top: 80px; }
[data-page="faq"] .site-footer { margin-top: 121px; }

/* ================================================================ blog page */

/* the blog and FAQ reuse the hero header layout, but in flow on a light page */
.site-header--onlight {
  position: static;
  color: var(--red);
  padding-top: 28px;
  padding-bottom: 12px;
}

.blog-filters {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 66px;
  margin-top: 114px;
  padding-right: 5px;
  font-family: var(--font-body);
}

.blog-filters > a {
  font-size: 15px;
  line-height: 15px;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.blog-filters > a:hover {
  border-color: currentColor;
}

.blog-filters__select {
  width: 293px;
  border-bottom: 1px solid var(--red);
}

.blog-filters__select .dropdown__button {
  padding: 0 4px 6px 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 24px;
  line-height: 24px;
}

.blog-filters__select .dropdown__option {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
}

.blog-feature {
  position: relative;
  display: block;
  margin-top: 24px;
  width: 1415px;
  max-width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1415 / 452;
}

.blog-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-feature:hover img {
  transform: scale(1.03);
}

.blog-feature__body {
  position: absolute;
  left: 40px;
  right: 115px;
  bottom: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
}

.blog-feature h2 {
  margin: 0;
  max-width: 792px;
  line-height: 50px;
}

.blog-feature .pill {
  width: 220px;
  padding: 5px 0;
  flex: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px 20px;
  margin-top: 59px;
}

.post {
  height: 422px;
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.post:hover {
  transform: translateY(-4px);
}

.post__media {
  height: 262px;
  overflow: hidden;
  background: var(--placeholder);
  flex: none;
}

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

.post__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px 24px 28px;
}

.post__cat {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
  margin: 0 0 auto;
}

.post__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 25px;
  margin: 0;
}

.post--tall {
  height: 426px;
}

.post--wide {
  grid-column: span 2;
  flex-direction: row;
}

.post--wide .post__media {
  width: 338px;
  height: auto;
  flex: none;
}

.post--wide .post__body {
  padding: 219px 10px 44px 29px;
}

.post--wide .post__cat {
  margin-bottom: 62px;
}

.post--wide .post__title {
  max-width: 323px;
}

.post-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post--text {
  height: 201px;
}

.post--text .post__body {
  padding: 31px 26px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 72px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
}

.pagination a {
  padding: 0 2px;
  border-bottom: 1px solid transparent;
}

.pagination a:hover,
.pagination a[aria-current="page"] {
  border-color: currentColor;
}

/* ================================================================= faq page */

.faq-hero {
  height: 803px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.faq-hero img {
  position: absolute;
  inset: 0;
  /* the Figma fill is a stretched crop, not a cover crop */
  object-fit: fill;
}

.faq-hero .page-hero__caption {
  position: relative;
  text-align: center;
  padding: 0 40px;
  margin-top: 86px;
}

.faq-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 60px;
  line-height: 54px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 340px 1004px;
  justify-content: start;
  gap: 47px;
  width: min(var(--content), 100% - var(--gutter) * 2);
  margin: 71px auto 0;
  align-items: start;
}

.faq-nav {
  height: 404px;
  background: var(--red);
  color: var(--card);
  border-radius: var(--r-md);
  padding: 72px 20px 60px 65px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  list-style: none;
  margin: 0;
}

.faq-nav button {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 23px;
  line-height: 23px;
  text-transform: uppercase;
  text-align: left;
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.faq-nav button:hover,
.faq-nav button[aria-current="true"] {
  opacity: 1;
}

.faq-panel {
  min-height: 685px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 60px 96px 60px 73px;
}

/* the question rows are inset a further 15px from the panel heading */
.faq-panel .accordion {
  margin-left: 15px;
}

.faq-panel h2 {
  margin: 0 0 52px;
  text-transform: uppercase;
}

.faq-panel .accordion {
  margin-top: 0;
}

.faq-panel .accordion__head {
  padding-left: 0;
  padding-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.faq-panel .accordion__item.is-open .accordion__head {
  padding-bottom: 10px;
}

.faq-panel .accordion__item + .accordion__item {
  margin-top: 24px;
}

.faq-panel .accordion__panel p {
  padding: 14px 0 36px;
  font-size: 20px;
  line-height: 22px;
  color: var(--red);
  max-width: 768px;
}


/* ======================================================= login / sign up */

.page-dark {
  background: var(--red);
  color: var(--white);
}

.announce--flat {
  background: none;
}

.site-header--dark {
  color: var(--white);
}

.auth {
  display: grid;
  grid-template-columns: 700px minmax(0, 600px);
  gap: 120px;
  margin-top: 34px;
}

.auth__media {
  margin: 0;
  aspect-ratio: 700 / 729;
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

.auth__panel {
  padding-top: 125px;
}

.auth__tabs {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-left: 2px;
}

.auth__tab {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 55px;
  line-height: 52px;
  color: rgb(255 255 255 / 0.47);
  transition: color 0.25s ease;
}

.auth__tab.is-active,
.auth__tab:hover {
  color: var(--white);
}

.auth__tab.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.auth__divider {
  width: 2px;
  height: 48px;
  background: var(--white);
}

.auth__form {
  margin-top: 137px;
}

.field {
  display: block;
  position: relative;
  width: 500px;
  max-width: 100%;
  height: 60px;
  border: 1px solid currentColor;
  border-radius: var(--r-sm);
}

.field + .field {
  margin-top: 14px;
}

.field input {
  width: 100%;
  height: 100%;
  padding: 0 30px;
  border: 0;
  background: none;
  color: inherit;
  font-family: "Work Sans", var(--font-sans);
  font-weight: 300;
  font-size: 25px;
  line-height: 25px;
}

.field input::placeholder {
  color: currentColor;
  opacity: 1;
}

.field input:focus {
  outline: none;
}

.field:focus-within {
  box-shadow: 0 0 0 1px currentColor;
}

.auth__actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 76px;
  padding-left: 2px;
}

.auth__submit {
  min-width: 238px;
  width: auto;
  gap: 25px;
  padding: 5px 30px;
  justify-content: space-between;
  white-space: nowrap;
}

.auth__submit svg {
  flex: none;
  transition: transform 0.3s ease;
}

.auth__submit:hover svg {
  transform: translateX(5px);
}

.auth__forgot {
  width: 165px;
  text-align: right;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 24px;
  line-height: 24px;
  text-underline-offset: 4px;
}

.auth__forgot:hover {
  text-decoration: underline;
}

.auth__note {
  margin: 26px 0 0;
  padding-left: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  opacity: 0.7;
}

[data-page="login"] .site-footer {
  margin-top: 184px;
}

/* ============================================================== account */

.account {
  display: flex;
  justify-content: center;
  margin-top: 134px;
}

.account__card {
  width: 580px;
  max-width: 100%;
  min-height: 631px;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 99px 90px 0;
  text-align: center;
}

.account__name {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--red);
  width: 163px;
  margin-inline: auto;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.54px;
  text-transform: uppercase;
}

.account__row {
  margin-top: 62px;
}

.account__row + .account__row {
  margin-top: 34px;
  text-align: left;
  padding-left: 7px;
}

.account__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
  opacity: 0.25;
}

.account__lines {
  margin-top: 3px;
}

.account__lines input {
  display: block;
  width: 218px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--red);
  background: none;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
}

.account__lines input + input {
  margin-top: 3px;
}

.account__lines input:focus {
  outline: none;
  border-bottom-width: 2px;
}

.account__save {
  width: 274px;
  margin-top: 130px;
}

.account__hint {
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-page="account"] .site-footer {
  margin-top: 144px;
}


/* ================================================================== quiz */

.page-quiz {
  background: #000;
  color: var(--white);
}

.quiz-shell {
  position: relative;
  /* the composition is drawn at 1512 with the photo pinned to its right edge —
     let it grow and the photo separates from the controls that sit on it */
  max-width: 1512px;
  margin-inline: auto;
  height: 963px;
  overflow: hidden;
}

.quiz-shell__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 748px;
  height: 100%;
  object-fit: cover;
}

.site-header--quiz {
  position: relative;
  z-index: 2;
  color: var(--white);
  height: 126px;
}

.site-header--quiz .logo {
  width: 276px;
  margin-left: 0;
}

.site-header--quiz .site-nav {
  gap: 65px;
}

.quiz {
  position: relative;
  z-index: 2;
  padding-top: 107px;
  padding-bottom: 60px;
  min-height: 837px;
}

.quiz__panel {
  padding-left: 100px;
}

.quiz__kicker {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 55px;
  line-height: 52px;
}

.quiz__question {
  margin: 22px 0 0;
  max-width: 560px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 25px;
}

.quiz__hint {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 20px;
  opacity: 0.7;
}

.quiz__options {
  list-style: none;
  margin: 216px 0 0;
  padding: 0;
  display: grid;
  gap: 21px 20px;
  width: 512px;
  max-width: 100%;
}

.quiz__options--two {
  grid-template-columns: repeat(2, 1fr);
}

.quiz__option {
  width: 100%;
  min-height: 80px;
  padding: 14px 20px;
  border: 1px solid #f4f1ea;
  border-radius: var(--r-md);
  background: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 25px;
  line-height: 28px;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.quiz__option:hover {
  background: rgb(244 241 234 / 0.14);
}

.quiz__option.is-chosen {
  background: #f4f1ea;
  color: #000;
}

.quiz__controls {
  position: absolute;
  right: 0;
  bottom: 137px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 23px;
}

.quiz__next {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  width: 340px;
  white-space: nowrap;
  height: 48px;
  padding: 10px 55px 10px 90px;
  border: 1px solid currentColor;
  border-radius: 63px;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 25px;
  line-height: 28px;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.quiz__next:hover:not(:disabled) {
  background: var(--white);
  color: #000;
}

.quiz__next:disabled {
  opacity: 0.4;
  cursor: default;
}

.quiz__next-rule {
  flex: none;
  width: 75px;
  height: 2px;
  background: currentColor;
}

/* "see results" does not fit the 340px pill the design sizes for "next" */
.quiz__next.is-final {
  width: 400px;
  padding-left: 48px;
}

.quiz__dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 17px;
}

.quiz__dots li {
  width: 30px;
  height: 30px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.quiz__dots li.is-done {
  background: var(--white);
  border-color: var(--white);
}

/* interstitials */

.quiz-shell.is-plain .quiz-shell__media {
  display: none;
}

.quiz-wait,
.quiz-gate {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
}

.quiz-wait__line {
  margin: 0;
  max-width: 700px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 40px;
  line-height: 46px;
}

.quiz-wait__spinner {
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: quiz-spin 1s linear infinite;
}

@keyframes quiz-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-wait__spinner { animation: none; }
}

.quiz-wait__foot {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  opacity: 0.6;
}

.quiz-gate__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 35px;
  line-height: 38px;
  letter-spacing: 0.5px;
}

.quiz-gate__sub {
  margin: 0;
  max-width: 660px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

.quiz-gate__form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.quiz-gate__form input {
  width: 380px;
  max-width: 100%;
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--white);
  border-radius: 63px;
  background: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 0.5px;
}

.quiz-gate__form input::placeholder {
  color: currentColor;
  opacity: 0.75;
}

.quiz-gate__form input:focus {
  outline: none;
}

.quiz-gate__skip {
  font-family: var(--font-body);
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.75;
}

.quiz-gate__skip:hover {
  opacity: 1;
}

/* --------------------------------------------------------- quiz result */
/* The result frames are drawn 1728 wide in the file; positions below are that
   composition scaled to the 1512 grid the rest of the site uses. */

.quiz-result {
  display: block;
}

.result-hero {
  position: relative;
  height: 701px;
}

.result-hero__head {
  position: absolute;
  top: 140px;
  left: 61px;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.result-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 20px;
}

.result-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 55px;
  line-height: 52px;
}

.result-card {
  position: absolute;
  top: 222px;
  left: 45px;
  width: 810px;
  min-height: 397px;
  display: grid;
  grid-template-columns: 266px 1fr;
  gap: 40px;
  padding: 45px 40px 40px;
  background: rgb(128 128 128 / 0.15);
  border-radius: var(--r-md);
}

.result-card__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.result-card__mark img {
  width: 205px;
  height: auto;
}

.result-card__mark span {
  font-family: var(--font-body);
  font-size: 25px;
  line-height: 28px;
}

.result-card__text {
  padding-top: 38px;
}

.result-card__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
}

.result-card__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

.result-card__copy p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

.result-hero__actions {
  position: absolute;
  top: 474px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
}

.quiz__next--wide {
  width: 368px;
  height: 35px;
  padding: 4px 60px 4px 90px;
  gap: 30px;
}

.result-hero__link {
  font-family: var(--font-body);
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.result-hero__object {
  position: absolute;
  top: 790px;
  left: 714px;
  width: 661px;
  height: 695px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.result-intro,
.result-note,
.result-disclaimer {
  text-align: center;
}

.result-intro {
  padding-top: 0;
}

.result-intro p,
.result-note p {
  margin: 0 auto;
  max-width: 1024px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 26px;
}

.result-note {
  margin-top: 134px;
}

.result-note p + p {
  margin-top: 34px;
}

.result-disclaimer {
  margin-top: 45px;
}

.result-disclaimer p {
  margin: 0 auto;
  max-width: 653px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 22px;
  opacity: 0.7;
}

.result-doshas {
  margin-top: 79px;
}

.result-doshas h2 {
  margin: 0 0 57px 47px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
}

.result-doshas .accordion {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 557px;
  margin-left: 66px;
}

.dosha-item {
  background: rgb(128 128 128 / 0.15);
  border-radius: var(--r-md);
}

.dosha-item + .dosha-item {
  margin-top: 64px;
}

.result-doshas .accordion__head {
  display: block;
  position: relative;
  width: 100%;
  min-height: 136px;
  padding: 20px 62px 20px 140px;
  border: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}

.dosha-item__head img {
  position: absolute;
  left: 26px;
  top: 50%;
  translate: 0 -50%;
  width: 88px;
  height: auto;
}

.dosha-item__head svg {
  position: absolute;
  right: 26px;
  top: 50%;
  translate: 0 -50%;
}

.result-doshas .accordion__item.is-open .accordion__head svg {
  transform: rotate(180deg);
}

.result-doshas .accordion__panel p {
  padding: 0 26px 24px 140px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 26px;
  color: rgb(255 255 255 / 0.85);
}

.result-points {
  display: grid;
  grid-template-columns: repeat(3, 339px);
  justify-content: center;
  gap: 40px;
  margin-top: 90px;
}

.result-points article {
  min-height: 183px;
  padding: 25px 26px;
  border: 1px solid #fcfbf7;
  border-radius: var(--r-md);
}

.result-points h3 {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 25px;
}

.result-points p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

.site-footer--quiz {
  color: var(--white);
  margin-top: 31px;
}

.site-footer--quiz .footer-contact { left: 55px; top: 139px; }
.site-footer--quiz .footer-contact .socials { gap: 23px; }
.site-footer--quiz .footer-legal { left: 657px; top: 148px; }
.site-footer--quiz .footer-nav { left: 1045px; top: 166px; }


/* ============================================================ legal page */
/* In the file this is one flat 14px Inter text block; the markup below gives it
   real headings and lists but keeps the same metrics. The column is centred —
   the file sets it at x=424 with only 108px to its right. */

.legal {
  width: min(980px, 100% - var(--gutter) * 2);
  margin-top: 133px;
  font-family: "Inter", var(--font-body);
  font-size: 14px;
  line-height: 16.94px;
}

.legal h1 {
  margin: 0 0 17px;
  font-family: "Inter", var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
}

.legal__updated {
  margin: 0 0 17px;
  opacity: 0.65;
}

.legal h2 {
  margin: 17px 0 0;
  font-family: "Inter", var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 16.94px;
}

.legal p {
  margin: 0 0 17px;
}

.legal ul {
  margin: 0 0 17px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 0;
}

[data-page="privacy"] .site-footer {
  margin-top: 498px;
}


/* ========================================================== article page */
/* An editorial layout: blocks are placed by coordinate on the 1512 grid, the
   way the frame is drawn. Below 1200px they fall back into a single column. */

.article {
  position: relative;
  max-width: 1512px;
  margin-inline: auto;
  height: 8462px;
}

.article__hero {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 806px;
  object-fit: cover;
}

/* the hero photo is light where the headline sits */
.article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 806px;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.25) 0%, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / 0.45) 100%);
}

.article > * {
  position: absolute;
  z-index: 3;
  margin: 0;
}

.article > .art-card {
  z-index: 0;
}

.art-card {
  background: var(--card);
}

/* The three advice cards live inside the cream block and scroll within it —
   in the file the next card is clipped by the block's bottom edge. */

.art-advice-scroll {
  position: absolute;
  left: 750px;
  top: 3790px;
  z-index: 2;
  width: 711px;
  height: 632px;
  padding-right: 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(139 0 19 / 0.35) transparent;
  overscroll-behavior: contain;
}

.art-advice-scroll::-webkit-scrollbar {
  width: 4px;
}

.art-advice-scroll::-webkit-scrollbar-thumb {
  background: rgb(139 0 19 / 0.35);
  border-radius: 2px;
}

.art-advice {
  width: 345px;
  padding: 30px 20px 26px;
  background: var(--bg);
  border: 1px solid var(--red);
  border-radius: var(--r-md);
}

.art-advice + .art-advice {
  margin-top: 30px;
}

.art-advice--a { margin-left: 52px; }
.art-advice--b { margin-left: 334px; }

.art-advice h3 {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
}

.art-advice p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

.art-box {
  z-index: 2;
  background: var(--bg);
  border: 1px solid var(--red);
}

.art-band-red {
  background: var(--red);
}

.art-img {
  z-index: 1;
  border-radius: var(--r-md);
  object-fit: cover;
}

.art-on-photo {
  color: var(--white);
}

.art-bang {
  color: var(--white);
}

.art-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 55px;
  line-height: 60px;
  color: var(--white);
}

.art-h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 80px;
  line-height: 78px;
}

.art-lead {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
}

.art-sub,
.art-sub2,
.art-sub3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 24px;
}

.art-sub {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.art-sub2 {
  font-size: 25px;
  line-height: 30px;
}

.art-sub3 {
  font-size: 30px;
  line-height: 34px;
}

.art-p,
.art-p2,
.art-note {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

.art-p2 {
  font-size: 25px;
  line-height: 30px;
}

.art-note {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
}

.art-quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

.art-quote blockquote {
  margin: 24px 0 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
}

.art-bang {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
}

.art-bang span {
  font-size: 27px;
  line-height: 30px;
}

.art-lit p {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 24px;
}

[data-page="article"] .site-footer {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .article {
    position: static;
    height: auto;
    width: min(var(--content), 100% - var(--gutter) * 2);
    margin-inline: auto;
    padding-top: 40px;
  }

  .article > * {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: 700px;
    margin: 0 0 28px !important;
  }

  .article__hero {
    width: 100% !important;
    height: 320px;
  }

  .art-img {
    width: 100% !important;
    height: auto !important;
    max-width: 700px;
  }

  /* on a phone the cards simply stack — no inner scroll */
  .art-advice-scroll {
    height: auto !important;
    padding-right: 0;
    overflow: visible;
  }

  .art-advice {
    width: 100%;
    max-width: 420px;
  }

  .art-advice--a,
  .art-advice--b {
    margin-left: 0;
  }

  .art-h1,
  .art-on-photo,
  .art-bang {
    color: var(--red);
  }

  .art-h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .art-card,
  .art-box,
  .art-band-red {
    display: none;
  }

  .art-h2 {
    font-size: 40px;
    line-height: 44px;
  }
}


/* ============================================================ contact page */

.contact-hero {
  height: 806px;
}

.contact-hero .page-hero__caption {
  left: 0;
  right: 0;
  top: 519px;
  text-align: center;
  padding: 0 40px;
}

.contact-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 60px;
  line-height: 54px;
}

.contact-hero p {
  margin: 24px 0 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
}

.contact-hero__mail a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  display: grid;
  grid-template-columns: 701fr 700fr;
  gap: 20px;
  margin-top: 34px;
  align-items: start;
}

.contact__intro {
  min-height: 486px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 51px 100px 0;
  display: flex;
  flex-direction: column;
}

.contact__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 60px;
  line-height: 54px;
}

.contact__intro p {
  margin: 199px 0 0;
  max-width: 456px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 22px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-field {
  display: block;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  height: 60px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--red);
  font-family: "Work Sans", var(--font-sans);
  font-weight: 300;
  font-size: 25px;
  line-height: 25px;
}

.contact-field textarea {
  height: 205px;
  padding: 18px 30px;
  resize: vertical;
  line-height: 30px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--red);
  opacity: 0.85;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 1px solid var(--red);
}

.contact__send {
  height: 42px;
  border-radius: var(--r-md);
  background: var(--red);
  color: var(--card);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 24px;
  line-height: 24px;
  transition: opacity 0.25s ease;
}

.contact__send:hover {
  opacity: 0.85;
}

.contact__note {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
}

[data-page="contact"] .site-footer {
  margin-top: 250px;
}

/* ============================================================== responsive */

@media (max-width: 1200px) {
  .review {
    padding-left: 0;
  }

  .hero__title,
  .hero__cta {
    margin-left: 0;
  }

  .about-hero h1,
  .about-hero p {
    margin-left: 0;
  }

  .about-hero .page-hero__caption {
    width: min(var(--content), 100% - var(--gutter) * 2);
    top: auto;
    bottom: 90px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doshas,
  .about-split,
  .product-top,
  .dosha-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .doshas > *,
  .about-split > *,
  .product-top > *,
  .dosha-card > * {
    min-width: 0;
  }

  .doshas__panel,
  .about-note,
  .dosha-card {
    padding: 56px 44px;
  }

  .about-note {
    text-align: left;
  }

  .about-note .body-text {
    align-self: flex-start;
    width: auto;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    width: min(var(--content), 100% - var(--gutter) * 2);
  }

  .faq-nav {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 34px;
    padding: 30px 34px;
  }

  .faq-panel {
    min-height: 0;
    padding: 40px 44px 52px;
  }

  .product-info {
    height: auto;
    min-height: 0;
    padding: 40px 44px 44px;
  }

  .accordion {
    margin-top: 48px;
  }

  .buy-bar {
    padding: 20px 24px;
  }

  .gallery__dots {
    left: 24px;
  }

  .gallery__dots button {
    width: 64px;
  }

  /* Our Values drops its staggered absolute grid */
  .values-card {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 48px 44px;
  }

  .values-card__title,
  .value {
    position: static;
    width: auto;
  }

  .values-card__title {
    grid-column: 1 / -1;
    text-align: left;
  }

  .value {
    height: auto;
    min-height: 160px;
  }

  .ugc h2,
  .howto > .section-title {
    padding-left: 24px;
  }

  .ugc__strip,
  .progress,
  .related .progress,
  .ingredients .progress {
    margin-inline: 24px;
  }

  .ugc__strip {
    padding-inline: 0;
    margin-inline: 24px;
  }

  .blog-feature__body {
    left: 24px;
    right: 24px;
    bottom: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .auth,
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .contact-hero {
    height: 520px;
  }

  .contact-hero .page-hero__caption {
    top: auto;
    bottom: 60px;
  }

  .contact-hero h1 {
    font-size: 38px;
    line-height: 42px;
  }

  .contact__intro {
    min-height: 0;
    padding: 36px 26px 40px;
  }

  .contact__intro h2 {
    font-size: 38px;
    line-height: 42px;
  }

  .contact__intro p {
    margin-top: 26px;
  }

  .auth__panel {
    padding-top: 0;
  }

  .auth__tabs {
    gap: 18px;
    padding-left: 0;
  }

  .auth__tab {
    font-size: 34px;
    line-height: 38px;
  }

  .auth__divider {
    height: 32px;
  }

  .auth__form {
    margin-top: 46px;
  }

  .field {
    width: 100%;
  }

  .auth__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin-top: 40px;
    padding-left: 0;
  }

  .auth__submit {
    width: 100%;
  }

  .auth__forgot {
    width: auto;
    text-align: left;
    font-size: 19px;
  }

  .account__card {
    padding: 56px 24px 40px;
  }

  .dosha-rows,
  .dosha-rows li {
    max-width: 100%;
  }

  .dosha-rows span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .quiz-shell {
    height: auto;
    min-height: 0;
    padding-bottom: 40px;
  }

  .quiz-shell__media {
    position: static;
    width: 100%;
    height: 220px;
  }

  .quiz {
    padding-top: 32px;
    min-height: 0;
  }

  .quiz__panel {
    padding-left: 0;
  }

  .quiz__options {
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
  }

  .quiz__options--two {
    grid-template-columns: 1fr;
  }

  .quiz__option {
    min-height: 62px;
    font-size: 19px;
    line-height: 24px;
  }

  .quiz__controls {
    position: static;
    align-items: flex-start;
    margin-top: 40px;
  }

  .quiz__next {
    width: 100%;
    max-width: 320px;
  }

  .quiz__dots li {
    width: 18px;
    height: 18px;
  }

  .result-hero {
    height: auto;
  }

  .result-hero > *,
  .result-hero__object {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 24px;
  }

  .result-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 24px;
  }

  .result-doshas .accordion,
  .result-doshas h2 {
    width: auto;
    margin-left: 0;
  }

  .result-points {
    grid-template-columns: 1fr;
  }

  .display {
    font-size: 40px;
    line-height: 42px;
  }

  .display--xl {
    font-size: 46px;
    line-height: 48px;
  }

  .display--product {
    font-size: 38px;
    line-height: 40px;
  }

  .section-title {
    font-size: 26px;
    line-height: 28px;
  }

  .hero {
    height: 560px;
  }

  .hero__inner {
    bottom: 48px;
  }

  .about-hero {
    height: 660px;
  }

  .faq-hero {
    height: 520px;
  }

  .faq-hero h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .faq-hero .page-hero__caption {
    margin-top: 0;
  }

  .home-grid-3,
  .home-grid-2,
  .howto__grid,
  .values-card {
    grid-template-columns: 1fr;
  }

  .home-grid-2 .card {
    padding: 24px 20px 26px;
  }

  .home-grid-2 .card__foot {
    margin-top: 24px;
  }

  .review {
    margin-top: 80px;
  }

  .philosophy {
    margin-top: 80px;
    height: auto;
    padding: 56px 24px;
  }

  .doshas {
    margin-top: 24px;
  }

  .dosha-list {
    flex-wrap: wrap;
    gap: 22px 26px;
    padding-left: 0;
    margin-top: 48px;
  }

  .dosha-list img {
    height: 62px;
  }

  .dosha-list span {
    font-size: 16px;
    line-height: 20px;
  }

  .doshas__quiz {
    min-height: 320px;
    padding-bottom: 44px;
  }

  .newsletter {
    padding-top: 64px;
  }

  .newsletter form {
    height: 50px;
    padding: 0 22px;
  }

  .newsletter input {
    font-size: 18px;
  }

  .buy-bar .pill {
    font-size: 17px;
    height: auto;
    min-height: 40px;
    white-space: normal;
    padding: 8px 14px;
  }

  .howto,
  .related {
    margin-top: 72px;
  }

  .ugc {
    margin-top: 32px;
    padding: 40px 0;
  }

  .reviews {
    margin-top: 40px;
    min-height: 0;
    padding: 32px 24px 36px;
  }

  .reviews__summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .review-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .derm-banner {
    height: auto;
    min-height: 72px;
    padding: 18px 20px;
    font-size: 26px;
    line-height: 30px;
    text-align: center;
  }

  .about-statement {
    padding: 20px 20px 28px;
  }

  .about-statement__line {
    margin-top: 28px;
    font-size: 30px;
    line-height: 34px;
  }

  .about-split,
  .about-wide,
  .values-card,
  .ingredients,
  .dosha-item {
    margin-top: 32px;
  }

  .dosha-rows span {
    margin-left: 14px;
    font-size: 16px;
    line-height: 20px;
    white-space: normal;
  }

  .dosha-rows li {
    height: auto;
    min-height: 72px;
    padding: 10px 12px;
    gap: 10px;
  }

  .dosha-rows img {
    width: 44px;
    height: 44px;
  }

  .dosha-rows img {
    width: 56px;
    height: 56px;
  }

  .blog-filters {
    margin-top: 32px;
    gap: 24px;
    flex-wrap: wrap;
  }

  .blog-filters__select {
    width: 180px;
  }

  .blog-filters__select .dropdown__button {
    font-size: 19px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .post,
  .post--tall {
    height: auto;
  }

  .post__media {
    height: 230px;
  }

  .post__body {
    gap: 16px;
    padding: 18px 20px 24px;
  }

  .post--wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .post--wide .post__media {
    width: 100%;
    height: 230px;
  }

  .post--wide .post__body {
    padding: 18px 20px 24px;
  }

  .post--wide .post__cat {
    margin-bottom: 16px;
  }

  .post--text {
    height: auto;
    min-height: 150px;
  }

  .related__strip .card {
    width: 260px;
    height: auto;
  }

  .related__strip .pill--icon {
    top: 240px;
  }

  .ingredient {
    width: 230px;
    height: 300px;
  }

  .ingredient img {
    width: 100%;
    height: 210px;
  }

  .ingredient h3 {
    font-size: 15px;
    line-height: 18px;
  }

  .ingredients__strip {
    padding-inline: 24px;
  }
}
