:root {
  color-scheme: light;
  --ink: #263029;
  --ink-soft: #39443c;
  --paper: #fbf2e2;
  --gold: #a9772a;
  --cream: rgba(255, 249, 237, 0.86);
  --white-line: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 42px rgba(34, 35, 27, 0.22);
  --soft-shadow: 0 10px 24px rgba(45, 42, 32, 0.18);
  --panel-radius: 14px;
  --button-radius: 11px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 247, 231, 0.36), rgba(255, 247, 231, 0.16)),
    url("assets/beach-page-background.webp") top center / cover no-repeat;
  background-color: #eadcc5;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  background:
    linear-gradient(rgba(255, 247, 231, 0.36), rgba(255, 247, 231, 0.16)),
    url("assets/beach-page-background.webp") top center / cover no-repeat;
  background-color: #eadcc5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 250, 239, 0.36), transparent 36rem),
    linear-gradient(90deg, rgba(250, 237, 213, 0.24), transparent 24%, transparent 76%, rgba(250, 237, 213, 0.26));
}

a {
  color: inherit;
}

.desktop-credential-strip {
  width: 100%;
  padding: 10px 18px 0;
  color: rgba(38, 48, 41, 0.78);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 8px rgba(255, 249, 239, 0.58);
}

.page-shell {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 38px 0 84px;
}

.intro {
  max-width: 690px;
  margin: 0 auto 22px;
  text-align: center;
}

.portrait {
  display: block;
  width: 184px;
  height: 184px;
  margin: 0 auto 18px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow:
    0 16px 36px rgba(56, 50, 34, 0.24),
    0 0 0 1px rgba(142, 113, 61, 0.14);
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 76px;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
  color: #25312d;
  text-shadow: 0 2px 14px rgba(255, 247, 231, 0.55);
}

.tagline {
  margin: 10px auto 0;
  color: #2d3b34;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.12;
  text-shadow: 0 1px 10px rgba(255, 249, 239, 0.66);
}

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 230px;
  margin: 12px auto 14px;
  color: var(--gold);
}

.flourish span {
  width: 64px;
  height: 1px;
  background: currentColor;
}

.flourish svg {
  width: 74px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.bio {
  margin: 0 auto;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: #2c342f;
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(255, 249, 239, 0.62);
}

.bio em {
  font-style: italic;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 27px;
  margin: 24px 0 28px;
}

.social-links a {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #2b352f;
  border-radius: 50%;
  transition:
    color 260ms ease,
    transform 260ms ease,
    filter 260ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #805c24;
  filter: drop-shadow(0 8px 11px rgba(102, 79, 39, 0.28));
  transform: translateY(-3px);
}

.social-links svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.social-links a:nth-child(2) svg rect,
.social-links a:nth-child(5) svg rect {
  fill: currentColor;
  stroke: currentColor;
}

.social-links a:nth-child(2) svg path {
  fill: var(--paper);
}

.social-links a:nth-child(5) svg path {
  stroke: var(--paper);
}

.bottom-social-links {
  margin: 13px 0 0;
  padding-top: 11px;
}

.footer-bio {
  max-width: 690px;
  margin: 3px auto 0;
  color: rgba(44, 52, 47, 0.92);
  font-size: 18px;
  line-height: 1.42;
  text-align: center;
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(255, 249, 239, 0.62);
}

.footer-bio em {
  font-style: italic;
}

.links-stack {
  display: grid;
  width: min(100%, 736px);
  margin: 0 auto;
  gap: 13px;
}

.podcast-card,
.support-card,
.long-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  transform: translateY(0);
  transition:
    box-shadow 320ms ease,
    filter 320ms ease,
    transform 320ms ease;
}

.podcast-card::before,
.support-card::before,
.long-link::before,
.listen-button::before {
  position: absolute;
  inset: -80% auto -80% -55%;
  z-index: -1;
  width: 44%;
  content: "";
  background: linear-gradient(
    108deg,
    transparent 10%,
    rgba(255, 255, 255, 0.08) 32%,
    rgba(255, 255, 255, 0.46) 50%,
    rgba(255, 255, 255, 0.08) 68%,
    transparent 90%
  );
  opacity: 0;
  transform: skewX(-18deg);
  transition:
    left 780ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 280ms ease;
}

