.brand{width:155px}.brand img,.footer-logo img{mix-blend-mode:screen}.site-header{background:#08090c;border-image:linear-gradient(90deg,#e21931,#79333c,#c2975b) 1}
.hero{background:#101017 url(assets/photos/phuket-dusk.webp) center/cover}.hero-art{display:none}.hero:before{background:linear-gradient(90deg,#08091065,#0c0a1499 52%,#18101816 95%),linear-gradient(0deg,#08090cba,transparent 40%)}.hero:after{background:linear-gradient(135deg,#ed172f 0 1.5%,transparent 1.6% 2.2%,#dd1730 2.3% 2.5%,transparent 2.6%);mask-image:none;opacity:.95}.hero-person{filter:drop-shadow(5px 2px 15px #12080eb0)}.hero-title .title-red{color:#ff2539;-webkit-text-stroke:0;text-shadow:0 3px 0 #8c0b21,0 8px 18px #16030e}.hero-subtitle,.button:not(.button-outline),.nav-links .nav-cta,.floating-cta{background:linear-gradient(115deg,#b00020,#f21d35 55%,#b50024);box-shadow:0 5px 23px #a20a2545}.project-chip{border-left:3px solid #ffbb70;background:#101018c7}.section-kicker{color:#ff6570}.camp-band{background:linear-gradient(110deg,#491020,#151219 36%,#10131a)}.purpose-card{border-top:3px solid #ed374b}.purpose-card h3{width:fit-content;background:linear-gradient(110deg,#b40723,#8c122acc);padding:6px 18px 8px 11px;clip-path:polygon(0 0,100% 0,94% 100%,0 100%)}.plan:not(.personal) .plan-name{background:linear-gradient(120deg,#76531b,#2a2118 85%)}.plan.personal .plan-name{background:linear-gradient(120deg,#40434b,#202229 85%)}.shared-benefit{border-color:#98505b}.roadmap{background:linear-gradient(90deg,#08090ff2,#12111be0),url(assets/photos/phuket-dusk.webp) center 68%/cover}.apply{background:linear-gradient(90deg,#180c15e8,#121019cf),url(assets/photos/phuket-dusk.webp) center/cover}
@media(max-width:900px){}
@media(max-width:640px){.brand{width:140px}.hero{background-position:65% center}.hero-person{bottom:44px;height:43%;width:80%;left:-17%;opacity:1}.hero-copy{position:static;padding-top:28px}.hero-mission{max-width:100%}.hero-caption{max-width:none}.hero-meta{position:relative;z-index:2}.hero:before{background:linear-gradient(180deg,#100b15b0,#100b15a6 54%,#140c1522 75%,#08090c9c)}}

.section.instagram { padding-bottom: 16px; }
.insta-embed {
  width: 100%; max-width: 540px; min-width: 0; padding: 4px;
  border: 1px solid #575862;
  background: linear-gradient(135deg, #ff324c 0 22px, #24252c 22px 75%, #121218 90%, #bd1832);
}
.insta-embed iframe { display: block; width: 100%; height: clamp(280px, calc(66vw + 90px), 454px); border: 0; background: #111318; }
.insta-embed .insta-btn { display: block; padding: 10px 12px; border: 0; border-top: 2px solid #df213b; background: #17181e; text-align: center; }
@media(min-width:641px){.timeline {grid-template-columns:repeat(6,1fr)}}
@media(max-width:640px){.hero,.hero-inner {min-height:820px}}

.mission-goals {
  width: fit-content;
  max-width: 100%;
  margin: 28px 0 8px;
  padding: 8px 18px 8px 15px;
  border-inline-start: 3px solid #ff3848;
  background: linear-gradient(90deg, #180f18d9, #180f1855 90%, transparent);
}
.mission-goals p {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: .45em;
  margin: 0;
  color: white;
  font-size: clamp(1rem, 1.85vw, 1.6rem);
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 2px 7px #130811;
}
.mission-year {
  font: italic 900 1.45em/1.1 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  color: #ffe3b2;
}
.mission-year span { font: 700 .42em/1 system-ui, sans-serif; }
.mission-goals p + p { margin-top: 6px; }
.deep-profile article p + p { margin-top: .75em; }
@media (max-width: 640px) {
  .mission-goals { margin-top: 20px; padding-inline: 9px; }
  .mission-goals p { font-size: clamp(.94rem, 4vw, 1.18rem); gap: .25em; }
}

.profile { --video-height: min(236px, calc((100vw - 60px) * .5625)); }
@media (min-width: 641px) { .deep-profile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.deep-profile article { display: flex; flex-direction: column; }
.deep-profile article .profile-video { margin-top: auto; }
.deep-profile article p:last-of-type { margin-bottom: 18px; }
.profile-video {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--video-height);
  aspect-ratio: 9 / 16;
  margin: 18px auto 0;
  object-fit: contain;
  background: #08090c;
}

.profile-video:fullscreen { width: 100%; height: 100%; }
.martial-history { display:grid;grid-template-columns:auto 1fr;gap:12px 24px;margin:32px 0; }
.martial-history dt { font-weight:750;color:#ffd4b8; }
.martial-history dd { margin:0; }
.feature-films { margin:56px 0 32px; }
.feature-players { display:grid;grid-template-columns:repeat(auto-fit,min(100%,calc(var(--video-height) * 16 / 9 + 16px)));gap:22px; }
.feature-players iframe { display:block;width:100%;height:var(--video-height);border:0;background:#08090c; }
.feature-players > div { width: min(100%, calc(var(--video-height) * 16 / 9 + 16px)); }
.inline-film, .feature-players > div {
  box-sizing: border-box;
  padding: 7px;
  border: 1px solid #42434c;
  background:
    linear-gradient(130deg, #fc324c 0 19px, transparent 19.5px) top left,
    linear-gradient(310deg, #cd1834 0 19px, transparent 19.5px) bottom right,
    linear-gradient(145deg, #30313a, #121319 45%, #22232a);
  background-repeat: no-repeat;
  box-shadow: 0 6px 16px #0005;
}
.inline-film { position: relative; align-self: center; margin-top: auto; }
.inline-film .profile-video { margin: 0; }
.film-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid white;
  box-shadow: 0 0 0 3px #10121780; background: #a2142bea; color: white; font-size: 18px; cursor: pointer;
}
.film-play:focus-visible { outline: 3px solid #ff677d; }
@media(max-width:640px){.martial-history {grid-template-columns:1fr;gap:5px}.martial-history dd+dt {margin-top:12px}}

.profile-hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  padding: clamp(20px, 4vw, 54px);
  border-top: 3px solid #f2243b;
  background: linear-gradient(118deg, #23242c 0%, #19171d 56%, #490e1c 84%, #98162b);
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(117deg, transparent 0 24px, #ffffff14 25px 26px, transparent 27px 38px);
  mask-image: linear-gradient(90deg, transparent 55%, black);
}
.profile-hero::after {
  content: "";
  position: absolute;
  top: 12%; right: 5%;
  width: clamp(100px, 20%, 240px);
  aspect-ratio: 2.5;
  background: url(assets/TEAM_COMACHI_logos/02_horizontal_white.png) center/contain no-repeat;
  mix-blend-mode: screen;
  opacity: .58;
  pointer-events: none;
}
.profile .facts {grid-template-columns:repeat(5,minmax(0,1fr))}
.profile .fact {background:#101116bf;border-top-color:#a88475}
.martial-history {align-items:center;padding:20px clamp(16px,3vw,36px);margin:0;border-bottom:1px solid #68323c;background:#16171d}
.martial-history dd {display:flex;flex-wrap:wrap;gap:6px}
.martial-history dd span {padding:3px 11px;background:#25262e;border:1px solid #45454f;font-size:.9rem}
.martial-history dd:first-of-type span {border-color:#88424b;background:#3b222a}
.career-item {border:1px solid #483d42;border-left:3px solid #ef253b;background:linear-gradient(120deg,#25242b,#18191e 75%,#322128);position:relative}
.career-item::after {content:"";position:absolute;right:10px;top:12px;width:19px;height:7px;transform:skew(-25deg);border-inline:4px solid #a33144}
.career-item b {display:block;padding-right:18px;font-size:.94rem;color:#e3e2e4}
.career-item strong {display:block;margin-top:5px;font-size:clamp(1.14rem,2vw,1.8rem);line-height:1.25;color:#ffe1ab}
@media(max-width:760px){
  .profile .facts {grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile .fact:last-child {grid-column:1/-1}
  .profile-hero::after {width:72px;top:18px;right:14px;opacity:.35}
  .career-item::after {width:10px;right:6px}
}

.athlete-sheet {
  display:grid;grid-template-columns:minmax(250px,.76fr) minmax(0,1.55fr);
  background:#17191e;border-block:1px solid #494047;
}
.athlete-identity {
  position:relative;isolation:isolate;overflow:hidden;padding:clamp(24px,3.6vw,54px);
  background:linear-gradient(125deg,#260e18,#681126 75%,#a62035);
}
.athlete-identity::before {
  content:"";position:absolute;inset:0;z-index:-1;
  background:repeating-linear-gradient(123deg,transparent 0 32px,#ffffff09 32px 34px);
}
.athlete-identity .section-kicker {color:#ffbbad}
.athlete-identity h2 {font-size:clamp(2.65rem,4.2vw,4.4rem);line-height:1.2;margin:18px 0 0}
.athlete-roman {font:bold italic 1rem Arial,sans-serif;letter-spacing:.15em;color:#ffd3cd;margin:6px 0 24px}
.school-row { flex-basis: 100%; }
.athlete-record .training-gyms { display: grid; gap: 7px; }
.training-gyms li { border-left: 2px solid #ff4157; padding-left: 10px; }
.training-gyms span { display: block; color: #d3cbd0; font-size: .9rem; }
.athlete-identity img {width:110px;margin-top:30px;mix-blend-mode:screen}
.athlete-record {align-self:center;padding:clamp(20px,3.5vw,48px)}
.athlete-stats {display:flex;flex-wrap:wrap;gap:16px 24px;margin:0 0 22px;padding-bottom:20px;border-bottom:1px solid #48434a}
.athlete-stats dt,.athlete-record h3 {font-size:.85rem;font-weight:750;letter-spacing:.07em;color:#d3bbc0}
.athlete-stats dd {margin:4px 0 0;font-weight:800;font-size:1.07rem}
.athlete-record h3 {margin:19px 0 8px}
.athlete-record ul {padding:0;margin:0;display:flex;flex-wrap:wrap;list-style:none}
.athlete-disciplines {gap:7px}
.athlete-disciplines li {padding:5px 11px;border-left:2px solid #ff4157;background:#33212a;font-weight:750}
.athlete-training {gap:5px 17px}
.athlete-training li::before {content:"";display:inline-block;width:4px;height:4px;background:#e3b982;margin:0 7px 3px 0}
@media(max-width:760px){
  .athlete-sheet {grid-template-columns:1fr}
  .athlete-identity img {position:absolute;right:18px;bottom:20px;width:78px}
  .athlete-stats {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 6px}
}
.athlete-interests {display:flex;flex-wrap:wrap;gap:8px 28px;margin:0}
.athlete-interests div {display:flex;align-items:baseline;gap:10px}
.athlete-interests dt {font-size:.85rem;font-weight:750;color:#d3bbc0}
.athlete-interests dd {margin:0;font-weight:650}

.camp-band { padding-block: clamp(22px, 2.2vw, 38px); }
.camp-info { margin-block: 0; row-gap: 9px; }
.camp-info dd { line-height: 1.4; }
.camp-info dd small { margin-top: 2px; }
@media (max-width: 640px) {
  .camp-grid { row-gap: 14px; }
  .camp-info { padding-top: 12px; }
}

/* Vertical rhythm across the landing page. */
.section:not(.camp-band), .roadmap { padding-block: clamp(32px, 3.3vw, 54px); }
.purpose-intro, .club-top, .sponsor-heading { margin-bottom: 22px; }
.career, .deep-profile, .feature-films { margin-top: 32px; }
.career-grid { margin-top: 18px; }
.section-title { margin-block: 10px 12px; }
.road-title { margin-block: 10px; }
.fight-equation { margin-block: 20px; padding-block: 13px; }
.road-cta, .subsection-link { margin-top: 18px; }
.timeline-item { min-height: auto; padding-top: 15px; }
.sponsor-terms { margin-top: 18px; }
.shared-benefit { margin-top: 28px; }
.hero-copy { padding-block: clamp(32px, 4vw, 60px) 80px; }
.phrase, .schedule td, .nav-links a, .athlete-stats dd, .athlete-disciplines li, .athlete-training li { white-space: nowrap; }
.schedule { table-layout: auto; }
.career-item strong, .section-title, .apply-copy h2, .camp-info dd, .plan-benefit strong { word-break: auto-phrase; text-wrap: balance; }
@media(min-width:901px) {
  .roadmap-top {grid-template-columns:minmax(max-content,.85fr) 1.15fr}
  .road-title {white-space:nowrap;font-size:clamp(2.8rem,4.6vw,4.8rem)}
  .plan {grid-template-columns:.83fr .79fr 1.38fr}
}
@media(max-width:640px) {
  .hero-copy { padding-block:28px 100px; }
  .timeline-item {padding-top:0}
  .purpose-intro, .club-top, .sponsor-heading {margin-bottom:16px}
}

.line-signup {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px}
.line-signup h2 {margin:10px 0;font-size:clamp(1.5rem,3vw,2.6rem);line-height:1.3}
.line-signup figure {margin:0;text-align:center}
.line-signup img {width:155px;height:auto;background:white}
.line-signup figcaption {margin-top:6px;font-size:.85rem}
a.line-add, .nav-links a.line-add, a.button.line-add {background:#067844;color:white;border-color:#0b985a}
a.line-add:hover {background:#05643a}
@media(max-width:640px){.line-signup {display:block}.line-signup figure {display:none}}

#intro-control {
  display: inline-block; vertical-align: middle; min-height: 44px;
  margin: 3px 0 3px 6px; padding: 6px 12px;
  color: white; background: #171219ed; border: 1px solid #d3a588;
  border-radius: 22px; font-size: .85rem; font-weight: 750;
}
#intro-control:focus-visible { outline: 2px solid white; outline-offset: 3px; }

.athlete-disciplines .current-sport {
  background: #74172b;
  border-color: #ff657a;
  color: #fff;
}
.current-sport small {
  margin-inline-start: .25em;
  font-size: .75rem;
  color: #ffdfb2;
}

@media (max-width: 640px) {
  .hero, .hero-inner { min-height: 0; }
  .hero { background-position: center top; background-size: auto clamp(230px, 65vw, 365px); background-repeat: no-repeat; background-color: #101016; }
  .hero-inner {
    width: 100%; display: grid; grid-template-columns: 43% minmax(0,1fr);
    grid-template-rows: auto auto auto auto; align-items: center;
  }
  .hero-copy { display: contents; }
  .hero-copy .project-chip { display: none; }
  .hero-person {
    grid-area: 1 / 1 / 5 / 2; position: static; align-self: end; width: 100%;
    height: auto; object-fit: contain; opacity: 1;
  }
  .hero-copy #intro-control { grid-area: 1 / 2; justify-self: end; margin: 6px 12px 0 0; }
  .hero-copy .hero-title { grid-area: 2 / 2; font-size: clamp(2rem,8.6vw,3.45rem); margin: 10px 8px 10px 0; }
  .hero-copy .hero-subtitle { grid-area: 3 / 2; justify-self: start; font-size: clamp(.72rem,3vw,1rem); padding: 6px 8px; }
  .hero-meta { grid-area: 4 / 2; margin: 10px 10px 12px 0; font-size: .7rem; letter-spacing: .01em; }
  .hero-meta span:first-child { display: block; }
  .hero-meta .camp-duration { display: inline-block; margin: 0; }
  .hero .mission-goals, .hero-caption, .hero-actions { grid-column: 1 / -1; width: 100%; background: #111117; margin: 0; padding-inline: 16px; }
  .hero .mission-goals { border: 0; border-top: 2px solid #e32138; padding-block: 14px 4px; }
  .hero .mission-goals p { grid-template-columns: auto 1fr; font-size: clamp(.95rem,4.1vw,1.25rem); gap: .5em; }
  .hero-caption { padding-block: 6px; font-size: .85rem; }
  .hero-actions { gap: 8px; padding-block: 8px 16px; }
  .hero-actions .button { min-height: 44px; padding: 7px 10px; text-align: center; }
  .hero-bottom { position: relative; }
  .hero-visible .floating-cta { display: none; }
}

.expand-schedule { display: none; }
.schedule-dialog { width: min(94vw, 32rem); max-height: 90vh; padding: 16px; margin: auto; background: #111318; color: white; border: 1px solid #656571; }
.schedule-dialog::backdrop { background: #000b; }
.schedule-dialog header { display: flex; align-items: center; justify-content: space-between; }
.schedule-dialog button, .schedule-dialog select, .expand-schedule { padding: 8px 14px; background: #282a32; color: white; border: 1px solid #767881; min-height: 44px; }
.schedule-dialog label { display: block; margin: 12px 0; }
.schedule-dialog .schedule { min-width: 0; table-layout: fixed; }
.schedule-dialog .schedule th:first-child { width: 42%; }
.schedule-dialog .schedule td { font-size: 1rem; height: auto; padding: 8px 3px; white-space: normal; }
@media (max-width: 900px) {
  .schedule-wrap .schedule { min-width: 0; table-layout: fixed; cursor: zoom-in; }
  .schedule-wrap .schedule th:first-child { width: 17%; }
  .schedule-wrap .schedule :is(td, th) { white-space: normal; overflow-wrap: anywhere; padding: 4px 1px; font-size: clamp(8px, 2.15vw, 13px); height: auto; letter-spacing: 0; }
  .expand-schedule { display: block; margin: 8px 0 0 auto; cursor: zoom-in; }
}

@media (max-width: 640px) {
  .instagram-viewport { display: flow-root; overflow: hidden; }
  /* The profile embed reserves a blank strip below its second thumbnail row. */
  .instagram-viewport iframe { margin-bottom: -48px; }
}
