/* Revival Space — stylesheet
   Built section by section. Only the Hero exists so far. */

:root {
  --chalk: #F5F0E8;
  --charcoal: #1E1E1C;
  --amber: #D4894A;
  --blue: #6B8F9E;
  --stone: #B5A89A;

  --font-heading: "Urbanist", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-story: "Fraunces", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

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


body {
  margin: 0;
  background: var(--chalk);
  color: var(--charcoal);
  font-family: var(--font-body);
}

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

/* ---------- Scroll reveal ----------
   Content is visible by default (no JS / JS fails / reduced motion = no
   animation, nothing hidden). Only when script.js confirms motion is fine
   does it add .js-reveal to <html>, which arms the hidden starting state;
   IntersectionObserver then reveals each .reveal element once. */

.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--amber);
  z-index: 200;
  pointer-events: none;
}

/* ---------- Header ----------
   Transparent over the hero (light text, like Alchemy Saunas); once the hero
   has scrolled away it gains a Chalk background and a thin Stone line. The
   hamburger opens a dropdown panel under the header, in the style of Aalto
   Community: the header darkens to match, and each link is a large left-aligned
   row divided by a hairline. The page stays visible beneath it. */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--chalk);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  color: var(--charcoal);
  background: rgba(245, 240, 232, 0.96);
  border-bottom-color: rgba(181, 168, 154, 0.55);
}

.site-header.is-open {
  color: var(--chalk);
  background: var(--charcoal);
  border-bottom-color: rgba(245, 240, 232, 0.15);
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.site-header__mark {
  line-height: 0;
}

.site-header__mark img {
  width: 36px;
  height: auto;
}

/* Hidden while the hero's own wordmark is on screen; faded in once the header
   reaches its solid Chalk (is-scrolled) state, and faded back out again the
   moment the dropdown opens (is-open overrides background to Charcoal, which
   this charcoal-coloured wordmark would disappear into). */
.site-header__nav-wordmark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header.is-scrolled .site-header__nav-wordmark {
  opacity: 1;
}

.site-header.is-open .site-header__nav-wordmark {
  opacity: 0;
}

.site-header__nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 60px);
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
  background: var(--charcoal);
  color: var(--chalk);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.site-header.is-open .site-header__nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.site-header__links a {
  display: block;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.site-header__links a:hover {
  opacity: 0.6;
}

.site-header__nav-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
}

.site-header__nav-socials a {
  color: inherit;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.site-header__nav-socials a:hover {
  opacity: 0.6;
}

.site-header__nav-socials svg {
  width: 22px;
  height: 22px;
}

/* TikTok and Facebook's authentic marks are drawn edge-to-edge in their box,
   so at the same box size they read larger than Instagram's icon. Sized down
   so all three look the same weight in the row. */
.site-header__nav-socials svg.icon--brand {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .site-header__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .site-header__links a {
    padding: 1.75rem 2rem;
    font-size: 1.5rem;
  }

  .site-header__links a:nth-child(odd) {
    border-right: 1px solid rgba(245, 240, 232, 0.15);
  }
}

.site-header__toggle {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .site-header__toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.site-header.is-open .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .site-header {
    padding: 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__nav,
  .site-header__nav-wordmark,
  .site-header__links a,
  .site-header__nav-socials a,
  .site-header__toggle span {
    transition: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--chalk);
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  opacity: 0.45;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 640px;
}

.hero__heading {
  margin: 0;
}

.hero__wordmark {
  width: 220px;
  height: auto;
  display: block;
}

.hero__northstar {
  font-family: var(--font-story);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin: 0;
  line-height: 1.2;
}

.hero__word--heat {
  color: var(--amber);
}

.hero__word--cold {
  color: var(--blue);
}

.hero__copy {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 0;
  max-width: 34ch;
}

.btn-amber {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--amber);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  opacity: 0.85;
  margin: 0;
}

/* ---------- What it is ---------- */

.what-it-is {
  padding: 4.5rem 1.5rem 5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.shape {
  width: 56px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.section-intro {
  max-width: 38ch;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-intro .shape {
  margin: 0 auto 1.25rem;
}

.section-intro p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.section-intro__lead {
  font-weight: 700;
}

.blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: left;
}

.block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shape-frame {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.block__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.375rem;
  margin: 0 0 0.75rem;
}

.block p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 36ch;
  text-align: left;
}

@media (min-width: 768px) {
  .blocks {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* ---------- The Space ---------- */

.section-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin: 0 0 1.5rem;
}

.the-space {
  padding: 4.5rem 1.5rem 5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.the-space__intro {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 3rem;
  text-wrap: balance;
}

.the-space__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.the-space__image {
  width: 100%;
  height: auto;
  display: block;
}

.the-space__note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--charcoal);
  opacity: 0.7;
  text-align: center;
  margin: 0;
}

@media (min-width: 640px) {
  .the-space__gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- The Story ---------- */

.the-story {
  padding: 4.5rem 1.5rem 5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.the-story__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.the-story__photo {
  width: 100%;
  height: auto;
  display: block;
}

.the-story__text p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.the-story__signature {
  font-weight: 700;
}

.the-story__link a {
  color: var(--charcoal);
  font-weight: 700;
}

.pull-quote {
  font-family: var(--font-story);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.4;
  color: var(--charcoal);
  margin: 2.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--amber);
}

@media (min-width: 860px) {
  .the-story__layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }

  .the-story__media {
    position: sticky;
    top: 5.5rem;
  }
}

/* ---------- What we'll offer ---------- */

.what-we-offer {
  padding: 4.5rem 1.5rem 5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.what-we-offer__intro {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 3.5rem;
  text-wrap: balance;
}

.offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.offer {
  padding-top: 1.5rem;
  border-top: 2px solid var(--stone);
}

.offer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.offer p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 38ch;
}

.what-we-offer__note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  opacity: 0.7;
  text-align: center;
  max-width: 44ch;
  margin: 3rem auto 0;
}

@media (min-width: 640px) {
  .offers {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
}

/* ---------- FAQ ---------- */

.faq {
  padding: 4.5rem 1.5rem 5rem;
  max-width: 760px;
  margin: 0 auto;
}

.faq__list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--stone);
}

