:root {
  color-scheme: dark;
  --bg: #020302;
  --panel: #11110f;
  --panel-soft: #1a1915;
  --line: rgba(239, 224, 182, 0.22);
  --text: #f8f1e4;
  --muted: rgba(248, 241, 228, 0.66);
  --gold: #d7bd75;
  --olive: #aeb881;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 0%, rgba(215, 189, 117, 0.12), transparent 28rem),
    linear-gradient(90deg, #020302 0 34%, #11100e 34% 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.flex-page {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(10px, 2vw, 18px) 0 34px;
}

.member-card {
  position: relative;
  overflow: hidden;
  min-height: auto;
  border: 1px solid rgba(239, 224, 182, 0.18);
  border-radius: 10px;
  padding: clamp(12px, 2.2vw, 20px);
  background:
    linear-gradient(110deg, rgba(215, 189, 117, 0.14), transparent 31%),
    linear-gradient(180deg, rgba(248, 241, 228, 0.04), rgba(248, 241, 228, 0.015)),
    var(--panel);
  box-shadow: var(--shadow);
}

.member-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 92%, rgba(215, 189, 117, 0.14), transparent 18rem),
    linear-gradient(115deg, transparent 0 43%, rgba(248, 241, 228, 0.035) 43% 47%, transparent 47%);
  content: "";
  pointer-events: none;
}

.member-card > * {
  position: relative;
}

.flex-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flex-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.9;
}

.flex-brand strong,
.physical-card span,
.selection-heading p,
.final-pick p,
.benefits p,
.request p,
.info-grid span {
  display: block;
  margin: 0;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.flex-brand span,
.selection-heading span,
.final-pick span,
.request span {
  color: var(--muted);
}

.campaign-badge {
  margin-left: auto;
  border: 1px solid rgba(215, 189, 117, 0.38);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(215, 189, 117, 0.12);
  color: #f2e4bf;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(260px, 1fr);
  gap: clamp(10px, 1.6vw, 18px);
  align-items: stretch;
  justify-content: space-between;
  margin-top: 14px;
}

.physical-card {
  position: relative;
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(239, 224, 182, 0.3);
  border-radius: 9px;
  padding: clamp(13px, 1.7vw, 17px);
  background:
    linear-gradient(132deg, rgba(248, 241, 228, 0.1), transparent 34%),
    linear-gradient(20deg, rgba(215, 189, 117, 0.14), transparent 48%),
    #161614;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.physical-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 35%, rgba(248, 241, 228, 0.12) 45%, transparent 57%);
  content: "";
  opacity: 0.72;
}

.physical-card::after {
  position: absolute;
  right: -42px;
  bottom: -72px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(239, 224, 182, 0.2);
  border-radius: 50%;
  content: "";
}

.physical-card > * {
  position: relative;
  z-index: 1;
}

.physical-card h1 {
  max-width: 210px;
  margin: 16px 0 7px;
  font-size: clamp(1.28rem, 2.1vw, 1.78rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.physical-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.flex-hero-photo {
  position: relative;
  width: 100%;
  min-height: 154px;
  overflow: hidden;
  border: 1px solid rgba(239, 224, 182, 0.16);
  border-radius: 9px;
  background: #0b0b0a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.flex-hero-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(2, 3, 2, 0.78)),
    linear-gradient(90deg, rgba(2, 3, 2, 0.06), rgba(2, 3, 2, 0.36));
  content: "";
}

.flex-hero-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 154px;
  object-fit: cover;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(239, 224, 182, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(248, 241, 228, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(239, 224, 182, 0.12), rgba(248, 241, 228, 0.04)),
    rgba(248, 241, 228, 0.05);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), 0 0 0 5px rgba(239, 224, 182, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quick-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 224, 182, 0.72);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28), 0 0 24px rgba(239, 224, 182, 0.16);
}

.quick-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.selection,
.info-grid,
.benefits,
.request,
.editorial-strip {
  margin-top: clamp(16px, 3vw, 28px);
}

.selection-heading {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.selection-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.selection-heading > span {
  min-width: 96px;
  border: 1px solid rgba(174, 184, 129, 0.45);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(174, 184, 129, 0.16);
  color: #eef6cf;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(174, 184, 129, 0.18);
}

.final-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: clamp(14px, 2.5vw, 26px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 224, 182, 0.18);
  border-radius: 10px;
  padding: clamp(16px, 2.4vw, 24px);
  background:
    linear-gradient(120deg, rgba(248, 241, 228, 0.1), rgba(248, 241, 228, 0.018)),
    #151411;
}

.final-pick h3,
.benefits h3,
.request h3,
.info-grid h3 {
  margin: 8px 0 7px;
  font-size: clamp(1.08rem, 1.7vw, 1.55rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
}

.final-pick img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.editorial-strip {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 12px;
}

.editorial-strip figure {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(239, 224, 182, 0.16);
  border-radius: 10px;
  background: #10100e;
}

.editorial-strip figure::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(2, 3, 2, 0.86));
  content: "";
}

.editorial-strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.editorial-strip figure:hover img {
  transform: scale(1.035);
}

.editorial-strip figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.info-grid article,
.benefits > div,
.request {
  border: 1px solid rgba(239, 224, 182, 0.15);
  border-radius: 10px;
  padding: 16px;
  background: rgba(17, 17, 15, 0.86);
}

.info-grid p,
.benefits li {
  color: var(--muted);
  line-height: 1.42;
}

