/* ==========================================================================
   Aurae — Home 1
   Page-specific styles. Relies on global.css for tokens & scaling.
   ========================================================================== */

/* All sizing in em (relative to fluid body font-size). letter-spacing in px. */

/* ==========================================================================
   Shared
   ========================================================================== */

.faded {
  color: var(--color-text-accent);
}

em {
  letter-spacing: -0.03em;
}

/* Giant decorative band that says "Aurae - beauty" */
.decor-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.07em; /* sit slightly below the section */
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14.73em;
  line-height: 1.111;
  letter-spacing: -4.7124px;
  color: var(--color-decor);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 53.375em; /* 854px */
  overflow: hidden;
  background: var(--color-bg-white);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.navbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.75em; /* 12px */
  width: calc(100% - 3em); /* 1280 - 48 ≈ */
  max-width: 78.5em; /* 1256px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 0.5em 0.5em 1em;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  z-index: 2;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color-text-title);
  font-size: 1.5em; /* 24px */
  font-family: var(--font-italic);
  font-style: italic;
  letter-spacing: -0.48px;
}

.navbar__logo img {
  width: 1.34375em; /* 21.5px */
  height: auto;
}

.navbar__logo span {
  line-height: 1;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.75em; /* 44px */
  font-size: 0.875em; /* 14px */
  line-height: 1.428;
  letter-spacing: -0.42px;
  color: var(--color-text-body);
}

.navbar__links a {
  transition: color var(--transition-fast);
}

.navbar__links a:hover {
  color: var(--color-text-title);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4em;
  z-index: 1;
}

.hero__title {
  font-size: 4.5em; /* 72px */
  font-weight: 400;
  line-height: 1.111; /* 80/72 */
  letter-spacing: -3.6px;
  color: var(--color-text-white);
  text-align: center;
  max-width: 8.5694em; /* 617px in own em (617/72) */
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9375em; /* 15px */
  margin-top: 12em; /* push down toward bottom */
  width: 24.5em; /* 392px */
  text-align: center;
}

.hero__cta p {
  color: var(--color-text-white);
  font-size: 1em; /* 16px */
  line-height: 1.5;
  letter-spacing: -0.48px;
}

.hero__divider {
  width: 1.375em; /* 22px */
  height: 0.125em; /* 2px */
  background: var(--color-text-white);
}

/* ==========================================================================
   Elevated / About
   ========================================================================== */

.elevated {
  position: relative;
  width: 100%;
  height: 53.375em; /* 854px */
  background: var(--color-bg-white);
  overflow: hidden;
  isolation: isolate;
}

.elevated__title {
  position: absolute;
  top: 0.7222em; /* 52px / 72px */
  left: 50%;
  transform: translateX(-50%);
  width: 11.125em; /* 801/72 */
  text-align: center;
  font-family: var(--font-heading);
  font-size: 4.5em; /* 72px */
  line-height: 1.111;
  letter-spacing: -3.6px;
  color: var(--color-text-title);
  z-index: 2;
}

.elevated__product {
  position: absolute;
  top: 8.5625em; /* 137px */
  left: 50%;
  transform: translateX(-50%);
  width: 35.75em; /* 572px */
  height: 53.6875em; /* 859px */
  object-fit: cover;
  z-index: 1;
}

/* ==========================================================================
   Science-Led / Product Review
   ========================================================================== */

.science {
  position: relative;
  width: 100%;
  height: 53.375em;
  background: var(--color-bg-white);
  overflow: hidden;
  isolation: isolate;
}

.science__product {
  position: absolute;
  top: -0.1875em;
  left: 0.8125em; /* 13px */
  width: 35.75em; /* 572px */
  height: 53.6875em;
  object-fit: cover;
  z-index: 1;
}

.science__content {
  position: absolute;
  top: 50%;
  left: 40.75em; /* 652px */
  transform: translateY(-50%);
  display: flex;
  gap: 1em; /* 16px */
  width: 37.5em; /* 600px */
  z-index: 2;
}

