:root {
  --ink: #07110d;
  --ink-2: #0d2118;
  --green: #173b2b;
  --green-2: #285e43;
  --sage: #91b596;
  --gold: #cdaa5d;
  --gold-light: #efd98e;
  --cream: #f5efe3;
  --paper: #fbf8f1;
  --muted: #6d746e;
  --border: #d9d1c3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: 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(--ink); color: #f8f3e8; font-family: var(--sans); }
body, button, input, select, textarea { font-family: var(--sans); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -100px; padding: 12px 18px; background: var(--gold-light); color: var(--ink); font-weight: 850; }
.skip-link:focus { top: 16px; }
.sr-only { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.academy-header { position: sticky; z-index: 60; top: 0; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 12px clamp(22px, 5vw, 76px); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(7,17,13,.94); backdrop-filter: blur(16px); }
.academy-brand { display: flex; align-items: center; gap: 12px; }
.academy-brand > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(205,170,93,.65); color: var(--gold-light); font-family: var(--serif); font-size: 17px; }
.academy-brand strong { color: #fff8ea; font-family: var(--serif); font-size: 16px; line-height: 1.1; }
.academy-brand small { display: block; margin-top: 4px; color: #8c948e; font-family: var(--sans); font-size: 7px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.academy-header nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.academy-header nav a { color: #b8b9b3; font-size: 8px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.academy-header nav a:last-child { padding: 11px 14px; border: 1px solid rgba(205,170,93,.52); color: var(--gold-light); }
.academy-header nav a:hover, .academy-header nav a:focus-visible { color: var(--gold-light); }

.academy-hero { min-height: calc(100svh - 78px); position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); overflow: hidden; background: radial-gradient(circle at 16% 19%, rgba(48,104,75,.38), transparent 39%), linear-gradient(135deg, #0a2016 0%, #07110d 55%, #030806 100%); }
.academy-hero::before { content: "BUILT TO CARRY"; position: absolute; left: clamp(18px, 5vw, 72px); bottom: -24px; color: rgba(255,255,255,.025); font-family: var(--serif); font-size: clamp(70px, 10vw, 156px); white-space: nowrap; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: clamp(74px, 10vw, 150px) clamp(28px, 7vw, 112px) clamp(92px, 10vw, 150px); }
.eyebrow, .section-kicker, .card-kicker { margin: 0; color: var(--gold-light); font-size: 8px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 30px; height: 1px; background: var(--gold); }
.hero-copy h1 { margin: 25px 0 28px; color: #fff9ec; font-family: var(--serif); font-size: clamp(58px, 7vw, 108px); font-weight: 400; letter-spacing: -.055em; line-height: .85; }
.hero-copy h1 em, h2 em { color: var(--gold-light); font-weight: 400; }
.hero-lede { max-width: 760px; margin: 0; color: #b8b9b3; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; margin-top: 38px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 23px; border: 1px solid transparent; font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold-light); color: #172116; box-shadow: 0 13px 35px rgba(0,0,0,.18); }
.button-gold:hover { background: #f5e6ac; }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: var(--green-2); }
.text-link { padding-bottom: 5px; border-bottom: 1px solid rgba(239,217,142,.35); color: #d9d7ce; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero-metrics { max-width: 710px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 47px 0 0; border-block: 1px solid rgba(255,255,255,.12); }
.hero-metrics div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 17px 14px; }
.hero-metrics div + div { border-left: 1px solid rgba(255,255,255,.12); }
.hero-metrics dt { color: var(--gold-light); font-family: var(--serif); font-size: 36px; line-height: 1; }
.hero-metrics dd { margin: 0; color: #7e857f; font-size: 7px; font-weight: 900; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.hero-image { min-height: 740px; position: relative; overflow: hidden; background: #090e0b; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #07110d 0%, transparent 26%), linear-gradient(180deg, transparent 48%, rgba(4,9,6,.88) 100%); }
.hero-image > img { width: 100%; height: 100%; object-fit: cover; object-position: center 17%; filter: saturate(.84) contrast(1.04); }
.hero-seal { position: absolute; z-index: 2; top: 34px; right: 34px; width: 113px; height: 113px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(239,217,142,.7); border-radius: 50%; background: rgba(4,11,7,.7); backdrop-filter: blur(8px); }
.hero-seal strong { color: var(--gold-light); font-family: var(--serif); font-size: 43px; font-weight: 400; }
.hero-seal span { color: #b5b6b0; font-size: 6px; font-weight: 900; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.hero-image blockquote { position: absolute; z-index: 2; left: 36px; bottom: 45px; margin: 0; color: #fff9ec; font-family: var(--serif); font-size: clamp(25px, 2.4vw, 39px); font-style: italic; line-height: 1.1; }
.hero-rail { position: absolute; z-index: 3; right: 20px; bottom: 15px; margin: 0; color: rgba(255,255,255,.28); font-size: 6px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }

.academy-principles { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(255,255,255,.1); background: #0a1711; }
.academy-principles article { min-height: 140px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 17px; align-content: center; padding: 25px clamp(20px, 3vw, 42px); border-right: 1px solid rgba(255,255,255,.1); }
.academy-principles article:last-child { border-right: 0; }
.academy-principles span { grid-row: 1 / 3; color: var(--gold); font-family: var(--serif); font-size: 21px; }
.academy-principles strong { color: #f8f2e6; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.academy-principles small { margin-top: 6px; color: #858b85; font-size: 9px; line-height: 1.5; }

.dashboard-section, .meal-section { padding: clamp(90px, 10vw, 155px) clamp(22px, 6vw, 96px); background: var(--paper); color: var(--ink); }
.section-heading { max-width: 1440px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: end; gap: 70px; margin: 0 auto; }
.section-heading .section-kicker, .path-intro .section-kicker, .meal-section .section-kicker, .victory-section .section-kicker, .safety-section .section-kicker { color: #8b672f; }
.section-heading h2, .path-intro h2, .victory-heading h2, .library-callout h2 { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(44px, 5vw, 76px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.section-heading h2 em, .path-intro h2 em, .victory-heading h2 em { color: #8b672f; }
.section-heading > p { margin: 0 0 8px; color: #646a64; font-size: 13px; line-height: 1.8; }
.dashboard-grid { max-width: 1440px; display: grid; grid-template-columns: 1.35fr 1.1fr repeat(2, .65fr); gap: 18px; margin: 60px auto 0; }
.dashboard-card { min-height: 170px; padding: 26px; border: 1px solid var(--border); background: #fff; box-shadow: 0 16px 45px rgba(19,34,25,.06); }
.dashboard-card .card-kicker, .week-practice .card-kicker, .meal-result .card-kicker, .accountability-card .card-kicker { color: #8b672f; }
.dashboard-card h3, .week-practice h3, .result-toolbar h3, .grocery-panel h3, .accountability-card h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.1; }
.dashboard-card p { margin: 0; color: #6b716c; font-size: 11px; line-height: 1.7; }
.dashboard-welcome { grid-row: span 2; min-height: 360px; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 54px); background: linear-gradient(140deg, #173b2b, #0b1d14); color: #fff; }
.dashboard-welcome h3 { color: #fff; font-size: clamp(31px, 3vw, 48px); }
.dashboard-welcome p { color: #aab6ad; }
.dashboard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 25px; }
.progress-card { grid-column: span 2; display: flex; align-items: center; gap: 27px; }
.progress-ring { --progress: 0; flex: 0 0 auto; width: 116px; height: 116px; display: grid; place-content: center; position: relative; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--progress) * 1%), #e7e2d8 0); text-align: center; }
.progress-ring::before { content: ""; position: absolute; inset: 8px; border-radius: inherit; background: #fff; }
.progress-ring strong, .progress-ring span { position: relative; z-index: 1; }
.progress-ring strong { color: #8b672f; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.progress-ring span { color: #797d77; font-size: 6px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.metric-card { min-height: 170px; }
.metric-card > span { color: #8b672f; }
.metric-card > strong { display: block; margin: 25px 0 7px; color: var(--green); font-family: var(--serif); font-size: 38px; font-weight: 400; }
.quiet-button { padding: 9px 0; border: 0; border-bottom: 1px solid #aaa295; background: transparent; color: #5b625c; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.quiet-light { border-color: rgba(255,255,255,.4); color: #d4d8d4; }

.week-practice { max-width: 1440px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; margin: 20px auto 0; padding: 40px; border: 1px solid var(--border); background: #f4eee3; }
.week-practice-copy p:last-child { color: #666d67; font-size: 11px; line-height: 1.7; }
.week-practice fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; border: 0; }
.week-practice label { min-height: 90px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 11px; padding: 15px; border: 1px solid #d9d1c4; background: #fff; cursor: pointer; }
.week-practice label:has(input:checked) { border-color: var(--green); background: #e5eee7; }
.week-practice input { width: 18px; height: 18px; accent-color: var(--green); }
.week-practice label strong, .week-practice label small { display: block; }
.week-practice label strong { color: #27372d; font-size: 10px; }
.week-practice label small { margin-top: 4px; color: #737a74; font-size: 8px; line-height: 1.45; }
.week-navigation { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #d8d0c3; }
.week-navigation button { border: 0; background: transparent; color: #506257; font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.week-navigation button:disabled { opacity: .35; cursor: default; }
.week-navigation span { color: #8b672f; font-family: var(--serif); font-size: 17px; }

.path-section { padding: clamp(90px, 10vw, 155px) clamp(22px, 6vw, 96px); background: #ece2d1; color: var(--ink); }
.path-intro { max-width: 1040px; margin: 0 auto; text-align: center; }
.path-intro > p:last-child { max-width: 760px; margin: 24px auto 0; color: #616961; font-size: 13px; line-height: 1.8; }
.path-builder { max-width: 1120px; margin: 58px auto 0; padding: clamp(28px, 5vw, 60px); border: 1px solid #cec3b1; background: rgba(255,255,255,.68); box-shadow: 0 22px 60px rgba(35,43,37,.07); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 21px; margin-bottom: 28px; }
.path-builder label, .meal-form label, .victory-form label, .accountability-card label { display: block; }
.path-builder label > span:first-child, .meal-form label > span:first-child, .victory-form label > span:first-child, .accountability-card label > span:first-child { display: block; margin-bottom: 8px; color: #455148; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.path-builder small, .meal-form small, .accountability-card small { color: #8a8f89; font-size: 7px; }
.path-builder input[type="text"], .path-builder select, .meal-form input, .meal-form select, .victory-form textarea, .accountability-card input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbc3b6; border-radius: 0; outline: 0; background: #fffdf8; color: var(--ink); }
.path-builder input:focus, .path-builder select:focus, .meal-form input:focus, .meal-form select:focus, .victory-form textarea:focus, .accountability-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,59,43,.1); }
.check-label { min-height: 74px; display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 13px; padding: 13px; border: 1px solid #cbc3b6; background: #fffdf8; cursor: pointer; }
.check-label input { width: 20px; height: 20px; accent-color: var(--green); }
.check-label span, .check-label strong, .check-label small { display: block; margin: 0 !important; }
.check-label strong { font-size: 10px; }
.check-label small { margin-top: 4px !important; line-height: 1.45; }
.form-note { color: #7c817c; font-size: 8px; line-height: 1.6; }
.journey-result { max-width: 1440px; margin: 50px auto 0; }
.journey-summary { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 32px 36px; background: var(--green); color: #fff; }
.journey-summary h3 { margin: 10px 0 5px; font-family: var(--serif); font-size: clamp(29px, 3vw, 44px); font-weight: 400; }
.journey-summary p:last-child { margin: 0; color: #afbbb2; font-size: 11px; line-height: 1.6; }
.journey-summary .quiet-button { border-color: rgba(255,255,255,.4); color: #fff; }
.phase-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid #cfc5b5; }
.phase-tabs button { min-height: 86px; padding: 16px; border: 0; border-right: 1px solid #cfc5b5; background: rgba(255,255,255,.45); color: #5c645e; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-align: left; text-transform: uppercase; cursor: pointer; }
.phase-tabs button:last-child { border-right: 0; }
.phase-tabs button span { display: block; margin-top: 7px; color: #7b817c; font-family: var(--serif); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.phase-tabs button[aria-selected="true"] { background: var(--gold-light); color: var(--ink); }
.weeks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.week-card { padding: clamp(25px, 3vw, 39px); border: 1px solid #d2c8b8; background: rgba(255,255,255,.73); }
.week-card header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.week-card header span { color: #8b672f; font-family: var(--serif); font-size: 18px; }
.week-card header small { color: #788078; font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.week-card h4 { margin: 20px 0 9px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.week-card > p { color: #616961; font-size: 10px; line-height: 1.7; }
.week-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 0; }
.week-card dl div { padding: 12px; border-top: 1px solid #d7cfc2; }
.week-card dt { color: #7d827d; font-size: 6px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.week-card dd { margin: 6px 0 0; color: #334038; font-size: 9px; line-height: 1.55; }
.certificate-callout { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 30px; border: 1px solid #b99a52; background: #112b1e; color: #fff; }
.certificate-callout > span { color: var(--gold-light); font-size: 31px; }
.certificate-callout strong { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.certificate-callout p { margin: 5px 0 0; color: #aeb8b1; font-size: 10px; }
.certificate-callout .button { margin-left: auto; }

.challenge-section { padding: clamp(90px, 10vw, 155px) clamp(22px, 6vw, 96px); background: #0b1d14; }
.light-heading h2 { color: #fff8ea; }
.light-heading > p { color: #8e9991; }
.challenge-grid { max-width: 1440px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 58px auto 0; }
.challenge-card { min-height: 320px; display: flex; flex-direction: column; padding: 29px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg, rgba(43,89,64,.45), rgba(5,13,9,.7)); }
.challenge-card > span { color: var(--gold); font-family: var(--serif); font-size: 42px; }
.challenge-card h3 { margin: 40px 0 11px; color: #fff; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.challenge-card p { margin: 0; color: #929d95; font-size: 10px; line-height: 1.7; }
.challenge-card button { margin-top: auto; align-self: flex-start; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(239,217,142,.4); background: transparent; color: var(--gold-light); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.active-challenge { max-width: 1440px; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 25px; margin: 16px auto 0; padding: 32px; border: 1px solid rgba(205,170,93,.55); background: #122d20; }
.active-challenge h3 { margin: 9px 0 6px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.active-challenge p { margin: 0; color: #9eaaa1; font-size: 10px; line-height: 1.6; }
.challenge-progress { min-width: 150px; }
.challenge-progress strong { color: var(--gold-light); font-family: var(--serif); font-size: 21px; font-weight: 400; }
.challenge-progress > div { height: 5px; margin-top: 8px; background: rgba(255,255,255,.13); }
.challenge-progress span { display: block; width: 0; height: 100%; background: var(--gold); }
.status-line { grid-column: 1 / -1; min-height: 16px; }

.meal-section { background: #f5efe3; }
.meal-shell { max-width: 1440px; margin: 58px auto 0; }
.meal-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 34px; border: 1px solid var(--border); background: #fff; }
.meal-form .full-label { grid-column: span 3; }
.meal-form .button { align-self: end; }
.meal-form .form-note { grid-column: 1 / -1; margin: 0; }
.meal-result { margin-top: 20px; padding: clamp(27px, 5vw, 60px); background: #fff; border: 1px solid var(--border); }
.result-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.avoid-note { padding: 13px; border-left: 3px solid var(--gold); background: #f6f0e5; color: #665d4c; font-size: 9px; line-height: 1.6; }
.meal-days { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 35px; }
.meal-day { padding: 23px; border: 1px solid #ddd6ca; }
.meal-day h4 { margin: 0 0 17px; color: #8b672f; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.meal-day dl { margin: 0; }
.meal-day dl div { display: grid; grid-template-columns: 75px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid #ece7df; }
.meal-day dt { color: #7b817c; font-size: 7px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.meal-day dd { margin: 0; color: #39473e; font-size: 10px; line-height: 1.5; }
.grocery-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; margin-top: 18px; padding: 34px; background: #112b1e; color: #fff; }
.grocery-panel .card-kicker { color: var(--gold-light); }
.grocery-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grocery-columns h4 { margin: 0 0 11px; color: var(--gold-light); font-family: var(--serif); font-size: 18px; font-weight: 400; }
.grocery-columns ul { margin: 0; padding-left: 17px; color: #b1bbb4; font-size: 9px; line-height: 1.8; }

.victory-section { padding: clamp(90px, 10vw, 155px) clamp(22px, 6vw, 96px); background: #e9dfcf; color: var(--ink); }
.victory-heading { max-width: 960px; margin: 0 auto; text-align: center; }
.victory-heading > p:last-child { max-width: 720px; margin: 24px auto 0; color: #626961; font-size: 12px; line-height: 1.8; }
.victory-layout { max-width: 1280px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 22px; margin: 55px auto 0; }
.victory-form { padding: 31px; background: var(--green); color: #fff; }
.victory-form label > span:first-child { color: var(--gold-light); }
.victory-form textarea { min-height: 150px; resize: vertical; }
.victory-form .button { margin-top: 18px; }
.victory-form .form-note { color: #aab6ad; }
.victory-wall { min-height: 325px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; padding: 22px; border: 1px solid #cfc4b3; background: rgba(255,255,255,.55); }
.victory-note { min-height: 135px; position: relative; padding: 23px; background: #fffaf0; box-shadow: 0 8px 18px rgba(50,45,35,.08); transform: rotate(var(--tilt)); }
.victory-note blockquote { margin: 0; color: #39453d; font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.victory-note small { display: block; margin-top: 16px; color: #8b672f; font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.victory-note button { position: absolute; top: 8px; right: 8px; border: 0; background: transparent; color: #8a8f89; cursor: pointer; }
.victory-empty { grid-column: 1 / -1; align-self: center; color: #767d77; text-align: center; font-family: var(--serif); font-size: 20px; }
.accountability-card { max-width: 1280px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 45px; margin: 22px auto 0; padding: 38px; border: 1px solid #cfc4b3; background: #fff; }
.accountability-card > div p:last-child { color: #696f6a; font-size: 10px; line-height: 1.7; }
.accountability-card form { display: grid; grid-template-columns: .65fr 1.35fr auto; align-items: end; gap: 13px; }
.accountability-card form p { grid-column: 1 / -1; min-height: 15px; margin: 0; color: #52705c; font-size: 9px; }

.library-callout { min-height: 690px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; background: #0c2017; }
.library-callout > div { align-self: center; padding: clamp(70px, 9vw, 140px); }
.library-callout .section-kicker { color: var(--gold-light); }
.library-callout h2 { color: #fff; }
.library-callout p { max-width: 700px; color: #9ba69e; font-size: 13px; line-height: 1.8; }
.library-callout .button { margin-top: 20px; }
.library-callout img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.78); }
.safety-section { display: grid; grid-template-columns: auto 1fr; gap: 34px; padding: clamp(60px, 8vw, 110px) clamp(22px, 8vw, 130px); background: #f6f0e5; color: var(--ink); }
.safety-section > span { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid #c9b991; border-radius: 50%; color: #8b672f; font-family: var(--serif); font-size: 37px; }
.safety-section h2 { margin: 13px 0; font-family: var(--serif); font-size: clamp(29px, 3.5vw, 48px); font-weight: 400; }
.safety-section p:last-child { max-width: 1100px; color: #646a64; font-size: 11px; line-height: 1.8; }
footer { min-height: 145px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px clamp(22px, 6vw, 90px); border-top: 1px solid rgba(255,255,255,.1); background: #050c08; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > span { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(205,170,93,.5); color: var(--gold-light); font-family: var(--serif); }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 15px; }
.footer-brand small { display: block; margin-top: 4px; color: #717a73; font-size: 6px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
footer > p, footer > a { color: #687169; font-size: 7px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.certificate-dialog { width: min(100% - 30px, 920px); max-height: calc(100svh - 30px); padding: 0; border: 1px solid var(--gold); background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.55); }
.certificate-dialog::backdrop { background: rgba(0,8,4,.85); backdrop-filter: blur(7px); }
.certificate { position: relative; margin: 14px; padding: clamp(45px, 8vw, 90px); border: 2px solid var(--gold); color: var(--ink); text-align: center; }
.certificate::before { content: "LA"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(23,59,43,.035); font-family: var(--serif); font-size: 300px; pointer-events: none; }
.certificate > * { position: relative; z-index: 1; }
.certificate > button:first-child { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 1px solid #ccc3b5; background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }
.certificate > p:first-of-type { color: #8b672f; font-size: 9px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.certificate h2 { margin: 20px 0 30px; font-family: var(--serif); font-size: clamp(38px, 6vw, 66px); font-weight: 400; }
.certificate > span { color: #7b817c; font-size: 10px; text-transform: uppercase; }
.certificate > strong { display: block; margin: 12px 0 22px; color: var(--green); font-family: var(--serif); font-size: 42px; font-weight: 400; }
.certificate > p:nth-of-type(2) { max-width: 650px; margin: 0 auto; color: #5d665f; line-height: 1.8; }
.certificate blockquote { margin: 30px 0; color: #8b672f; font-family: var(--serif); font-size: 23px; font-style: italic; }
.certificate > div { display: flex; justify-content: space-between; gap: 30px; margin-top: 45px; padding-top: 15px; border-top: 1px solid #cfc6b9; text-align: left; }
.certificate > div span:last-child { text-align: right; }
.certificate small { color: #7c837d; font-size: 7px; }
.certificate-print { margin-top: 35px; }

@media (max-width: 1180px) {
  .academy-header nav a:not(:last-child) { display: none; }
  .academy-hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 760px; }
  .hero-image::after { background: linear-gradient(180deg, #07110d 0%, transparent 24%), linear-gradient(180deg, transparent 52%, rgba(4,9,6,.9)); }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-welcome { grid-row: auto; }
  .progress-card { grid-column: auto; }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .active-challenge { grid-template-columns: 1fr auto; }
  .active-challenge .button, .active-challenge .quiet-button { justify-self: start; }
  .meal-form { grid-template-columns: repeat(2, 1fr); }
  .meal-form .full-label { grid-column: span 1; }
}

@media (max-width: 820px) {
  .academy-principles { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-welcome, .progress-card { grid-column: 1 / -1; }
  .week-practice { grid-template-columns: 1fr; padding: 27px; }
  .week-practice fieldset { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .weeks-grid, .meal-days { grid-template-columns: 1fr; }
  .phase-tabs { grid-template-columns: 1fr; }
  .phase-tabs button { border-right: 0; border-bottom: 1px solid #cfc5b5; }
  .phase-tabs button:last-child { border-bottom: 0; }
  .active-challenge { grid-template-columns: 1fr; }
  .meal-form { grid-template-columns: 1fr; }
  .grocery-panel, .victory-layout, .accountability-card, .library-callout { grid-template-columns: 1fr; }
  .grocery-columns { grid-template-columns: repeat(2, 1fr); }
  .accountability-card form { grid-template-columns: 1fr; }
  .library-callout img { max-height: 720px; }
  .certificate-callout { align-items: flex-start; flex-wrap: wrap; }
  .certificate-callout .button { margin-left: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .academy-header { min-height: 68px; padding: 10px 15px; }
  .academy-brand > span { width: 40px; height: 40px; }
  .academy-header nav a { padding: 9px !important; font-size: 7px; }
  .hero-copy { padding: 74px 22px 82px; }
  .hero-copy h1 { font-size: clamp(50px, 16.2vw, 72px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: flex-start; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics div + div { border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .hero-image { min-height: 590px; }
  .hero-seal { width: 92px; height: 92px; top: 20px; right: 18px; }
  .academy-principles { grid-template-columns: 1fr; }
  .academy-principles article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-welcome, .progress-card { grid-column: auto; }
  .progress-card { align-items: flex-start; flex-direction: column; }
  .week-practice fieldset { grid-template-columns: 1fr; }
  .week-navigation { align-items: stretch; flex-direction: column; }
  .journey-summary, .result-toolbar { align-items: flex-start; flex-direction: column; }
  .challenge-grid { grid-template-columns: 1fr; }
  .grocery-columns, .victory-wall { grid-template-columns: 1fr; }
  .victory-note { transform: none; }
  .safety-section { grid-template-columns: 1fr; }
  .certificate { margin: 7px; padding: 55px 24px; }
  .certificate > div { flex-direction: column; }
  .certificate > div span:last-child { text-align: left; }
}

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

@media print {
  .academy-header, .academy-hero, .academy-principles, .dashboard-section, .challenge-section, .victory-section, .library-callout, .safety-section, footer, .path-intro, .path-builder, .phase-tabs, .journey-summary button, .meal-section > .section-heading, .meal-form, .result-toolbar button, .certificate-dialog:not([open]) { display: none !important; }
  body { background: #fff; color: #000; }
  .path-section, .meal-section { padding: 0; background: #fff; }
  .journey-result, .meal-result { display: block !important; margin: 0; padding: 10mm; border: 0; }
  .weeks-grid, .meal-days { grid-template-columns: 1fr 1fr; }
  .week-card, .meal-day { break-inside: avoid; }
  .certificate-dialog[open] { position: static; width: 100%; max-height: none; border: 0; }
  .certificate-dialog[open]::backdrop, .certificate > button, .certificate-print { display: none; }
  .certificate { min-height: 180mm; margin: 0; }
  body[data-print="plan"] .meal-section,
  body[data-print="plan"] .certificate-dialog,
  body[data-print="meals"] .path-section,
  body[data-print="meals"] .certificate-dialog,
  body[data-print="certificate"] main,
  body[data-print="certificate"] .academy-header,
  body[data-print="certificate"] footer { display: none !important; }
}
