@font-face {
  font-family: Display;
  src: url("/assets/display.ttf?v=2e8e21b0aed87c86") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Body;
  src: url("/assets/body.ttf?v=2e8e21b0aed87c86") format("truetype");
  font-display: swap;
}
:root {
  --paper: #eeece5;
  --ink: #20211e;
  --red: #cc3428;
  --line: #cecdc3;
  --muted: #64665e;
  --display: Display, Impact, "Arial Narrow", sans-serif;
  --body: Body, Arial, sans-serif;
}
.schedule-section {
  padding: 85px 6vw;
  border-bottom: 1px solid var(--line);
}
#dojo-schedule,
#member-schedule {
  max-width: 1000px;
  margin: auto;
}
.schedule-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.schedule-controls label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
}
.schedule-controls select,
.schedule-controls input {
  width: 100%;
  min-width: 0;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
}
.schedule-intro h3 {
  font-family: var(--display);
  font-size: 36px;
  margin: 22px 0 2px;
}
.schedule-intro p,
.schedule-weekly {
  font-size: 13px;
}
.schedule-intro p {
  color: var(--muted);
}
.calendar-legend {
  display: flex;
  gap: 22px;
  margin: 20px 0 12px;
  font-size: 12px;
}
.calendar-legend span:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--ink);
  margin-right: 7px;
}
.calendar-legend span:last-child:before {
  background: var(--red);
}
.training-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.calendar-heading {
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
}
.calendar-heading abbr {
  text-decoration: none;
}
.calendar-day {
  min-height: 90px;
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 16px;
}
.calendar-day small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.45;
}
.calendar-day.scheduled {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.calendar-day.cancelled {
  background: #cc342810;
  color: #a02c23;
  border-color: var(--red);
}
.calendar-day.rest {
  color: var(--muted);
}
.calendar-day.today > span {
  border-bottom: 2px solid currentColor;
}
.schedule-cancellations {
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  margin-top: 24px;
  background: #cc342808;
}
.schedule-cancellations h4 {
  margin: 0 0 10px;
}
.schedule-cancellations ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  font-size: 13px;
}
.weekday-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: center;
  gap: 10px;
}
.weekday-row label {
  min-width: 0;
  font-size: 11px;
}
.weekday-row input[type="time"] {
  padding: 9px 5px;
  min-width: 0;
}
.cancellation-add {
  display: grid;
  gap: 10px;
}
.cancellation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.cancellation-row span {
  overflow-wrap: anywhere;
}
.registration-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 15px;
}
.registration-fields label {
  min-width: 0;
}
.guardian-fields {
  border: 1px solid var(--line);
  padding: 16px;
  margin: 8px 0 22px;
}
.guardian-fields legend {
  font-size: 12px;
  padding: 0 6px;
}
.private-profile {
  padding: 18px;
  border: 1px solid var(--line);
  margin-bottom: 25px;
}
.private-profile dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.private-profile dt {
  font-size: 11px;
  color: var(--muted);
}
.private-profile dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .schedule-section {
    padding: 55px 23px;
  }
  .schedule-controls {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calendar-day {
    min-height: 78px;
    padding: 8px 4px;
    font-size: 14px;
    text-align: center;
  }
  .calendar-day small {
    font-size: 9px;
  }
  .training-calendar {
    gap: 3px;
  }
  .calendar-heading {
    font-size: 10px;
  }
  .schedule-cancellations ul {
    grid-template-columns: 1fr;
  }
  .schedule-intro h3 {
    font-size: 30px;
  }
  .registration-fields {
    grid-template-columns: 1fr;
  }
  .weekday-row {
    gap: 6px;
  }
  .weekday-row .check {
    font-size: 11px;
    gap: 4px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #bb8128;
  outline-offset: 4px;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
p {
  line-height: 1.7;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2,
h3,
.display {
  font-family: var(--display);
  line-height: 1;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(48px, 6.2vw, 96px);
}
h3 {
  font-size: 38px;
}
em {
  font-style: normal;
}
small {
  font-size: 11px;
}
.header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.2%;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  background: var(--paper);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand b {
  color: var(--red);
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.3px;
  margin-top: 4px;
}
.brand-symbol {
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.desktop-nav a:hover,
.text-link:hover {
  color: var(--red);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.login-link {
  font-size: 13px;
  border-bottom: 1px solid;
  padding: 12px 0;
}
.login-link span {
  margin-left: 20px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  min-width: 44px;
  min-height: 44px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 15px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.hero {
  min-height: 760px;
  height: calc(100svh - 100px);
  max-height: 1050px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 38px 4.2% 32px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    transparent calc(100% - 1px),
    #d4d2c733 1px
  );
  background-size: 25% 100%;
  z-index: -3;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--red);
}
.hero-copy {
  position: relative;
  z-index: 2;
  pointer-events: none;
  padding-top: 52px;
}
.hero h1 {
  font-size: clamp(90px, 12.4vw, 188px);
  line-height: 0.89;
  letter-spacing: -0.018em;
  margin: 0;
}
.hero h1 em {
  color: var(--red);
}
.sun {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: 7%;
  top: 15%;
  border-radius: 50%;
  background: var(--red);
  will-change: transform;
}
.sun:after {
  content: "";
  position: absolute;
  inset: -25px;
  border: 1px solid #cc342855;
  border-radius: 50%;
}
.sun span {
  position: absolute;
  right: 45px;
  top: 70px;
  color: #eeece580;
  font-size: 50px;
  line-height: 1.4;
}
.hero-athlete {
  position: absolute;
  z-index: 3;
  height: 86%;
  width: 58%;
  right: 0;
  bottom: 0;
  pointer-events: none;
  will-change: transform;
}
.hero-athlete img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(-10px 18px 13px #00000015);
}
.kick-sequence {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  filter: drop-shadow(-10px 18px 13px #00000015);
}
.kick-ready > img {
  visibility: hidden;
}
.kick-ready .kick-sequence {
  opacity: 1;
}
@media (max-width: 760px) {
  .hero-scroll .hero-athlete.kick-ready {
    right: 0;
  }
}
.picker-field {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
}
.picker-field input {
  width: 100%;
  padding-right: 40px !important;
}
.picker-trigger {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 35px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--ink);
  padding: 0;
}
.picker-trigger:disabled {
  opacity: 0.35;
  cursor: default;
}
.uniform-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 35px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320211e' stroke-width='1.6'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") !important;
  background-position: right 10px center !important;
  background-size: 18px !important;
  background-repeat: no-repeat !important;
}
.control-picker {
  width: min(420px, calc(100vw - 32px));
  max-height: 85svh;
  padding: 22px;
  border: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.control-picker::backdrop {
  background: #20211e99;
  backdrop-filter: blur(3px);
}
.control-picker .picker-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.control-picker .picker-titlebar h2 {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
}
.control-picker button {
  border: 1px solid transparent;
  background: transparent;
  padding: 10px;
  min-height: 44px;
  font-size: 13px;
  color: var(--ink);
}
.control-picker .picker-close {
  min-height: 36px;
  padding: 8px;
  font-size: 12px;
  text-decoration: underline;
}
.control-picker button:hover:not(:disabled) {
  background: #dedcd2;
}
.control-picker button:disabled {
  opacity: 0.3;
  cursor: default;
}
.picker-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.picker-nav > button:first-child,
.picker-nav > button:last-child {
  font-size: 22px;
}
.picker-nav > div {
  display: flex;
}
.picker-month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.picker-weekdays,
.picker-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}
.picker-weekdays {
  text-align: center;
  font-size: 11px;
  margin-bottom: 8px;
  color: var(--muted);
}
.control-picker .picker-day-grid button {
  padding: 7px 0;
}
.control-picker button[aria-pressed="true"],
.control-picker button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
.control-picker button.picker-today {
  border-color: var(--red);
}
.picker-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.picker-options {
  display: grid;
  gap: 3px;
}
.picker-options button {
  text-align: left;
  padding: 12px;
}
.picker-time-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.control-picker h3 {
  font-family: var(--body);
  font-size: 12px;
  margin: 18px 0 8px;
}
.control-picker .picker-time-value {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
}
.control-picker .picker-apply {
  margin-top: 20px;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
}
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="file"]::file-selector-button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 14px;
  margin-right: 12px;
  font: inherit;
  cursor: pointer;
}
.hero-bottom {
  position: absolute;
  bottom: 42px;
  left: 4.2%;
  right: 4.2%;
  display: flex;
  justify-content: space-between;
  align-items: end;
  z-index: 4;
}
.mini-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.hero-intro p {
  font-size: 14px;
  margin: 15px 0 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 52px;
  padding: 17px 23px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.red {
  background: var(--red);
  color: #fff;
}
.light {
  background: var(--paper);
  color: var(--ink);
}
.outline {
  border-color: var(--line);
  background: transparent;
}
.black {
  background: var(--ink);
  color: var(--paper);
}
.scroll-cue {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-left: 130px;
}
.scroll-cue b {
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 400;
}
.hero-caption {
  font-size: 8px;
  letter-spacing: 1px;
  line-height: 1.8;
  text-align: right;
}
.art-credit {
  position: absolute;
  bottom: 12px;
  right: 4.2%;
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--muted);
}
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 1px;
}
.ticker > div {
  width: max-content;
  display: flex;
  animation: marquee 45s linear infinite;
}
.ticker {
  background:
    repeating-linear-gradient(125deg, transparent 0 38px, #ffffff04 39px 40px),
    #20211e;
  border-block: 3px solid var(--red);
  text-transform: uppercase;
}
.ticker-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100vw;
  gap: 24px;
  padding-inline: 24px;
}
.ticker .ticker-group i {
  padding: 0;
}
.ticker i {
  color: var(--red);
  font-style: normal;
  padding: 0 35px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.section {
  padding: 70px 6% 100px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 55px;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
}
.intro h2 span {
  color: #85877d;
}
.intro-text {
  max-width: 385px;
  padding-top: 8px;
  color: var(--muted);
}
.intro-text .lead {
  font-size: 23px;
  color: var(--ink);
  line-height: 1.4;
}
.text-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 0;
  border-bottom: 1px solid;
  font-size: 12px;
  color: var(--ink);
}
.dojo-image {
  height: 510px;
  background: #242620;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.dojo-image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.72;
}
.dojo-image > div {
  position: absolute;
  bottom: 35px;
  left: 35px;
  color: var(--paper);
}
.dojo-image small {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.dojo-image strong {
  display: block;
  font-family: var(--display);
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  margin-top: 15px;
}
.dark {
  background: var(--ink);
  color: var(--paper);
}
.dark .section-label {
  border-color: #4c4d46;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 45px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  font-size: 13px;
  max-width: 320px;
  color: var(--muted);
}
.dark .section-heading p {
  color: #abada1;
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.training-card {
  padding: 32px;
  border: 1px solid #4c4d46;
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.training-card + .training-card {
  border-left: 0;
}
.training-card > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #abada1;
}
.training-card h3 {
  font-size: 66px;
  margin: 38px 0 15px;
}
.training-card p {
  font-size: 12px;
  max-width: 240px;
  position: relative;
  z-index: 1;
  color: #c4c5ba;
}
.training-card > b {
  position: absolute;
  right: 18px;
  bottom: 0;
  font-size: 95px;
  color: #ffffff08;
}
.training-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 25px;
}
.training-foot p {
  margin: 0;
  font-size: 12px;
  color: #abada1;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.content-card {
  min-width: 0;
}
.content-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #d9d7cd;
  filter: grayscale(0.8);
  transition: filter 0.3s;
}
.content-card:hover img {
  filter: grayscale(0);
}
.content-card h3 {
  font-size: 32px;
  margin: 20px 0 8px;
}
.content-card p {
  font-size: 12px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  font-size: 10px;
  padding: 6px 9px;
  background: #deded5;
  border-radius: 3px;
  white-space: nowrap;
}
.badge.active,
.badge.approved,
.badge.paid,
.badge.completed {
  background: #dce7d8;
  color: #315e28;
}
.badge.pending,
.badge.placed,
.badge.processing {
  background: #f4e7bd;
  color: #72531b;
}
.badge.declined,
.badge.inactive,
.badge.cancelled {
  background: #f3d8d3;
  color: #912d21;
}
.community-callout {
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 0;
  margin: 35px 0 70px;
}
.large-kanji {
  font-size: 80px;
  color: var(--red);
}
.community-callout p {
  font-size: 23px;
  margin: 0;
  line-height: 1.35;
}
.honours {
  display: grid;
  gap: 32px;
}
.honours h3 {
  font-size: 60px;
  margin: 20px 0 0;
}
.award-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.award-item {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.award-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 24px;
}
.award-item h4 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.1;
}
.award-item p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.award-item small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}
.events {
  background: #e4e2d9;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tabs button {
  background: none;
  border: 1px solid var(--line);
  padding: 13px 20px;
  min-height: 44px;
  font-size: 12px;
}
.tabs button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.event-row {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #c4c3b8;
}
.event-date {
  font-family: var(--display);
  font-size: 44px;
  width: 95px;
  flex-shrink: 0;
}
.event-date small {
  font-family: var(--body);
  font-size: 9px;
  display: block;
  letter-spacing: 1px;
}
.event-row h3 {
  font-size: 34px;
  margin: 0 0 12px;
}
.event-row p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.event-row img {
  width: 140px;
  height: 95px;
  object-fit: cover;
  margin-left: auto;
}
@media (min-width: 761px) {
  .event-row:has(img) {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: clamp(28px, 4vw, 64px);
    row-gap: 20px;
    padding: 40px 0;
    align-items: start;
  }
  .event-row:has(img) .event-date {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    align-self: end;
  }
  .event-row:has(img) > div:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
  }
  .event-row:has(img) img {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #d9d7cd;
    margin: 0;
    align-self: center;
  }
  .event-row h3 {
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .event-row p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
  }
}
.empty {
  padding: 30px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.join-section {
  background: var(--red);
  color: var(--paper);
  padding: 65px 6%;
}
.join-section h2 {
  font-size: clamp(90px, 15vw, 220px);
  line-height: 0.87;
  margin: 35px 0 50px;
}
.join-section h2 em {
  color: #20211e;
}
.join-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.join-bottom p {
  font-size: 13px;
  margin: 0;
}
.price-block strong {
  font-size: 29px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.price-block small {
  font-size: 8px;
  letter-spacing: 1px;
}
.price-block > span {
  font-size: 11px;
  line-height: 1.7;
}
.footer {
  padding: 50px 6% 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-top p {
  font-size: 18px;
}
.footer-top > a:last-child {
  font-size: 12px;
  border-bottom: 1px solid;
  padding-bottom: 10px;
}
.footer-info {
  display: flex;
  gap: 100px;
  margin: 40px 0;
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion .reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.motion .reveal.visible {
  opacity: 1;
  transform: none;
}
[hidden] {
  display: none !important;
}
/* Member and admin workspace */
.portal {
  max-width: 1350px;
  margin: auto;
  min-height: calc(100svh - 100px);
  padding: 45px 5% 100px;
}
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1050px;
  margin: 25px auto;
  gap: 80px;
  align-items: center;
}
.auth-art {
  background: var(--ink);
  color: var(--paper);
  padding: 40px;
  min-height: 540px;
  position: relative;
  overflow: hidden;
}
.auth-art h2 {
  font-size: 80px;
  position: relative;
  z-index: 2;
}
.auth-art h2 span {
  color: var(--red);
}
.auth-art img {
  position: absolute;
  bottom: -35px;
  right: -35px;
  width: 90%;
  opacity: 0.65;
}
.auth-form h1 {
  font-size: 60px;
  margin-bottom: 15px;
}
.auth-form p {
  font-size: 13px;
  color: var(--muted);
}
form {
  display: grid;
  gap: 17px;
}
label {
  font-size: 12px;
  display: grid;
  gap: 8px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #bbbdb1;
  background: #f7f6f0;
  border-radius: 0;
  min-height: 47px;
  padding: 12px;
  color: var(--ink);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-error {
  color: #9d2019;
  font-size: 13px;
  margin: 0;
}
.field-error {
  display: block;
  color: #9d2019;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.field-error[hidden] {
  display: none;
}
input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #9d2019;
}
.setup-form {
  max-width: 680px;
  margin: 40px auto;
}
.profile-extras {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
}
.profile-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}
.registration-correction {
  display: grid;
  gap: 12px;
}
.registration-correction[hidden] {
  display: none;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.auth-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 12px;
}
.auth-links a {
  border-bottom: 1px solid;
}
.portal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.portal-title h1 {
  font-size: 64px;
  margin: 8px 0;
}
.portal-title p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.workspace-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 28px;
  overflow-x: auto;
}
.workspace-tabs button {
  border: 0;
  background: transparent;
  padding: 12px 18px;
  white-space: nowrap;
  min-height: 44px;
  font-size: 12px;
}
.workspace-tabs button.active {
  background: var(--ink);
  color: var(--paper);
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}
.workspace-heading h2 {
  font-size: 36px;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.stat {
  border: 1px solid var(--line);
  padding: 24px;
  background: #f5f4ed;
}
.stat small {
  display: block;
  color: var(--muted);
  margin-bottom: 14px;
}
.stat strong {
  font-size: 31px;
  font-weight: 500;
}
.notice {
  padding: 20px;
  border-left: 3px solid var(--red);
  background: #e8e4d8;
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.7;
}
.data-list {
  display: grid;
  gap: 12px;
}
.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f6f5ef;
  border: 1px solid var(--line);
  padding: 20px;
}
.data-row h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 7px;
}
.data-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.small-button {
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 11px;
  min-height: 44px;
}
.small-button:hover {
  background: var(--ink);
  color: var(--paper);
}
.amount {
  font-size: 20px;
  white-space: nowrap;
}
.payment-history {
  margin-top: 35px;
}
.payment-history h3 {
  font-size: 28px;
}
.subtle {
  color: var(--muted);
  font-size: 12px;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product {
  border: 1px solid var(--line);
  padding: 20px;
  background: #f6f5ef;
}
.product img,
.product-placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #e3e2d9;
  margin-bottom: 20px;
}
.product-placeholder {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 65px;
  color: #9b9f8d;
}
.product h3 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0;
}
.product p {
  font-size: 12px;
  color: var(--muted);
}
.product .price {
  font-size: 23px;
  margin: 20px 0;
}
.product .button {
  width: 100%;
}
.public-shop {
  border-top: 1px solid var(--line);
}
.public-shop .product {
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.public-shop .catalog-media {
  margin-bottom: 22px;
}
.public-shop .catalog-media img,
.public-shop .product-placeholder {
  aspect-ratio: 4 / 3;
  margin: 0;
}
.public-shop .product-placeholder {
  position: relative;
  background: #e5e3da;
  font-size: 88px;
  color: #7c8170;
}
.public-shop .product-placeholder small {
  position: absolute;
  bottom: 18px;
  font-family: var(--body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.public-shop .product h3 {
  font-family: var(--display);
  font-size: 32px;
}
.public-shop .product p {
  flex: 1;
  font-size: 13px;
}
.public-shop .product .subtle {
  font-size: 12px;
}
.public-shop .price {
  font-family: var(--display);
  font-size: 32px;
}
.catalog-note {
  max-width: 750px;
  font-size: 12px;
  color: var(--muted);
  margin: 25px 0 0;
}
.catalog-all {
  margin-top: 28px;
}
.section.catalog-page {
  padding-top: 45px;
  min-height: 100svh;
}
.catalog-page .section-heading {
  margin-top: 35px;
}
.catalog-page h1 {
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.95;
  margin: 18px 0 0;
}
@media (max-width: 760px) {
  .section.catalog-page {
    padding-top: 30px;
  }
}
@media (max-width: 760px) {
  .public-shop .shop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .public-shop .product {
    padding: 20px;
  }
  .public-shop .product h3 {
    font-size: 30px;
  }
  .public-shop .product .price {
    font-size: 30px;
  }
}
dialog {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 28px;
  width: min(560px, calc(100% - 24px));
  max-height: 90svh;
  overflow: auto;
  box-shadow: 0 20px 100px #0004;
}
dialog::backdrop {
  background: #161913b0;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.icon-button {
  border: 0;
  background: transparent;
  min-height: 44px;
  min-width: 44px;
  font-size: 26px;
}
dialog h2 {
  font-size: 44px;
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.receipt-image {
  max-height: 400px;
  object-fit: contain;
  margin: 20px auto;
}
.qr {
  max-width: 250px;
  max-height: 300px;
  object-fit: contain;
  margin: 15px auto;
  background: white;
}
.upload-note {
  font-size: 11px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 40px #0003;
  padding: 17px 24px;
  z-index: 100;
  max-width: calc(100% - 30px);
  font-size: 13px;
  transition: transform 0.3s;
  pointer-events: none;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: end;
}
.inline-form label {
  flex: 1;
}
.filter-input {
  max-width: 350px;
  margin-bottom: 20px;
}
.loading {
  padding: 60px;
  text-align: center;
}
.source-link {
  font-size: 10px;
  text-decoration: underline;
}
@media (min-width: 1600px) {
  .hero-athlete {
    right: 4%;
  }
  .sun {
    right: 12%;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }
  .hero {
    min-height: 720px;
  }
  .sun {
    width: 430px;
    height: 430px;
    right: 5%;
    top: 25%;
  }
  .hero-copy {
    padding-top: 55px;
  }
  .hero-athlete {
    height: 75%;
    width: 62%;
  }
  .scroll-cue {
    display: none;
  }
  .hero-caption {
    display: none;
  }
  .intro-grid {
    gap: 35px;
  }
  .training-card {
    padding: 24px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading p {
    max-width: 230px;
  }
  .auth-wrap {
    gap: 40px;
  }
  .auth-art h2 {
    font-size: 65px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 20px;
  }
  .header {
    height: 80px;
    padding: 0 5%;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand-symbol {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  .desktop-nav,
  .login-link {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  #mobile-menu {
    position: absolute;
    z-index: 19;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 5%;
    border-bottom: 1px solid var(--line);
  }
  #mobile-menu a {
    display: block;
    padding: 15px;
    font-size: 17px;
  }
  .hero {
    height: 820px;
    min-height: 0;
    max-height: none;
    padding: 30px 5%;
  }
  .hero-eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .hero-copy {
    padding-top: 32px;
  }
  .hero h1 {
    font-size: clamp(67px, 16vw, 120px);
    line-height: 0.94;
  }
  .sun {
    width: 290px;
    height: 290px;
    right: -35px;
    top: 255px;
  }
  .sun span {
    font-size: 28px;
    top: 40px;
    right: 40px;
  }
  .sun:after {
    inset: -15px;
  }
  .hero-athlete {
    width: 94%;
    height: 435px;
    right: -16px;
    bottom: 174px;
  }
  .hero-bottom {
    bottom: 35px;
    left: 5%;
    right: 5%;
  }
  .hero-intro p {
    font-size: 12px;
    margin: 10px 0 15px;
  }
  .hero-intro .mini-label {
    font-size: 7px;
  }
  .hero-intro .button {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 11px;
  }
  .art-credit {
    bottom: 205px;
    right: 5%;
    font-size: 5px;
  }
  .ticker {
    font-size: 22px;
    padding: 16px 0;
  }
  .ticker i {
    padding: 0 20px;
  }
  .section {
    padding: 45px 6% 60px;
  }
  .section-label {
    font-size: 7px;
    letter-spacing: 0.8px;
    margin-bottom: 35px;
    padding-bottom: 15px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  h2 {
    font-size: clamp(45px, 10.5vw, 70px);
  }
  .intro-grid h2 {
    margin-bottom: 5px;
  }
  .intro-text {
    max-width: 100%;
  }
  .intro-text .lead {
    font-size: 21px;
  }
  .intro-text p {
    font-size: 13px;
  }
  .dojo-image {
    height: 340px;
    margin-top: 25px;
  }
  .dojo-image > div {
    bottom: 22px;
    left: 22px;
  }
  .dojo-image strong {
    font-size: 42px;
  }
  .dojo-image small {
    font-size: 7px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading p {
    max-width: none;
    margin: 20px 0 0;
    font-size: 12px;
  }
  .training-grid {
    grid-template-columns: 1fr;
  }
  .training-card {
    min-height: 235px;
    padding: 25px;
  }
  .training-card + .training-card {
    border-left: 1px solid #4c4d46;
    border-top: 0;
  }
  .training-card h3 {
    font-size: 55px;
    margin: 25px 0 12px;
  }
  .training-card p {
    max-width: 85%;
    font-size: 12px;
  }
  .training-foot {
    align-items: start;
    flex-direction: column;
  }
  .training-foot .button {
    width: 100%;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .content-card h3 {
    font-size: 26px;
  }
  .community-callout {
    flex-wrap: wrap;
    margin-bottom: 45px;
  }
  .community-callout p {
    font-size: 20px;
    flex: 1;
  }
  .community-callout .text-link {
    margin-left: auto;
  }
  .large-kanji {
    font-size: 60px;
  }
  .honours {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .honours h3 {
    font-size: 49px;
    margin-bottom: 20px;
  }
  .award-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tabs {
    margin-top: 25px;
  }
  .event-row {
    gap: 15px;
    flex-wrap: wrap;
  }
  .event-date {
    width: 55px;
    font-size: 35px;
  }
  .event-row h3 {
    font-size: 27px;
  }
  .event-row > div:nth-child(2) {
    flex: 1;
  }
  .event-row img {
    width: 100%;
    height: 200px;
  }
  .join-section {
    padding: 45px 6%;
  }
  .join-section h2 {
    font-size: clamp(77px, 18vw, 130px);
    margin: 30px 0 35px;
  }
  .join-bottom {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .join-bottom .button {
    width: 100%;
  }
  .price-block strong {
    font-size: 30px;
  }
  .footer {
    padding: 35px 6% 25px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top p {
    font-size: 17px;
    margin: 0;
  }
  .footer-info {
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 20px;
    font-size: 8px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .portal {
    padding: 30px 5% 70px;
  }
  .auth-wrap {
    display: block;
    margin: 0;
  }
  .auth-art {
    display: none;
  }
  .auth-form {
    max-width: 450px;
    margin: auto;
  }
  .auth-form h1 {
    font-size: 52px;
  }
  .portal-title {
    align-items: start;
  }
  .portal-title h1 {
    font-size: 44px;
  }
  .portal-title .button {
    padding: 12px;
    min-height: 44px;
    gap: 10px;
  }
  .workspace-tabs {
    margin-inline: -5.5%;
    padding-inline: 5%;
    gap: 2px;
  }
  .workspace-tabs button {
    padding: 12px 15px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 15px 10px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat small {
    font-size: 9px;
  }
  .data-row {
    flex-direction: column;
    align-items: stretch;
    padding: 17px;
    gap: 15px;
  }
  .row-actions {
    justify-content: space-between;
  }
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .product {
    padding: 12px;
  }
  .product h3 {
    font-size: 15px;
  }
  .product .button {
    padding: 12px;
    gap: 10px;
  }
  .product .price {
    font-size: 20px;
  }
  .workspace-heading {
    flex-wrap: wrap;
  }
  .workspace-heading h2 {
    font-size: 32px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form label {
    min-width: 160px;
  }
  .notice {
    font-size: 12px;
  }
  .empty {
    padding: 22px;
  }
  .product-placeholder {
    font-size: 45px;
  }
}
/* Scroll choreography: native scrolling drives two pinned scenes. */
.hero-scroll {
  height: 270svh;
  position: relative;
}
.hero-scroll .hero {
  position: sticky;
  top: 0;
  height: 100svh;
  max-height: none;
  min-height: 700px;
}
.hero-scroll .hero h1 {
  font-size: clamp(90px, 11.7vw, 185px);
}
.hero-scroll .hero-athlete {
  width: 53%;
  right: -1%;
  transform-origin: 60% 50%;
}
@media (min-width: 761px) {
  .hero-scroll .hero-athlete.kick-ready {
    width: min(68vw, 120svh);
    height: 94%;
    right: 0;
    bottom: 4%;
  }
}
.hero-scroll .sun {
  top: 19%;
}
.hero-copy,
.hero-bottom,
.motion-words,
.ink-layer {
  will-change: transform, opacity;
}
.ink-layer {
  position: absolute;
  width: 100%;
  height: 80%;
  object-fit: contain;
  right: -9%;
  top: 12%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.scene-shade {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}
.motion-words {
  position: absolute;
  right: 7%;
  top: 30%;
  z-index: 4;
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
}
.motion-words > span,
.motion-words > small {
  font-size: 9px;
  letter-spacing: 2px;
}
.motion-words strong {
  font-family: var(--display);
  font-weight: 500;
  display: block;
  font-size: clamp(90px, 12vw, 180px);
  line-height: 0.88;
  margin: 25px 0;
}
.scroll-progress {
  position: absolute;
  right: 2%;
  top: 40%;
  z-index: 7;
  display: grid;
  gap: 12px;
  font-size: 8px;
  color: #969b8d;
}
.scroll-progress > div {
  height: 100px;
  width: 1px;
  background: #9b9d8255;
  margin: auto;
}
.scroll-progress i {
  display: block;
  width: 2px;
  height: 100%;
  background: var(--paper);
  transform-origin: top;
  transform: scaleY(0);
}
.belt-sweep {
  position: absolute;
  top: 42%;
  left: -10%;
  width: 120%;
  height: 140px;
  background: var(--red);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-110%);
  pointer-events: none;
}
.belt-sweep span {
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 90px);
  color: var(--paper);
  white-space: nowrap;
}
.training-scroll {
  height: 240svh;
}
.training-scroll #classes {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 760px;
  overflow: hidden;
  padding-top: 45px;
  padding-bottom: 35px;
}
.training-scroll .section-label {
  margin-bottom: 30px;
}
.training-scroll .section-heading {
  margin-bottom: 30px;
}
.training-scroll .section-heading h2 {
  font-size: clamp(48px, 5vw, 77px);
}
.training-scroll .training-grid {
  display: flex;
  width: max-content;
  will-change: transform;
}
.training-scroll .training-card {
  width: 46vw;
  min-height: 270px;
  flex: none;
  padding: 28px 35px;
}
.training-scroll .training-card h3 {
  margin-top: 25px;
}
.training-scroll .training-card p {
  max-width: 350px;
}
.training-scroll .training-foot {
  margin-top: 25px;
}
.training-scroll .reveal {
  opacity: 1;
  transform: none;
}
.settings-form,
#password-form {
  max-width: 600px;
}
.hero-scroll .art-credit {
  z-index: 7;
}
.source-link {
  display: block;
  margin-top: 9px;
}
.content-card .source-link {
  font-size: 9px;
}
.hero-scroll .scroll-cue {
  margin-left: 0;
}
.hero-scroll .hero-caption {
  margin-left: auto;
}
@media (max-width: 760px) {
  .hero-scroll {
    height: 230svh;
  }
  .hero-scroll .hero {
    min-height: 720px;
    height: 100svh;
  }
  .hero-scroll .hero h1 {
    font-size: clamp(63px, 16vw, 112px);
  }
  .hero-scroll .hero-athlete {
    width: 95%;
    height: 48%;
    bottom: 190px;
    right: -12%;
    transform-origin: 45% 50%;
  }
  .hero-scroll .sun {
    top: 32%;
    width: 270px;
    height: 270px;
  }
  .hero-scroll .hero-copy {
    padding-top: 30px;
  }
  .hero-scroll .hero-bottom {
    bottom: 35px;
  }
  .hero-scroll .art-credit {
    bottom: 215px;
  }
  .hero-scroll .hero-intro p {
    font-size: 12px;
  }
  .ink-layer {
    height: 65%;
    width: 150%;
    max-width: none;
    right: -30%;
    top: 20%;
  }
  .motion-words {
    top: 22%;
    right: 7%;
  }
  .motion-words strong {
    font-size: 85px;
  }
  .motion-words > span,
  .motion-words > small {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .belt-sweep {
    height: 100px;
  }
  .scroll-progress {
    right: 3%;
    top: 55%;
  }
  .training-scroll {
    height: 245svh;
  }
  .training-scroll #classes {
    min-height: 740px;
    padding-top: 35px;
  }
  .training-scroll .section-heading h2 {
    font-size: 49px;
  }
  .training-scroll .section-heading p {
    font-size: 11px;
    margin: 15px 0;
  }
  .training-scroll .training-card {
    width: 80vw;
    min-height: 250px;
    padding: 25px;
  }
  .training-scroll .training-card h3 {
    font-size: 55px;
  }
  .training-scroll .training-card p {
    font-size: 12px;
    max-width: 90%;
  }
  .training-scroll .training-card + .training-card {
    border-top: 1px solid #4c4d46;
    border-left: 0;
  }
  .training-scroll .training-foot {
    margin-top: 25px;
    gap: 17px;
  }
  .training-scroll .training-foot p {
    font-size: 11px;
  }
  .training-scroll .section-label {
    margin-bottom: 25px;
  }
  .training-scroll .section-heading {
    margin-bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-athlete,
  .sun {
    transform: none !important;
  }
  .hero-scroll,
  .training-scroll {
    height: auto;
  }
  .hero-scroll .hero,
  .training-scroll #classes {
    position: relative;
    height: auto;
    min-height: 800px;
  }
  .training-scroll #classes {
    min-height: 0;
  }
  .training-scroll .training-grid {
    display: grid;
    width: auto;
  }
  .training-scroll .training-card {
    width: auto;
  }
  .ink-layer,
  .motion-words,
  .scene-shade,
  .belt-sweep,
  .scroll-progress {
    display: none;
  }
}
.club-logo {
  width: 49px;
  height: 49px;
  object-fit: contain;
  border-radius: 50%;
}
.hero-scroll .hero h1 {
  font-size: clamp(85px, 10.7vw, 170px);
}
.hero h1 em {
  display: block;
}
.motion-words {
  color: var(--ink);
  left: 6%;
  right: auto;
  top: 23%;
}
.motion-words strong {
  font-size: clamp(90px, 10vw, 155px);
}
@media (max-width: 760px) {
  .club-logo {
    width: 40px;
    height: 40px;
  }
  .hero-scroll .hero h1 {
    font-size: clamp(63px, 16vw, 112px);
  }
  .motion-words {
    top: 11%;
    left: 6%;
    right: 6%;
  }
  .motion-words strong {
    font-size: 72px;
  }
  .motion-words > small {
    font-size: 6px;
  }
  .hero-scroll .scroll-cue {
    display: flex;
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .hero-scroll .scroll-cue span {
    display: none;
  }
}
#toast {
  visibility: hidden;
}
#toast.show {
  visibility: visible;
}
@media (max-width: 760px) and (max-height: 740px) {
  .hero-scroll .hero {
    min-height: 640px;
  }
  .hero-scroll .hero-copy {
    padding-top: 22px;
  }
  .hero-scroll .hero-athlete {
    height: 46%;
    bottom: 170px;
  }
  .hero-scroll .hero-bottom {
    bottom: 22px;
  }
  .hero-scroll .hero-intro p {
    margin: 7px 0 10px;
  }
  .hero-scroll .sun {
    top: 29%;
    width: 230px;
    height: 230px;
  }
}
/* SVG symbols stay consistent across mobile platforms. */
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
.menu-toggle .icon {
  width: 25px;
  height: 25px;
}
.icon-button .icon {
  width: 23px;
  height: 23px;
}
.ticker .icon {
  width: 23px;
  height: 23px;
  vertical-align: -2px;
}
.source-link .icon {
  width: 12px;
  height: 12px;
}
.event-date .icon {
  width: 32px;
  height: 32px;
}
.scroll-cue .icon {
  width: 21px;
  height: 21px;
}
.club-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 0;
  margin-left: -10px;
  margin-right: -10px;
}
.dojo-image > img {
  object-position: center 45%;
  filter: grayscale(0.75);
}
/* Training fills the pinned viewport with image-led panels. */
.training-scroll #classes {
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  min-height: 700px;
}
.training-scroll .section-label,
.training-scroll .section-heading,
.training-scroll .training-foot,
.training-progress {
  flex-shrink: 0;
}
.training-scroll .training-grid {
  flex: 1;
  min-height: 310px;
  max-height: 560px;
}
.training-scroll .training-card {
  width: 76vw;
  border-left: 1px solid #4c4d46;
  height: 100%;
  min-height: 310px;
  padding: 40px;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.training-scroll .training-card > span:first-child {
  position: absolute;
  left: 40px;
  top: 28px;
  z-index: 2;
}
.training-scroll .training-card + .training-card {
  border-left: 1px solid #4c4d46;
}
.training-scroll .training-card h3 {
  font-size: clamp(64px, 7vw, 105px);
  margin: 35px 0 20px;
  z-index: 2;
}
.training-scroll .training-card p {
  font-size: 14px;
  max-width: 36%;
  z-index: 2;
}
.training-scroll .training-card > b {
  z-index: 1;
  right: 46%;
  font-size: 85px;
  bottom: 25px;
}
.training-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.5);
  z-index: -1;
}
.training-photo-kumite {
  object-position: left center;
}
.settings-form {
  max-width: 720px;
}
.registration-copy,
#fees-preview {
  white-space: pre-line;
}
.training-card:has(.training-photo):after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #20211e 39%, #20211e12 77%);
  z-index: 0;
  pointer-events: none;
}
.training-caption {
  position: absolute;
  bottom: 26px;
  right: 25px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 8px #000;
}
.training-progress {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 23px 0 0;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #aeb0a5;
}
.training-progress > div {
  height: 2px;
  background: #41443a;
  flex: 1;
  overflow: hidden;
}
.training-progress i {
  display: block;
  background: var(--red);
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
}
.training-scroll .training-foot {
  margin-top: 23px;
}
.training-scroll .training-foot p {
  font-size: 12px;
}
.training-scroll .section-heading {
  margin-bottom: 25px;
}
@media (max-width: 760px) {
  .club-logo {
    width: 62px;
    height: 62px;
    margin-left: -8px;
    margin-right: -8px;
  }
  .training-scroll #classes {
    min-height: 680px;
    padding-top: 25px;
    padding-bottom: 24px;
  }
  .training-scroll .section-label {
    margin-bottom: 20px;
  }
  .training-scroll .section-heading h2 {
    font-size: 43px;
  }
  .training-scroll .section-heading p {
    font-size: 10px;
    margin-top: 11px;
  }
  .training-scroll .section-heading {
    margin-bottom: 20px;
  }
  .training-scroll .training-grid {
    min-height: 300px;
    max-height: 500px;
  }
  .training-scroll .training-card {
    width: 86vw;
    min-height: 300px;
    padding: 23px;
    justify-content: flex-end;
  }
  .training-scroll .training-card > span:first-child {
    left: 23px;
    top: 23px;
    font-size: 8px;
  }
  .training-scroll .training-card h3 {
    font-size: 60px;
    margin: 15px 0 10px;
  }
  .training-scroll .training-card p {
    max-width: 95%;
    font-size: 12px;
    margin-bottom: 15px;
  }
  .training-photo {
    width: 100%;
    height: 100%;
    filter: grayscale(0.4);
  }
  .training-card:has(.training-photo):after {
    background: linear-gradient(
      0deg,
      #20211e 2%,
      #20211ecf 42%,
      #20211e25 100%
    );
  }
  .training-scroll .training-card > b {
    display: none;
  }
  .training-caption {
    display: none;
  }
  .training-progress {
    margin-top: 17px;
    gap: 14px;
    font-size: 7px;
  }
  .training-scroll .training-foot {
    margin-top: 17px;
    gap: 13px;
  }
  .training-scroll .training-foot p {
    font-size: 10px;
  }
  .training-scroll .training-foot .button {
    min-height: 46px;
    padding: 13px 18px;
  }
  .training-scroll .training-foot {
    flex-direction: row;
    align-items: center;
  }
  .training-scroll .training-foot p {
    max-width: 48%;
  }
  .training-scroll .training-foot .button {
    width: auto;
    gap: 15px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .training-scroll #classes {
    height: auto;
    min-height: 0;
  }
  .training-scroll .training-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-height: none;
    flex: none;
  }
  .training-scroll .training-card {
    width: 100%;
    min-height: 330px;
  }
  .training-scroll .training-card + .training-card {
    border-left: 1px solid #4c4d46;
    border-top: 0;
  }
  .training-progress {
    display: none;
  }
}
.story {
  max-width: 1200px;
  margin: auto;
  padding: 70px 6%;
}
.story h1 {
  font-size: clamp(55px, 7vw, 96px);
  max-width: 900px;
  margin: 30px 0 20px;
}
.story-detail {
  font-size: 13px;
  color: var(--muted);
}
.story-image {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  margin: 40px 0;
}
.story-body {
  max-width: 750px;
  margin: auto;
  font-size: 17px;
  line-height: 1.8;
}
.story-actions {
  margin-top: 40px;
}
.story-actions p {
  font-size: 13px;
}
.event-row h3 a:hover {
  color: var(--red);
}
.event-row .text-link {
  padding: 10px 0;
  font-size: 11px;
}
@media (max-width: 760px) {
  .story {
    padding: 40px 6%;
  }
  .story-image {
    margin: 25px 0;
    min-height: 250px;
    object-fit: cover;
  }
  .story-body {
    font-size: 15px;
  }
  .story .story-detail {
    font-size: 12px;
  }
}
.ticker .icon {
  width: 18px;
  height: 18px;
}
.ticker i {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
@media (max-width: 760px) {
  .ticker .icon {
    width: 11px;
    height: 11px;
  }
  .ticker i {
    padding: 0 16px;
  }
}

.payment-allocations {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 16px;
}
.payment-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.payment-group > p {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 900px), (pointer: coarse) {
  /* Keep mobile browsers from zooming when a form control receives focus. */
  body input,
  body select,
  body textarea {
    font-size: 16px;
  }
}

.header[hidden] {
  display: none;
}
.admin-page .portal {
  min-height: 100svh;
  padding-top: 0;
}
.picker-manual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}
.picker-manual label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}
.picker-manual input {
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 16px;
}
.picker-manual .form-error {
  grid-column: 1 / -1;
}