.science__number {
  flex-shrink: 0;
  width: 1.6667em; /* 80/48 */
  font-size: 3em; /* 48px */
  line-height: 1.167;
  letter-spacing: -0.96px;
  color: var(--color-text-accent);
}

.science__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.science__text h2 {
  font-size: 3em; /* 48px */
  line-height: 1.167;
  letter-spacing: -2.4px;
  color: var(--color-text-title);
}

.science__text p {
  font-size: 1em; /* 16px */
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-body);
}

/* ==========================================================================
   Story / Stats / Gallery
   ========================================================================== */

.story {
  position: relative;
  width: 100%;
  height: 50.3125em; /* 805px */
  background: var(--color-bg-gray);
  overflow: hidden;
}

.story__top {
  position: absolute;
  top: 3.25em; /* 52px */
  left: 1.75em; /* 28px */
  right: 1.75em;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}

.story__eyebrow {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  text-transform: uppercase;
  color: var(--color-text-title);
  white-space: nowrap;
}

.story__lead {
  flex: 1;
  max-width: 25.25em; /* 808/32 */
  font-family: var(--font-heading);
  font-size: 2em; /* 32px */
  line-height: 1.375; /* 44/32 */
  letter-spacing: -1.6px;
  color: var(--color-text-title);
}

.story__stats {
  position: absolute;
  top: 18.75em; /* 300px */
  left: 27.75em; /* 444px */
  display: flex;
  justify-content: space-between;
  width: 50.5em; /* 808px */
  gap: 1em;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  width: 13.625em; /* 218px */
}

.stat__value {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 3em; /* 48px */
  line-height: 1.167;
  letter-spacing: -0.96px;
  color: var(--color-text-title);
}

.stat__label {
  font-size: 0.875em; /* 14px */
  line-height: 1.428;
  letter-spacing: -0.42px;
  color: var(--color-text-body);
}

.story__gallery {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 1px;
  width: 100%;
  height: 22.25em; /* 356px */
}

.story__gallery img {
  flex: 1;
  width: 0;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   CTA — Ready to elevate
   ========================================================================== */

.cta {
  position: relative;
  width: 100%;
  height: 43.375em; /* 694px */
  background: var(--color-bg-white);
  overflow: hidden;
}

.cta__title {
  position: absolute;
  top: 0.825em; /* 99/120 */
  left: 0.2333em; /* 28/120 */
  font-family: var(--font-heading);
  font-size: 7.5em; /* 120px */
  line-height: 1;
  letter-spacing: -6px;
  color: var(--color-text-title);
}

.cta__title .faded {
  color: var(--color-text-accent);
}

.cta__product {
  position: absolute;
  top: 6.1875em; /* 99px */
  left: 53.75em; /* 860px */
  width: 18em; /* 288px */
  height: 15.125em; /* 242px */
  object-fit: cover;
}

.cta__footer {
  position: absolute;
  bottom: 3.25em; /* matches Figma 52px from bottom-ish */
  left: 1.75em;
  right: 1.75em;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2em;
}

.cta__footer p {
  max-width: 24.5em; /* 392px */
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-body);
}

/* ==========================================================================
   Designed to Work (dark steps)
   ========================================================================== */

.works {
  position: relative;
  width: 100%;
  min-height: 40.125em; /* 642px */
  padding: 4em 1.75em;
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2em;
}

.works__intro {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 37.5em; /* 600px */
}

.works__intro h2 {
  font-size: 5em; /* 80px */
  line-height: 1.1; /* 88/80 */
  letter-spacing: -4px;
  color: var(--color-text-white);
}

.works__intro p {
  max-width: 24.5em;
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-muted);
}

.works__steps {
  display: flex;
  align-items: flex-end;
  gap: 1em;
  list-style: none;
}

.step {
  flex-shrink: 0;
}

.step figure {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  color: var(--color-text-title);
  width: 25em; /* 400px */
  box-shadow:
    0 14px 15.5px rgba(0, 0, 0, 0.1),
    0 57px 28.5px rgba(0, 0, 0, 0.09),
    0 127px 38px rgba(0, 0, 0, 0.05);
  border-radius: 0.25em;
  overflow: hidden;
}

