:root {
  --ink: #161514;
  --charcoal: #24201d;
  --paper: #fbf7f0;
  --cream: #f1e6d2;
  --clay: #b66543;
  --gold: #d4a84f;
  --moss: #476357;
  --blue: #405b70;
  --line: rgba(22, 21, 20, 0.14);
  --shadow: 0 22px 60px rgba(22, 21, 20, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img,
svg {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(22, 21, 20, 0.82);
  backdrop-filter: blur(18px);
  color: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.payment-status {
  align-items: center;
  border-bottom: 1px solid rgba(22, 21, 20, 0.12);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 98px clamp(18px, 4vw, 56px) 22px;
}

.payment-status--success {
  background: #e9f3ec;
  color: #214a32;
}

.payment-status--pending {
  background: #fff2d4;
  color: #6d4a0a;
}

.payment-status--error {
  background: #ffe8e5;
  color: #7a241d;
}

.payment-status strong,
.payment-status span {
  display: block;
}

.payment-status strong {
  font-size: 1.04rem;
  margin-bottom: 4px;
}

.payment-status p {
  line-height: 1.5;
  margin: 0;
  max-width: 760px;
}

.payment-status span {
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 6px;
  opacity: 0.78;
}

.payment-status__link {
  background: currentColor;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  margin-top: 12px;
  min-height: 36px;
  padding: 0 16px;
  text-decoration: none;
}

.payment-status button {
  background: rgba(22, 21, 20, 0.08);
  border: 0;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 1.35rem;
  height: 38px;
  line-height: 1;
  width: 38px;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  min-width: max-content;
}

.brand-mark span {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-mark strong {
  font-size: 1rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 0 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(212, 168, 79, 0.28);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}

.button--dark {
  background: var(--ink);
  color: white;
}

.button--light {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.button--danger {
  background: #9f3732;
  color: white;
}

.button--small {
  font-size: 0.9rem;
  line-height: 1.12;
  min-height: 38px;
  padding: 8px 16px;
  text-align: center;
  white-space: normal;
}

.hero {
  color: white;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  place-items: end start;
  position: relative;
}

.hero__media,
.hero__shade {
  inset: 0;
  position: absolute;
}

.hero__media {
  background-position: center;
  background-size: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(22, 21, 20, 0.88), rgba(22, 21, 20, 0.45), rgba(22, 21, 20, 0.18)),
    linear-gradient(0deg, rgba(22, 21, 20, 0.84), rgba(22, 21, 20, 0.08) 52%);
}

.hero__content {
  max-width: 840px;
  padding: 160px clamp(20px, 6vw, 80px) clamp(48px, 8vw, 92px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: 0.9;
  margin-bottom: 24px;
  max-width: 760px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  margin-bottom: 16px;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.04;
  margin-bottom: 12px;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
  max-width: 680px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 36px;
}

.stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 700px;
}

.stats div {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 18px;
}

.stats strong {
  display: block;
  font-size: 1.8rem;
}

.stats span {
  color: rgba(255, 255, 255, 0.72);
}

.section,
.intro-band {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(20px, 4vw, 44px);
}

.intro-band {
  background: var(--ink);
  color: white;
}

.intro-grid {
  align-items: end;
  display: grid;
  gap: 42px;
  grid-template-columns: 1.15fr 0.85fr;
}

.intro-grid p:last-child,
.section-heading p,
.feature-split__content p,
.contact-band p,
.faq-layout p {
  color: rgba(22, 21, 20, 0.68);
  font-size: 1.03rem;
  line-height: 1.7;
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.membership-band {
  background:
    linear-gradient(90deg, rgba(22, 21, 20, 0.86), rgba(22, 21, 20, 0.46)),
    url("https://images.unsplash.com/photo-1497032205916-ac775f0649ae?auto=format&fit=crop&w=1800&q=85") center / cover;
  color: white;
  padding: clamp(72px, 10vw, 128px) 0;
}

.membership-layout {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
}

.membership-copy {
  max-width: 700px;
}

.membership-copy h1,
.membership-copy h2 {
  max-width: 680px;
}

.membership-copy h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  line-height: 0.94;
}

.membership-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

.membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.membership-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) auto;
  margin-top: 20px;
  max-width: 660px;
}

.membership-form--access {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 14px;
  padding-top: 14px;
}

.membership-form label {
  display: grid;
  gap: 8px;
}

.membership-form label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-form input {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: var(--ink);
  min-height: 48px;
  padding: 0 18px;
}

.membership-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(243, 197, 86, 0.18);
  outline: 0;
}

.membership-form p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.93rem;
  grid-column: 1 / -1;
  line-height: 1.45;
  margin: 0;
  min-height: 1.4em;
}

