:root {
  --black: #11110f;
  --orange: #f26522;
  --cream: #f3ead9;
  --paper: #fffaf2;
  --muted: #706a61;
  --line: #d8cbb9;
  --soft: #f9dfcf;
  --white: #ffffff;
  --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(--paper); color: var(--black); font-family: var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--orange); color: white; padding: .75rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.preview-bar { display: none !important; }
.preview-bar strong { color: var(--orange); margin-right: .4rem; }
.preview-bar a { padding: .38rem .7rem; border-radius: 999px; }
.preview-bar a:hover, .preview-bar a:focus-visible, .preview-bar a.active { background: var(--cream); color: var(--black); }

.site-header { background: var(--cream); border-bottom: 1px solid rgba(17,17,15,.1); position: sticky; top: 42px; z-index: 50; }
.header-inner { max-width: 1240px; margin: auto; min-height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; gap: 2rem; }
.brand img { width: 68px; height: 68px; object-fit: contain; }
.brand.dark img { content: url('assets/afrah-logo-dark.png'); }
.site-nav { display: flex; align-items: center; gap: 2rem; font-weight: 800; }
.site-nav a.active { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.lang { border: 0; background: transparent; font-weight: 900; cursor: pointer; padding: .7rem; }
.menu-toggle { display: none; background: transparent; border: 0; font-size: 1.5rem; padding: .6rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; padding: .8rem 1.45rem; border: 1px solid transparent; font-weight: 850; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.orange { background: var(--orange); color: white; }
.btn.black { background: var(--black); color: var(--cream); }
.btn.cream { background: var(--cream); border-color: var(--line); color: var(--black); }
.btn.outline { background: transparent; border-color: currentColor; }
.text-link { color: var(--orange); font-weight: 850; }
.eyebrow { color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: .03em; font-size: .82rem; }
h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: 1.02; }
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.55rem; }
p { font-size: 1rem; line-height: 1.6; }
.muted { color: var(--muted); }
.container { width: min(1180px, calc(100% - 2rem)); margin: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.dark-section { background: var(--black); color: var(--cream); }
.cream-section { background: var(--cream); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 1.7rem; }
.card.dark { background: var(--black); color: var(--cream); border-color: #3a3732; }
.card h3 { margin-bottom: .8rem; }
.tag { display: inline-flex; border-radius: 999px; background: var(--soft); color: var(--black); padding: .4rem .72rem; font-size: .78rem; font-weight: 850; }

.public-hero { min-height: 630px; display: grid; grid-template-columns: 44% 56%; background: var(--cream); }
.public-hero-copy { padding: clamp(4rem, 8vw, 7rem) max(2rem, calc((100vw - 1180px)/2)); padding-right: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.public-hero-copy h1 { margin: 1.2rem 0; max-width: 700px; }
.public-hero-copy p { max-width: 560px; color: var(--muted); font-size: 1.12rem; }
.public-hero-image { position: relative; min-height: 500px; }
.public-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.home-intro { background: var(--cream); padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem); }
.home-intro-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.home-intro h1 { max-width: 760px; margin-top: 1rem; }
.home-intro p { color: var(--muted); font-size: 1.12rem; margin: 0 0 1.5rem; }
.home-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--black); }
.home-branch-card { position: relative; min-height: 570px; overflow: hidden; color: var(--cream); }
.home-branch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-branch-card:first-child img { object-position: 50% 52%; filter: brightness(1.07); }
.home-branch-card:last-child img { object-position: 50% 44%; }
.home-branch-card:hover img { transform: scale(1.015); }
.home-branch-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,15,.02) 25%, rgba(17,17,15,.9) 100%); }
.home-branch-copy { position: absolute; inset: auto clamp(1.5rem,4vw,3.5rem) clamp(1.7rem,4vw,3.5rem); display: grid; gap: .45rem; }
.home-branch-copy small { color: var(--orange); font-weight: 900; letter-spacing: .05em; }
.home-branch-copy strong { font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: 1; }
.home-branch-copy em { font-style: normal; font-weight: 850; }
.home-paths { padding: 1.25rem 0 3.5rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.photo-label { position: absolute; left: 1.4rem; bottom: 1.4rem; background: var(--black); color: var(--cream); padding: .65rem 1rem; font-weight: 850; font-size: .78rem; }
.quick-links { margin-top: -1.6rem; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quick-link { background: var(--paper); border: 1px solid var(--line); padding: 1.45rem; border-radius: 16px; }
.quick-link:hover { border-color: var(--orange); }
.quick-link strong { font-family: var(--serif); font-size: 1.4rem; display: block; margin-bottom: .4rem; }
.status-list { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: .5rem 1.5rem; }
.status-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border: 0; }
.photo-band { min-height: 420px; background: var(--black); display: grid; grid-template-columns: 1fr 1fr; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band-copy { padding: clamp(3rem, 7vw, 6rem); display: flex; flex-direction: column; justify-content: center; color: var(--cream); }

.today-hero, .branch-hero { display: grid; grid-template-columns: 46% 54%; min-height: 520px; }
.today-hero-copy, .branch-hero-copy { background: var(--black); color: var(--cream); padding: clamp(3rem,7vw,6rem); display: flex; flex-direction: column; justify-content: center; }
.today-hero-copy h1, .branch-hero-copy h1 { margin: 1.1rem 0; }
.today-hero-photo img, .branch-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.date-block { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.date-day { color: var(--orange); font-size: 5rem; line-height: .8; font-weight: 900; }
.info-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.info-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.6rem 0; }
.info-item { padding: 0 2rem; border-right: 1px solid var(--line); }
.info-item:first-child { padding-left: 0; }
.info-item:last-child { border: 0; }
.notice-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 1.5rem; margin-top: 2rem; }
.gallery { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-top: 2rem; }
.gallery img { width: 100%; height: 360px; object-fit: cover; }
.gallery img:last-child { filter: brightness(1.06); }

.juungal-hero { min-height: 690px; display: grid; grid-template-columns: 36% 64%; background: var(--black); }
.juungal-hero-copy { color: var(--cream); padding: clamp(4rem, 7vw, 7rem) max(2rem, calc((100vw - 1180px)/2)); padding-right: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.juungal-hero-copy h1 { font-family: var(--sans); font-size: clamp(2.5rem, 4.6vw, 4.7rem); line-height: .98; margin: 1.35rem 0; max-width: 660px; }
.juungal-hero-copy p { max-width: 500px; color: #d7d0c4; font-size: 1.15rem; }
.juungal-hero-photo { position: relative; min-height: 690px; overflow: hidden; }
.juungal-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.juungal-floor h2 { font-family: var(--sans); margin: 1rem 0; }
.juungal-gallery { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 2.5rem 0 1rem; }
.juungal-gallery img { width: 100%; height: 610px; object-fit: cover; object-position: 50% 54%; border-radius: 20px; }
.juungal-gallery img:last-child { object-position: 60% 58%; }
.juungal-motion { min-height: 720px; display: grid; grid-template-columns: 48% 52%; background: var(--black); color: var(--cream); }
.juungal-motion-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.juungal-motion-copy { padding: clamp(4rem, 8vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.juungal-motion-copy h2 { font-family: var(--sans); margin: 1rem 0 1.5rem; max-width: 650px; }
.juungal-motion-copy p { color: #d7d0c4; max-width: 600px; font-size: 1.12rem; }
.juungal-values { border-top: 1px solid #3a3833; color: var(--orange); font-weight: 900; margin-top: 3rem; padding-top: 2rem; }
.juungal-experience h2 { font-family: var(--sans); margin: 1rem 0 2.5rem; }
.juungal-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.juungal-feature { border: 1px solid var(--line); border-radius: 18px; padding: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.juungal-feature > span { color: var(--orange); font-weight: 900; }
.juungal-feature h3 { font-family: var(--sans); margin-bottom: .5rem; }
.juungal-feature p { margin: 0; }
.juungal-sauna { min-height: 820px; display: grid; grid-template-columns: 52% 48%; background: #17120e; color: var(--cream); }
.juungal-sauna-copy { padding: clamp(4rem, 8vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.juungal-sauna-copy h2 { font-family: var(--sans); font-size: clamp(2.5rem, 4.5vw, 4.7rem); margin: 1.25rem 0 2rem; max-width: 720px; }
.juungal-sauna-copy p { color: #e0d3c2; font-size: 1.2rem; }
.juungal-sauna-copy > strong { color: var(--orange); margin-top: 4rem; }
.juungal-sauna-photo { position: relative; overflow: hidden; }
.juungal-sauna-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #17120e 0%, rgba(23,18,14,.55) 12%, transparent 48%); pointer-events: none; }
.juungal-sauna-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 44%; }
.juungal-close .container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
.juungal-close h2 { font-family: var(--sans); margin: 1rem 0 1.5rem; }
.juungal-close h3 { font-family: var(--sans); }

.app-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 42px; z-index: 50; }
.app-nav { max-width: 1240px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: .7rem 2rem; min-height: 78px; }
.app-nav-links { display: flex; gap: 2.2rem; font-weight: 850; }
.app-nav-links a.active { color: var(--orange); }
.app-main { min-height: calc(100vh - 120px); }
.app-hero { background: var(--black); color: var(--cream); padding: 4.5rem 0; }
.app-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.app-hero h1 { margin: .7rem 0 .4rem; }
.next-card { background: var(--paper); color: var(--black); border-radius: 20px; padding: 2.2rem; }
.workout-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: start; margin-top: 2rem; }
.exercise-list { display: grid; gap: .8rem; }
.exercise-row { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: var(--paper); }
.exercise-row.active { border-color: var(--orange); }
.exercise-index { color: var(--orange); font-weight: 900; }
.demo-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); position: sticky; top: 150px; }
.demo-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.demo-body { padding: 1.5rem; }
.log-controls { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin: 1rem 0; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .78rem; color: var(--muted); font-weight: 800; }
.field input { min-height: 46px; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); padding: .7rem; }
.progress-track { height: 8px; background: #d9d1c4; border-radius: 999px; overflow: hidden; margin: 1rem 0; }
.progress-fill { height: 100%; background: var(--orange); transition: width .2s ease; }
.bottom-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.list { display: grid; gap: .7rem; }
.list-item { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; background: var(--paper); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }

.staff-shell { background: var(--cream); min-height: 100vh; }
.staff-header { background: var(--black); color: var(--cream); }
.staff-header .app-nav { min-height: 88px; }
.staff-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.staff-card { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 1.6rem; }
.staff-card footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1.2rem; }
.staff-table { margin-top: 2rem; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.staff-row { display: grid; grid-template-columns: 1.5fr .8fr .6fr; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); align-items: center; background: var(--paper); }
.staff-row:last-child { border: 0; }

.shop-hero { background: var(--black); color: var(--cream); padding: clamp(4rem,8vw,7rem) 0; }
.shop-hero-grid { display: grid; grid-template-columns: 1.4fr .7fr; gap: 3rem; align-items: center; }
.shop-hero h1 { max-width: 760px; margin: 1rem 0; }
.shop-hold { background: var(--paper); color: var(--black); border-radius: 20px; padding: 2rem; }
.category-card { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.category-dot { width: 52px; height: 52px; background: var(--orange); border-radius: 50%; }

.site-footer { background: var(--cream); border-top: 1px solid var(--line); }
.site-footer .container { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer img { width: 66px; }
.site-nav .shop-nav-link { font-weight: 700; }
.public-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem,2.5vw,2.5rem); font-weight: 750; }
.contact-choice { position: relative; }
.contact-choice summary { cursor: pointer; list-style: none; }
.contact-choice summary::-webkit-details-marker { display: none; }
.contact-choice > div { position: absolute; z-index: 5; right: 0; bottom: calc(100% + .6rem); min-width: 205px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(17,17,15,.14); padding: .45rem; }
.contact-choice > div a { display: block; padding: .7rem .8rem; white-space: nowrap; }
.contact-choice > div a:hover { color: var(--orange); }
.today-branch-choice { display: inline-flex; gap: .35rem; padding: .35rem; margin-bottom: 2.5rem; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; }
.today-branch-choice a { padding: .8rem 1.3rem; border-radius: 999px; font-weight: 800; }
.today-branch-choice a.active { background: var(--black); color: var(--cream); }
.today-contact { margin-top: 1.5rem; }
.today-contact .btn.cream { background: var(--cream); }
.branch-visit h3 { font-family: var(--sans); font-size: 1.15rem; margin-bottom: 1.4rem; }
.branch-visit .block-link { display: inline-block; margin-top: 1.5rem; }

/* Approved Home refinement; other routes retain their existing visual system. */
.home-view .preview-bar { display: none; }
.home-view .site-header { top: 0; }
.home-view .home-intro { padding: clamp(3.5rem, 5vw, 5.5rem) 0 clamp(3rem, 5vw, 5rem); }
.home-view .home-intro-inner { grid-template-columns: 1.15fr .85fr; align-items: center; }
.home-view .home-intro h1 { max-width: 720px; font-size: clamp(3.25rem, 6.25vw, 6.3rem); line-height: .99; }
.home-view .home-intro p { max-width: 430px; line-height: 1.52; }
.home-view .home-branch-card { min-height: 620px; }
.home-view .home-branch-card:last-child img { object-position: 58% 70%; }
.home-view .home-branch-copy { gap: .55rem; }
.home-view .home-branch-copy span { font-size: .98rem; color: #eee7da; }
.home-view .home-branch-copy em { color: var(--orange); margin-top: .25rem; }
.home-view .home-paths { grid-template-columns: repeat(2,1fr); gap: 2rem; padding: 2.5rem 0 3rem; }
.home-view .quick-link { min-height: 150px; position: relative; border-radius: 16px; padding: 1.7rem; }
.home-view .quick-link .muted { display: block; max-width: 85%; }
.home-view .quick-arrow { position: absolute; right: 1.7rem; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.6rem; }
.home-view .home-my { padding: clamp(4rem,8vw,7rem) 0; }
.home-view .home-my .container { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.home-view .home-my h2 { margin: 1.5rem 0; }
.home-view .home-my p { max-width: 610px; color: #ded6c8; }
.home-view .home-my .btn { flex-shrink: 0; }
.home-view .home-footer .container { min-height: 130px; }
.home-view .home-footer nav { display: flex; align-items: center; gap: clamp(1rem,2.5vw,2.5rem); font-weight: 750; }
.home-view .home-footer button { border: 0; background: transparent; padding: .5rem 0; color: inherit; cursor: pointer; font-weight: inherit; }
.home-view .home-footer small { color: var(--muted); }
@media (max-width: 820px) {
  .home-view .site-header { top: 0; }
  .home-view .home-intro { padding: 3rem 0 2.7rem; }
  .home-view .home-intro-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .home-view .home-intro h1 { font-size: clamp(2.8rem,11vw,4.4rem); }
  .home-view .home-branch-card { min-height: 420px; }
  .home-view .home-paths { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .home-view .home-my .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .home-view .home-branch-card { min-height: 380px; }
  .home-view .home-branch-card:last-child img { object-position: 53% 73%; }
  .home-view .home-paths { grid-template-columns: 1fr; }
  .home-view .quick-link { min-height: 132px; }
  .home-view .home-footer .container { gap: 1rem; }
  .home-view .home-footer nav { gap: 1.25rem; flex-wrap: wrap; }
  .contact-choice > div { left: 0; right: auto; }
}
.toast { position: fixed; right: 1rem; bottom: 1rem; background: var(--black); color: var(--cream); border: 1px solid #4e4a43; padding: .9rem 1.2rem; border-radius: 12px; opacity: 0; transform: translateY(10px); transition: .2s ease; pointer-events: none; z-index: 100; max-width: 360px; }
.toast.show { opacity: 1; transform: translateY(0); }
.offline { background: var(--soft); border: 1px solid var(--orange); padding: .8rem 1rem; border-radius: 12px; font-weight: 800; margin-bottom: 1rem; }

.app-nav { max-width: 1380px; }
.app-nav-links { gap: clamp(.75rem, 1.5vw, 1.5rem); font-size: .9rem; }
.app-actions { display: flex; align-items: center; gap: .5rem; }
.coaches-link { font-size: .82rem; font-weight: 850; padding: .65rem .4rem; white-space: nowrap; }
.coaches-link.active { color: var(--orange); }
.mobile-member-nav { display: none; }
.member-section { padding: clamp(2.8rem, 5vw, 5rem) 0 clamp(4rem, 7vw, 6rem); min-height: calc(100vh - 120px); }
.member-h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); margin: .8rem 0 1rem; }
.prototype-label { display: inline-flex; border-radius: 999px; background: var(--soft); color: var(--black); padding: .45rem .8rem; font-size: .72rem; font-weight: 900; margin-bottom: 1.4rem; }
.member-title-row { display: grid; grid-template-columns: 1fr 460px; gap: 2rem; align-items: start; }
.member-title-row h1 { margin: .6rem 0; }
.member-context { height: 180px; position: relative; border-radius: 18px; overflow: hidden; }
.member-context img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.member-context strong { position: absolute; right: 1rem; bottom: 1rem; background: var(--black); color: var(--cream); padding: .45rem .7rem; font-size: .76rem; }
.today-member-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.25rem; margin-top: 2rem; }
.assigned-card { background: var(--black); color: var(--cream); border-radius: 20px; padding: 2rem; border-left: 7px solid var(--orange); }
.assigned-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.assigned-card h2 { font-family: var(--sans); font-size: clamp(1.65rem, 2.6vw, 2.6rem); margin: 1.4rem 0 1rem; }
.assigned-card p { color: #d4cdc2; max-width: 760px; }
.member-three { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 1.25rem; }
.quiet-learning { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 1.4rem 1.6rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; }
.plan-grid, .bookings-grid, .account-grid { display: grid; grid-template-columns: 1.4fr .7fr; gap: 1.4rem; margin-top: 2rem; }
.plan-side { display: grid; gap: 1.4rem; }
.member-empty { min-height: 330px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); padding: 3rem; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.empty-mark { width: 96px; height: 96px; border: 7px solid var(--orange); border-radius: 50%; display: grid; place-items: center; color: var(--orange); font-size: 2.7rem; font-weight: 900; }
.member-empty h3 { font-family: var(--sans); font-size: clamp(1.7rem,3vw,2.6rem); margin-bottom: 1rem; }
.train-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; margin-top: 2rem; }
.category-chips { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.4rem 0; }
.category-chips span { border: 1px solid var(--line); border-radius: 999px; background: var(--cream); padding: .7rem 1rem; font-weight: 800; font-size: .88rem; }
.category-chips.wide { margin: 2rem 0; }
.logging-preview .field input:disabled { opacity: 1; color: var(--black); }
.disabled-actions { display: flex; gap: .7rem; margin: 1rem 0; }
.disabled-actions button:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.privacy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.branch-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); padding: .35rem; margin: 1.7rem 0; }
.branch-tabs button { border: 0; background: transparent; min-width: 150px; padding: .75rem 1rem; border-radius: 999px; font-weight: 850; }
.branch-tabs button.active { background: var(--black); color: var(--cream); }
.bookings-grid > div { display: grid; gap: 1.25rem; }
.learning-feature { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--black); color: var(--cream); border-radius: 22px; overflow: hidden; margin-top: 2rem; }
.learning-feature img { width: 100%; height: 340px; object-fit: cover; object-position: 52% 36%; }
.learning-feature > div { padding: clamp(2rem,4vw,4rem); display: flex; flex-direction: column; justify-content: center; }
.learning-feature h2 { font-family: var(--sans); margin: 1rem 0; }
.learning-feature p { color: #d4cdc2; }
.account-list { margin-top: 1.5rem; display: grid; }
.account-list button, .account-list a { border: 0; border-top: 1px solid var(--line); background: transparent; min-height: 72px; padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; }
.account-list span { display: grid; gap: .25rem; }
.account-list small { color: var(--muted); font-size: .82rem; }
.account-list b { color: var(--orange); font-size: 1.45rem; }
.setup-section { background: var(--black); color: var(--cream); }
.setup-section .member-h1 { color: var(--cream); }
.setup-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.setup-grid article { border: 1px solid #3b3833; background: var(--black-2, #181714); border-radius: 18px; padding: 1.6rem; }
.setup-grid article span { color: var(--orange); font-weight: 900; }
.setup-grid article h3 { font-family: var(--sans); margin: 1.2rem 0 .5rem; color: var(--cream); }
.setup-grid article p { color: #d4cdc2; margin: 0; }

@media (max-width: 820px) {
  .preview-bar { justify-content: flex-start; overflow-x: auto; }
  .preview-bar strong { display: none; }
  .site-header, .app-header { top: 42px; }
  .header-inner { min-height: 68px; padding: 0 1rem; }
  .brand img { width: 52px; height: 52px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--cream); padding: 1rem; display: none; flex-direction: column; gap: .2rem; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: .9rem; }
  .public-hero, .today-hero, .branch-hero, .photo-band, .juungal-hero, .juungal-motion, .juungal-sauna, .home-intro-inner { grid-template-columns: 1fr; }
  .home-intro { padding: 3.2rem 0 2rem; }
  .home-branches { grid-template-columns: 1fr; }
  .home-branch-card { min-height: 380px; }
  .home-paths { grid-template-columns: 1fr 1fr; padding-top: 1rem; }
  .public-hero-copy { order: 2; padding: 3.2rem 1.1rem; }
  .public-hero-image { min-height: 300px; }
  .quick-links { grid-template-columns: 1fr; margin-top: 1rem; }
  .grid-2, .grid-3, .grid-4, .notice-grid, .gallery, .workout-layout, .bottom-cards, .staff-grid, .shop-hero-grid, .app-hero-grid { grid-template-columns: 1fr; }
  .gallery img { height: 260px; }
  .juungal-hero { min-height: 0; }
  .juungal-hero-copy { padding: 3.5rem 1.1rem; }
  .juungal-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .juungal-hero-photo { min-height: 560px; }
  .juungal-gallery, .juungal-feature-grid, .juungal-close .container { grid-template-columns: 1fr; }
  .juungal-gallery img { height: 400px; }
  .juungal-gallery img:last-child { height: 270px; }
  .juungal-motion-photo { height: 340px; }
  .juungal-motion-copy { padding: 3.2rem 1.1rem; }
  .juungal-motion-copy h2 { font-family: var(--sans); }
  .juungal-sauna-photo { order: 1; height: 440px; }
  .juungal-sauna-copy { order: 2; padding: 3.3rem 1.1rem; }
  .juungal-sauna-copy h2 { font-size: clamp(2.15rem, 9vw, 3.2rem); }
  .juungal-sauna-copy > strong { margin-top: 2rem; }
  .juungal-sauna-photo::after { background: linear-gradient(0deg, #17120e 0%, rgba(23,18,14,.2) 24%, transparent 50%); }
  .juungal-close .container { align-items: start; }
  .info-strip .container { grid-template-columns: 1fr; padding: .5rem 1rem; }
  .info-item, .info-item:first-child { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-nav { padding: .65rem 1rem; }
  .app-nav-links, .coaches-link { display: none; }
  .app-actions { margin-left: auto; }
  .mobile-member-nav { display: grid; grid-template-columns: repeat(6,1fr); position: sticky; top: 110px; z-index: 45; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .mobile-member-nav > a, .mobile-member-nav summary { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; font-size: .68rem; font-weight: 850; cursor: pointer; list-style: none; }
  .mobile-member-nav > a span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
  .mobile-member-nav > a.active { color: var(--orange); }
  .mobile-member-nav > a.active span { background: var(--orange); }
  .mobile-member-nav details { position: relative; }
  .mobile-member-nav details > div { position: absolute; right: .5rem; top: 54px; width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .5rem; box-shadow: 0 12px 30px rgba(0,0,0,.14); }
  .mobile-member-nav details a { display: block; padding: .8rem; font-weight: 800; }
  .member-section { padding-top: 2rem; }
  .member-title-row, .today-member-grid, .member-three, .plan-grid, .train-grid, .privacy-row, .bookings-grid, .account-grid, .learning-feature, .setup-grid { grid-template-columns: 1fr; }
  .member-context { height: 160px; order: -1; }
  .member-three { gap: .8rem; }
  .quiet-learning { grid-template-columns: 1fr auto; }
  .quiet-learning .eyebrow { grid-column: 1/-1; }
  .member-empty { min-height: 0; padding: 2rem 1.2rem; grid-template-columns: 1fr; }
  .empty-mark { width: 74px; height: 74px; font-size: 2.1rem; }
  .branch-tabs { width: 100%; }
  .branch-tabs button { min-width: 0; flex: 1; }
  .learning-feature img { height: 230px; }
  .setup-grid { grid-template-columns: 1fr 1fr; }
  .demo-card { position: static; }
  .log-controls { grid-template-columns: 1fr 1fr; }
  .log-controls .btn { grid-column: 1/-1; }
  .staff-row { grid-template-columns: 1fr; }
  .site-footer .container { align-items: flex-start; flex-direction: column; padding: 1.5rem 0; }
  h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .date-day { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* V3 completion layer — extends the locked Afrah visual system. */
.hero-actions, .contact-actions, .workout-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.juungal-hero .btn.outline { color: var(--cream); margin-left: .35rem; }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.price-block { min-width: 180px; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 1.2rem 1.4rem; display: grid; gap: .35rem; }
.price-block small { color: var(--muted); font-weight: 800; }
.price-block strong { color: var(--orange); font-size: 2rem; }
.membership-pricing { min-width: 360px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; overflow: hidden; }
.membership-pricing > div { padding: 1.15rem 1.3rem; display: grid; gap: .3rem; align-content: start; }
.membership-pricing > div + div { border-left: 1px solid var(--line); }
.membership-pricing small { color: var(--muted); font-weight: 800; line-height: 1.3; }
.membership-pricing strong { color: var(--orange); font-size: 2rem; line-height: 1; }
.membership-pricing span { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.schedule-table { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); }
.schedule-head, .schedule-row { display: grid; grid-template-columns: .75fr 1fr 1.35fr 1fr; gap: 1rem; padding: 1rem 1.25rem; align-items: center; }
.schedule-head { background: var(--black); color: var(--cream); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.schedule-row { border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row strong { color: var(--orange); }
.schedule-days { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.1rem; }
.schedule-days span { min-width: 112px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: .72rem 1rem; text-align: center; font-weight: 900; }
.schedule-closures { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1rem; }
.schedule-closures > div { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 1rem 1.15rem; display: grid; gap: .35rem; }
.schedule-closures strong { color: var(--orange); }
.schedule-closures span { color: var(--muted); line-height: 1.45; }
.verified-note { border-left: 5px solid var(--orange); background: var(--soft); padding: 1.2rem 1.4rem; border-radius: 0 14px 14px 0; margin-top: 1.2rem; line-height: 1.55; }
.coach-mini-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: .8rem; }
.coach-mini-grid article { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; display: flex; align-items: center; gap: .8rem; background: var(--paper); }
.coach-mini-grid article > img { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: 50% 24%; background: var(--black); }
.coach-mini-grid article div { display: grid; gap: .2rem; }
.coach-mini-grid small { color: var(--muted); line-height: 1.3; }
.visit-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.block-link { display: inline-block; margin-top: 1rem; }

.coach-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin-top: 2.5rem; }
.coach-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); display: grid; grid-template-columns: 190px 1fr; min-height: 300px; }
.coach-portrait { min-height: 300px; background: var(--black); overflow: hidden; }
.coach-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.coach-role-art { background: var(--black); color: var(--cream); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.coach-card.female .coach-role-art { background: #211b17; }
.coach-role-art > span { color: var(--orange); font-family: var(--serif); font-size: 5rem; font-weight: 900; }
.coach-role-art small { color: #d8d0c5; line-height: 1.4; }
.coach-card-body { padding: 1.6rem; }
.coach-card-body h3 { font-size: 2rem; margin: .75rem 0 .35rem; }
.coach-card-body > strong { color: var(--orange); }
.coach-card-body p { color: var(--muted); }
.huriwaa-schedule { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); margin-top: 2rem; }
.huriwaa-schedule-head, .huriwaa-schedule-row { display: grid; grid-template-columns: 1.15fr .75fr .9fr 1.5fr; gap: 1rem; align-items: center; padding: 1rem 1.2rem; }
.huriwaa-schedule-head { background: var(--black); color: var(--cream); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.huriwaa-schedule-row { border-bottom: 1px solid var(--line); }
.huriwaa-schedule-row:last-child { border-bottom: 0; }
.huriwaa-schedule-row span:last-child { color: var(--muted); }
.renew-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.coach-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .7rem; font-weight: 900; letter-spacing: .03em; }
.coach-meta span:last-child { color: var(--orange); }

.access-banner { border: 1px solid var(--orange); background: var(--soft); border-radius: 14px; padding: .9rem 1.1rem; display: flex; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.access-banner strong { color: var(--orange); white-space: nowrap; font-size: .78rem; }
.access-banner span { color: #4c443b; font-size: .86rem; line-height: 1.4; }
.auth-page { min-height: calc(100vh - 120px); display: grid; grid-template-columns: 48% 52%; background: var(--cream); }
.auth-panel { padding: clamp(3rem,8vw,7rem) max(1.2rem,calc((100vw - 1180px)/2)); padding-right: clamp(2rem,5vw,5rem); display: flex; flex-direction: column; justify-content: center; }
.auth-panel h1 { font-size: clamp(2.6rem,5vw,4.8rem); margin: 1rem 0; }
.auth-panel p { color: var(--muted); max-width: 620px; }
.auth-panel > small, .internal-auth-card > small { display: block; color: var(--muted); margin-top: 1rem; line-height: 1.45; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; }
.auth-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.5rem 0; }
.auth-fields label { display: grid; gap: .4rem; font-weight: 800; }
.auth-fields input { min-height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; background: var(--paper); }
.controlled-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.25rem; }

.train-priority { display: grid; gap: 1.4rem; margin-top: 2rem; }
.library-panel { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 2rem; }
.library-panel h2 { margin: .8rem 0 1.5rem; }
.body-area-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; }
.body-area-grid a { min-height: 150px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; }
.body-area-grid a:hover, .exercise-option-list a:hover { border-color: var(--orange); }
.body-area-grid span { color: var(--orange); font-weight: 900; }
.body-area-grid strong { font-family: var(--serif); font-size: 1.5rem; }
.body-area-grid small { color: var(--muted); font-weight: 800; }
.back-link { display: inline-flex; color: var(--orange); font-weight: 900; margin-bottom: 2rem; }
.exercise-option-list { display: grid; gap: .75rem; margin-top: 2rem; }
.exercise-option-list a { min-height: 82px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.exercise-option-list a div { display: grid; gap: .35rem; }
.exercise-option-list strong { font-size: 1.1rem; }
.exercise-option-list small { color: var(--muted); }
.exercise-option-list a > span { color: var(--orange); font-size: 1.5rem; }
.exercise-detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.exercise-title { font-size: clamp(2.7rem,5vw,4.8rem); margin: .8rem 0 1.5rem; }
.exercise-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-bottom: 1rem; }
.exercise-facts span { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: .85rem; display: grid; gap: .25rem; }
.exercise-facts small { color: var(--muted); }
.how-card, .target-card { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 1.25rem; margin: 1rem 0; }
.how-card h3 { font-family: var(--sans); font-size: 1.15rem; }
.how-card li { margin: .65rem 0; line-height: 1.45; }
.target-card { display: grid; gap: .35rem; border-left: 5px solid var(--orange); }
.target-card span { color: var(--muted); }
.demo-approved, .demo-pending { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); position: sticky; top: 145px; }
.demo-approved img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.demo-approved > div { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); color: var(--cream); }
.demo-approved > div span { padding: .9rem 1rem; font-weight: 900; color: var(--orange); }
.demo-approved > div span:last-child { text-align: right; }
.demo-approved > small { display: block; padding: 1rem; color: var(--muted); line-height: 1.4; }
.demo-pending { position: sticky; display: grid; grid-template-columns: 1fr 1fr; }
.demo-pending > div { min-height: 310px; background: var(--black); color: var(--cream); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .6rem; text-align: center; border-right: 1px solid #3c3934; }
.demo-pending > div strong { color: var(--orange); }
.demo-pending > div span { color: #d5cec3; }
.demo-pending p { grid-column: 1/-1; padding: 1rem 1.2rem; margin: 0; color: var(--muted); }

.workout-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.workout-head .member-h1 { margin-bottom: .25rem; }
.workout-grid-v3 { display: grid; grid-template-columns: 1fr .8fr; gap: 1.5rem; align-items: start; margin-top: 2rem; }
.logging-card { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 1.5rem; }
.log-progress { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.log-progress span { color: var(--orange); font-size: .78rem; font-weight: 900; }
.log-controls-v3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: .7rem; align-items: end; margin: 1.25rem 0 .5rem; }
.log-controls-v3 label { display: grid; gap: .4rem; color: var(--muted); font-size: .8rem; font-weight: 900; }
.log-controls-v3 input { min-height: 50px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); padding: .75rem; }
.set-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 1.25rem 0; }
.set-list > div { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.set-list > div:last-child { border-bottom: 0; }
.set-list em { color: var(--orange); font-style: normal; font-size: .78rem; font-weight: 900; }
.set-list > p { padding: 1rem; color: var(--muted); margin: 0; }
.text-button { border: 0; background: transparent; color: var(--orange); font-weight: 900; cursor: pointer; padding: .8rem; }
.completion-card { max-width: 900px; margin: 1rem auto; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); padding: clamp(2rem,6vw,5rem); text-align: center; }
.completion-card > span { width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--orange); color: white; display: grid; place-items: center; font-size: 2.5rem; font-weight: 900; }
.completion-card h1 { font-size: clamp(2.6rem,5vw,4.5rem); margin: .8rem 0; }
.completion-card p { max-width: 680px; margin: 1rem auto; color: var(--muted); }
.completion-card .hero-actions { justify-content: center; margin-top: 1.5rem; }
.summary-stats { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .8rem; margin: 2rem 0; }
.summary-stats div { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: grid; gap: .4rem; }
.summary-stats small { color: var(--muted); }
.summary-stats strong { font-size: 1.25rem; }
.progress-v3 { display: grid; grid-template-columns: 1.4fr .7fr; gap: 1.2rem; margin-top: 2rem; }
.progress-primary { grid-row: span 2; background: var(--black); color: var(--cream); border-radius: 20px; padding: 2rem; }
.progress-primary h2 { font-family: var(--sans); margin: 1rem 0 2rem; }
.progress-primary > div { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.progress-primary span { border-top: 1px solid #413e38; padding-top: 1rem; display: grid; gap: .3rem; }
.progress-primary span strong { color: var(--orange); font-size: 1.5rem; }
.progress-primary span small { color: #d2cabf; }

.booking-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin: 2rem 0; }
.booking-columns > section { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 1.5rem; }
.booking-columns h2 { margin-bottom: 1rem; }
.compact-schedule { display: grid; border-top: 1px solid var(--line); margin-bottom: 1rem; }
.compact-schedule article { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.compact-schedule article div { display: grid; gap: .25rem; }
.compact-schedule small { color: var(--muted); }
.compact-schedule article > span { color: var(--orange); font-weight: 900; }
.lesson-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.lesson-card { min-height: 320px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 1.6rem; display: flex; flex-direction: column; }
.lesson-card > span { color: var(--orange); font-weight: 900; }
.lesson-card > small { color: var(--muted); font-weight: 850; margin-top: 3rem; }
.lesson-card h2 { font-family: var(--sans); font-size: 1.55rem; margin: .7rem 0; }
.renew-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.25rem; margin-top: 2rem; }
.renew-grid .contact-actions { margin-top: .8rem; }

.internal-auth { min-height: calc(100vh - 130px); display: grid; place-items: center; background: var(--cream); padding: 2rem 1rem; }
.internal-auth.ceo-auth { background: var(--black); }
.internal-auth-card { width: min(620px,100%); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); padding: clamp(2rem,5vw,4rem); }
.internal-auth-card .brand { display: inline-block; margin-bottom: 2rem; }
.internal-auth-card h1 { font-size: clamp(2.5rem,5vw,4.2rem); margin: .8rem 0; }
.internal-auth-card p { color: var(--muted); }
.internal-header { min-height: 84px; background: var(--black); color: var(--cream); display: flex; align-items: center; gap: 2rem; padding: .6rem max(1rem,calc((100vw - 1380px)/2)); position: sticky; top: 42px; z-index: 50; }
.internal-header .brand { margin-right: .5rem; }
.internal-header nav { display: flex; gap: 1rem; margin-left: auto; }
.internal-header nav a { font-weight: 800; }
.internal-header .lang { color: var(--cream); }
.staff-area-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0 3rem; }
.staff-area-grid a { min-height: 210px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 1.4rem; display: flex; flex-direction: column; align-items: flex-start; }
.staff-area-grid h3 { font-family: var(--sans); margin: 2rem 0 .5rem; }
.staff-area-grid p { color: var(--muted); }
.staff-area-grid > a > strong { color: var(--orange); margin-top: auto; }
.role-matrix { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: hidden; margin-bottom: 1.5rem; }
.role-matrix h2 { padding: 1.4rem; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.role-matrix > div { display: grid; grid-template-columns: .6fr 1.4fr; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
.role-matrix > div:last-child { border: 0; }
.lead-copy { max-width: 820px; font-size: 1.1rem; color: var(--muted); }
.ceo-shell { min-height: calc(100vh - 120px); background: #151411; color: var(--cream); }
.ceo-shell .access-banner { background: #2c211a; color: var(--cream); }
.ceo-shell .access-banner span { color: #e0d8cc; }
.ceo-shell .member-empty, .ceo-shell .card { color: var(--black); }
.back-link.light, .text-button.light { color: var(--orange); }
.ceo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.ceo-grid a { min-height: 220px; border: 1px solid #3d3933; border-radius: 18px; background: #1d1b18; padding: 1.4rem; display: flex; flex-direction: column; }
.ceo-grid small { color: #d3cbc0; font-size: .95rem; }
.ceo-grid strong { color: var(--orange); margin-top: auto; }
.data-unavailable { color: var(--orange); font-size: 3.5rem; line-height: 1; margin-bottom: 1rem; }
.ceo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.ceo-actions a { border: 1px solid #3d3933; border-radius: 16px; padding: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; }
.ceo-actions a span { color: var(--orange); }
.message-composer { margin-top: 1.4rem; border: 1px solid #3d3933; border-radius: 20px; padding: 1.5rem; background: #1d1b18; display: grid; gap: 1rem; }
.message-composer h2 { font-family: var(--sans); }
.message-composer label { display: grid; gap: .4rem; color: #d3cbc0; font-weight: 800; }
.message-composer select, .message-composer textarea { min-height: 48px; background: #292620; color: var(--cream); border: 1px solid #4b463e; border-radius: 10px; padding: .75rem; }
.message-composer textarea { min-height: 130px; }

.shop-categories { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 2rem 0; }
.shop-categories article { min-height: 210px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 1.4rem; }
.shop-categories span { color: var(--orange); font-weight: 900; }
.shop-categories h3 { margin: 2.5rem 0 .5rem; }
.shop-categories p { color: var(--muted); }

@media (max-width: 1000px) {
  .coach-mini-grid { grid-template-columns: repeat(3,1fr); }
  .body-area-grid { grid-template-columns: repeat(3,1fr); }
  .coach-card { grid-template-columns: 150px 1fr; }
  .staff-area-grid, .ceo-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .section-heading, .workout-head, .access-banner { align-items: flex-start; flex-direction: column; }
  .schedule-head { display: none; }
  .schedule-row { grid-template-columns: .55fr 1.45fr; gap: .55rem 1rem; padding: 1.15rem; }
  .schedule-row strong { grid-row: 1 / span 3; align-self: start; }
  .schedule-row span { display: grid; grid-template-columns: minmax(90px,.8fr) 1fr; gap: .7rem; }
  .schedule-row span::before { content: attr(data-label); color: var(--muted); font-size: .72rem; font-weight: 850; }
  .schedule-row span:nth-child(3) { grid-column: 2; }
  .schedule-closures { grid-template-columns: 1fr; }
  .coach-mini-grid, .controlled-row, .body-area-grid, .exercise-detail-grid, .workout-grid-v3, .booking-columns, .lesson-grid, .renew-grid, .renew-prices, .staff-area-grid, .ceo-grid, .shop-categories, .visit-grid, .auth-page { grid-template-columns: 1fr; }
  .membership-pricing { min-width: 0; width: 100%; }
  .huriwaa-schedule-head { display: none; }
  .huriwaa-schedule-row { grid-template-columns: 1fr 1fr; gap: .35rem 1rem; padding: 1.1rem; }
  .huriwaa-schedule-row span:last-child { grid-column: 1 / -1; }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-card { grid-template-columns: 105px 1fr; }
  .coach-role-art { padding: 1rem; }
  .coach-role-art > span { font-size: 3.7rem; }
  .coach-card-body { padding: 1.2rem; }
  .auth-photo { height: 300px; order: -1; }
  .auth-panel { padding: 2.5rem 1rem; }
  .auth-fields { grid-template-columns: 1fr; }
  .exercise-facts { grid-template-columns: 1fr; }
  .demo-approved, .demo-pending { position: static; }
  .demo-pending > div { min-height: 230px; }
  .log-controls-v3 { grid-template-columns: 1fr 1fr; }
  .log-controls-v3 button { grid-column: 1/-1; }
  .summary-stats { grid-template-columns: 1fr; }
  .progress-v3 { grid-template-columns: 1fr; }
  .progress-primary { grid-row: auto; }
  .progress-primary > div { grid-template-columns: 1fr; }
  .internal-header { gap: .7rem; padding: .5rem 1rem; }
  .internal-header nav { display: none; }
  .role-matrix > div { grid-template-columns: 1fr; }
  .ceo-actions { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1; }
}

@media (max-width: 520px) {
  .coach-card { grid-template-columns: 1fr; }
  .coach-portrait { min-height: 280px; max-height: 340px; }
  .membership-pricing { grid-template-columns: 1fr; }
  .membership-pricing > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .coach-role-art { min-height: 150px; }
  .home-paths { grid-template-columns: 1fr; }
  .home-branch-card { min-height: 330px; }
  .schedule-days { display: grid; grid-template-columns: 1fr 1fr; }
  .schedule-days span { min-width: 0; }
  .schedule-row { grid-template-columns: 1fr; gap: .6rem; }
  .schedule-row strong { grid-row: auto; }
  .schedule-row span, .schedule-row span:nth-child(3) { grid-column: auto; }
  .body-area-grid { grid-template-columns: 1fr 1fr; }
  .demo-pending { grid-template-columns: 1fr; }
  .demo-pending > div { min-height: 180px; border-right: 0; border-bottom: 1px solid #3c3934; }
  .demo-pending p { grid-column: auto; }
  .log-controls-v3 { grid-template-columns: 1fr; }
  .set-list > div { grid-template-columns: 1fr auto; }
  .set-list em { grid-column: 1/-1; }
}
/* Afrah Dukaan: the approved boutique shop surface */
.afrah-shop{background:#f6f0e3;color:#171513;min-height:70vh}.afrah-shop-header{background:#f6f0e3}.afrah-shop-header .app-nav{gap:2rem}.afrah-shop-header .app-nav>a:not(.brand){color:#171513;text-decoration:none}.afrah-shop-header .shop-current{font-weight:700;border-bottom:2px solid #d55b1b}.shop-basket-link{margin-left:auto;white-space:nowrap}.shop-basket-link span{display:inline-flex;align-items:center;justify-content:center;min-width:1.6rem;height:1.6rem;border-radius:50%;background:#d55b1b;color:white;margin-left:.35rem;font-size:.8rem}.shop-opening{padding:clamp(3.2rem,7vw,7rem) 0 3rem;background:linear-gradient(115deg,#eee2ce,#f9f5ed 67%)}.shop-opening h1,.shop-inner h1{font-family:Georgia,serif;font-size:clamp(3.6rem,8vw,7rem);line-height:1;margin:.6rem 0 1rem;font-weight:500}.shop-opening p,.shop-inner>p{font-size:clamp(1.1rem,2vw,1.45rem);margin:0;color:#453e37}.shop-entrances{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2rem;margin-bottom:5rem}.shop-entrance{min-height:360px;background:#201c19;color:#fff;text-decoration:none;padding:1.8rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;border-radius:3px}.shop-entrance::before{content:"";position:absolute;inset:0;background:linear-gradient(150deg,transparent 20%,rgba(0,0,0,.65)),var(--card-image);background-size:cover;background-position:center;opacity:.85;transition:transform .3s}.shop-entrance:hover::before{transform:scale(1.03)}.shop-entrance.nutrition{--card-image:url('assets/whey-1kg-real.jpg')}.shop-entrance.clothing{--card-image:linear-gradient(140deg,#4b3b34,#aa8271)}.shop-entrance.gear{--card-image:linear-gradient(140deg,#292725,#685549)}.shop-entrance>*{position:relative}.shop-entrance span{font-size:.9rem;color:#f6caa9}.shop-entrance strong{font-family:Georgia,serif;font-size:clamp(2.4rem,4vw,4rem);font-weight:500}.shop-entrance small{font-size:1rem}.shop-intro-products{padding-bottom:5rem}.shop-section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem}.shop-section-head h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(1.7rem,3vw,2.6rem);margin:.5rem 0}.shop-section-head a,.shop-detail-basket{color:#aa4714;text-decoration:underline}.shop-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.shop-product{background:#fffaf2}.shop-product a{color:inherit;text-decoration:none;display:block}.shop-product-image{aspect-ratio:1.1;background:#e8dfd1;overflow:hidden}.shop-product-image img{width:100%;height:100%;object-fit:contain}.shop-product-copy{padding:1.4rem}.shop-product-copy small,.shop-detail-grid small{letter-spacing:.16em;color:#9a4b24;font-size:.8rem}.shop-product-copy h3{font-size:1.25rem;margin:.6rem 0}.shop-product-copy p{color:#60564d;margin:.4rem 0 1rem}.shop-product-copy strong{font-size:1.4rem}.shop-view{display:block;margin-top:1rem;color:#ad4e19}.shop-inner,.shop-detail{padding-top:3rem;padding-bottom:6rem}.shop-inner .back-link,.shop-detail .back-link{display:inline-block;margin-bottom:2.5rem;color:#a94815}.shop-inner .shop-product-grid{margin-top:2rem}.shop-tea-note{display:grid;grid-template-columns:180px 1fr;gap:2rem;align-items:center;margin-top:3rem;padding:1.5rem;background:#fffaf2;max-width:700px}.shop-tea-note img{width:100%;aspect-ratio:1;object-fit:cover}.shop-tea-note h2{font-family:Georgia,serif;margin:.3rem 0;font-size:2rem}.shop-tea-note p{font-size:1rem;color:#514840}.shop-tea-note strong{font-size:1.4rem}.shop-clothing-choices{display:flex;gap:1rem;margin:2rem 0}.shop-clothing-choices a{padding:1rem 1.5rem;background:#201c19;color:white;text-decoration:none}.shop-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:center}.shop-detail-photo{background:#fffaf2}.shop-detail-photo img{width:100%;max-height:660px;object-fit:contain}.shop-detail-grid h1{font-family:Georgia,serif;font-size:clamp(2.3rem,4vw,4.5rem);line-height:1.1}.shop-price{display:block;font-size:2.2rem;margin:1.5rem 0}.shop-caution{color:#61564c;line-height:1.6;max-width:650px}.shop-detail-basket{display:block;margin-top:1.3rem}.shop-basket-lines{margin-top:2rem;border-top:1px solid #c9bcae}.shop-basket-row{display:grid;grid-template-columns:100px 1fr auto;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid #c9bcae}.shop-basket-row img{width:100px;height:100px;object-fit:contain;background:#fffaf2}.shop-basket-row small,.shop-basket-row span{display:block;color:#61564c;margin-top:.35rem}.shop-quantity{display:flex;align-items:center;gap:.7rem}.shop-quantity button{width:40px;height:40px;background:#201c19;color:white;border:0;cursor:pointer;font-size:1.35rem}.shop-total{display:flex;justify-content:space-between;max-width:650px;margin:2rem 0;font-size:1.3rem}.shop-inner>.btn{margin-top:1.5rem}@media(max-width:780px){.afrah-shop-header .app-nav{gap:.55rem;flex-wrap:wrap}.afrah-shop-header .brand img{max-width:95px}.shop-basket-link{margin-left:0}.shop-opening{padding:3.5rem 0 2rem}.shop-entrances,.shop-product-grid,.shop-detail-grid{grid-template-columns:1fr}.shop-entrance{min-height:270px}.shop-section-head{align-items:start}.shop-section-head h2{font-size:1.6rem}.shop-tea-note{grid-template-columns:100px 1fr;gap:1rem}.shop-inner{padding-top:2rem}.shop-basket-row{grid-template-columns:75px 1fr}.shop-basket-row img{width:75px;height:75px}.shop-quantity{grid-column:2}}
.shop-entrance.clothing{--card-image:url('assets/shop-clothing-concept.png')}.shop-entrance.gear{--card-image:url('assets/shop-gear-concept.png')}
/* Approved boutique shop revision */
.afrah-shop-header .app-nav{gap:clamp(.7rem,2vw,1.7rem);max-width:1500px}.afrah-shop-header .shop-basket-link{margin-left:0}.shop-mobile-menu{display:none}.shop-mobile-links{display:none}.shop-opening{background:linear-gradient(90deg,rgba(247,242,232,.98) 0%,rgba(247,242,232,.9) 42%,rgba(247,242,232,.25) 100%),url('assets/shop-gear-concept.png') center/cover;padding:clamp(3rem,5vw,5rem) 0}.shop-opening .container{max-width:1400px}.shop-opening h1{margin:0 0 .65rem}.shop-opening p{max-width:630px}.shop-entrances{max-width:1460px;margin-top:1.1rem;margin-bottom:3.5rem}.shop-entrance{min-height:245px;padding:1.35rem;background:#e6d7c5;color:#111}.shop-entrance::before{background:linear-gradient(90deg,rgba(249,244,235,.96),rgba(249,244,235,.06)),var(--card-image);background-size:cover;background-position:center;opacity:1}.shop-entrance.nutrition{--card-image:url('assets/shop-whey-5lb-editorial.png')}.shop-entrance.clothing{--card-image:url('assets/shop-clothing-concept.png')}.shop-entrance.gear{--card-image:url('assets/shop-gear-concept.png')}.shop-entrance strong{font-size:clamp(2.2rem,3.1vw,3.5rem);line-height:1.1}.shop-entrance span{color:#d75218;font-size:1.6rem;align-self:flex-start}.shop-entrance small{color:#3c332b;font-size:1rem}.shop-intro-products{max-width:1460px}.shop-section-head h2{font-size:clamp(2.2rem,3.2vw,3.4rem)}.shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.shop-product{border:1px solid #e8ded2;background:#fffaf3;overflow:hidden}.shop-product-image{position:relative;aspect-ratio:1.3;background:#e9dfd2}.shop-product-image img{position:absolute;top:0;left:0;width:200%;height:100%;max-width:none;object-fit:cover;object-position:left center}.shop-product-copy{padding:1.1rem 1.25rem 1.3rem}.shop-product-copy h3{font-size:1.15rem;margin:0 0 .35rem}.shop-product-copy p{font-size:.98rem;margin:0 0 .5rem}.shop-product-copy strong{font-size:1.3rem}.shop-view{font-size:.95rem;margin-top:.75rem}.shop-detail-photo{overflow:hidden;aspect-ratio:1}.shop-detail-photo img{width:200%;max-width:none;height:100%;object-fit:cover;object-position:left center}.shop-original-photo{margin-top:2rem}.shop-original-photo summary{cursor:pointer;text-decoration:underline;color:#9a471a}.shop-original-photo img{display:block;max-width:310px;width:100%;max-height:420px;object-fit:contain;margin-top:1rem}.shop-basket-row img{object-fit:cover;object-position:left center}
@media(max-width:800px){.afrah-shop-header .app-nav{justify-content:space-between;gap:.4rem;min-height:68px;padding:.55rem 1rem;flex-wrap:nowrap}.afrah-shop-header .shop-desktop-nav,.afrah-shop-header .shop-current{display:none}.afrah-shop-header .brand img{width:62px;height:62px;max-width:none}.afrah-shop-header .lang{font-size:.9rem;white-space:nowrap}.afrah-shop-header .shop-basket-link{font-size:0;position:relative;min-width:32px;height:32px}.afrah-shop-header .shop-basket-link::before{content:'◻';font-size:1.4rem;color:#111}.afrah-shop-header .shop-basket-link span{font-size:.7rem;position:absolute;top:-4px;right:-7px}.shop-mobile-menu{display:block;background:none;border:0;color:#111;font-size:1.55rem;cursor:pointer;padding:.25rem}.shop-mobile-links{display:flex;flex-direction:column;padding:0 1.2rem 1rem;background:#f6f0e3}.shop-mobile-links a{padding:.7rem .25rem;color:#171513;text-decoration:none;border-top:1px solid #dacfc1}.shop-opening{padding:2.8rem 0 2rem;background-position:70% center}.shop-opening h1{font-size:3.8rem}.shop-entrances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin-top:1rem;margin-bottom:2.5rem}.shop-entrance{min-height:170px;padding:.65rem;border-radius:4px}.shop-entrance strong{font-family:inherit;font-size:1rem;font-weight:800}.shop-entrance small{font-size:.7rem}.shop-entrance span{font-size:1rem}.shop-product-grid{grid-template-columns:1fr}.shop-product{display:block}.shop-product-image{aspect-ratio:1.5}.shop-product-copy{padding:1rem}.shop-detail-photo{aspect-ratio:1.2}}
@media(max-width:800px){.afrah-shop-header .shop-basket-link{font-size:.78rem;min-width:auto;height:auto}.afrah-shop-header .shop-basket-link::before{content:none}.afrah-shop-header .shop-basket-link span{position:static;display:inline-flex;margin-left:.15rem}}
/* Keep approved product frames intact; the previous half-frame crop enlarged packages. */
.shop-product-image{aspect-ratio:1.5;background:#f8f0e5}.shop-product-image img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}.shop-detail-photo{aspect-ratio:1.5}.shop-detail-photo img{width:100%;max-width:100%;height:100%;object-fit:contain;object-position:center}.shop-basket-row img{object-fit:contain;object-position:center}.shop-entrance.nutrition::before{background-image:linear-gradient(90deg,rgba(249,244,235,.94),rgba(249,244,235,.08)),url('assets/shop-whey-5lb-editorial.png');background-size:cover,200% auto;background-position:center,left center}
@media(max-width:800px){.afrah-shop-header{position:sticky}.shop-mobile-links{display:flex;position:absolute;top:100%;left:0;right:0;z-index:80;flex-direction:column;padding:.3rem 1.2rem 1rem;background:#f6f0e3;box-shadow:0 18px 32px rgba(0,0,0,.17);max-height:min(70vh,420px);overflow-y:auto}.shop-product-image{aspect-ratio:1.5}.shop-detail-photo{aspect-ratio:1.4}}

.mobile-shop-link{display:none;color:var(--black);text-decoration:none;font-weight:700;border-bottom:2px solid var(--orange);padding:.35rem 0}
.shop-totals{max-width:650px;margin:2rem 0;display:grid;gap:.75rem;font-size:1.1rem}.shop-totals>div{display:flex;justify-content:space-between;gap:1rem}.shop-totals .grand-total{border-top:1px solid #c9bcae;padding-top:1rem;font-size:1.35rem;font-weight:700}
.shop-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:clamp(2rem,6vw,6rem);align-items:start;margin-top:2.5rem}.shop-delivery-form{display:grid;gap:1.2rem}.shop-delivery-form label{display:grid;gap:.45rem;font-weight:700}.shop-delivery-form input,.shop-delivery-form textarea{width:100%;font:inherit;font-size:1rem;padding:.85rem 1rem;border:1px solid #bcae9f;background:#fffaf2;color:#171513;border-radius:5px}.shop-delivery-form input:focus-visible,.shop-delivery-form textarea:focus-visible{outline:3px solid #d55b1b;outline-offset:2px}.shop-delivery-form .btn{justify-self:start}.shop-order-summary{background:#fffaf2;border:1px solid #dfd3c4;padding:clamp(1.25rem,3vw,2rem)}.shop-order-summary h2{font:500 1.75rem Georgia,serif;margin:0 0 1.25rem}.shop-summary-line{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px solid #e2d7c9}.shop-order-summary .shop-totals{margin:1.5rem 0}.shop-order-summary .shop-caution{font-size:.95rem}
@media(max-width:800px){.mobile-shop-link{display:inline-block}.nav-actions{gap:.45rem}.nav-actions .lang{white-space:nowrap}.shop-checkout-grid{grid-template-columns:1fr;gap:2rem}.shop-delivery-form .btn{width:100%;justify-content:center}.shop-order-summary{order:-1}.shop-checkout h1{font-size:clamp(2.5rem,9vw,4rem)}}

.shop-flavors{border:0;padding:0;margin:1.5rem 0 1.2rem}.shop-flavors legend{font-weight:700;font-size:1.1rem;margin-bottom:.7rem}.shop-flavors>div{display:flex;flex-wrap:wrap;gap:.55rem}.shop-flavors button{background:#fffaf2;color:#171513;border:1px solid #bcae9f;border-radius:6px;padding:.75rem 1rem;font:inherit;cursor:pointer;min-height:48px}.shop-flavors button[aria-pressed="true"]{background:#d55b1b;color:#fff;border-color:#d55b1b}.shop-flavors button:focus-visible{outline:3px solid #d55b1b;outline-offset:3px}.shop-flavors p,.shop-photo-caption{display:block;color:#61564c;font-size:.9rem;margin:.75rem 0}.shop-detail button[disabled]{opacity:.45;cursor:not-allowed}.shop-flavor-identity{width:100%;height:100%;min-height:250px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(1.5rem,4vw,4rem);background:#201c19;color:#fffaf2}.shop-flavor-identity small{color:#e99b6b;letter-spacing:.1em}.shop-flavor-identity strong{font:500 clamp(2.8rem,5vw,5rem) Georgia,serif;margin:1rem 0}.shop-flavor-identity span{font-size:.95rem;color:#e5d8c9}.shop-variant-thumb{width:100px;height:100px;background:#201c19;color:#fffaf2;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.9rem;padding:.5rem}
@media(max-width:800px){.shop-flavors>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.shop-flavors button{padding:.65rem .25rem;font-size:.88rem}.shop-variant-thumb{width:75px;height:75px;font-size:.75rem}.shop-detail-photo .shop-flavor-identity{min-height:200px}}
/* Review-only additions: visitor next step and staff truth workflow. */
.visit-join-note{max-width:34rem;line-height:1.6;margin:1rem 0 1.5rem;color:var(--cream)}
.staff-update-flow{margin-top:2rem;padding:2rem;border:1px solid rgba(255,117,36,.35);border-radius:1rem;background:#f5efe3;color:#161616}
.staff-update-flow h2{font-size:1.5rem;margin:0 0 1rem}.staff-update-flow div{display:grid;gap:.7rem}.staff-update-flow span{display:block;padding:.7rem 0;border-top:1px solid #dccbb7}.staff-update-flow p{margin:1.2rem 0 0;color:#585858}
/* CEO review: private decision surface; no simulated operational figures. */
.ceo-review{background:#10100f;color:#f4eee3;min-height:100vh}.ceo-review-layout{display:grid;grid-template-columns:240px minmax(0,1fr);max-width:1700px;margin:auto}.ceo-review-side{padding:2.5rem 1.5rem;border-right:1px solid #3a3732;display:flex;flex-direction:column;gap:2.5rem}.ceo-side-title{font-size:1.3rem;font-weight:800;letter-spacing:.15em}.ceo-side-title span{color:#ef751f}.ceo-review-side nav{display:grid;gap:.4rem}.ceo-review-side nav a{display:flex;justify-content:space-between;padding:.9rem 1rem;text-decoration:none;color:#c9c2b7;border-radius:.4rem}.ceo-review-side nav a.active,.ceo-review-side nav a:hover{background:#29231d;color:#fff}.ceo-review-side p{margin-top:auto;color:#968d80;font-size:.84rem;line-height:1.6}.ceo-review-content{padding:2.5rem clamp(1.5rem,4vw,5rem) 5rem}.ceo-review-top{display:flex;justify-content:space-between;gap:3rem;align-items:flex-end;margin:2.5rem 0}.ceo-review-top h1{font-size:clamp(2.2rem,4vw,4.5rem);line-height:1.06;max-width:16ch;margin:.7rem 0}.ceo-review-top p{color:#afa89d}.ceo-period{border:1px solid #5a5145;padding:1rem 1.4rem;min-width:10rem}.ceo-period span{display:block;color:#aaa092;font-size:.8rem;margin-top:.3rem}.ceo-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.ceo-metric{background:#f2eadc;color:#121212;padding:1.5rem;min-height:12rem}.ceo-metric small{display:block;color:#574d41;font-size:.9rem}.ceo-metric strong{display:block;font-size:3.2rem;line-height:1;margin:.8rem 0}.ceo-metric span{color:#a54813;font-size:.85rem;font-weight:700}.ceo-metric p{font-size:.8rem;color:#666;line-height:1.4}.ceo-review-columns{display:grid;grid-template-columns:1.18fr 1fr;gap:1rem;margin-top:1rem}.ceo-review-panel{border:1px solid #484137;padding:1.7rem;min-height:24rem}.ceo-panel-head{display:flex;justify-content:space-between;gap:1rem}.ceo-panel-head small,.ceo-review-bottom small{color:#ee7b2b;letter-spacing:.14em;font-size:.7rem}.ceo-panel-head h2,.ceo-review-bottom h2{font-size:1.6rem;margin:.7rem 0 1.4rem}.ceo-panel-head a,.ceo-review-bottom a{color:#ed842e;text-decoration:none;white-space:nowrap;font-size:.88rem}.ceo-ledger div{display:flex;justify-content:space-between;padding:1rem 0;border-bottom:1px solid #35302a}.ceo-ledger+ p{color:#a79f94;font-size:.85rem;line-height:1.5}.ceo-attention{display:grid;gap:.6rem}.ceo-attention a{display:flex;flex-direction:column;gap:.35rem;padding:1rem;background:#201d19;color:#f4eee3;text-decoration:none}.ceo-attention a span{color:#afa69a;font-size:.82rem}.ceo-review-bottom{display:flex;justify-content:space-between;gap:2rem;align-items:center;background:#221d18;border-left:3px solid #ea7120;padding:2rem;margin-top:1rem}.ceo-review-bottom p{max-width:65ch;color:#c5bcb0;line-height:1.55}@media(max-width:950px){.ceo-review-layout{display:block}.ceo-review-side{padding:1rem;border-right:0;border-bottom:1px solid #3a3732;gap:.8rem}.ceo-review-side nav{display:flex;overflow-x:auto}.ceo-review-side nav a{white-space:nowrap}.ceo-review-side p{display:none}.ceo-review-content{padding:1.5rem 1rem 3rem}.ceo-review-top{display:block;margin:2rem 0}.ceo-period{display:inline-block}.ceo-metrics,.ceo-review-columns{grid-template-columns:1fr}.ceo-metric{min-height:9rem}.ceo-review-bottom{display:block}}

.ceo-review .access-banner{background:#2c211a;color:#f4eee3}.ceo-review .access-banner span{color:#e0d8cc}
/* Shoulder demonstration benchmark: scoped to My Afrah only. */
.afrah-shoulder-page{max-width:1320px}.afrah-shoulder-title{font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.06;margin:.6rem 0}.afrah-shoulder-intro{color:var(--muted);margin:0 0 1.5rem}.afrah-shoulder-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.74fr);gap:1.1rem;align-items:start}.afrah-shoulder-side{display:grid;gap:1rem}.afrah-shoulder-card,.afrah-demo{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:1.25rem}.afrah-shoulder-card p{line-height:1.5}.afrah-shoulder-metrics{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.4rem 0}.afrah-shoulder-metrics>div{border-bottom:1px solid var(--line);padding-bottom:.8rem}.afrah-shoulder-metrics small{display:block;color:var(--muted);font-size:.85rem}.afrah-shoulder-metrics strong{display:block;font-size:1.25rem;margin-top:.3rem}.afrah-shoulder-cue{border-left:3px solid var(--orange);padding-left:1rem}.afrah-shoulder-cue p{margin:.3rem 0}.afrah-demo-top{display:flex;justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:1rem}.afrah-demo-top strong{font-size:.95rem}.afrah-demo-top button,.afrah-demo-mobile-controls button{border:1px solid var(--line);border-radius:30px;background:var(--paper);padding:.65rem .9rem;font-weight:800;cursor:pointer}.afrah-demo-top button[aria-pressed=true]{border-color:var(--orange);color:var(--orange)}.afrah-demo-stage{background:#efe7d9;border-radius:14px;overflow:hidden;position:relative;aspect-ratio:2.08;display:flex;align-items:center}.afrah-demo-stage img{display:block;width:100%;height:auto}.afrah-demo-desktop-labels{display:grid;grid-template-columns:1fr 1fr;padding:.7rem .2rem 0;color:var(--orange);font-size:.8rem;font-weight:900}.afrah-demo-desktop-labels span:last-child{text-align:right}.afrah-demo-mobile-controls{display:none}.afrah-demo>p{border-top:1px solid var(--line);padding-top:1rem;margin:1rem 0 0;color:var(--muted);font-size:.8rem;line-height:1.5}.afrah-demo button:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
@media(max-width:850px){.afrah-shoulder-grid{grid-template-columns:1fr}.afrah-shoulder-title{font-size:2.2rem}.afrah-shoulder-side{margin-top:0}.afrah-demo{padding:.8rem}.afrah-demo-stage{aspect-ratio:.92}.afrah-demo-stage img{width:200%;max-width:none;position:absolute;left:0;top:50%;transform:translateY(-50%)}.afrah-demo-stage img.finish{left:-100%}.afrah-demo-desktop-labels{display:none}.afrah-demo-mobile-controls{display:flex;gap:.5rem;margin-top:.7rem}.afrah-demo-mobile-controls button{flex:1}.afrah-demo-mobile-controls button.active{background:var(--black);border-color:var(--black);color:var(--cream)}}
.afrah-technique ol{margin:1rem 0;padding-left:1.25rem;line-height:1.5}.afrah-technique li{margin:.5rem 0}.afrah-technique p{margin:.7rem 0 0}.afrah-shoulder-log{margin:1.2rem 0}.afrah-shoulder-card .workout-actions{margin-top:1rem}
/* My Afrah shoulder session preview */
.shoulder-session-list{display:grid;gap:14px;margin:30px 0}.shoulder-session-item{display:grid;grid-template-columns:42px minmax(0,180px) 1fr 24px;align-items:center;gap:18px;background:#fffaf0;border:1px solid #ddd1bd;border-radius:18px;padding:16px 22px;color:#181715;text-decoration:none;min-width:0}.shoulder-session-item:hover,.shoulder-session-item:focus-visible{border-color:#e55c18;box-shadow:0 10px 30px #18171512}.shoulder-session-item>span{font-size:1.3rem;color:#db5519;font-weight:800}.shoulder-session-item img{display:block;width:100%;aspect-ratio:1.5;object-fit:contain;background:#f4ecdd;border-radius:12px}.shoulder-session-item h2{font-size:1.25rem;margin:0 0 7px}.shoulder-session-item p{font-size:1rem;margin:0 0 5px}.shoulder-session-item small{font-size:.9rem;color:#665f55}.shoulder-session-item>strong{color:#dd5b1b}.shoulder-session-item div{min-width:0}.afrah-shoulder-page .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.afrah-shoulder-page .afrah-demo-stage img{object-fit:contain}
@media(max-width:700px){.shoulder-session-item{grid-template-columns:28px 94px 1fr;gap:10px;padding:12px}.shoulder-session-item h2{font-size:1rem;line-height:1.2}.shoulder-session-item p,.shoulder-session-item small{font-size:.82rem;line-height:1.35}.shoulder-session-item>strong{display:none}.shoulder-session-item img{aspect-ratio:1;object-fit:cover;object-position:left center}.shoulder-session-item>span{font-size:1rem}}
.afrah-shoulder-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,.74fr);max-width:100%}.afrah-shoulder-grid>* ,.afrah-shoulder-side,.afrah-shoulder-card,.afrah-demo{min-width:0;max-width:100%;box-sizing:border-box}.afrah-shoulder-card{overflow-wrap:anywhere}.afrah-shoulder-log input{max-width:100%;box-sizing:border-box}.afrah-shoulder-card .workout-actions{flex-wrap:wrap}
.afrah-shoulder-log{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.afrah-shoulder-log>*{min-width:0}.afrah-shoulder-log .btn{grid-column:1/-1;width:100%;box-sizing:border-box;white-space:normal}

/* Shoulder demo framing: preserve the complete start and finish images. */
.afrah-shoulder-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.afrah-demo-stage{aspect-ratio:auto;display:block}
.afrah-demo-stage img,.afrah-shoulder-page .afrah-demo-stage img{display:block;width:100%;height:auto;max-width:100%;position:static;left:auto;top:auto;transform:none;object-fit:contain}
@media(max-width:850px){
  .afrah-shoulder-grid{grid-template-columns:minmax(0,1fr)}
  .afrah-demo-stage{aspect-ratio:1;position:relative;overflow:hidden}
  .afrah-demo-stage[data-exercise="lateral"],.afrah-demo-stage[data-exercise="face-pull"]{aspect-ratio:3/4}
  .afrah-demo-stage img,.afrah-shoulder-page .afrah-demo-stage img{position:absolute;width:200%;max-width:none;height:auto;top:0;left:0;transform:none}
  .afrah-demo-stage img.finish,.afrah-shoulder-page .afrah-demo-stage img.finish{left:-100%}
}
@media(max-width:700px){.shoulder-session-item img{object-fit:contain;object-position:center}}

/* Keep start/finish controls with the visible pose on phones. */
@media(max-width:850px){
  .afrah-shoulder-page .afrah-demo-mobile-controls{display:flex;gap:.5rem;margin:.15rem 0 .75rem}
  .afrah-shoulder-page .afrah-demo-mobile-controls button{min-height:48px;min-width:0;line-height:1.25}
}

/* Approved separate anatomy teaching panel below the two exercise poses. */
.afrah-anatomy{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);align-items:center;gap:1rem;margin-top:1rem;padding:1rem;border:1px solid #e3d4bf;border-radius:14px;background:#fffaf1;overflow:hidden}
.afrah-anatomy-copy{display:grid;gap:.4rem;line-height:1.35}
.afrah-anatomy-copy strong{font-size:clamp(1rem,1.5vw,1.35rem);color:#181715}
.afrah-anatomy-copy span{color:#5d5349}
.afrah-anatomy-art{position:relative;overflow:hidden;aspect-ratio:2.4;background:#fffaf1}
.afrah-anatomy-art img{display:block;position:absolute;width:185%;max-width:none;height:auto;left:-84%;top:0;transform:translateY(-58%)}
.afrah-anatomy-art.frame-2 img{transform:translateY(-60%)}
.afrah-anatomy-art.frame-3 img{transform:translateY(-56%)}
.afrah-anatomy-art.frame-4 img{transform:translateY(-58%)}
@media(max-width:700px){.afrah-anatomy{grid-template-columns:1fr;gap:.6rem}.afrah-anatomy-art{aspect-ratio:2.4}.afrah-anatomy-copy{gap:.15rem}}

/* The approved exercise benchmark is one readable vertical sequence, not a small side card. */
.afrah-shoulder-page .afrah-shoulder-grid{display:grid;grid-template-columns:minmax(0,1fr);max-width:940px;margin-inline:auto;gap:1rem}
.afrah-shoulder-page .afrah-demo{padding:clamp(1rem,2.5vw,2rem)}
.afrah-shoulder-page .afrah-demo-stage{background:#f5eee3}
.afrah-shoulder-page .afrah-anatomy{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);padding:clamp(1rem,2vw,1.5rem);margin-top:1.2rem}
.afrah-shoulder-page .afrah-anatomy-art{aspect-ratio:2.4}
.afrah-shoulder-page .afrah-shoulder-side{grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){
  .afrah-shoulder-page .afrah-anatomy{grid-template-columns:minmax(0,1fr)}
  .afrah-shoulder-page .afrah-anatomy-art{aspect-ratio:2.1}
  .afrah-shoulder-page .afrah-demo-stage{aspect-ratio:1}
  .afrah-shoulder-page .afrah-demo-stage[data-exercise="lateral"],.afrah-shoulder-page .afrah-demo-stage[data-exercise="face-pull"]{aspect-ratio:3/4}
}
/* Chest review follows the locked two-frame member demo system. */
.afrah-anatomy-art.chest-art img{position:absolute;width:100%;height:100%;max-width:100%;left:0;top:0;transform:none;object-fit:cover;object-position:center 31%}
.afrah-shoulder-page .afrah-demo-stage[data-exercise^="chest-"]{aspect-ratio:2.04}
.afrah-shoulder-page .afrah-demo-stage[data-exercise^="back-"]{aspect-ratio:2.04}
.afrah-anatomy-art.back-art img{position:absolute;width:100%;height:100%;max-width:100%;left:0;top:0;transform:none;object-fit:contain;object-position:center}
@media(max-width:700px){.afrah-shoulder-page .afrah-demo-stage[data-exercise^="back-"]{aspect-ratio:1}}
@media(max-width:700px){.afrah-shoulder-page .afrah-demo-stage[data-exercise^="chest-"]{aspect-ratio:1}.afrah-shoulder-page .afrah-demo-stage[data-exercise^="chest-"] img{top:0}}
@media(max-width:700px){.afrah-shoulder-page .afrah-demo-stage[data-exercise="chest-incline"],.afrah-shoulder-page .afrah-demo-stage[data-exercise="chest-fly"],.afrah-shoulder-page .afrah-demo-stage[data-exercise="chest-one-arm"]{aspect-ratio:3/4}}
@media(max-width:700px){.afrah-shoulder-page .afrah-demo-stage:has(img.finish)::after{content:"AFRAH FITNESS";position:absolute;left:12px;bottom:10px;z-index:2;color:#f4eee4;background:#171717d9;padding:4px 7px;border-radius:3px;font-size:11px;font-weight:800;letter-spacing:.08em;pointer-events:none}}
/* My Afrah progress: an exercise-first comparison, with sample and real states distinct. */
.afrah-progress-page{max-width:820px}.afrah-progress-status{display:inline-block;margin:0 0 24px;padding:8px 12px;border-radius:5px;font-size:.78rem;font-weight:800;letter-spacing:.06em}.afrah-progress-status.sample{background:#201c18;color:#f8efe2}.afrah-progress-status.real{background:#f0ded1;color:#883612}.afrah-progress-select{display:block;font-weight:700;max-width:620px}.afrah-progress-select select{display:block;width:100%;margin-top:8px;padding:14px 16px;border:1px solid #d6c6ae;border-radius:12px;background:#fffaf1;color:#1b1815;font:inherit}.afrah-progress-period{display:flex;gap:8px;margin:18px 0}.afrah-progress-period button{border:1px solid #d6c6ae;background:#fffaf1;border-radius:30px;padding:10px 16px;color:#211b16;font:inherit;font-weight:700;cursor:pointer}.afrah-progress-period button.active{background:#191715;border-color:#191715;color:#fff4e6}.afrah-progress-card{background:#fffaf1;border:1px solid #ded0bd;border-radius:20px;padding:22px}.afrah-progress-head{display:flex;justify-content:space-between;align-items:end;gap:16px}.afrah-progress-head small,.afrah-progress-note strong{font-size:.8rem;letter-spacing:.08em;font-weight:800;color:#bd4617}.afrah-progress-head h2{font-size:1.25rem;line-height:1.3;margin:8px 0 0}.afrah-progress-head>strong{font-size:1.7rem;color:#d9501b;white-space:nowrap}.afrah-progress-chart{display:block;width:100%;margin:12px 0 0}.afrah-progress-chart text{font-size:13px;fill:#51463b;font-weight:600}.afrah-progress-card p,.afrah-progress-note small{display:block;color:#5c5248;line-height:1.5;margin:0}.afrah-progress-note{border-left:3px solid #ec571e;padding:2px 0 2px 16px;margin:25px 0}.afrah-progress-note p{font-size:1.3rem;font-weight:800;margin:7px 0 2px}.afrah-progress-links{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.afrah-progress-history{border-top:1px solid #d6c7b3;border-bottom:1px solid #d6c7b3;padding:15px 0;margin-bottom:20px}.afrah-progress-history summary{font-weight:800;cursor:pointer}.afrah-progress-history>div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #eee3d3}.afrah-progress-history>div:last-child{border:0}.afrah-progress-history p{margin:15px 0;color:#5c5248}@media(max-width:600px){.afrah-progress-card{padding:16px}.afrah-progress-head{align-items:start}.afrah-progress-head h2{font-size:1.05rem}.afrah-progress-head>strong{font-size:1.3rem}.afrah-progress-chart text{font-size:12px}.afrah-progress-links .btn{width:100%;text-align:center}}
.afrah-progress-card .afrah-progress-equipment{margin-top:12px;padding-top:12px;border-top:1px solid #e0d4c1;color:#5b5045}