.step:nth-child(1) figure {
  width: 21.25em; /* 340px */
  transform: translateY(-2.5em);
}

.step:nth-child(2) figure {
  width: 23.125em; /* 370px */
  transform: translateY(-1.5em);
}

.step:nth-child(3) figure {
  width: 25em; /* 400px */
}

.step figure img {
  width: 100%;
  height: 19em;
  object-fit: cover;
  display: block;
}

.step__num {
  position: absolute;
  top: 1em;
  left: 1em;
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1em;
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  font-size: 0.875em;
  line-height: 1.428;
  letter-spacing: -0.42px;
  border-radius: var(--radius-sm);
}

.step figcaption {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
}

.step figcaption h3 {
  font-size: 1.5em; /* 24px */
  line-height: 1.333;
  letter-spacing: -1.2px;
  color: var(--color-text-title);
}

.step figcaption p {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-body);
}

/* ==========================================================================
   Product
   ========================================================================== */

.product {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2em;
  width: 100%;
  max-width: 80em; /* 1280px */
  margin: 0 auto;
  padding: 3.25em 1.75em;
  background: var(--color-bg-white);
}

.product__info {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 30.875em; /* 494px */
}

.product__head {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.product__head h2 {
  font-size: 2em; /* 32px */
  line-height: 1.375;
  letter-spacing: -1.6px;
  color: var(--color-text-title);
}

.product__price {
  display: flex;
  align-items: center;
  gap: 1em;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 3.25em; /* 52px */
  line-height: 1.231;
  letter-spacing: -1.04px;
  color: var(--color-text-title);
}

.product__price--old {
  font-size: 0.615em; /* 32px relative to 52em */
  color: var(--color-text-accent);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  letter-spacing: -0.64px;
}

.product__desc {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-body);
}

.product__buy {
  display: flex;
  gap: 1em;
  align-items: stretch;
}

.qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625em;
  padding: 0.5em;
  background: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  background: transparent;
}

.qty button img {
  width: 100%;
  height: 100%;
}

.qty span {
  display: inline-block;
  min-width: 1em;
  text-align: center;
  color: var(--color-text-title);
  font-size: 0.875em;
  line-height: 1.428;
  letter-spacing: -0.42px;
}

.product__add {
  flex: 1;
}

.product hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  width: 100%;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding-block: 0.25em;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span:first-child {
  font-size: 1.25em; /* 20px */
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: var(--color-text-title);
}

.accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25em;
  height: 2.25em;
  background: var(--color-text-title);
  border-radius: var(--radius-sm);
}

.accordion__icon img {
  width: 1.25em;
  height: 1.25em;
}

.accordion[open] .accordion__icon img {
  /* nothing — markup already differentiates */
}

.accordion p {
  margin-top: 0.5em;
  font-size: 0.875em;
  line-height: 1.428;
  letter-spacing: -0.42px;
  color: var(--color-text-body);
}

.product__gallery {
  display: flex;
  align-items: stretch;
  gap: 1.25em; /* 20px */
  width: 37.5em; /* 600px */
  flex-shrink: 0;
}

.product__thumbs {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.thumb {
  width: 5em; /* 80px */
  height: 5em;
  padding: 0;
  border: none;
  background: var(--color-bg-gray);
  border-radius: 0.25em;
  overflow: hidden;
  cursor: pointer;
  transition: outline-color var(--transition-fast);
  outline: 2px solid transparent;
}

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

.thumb.is-active,
.thumb:hover {
  outline-color: var(--color-text-title);
}

.product__main-image {
  flex: 1;
  height: 37.5625em; /* 601px */
  background: var(--color-bg-gray);
  border-radius: 0.25em;
  overflow: hidden;
}

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

/* ==========================================================================
   Social / Newsletter
   ========================================================================== */

.social {
  display: flex;
  flex-direction: column;
  gap: 3.25em; /* 52px */
  width: 100%;
  max-width: 80em;
  margin: 0 auto;
  padding: 3.25em 1.75em;
  background: var(--color-bg-white);
  overflow: hidden;
}

.social__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2em;
}

