/* The member reference frame (84:22) is the source for the page geometry. */
body.home-page {
  --gutter: clamp(24px, 4.861111vw, 70px);
  --nav-gutter: var(--gutter);
  --section-space: clamp(80px, 8.333333vw, 120px);
  background: #fff;
}
.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: block;
  height: 92px;
  padding: 0;
  background: transparent;
}
.home-page .site-nav {
  height: 100%;
  padding-inline: var(--nav-gutter);
}
.home-page .site-nav .stamp {
  position: static;
}
.home-page .site-nav .nav-links a {
  font-size: 12px;
  line-height: 14px;
}

.home-page .hero {
  height: 100svh;
  min-height: 540px;
  max-height: none;
  overflow: hidden;
  background: #fff;
}
.home-page .hero-wordmark {
  position: absolute;
  z-index: 4;
  bottom: 7%;
  left: 50%;
  width: calc(100% - 2 * var(--gutter));
  height: auto;
  max-height: none;
  object-fit: contain;
  max-width: none;
  transform: translateX(-50%);
}
.home-page .concierge-intro {
  position: absolute;
  z-index: 4;
  top: clamp(108px, 17svh, 160px);
  left: var(--gutter);
  width: min(41%, 510px);
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: var(--ink);
  font-family: DiatypeMono, monospace;
  font-size: 14px;
  line-height: 1.25;
}
.home-page .concierge-intro h1 {
  font:
    500 32px/1.3 Diatype,
    Arial,
    sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}
.home-page .concierge-intro p {
  max-width: 579px;
}
.home-page .concierge-intro p + p {
  margin-top: 0;
}
.home-page .concierge-intro a {
  color: #667066;
  font:
    400 14px/1.25 DiatypeMono,
    monospace;
  text-transform: uppercase;
  margin-top: 0;
  width: max-content;
}

.home-page .signup-section {
  padding: var(--section-space) var(--gutter) 0;
  background: #fff;
}
.home-page .signup-section .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 532.31px) minmax(0, 532.32px);
  grid-template-rows: minmax(105.4px, auto) minmax(164.4px, auto);
  justify-content: space-between;
  column-gap: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  min-height: 269.8px;
}
.home-page .signup-section h2 {
  grid-column: 1;
  grid-row: 1;
  font:
    500 40px/1.3 Diatype,
    Arial,
    sans-serif;
  letter-spacing: 0;
  align-self: start;
  white-space: nowrap;
}
.home-page .signup-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: flex;
  align-items: center;
  min-height: 96px;
  width: min(100%, 451px);
  font:
    400 14px/1.35 DiatypeMono,
    monospace;
}
.home-page .signup-section .join {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  width: 100%;
  max-width: 532.32px;
  margin: 0;
  scroll-margin-top: 24px;
}
.home-page .role-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    400 24px/1 Diatype,
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
  min-height: 33px;
}
.home-page .role-prefix,
.home-page .role-label {
  line-height: 24px;
}
.home-page .role-label {
  gap: 7px;
  min-height: 24px;
}
.home-page .role-label::before {
  width: 9px;
  height: 9px;
}
.home-page .role-or {
  font:
    400 14px/14px Diatype,
    Arial,
    sans-serif;
}
.home-page .role-description {
  font:
    400 14px/19.6px Diatype,
    Arial,
    sans-serif;
  margin-top: 15px;
  min-height: 47px;
  max-width: 340px;
}
.home-page .form-fields {
  margin-top: 23px;
}
.home-page .field label {
  font:
    400 12px/12px DiatypeMono,
    monospace;
  letter-spacing: 0.03em;
}
.home-page .field input {
  min-height: 46px;
  padding: 12px 0 10px;
  font-size: 16px;
}
.home-page .field input:focus {
  outline: none;
}
.home-page .preview-note {
  font:
    400 12px/16.8px Diatype,
    Arial,
    sans-serif;
  margin-top: 11px;
}