.benefits {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefits > div {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(215, 189, 117, 0.22), transparent 10rem),
    linear-gradient(145deg, rgba(248, 241, 228, 0.075), rgba(95, 145, 183, 0.08)),
    rgba(17, 17, 15, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(248, 241, 228, 0.035);
}

.benefits > div::before {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(215, 189, 117, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(215, 189, 117, 0.22), rgba(95, 145, 183, 0.18)),
    rgba(2, 3, 2, 0.42);
  color: #f8f1e4;
  content: "01";
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.benefits > div:nth-child(2)::before {
  content: "02";
}

.benefits > div::after {
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 158px;
  height: 158px;
  border: 1px solid rgba(239, 224, 182, 0.13);
  border-radius: 50%;
  content: "";
}

.benefits p {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(215, 189, 117, 0.26);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(215, 189, 117, 0.1);
  color: #f2e4bf;
}

.benefits h3 {
  max-width: 78%;
}

.benefits ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  position: relative;
  padding: 9px 10px 9px 34px;
  border: 1px solid rgba(239, 224, 182, 0.1);
  border-radius: 12px;
  background: rgba(2, 3, 2, 0.28);
}

.benefits li::before {
  position: absolute;
  left: 10px;
  top: 50%;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ead8a7, #6fa1c9);
  color: #06101a;
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.request {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(14px, 2.8vw, 26px);
}

.request form {
  display: grid;
  gap: 10px;
}

.request label {
  display: grid;
  gap: 8px;
  color: rgba(248, 241, 228, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.request input,
.request textarea {
  width: 100%;
  border: 1px solid rgba(239, 224, 182, 0.18);
  border-radius: 10px;
  padding: 12px;
  background: rgba(2, 3, 2, 0.58);
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
}

.request textarea {
  min-height: 88px;
  resize: vertical;
}

.request button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #e8d4a3, #5f91b7);
  color: #06101a;
  cursor: pointer;
  font-weight: 900;
}

.mobile-direct-actions {
  display: none;
}

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(circle at 90% 0%, rgba(215, 189, 117, 0.1), transparent 24rem),
      #020302;
  }

  .member-card {
    min-height: auto;
  }

  .card-layout,
  .final-pick,
  .request {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .benefits {
    grid-template-columns: 1fr;
  }

  .flex-hero-photo {
    width: 100%;
    min-height: 150px;
    justify-self: stretch;
  }

  .flex-hero-photo > img {
    min-height: 150px;
  }

  .editorial-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .flex-page {
    width: min(100% - 14px, 1180px);
    padding: 7px 0 76px;
  }

  .member-card,
  .final-pick,
  .info-grid article,
  .benefits > div,
  .request {
    border-radius: 8px;
    padding: 12px;
  }

  .flex-brand img {
    width: 34px;
    height: 34px;
  }

  .flex-brand {
    align-items: flex-start;
  }

  .campaign-badge {
    padding: 5px 7px;
    font-size: 0.54rem;
  }

  .card-layout {
    gap: 8px;
    margin-top: 10px;
  }

  .physical-card {
    min-height: 118px;
    padding: 11px;
  }

  .physical-card h1 {
    max-width: 160px;
    margin-top: 14px;
    font-size: clamp(1.15rem, 5.6vw, 1.52rem);
  }

  .quick-links a {
    width: 40px;
    height: 40px;
  }

  .selection-heading {
    display: grid;
  }

  .selection-heading h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .final-pick h3,
  .benefits h3,
  .request h3,
  .info-grid h3 {
    font-size: clamp(1rem, 5vw, 1.35rem);
  }

  .benefits > div {
    min-height: auto;
    padding: 16px;
  }

  .benefits h3 {
    max-width: 100%;
    padding-right: 58px;
  }

  .selection-heading > span {
    width: fit-content;
    min-width: 112px;
    padding: 12px 20px;
  }

  .editorial-strip figure,
  .editorial-strip img {
    min-height: 172px;
  }

  .mobile-direct-actions {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: auto;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 6px;
    border: 1px solid rgba(239, 224, 182, 0.18);
    border-radius: 999px;
    padding: 5px;
    background: rgba(6, 8, 9, 0.82);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  }

  .mobile-direct-actions a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-direct-actions a:first-child {
    background: linear-gradient(120deg, #e8d4a3, #5f91b7);
    color: #06101a;
  }

  .mobile-direct-actions a:last-child {
    border: 1px solid rgba(239, 224, 182, 0.18);
  }
}

/* Final Flex media lock: photos bleed into their frames with no transparent gutters. */
.flex-hero-photo,
.final-pick,
.editorial-strip figure {
  overflow: hidden;
  background: #080a0b;
}

.flex-hero-photo > img,
.editorial-strip img {
  display: block;
  width: calc(100% + 28px);
  max-width: none;
  height: calc(100% + 28px);
  margin: -14px;
  border: 0;
  outline: 0;
  background: #080a0b;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.final-pick img {
  display: block;
  width: calc(100% + 28px);
  max-width: none;
  height: auto;
  margin: -14px;
  aspect-ratio: 1.45 / 1;
  border: 0;
  outline: 0;
  background: #080a0b;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.flex-hero-photo:hover > img,
.editorial-strip figure:hover img {
  transform: scale(1.015);
}

/* Restore clean media framing on Flex as well. */
.flex-hero-photo > img,
.editorial-strip img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.final-pick img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  object-position: center;
}

.flex-hero-photo:hover > img,
.editorial-strip figure:hover img {
  transform: none;
}
