:root {
  color-scheme: only light;
  --bg: #f2d27a;
  --text: #111111;
  --phone-offset: 0px;
}

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

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

html,
body {
  min-height: 100vh;
  background: var(--bg);
  font-family: "Fraunces", "Times New Roman", serif;
  color: var(--text);
  overflow-x: hidden;
}

.page-content {
  min-height: 100vh;
  display: grid;
  place-items: start;
  padding: 230px clamp(16px, 6vw, 90px) 60px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

  .page-copy {
    display: grid;
    gap: 42px;
  }

.page-content h1 {
  text-align: left;
}

.page-copy .big {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.site-header {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
  padding: 0 clamp(16px, 6vw, 90px);
}

.nav {
  display: flex;
  gap: 16px;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 1.05rem;
    letter-spacing: 0.12em;
  color: var(--text);
}

.nav a.active {
  color: var(--text);
  background: rgba(17, 17, 17, 0.08);
  padding: 6px 12px;
  border-radius: 0;
}

.nav a {
  padding: 6px 12px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(32px, 6vw) minmax(0, 0.9fr);
  align-items: center;
  gap: 0;
  padding: 110px clamp(16px, 6vw, 90px) 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  gap: 60px;
  justify-items: start;
  text-align: left;
  max-width: 660px;
  justify-self: end;
  grid-column: 1;
  align-self: start;
  margin-top: 140px;
}

.brand {
  text-transform: none;
  font-size: clamp(6rem, 9vw, 11rem);
  letter-spacing: 0.01em;
    line-height: 0.95;
}
.media-stack {
  grid-column: 3;
  align-self: start;
  justify-self: start;
  width: min(70vw, 560px);
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.phone {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.audio-player {
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.12);
  font-family: "Space Mono", "Courier New", monospace;
}

.audio-element {
  display: none;
}

.audio-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.audio-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.audio-icon-pause {
  display: none;
}

.audio-player.is-playing .audio-icon-play {
  display: none;
}

.audio-player.is-playing .audio-icon-pause {
  display: block;
}

.audio-track {
  position: relative;
  flex: 1;
  height: 16px;
  display: grid;
  align-items: center;
}

.audio-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.2);
}

.audio-progress {
  position: absolute;
  left: 0;
  height: 6px;
  width: 0%;
  border-radius: 999px;
  background: var(--text);
}

.audio-range {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 24px;
  appearance: none;
  background: transparent;
  margin: 0;
  cursor: pointer;
}

.audio-range::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.audio-range::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--bg);
  margin-top: -4px;
}

.audio-range::-moz-range-track {
  height: 6px;
  background: transparent;
}

.audio-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--bg);
}

.audio-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(17, 17, 17, 0.7);
  min-width: 86px;
  justify-content: flex-end;
}

.audio-separator {
  opacity: 0.6;
}

.walker {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(80vw, 520px);
  aspect-ratio: 4 / 3;
  margin-top: 40px;
  margin-bottom: 120px;
}



h1 {
  font-size: clamp(2.1rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-align: left;
  overflow-wrap: normal;
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 26px 36px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 1.3rem;
    letter-spacing: 0.14em;
  justify-self: start;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.mobile-only {
  display: none;
}

@media (max-width: 700px) {
  :root {
    --phone-offset: 0px;
  }

  .hero {
    text-align: left;
    grid-template-columns: 1fr;
    padding: 110px 20px 60px;
    gap: 8px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-items: start;
    text-align: left;
    max-width: 100%;
    margin-top: 0;
    grid-column: auto;
    align-self: center;
    gap: 36px;
    width: 100%;
  }

  .brand {
  text-transform: none;
    font-size: clamp(3.8rem, 13vw, 5.4rem);
  }

  .media-stack {
    grid-column: auto;
    width: 100%;
    margin-top: 48px;
    justify-self: center;
    align-self: stretch;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .phone {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 200px;
  }

  .audio-player {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 32px;
    padding: 12px 16px;
    gap: 14px;
  }

  .walker {
    width: min(90vw, 360px);
    aspect-ratio: 4 / 3;
    margin-top: 20px;
  }

  .site-header {
    top: 16px;
    justify-content: center;
  }

  .nav {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
  }

  h1 {
    text-align: left;
    font-size: clamp(1.5rem, 5.6vw, 2.3rem);
    line-height: 1.1;
    max-width: none;
    text-wrap: auto;
  }

  .page-content {
    padding: 140px 20px 60px;
  }

  .page-copy .big {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.25;
    font-weight: 200;
  }

  .page-copy {
    gap: 28px;
  }

  .mobile-only {
    display: block;
  }

  .button {
    padding: 20px 28px;
    font-size: 1.1rem;
    justify-self: start;
    margin-bottom: 0;
  }

  .underline {
    padding-bottom: 0.28em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='10' viewBox='0 0 360 10'%3E%3Cpath d='M4 7 C 20 3, 44 9, 68 6 S 112 3, 148 7 S 200 9, 236 6 S 292 3, 356 7' fill='none' stroke='%23FAF2E6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 100% 10px;
  }
}

@media (min-width: 701px) {
  .cta-row {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .phone {
    width: 75%;
    margin-bottom: 40px;
  }

  .audio-player {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 96px;
  }

  .audio-player {
    gap: 20px;
    padding: 16px 22px;
  }

  .audio-play {
    width: 56px;
    height: 56px;
  }

  .audio-icon {
    width: 24px;
    height: 24px;
  }

  .audio-track {
    height: 20px;
  }

  .audio-track::before {
    height: 8px;
  }

  .audio-progress {
    height: 8px;
  }

  .audio-range {
    height: 28px;
  }

  .audio-range::-webkit-slider-runnable-track {
    height: 8px;
  }

  .audio-range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -5px;
  }

  .audio-range::-moz-range-track {
    height: 8px;
  }

  .audio-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }

  .audio-time {
    gap: 8px;
    font-size: 0.95rem;
    min-width: 96px;
  }

  .button {
    padding: 30px 46px;
    font-size: 1.4rem;
  }

  body {
    user-select: none;
  }

  img {
    user-select: none;
    -webkit-user-drag: none;
  }
}