.home-page .how-section {
  display: block;
  padding: var(--section-space) var(--gutter) 0;
  background: #fff;
}
.home-page .how-controls {
  margin: 0 0 28px;
}
.home-page .how-controls h2 {
  font:
    400 12px/12px DiatypeMono,
    monospace;
  letter-spacing: 0.03em;
}
.home-page .audience-switch {
  gap: 28px;
}
.home-page .audience-switch button {
  font:
    400 14px/1 Diatype,
    Arial,
    sans-serif;
  padding-bottom: 8px;
}
.home-page .story-progress {
  gap: 28px;
  margin: 0 0 30px;
}
.home-page .story-progress > .eyebrow {
  font-size: 12px;
  line-height: 12px;
}
.home-page .story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  min-height: 0;
  align-items: start;
}
.home-page .story-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
}
.home-page .story-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8eae4;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}
/* White overlay; the photo itself does not scale or change colour on hover. */
.home-page .story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.4;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-page
  .story-card:is(.is-active, :hover, :focus-visible)
  .story-image::after {
  opacity: 0;
}
.home-page .story-image img {
  position: absolute;
  max-width: none;
  filter: none;
  transform: none;
  transition: none;
  object-fit: cover;
}
/* Image crops from Figma story-card variants (89:109). */
.home-page .story-image-one img {
  width: 102.9386%;
  height: 103.1349%;
  left: 0.0000%;
  top: 0.0000%;
  object-fit: cover;
}
.home-page .story-image-two img {
  width: 105.8003%;
  height: 154.6713%;
  left: -0.0103%;
  top: -31.4664%;
  object-fit: fill;
}
.home-page .story-image-three img {
  width: 105.8003%;
  height: 154.6713%;
  left: -0.1029%;
  top: -37.1698%;
  object-fit: fill;
}
.home-page .story-grid[data-audience="stylist"] .story-image-one img {
  width: 129.6999%;
  height: 172.9303%;
  left: -21.1394%;
  top: -34.7053%;
  object-fit: fill;
}
.home-page .story-grid[data-audience="stylist"] .story-image-two img {
  width: 148.5000%;
  height: 132.0002%;
  left: -0.2751%;
  top: -6.4961%;
  object-fit: fill;
}
.home-page .story-grid[data-audience="stylist"] .story-image-three img {
  width: 148.5000%;
  height: 247.5003%;
  left: -25.4013%;
  top: -106.4335%;
  object-fit: fill;
}
.home-page .story-details {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 23px 2px 0;
  opacity: 0.42;
}
.home-page .story-card.is-active .story-details {
  opacity: 1;
}
.home-page .story-number {
  font:
    400 12px/16.8px Diatype,
    Arial,
    sans-serif;
}
.home-page .story-title {
  font:
    400 16px/19.8px Diatype,
    Arial,
    sans-serif;
  letter-spacing: 0;
}
.home-page .story-copy {
  font:
    400 14px/1.25 DiatypeMono,
    monospace;
  max-width: 246px;
}
.home-page .story-copy:empty {
  display: none;
}

.home-page .audience-section {
  padding: var(--section-space) var(--gutter) 0;
  background: #fff;
}
.home-page .audience-section h2 {
  max-width: 1040px;
  font:
    500 48px/1.23 Diatype,
    Arial,
    sans-serif;
  letter-spacing: 0;
  margin: 0 0 60px;
}
.home-page .audience-content {
  display: grid;
  grid-template-columns: 296.03px 592.07px;
  justify-content: space-between;
  gap: 0;
  align-items: start;
}
.home-page .audience-content > p {
  max-width: 297px;
  font:
    400 14px/18.2px DiatypeMono,
    monospace;
}
.home-page .audience-links {
  display: grid;
  grid-template-columns: repeat(2, 296.03px);
  width: 592.06px;
  margin: 0;
}
.home-page .audience-card {
  width: 296.03px;
  height: 379.53px;
  aspect-ratio: auto;
}
.home-page .audience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}
.home-page .audience-card:first-child img {
  object-position: center;
}
.home-page .audience-card:last-child img {
  object-position: center;
}
.home-page .audience-card:after {
  background:
    linear-gradient(
      0deg,
      rgba(17, 34, 21, 0.52) 0%,
      rgba(18, 35, 22, 0.29) 28%,
      rgba(24, 48, 30, 0.06) 56%
    ),
    rgba(25, 49, 34, 0.21);
}
.home-page .audience-card > span {
  font:
    400 14px/16.8px Diatype,
    Arial,
    sans-serif;
  left: 24px;
  bottom: 24px;
}

