:root {
  --bg-dark: #0f2a1e;
  --bg-dark-soft: #153a2a;
  --text-light: #eef8f3;
  --text-muted: #b7d2c5;
  --accent: #8dd7b2;
  --surface: #173d2c;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.landing-body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #efe2c2;
  color: #014D40;
}

.salon-hero {
  min-height: 100vh;
  width: 100%;
  padding: 28px;
  display: flex;
  gap: 18px;
  background: #efe2c2;
  border-radius: 0 0 24px 24px;
}

.hero-text {
  flex: 0 0 50%;
  padding: 24px 20px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-34px);
}

.hero-text h1 {
  margin: 0 0 1.35rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 0.95;
  color: #014D40;
}

.hero-text p {
  margin: 0;
  max-width: none;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  color: #014D40;
  white-space: nowrap;
}

.hero-text p + p {
  margin-top: 0.45em;
}

.signup-bar {
  margin-top: 68px;
  width: clamp(338px, 28.6vw, 494px);
  height: 109px;
  border: 0;
  border-radius: 16px;
  background: #f08ea1;
  color: #014D40;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 400;
  text-decoration: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero-image-wrap {
  flex: 0 0 50%;
  border-radius: 220px 220px 0 0;
  overflow: hidden;
  background: #e4ddd2;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
}

.hero-image-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image-bg {
  width: 100%;
  height: 100%;
  background: inherit;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-sub-mobile {
  display: none;
}

.newsletter-body {
  background: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  padding: 28px 16px;
}

.newsletter-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(141, 215, 178, 0.24);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px 24px;
}

.newsletter-header h1 {
  margin: 4px 0;
}

.issue-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.95rem;
}

.newsletter-header p {
  margin: 4px 0;
  color: var(--text-muted);
}

.newsletter-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(141, 215, 178, 0.2);
}

.newsletter-section h2 {
  margin-top: 0;
}

.highlights-list {
  margin: 0;
  padding-left: 20px;
}

.highlights-list li + li {
  margin-top: 10px;
}

.pov-box {
  margin-top: 14px;
  background: rgba(15, 42, 30, 0.55);
  border: 1px solid rgba(141, 215, 178, 0.35);
  border-radius: 12px;
  padding: 14px;
}

.pov-box h3 {
  margin: 0 0 6px;
  color: var(--accent);
}

.pov-box p {
  margin: 0;
  color: #ddf1e8;
}

.content-card {
  background: rgba(15, 42, 30, 0.45);
  border-radius: 12px;
  border: 1px solid rgba(141, 215, 178, 0.2);
  padding: 14px;
}

.content-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.content-card p {
  margin: 0;
  color: #d7ebe1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 640px) {
  .salon-hero {
    flex-direction: column;
    padding: 16px;
    border-radius: 0 0 16px 16px;
  }

  .hero-text {
    padding: 18px 12px 8px;
    transform: translateY(-8px);
  }

  .hero-text h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-text p {
    white-space: normal;
  }

  .hero-image-wrap {
    min-height: 380px;
    border-radius: 140px 140px 0 0;
  }

  .newsletter-container {
    padding: 28px 18px;
  }
}

@media (max-width: 768px) {
  .salon-hero {
    display: flex;
    min-height: 100vh;
    padding: 0;
    padding-bottom: 46vh;
    margin: 0;
    gap: 0;
    border-radius: 0;
    flex-direction: column;
    justify-content: flex-end;
    background: #F4E1C1;
    background-image: url("assets/hero-mobile.png");
    background-repeat: no-repeat;
    background-size: auto calc(52vh * 0.85);
    background-position: bottom center;
  }

  .hero-text {
    order: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 8px 16px 0;
    transform: none;
    background: transparent;
  }

  .hero-copy-block {
    width: 100%;
    padding: 0;
    text-align: center;
    background: transparent;
  }

  .hero-title-break {
    display: inline;
  }

  .hero-h1-a::after {
    content: none;
  }

  .hero-text h1 {
    padding-top: 12px;
    margin: 0 0 12px;
    font-size: 3.8rem;
    line-height: 1.05;
    text-align: center;
  }

  .hero-sub-desktop {
    display: none;
  }

  .hero-sub-mobile {
    display: -webkit-box;
    margin: 0;
    max-width: min(35ch, 100%);
    font-size: 0.95rem;
    line-height: 1.25;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-align: center;
  }

  .hero-image-wrap {
    display: none;
  }

  .hero-image-wrap img {
    display: none;
  }

  .signup-bar {
    width: 60%;
    margin: 36px auto 0;
    height: 56px;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .landing-body {
    background: #F4E1C1;
  }

  [data-netlify-identity-button] {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hero-text h1 {
    max-width: 11ch;
  }
  .hero-sub-desktop {
    max-width: 420px;
  }
}

