/* ============================================================
   shed.music — main stylesheet
   Design tokens, reset, and layout
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700&display=swap');

/* ---- Tokens ------------------------------------------------ */
:root {
  --color-bg:     #0A0A0A;
  --color-yellow: #F8FA5B;
  --color-sand:   #DFD6C8;
  --color-white:  #FFFFFF;
  --color-dark:   #111111;

  --font-base: 'Onest', sans-serif;

  --nav-height: 64px;
  --max-width:  1200px;
  --section-pad: 120px;
  --section-pad-sm: 64px;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-base);
  line-height: 1.6;
}

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

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

/* ---- Utility ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Navigation ------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

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

.nav__links a[aria-current="page"] {
  color: #F8FA5B;
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
  letter-spacing: -0.01em;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn--yellow {
  background-color: var(--color-yellow);
  color: var(--color-dark);
}

.hero__content .btn {
  border-radius: 32px;
  font-weight: 800;
}

.cta-card__content a.btn {
  border-radius: 9999px;
}

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

/* ---- Hero section ----------------------------------------- */
.hero {
  padding-top: calc(var(--nav-height) + var(--section-pad));
  padding-bottom: var(--section-pad);
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content {
  max-width: 520px;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--color-white);
}

.hero__subtext {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(248, 250, 91, 0.18) 0%, rgba(248, 250, 91, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__phone {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

/* ---- Feature section -------------------------------------- */
.feature {
  padding: var(--section-pad) 0;
  text-align: center;
}

.feature__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--color-white);
}

.feature__subtext {
  font-size: 1rem;
  color: #fff;
  max-width: 520px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.feature__phone {
  max-width: 550px;
  margin: 0 auto;
}

/* ---- CTA card --------------------------------------------- */
.cta-card {
  padding: var(--section-pad) 0;
}

.cta-card__inner {
  background-color: var(--color-sand);
  border-radius: 24px;
  padding: 96px 64px;
  padding-right: calc(64px + 620px);
  overflow: hidden;
  position: relative;
}

.cta-card__content {
  max-width: 440px;
}

.cta-card__headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-card__subtext {
  font-size: 1rem;
  color: rgb(10,10,10);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-card__visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 620px;
  display: flex;
  align-items: flex-end;
}

.cta-card__phone {
  width: auto;
  height: calc(100% + 48px);
  margin-top: -48px;
  display: block;
  flex-shrink: 0;
}

.cta-card__phone + .cta-card__phone {
  margin-left: -32px;
}

/* ---- Footer ----------------------------------------------- */
.footer {
  padding: var(--section-pad-sm) 0 48px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.footer__logo-img {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 240px;
}

.footer__tagline {
  font-size: 1.15rem;
  font-weight: 900;
  color: #F8FA5B;
  margin-bottom: 360px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 1rem;
  color: #E0D5C6;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: rgba(255,255,255,0.8);
}

/* ---- Kit form (CTA card) ---------------------------------- */
.shed-kit-form {
  width: 100%;
  border-radius: 0 !important;
  max-width: 100% !important;
}

.shed-kit-form__header {
  margin-bottom: 28px;
}

.shed-kit-form__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.shed-kit-form__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  border: none;
  border-radius: 32px;
  background-color: rgba(17,17,17,0.1);
  color: var(--color-dark);
  outline: none;
  border: 1.5px solid rgba(17,17,17,0.15);
  transition: border-color 0.2s ease;
}

.shed-kit-form__input::placeholder {
  color: rgba(17,17,17,0.4);
}

.shed-kit-form__input:focus {
  border-color: rgba(17,17,17,0.5);
}

.shed-kit-form__btn {
  flex-shrink: 0;
  padding: 14px 24px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.shed-kit-form__btn .formkit-spinner {
  display: none;
}

.shed-kit-form__btn[data-active] .formkit-spinner {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

.shed-kit-form__btn[data-active] span {
  opacity: 0;
}

.shed-kit-form__disclaimer {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(17,17,17,0.5);
  line-height: 1.5;
}

.shed-kit-form__disclaimer a {
  color: rgba(17,17,17,0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.formkit-alert-error {
  background: rgba(220, 50, 50, 0.1);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #c0392b;
  list-style: none;
}

.formkit-alert-error:empty {
  display: none;
}

/* ---- Inner pages ------------------------------------------ */
.page {
  padding-top: calc(var(--nav-height) + var(--section-pad-sm));
  padding-bottom: var(--section-pad);
  min-height: 80vh;
}

.page__content {
  max-width: 720px;
}

.page__content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  line-height: 1.1;
}

.page__content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 12px;
}

.page__content p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.page__content ul {
  padding-left: 20px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.page__content a {
  color: var(--color-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page__content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 40px 0;
}

/* ---- About page ------------------------------------------- */
.about-hero {
  padding-top: calc(var(--nav-height) + var(--section-pad));
  padding-bottom: var(--section-pad);
  text-align: center;
}

.about-hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 20px;
}

.about-hero__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.about-hero__subtext {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

.about-team {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.about-team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.about-team__name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.about-team__bio {
  font-size: 1rem;
  color: #EAEAEA;
  line-height: 1.8;
}

.about-philosophy {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.about-philosophy__inner {
  max-width: 640px;
  margin: 0 auto;
}

.about-philosophy__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 24px;
}

.about-philosophy__text {
  font-size: 1rem;
  color: #EAEAEA;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-philosophy__highlight {
  font-size: 1rem;
  color: var(--color-yellow);
  line-height: 1.8;
}

.about-company {
  padding-bottom: var(--section-pad);
  text-align: center;
}

.about-company__details {
  font-size: 0.85rem;
  color: #E0D5C6;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* ---- Product page ----------------------------------------- */
.product-hero {
  padding-top: calc(var(--nav-height) + var(--section-pad));
  padding-bottom: var(--section-pad);
  max-width: 100%;
}

.product-hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 20px;
}

.product-hero__headline {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 24px;
}

.product-hero__subtext {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.7;
  max-width: 560px;
}

.product-features {
  padding-bottom: var(--section-pad);
}

.product-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-feature-card {
  background: var(--color-sand);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px 40px;
}

.product-feature-card__img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin-top: -216px;
  flex-shrink: 0;
}

.product-feature-card__caption {
  width: 100%;
  padding-top: 28px;
}

.product-feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 6px;
  text-align: center;
}

.product-feature-card__text {
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.6;
  text-align: center;
}

/* ---- Confirm page ----------------------------------------- */
.confirm {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm__inner {
  text-align: center;
  max-width: 520px;
  padding-top: var(--nav-height);
}

.confirm__icon {
  margin-bottom: 32px;
}

.confirm__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--color-white);
}

.confirm__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ---- Responsive ------------------------------------------- */
/* Collapse CTA card to single column before the phone-reserve column
   gets too cramped and clips the signup button. */
@media (max-width: 1024px) {
  .cta-card__inner {
    padding-right: 64px;
  }
  .cta-card__visual {
    display: none;
  }
  .cta-card__content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .cta-card__inner {
    padding: 40px 32px;
    text-align: center;
  }

  .cta-card__content {
    max-width: 100%;
  }

  .cta-card__visual {
    display: none;
  }

  .nav__links {
    gap: 20px;
  }

  .about-team__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-features__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-hero {
    padding-bottom: var(--section-pad-sm);
  }

  .product-features {
    padding-bottom: var(--section-pad-sm);
  }
}

@media (max-width: 480px) {
  .shed-kit-form__row {
    flex-direction: column;
  }
  .shed-kit-form__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero__phone {
    max-width: 100%;
    width: 100%;
  }
  .hero__glow {
    width: 100%;
    height: auto;
  }
  .feature__phone {
    max-width: 100%;
    width: 100%;
  }
  .cta-card__visual {
    width: 100%;
    max-width: 100%;
  }
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(var(--anim-offset, 32px));
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.anim-fade-up--subtle {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade-up--subtle.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up,
  .anim-fade-right,
  .anim-fade-up--subtle {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.hero__phone,
.feature__phone,
.hero__glow {
  will-change: transform;
}