.social__head h2 {
  flex: 1;
  font-size: 4em; /* 64px */
  line-height: 1.125; /* 72/64 */
  letter-spacing: -3.2px;
  color: var(--color-text-title);
  max-width: 9.84em; /* 630/64 */
}

.social__nav {
  display: flex;
  gap: 1em;
  flex-shrink: 0;
}

.social__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5em; /* 40px */
  height: 2.5em;
  background: var(--color-bg-gray);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.social__nav button:hover {
  background: var(--color-border);
}

.social__nav button img {
  width: 1.5em;
  height: 1.5em;
}

.social__grid {
  display: flex;
  gap: 1em;
}

.social__grid li {
  position: relative;
  flex: 1;
  height: 20em; /* 320px */
  border-radius: 0.25em;
  overflow: hidden;
}

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

.social__grid li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.social__grid span {
  position: absolute;
  bottom: 0.75em;
  left: 1em;
  z-index: 1;
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-white);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  position: relative;
  width: 100%;
  height: 60.5em; /* 968px */
  background: var(--color-bg-white);
  overflow: hidden;
}

.testimonials__title {
  position: absolute;
  top: 2.025em; /* 324/160 */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 10em; /* 160px */
  line-height: 1;
  letter-spacing: -8px;
  color: var(--color-text-title);
  white-space: nowrap;
}

.testimonials__title .row {
  display: block;
}

.testimonials__title .row.faded {
  color: var(--color-text-accent);
}

.testimonials__title .row + .row {
  margin-top: 0;
}

.testimonial {
  position: absolute;
  width: 18em; /* 288px */
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.testimonial--tl {
  top: 11.625em; /* 186px */
  left: 1.75em;
}

.testimonial--tr {
  top: 3.6875em; /* 59px */
  right: 1.75em;
}

.testimonial--bc {
  top: 43.8125em; /* 701px */
  left: 50%;
  transform: translateX(-50%);
}

.testimonial > img {
  width: 100%;
  height: 11.0625em; /* 177px */
  object-fit: cover;
  display: block;
}

.testimonial__body {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
  background: var(--color-bg-gray);
}

.testimonial__stars {
  display: flex;
  gap: 0.25em;
}

.testimonial__stars img {
  width: 1.25em;
  height: 1.25em;
}

.testimonial blockquote {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-title);
}

.testimonial footer {
  display: flex;
  gap: 1em;
  align-items: center;
}

.testimonial footer > img {
  width: 3em;
  height: 3em;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__name {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-title);
}

.testimonial__role {
  font-size: 0.875em;
  line-height: 1.428;
  letter-spacing: -0.42px;
  color: var(--color-text-body);
}

/* ==========================================================================
   Closing — Gentle / Care
   ========================================================================== */

.closing {
  position: relative;
  width: 100%;
  height: 32.1875em; /* 515px */
  overflow: hidden;
  isolation: isolate;
}

.closing__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.closing__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.closing__title {
  position: absolute;
  top: calc(50% - 1.118em); /* 50% - 80.5px */
  left: 0.389em; /* 28/72 */
  width: 8.5694em; /* 617/72 */
  font-size: 4.5em; /* 72px */
  line-height: 1.111;
  letter-spacing: -3.6px;
  color: var(--color-text-white);
  z-index: 1;
}

.closing__card {
  position: absolute;
  top: 20.5625em; /* 329px */
  right: 1.75em;
  width: 31.125em; /* 498px */
  height: 23.5625em; /* 377px */
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  z-index: 1;
}

.closing__card h3 {
  font-size: 3em; /* 48px */
  line-height: 1.167;
  letter-spacing: -2.4px;
  color: var(--color-text-white);
}

