/* Coach Latif: compact editorial layout. Content never depends on animation. */
:root { --cl-gold: #d7bb7a; --cl-line: #ffffff20; --cl-scroll-offset: 108px; }
html { scroll-padding-top: var(--cl-scroll-offset); }
body { overflow-wrap: break-word; }
main [id] { scroll-margin-top: var(--cl-scroll-offset); }
.reveal, .revealed, .instant-card, .tool-card { opacity: 1 !important; transform: none; }
.wrap { max-width: 1240px; }
header { gap: 22px; padding-block: 16px; }
header .brand { flex-shrink: 0; font-size: 19px; }
header .brand small { font-size: 10px; }
header .primary-nav, html[dir=ltr] header .primary-nav { display: flex; gap: 20px; align-items: center; }
header .primary-nav a, header .primary-nav a:nth-child(n) { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: #cfcfcf; white-space: nowrap; }
header .primary-nav a:hover, header .primary-nav a:focus-visible { color: #f2d998; }
header .header-actions { flex-shrink: 0; gap: 10px; }
header .header-actions .small { min-height: 44px; font-size: 13px; padding: 9px 14px; }
header #language { min-height: 44px; font-size: 14px; }
a:focus-visible, button:focus-visible, .camera-drop:focus-within { outline: 2px solid #e6c779; outline-offset: 5px; }
.hero.wrap { padding-block: 42px 38px; }
.hero .hero-copy .eyebrow { background: transparent; padding-inline: 0; color: var(--cl-gold); }
.hero-copy h1 { text-wrap: balance; }
.hero-art.hero-film { border-color: #b59a6055; box-shadow: 0 16px 42px #0007; }
.hero-art.hero-film p { font-size: 12px; padding: 10px 16px; }
.hero-actions .text-button { color: #cfc4aa; }

/* The former process strip is now a visible, useful feature navigation. */
.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-block: 0 30px; padding: 8px; background: linear-gradient(110deg, #2c2517, #171715 55%); border: 1px solid #ac8b474d; border-radius: 16px; }
.feature-strip a { display: flex; align-items: center; gap: 13px; padding: 18px 16px; border-inline-end: 1px solid #d2b47126; min-width: 0; color: #eee; transition: background .2s; }
.feature-strip a:last-child { border-inline-end: 0; }
.feature-strip a:hover { background: #d7bb7a0c; border-radius: 8px; }
.feature-strip a > i:not(.feature-arrow) .ui-icon { color: var(--cl-gold); width: 26px; height: 26px; }
.feature-strip a > span { display: grid; gap: 5px; flex: 1; min-width: 0; }
.feature-strip strong { font-size: 15px; line-height: 1.4; font-weight: 700; }
.feature-strip small { font-size: 12px; line-height: 1.45; color: #b5ad9a; }
.feature-strip a > .feature-arrow, .feature-strip .feature-arrow .ui-icon { width: 15px; height: 15px; color: #9d8b65; }

/* Readable goals and an intentional gold-selected state. */
.program-section { padding-block: 48px; }
.program-section .section-head { margin-bottom: 28px; }
.goal-grid { gap: 14px; }
.goal-grid .goal, .goal-grid .goal:hover { background: #191a19; color: #f7f7f7; border: 1px solid #44423b !important; box-shadow: none; border-radius: 15px; padding: 24px; }
.goal-grid .goal.active, .goal-grid .goal.active:hover { background: linear-gradient(120deg, #e1c582, #c6a663); border-color: #eddca7 !important; color: #16140f; box-shadow: 0 8px 22px #0003; }
.goal-grid .goal strong { color: inherit; font-size: 23px !important; }
.goal-grid .goal small { color: #b9bbb8 !important; font-size: 14px !important; line-height: 1.65; min-height: 0; }
.goal-grid .goal.active small { color: #3f3829 !important; }
.goal-grid .goal .goal-number { position: static; margin: 0 0 18px !important; color: var(--cl-gold); }
.goal-grid .goal.active .goal-number, .goal-grid .goal.active .selector { color: #302818; }
.goal-grid .goal .selector { top: 22px; inset-inline-end: 22px; inset-inline-start: auto; }
.plans .plan { background: linear-gradient(155deg, #21221f, #131412); border: 1px solid #43443c; box-shadow: 0 12px 30px #0002; }
.plans .plan.featured { border: 1px solid #d9bd7d; border-top: 4px solid #d9bd7d; background: linear-gradient(155deg, #3a3220, #191913 65%); }
.plans .plan .price { color: #f4e1b0; }
.plans .sale-badge { background: #d4b57018; border-color: #d4b57045; color: #e7ce99; box-shadow: none; }
.plans .sale-badge span { background: transparent; }
.plans .plan-tag { color: #c6b993; font-size: 14px; }
.plans .button { min-height: 50px; font-size: 15px; }
.proof-section.wrap { padding-block: 30px 42px; }
.proof-editorial { background: linear-gradient(120deg, #22231f, #131410); border-color: #655737; }
.proof-story .proof-promises { margin-block: 20px; padding-block: 18px; }

/* A photo-led introduction makes the catalog recognizably Coach Latif. */
.instant-programs { padding-block: 40px 42px; }
.instant-programs .section-head { margin-bottom: 25px; }
.instant-programs .section-head em, .smart-tools .section-head em { font: inherit; color: #d7bb7a; }
.training-editorial { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid #8d764747; border-radius: 20px; overflow: hidden; background: #1b1d18; margin-bottom: 20px; }
.training-portrait { position: relative; min-height: 300px; margin: 0; background: #191b17; }
.training-portrait img { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 38%; }
.training-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #090b09e8, transparent 70%); }
.training-portrait figcaption { position: absolute; inset-inline: 26px; bottom: 22px; z-index: 1; }
.training-portrait figcaption span { display: block; font-size: 12px; letter-spacing: 2px; color: #f0d698; margin-bottom: 8px; }
.training-portrait figcaption strong { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; color: #fff; }
.training-intro { padding: 32px; align-self: center; }
.training-intro h3 { font-size: 28px; line-height: 1.2; margin-block: 12px; }
.training-intro p { font-size: 16px; line-height: 1.7; color: #bbbfaf; }
.training-intro .eyebrow { font-size: 12px; }
.catalog-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; margin-top: 18px; border: 1px solid #d6ba7a4d; border-radius: 6px; color: #e6d2a2; font-size: 13px; }
.catalog-status .ui-icon { width: 15px; height: 15px; }
.training-intro .catalog-disclosure { margin-top: 10px; font-size: 13px; line-height: 1.55; color: #a5aa9c; }
.instant-grid { gap: 16px; align-items: stretch; }
.instant-card { display: flex; flex-direction: column; padding: 25px; border-radius: 16px; }
.instant-card.featured { border-top: 3px solid #c8aa66; }
.program-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.program-card-heading .instant-icon { width: 42px; height: 42px; margin: 0; border-radius: 10px; }
.program-code { font-size: 12px; color: #b3a586; letter-spacing: 1px; }
.instant-card h3 { font-size: 27px; }
.instant-card > p { font-size: 16px; min-height: 0; line-height: 1.65; margin: 0; flex: 1; color: #b8b9b0; }
.program-facts { display: grid; gap: 9px; margin: 20px 0; padding-block: 17px; border-block: 1px solid #ffffff1c; }
.program-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.program-facts dt { font-size: 13px; color: #92968a; }
.program-facts dd { margin: 0; font-size: 14px; color: #e3e3d8; text-align: end; }
.instant-card button { margin-top: auto; font-size: 15px; }

/* Meals now lead straight into the nutrition tools without an empty section. */
.recipe-section.wrap { padding-block: 38px 24px; }
.recipe-section .section-head { margin-bottom: 24px; }
.recipes-grid { gap: 18px; }
.recipe-card { background: radial-gradient(ellipse at 50% 22%, #383425, #181916 72%); border-color: #9e875036; border-radius: 18px; }
.recipe-image { padding: 12px 18px 0; }
.recipe-image img { height: 250px; aspect-ratio: auto; object-fit: contain; }
.recipe-image > span { font-size: 12px; }
.recipe-copy { padding: 14px 24px 22px; }
.recipe-copy h3 { font-size: 20px; line-height: 1.35; }
.recipe-section .source-note { margin-top: 16px; font-size: 12px; line-height: 1.6; }
.smart-tools { padding-block: 38px 45px; border-top: 1px solid #c6a96b40; background: radial-gradient(ellipse at 15% 0%, #2a291e, #0c0e0b 65%); }
.smart-tools .section-head { margin-bottom: 24px; }
.tools-grid { gap: 20px; align-items: start; }
.tool-card { padding: 28px; }
.tool-title h3 { font-size: 28px; }
.tool-title p { font-size: 16px; }
.tool-kicker { font-size: 12px; }
.calculator-card { background: linear-gradient(145deg, #e3c98e, #be9f60); color: #1d1a12; border-color: #eed59b; box-shadow: 0 16px 45px #0004; }
.calculator-card .tool-kicker, .calculator-card .tool-title p { color: #50432b; }
.calculator-card .tool-title h3 { color: #17160f; }
.calculator-card .form-grid label { color: #342d1e; font-size: 14px; }
.calculator-card input, .calculator-card select { background: #191b17; color: #f6f0e3; border-color: #5c583f; }
.calculator-card .gold { background: #181b15; color: #f3dca2; border: 1px solid #262c21; min-height: 50px; }
.calculator-card .calorie-result { background: #191c16; color: #eae7d8; }
.calculator-card .calorie-result p { font-size: 13px; color: #c2c6b4; }
.scanner-card { background: #171b15; }
.scanner-orbit { display: none; }
.coming-soon { display: inline-block; margin: 0 0 12px; padding: 5px 9px; border: 1px solid #afa07860; border-radius: 5px; color: #d3c299; font-size: 12px; }
.camera-drop { min-height: 180px; background: #24291e; border-color: #a89965; }
.camera-drop:before { content: ''; position: absolute; inset: 9px; border: 1px solid #c7b17620; border-radius: 10px; pointer-events: none; }
.camera-drop input { width: 1px; }
.scanner-card .scanner-status { background: #262b20; font-size: 14px; }
.scanner-card .scan-line { display: none; }
.scanner-card button:disabled { opacity: .55; cursor: not-allowed; }
.scanner-privacy p { font-size: 13px; }
html[lang=ar] .training-intro h3, html[lang=ar] .training-portrait strong { line-height: 1.5; }
html[lang=ar] .training-portrait figcaption span { letter-spacing: 1px; }
@media (max-width: 1270px) {
  :root { --cl-scroll-offset: 148px; }
  header { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 12px 24px 7px; }
  header .primary-nav, html[dir=ltr] header .primary-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; gap: 0 24px; width: 100%; border-top: 1px solid #ffffff12; padding-top: 4px; }
  header .header-actions { grid-row: 1; grid-column: 2; margin: 0; }
  .feature-strip a { padding: 15px 10px; gap: 9px; }
  .feature-strip .feature-arrow { display: none; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip a:nth-child(2) { border-inline-end: 0; }
  .instant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .instant-card { padding: 18px; }
  .instant-card h3 { font-size: 23px; }
  .program-facts div { flex-direction: column; gap: 2px; }
  .training-intro { padding: 24px; }
}
@media (max-width: 700px) {
  :root { --cl-scroll-offset: 172px; }
  .wrap { width: calc(100% - 32px); }
  header { padding: 10px 16px 5px; }
  header .brand { font-size: 16px; }
  header .brand small, html[dir=ltr] header .brand small { font-size: 9px; letter-spacing: 1.5px; }
  header .header-actions .small { display: none; }
  header #language { max-width: 110px; font-size: 14px; padding: 8px; }
  header .primary-nav, html[dir=ltr] header .primary-nav { justify-content: center; gap: 0 16px; }
  header .primary-nav a, header .primary-nav a:nth-child(n) { font-size: 14px; min-height: 34px; }
  .hero.wrap { padding-block: 28px; width: calc(100% - 32px); }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; padding: 4px; border-radius: 12px; }
  .feature-strip a { padding: 14px 9px; align-items: flex-start; gap: 8px; }
  .feature-strip a:nth-child(2) { border-inline-end: 0; }
  .feature-strip a:nth-child(-n+2) { border-bottom: 1px solid #d2b47126; }
  .feature-strip a > i:not(.feature-arrow) .ui-icon { width: 19px; height: 19px; margin-top: 2px; }
  .feature-strip strong { font-size: 14px; }
  .feature-strip small { font-size: 12px; }
  .goal-grid .goal { padding: 18px 20px 18px 65px; }
  html[dir=rtl] .goal-grid .goal { padding: 18px 65px 18px 20px; }
  .goal-grid .goal .goal-number { position: absolute; top: 24px; inset-inline-start: 20px; inset-inline-end: auto; }
  .goal-grid .goal strong { font-size: 21px !important; }
  .goal-grid .goal small { padding-inline-end: 10px; }
  .program-section { padding-block: 34px; }
  .proof-section.wrap { padding-block: 20px 28px; }
  .instant-programs { padding-block: 32px; }
  .training-editorial { grid-template-columns: 1fr; }
  .training-portrait { min-height: 245px; }
  .training-portrait figcaption { inset-inline: 20px; }
  .training-intro { padding: 22px; }
  .training-intro h3 { font-size: 25px; }
  .instant-grid { grid-template-columns: 1fr; }
  .instant-card { padding: 22px; }
  .recipe-section.wrap { padding-block: 28px 20px; }
  .recipes-grid { gap: 14px; }
  .recipe-image img { height: 220px; }
  .smart-tools { padding-block: 28px 34px; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 23px; }
  .tool-title h3 { font-size: 25px; }
  .support-launcher { font-size: 12px; padding: 10px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .reveal, .instant-card, .tool-card, .feature-strip a { animation: none; transition: none; }
}
