/* ==========================================================================
   Pwr & Plunge — Coming Soon
   Palette: near-black charcoal, off-white text, single muted ember accent.
   ========================================================================== */

:root {
  --bg: #161616;
  --bg-raised: #1c1c1c;
  --text: #f5f4f0;
  --text-muted: rgba(245, 244, 240, 0.72);
  --text-faint: rgba(245, 244, 240, 0.5);
  --accent: #a9714f; /* muted ember / clay */
  --hairline: rgba(245, 244, 240, 0.14);
  --hairline-strong: rgba(245, 244, 240, 0.28);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --section-pad-y: clamp(4.5rem, 9vw, 9rem);
  --side-pad: clamp(1.5rem, 6vw, 6rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2rem;
}

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--side-pad);
  background: transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(22, 22, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.nav__wordmark {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.nav__links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.3s var(--ease);
}

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

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* TODO: replace with real photography — full-bleed image or looping muted
     video (sauna steam / dark stone / cold plunge water). Placeholder is a
     desaturated layered gradient standing in for moody, low-key lighting. */
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(169, 113, 79, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 85%, rgba(60, 80, 92, 0.18), transparent 60%),
    linear-gradient(180deg, #1c1c1c 0%, #141414 55%, #0f0f0f 100%);
  background-size: 140% 140%;
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.15) 0%, rgba(15, 15, 15, 0.55) 75%, rgba(15, 15, 15, 0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--side-pad) clamp(3rem, 8vw, 6rem);
  max-width: 1400px;
  margin: 0 auto;
}

.hero__tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.1s forwards;
}

.hero__headline {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.25s forwards;
}

.hero__philosophy {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 34ch;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.4s forwards;
}

.hero .signup {
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.55s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SIGNUP FORM ============ */

.signup__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
}

.signup__row {
  display: flex;
  max-width: 420px;
  border-bottom: 1px solid var(--hairline-strong);
  transition: border-color 0.3s var(--ease);
}

.signup__row:focus-within {
  border-color: var(--accent);
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.85rem 0.25rem;
}

.signup input[type="email"]::placeholder {
  color: var(--text-faint);
}

.signup button {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.signup button:hover {
  color: var(--accent);
}

.signup__note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

/* ============ STUDIO ============ */

.studio {
  padding: var(--section-pad-y) var(--side-pad);
  border-top: 1px solid var(--hairline);
}

.studio__inner {
  max-width: 900px;
  margin: 0 auto;
}

.studio__lead {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.studio__body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 60ch;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FOUNDER ============ */

.founder {
  padding: var(--section-pad-y) var(--side-pad);
  border-top: 1px solid var(--hairline);
}

.founder__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.founder__portrait-placeholder {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(169, 113, 79, 0.14), transparent 65%),
    linear-gradient(160deg, #202020 0%, #161616 60%, #101010 100%);
}

.founder__body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 1.25rem;
}

.founder__attribution {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  margin-top: 1.5rem;
}

/* ============ OFFERINGS ============ */

.offerings {
  padding: var(--section-pad-y) var(--side-pad);
  border-top: 1px solid var(--hairline);
}

.offerings__inner {
  max-width: 900px;
  margin: 0 auto;
}

.offering {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  padding: 2.25rem 0;
  border-top: 1px solid var(--hairline);
}

.offering:last-child {
  border-bottom: 1px solid var(--hairline);
}

.offering__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  transition: color 0.4s var(--ease);
}

.offering:hover .offering__icon {
  color: var(--accent);
}

.offering__text h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.offering__text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 48ch;
}

/* ============ LOCATION ============ */

.location {
  padding: var(--section-pad-y) var(--side-pad);
  border-top: 1px solid var(--hairline);
}

.location__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.location__address {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  margin: 1.25rem 0 1rem;
}

.location__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

.location__map {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
  background: var(--bg-raised);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.8);
}

/* ============ CTA / FOOTER SIGNUP ============ */

.cta {
  padding: var(--section-pad-y) var(--side-pad);
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.cta__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__headline {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  margin-bottom: 2.25rem;
  line-height: 1.35;
}

.cta .signup__row {
  margin: 0 auto;
}

.cta .signup__note {
  text-align: center;
}

/* ============ FOOTER ============ */

.footer {
  padding: 3rem var(--side-pad) 2.5rem;
  border-top: 1px solid var(--hairline);
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer__wordmark {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__address {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__copyright {
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.5rem;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 800px) {
  .location__inner {
    grid-template-columns: 1fr;
  }

  .location__map {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .founder__inner {
    grid-template-columns: 1fr;
  }

  .founder__portrait {
    max-width: 320px;
  }
}

@media (max-width: 560px) {
  .nav__links {
    gap: 1rem;
  }

  .hero {
    align-items: flex-end;
  }

  .signup__row {
    flex-direction: column;
    border-bottom: none;
    gap: 0.75rem;
  }

  .signup input[type="email"] {
    border-bottom: 1px solid var(--hairline-strong);
    padding: 0.85rem 0;
  }

  .signup button {
    align-self: flex-start;
    padding: 0.25rem 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__bg {
    animation: none;
  }
}