.podcast-card:hover,
.podcast-card:focus-within,
.support-card:hover,
.support-card:focus-visible,
.long-link:hover,
.long-link:focus-visible {
  filter: saturate(1.04) contrast(1.02);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.podcast-card:hover::before,
.podcast-card:focus-within::before,
.support-card:hover::before,
.support-card:focus-visible::before,
.long-link:hover::before,
.long-link:focus-visible::before,
.listen-button:hover::before,
.listen-button:focus-visible::before {
  left: 120%;
  opacity: 1;
}

.podcast-card {
  display: grid;
  min-height: 166px;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 26px 36px 28px 54px;
  color: #fff7ec;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(90deg, rgba(20, 32, 25, 0.64), rgba(30, 45, 35, 0.52)),
    url("assets/storm-coast-card.webp") center / cover no-repeat;
}

.podcast-card::after,
.support-card::after,
.long-link::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  border-radius: inherit;
  background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12));
}

.storm-card {
  background:
    linear-gradient(90deg, rgba(14, 27, 22, 0.68), rgba(35, 47, 39, 0.45)),
    url("assets/storm-coast-card.webp") center / cover no-repeat;
}

.zen-panel {
  min-height: 166px;
  color: #fff7e8;
  background:
    linear-gradient(90deg, rgba(89, 78, 41, 0.54), rgba(53, 54, 32, 0.46)),
    url("assets/zen-card.webp") center / cover no-repeat;
}

.podcast-copy {
  align-self: start;
  min-width: 0;
}

.podcast-title,
.podcast-domain {
  display: block;
  width: fit-content;
  text-decoration: none;
}

.podcast-title {
  margin-top: 7px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 33px;
  font-weight: 600;
  line-height: 1.05;
  color: #fff8ee;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.podcast-title span {
  font-weight: 700;
}

.podcast-domain {
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: #fff7ec;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.podcast-actions {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-self: end;
  margin-top: 22px;
}

.listen-button {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 11px 16px;
  overflow: hidden;
  color: #fff9ed;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--white-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 9px 20px rgba(0, 0, 0, 0.14);
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    transform 260ms ease;
}

.listen-button:hover,
.listen-button:focus-visible {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  padding: 16px 24px;
  color: #fff7e8;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--button-radius);
  background:
    linear-gradient(90deg, rgba(96, 83, 43, 0.58), rgba(58, 59, 35, 0.52)),
    url("assets/coffee-button.webp") center / cover no-repeat;
}

.paypal-card {
  color: #fff9ee;
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(90deg, rgba(18, 33, 27, 0.78), rgba(43, 57, 47, 0.64)),
    url("assets/storm-coast-card.webp") center / cover no-repeat;
}

.primary-links {
  display: grid;
  gap: 10px;
}

.long-link {
  display: flex;
  min-height: 63px;
  align-items: center;
  justify-content: center;
  padding: 12px 70px;
  color: #fff8ee;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--button-radius);
  background:
    linear-gradient(90deg, rgba(19, 34, 27, 0.78), rgba(48, 61, 49, 0.61)),
    url("assets/storm-coast-card.webp") center / cover no-repeat;
}

.feature-cta {
  min-height: 82px;
  padding: 14px 92px;
  color: #fff8e9;
  border-color: rgba(251, 226, 164, 0.78);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 232, 166, 0.2), transparent 31%),
    linear-gradient(92deg, rgba(28, 53, 40, 0.9), rgba(73, 77, 48, 0.74)),
    url("assets/storm-coast-card.webp") center / cover no-repeat;
  box-shadow:
    0 18px 38px rgba(32, 37, 25, 0.25),
    0 0 0 1px rgba(251, 226, 164, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  animation: ctaBreath 6.5s ease-in-out infinite;
}

.feature-cta::before {
  animation: ctaSweep 5.8s ease-in-out infinite;
}

.feature-cta::after {
  background:
    linear-gradient(90deg, rgba(255, 246, 220, 0.11), transparent 42%),
    radial-gradient(circle at 50% 88%, rgba(255, 227, 148, 0.19), transparent 33%),
    linear-gradient(rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.13));
}

