
.hero,
.intro-body,
.embed-section,
.saves,
.logged-out {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.hero {
  position: relative;
  background: var(--wp--preset--color--linen);
  padding: clamp(48px, 5vw, 72px) var(--ec-pad);
  text-align: left;
}
.hero__inner { position: relative; max-width: 1180px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--wp--preset--color--ink);
  margin: 0 0 var(--wp--preset--spacing--s-5);
}
.hero__name {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 300;
  font-size: var(--wp--preset--font-size--h-1);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--wp--preset--color--ink);
}

.intro-body {
  background: var(--wp--preset--color--paper);
  padding: clamp(40px, 5vw, 64px) 0 0;
}
.intro-body__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--ec-pad);
}
.intro-body__col { max-width: 720px; }
.intro-body__p {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.7;
  color: var(--wp--preset--color--ink);
  margin: 0;
  text-wrap: pretty;
}
.intro-body__p a,
.saves__empty a,
.logged-out__p a {
  color: var(--wp--preset--color--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--wp--custom--transition--small), text-decoration-color var(--wp--custom--transition--small);
}
.intro-body__p a:hover,
.saves__empty a:hover,
.logged-out__p a:hover { color: var(--wp--preset--color--ink-soft); }

.embed-section {
  background: var(--wp--preset--color--paper);
  padding: clamp(40px, 5vw, 64px) 0 0;
}
.embed-section__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--ec-pad);
}
.embed-section__col { max-width: 720px; }
.embed-section__h {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0 0 var(--wp--preset--spacing--s-3);
  text-wrap: balance;
}
.embed-section__intro {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--wp--preset--color--ink-soft);
  margin: 0 0 var(--wp--preset--spacing--s-6);
  max-width: 56ch;
}
.auth-embed { max-width: 480px; }

.auth-note {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: var(--wp--preset--color--smoke);
  margin: var(--wp--preset--spacing--s-4) 0 0;
  max-width: 60ch;
}
.auth-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-small, 200ms ease-out);
}
.auth-note a:hover { color: var(--wp--preset--color--ink); }

.saves {
  background: var(--wp--preset--color--paper);
  padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 9vw, 120px);
}
.saves__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--ec-pad);
}
.saves__h {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 500;
  font-size: var(--wp--preset--font-size--h-2);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0 0 var(--wp--preset--spacing--s-3);
}
.saves__intro {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--wp--preset--color--ink-soft);
  margin: 0 0 clamp(40px, 5vw, 56px);
  max-width: 56ch;
}
.saves__group { margin: 0 0 clamp(48px, 6vw, 72px); }
.saves__group:last-child { margin-bottom: 0; }
.saves__group-h {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 500;
  font-size: var(--wp--preset--font-size--h-3);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0 0 var(--wp--preset--spacing--s-5);
  padding-bottom: var(--wp--preset--spacing--s-3);
  border-bottom: 1px solid var(--wp--preset--color--rule-light);
}
.saves__empty {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wp--preset--color--ink);
  max-width: 52ch;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 56px) var(--wp--preset--spacing--s-6);
  list-style: none;
  margin: 0; padding: 0;
}
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wp--preset--color--mist);
}
.card__img {
  position: absolute; inset: 0;
  transition: opacity 280ms ease-out;
}
img.card__img,
img.pcard__img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__img { opacity: 0.85; }
.card__badge {
  position: absolute;
  top: var(--wp--preset--spacing--s-3); left: var(--wp--preset--spacing--s-3);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--paper);
  border: 1px solid var(--wp--preset--color--rule-light);
  padding: 5px 9px;
}
.card__name {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: var(--wp--preset--spacing--s-4) 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__name a { color: inherit; text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; }
.card__name a:focus-visible { outline: none; }
.card:has(.card__name a:focus-visible) { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 4px; }
.card__meta {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink-soft);
  margin: var(--wp--preset--spacing--s-1) 0 0;
}
.card__summary {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--wp--preset--color--ink);
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__facts {
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wp--preset--color--smoke);
  margin: var(--wp--preset--spacing--s-3) 0 0;
}

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wp--preset--color--mist);
}
.pcard__img {
  position: absolute; inset: 0;
  transition: opacity 280ms ease-out;
}
.pcard:hover .pcard__img { opacity: 0.85; }
.pcard__badge {
  position: absolute;
  top: var(--wp--preset--spacing--s-3); left: var(--wp--preset--spacing--s-3);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--paper);
  border: 1px solid var(--wp--preset--color--rule-light);
  padding: 5px 9px;
}
.pcard__name {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__name a:focus-visible { outline: none; }
.pcard:has(.pcard__name a:focus-visible) { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 4px; }
.pcard__brand {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink-soft);
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__price {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: var(--wp--preset--spacing--s-1) 0 0;
}
.pcard__support {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--smoke);
  margin: var(--wp--preset--spacing--s-2) 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__save,
.pcard__save {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--wp--preset--color--paper);
  border: 1px solid var(--wp--preset--color--rule-light);
  border-radius: 0;
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--wp--custom--transition--small), color var(--wp--custom--transition--small);
}
.card__save:hover,
.pcard__save:hover { border-color: var(--wp--preset--color--ink); }
.card__save svg,
.pcard__save svg { width: 18px; height: 18px; display: block; }
.card__save svg path,
.pcard__save svg path { fill: none; stroke: currentColor; stroke-width: 1.6; transition: fill var(--wp--custom--transition--small); }
.card__save[aria-pressed="true"] svg path,
.pcard__save[aria-pressed="true"] svg path { fill: var(--wp--preset--color--ink); stroke: var(--wp--preset--color--ink); }
.card__save:focus-visible,
.pcard__save:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 2px; }

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

.logged-out { display: none; }
body[data-account-state="logged-out"] .logged-out { display: block; }
body[data-account-state="logged-out"] .intro-body,
body[data-account-state="logged-out"] .embed-section,
body[data-account-state="logged-out"] .saves { display: none; }
.saves__empty { display: none; }
.saves__group.is-empty .cards { display: none; }
.saves__group.is-empty .saves__empty { display: block; }

.logged-out {
  background: var(--wp--preset--color--paper);
  padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
}
.logged-out__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--ec-pad);
}
.logged-out__col { max-width: 720px; }
.logged-out__h {
  font-family: var(--wp--preset--font-family--spectral);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0 0 var(--wp--preset--spacing--s-3);
  text-wrap: balance;
}
.logged-out__p {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 300;
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.7;
  color: var(--wp--preset--color--ink);
  margin: 0 0 var(--wp--preset--spacing--s-6);
  max-width: 60ch;
}
