:root {
  --cream: #f8f0e8;
  --paper: #fffaf6;
  --brown: #4b2c1c;
  --brown-deep: #321a10;
  --terracotta: #b56f4d;
  --line: rgba(98, 61, 42, 0.23);
}

* { box-sizing: border-box; }

html { background: var(--cream); }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 6%, rgba(204, 154, 122, 0.16), transparent 25rem),
    var(--cream);
  color: var(--brown);
  font-family: "DM Sans", Arial, sans-serif;
}

.bio-page {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 48px rgba(57, 31, 18, 0.12);
}

.hero {
  position: relative;
  min-height: 500px;
  isolation: isolate;
  overflow: hidden;
  background: #f4e1d5;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(247, 238, 229, 0.94) 76%, var(--paper));
}

.brand {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 30px;
  display: grid;
  width: max-content;
  transform: none;
  color: var(--brown);
  text-align: center;
  line-height: 1;
}

.brand img {
  display: block;
  width: 164px;
  height: auto;
  object-fit: contain;
}

.brand-tagline {
  margin-top: -2px;
  color: var(--terracotta);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.2;
}

.brand-signature {
  margin-bottom: -4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
  font-style: italic;
  letter-spacing: -2px;
}

.brand strong { font-size: 21px; letter-spacing: 6px; font-weight: 500; }
.brand small { margin-top: 9px; font-size: 9px; letter-spacing: 3px; font-weight: 700; }

.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  display: block;
}

.hero-copy {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  max-width: 330px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1 {
  max-width: 320px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -1.6px;
}

.hero-copy > p:last-child {
  max-width: 280px;
  margin: 16px 0 0;
  color: #5c4032;
  font-size: 15px;
  line-height: 1.48;
}

.credentials {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  margin: 22px 20px 28px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.credential-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
}

.credential-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.credentials strong { display: block; font-size: 15px; line-height: 1.25; }
.credentials p { margin: 5px 0 0; font-size: 12px; line-height: 1.4; }
.mobile-line-break { display: none; }

.action-list { display: grid; gap: 14px; padding: 0 20px 30px; }

.action-card {
  position: relative;
  display: grid;
  grid-template-columns: 35px 1fr 24px;
  gap: 12px;
  align-items: center;
  min-height: 112px;
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(113deg, var(--brown-deep), #5a311d 68%, #8c5435);
  color: white;
  text-decoration: none;
  box-shadow: 0 9px 20px rgba(63, 32, 17, 0.16);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.action-card::before {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -66px;
  top: -35px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  content: "";
  transition: transform 400ms ease;
}

.action-card::after {
  position: absolute;
  right: -20px;
  bottom: -78px;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  content: "";
  opacity: .18;
  background: radial-gradient(circle, #ecaf7c 0 25%, transparent 26%);
}

.action-card:hover, .action-card:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 14px 24px rgba(63, 32, 17, 0.23);
}
.action-card:hover::before, .action-card:focus-visible::before { transform: scale(1.13); }
.action-card:active { transform: translateY(-1px) scale(.99); }
.action-card:focus-visible { outline: 3px solid #d0875d; outline-offset: 3px; }

.action-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--terracotta);
}
.action-icon img { display: block; width: 21px; height: 21px; }
.action-copy { position: relative; z-index: 1; display: grid; gap: 5px; }
.action-copy strong { font-size: 17px; line-height: 1.12; text-transform: uppercase; }
.action-copy small { max-width: 185px; font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.83); }
.action-arrow { position: relative; z-index: 1; display: grid; place-items: center; }
.action-arrow svg { width: 22px; height: 22px; transition: transform 260ms ease; }
.action-card:hover .action-arrow svg, .action-card:focus-visible .action-arrow svg { transform: translate(3px, -3px); }
.action-photo {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 142px;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  opacity: .92;
  border-radius: 24px 0 0 24px;
}
.action-card--orders .action-copy { max-width: calc(100% - 10px); }

.action-card--vip { background: linear-gradient(113deg, #42271b, #704630 68%, #ad6f49); }
.action-card--ebook { background: linear-gradient(113deg, #352218, #75442b 67%, #b67851); }

footer {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 0 24px 30px;
  color: #745443;
  text-align: center;
}
footer svg { width: 21px; height: 21px; stroke-width: 1.4; }
footer p { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 14px; }
.design-credit { color: inherit; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-decoration: none; transition: color 180ms ease; }
.design-credit:hover, .design-credit:focus-visible { color: var(--terracotta); text-decoration: underline; }
@media (min-width: 600px) {
  body { padding: 28px 0; }
  .bio-page { border-radius: 28px; }
}

@media (max-width: 719px) {
  .hero { min-height: 280px; }
  .hero::after {
    height: 66%;
    background: linear-gradient(to bottom, rgba(247, 238, 229, 0), rgba(247, 238, 229, 0.99) 54%, var(--paper));
  }
  .hero-copy { bottom: 22px; }
  .credentials { margin-top: 10px; margin-bottom: 20px; }
  .action-list { gap: 12px; }
  .action-card--ebook .action-copy strong { font-size: 15px; }
  h1 { font-size: 25px; }
  .action-copy strong { font-size: 16px; }
  .mobile-line-break { display: inline; }
  .action-card { gap: 10px; padding-right: 16px; padding-left: 14px; }
  .action-photo { width: 28%; max-width: 112px; border-radius: 20px 0 0 20px; }
  .action-card--vip .action-copy { gap: 8px; }
}

@media (min-width: 720px) {
  .bio-page { width: min(100% - 48px, 1040px); min-height: 0; }
  .hero { min-height: 490px; }
  .hero-photo img { object-fit: cover; object-position: center top; }
  .brand { top: 38px; left: 68px; }
  .brand img { width: 210px; }
  .brand-tagline { font-size: 9px; letter-spacing: 2px; }
  .hero-copy { right: auto; bottom: 66px; left: 68px; }
  h1 { font-size: 35px; }
  .credentials, .action-list, footer { width: min(100% - 56px, 520px); margin-right: auto; margin-left: auto; }
  .credentials { margin-top: 32px; margin-bottom: 30px; }
  .action-list { padding-right: 0; padding-left: 0; }
  footer { padding-right: 0; padding-left: 0; }
}

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