.feature-cta:hover,
.feature-cta:focus-visible {
  border-color: rgba(255, 241, 203, 0.92);
  filter: saturate(1.08) contrast(1.04);
}

.cta-copy {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  gap: 2px;
  justify-items: center;
}

.cta-kicker {
  color: #f6d88f;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.13em;
}

.long-link > svg {
  position: absolute;
  right: 35px;
  z-index: 2;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  transition: transform 260ms ease;
}

.long-link:hover > svg,
.long-link:focus-visible > svg {
  transform: translateX(5px);
}

@keyframes ctaSweep {
  0%,
  42% {
    left: -55%;
    opacity: 0;
  }

  54% {
    opacity: 0.72;
  }

  76% {
    left: 120%;
    opacity: 0.48;
  }

  77%,
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes ctaBreath {
  0%,
  100% {
    box-shadow:
      0 18px 38px rgba(32, 37, 25, 0.25),
      0 0 0 1px rgba(251, 226, 164, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  50% {
    box-shadow:
      0 22px 44px rgba(32, 37, 25, 0.3),
      0 0 0 1px rgba(251, 226, 164, 0.36),
      0 0 26px rgba(219, 175, 89, 0.17),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

:focus-visible {
  outline: 3px solid rgba(169, 119, 42, 0.82);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .desktop-credential-strip {
    display: none;
  }

  body {
    background-attachment: scroll;
    background-position: top center;
  }

  .page-shell {
    width: min(100% - 24px, 560px);
    padding-top: 34px;
  }

  .intro {
    margin-bottom: 18px;
  }

  .portrait {
    width: 154px;
    height: 154px;
    margin-bottom: 14px;
  }

  h1 {
    font-size: 58px;
  }

  .tagline {
    margin-top: 8px;
    font-size: 25px;
  }

  .flourish {
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .bio {
    font-size: 20px;
    line-height: 1.25;
  }

  .social-links {
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 22px;
  }

  .bottom-social-links {
    margin: 10px 0 0;
    padding-top: 8px;
  }

  .footer-bio {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.4;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }

  .social-links svg {
    width: 34px;
    height: 34px;
  }

  .links-stack {
    width: 100%;
    gap: 12px;
  }

  .podcast-card {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 23px 18px 22px;
  }

  .podcast-title {
    margin-top: 0;
    font-size: 28px;
  }

  .podcast-domain {
    font-size: 16px;
  }

  .podcast-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 17px;
  }

  .listen-button {
    min-height: 50px;
    padding: 10px 7px;
    font-size: 18px;
  }

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

  .support-card {
    min-height: 76px;
    font-size: 25px;
  }

  .long-link {
    min-height: 58px;
    padding: 12px 58px 12px 24px;
    font-size: 27px;
  }

  .feature-cta {
    min-height: 78px;
    padding: 12px 68px;
  }

  .cta-kicker {
    font-size: 11px;
  }

  .long-link > svg {
    right: 22px;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: min(100% - 18px, 390px);
    padding-top: 28px;
  }

  .portrait {
    width: 136px;
    height: 136px;
  }

  h1 {
    font-size: 48px;
  }

  .tagline {
    font-size: 22px;
  }

  .flourish {
    width: 188px;
    gap: 9px;
  }

  .flourish span {
    width: 48px;
  }

  .bio {
    font-size: 18px;
  }

  .podcast-card {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    text-align: center;
  }

  .podcast-title,
  .podcast-domain {
    width: auto;
    margin-right: auto;
    margin-left: auto;
  }

  .podcast-title {
    font-size: 28px;
  }

  .podcast-actions {
    gap: 8px;
  }

  .listen-button {
    min-height: 48px;
    font-size: 17px;
  }

  .support-card {
    justify-content: center;
    min-height: 74px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: 23px;
  }

  .long-link {
    min-height: 56px;
    font-size: 24px;
  }

  .feature-cta {
    min-height: 76px;
    padding-right: 64px;
    padding-left: 64px;
  }

  .cta-kicker {
    font-size: 10px;
  }

  .feature-cta > svg {
    right: 16px;
    width: 28px;
    height: 28px;
  }
}

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