:root {
  --ink: #102c2b;
  --muted: #64716b;
  --paper: #f7f8f4;
  --lime: #e0f78c;
  --line: #dfe5dc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, .button, .pill { touch-action: manipulation; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
h3 { font-size: 23px; line-height: 1.2; }
p { line-height: 1.65; color: var(--muted); }
img { max-width: 100%; height: auto; display: block; }
section, [id] { scroll-margin-top: 100px; }
[hidden] { display: none !important; }
.topbar { min-height: 76px; display: flex; align-items: center; gap: 24px; padding: 0 5%; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.logo { font-size: 21px; letter-spacing: .14em; font-weight: 800; }
.menu-toggle { display: none; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 13px; }
.nav a { padding: 27px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current=page] { border-color: var(--ink); }
.pill, .button, .cta { display: inline-block; padding: 12px 21px; border: 1px solid var(--ink); border-radius: 30px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; text-align: center; }
.button, .cta { background: var(--lime); border-color: var(--lime); }
.button:hover, .pill:hover, .cta:hover { filter: brightness(.96); }
.eyebrow { margin-bottom: 17px; font-size: 10px; letter-spacing: .19em; font-weight: 700; color: #4c6559; }
.hero { min-height: 420px; position: relative; display: flex; align-items: center; padding: 42px 5%; background: #e6ede5 url('assets/home-socal-v2.jpg') center 54% / cover; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f7f8f4f7, #f7f8f4df 35%, #f7f8f424 85%); }
.hero-content { position: relative; max-width: 690px; }
.hero h1 { margin-bottom: 16px; }
.hero p { max-width: 430px; margin-bottom: 18px; }
.search { display: flex; gap: 10px; max-width: 440px; background: #fff; border-radius: 32px; padding: 5px; border: 1px solid var(--line); }
.search input { min-width: 0; flex: 1; background: transparent; border: 0; padding-left: 14px; font-size: 13px; }
.search button { border: 0; border-radius: 50%; width: 40px; height: 40px; background: var(--lime); }
.home-categories { padding: 28px 5% 38px; }
.home-highlights { padding-top: 34px; padding-bottom: 65px; }
.home-section-heading { max-width: 660px; margin-bottom: 34px; }
.home-section-heading h2 { margin-bottom: 16px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 35px; }
.highlight { display: flex; flex-direction: column; align-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.highlight .eyebrow { margin-bottom: 13px; }
.highlight h3 { font-size: clamp(23px, 2.1vw, 29px); margin-bottom: 13px; }
.highlight p { font-size: 14px; }
.highlight .textlink { margin-top: auto; }
.home-about { background: var(--ink); color: #fff; padding: 60px 0 48px; }
.about-intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; }
.home-about .eyebrow { color: var(--lime); }
.home-about p { color: #d1ddd4; font-size: 15px; }
.home-about h2 { font-size: clamp(31px, 3.2vw, 45px); }
.home-about .textlink { border-color: #b2c2b6; }
.about-story { max-width: 640px; padding-top: 25px; }
.mission-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-top: 32px; padding-top: 28px; border-top: 1px solid #ffffff30; }
.mission-values h3 { font-size: 20px; margin-bottom: 12px; }
.mission-values p { font-size: 13px; margin-bottom: 0; }
.about-principles { margin-top: 30px; }
.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.service { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; transition: transform .2s; }
.service:hover { transform: translateY(-4px); }
.service img { width: 100%; height: 145px; object-fit: cover; }
.service-copy { padding: 17px 18px 20px; }
.service h2 { font-size: 25px; margin: 8px 0; }
.service p { font-size: 12px; margin-bottom: 0; }
.circle-arrow { display: none; }
.page-width { width: min(1240px, 90%); margin: auto; }
.page-intro { padding: 52px 0 35px; }
.page-intro h1 { max-width: 800px; margin-bottom: 20px; }
.page-intro p { max-width: 730px; }
.intro-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.intro-split img { width: 100%; height: 275px; object-fit: cover; border-radius: 7px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section, .info, .tournament { padding: 32px 0 44px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-head p { max-width: 650px; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event-card { background: white; padding: 25px; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.event-card h3 { margin-bottom: 12px; }
.event-card p { font-size: 14px; }
.event-card .eyebrow { font-size: 9px; }
.event-card .pill { margin-top: 10px; }
.profile-meta { font-size: 12px !important; color: #365343; }
.textlink { display: inline-block; font-size: 13px; border-bottom: 1px solid #738578; padding-bottom: 5px; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; background: #edf1e9; padding: 24px; border-radius: 8px; align-items: end; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 500; }
input, select, textarea { width: 100%; min-width: 0; background: white; border: 1px solid #b9c7b9; padding: 12px; border-radius: 4px; color: var(--ink); }
textarea { min-height: 100px; resize: vertical; }
input[type=checkbox] { width: auto; accent-color: #365343; }
.check-option { display: flex; align-items: start; gap: 10px; font-weight: 400; margin: 9px 0; }
.check-option input { margin-top: 3px; }
fieldset { border: 1px solid var(--line); padding: 17px; margin: 0; min-width: 0; border-radius: 5px; }
legend { font-size: 13px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.notice { background: #edf1e9; border-radius: 6px; padding: 17px 20px; font-size: 13px; }
.profile-save-feedback { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.profile-save-feedback:not(:empty) { padding: 14px 18px; border-radius: 6px; background: #edf1e9; }
.profile-save-feedback[data-state="error"] { background: #fff0ec; color: #8a2818; }
.member-home .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 20px; }
.member-home, #lesson-inquiries { scroll-margin-top: 100px; }
.workspace-mode { background: #edf2ed; }
.workspace-mode .topbar { border-bottom: 3px solid #d8ed83; }
.workspace-mode .topbar .nav { display: none; }
.workspace-mode main > .section { padding-top: 28px; }
.workspace-banner { padding: 24px 0; }
.workspace-banner h1 { font-size: clamp(30px, 5vw, 52px); margin: 8px 0 14px; }
.workspace-nav { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 28px; }
.workspace-nav a { padding: 9px 12px; }
.workspace-nav a[aria-current="page"] { background: #e1efa7; border-radius: 6px; font-weight: 700; }
.account-settings { margin-top: 28px; scroll-margin-top: 100px; }
.account-settings summary { cursor: pointer; font-weight: 700; padding-block: 8px; }
.account-settings .textlink { display: inline-block; margin: 10px 18px 0 0; }
.workspace-mode .member-home { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.inquiry-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-block: 20px; }
.inquiry-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.inquiry-table caption { text-align: left; padding: 18px; font-weight: 700; }
.inquiry-table th, .inquiry-table td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); }
.inquiry-table th { background: #f1f4eb; }
.inquiry-table td { overflow-wrap: anywhere; max-width: 340px; }
.inquiry-table td .pill { display: block; margin: 8px 0; }
.member-home .actions a { padding: 12px 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.note, .demo-label { font-size: 12px; color: var(--muted); }
[role=status] { line-height: 1.6; margin: 18px 0; }
.level-key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.level-key p { font-size: 12px; margin: 0; }
.level-key strong { display: block; font-size: 13px; margin-bottom: 5px; }
dialog { width: min(660px, calc(100% - 32px)); max-height: 85vh; border: 0; border-radius: 10px; padding: 30px; overflow: auto; color: var(--ink); }
dialog::backdrop { background: #102c2b99; }
dialog dl { display: grid; grid-template-columns: 140px 1fr; gap: 12px; font-size: 14px; }
dialog dt { font-weight: 600; }
dialog dd { margin: 0; overflow-wrap: anywhere; }
.dialog-close { float: right; }
.category-links { display: flex; flex-wrap: wrap; gap: 12px; }
.category-links a { border-bottom: 1px solid #738578; padding: 8px 0; }
details { border: 1px solid var(--line); border-radius: 7px; padding: 22px; background: white; }
summary { cursor: pointer; font-weight: 600; }
footer { border-top: 1px solid var(--line); padding: 22px 5%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 11px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #6d8a37; outline-offset: 4px; }
@media (max-width: 900px) {
  .topbar { padding-top: 16px; flex-wrap: wrap; gap: 10px; }
  .nav { order: 2; width: 100%; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 12px; text-align: center; }
  .nav a { padding: 9px 0; white-space: nowrap; }
  .topbar > .pill { margin-left: auto; }
  section, [id] { scroll-margin-top: 145px; }
  .intro-split { gap: 30px; }
  .service-grid { gap: 10px; }
  .service-copy { padding: 14px; }
  .service img { height: 125px; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .highlight-grid { grid-template-columns: 1fr; row-gap: 27px; }
  .highlight h3 { font-size: 26px; }
  .home-highlights { padding-top: 24px; padding-bottom: 42px; }
  .about-intro, .mission-values { grid-template-columns: 1fr; gap: 24px; }
  .about-story { padding-top: 0; }
  .home-about { padding: 42px 0; }
  .topbar { padding-top: 18px; flex-wrap: wrap; gap: 12px; }
  .nav { display: grid; grid-template-columns: repeat(3, 1fr); order: 2; width: 100%; margin: 0; gap: 0 14px; text-align: center; }
  .nav a { padding: 9px 0; }
  section, [id] { scroll-margin-top: 165px; }
  .topbar > .pill { margin-left: auto; }
  .hero { padding: 35px 5%; min-height: 370px; }
  .hero h1 { font-size: 47px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service img { height: 140px; }
  .intro-split, .filters, .form-grid { grid-template-columns: 1fr; }
  .intro-split img { height: 220px; }
  .event-grid { grid-template-columns: 1fr; }
  .level-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { display: block; }
  .page-intro { padding-top: 35px; }
  dialog dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service { transition: none; }
}

[hidden]{display:none!important} #pilot-root .event-card{margin-block:1.5rem} #pilot-root .pill{margin:.4rem} #pilot-root textarea{min-height:110px}

.profile-photo { object-fit: cover; border-radius: 50%; max-width: 100%; }

/* Coach workspace: clear next steps, readable inbox, and a separate fictional prototype. */
.coach-workspace { max-width: 1120px; margin: 0 auto; }
.coach-dashboard { padding: clamp(24px, 4vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.coach-dashboard h2 { font-size: clamp(30px, 3.4vw, 42px); max-width: 850px; }
.coach-dashboard .eyebrow { margin-bottom: 14px; }
.coach-status { display: inline-block; max-width: 100%; margin-bottom: 16px; padding: 9px 14px; border-radius: 7px; background: #eef3e6; color: #254b35; font-size: 14px; line-height: 1.5; font-weight: 600; }
.coach-status[data-status=pending], .coach-status[data-status=new] { background: #fff2d5; color: #6c4a12; }
.coach-status[data-status=revision], .coach-status[data-status=unpublished], .coach-status[data-status=closed] { background: #f3eae4; color: #6a4835; }
.coach-next-step { max-width: 740px; color: #3c5147; font-size: 16px; }
.coach-workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 30px 0 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.coach-workflow h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 10px; }
.coach-workflow p { font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.coach-preview-link { font-size: 13px; line-height: 1.8; margin: 20px 0; }
.coach-workspace > .form-grid { margin: 24px 0; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 12px; background: white; }
.coach-workspace .inquiry-intro { max-width: 760px; font-size: 16px; }
.coach-workspace .inquiry-table { font-size: 15px; }
.coach-workspace .inquiry-table th { font-size: 12px; letter-spacing: .04em; }
.coach-workspace .inquiry-table td { padding: 20px 16px; line-height: 1.65; }
.inquiry-status-cell { font-weight: 600; }
.workspace-preview { padding-bottom: 50px; }
.preview-banner { display: flex; flex-wrap: wrap; gap: 8px 22px; background: #fff3d9; border: 1px solid #e2d3ae; border-radius: 8px; padding: 16px 20px; margin-top: 24px; color: #604714; font-size: 14px; line-height: 1.65; }
.workspace-preview .page-intro { padding: 38px 0 22px; }
.workspace-preview .page-intro h1 { font-size: clamp(38px, 5vw, 58px); }
.preview-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: 30px; }
.preview-overview > div { display: flex; flex-direction: column; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.preview-overview strong { font-size: 22px; letter-spacing: -.02em; }
.preview-overview span { font-size: 13px; line-height: 1.6; color: #52655b; }
.workspace-card-label { text-transform: uppercase; font-size: 10px !important; letter-spacing: .12em; font-weight: 700; }
.conversation-workspace { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.7fr); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.conversation-list { padding: 26px; background: #f0f4ed; border-right: 1px solid var(--line); }
.conversation-list h2 { font-size: 24px; }
.conversation-list label { margin-bottom: 16px; }
.conversation-thread { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; color: var(--ink); padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; margin-bottom: 12px; }
.conversation-thread[aria-pressed=true] { border-color: #416846; box-shadow: inset 4px 0 #416846; background: #fafff4; }
.conversation-thread strong { font-size: 16px; }
.conversation-thread span { color: #52655b; font-size: 13px; line-height: 1.5; }
.conversation-detail { min-width: 0; padding: 30px; }
.conversation-heading { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; }
.conversation-heading h2 { font-size: 28px; margin-bottom: 10px; }
.conversation-heading .eyebrow { margin-bottom: 10px; }
.conversation-heading p { font-size: 14px; }
.conversation-heading .coach-status { margin-bottom: 0; }
.conversation-messages { display: flex; flex-direction: column; gap: 18px; }
.conversation-message { max-width: 90%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px 12px 12px 2px; background: #f5f6f2; }
.conversation-message.from-coach { align-self: flex-end; background: #edf6dc; border-color: #dae6c8; border-radius: 12px 12px 2px 12px; }
.conversation-message p { margin-bottom: 10px; color: #30463a; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.conversation-message .message-person { font-size: 12px; font-weight: 600; }
.conversation-message .message-time { font-size: 11px; margin-bottom: 0; color: #596d5f; }
.conversation-reply { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.conversation-reply textarea { margin-bottom: 16px; min-height: 110px; }
.preview-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.workspace-preview button:disabled { cursor: default; opacity: .55; }
@media (max-width: 760px) {
  .coach-workflow, .preview-overview, .conversation-workspace { grid-template-columns: 1fr; }
  .coach-workflow { gap: 22px; }
  .coach-dashboard .actions a { width: 100%; text-align: center; }
  .coach-workspace .inquiry-table-wrap { overflow: visible; border: 0; background: transparent; }
  .coach-workspace .inquiry-table { display: block; width: 100%; min-width: 0; }
  .coach-workspace .inquiry-table caption { display: block; text-align: left; }
  .coach-workspace .inquiry-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .coach-workspace .inquiry-table tbody { display: grid; gap: 18px; }
  .coach-workspace .inquiry-table tr { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 8px 20px; background: #fff; }
  .coach-workspace .inquiry-table td { display: block; padding: 12px 0; max-width: none; border-bottom: 1px solid var(--line); }
  .coach-workspace .inquiry-table td:last-child { border-bottom: 0; }
  .coach-workspace .inquiry-table td::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #5a6c60; font-weight: 600; margin-bottom: 5px; }
  .conversation-list { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .conversation-detail { padding: 22px; }
  .conversation-message { max-width: 100%; }
  .preview-overview { gap: 12px; }
  .preview-overview > div { padding: 20px; }
}

/* Compact mobile navigation with a strong reading surface. */
@media (max-width:680px){
.topbar.nav-ready{padding:12px 5%;min-height:64px;gap:12px}
.nav-ready .menu-toggle{display:inline-block;margin-left:auto}
.topbar.nav-ready:not(.menu-open)>.nav,.topbar.nav-ready:not(.menu-open)>.actions{display:none}
.topbar.nav-ready.menu-open>.nav{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:0;order:3;margin:0}
.topbar.nav-ready.menu-open>.nav a{padding:12px 0}
.topbar.nav-ready.menu-open>.actions{display:flex;width:100%;order:4;padding-bottom:10px}
.workspace-mode .topbar.nav-ready .menu-toggle{display:none}
.workspace-mode .topbar.nav-ready>.actions{display:flex}
.hero{background-position:65% center;padding:38px 5%}
.hero::before{background:linear-gradient(90deg,rgba(247,248,244,.98),rgba(247,248,244,.93))}
.hero p{color:#304c45}
}

.owner-application{margin:16px 0}.owner-application summary{font-size:19px;line-height:1.5}.owner-application[open] summary{margin-bottom:20px}.owner-application .profile-save-feedback{padding:16px;margin-top:16px}.owner-application .profile-save-feedback[data-state="success"]{background:#edf5dd;border-left:4px solid #446b32}.owner-application .profile-save-feedback[data-state="error"]{background:#fff0ed;border-left:4px solid #a13b28}.owner-directory table{width:100%}.owner-directory caption{text-align:left;font-weight:600;padding:12px}.owner-directory td{overflow-wrap:anywhere}

.workspace-nav button[aria-pressed="true"]{background:var(--lime);border-color:var(--lime)}
