/* ash actually — site styles */

:root {
  --bg: #EBE6DB;
  --ink: #1C1A17;
  --body: #3F3A33;
  --muted: #6B655C;
  --line: #CFC8BA;
  --paper: #F4F1EA;
  --row-hover: #F2EEE6;
  --accent: #E8FF3A;
  --accent-deep: #C9DB2A;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --page: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover { text-decoration-color: var(--accent-deep); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- type ---------- */

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.display--xl { font-size: clamp(60px, 10vw, 128px); }
.display--lg { font-size: clamp(56px, 8vw, 104px); line-height: 0.92; }
.display--md { font-size: clamp(52px, 8vw, 96px); line-height: 0.95; }

.lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  max-width: 560px;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); color: var(--ink); }
.btn--accent { background: var(--accent); font-weight: 500; }
.btn--accent:hover { background: var(--ink); color: var(--bg); }
.btn--ghost:hover { background: var(--paper); }
.btn--pill:hover { background: var(--accent); }
.btn--lg { height: 56px; padding: 0 32px; font-size: 17px; }
.btn--md { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- signup form ---------- */

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 460px;
}
.signup input {
  flex: 1 1 200px;
  min-width: 0;
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.signup input::placeholder { color: var(--muted); }
.signup input:focus { outline: none; box-shadow: 0 0 0 3px var(--accent); }
.signup button[disabled] { opacity: .6; cursor: wait; }

.signup-done {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}
.signup-error { margin: 0; font-size: 14px; color: #8A2A1A; width: 100%; }

/* ---------- header / nav ---------- */

.site-header {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 32px; width: auto; }
.site-header__logo img.is-monogram { height: 42px; }

.site-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.site-nav a {
  position: relative;
  padding: 4px 2px;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.site-nav a span { position: relative; }
.site-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -3px; right: -3px; bottom: 5px;
  height: 9px;
  background: var(--accent);
  border-radius: 6px;
}
.site-nav a:not([aria-current]):hover span {
  text-decoration: underline;
  text-decoration-color: var(--accent-deep);
  text-underline-offset: 4px;
}

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 36px 32px 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.site-footer__inner > img { height: 44px; width: auto; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-footer__copy { font-size: 13px; color: var(--muted); }

/* ---------- page shell ---------- */

.page {
  flex: 1;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 56px 32px 104px;
}

/* ---------- illustration stage ---------- */

.stage { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.stage__blob {
  position: absolute;
  left: 15%; right: 13%; top: 12%; bottom: 16%;
  background: var(--accent);
  animation: aaBlob 16s ease-in-out infinite alternate;
}
@keyframes aaBlob {
  0%   { border-radius: 58% 42% 51% 49% / 46% 55% 45% 54%; transform: rotate(0deg); }
  50%  { border-radius: 44% 56% 39% 61% / 57% 41% 59% 43%; transform: rotate(8deg) scale(1.03); }
  100% { border-radius: 52% 48% 62% 38% / 40% 60% 40% 60%; transform: rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .stage__blob { animation: none; border-radius: 50%; }
}

/* ---------- image placeholder (swap for a real <img>) ---------- */

.photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--row-hover);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------- coming soon ---------- */

.coming {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 56px 24px 96px;
  text-align: center;
}
.coming__wordmark { width: min(520px, 84vw); height: auto; }
.coming__stage { width: min(360px, 78vw); }
.coming__copy { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 460px; }
.coming__copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1;
}
.coming__copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.coming .signup { justify-content: center; max-width: 440px; }
.coming .signup-done { font-size: 26px; }
.coming__social { font-size: 14px; color: var(--muted); }

/* ---------- home ---------- */

.home {
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 48px 64px;
  align-items: center;
}
.home__intro { display: flex; flex-direction: column; gap: 36px; }
.home__wordmark { width: 100%; max-width: 540px; height: auto; }
.home__tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  max-width: 520px;
  text-wrap: pretty;
}
.home__signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.home__signup .eyebrow { letter-spacing: 0.12em; }
.home__stage { width: 100%; max-width: 560px; justify-self: center; }

/* ---------- podcast ---------- */

.stack { display: flex; flex-direction: column; gap: 56px; }
.intro { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

.episodes__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.episodes__head span:first-child { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.episodes__head span:last-child { font-size: 13px; color: var(--muted); }

.episode {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 52px;
  gap: 20px;
  align-items: center;
  padding: 28px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s;
}
.episode:hover { background: var(--row-hover); }
.episode__n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--muted); }
.episode__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.episode__body h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  text-wrap: pretty;
}
.episode__body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.episode__meta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.play:hover, .play.is-playing { background: var(--accent); }
.play .icon-pause { display: none; }
.play.is-playing .icon-play { display: none; }
.play.is-playing .icon-pause { display: block; }

@media (max-width: 520px) {
  .episode { grid-template-columns: 40px minmax(0, 1fr) 48px; gap: 14px; padding: 24px 4px; }
  .episode__n { font-size: 24px; }
  .play { width: 48px; height: 48px; }
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 48px 80px;
  align-items: center;
}
.about__text { display: flex; flex-direction: column; gap: 24px; max-width: 540px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* ---------- newsletter ---------- */

.newsletter {
  max-width: 820px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.newsletter__stage { width: min(300px, 70vw); }
.newsletter .lede { max-width: 540px; }
.newsletter .btn { height: 58px; padding: 0 34px; font-size: 17px; }

/* ---------- shop ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 40px 28px;
}
.product { display: flex; flex-direction: column; gap: 14px; }
.product__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product__name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
}
.shop-signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 36px;
  border-top: 1px solid var(--ink);
}
.shop-signup > p { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }

/* ---------- small screens ---------- */

@media (max-width: 600px) {
  .site-header, .page, .site-footer__inner { padding-left: 16px; padding-right: 16px; }
  .site-nav { gap: 6px 18px; }
  .page { padding-top: 40px; }
  .home { padding-top: 8px; }
}

.about__note { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