.closing__card-foot {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.closing__card-foot p {
  max-width: 24.5em;
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  position: relative;
  width: 100%;
  height: 37.75em; /* 604px */
  background: var(--color-bg-white);
  overflow: hidden;
  isolation: isolate;
}

.footer__top {
  position: absolute;
  top: 2.1875em; /* 35px */
  left: 1.75em;
  right: 1.75em;
  display: flex;
  flex-direction: column;
  gap: 4em;
  z-index: 2;
}

.footer__links {
  display: flex;
  gap: 1em;
  max-width: 34.5em; /* 552px */
  justify-content: space-between;
}

.footer__links nav {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  flex: 1;
}

.footer__links nav > p {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-title);
}

.footer__links nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}

.footer__links nav ul a {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--color-text-body);
  transition: color var(--transition-fast);
}

.footer__links nav ul a:hover {
  color: var(--color-text-title);
}

.footer__decor {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.17em;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14.73em;
  line-height: 1.111;
  letter-spacing: -4.7124px;
  color: var(--color-decor);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Responsive — Tablet ≤991px
   ========================================================================== */

@media screen and (max-width: 991px) {
  .navbar {
    width: calc(100% - 2em);
    padding: 0.5em 0.75em;
  }

  .navbar__links {
    gap: 1.5em;
  }

  .hero__title,
  .elevated__title,
  .closing__title {
    font-size: 3.5em;
    letter-spacing: -2.4px;
  }

  .elevated__title {
    width: 90%;
  }

  .elevated__product,
  .science__product {
    width: 28em;
    height: auto;
  }

  .science__content {
    left: auto;
    right: 1.75em;
    width: 22em;
  }

  .science__text h2 {
    font-size: 2.25em;
  }

  .story {
    height: auto;
    padding-block: 3.25em;
  }

  .story__top {
    position: static;
    padding-inline: 1.5em;
  }

  .story__lead {
    font-size: 1.5em;
  }

  .story__stats {
    position: static;
    margin-top: 2em;
    padding-inline: 1.5em;
    width: 100%;
    gap: 1.5em;
  }

  .story__gallery {
    position: static;
    margin-top: 2.5em;
  }

  .cta__title {
    font-size: 5em;
    letter-spacing: -3px;
  }

  .cta__product {
    left: auto;
    right: 1.75em;
    width: 12em;
    height: auto;
  }

  .works {
    flex-direction: column;
    align-items: stretch;
  }

  .works__intro {
    width: 100%;
  }

  .works__intro h2 {
    font-size: 3.5em;
    letter-spacing: -2.4px;
  }

  .works__steps {
    overflow-x: auto;
    padding-bottom: 1em;
    scroll-snap-type: x mandatory;
  }

  .step figure,
  .step:nth-child(1) figure,
  .step:nth-child(2) figure,
  .step:nth-child(3) figure {
    width: 18em;
    transform: none;
    scroll-snap-align: start;
  }

  .product {
    flex-direction: column;
    align-items: stretch;
  }

  .product__info,
  .product__gallery {
    width: 100%;
  }

  .product__main-image {
    height: 30em;
  }

  .social__head h2 {
    font-size: 3em;
    letter-spacing: -2px;
  }

  .social__grid {
    flex-wrap: wrap;
  }

  .social__grid li {
    flex: 1 1 calc(33.333% - 1em);
    min-width: 12em;
  }

  .testimonials {
    height: auto;
    padding: 3.25em 1.75em;
    display: flex;
    flex-direction: column;
    gap: 2em;
  }

  .testimonials__title {
    position: static;
    transform: none;
    font-size: 5em;
    letter-spacing: -3px;
    text-align: left;
    white-space: normal;
  }

  .testimonial,
  .testimonial--tl,
  .testimonial--tr,
  .testimonial--bc {
    position: static;
    transform: none;
    width: 100%;
    max-width: 24em;
    margin-inline: auto;
  }

  .closing {
    height: auto;
    padding: 3.25em 1.75em;
  }

  .closing__title {
    position: static;
    width: 100%;
    margin-bottom: 1.5em;
  }

  .closing__card {
    position: static;
    width: 100%;
    height: auto;
    gap: 2em;
  }

  .footer {
    height: auto;
    padding-block: 3.25em 6em;
  }

  .footer__top {
    position: static;
  }

  .footer__decor {
    font-size: 8em;
    bottom: -1.5em;
  }

  .decor-text {
    font-size: 8em;
  }
}

/* ==========================================================================
   Responsive — Mobile ≤767px
   ========================================================================== */

@media screen and (max-width: 767px) {
  .navbar__links {
    display: none;
  }

  .hero,
  .elevated,
  .science {
    height: auto;
    min-height: 38em;
    padding-block: 2em;
  }

  .hero {
    min-height: 44em;
  }

  .hero__title {
    font-size: 2.75em;
    letter-spacing: -1.5px;
  }

  .hero__cta {
    margin-top: 8em;
    width: 100%;
    max-width: 22em;
    padding-inline: 1em;
  }

  .elevated__title {
    position: static;
    transform: none;
    width: 100%;
    padding-inline: 1em;
    margin-bottom: 1.5em;
    font-size: 2.5em;
    letter-spacing: -1.5px;
  }

  .elevated__product {
    position: static;
    transform: none;
    width: 100%;
    max-width: 22em;
    margin: 0 auto;
    height: auto;
  }

  .science {
    display: flex;
    flex-direction: column;
    gap: 2em;
    padding: 2em 1em;
  }

  .science__product {
    position: static;
    width: 100%;
    height: auto;
  }

  .science__content {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5em;
  }

  .science__number {
    width: auto;
    font-size: 2em;
  }

  .science__text h2 {
    font-size: 1.75em;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .story__top {
    flex-direction: column;
    gap: 1em;
  }

  .story__lead {
    font-size: 1.25em;
    letter-spacing: -0.8px;
  }

  .story__stats {
    flex-wrap: wrap;
    gap: 1.5em;
  }

  .stat {
    flex: 1 1 100%;
  }

  .story__gallery {
    height: 14em;
  }

  .cta {
    height: auto;
    padding: 3em 1em;
  }

  .cta__title {
    position: static;
    font-size: 3em;
    letter-spacing: -1.5px;
  }

  .cta__product {
    position: static;
    margin: 1em auto;
    width: 10em;
  }

  .cta__footer {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5em;
    padding: 0;
    margin-top: 1.5em;
  }

  .works {
    padding: 2.5em 1em;
  }

  .works__intro h2 {
    font-size: 2.5em;
    letter-spacing: -1.5px;
  }

  .product {
    padding: 2em 1em;
  }

  .product__gallery {
    flex-direction: column;
  }

  .product__thumbs {
    flex-direction: row;
  }

  .social {
    padding: 2.5em 1em;
  }

  .social__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  .social__head h2 {
    font-size: 2.25em;
    letter-spacing: -1.2px;
  }

  .social__grid {
    flex-direction: column;
  }

  .social__grid li {
    width: 100%;
    height: 18em;
  }

  .testimonials__title {
    font-size: 3em;
    letter-spacing: -1.5px;
  }

  .closing {
    padding: 2.5em 1em;
  }

  .closing__title {
    font-size: 2.5em;
    letter-spacing: -1.2px;
  }

  .closing__card h3 {
    font-size: 2em;
    letter-spacing: -1.2px;
  }

  .footer {
    padding-block: 2.5em 4em;
  }

  .footer__top {
    left: 1em;
    right: 1em;
    gap: 2.5em;
  }

  .footer__links {
    flex-direction: column;
    gap: 2em;
  }

  .footer__decor,
  .decor-text {
    font-size: 5em;
    letter-spacing: -2px;
  }
}

/* ==========================================================================
   Responsive — Small mobile ≤479px
   ========================================================================== */

@media screen and (max-width: 479px) {
  .hero__title {
    font-size: 2.25em;
  }

  .elevated__title,
  .closing__title,
  .cta__title {
    font-size: 2em;
  }

  .works__intro h2 {
    font-size: 2em;
  }

  .social__head h2,
  .testimonials__title {
    font-size: 2em;
  }
}