.membership-form .button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.membership-form .button--ghost {
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.membership-form .button--ghost:hover,
.membership-form .button--ghost:focus {
  background: #000000;
  color: #ffffff;
}

.membership-panel {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.membership-panel div {
  background: rgba(22, 21, 20, 0.36);
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 22px;
}

.membership-panel strong {
  color: var(--gold);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1;
}

.membership-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.catalog-tools {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 21, 20, 0.07);
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
}

.catalog-dropdown-grid {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
}

.catalog-select {
  display: grid;
  gap: 8px;
}

.catalog-select span {
  color: rgba(22, 21, 20, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.catalog-select select {
  appearance: none;
  background: #fbf8f2;
  border: 1px solid rgba(22, 21, 20, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  min-height: 52px;
  padding: 0 44px 0 16px;
  width: 100%;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(22, 21, 20, 0.62) 50%),
    linear-gradient(135deg, rgba(22, 21, 20, 0.62) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 23px,
    calc(100% - 15px) 23px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.catalog-reset {
  background: var(--moss);
  border: 0;
  border-radius: var(--radius);
  color: white;
  cursor: pointer;
  font-weight: 900;
  min-height: 52px;
  padding: 0 18px;
  white-space: nowrap;
}

.catalog-count {
  color: rgba(22, 21, 20, 0.62);
  font-weight: 900;
  margin: 0;
}

.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--single {
  grid-template-columns: minmax(0, 420px);
}

.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(22, 21, 20, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  scroll-margin-top: 104px;
}

.product-card:target {
  border-color: rgba(212, 168, 79, 0.9);
  box-shadow: 0 18px 46px rgba(212, 168, 79, 0.22);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  background-color: var(--charcoal);
  background-position: center;
  background-size: cover;
  display: block;
  position: relative;
}

.product-card__image--cover {
  aspect-ratio: 3 / 4.2;
  background-color: #ece5d8;
  background-repeat: no-repeat;
  background-size: contain;
}

.product-card__image::after {
  background: linear-gradient(0deg, rgba(22, 21, 20, 0.7), transparent 62%);
  content: "";
  inset: 0;
  position: absolute;
}

.product-card__image span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  bottom: 14px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  left: 14px;
  padding: 7px 11px;
  position: absolute;
  z-index: 1;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-card__meta {
  color: rgba(22, 21, 20, 0.58);
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 9px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-card p {
  color: rgba(22, 21, 20, 0.68);
  line-height: 1.55;
}

.product-card__format {
  background: #edf3ef;
  border: 1px solid rgba(71, 99, 87, 0.22);
  border-left: 4px solid var(--moss);
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.product-card__format span {
  color: rgba(22, 21, 20, 0.56);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card__format strong {
  color: var(--moss);
  font-size: 0.94rem;
  line-height: 1.25;
}

.product-card ul {
  color: rgba(22, 21, 20, 0.72);
  margin: 0 0 18px;
  padding-left: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-row span {
  background: #f4eee5;
  border-radius: 999px;
  color: rgba(22, 21, 20, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 9px;
}

.product-card__footer {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
}

.product-card__footer strong {
  flex: 1 1 84px;
  font-size: 1.06rem;
  min-width: 0;
}

.product-card__footer .button {
  flex: 0 1 auto;
  max-width: 100%;
}

.section--ink {
  background: var(--charcoal);
  color: white;
}

.section--ink .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathway-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathway-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
}

.pathway-card span {
  color: var(--gold);
  display: block;
  font-weight: 900;
  margin-bottom: 18px;
}

.pathway-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.pathway-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pathway-steps b {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.84rem;
  padding: 8px 10px;
}

.pathway-products {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.pathway-product {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  color: white;
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  text-decoration: none;
}

.pathway-product:hover {
  border-color: rgba(212, 168, 79, 0.6);
  color: white;
}

.pathway-product strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.pathway-product span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  margin: 0;
}

.pathway-action {
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  margin-top: auto;
  padding: 11px 14px;
  text-align: center;
  width: 100%;
}

.feature-split {
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.feature-split__image {
  background:
    linear-gradient(0deg, rgba(22, 21, 20, 0.25), rgba(22, 21, 20, 0.1)),
    url("https://images.unsplash.com/photo-1510915361894-db8b60106cb1?auto=format&fit=crop&w=1400&q=85");
  background-position: center;
  background-size: cover;
}

.feature-split__content {
  align-self: center;
  max-width: 640px;
  padding: clamp(42px, 7vw, 86px);
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.check-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.section--warm {
  background: #ece1d0;
}

.price-card {
  background: var(--paper);
  border: 1px solid rgba(22, 21, 20, 0.16);
  border-radius: var(--radius);
  padding: 28px;
}

.price-card > strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.price-card p,
.price-card li {
  color: rgba(22, 21, 20, 0.68);
  line-height: 1.6;
}

.price-card ul {
  margin: 20px 0 26px;
  padding-left: 18px;
}

.faq-layout {
  display: grid;
  gap: 56px;
  grid-template-columns: 0.75fr 1.25fr;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  color: rgba(22, 21, 20, 0.68);
  line-height: 1.6;
  margin: 14px 0 0;
}

.contact-band {
  background: var(--ink);
  color: white;
  padding: clamp(68px, 9vw, 112px) 0;
}

.contact-band .eyebrow {
  color: var(--gold);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-band__inner {
  align-items: end;
  display: grid;
  gap: clamp(24px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) auto;
}

.contact-band__inner h2 {
  max-width: 720px;
}

.contact-band__inner p:not(.eyebrow) {
  max-width: 680px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  background: #0f0e0d;
  color: white;
  padding: 34px 0 42px;
}

.footer__inner {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
}

.footer__brand {
  display: grid;
  gap: 5px;
}

.footer__brand strong {
  color: white;
  font-size: 1.03rem;
}

.footer__brand p {
  margin: 0;
}

.footer__contact {
  align-items: flex-end;
  display: grid;
  gap: 7px;
  text-align: right;
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold);
}

.cart-toggle {
  align-items: center;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 16px 40px rgba(22, 21, 20, 0.24);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px 8px 18px;
  position: fixed;
  right: 24px;
  z-index: 40;
}

.cart-toggle strong {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  min-width: 30px;
  padding: 0 8px;
}

.cart-backdrop {
  background: rgba(15, 14, 13, 0.48);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.2s ease;
  z-index: 45;
}

.cart-drawer {
  background: var(--paper);
  bottom: 0;
  box-shadow: -22px 0 48px rgba(22, 21, 20, 0.22);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-width: 420px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 0.24s ease;
  width: min(100vw, 420px);
  z-index: 50;
}

.cart-widget.is-open .cart-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.cart-widget.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer__header {
  align-items: start;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 24px;
}

.cart-drawer__header span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-drawer__header h2 {
  font-size: 2.4rem;
  margin: 5px 0 0;
}

.cart-drawer__header button {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 1.6rem;
  height: 38px;
  line-height: 1;
  width: 38px;
}

.cart-drawer__body {
  display: grid;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
}

.cart-empty,
.cart-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.cart-empty {
  display: grid;
  gap: 8px;
}

.cart-empty span,
.cart-item span {
  color: rgba(22, 21, 20, 0.62);
  line-height: 1.45;
}

.cart-item {
  display: grid;
  gap: 14px;
}

.cart-item strong,
.cart-item b {
  display: block;
}

.cart-item strong {
  line-height: 1.25;
  margin-bottom: 4px;
}

.cart-item b {
  color: var(--moss);
  margin-top: 8px;
}

.cart-item__controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-item__controls button {
  background: #f4eee5;
  border: 1px solid rgba(22, 21, 20, 0.1);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  min-height: 34px;
  min-width: 34px;
  padding: 0 12px;
}

.cart-item__controls span {
  color: var(--ink);
  font-weight: 900;
  min-width: 22px;
  text-align: center;
}

.cart-drawer__footer {
  background: white;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 20px 24px 24px;
}

.cart-email {
  display: grid;
  gap: 8px;
}

.cart-email span {
  color: rgba(22, 21, 20, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-email input {
  background: #fbf7f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

.cart-email input:focus {
  border-color: var(--ink);
  outline: 2px solid rgba(212, 172, 94, 0.28);
}

.cart-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cart-total span {
  color: rgba(22, 21, 20, 0.62);
  font-weight: 900;
}

.cart-total strong {
  font-size: 1.24rem;
}

.cart-drawer__footer p {
  color: var(--clay);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.cart-drawer__footer .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.bio-hero {
  background: var(--ink);
  color: white;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.bio-hero__image {
  background:
    linear-gradient(90deg, rgba(22, 21, 20, 0.94) 0%, rgba(22, 21, 20, 0.8) 44%, rgba(22, 21, 20, 0.28) 78%),
    linear-gradient(0deg, rgba(22, 21, 20, 0.78), rgba(22, 21, 20, 0.04) 58%),
    url("profile/jaime-jaramillo-resena.jpg?v=1") right center / min(46vw, 520px) auto no-repeat,
    var(--ink);
  inset: 0;
  position: absolute;
}

.bio-hero__content {
  align-self: end;
  max-width: 980px;
  padding-bottom: clamp(58px, 8vw, 96px);
  padding-top: 180px;
  position: relative;
  z-index: 1;
}

.bio-hero h1 {
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  letter-spacing: 0;
  max-width: 900px;
}

.bio-hero p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
  max-width: 740px;
}

.bio-section {
  background: var(--paper);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.bio-layout {
  align-items: start;
  display: grid;
  gap: clamp(32px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
}

.bio-article {
  padding: 0;
}

.bio-article p {
  color: rgba(22, 21, 20, 0.76);
  font-size: 1.06rem;
  line-height: 1.86;
  margin-bottom: 22px;
}

.bio-article p:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 2.4vw, 2.05rem);
  line-height: 1.25;
}

.bio-article p:last-child {
  margin-bottom: 0;
}

.bio-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 104px;
}

.bio-fact-grid,
.bio-panel {
  background: var(--charcoal);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  overflow: hidden;
}

.bio-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bio-fact-grid div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 132px;
  padding: 22px;
}

.bio-fact-grid strong {
  color: var(--gold);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.82rem);
  line-height: 1;
  margin-bottom: 9px;
}

.bio-fact-grid span,
.bio-panel li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.bio-panel {
  padding: 28px;
}

.bio-panel h2 {
  color: white;
  font-size: 2.1rem;
}

.bio-panel ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 18px;
}

.section-heading--compact {
  max-width: 760px;
}

.publication-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.publication-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(22, 21, 20, 0.78);
  display: grid;
  gap: 18px;
  min-height: 150px;
  padding: 20px;
}

.publication-card h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.08;
  margin: 0;
}

.publication-card div {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-card a {
  background: var(--ink);
  border-radius: 999px;
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  padding: 9px 12px;
}

.publication-card a:last-child {
  background: white;
  border: 1px solid rgba(22, 21, 20, 0.18);
  color: var(--ink);
}

.bio-cta {
  background:
    linear-gradient(90deg, rgba(22, 21, 20, 0.88), rgba(22, 21, 20, 0.48)),
    url("https://images.unsplash.com/photo-1497032205916-ac775f0649ae?auto=format&fit=crop&w=1800&q=85") center / cover;
  color: white;
  padding: clamp(56px, 8vw, 92px) 0;
}

.bio-cta .eyebrow {
  color: var(--gold);
}

.bio-cta h2 {
  max-width: 760px;
}

.bio-cta__inner {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto;
}

.admin-body {
  background: #f7f2e9;
  min-height: 100vh;
  overflow: hidden;
}

.admin-topbar {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 38px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-topbar__actions,
.admin-actions,
.form-actions,
.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-shell {
  display: grid;
  gap: 24px;
  grid-template-columns: 360px minmax(0, 1fr);
  height: calc(100vh - 72px);
  margin: 0 auto;
  max-width: 1460px;
  overflow: hidden;
  padding: 24px;
}

.admin-sidebar,
.admin-editor,
.admin-panel {
  min-width: 0;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-panel,
.admin-editor {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 21, 20, 0.07);
}

.admin-panel {
  flex: 0 0 auto;
  padding: 24px;
}

.admin-panel h1 {
  color: var(--ink);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.admin-panel p {
  color: rgba(22, 21, 20, 0.66);
  line-height: 1.6;
}

.admin-actions {
  margin-top: 20px;
}

.admin-mode-tabs {
  background: #f6efe5;
  border: 1px solid rgba(22, 21, 20, 0.1);
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  padding: 4px;
}

.admin-mode-tabs button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: rgba(22, 21, 20, 0.66);
  cursor: pointer;
  font-weight: 900;
  min-height: 40px;
  padding: 0 10px;
}

.admin-mode-tabs button.is-active {
  background: white;
  box-shadow: 0 6px 14px rgba(22, 21, 20, 0.08);
  color: var(--ink);
}

.file-button input {
  display: none;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  min-height: 0;
}

.admin-list-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 16px;
  text-align: left;
}

.admin-list-item.is-active {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(182, 101, 67, 0.13);
}

.admin-list-item span,
.admin-list-item em {
  color: rgba(22, 21, 20, 0.58);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.admin-editor {
  max-height: 100%;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 34px);
}

.admin-editor.is-hidden,
.admin-list.is-hidden {
  display: none;
}

.admin-editor__header {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 18px;
}

.admin-editor__header h2 {
  font-size: 2.4rem;
  margin: 0;
}

.editor-status {
  background: #e9f2ec;
  border-radius: 999px;
  color: #2e6040;
  font-size: 0.84rem;
  font-weight: 900;
  padding: 8px 12px;
}

.editor-status.is-dirty {
  background: #fff0d2;
  color: #805800;
}

.product-form {
  display: grid;
  gap: 22px;
}

.text-edit-section {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding-bottom: 26px;
}

.text-edit-section h3 {
  font-size: 1.45rem;
  margin: 0;
}

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

.form-grid__wide {
  grid-column: 1 / -1;
}

label {
  color: rgba(22, 21, 20, 0.72);
  display: grid;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 7px;
}

input,
select,
textarea {
  background: #fbf8f2;
  border: 1px solid rgba(22, 21, 20, 0.16);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  line-height: 1.5;
  resize: vertical;
}

.toggle {
  align-items: center;
  background: #f6efe5;
  border-radius: 999px;
  display: flex;
  gap: 8px;
  padding: 10px 14px;
}

.toggle input {
  min-height: auto;
  width: auto;
}

.admin-preview {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 26px;
}

@media (max-width: 1020px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway-grid,
  .pricing-grid,
  .bio-layout,
  .bio-cta__inner,
  .intro-grid,
  .membership-layout,
  .feature-split,
  .faq-layout,
  .contact-band__inner,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .feature-split__image {
    min-height: 360px;
  }

  .bio-sidebar {
    position: static;
  }

  .publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    height: auto;
    overflow: visible;
    padding: 16px;
  }

  .admin-body {
    overflow: auto;
  }

  .admin-sidebar {
    display: block;
    overflow: visible;
    padding-right: 0;
  }

  .admin-list,
  .admin-editor {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    position: absolute;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 860px;
  }

  .hero__content {
    padding-top: 230px;
  }

  .stats,
  .catalog-dropdown-grid,
  .membership-form,
  .membership-panel,
  .product-grid,
  .pathway-grid,
  .pricing-grid,
  .bio-fact-grid,
  .publication-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .bio-hero {
    min-height: 940px;
  }

  .bio-hero__image {
    background:
      linear-gradient(0deg, rgba(22, 21, 20, 0.88) 0%, rgba(22, 21, 20, 0.62) 48%, rgba(22, 21, 20, 0.22) 100%),
      url("profile/jaime-jaramillo-resena.jpg?v=1") center 184px / min(76vw, 360px) auto no-repeat,
      #11100f;
  }

  .bio-hero__content {
    padding-top: 560px;
  }

  .footer__inner,
  .admin-editor__header,
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer__contact {
    align-items: flex-start;
    text-align: left;
  }

  .product-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .cart-toggle {
    bottom: 16px;
    right: 16px;
  }

  .cart-drawer {
    width: 100vw;
  }
}
