:root {
  color-scheme: light;
  --paper: #f4f0e9;
  --paper-dark: #eae5dc;
  --ink: #171817;
  --muted: #696b68;
  --red: #e4413c;
  --red-dark: #c82f2b;
  --white: #fffefa;
  --line: rgba(23, 24, 23, .14);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -50px; left: 16px; z-index: 20; padding: 12px 16px; background: var(--ink); color: white; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.wordmark-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 16px; letter-spacing: -.08em; }
.wordmark-icon span { color: var(--red); }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; }
.main-nav a { text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .text-link:hover, .card-link:hover { color: var(--red-dark); }
.main-nav .nav-contact { border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; }
.nav-contact span { color: var(--red); margin-left: 4px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .88fr); gap: clamp(36px, 7vw, 96px); align-items: center; padding-block: 64px 82px; }
.hero-copy { padding-block: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; }
.eyebrow-line { width: 21px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin-bottom: 22px; font-size: clamp(54px, 6.8vw, 86px); font-weight: 800; letter-spacing: -.075em; line-height: .98; }
h1 span { color: var(--red); }
.hero-lede { max-width: 455px; margin-bottom: 28px; color: #555854; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 4px; padding: 0 18px; font-size: 12px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #333633; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.hero-socials { display: flex; gap: 24px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); }
.hero-socials a { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; text-decoration: none; }
.hero-socials a span { color: var(--muted); font-weight: 400; }
.hero-socials a b { color: var(--red); font-size: 13px; }
.hero-visual { position: relative; height: auto; min-height: 0; overflow: visible; border-radius: 3px; }
.transformation { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 10px; padding: 10px 10px 42px; background: var(--paper-dark); }
.transformation-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #d9d3ca; }
.before-photo { aspect-ratio: 1200 / 1600; }
.after-photo { aspect-ratio: 1126 / 2000; }
.transformation-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.transformation-photo figcaption { position: absolute; top: 12px; left: 12px; padding: 7px 9px; background: rgba(23,24,23,.84); color: white; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.transformation-label { position: absolute; right: 14px; bottom: 14px; left: 14px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-align: center; }

.content-themes { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 8vw, 100px); align-items: center; padding-block: 24px 96px; }
.section-heading { max-width: 620px; }
.section-heading .eyebrow { margin-bottom: 13px; }
h2 { margin-bottom: 14px; font-size: clamp(34px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.065em; line-height: 1.08; }
h2 em { color: var(--red); font-style: normal; }
.themes-heading > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.75; }
.theme-list { border-top: 1px solid var(--line); }
.theme-item { display: grid; grid-template-columns: 34px 1fr 32px; gap: 13px; align-items: center; min-height: 83px; border-bottom: 1px solid var(--line); }
.theme-number { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.theme-item h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; letter-spacing: -.035em; }
.theme-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.theme-symbol { color: var(--red); font-size: 20px; text-align: right; }

.codes-section { background: #e9e4dc; padding-block: 77px 84px; }
.codes-heading { margin-bottom: 32px; }
.codes-heading > p:last-child { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.code-feature { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 352px; background: var(--white); }
.code-image { position: relative; min-height: 352px; overflow: hidden; background: #d7d1c8; }
.myprotein-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #003f3b; color: white; }
.myprotein-mark img { position: static; width: 40px; height: 40px; object-fit: contain; }
.myprotein-mark span { font-family: var(--display); font-size: 14px; font-weight: 800; letter-spacing: .16em; }
.code-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px clamp(26px, 5vw, 64px); }
.brand-kicker { margin-bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.code-copy h3 { margin-bottom: 10px; font-size: 34px; font-weight: 800; letter-spacing: -.06em; }
.code-copy > p:not(.brand-kicker):not(.affiliate-note) { max-width: 330px; margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.coupon-row { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.coupon-code { display: inline-flex; min-height: 37px; align-items: center; justify-content: center; border: 1px dashed rgba(23,24,23,.36); border-radius: 3px; padding: 0 13px; font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.copy-button { display: inline-flex; min-height: 37px; align-items: center; gap: 7px; border: 0; border-radius: 3px; padding: 0 12px; background: #efede8; color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 700; transition: background .2s ease; }
.copy-button:hover { background: #e4dfd6; }
.button-red { background: var(--red); color: white; }
.button-red:hover { background: var(--red-dark); }
.affiliate-note { margin: 13px 0 0; color: #83847f; font-size: 9px; line-height: 1.55; }
.code-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.code-card { padding: 26px 28px 25px; background: var(--white); }
.code-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.code-card-top .brand-kicker { margin: 0; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--display); font-size: 14px; font-weight: 800; }
.champion-mark { color: #126f6d; }
.phidias-mark { color: #685e50; }
.code-card h3 { margin-bottom: 7px; font-size: 22px; font-weight: 800; letter-spacing: -.045em; }
.code-card > p { margin-bottom: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.code-card .coupon-row { justify-content: space-between; max-width: 300px; margin-bottom: 17px; }
.code-card .coupon-code { font-size: 11px; }
.code-card .copy-button { min-height: 34px; }
.card-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.card-link span { color: var(--red); }
.copy-status { min-height: 17px; margin: 12px 0 0; color: var(--red-dark); font-size: 11px; font-weight: 700; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(38px, 8vw, 105px); align-items: center; padding-block: 96px; }
.about-photo { position: relative; height: 470px; overflow: hidden; background: #aaa; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.about-photo::after { position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); content: ''; }
.about-photo span { position: absolute; z-index: 1; bottom: 20px; left: 20px; color: white; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.about-copy .eyebrow { margin-bottom: 15px; }
.about-copy h2 { margin-bottom: 23px; font-size: clamp(42px, 5vw, 60px); }
.about-copy > p:not(.eyebrow) { max-width: 560px; margin-bottom: 15px; color: #5f615e; font-size: 13px; line-height: 1.82; }
.currently { display: flex; align-items: flex-start; gap: 12px; margin-block: 23px 22px; border-left: 2px solid var(--red); padding: 3px 0 3px 14px; }
.currently-icon { color: var(--red); font-weight: 700; }
.currently p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.currently strong { color: var(--ink); }
.about-email { display: flex; flex-wrap: wrap; gap: 5px; font-size: 11px; }
.about-email span { color: var(--red-dark); }

.site-footer { background: var(--ink); color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 18px 28px; min-height: 130px; padding-block: 28px; }
.footer-wordmark { color: white; }
.footer-inner > p { margin: 0; color: #b8b9b5; font-size: 11px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #f2f0eb; font-size: 10px; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: #ff7c73; }
.footer-inner small { grid-column: 1 / -1; color: #9b9d98; font-size: 9px; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 38px, 540px); }
  .site-header { min-height: 66px; }
  .main-nav { gap: 16px; font-size: 11px; }
  .main-nav > a:first-child { display: none; }
  .main-nav .nav-contact { padding: 8px 11px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 63px; }
  .hero-copy { padding-block: 0; }
  h1 { font-size: clamp(58px, 14vw, 82px); }
  .hero-lede { max-width: 490px; font-size: 15px; }
  .hero-socials { margin-top: 30px; }
  .hero-visual { width: 100%; }
  .transformation { gap: 8px; padding: 8px 8px 38px; }
  .transformation-photo figcaption { top: 9px; left: 9px; padding: 6px 7px; font-size: 8px; }
  .content-themes { grid-template-columns: 1fr; gap: 17px; padding-block: 13px 65px; }
  .theme-item { min-height: 76px; }
  .codes-section { padding-block: 58px 59px; }
  .code-feature { grid-template-columns: .82fr 1.18fr; min-height: 300px; }
  .code-image { min-height: 300px; }
  .myprotein-mark img { width: 40px; }
  .code-copy { padding: 24px 20px; }
  .code-copy h3 { font-size: 28px; }
  .code-copy > p:not(.brand-kicker):not(.affiliate-note) { font-size: 12px; }
  .code-copy .coupon-row { flex-wrap: wrap; gap: 7px; }
  .code-copy .coupon-code { min-height: 34px; }
  .code-copy .copy-button { min-height: 34px; }
  .code-copy .button { min-height: 42px; padding-inline: 12px; font-size: 10px; }
  .code-grid { gap: 10px; margin-top: 10px; }
  .code-card { padding: 20px 18px; }
  .code-card .coupon-row { flex-wrap: wrap; gap: 7px; }
  .about { grid-template-columns: .82fr 1.18fr; gap: 29px; padding-block: 70px; }
  .about-photo { height: 390px; }
  .about-photo img { object-position: center 19%; }
  .about-copy h2 { font-size: 42px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-column: 1 / -1; grid-row: 3; }
  .footer-inner small { grid-column: 1 / -1; grid-row: 4; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .wordmark { gap: 8px; font-size: 10px; letter-spacing: .1em; }
  .wordmark-icon { width: 27px; height: 27px; font-size: 14px; }
  .main-nav { gap: 11px; font-size: 10px; }
  .main-nav a:nth-child(2) { white-space: nowrap; }
  .main-nav .nav-contact { padding: 8px 10px; }
  .hero { padding-top: 34px; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: clamp(56px, 15vw, 72px); }
  .hero-actions { gap: 18px; }
  .hero-socials { gap: 15px; }
  .hero-socials a { gap: 5px; font-size: 10px; }
  .hero-socials a span { font-size: 9px; }
  h2 { font-size: 36px; }
  .codes-heading > p:last-child { font-size: 13px; }
  .code-feature { grid-template-columns: 1fr; }
  .code-image { min-height: 175px; height: 175px; }
  .myprotein-mark img { width: 40px; }
  .code-copy { padding: 26px 23px 28px; }
  .code-copy h3 { font-size: 31px; }
  .code-copy .coupon-row { flex-wrap: nowrap; }
  .code-grid { grid-template-columns: 1fr; }
  .code-card { padding: 22px 22px; }
  .code-card .coupon-row { flex-wrap: nowrap; }
  .about { grid-template-columns: 1fr; gap: 28px; padding-block: 62px; }
  .about-photo { height: 320px; }
  .about-photo img { object-position: center 16%; }
  .about-copy h2 { font-size: 45px; }
  .footer-inner { gap: 16px; }
}

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