@media (max-width: 1000px) {
  .home-page .site-nav {
    padding-inline: var(--gutter);
  }
  .home-page .concierge-intro {
    width: 62%;
  }
  .home-page .concierge-intro h1 {
    font-size: clamp(25px, 3.125vw, 32px);
    white-space: normal;
  }
  .home-page .signup-section,
  .home-page .how-section,
  .home-page .audience-section {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .home-page .signup-section .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 5%;
    row-gap: 0;
  }
  .home-page .signup-section h2 {
    font-size: clamp(30px, 3.125vw, 40px);
    white-space: normal;
    text-wrap: balance;
  }
  .home-page .signup-section h2 br {
    display: none;
  }
  .home-page .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
  .home-page .story-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
  .home-page .audience-content {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 592px);
    gap: 32px 6%;
  }
  .home-page .audience-links {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .audience-card {
    width: 100%;
    height: auto;
    aspect-ratio: 0.78;
  }
}
@media (max-width: 700px) {
  .home-page .site-header {
    height: 80px;
  }
  .home-page .site-nav {
    padding-inline: var(--gutter);
  }
  .home-page .hero {
    height: 100svh;
    min-height: 0;
    background: #fff;
  }
  .home-page .concierge-intro {
    top: 104px;
    bottom: auto;
    left: var(--gutter);
    width: min(66%, 280px);
    font-size: 12px;
    gap: 16px;
    line-height: 1.35;
    padding: 0;
    background: none;
  }
  .home-page .concierge-intro h1 {
    font-size: 24px;
    line-height: 1.32;
    max-width: 210px;
    margin-bottom: 8px;
  }
  .home-page .concierge-intro p {
    max-width: 380px;
  }
  .home-page .concierge-intro a {
    font-size: clamp(12px, 3.6vw, 14px);
    line-height: 1.25;
    margin-top: 0;
    color: #667066;
  }
  .home-page .signup-section {
    padding: var(--section-space) var(--gutter) 0;
  }
  .home-page .signup-section .hero-content {
    display: block;
    min-height: 0;
  }
  .home-page .signup-section h2 {
    font-size: clamp(28px, 8.14vw, 36px);
    line-height: 1.14;
    text-wrap: balance;
  }
  .home-page .signup-section h2 br {
    display: none;
  }
  .home-page .signup-copy {
    min-height: 0;
    margin-top: 30px;
    max-width: 460px;
  }
  .home-page .signup-section .join {
    margin-top: 52px;
    max-width: none;
  }
  .home-page .role-picker {
    font-size: 23px;
    gap: 9px;
  }
  .home-page .role-prefix,
  .home-page .role-label {
    line-height: 23px;
  }
  .home-page .how-section {
    padding: var(--section-space) var(--gutter) 0;
  }
  .home-page .story-grid {
    display: flex;
    min-height: 0;
    gap: 0;
    padding-bottom: 0;
  }
  .home-page .story-grid li {
    flex: 0 0 min(82vw, 350px);
  }
  .home-page .audience-section {
    padding: var(--section-space) var(--gutter) 0;
  }
  .home-page .audience-section h2 {
    font-size: 36px;
    line-height: 1.12;
    margin-bottom: 44px;
  }
  .home-page .audience-section h2 br {
    display: none;
  }
  .home-page .audience-content {
    display: block;
  }
  .home-page .audience-content > p {
    max-width: 540px;
    margin-bottom: 44px;
  }
  .home-page .audience-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
  .home-page .audience-card {
    aspect-ratio: 0.78;
  }
}
@media (max-width: 430px) {
  .home-page .role-picker {
    font-size: 20px;
    gap: 7px;
  }
  .home-page .audience-links {
    grid-template-columns: 1fr;
  }
  .home-page .audience-card {
    aspect-ratio: 1.1;
  }
}

/* Reveal the hero copy as the O appears in the wordmark motion. */
@media (prefers-reduced-motion: no-preference) {
  .home-page .concierge-intro {
    animation: concierge-intro-in 0.8s ease-out 5.5s both;
  }
}
@keyframes concierge-intro-in {
  from {
    opacity: 0;
    visibility: hidden;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}

/* Offset the SVG’s internal bottom padding so the visible letters align
   with the original viewport-edge placement. */
.home-page .hero-wordmark {
  bottom: 7%;
  width: calc(100% - 2 * var(--gutter));
  transform: translate(-50%, 21.25%);
}
@media (max-width: 700px) {
  .home-page .hero-wordmark {
    bottom: clamp(56px, 7svh, 80px);
    width: calc(100% - 2 * var(--gutter));
  }
}
@media (max-height: 540px) and (min-width: 701px) {
  .home-page .hero {
    min-height: 100svh;
  }
  .home-page .site-header {
    height: 80px;
  }
  .home-page .concierge-intro {
    top: 72px;
    gap: 8px;
    font-size: 14px;
  }
  .home-page .concierge-intro h1 {
    font-size: 28px;
  }
  .home-page .hero-wordmark {
    bottom: 5%;
    max-height: 28%;
  }
}