.faq__item {
  border-bottom: 1px solid var(--stone);
  padding: 1.25rem 0;
}

.faq__question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0.9rem 0 0;
}

/* ---------- Where we are ---------- */

.where-we-are {
  padding: 1rem 1.5rem 5rem;
  max-width: 640px;
  margin: 0 auto;
}

.where-we-are__text {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  text-wrap: balance;
}

.milestones {
  position: relative;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.milestones::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 5px;
  height: 1px;
  background: var(--stone);
}

.milestone {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.milestone__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--chalk);
  border: 1.5px solid var(--amber);
}

.milestone--done .milestone__dot {
  background: var(--amber);
}

.milestone__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.milestone--upcoming .milestone__label {
  opacity: 0.6;
}

/* ---------- Waitlist ---------- */

.waitlist {
  background: var(--charcoal);
  color: var(--chalk);
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
}

.waitlist__intro {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto;
  text-wrap: balance;
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 420px;
  margin: 2.5rem auto 0;
  text-align: left;
}

.waitlist__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.waitlist__field label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
}

.waitlist__field input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--stone);
  border-radius: 4px;
  background: var(--chalk);
  color: var(--charcoal);
}

.waitlist__field input:focus {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.waitlist__button {
  margin-top: 0.25rem;
  align-self: center;
}

.waitlist__button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist__form[hidden] {
  display: none;
}

.waitlist__thanks {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 2.5rem auto 0;
}

.waitlist__thanks:focus {
  outline: none;
}

.waitlist__note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  opacity: 0.75;
  margin: 2rem 0 0;
}

/* ---------- Footer ---------- */

.is-hidden {
  display: none;
}

.site-footer {
  background: var(--charcoal);
  color: var(--chalk);
  padding: 3.5rem 1.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
}

.site-footer__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__mark {
  width: 56px;
  height: auto;
}

.site-footer__northstar {
  font-family: var(--font-body);
  font-size: 0.875rem;
  opacity: 0.75;
  margin: 0.75rem 0 2rem;
}

.site-footer__location {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  margin: 0 0 0.35rem;
}

.site-footer__email {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--chalk);
}

.site-footer__socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.site-footer__socials a {
  color: var(--chalk);
  line-height: 0;
}

.site-footer__socials svg {
  width: 22px;
  height: 22px;
}

.site-footer__socials svg.icon--brand {
  width: 18px;
  height: 18px;
}

.site-footer__legal {
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.6;
  max-width: 46ch;
  margin: 0 auto;
}

.site-footer__copyright {
  font-family: var(--font-body);
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 0.75rem 0 0;
}

/* ---------- Questionnaire page ---------- */

.btn-charcoal {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--chalk);
  background: var(--charcoal);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}

.btn-charcoal:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.questionnaire {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

/* Asymmetric spacers instead of justify-content: center — less air above the
   mark than below the button, so the block reads as grounded rather than
   floating dead-centre. Roughly a third less space above than before. */
.questionnaire::before {
  content: "";
  flex: 2 0 auto;
}

.questionnaire::after {
  content: "";
  flex: 5 0 auto;
}

.questionnaire__mark {
  width: 64px;
  margin-bottom: 2.5rem;
}

.questionnaire__mark img {
  width: 100%;
  height: auto;
}

.questionnaire__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1.5rem;
}

.questionnaire__text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 2.5rem;
  text-wrap: balance;
}

.questionnaire__back {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal);
  margin-top: 2rem;
}

/* ---------- Privacy page ---------- */

.privacy {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  font-family: var(--font-body);
  color: var(--charcoal);
}

.privacy__mark {
  display: inline-block;
  line-height: 0;
}

.privacy__mark img {
  width: 44px;
  height: auto;
}

.privacy__title {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.2;
  margin: 2.5rem 0 0.75rem;
}

.privacy__updated {
  font-size: 0.9375rem;
  opacity: 0.7;
  margin: 0 0 2rem;
}

.privacy h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.0625rem;
  line-height: 1.3;
  margin: 3rem 0 1rem;
}

.privacy p,
.privacy li {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.privacy p {
  margin: 0 0 1.1rem;
}

.privacy ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.privacy li {
  margin-bottom: 0.5rem;
}

.privacy strong {
  font-weight: 700;
}

.privacy a {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.privacy a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.privacy a.privacy__back {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

/* ---------- Waitlist consent line + footer privacy link ---------- */

.waitlist__consent {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.75;
  text-align: center;
  margin: 0;
}

.waitlist__consent a,
.site-footer__copyright a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.waitlist__consent a:focus-visible,
.site-footer__copyright a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.site-footer__copyright a {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  margin: -0.5rem 0;
}

.waitlist__consent a {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  margin: -0.5rem -0.25rem;
}
