:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --text: #e8e4dc;
  --red: #c53030;
  --card: #111;
  --line: rgba(232, 228, 220, .1);
  --line-soft: rgba(232, 228, 220, .06);
  --muted: rgba(232, 228, 220, .66);
  --muted-2: rgba(232, 228, 220, .82);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #f06a6a; outline-offset: 3px; }
.red { color: var(--red); }
.italic { font-style: italic; }
.kanji { font-family: 'Noto Serif JP', serif; }
.display { font-family: 'DM Serif Display', 'Cormorant Garamond', serif; font-weight: 400; }
.up { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; }
.card { background: var(--card); border: 1px solid rgba(232, 228, 220, .08); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, .95);
  backdrop-filter: blur(12px);
}
.nav-brand { display: flex; align-items: baseline; gap: 14px; }
.nav-brand .name, .footer-brand .name { font-family: 'DM Serif Display', serif; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; }
.nav-brand .est, .footer-brand .est { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-contact { display: none; }
.navlink { position: relative; padding-bottom: 4px; }
.navlink:hover { color: var(--red); }
.navlink::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--red); transition: width .2s ease; }
.navlink:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; padding: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn-fill { border-color: var(--red); background: var(--red); color: #fff; }
.btn-fill:hover { border-color: #a52525; background: #a52525; color: #fff; }

.hero { position: relative; width: 100%; max-width: 1920px; height: min(640px, calc(100svh - 74px)); min-height: 540px; margin-inline: auto; overflow: hidden; background: #090909; }
.hero-img { position: absolute; top: 50%; right: 0; width: min(50%, 711px); height: auto; max-height: 100%; transform: translateY(-50%); object-fit: contain; object-position: right center; filter: grayscale(.08) contrast(1.04); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #090909 0%, #090909 42%, rgba(9,9,9,.72) 50%, rgba(9,9,9,0) 68%); pointer-events: none; }
.hero-body { position: absolute; left: 56px; bottom: 46px; z-index: 2; width: min(48%, 680px); }
.hero-eyebrow { margin-bottom: 28px; color: var(--muted-2); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(72px, 9vw, 132px); line-height: .82; letter-spacing: .01em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.hero-sub { max-width: 620px; margin: 0; color: rgba(232, 228, 220, .86); font-size: clamp(17px, 1.45vw, 22px); line-height: 1.5; }
.cta-row { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hero-facts span {
  padding: 9px 12px;
  border: 1px solid rgba(232, 228, 220, .14);
  background: rgba(10, 10, 10, .46);
  color: rgba(232, 228, 220, .76);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ticker { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; padding: 20px 56px; border-bottom: 1px solid var(--line); }
.ticker span { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.ticker .sep { color: var(--red); }

.section { max-width: 1500px; margin-inline: auto; padding: 88px 48px; }
.section-border-top { border-top: 1px solid var(--line); }
.section-eyebrow { margin-bottom: 16px; color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.section-eyebrow, .disc-tag, .promise-discipline { color: #e35d5d; }
.section-title { margin: 0; font-family: 'DM Serif Display', serif; font-size: 72px; font-weight: 400; line-height: .95; letter-spacing: -.015em; }
.section-title { max-width: 100%; overflow-wrap: anywhere; text-wrap: balance; }
.section-head { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 44px; }
.section-head p { max-width: 650px; margin: 0; color: var(--muted-2); font-size: 17px; line-height: 1.6; }
.section > *, .section-head > *, .disc-grid > *, .teachers-grid > * { min-width: 0; }

.disc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.disc-card { overflow: hidden; }
.disc-img-wrap { position: relative; height: 320px; overflow: hidden; }
.disc-img-wrap img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.24) contrast(1.05); }
.disc-body { padding: 32px; }
.disc-num, .disc-levels { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.disc-num { margin-bottom: 10px; }
.disc-name { margin: 0 0 6px; font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 500; }
.disc-tag { margin: 0 0 18px; color: #e35d5d; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; }
.disc-desc { margin: 0 0 24px; color: var(--muted-2); line-height: 1.6; }
.disc-levels { padding-top: 18px; border-top: 1px solid var(--line); }
.trial-callout { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 28px; border-color: rgba(227, 93, 93, .5); padding: 26px 28px; background: linear-gradient(105deg, rgba(197, 48, 48, .2), rgba(197, 48, 48, .04) 58%, var(--card)); box-shadow: inset 4px 0 0 var(--red); }
.trial-mark { color: var(--red); font-family: 'Noto Serif JP', serif; font-size: 48px; line-height: 1; }
.trial-callout h3 { margin: 0 0 5px; font-family: 'DM Serif Display', serif; font-size: 28px; font-weight: 400; }
.trial-callout p { margin: 0; color: var(--muted-2); line-height: 1.5; }

.schedule-cards { display: grid; width: 100%; max-width: 100%; min-width: 0; grid-template-columns: repeat(5, minmax(165px, 1fr)); gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; }
.schedule-swipe { display: none; margin: 0 0 10px; color: #e35d5d; font-size: 12px; font-weight: 800; }
.schedule-cards article {
  position: relative;
  overflow: hidden;
  min-height: 175px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}
.schedule-cards article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(232, 228, 220, .3));
}
.schedule-cards h3 {
  margin: 0 0 12px;
  font-family: 'DM Serif Display', serif;
  font-size: 23px;
  font-weight: 400;
}
.schedule-cards p {
  margin: 0 0 5px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.35;
}

.sched { overflow-x: auto; border: 1px solid var(--line); }
.sched-row { display: grid; grid-template-columns: 120px repeat(5, minmax(120px, 1fr)); min-width: 780px; border-bottom: 1px solid var(--line-soft); }
.sched-row:last-child { border-bottom: 0; }
.sched-head { border-bottom: 1px solid var(--line); }
.sched-head > div { padding: 20px 16px; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.sched-time { padding: 24px 16px; border-right: 1px solid var(--line); color: var(--red); font-family: 'JetBrains Mono', monospace; }
.sched-time .dur { display: block; margin-top: 2px; color: rgba(232,228,220,.4); font-size: 11px; }
.sched-cell { padding: 24px 16px; color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 500; }
.sched-cell.empty { color: rgba(232,228,220,.15); }
.prices { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 10px; margin-top: 24px; overflow-x: auto; }
.price-card { padding: 22px; }
.price-label { margin-bottom: 14px; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.price-amount { display: flex; align-items: baseline; gap: 4px; }
.price-amount .num { font-family: 'DM Serif Display', serif; font-size: 56px; line-height: .9; }
.price-amount .unit { color: var(--muted); font-family: 'Cormorant Garamond', serif; font-size: 20px; }
.price-sub { margin-top: 8px; color: var(--muted-2); font-size: 13px; }

.sensei { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 760px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sensei-img { position: relative; overflow: hidden; background: #000; }
.sensei-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.65) contrast(1.15) brightness(.78); }
.sensei-img-kanji { position: absolute; bottom: 32px; left: 32px; color: var(--red); font-family: 'Noto Serif JP', serif; font-size: 120px; line-height: .9; }
.sensei-body { display: flex; flex-direction: column; justify-content: center; padding: 80px 64px; }
.sensei-h { margin: 0 0 20px; font-family: 'DM Serif Display', serif; font-size: 68px; font-weight: 400; line-height: .95; letter-spacing: -.015em; }
.sensei-copy { margin: 0 0 28px; color: var(--muted-2); font-size: 15px; line-height: 1.7; }
.sensei-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.sensei-card { padding-left: 20px; border-left: 2px solid var(--red); }
.sensei-dan { color: var(--red); font-family: 'DM Serif Display', serif; font-size: 72px; line-height: .9; }
.sensei-name { margin-top: 6px; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; }
.sensei-role { margin-top: 4px; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.sensei-card p { color: var(--muted-2); font-size: 13px; line-height: 1.6; }
.sensei-quote { margin: 0; padding-left: 24px; border-left: 2px solid var(--red); color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; line-height: 1.5; }

.teachers-section { background: linear-gradient(180deg, rgba(197, 48, 48, .04), transparent 30%), var(--bg); }
.teachers-feature {
  position: relative;
  overflow: hidden;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: #000;
}
.teachers-feature img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: none;
}
.teachers-caption {
  margin: 0 0 28px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.teachers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.teacher-card { overflow: hidden; display: grid; grid-template-rows: 260px auto; min-height: 590px; }
.teacher-photo { overflow: hidden; background: #000; }
.teacher-photo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.55) contrast(1.12) brightness(.82); }
.teacher-body { padding: 24px; }
.teacher-body h3 { margin: 14px 0 14px; font-family: 'DM Serif Display', serif; font-size: clamp(34px, 4vw, 58px); font-weight: 400; line-height: .95; }
.teacher-body p { margin: 0; color: var(--muted-2); line-height: 1.65; }
.achievement-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: rgba(232, 228, 220, .74);
  list-style: none;
}
.achievement-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}
.achievement-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--red);
}
.team-card .teacher-photo img { filter: grayscale(.35) contrast(1.08) brightness(.8); }
.teachers-quote { max-width: 760px; margin-top: 34px; }
.team-section { padding-top: 52px; padding-bottom: 52px; }
.team-text-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 30px; align-items: start; padding: clamp(24px, 4vw, 46px); }
.team-symbol { color: var(--red); font-family: 'DM Serif Display', serif; font-size: 105px; line-height: .7; }
.team-text-content { max-width: 850px; }
.team-text-content h2 { margin: 10px 0 14px; font-family: 'DM Serif Display', serif; font-size: clamp(40px, 5vw, 66px); font-weight: 400; line-height: .95; }
.team-text-content > p { max-width: 760px; margin: 0; color: var(--muted-2); font-size: 17px; line-height: 1.65; }
.team-text-content .achievement-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promises-filters { margin-top: 0; }
.promises-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.promise-card { overflow: hidden; }
.promise-image-wrap { position: relative; }
.promise-image-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.08) contrast(1.03); }
.profile-featured { position: absolute; top: 14px; left: 14px; border-radius: 99px; padding: 8px 11px; background: var(--red); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.promise-body { padding: 24px; }
.promise-discipline { color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.promise-body h3 { margin: 8px 0 12px; font-family: 'DM Serif Display', serif; font-size: clamp(31px, 4vw, 46px); font-weight: 400; line-height: 1; }
.promise-body > p { margin: 0; color: var(--muted-2); line-height: 1.6; }
.promise-achievements { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.promise-achievements strong { color: var(--text); font-size: 12px; text-transform: uppercase; }
.promise-achievements ul { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; color: var(--muted-2); list-style: none; }
.promise-achievements li { position: relative; padding-left: 14px; }
.promise-achievements li::before { content: ""; position: absolute; top: .65em; left: 0; width: 5px; height: 5px; background: var(--red); }
.promises-empty { grid-column: 1 / -1; margin: 0; border: 1px dashed var(--line); padding: 34px; color: var(--muted-2); text-align: center; }
.competitor-group-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 48px 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.competitors-section > .section-head { grid-template-columns: minmax(480px, .9fr) minmax(320px, 1.1fr); }
.competitors-section > .section-head .section-title { font-size: clamp(54px, 5.6vw, 82px); overflow-wrap: normal; text-wrap: balance; }
.competitor-group-head h3 { margin: 0; font: 400 clamp(31px, 4vw, 52px)/1 'DM Serif Display', serif; }
.competitor-group-head span { color: var(--muted-2); font: 10px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.competitors-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.competitors-veterans { grid-template-columns: repeat(5, minmax(0, 260px)); }
.competitor-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); color: var(--text); background: #111; text-decoration: none; }
.competitor-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; object-fit: cover; filter: grayscale(.1) contrast(1.03); transition: transform .35s ease, filter .35s ease; }
.competitor-card > span { display: grid; gap: 7px; padding: 16px; }
.competitor-card strong { font: 400 clamp(22px, 2.4vw, 31px)/1 'DM Serif Display', serif; }
.competitor-card small { color: var(--red); font: 9px 'JetBrains Mono', monospace; letter-spacing: .11em; text-transform: uppercase; }
.competitor-card:hover img { transform: scale(1.035); filter: grayscale(0) contrast(1.02); }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq-grid article { padding: clamp(22px, 3vw, 34px); }
.faq-grid h3 { margin: 0 0 12px; color: var(--text); font-family: 'DM Serif Display', serif; font-size: clamp(25px, 3vw, 34px); font-weight: 400; line-height: 1.05; }
.faq-grid p { margin: 0; color: var(--muted-2); line-height: 1.65; }

.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.gallery-filters { display: flex; gap: 8px; margin: -24px 0 28px; }
.gallery-filters button { min-height: 40px; padding: 0 18px; border: 1px solid var(--line); background: transparent; color: var(--muted-2); font: inherit; font-weight: 700; cursor: pointer; }
.gallery-filters button.active { border-color: var(--red); background: var(--red); color: #fff; }
.gallery-figure[hidden] { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 4px; gap: 8px; align-items: start; }
.gallery-figure { display: block; width: 100%; position: relative; margin: 0; overflow: hidden; border: 0; padding: 0; background: #111; cursor: zoom-in; }
.gallery-figure img { display: block; width: 100%; height: auto; object-fit: initial; filter: grayscale(.12) contrast(1.03); transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.gallery-figure:hover img { transform: scale(1.04); }
.gallery-pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.gallery-pagination p { margin: 0; color: var(--muted-2); font-size: 13px; }
.gallery-pagination .btn { min-width: 230px; }
.gallery-pagination .btn:disabled { border-color: var(--line); color: var(--muted); cursor: default; opacity: .75; }
.gallery-pagination .btn:disabled:hover { background: transparent; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.contact-line { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.contact-line:first-child { border-top: 0; }
.contact-line .label { min-width: 110px; padding-top: 4px; color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.contact-line .value { color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 16px; letter-spacing: .02em; }
.contact-link { text-decoration: underline; text-decoration-color: rgba(197,48,48,.7); text-underline-offset: 4px; }
.contact-link:hover { color: #fff; text-decoration-color: var(--red); }
.map-section { display: grid; grid-template-columns: minmax(300px, .42fr) minmax(0, .58fr); min-height: 460px; border: 1px solid var(--line); }
.map-copy { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: clamp(28px, 4vw, 46px); border: 0; }
.map-button { align-self: flex-start; margin-top: 18px; }
.map-frame { position: relative; min-height: 540px; overflow: hidden; border: 0; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.45) contrast(1.05) brightness(.82); }
.clean-map iframe { filter: grayscale(.35) contrast(1.02) brightness(.9); }
.map-marker { position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -100%); pointer-events: none; }
.map-marker .pill { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 4px; background: var(--red); color: #fff; box-shadow: 0 18px 40px -10px rgba(197,48,48,.7); white-space: nowrap; }
.map-marker .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.map-marker .name { font-family: 'DM Serif Display', serif; font-size: 14px; letter-spacing: .06em; }
.map-marker .arrow { width: 0; height: 0; margin: 0 auto; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--red); }
.map-marker .ground { width: 12px; height: 12px; margin: 4px auto 0; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(197,48,48,.25); }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 40px 56px 32px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: baseline; gap: 12px; }
.footer-copy { color: rgba(232,228,220,.68); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.88); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border: 1px solid var(--line); }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid var(--line); background: rgba(10,10,10,.9); color: var(--text); font-size: 28px; cursor: pointer; }
.lightbox-open { overflow: hidden; }
.nav-open { overflow: hidden; }

.admin-page { background: var(--bg); }
.admin-main { max-width: 1180px; margin: 0 auto; padding: 80px 18px; }
.admin-panel { margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); background: var(--card); }
.admin-panel h1, .admin-panel h2 { margin: 0 0 18px; font-family: 'DM Serif Display', serif; font-size: 44px; font-weight: 400; }
.kicker { margin: 0 0 10px; color: var(--red); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.upload-form, .content-form { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(220px, 1fr) auto; gap: 10px; }
.content-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.content-form label { display: grid; gap: 7px; color: var(--muted-2); font-weight: 700; }
.form-section, .section-images { grid-column: 1 / -1; }
.editor-fields { display: contents; }
.form-section { margin: 16px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.section-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.image-picker { padding: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.image-picker img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.image-picker input[type='file'] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.image-picker small { overflow-wrap: anywhere; color: var(--muted-2); font-weight: 500; }
input[type='text'], .upload-form input, textarea { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 0; padding: 10px 12px; background: rgba(255,255,255,.06); color: white; font: inherit; }
textarea { resize: vertical; line-height: 1.45; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.button.primary { border-color: var(--red); background: var(--red); color: #fff; }
.button.small { min-height: 36px; font-size: 12px; }
.button.danger { color: #ff8a8a; }
.status { min-height: 24px; margin: 12px 0 0; color: var(--muted-2); font-weight: 700; }
.admin-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.admin-photo { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px; border: 1px solid var(--line); background: var(--card); }
.admin-photo.dragging { opacity: .45; border-color: var(--red); }
.drag-handle { position: absolute; padding: 5px 9px; background: rgba(0,0,0,.8); cursor: grab; font-size: 22px; }
.gallery-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 30px 0 12px; }
.gallery-tools p { margin: 0; color: var(--muted-2); }
.gallery-tools-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-photo img { width: 112px; height: 112px; object-fit: cover; }
.admin-photo label { display: flex; gap: 8px; align-items: center; margin: 9px 0; color: var(--muted-2); font-weight: 700; }
.photo-filename { margin: 3px 0 10px; overflow-wrap: anywhere; color: var(--text); font-size: 13px; font-weight: 700; }
.photo-categories { display: flex; gap: 12px; flex-wrap: wrap; }
.photo-categories label { margin: 0; }
.photo-position { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; min-width: 30px; height: 30px; place-items: center; border-radius: 99px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 900; }
.category-fields { display: flex; gap: 14px; align-items: center; min-width: 210px; border: 1px solid var(--line); color: var(--muted-2); }
.category-fields label { display: flex; gap: 6px; align-items: center; }
.row-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.position-control { margin: 0 auto 0 0 !important; }
.position-control .position-input { width: 68px !important; min-height: 36px !important; padding: 5px 7px !important; color: inherit; }
.photo-save-state { align-self: center; margin-left: auto; color: #7a8495; font-size: 11px; font-weight: 800; }
.photo-save-state.saved { color: #267248; }
.photo-save-state.error { color: #bd3030; }

/* Administrador */
.admin-page { min-height: 100vh; background: #f3f4f6; color: #172033; }
.admin-dashboard { min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 70; display: flex; width: 270px; flex-direction: column; padding: 24px 16px; border-right: 1px solid #e2e5ea; background: #fff; box-shadow: 8px 0 30px rgba(22,32,51,.04); }
.admin-logo { display: flex; gap: 12px; align-items: center; padding: 0 10px 24px; border-bottom: 1px solid #edf0f3; }
.admin-logo-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--red); color: #fff; font-family: 'DM Serif Display', serif; font-size: 24px; }
.admin-logo strong, .admin-logo small { display: block; }
.admin-logo strong { font-size: 17px; }
.admin-logo small { margin-top: 2px; color: #7a8495; font-size: 12px; }
.admin-nav { display: grid; gap: 4px; margin-top: 22px; overflow-y: auto; }
.admin-nav button { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 45px; border: 0; border-radius: 9px; padding: 0 12px; background: transparent; color: #5d687a; font: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
.admin-nav button > span { width: 22px; color: #9099a8; font-size: 17px; text-align: center; }
.admin-nav button:hover { background: #f5f6f8; color: #202a3c; }
.admin-nav button.active { background: #fff0f0; color: #a92424; }
.admin-nav button.active > span { color: var(--red); }
.admin-view-site { display: flex; justify-content: space-between; margin-top: auto; border-radius: 9px; padding: 13px 14px; background: #172033; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.admin-workspace { min-height: 100vh; margin-left: 270px; }
.admin-topbar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; min-height: 92px; padding: 16px clamp(24px, 4vw, 58px); border-bottom: 1px solid #e2e5ea; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.admin-topbar h1 { margin: 2px 0 0; color: #172033; font-size: 27px; line-height: 1.1; }
.admin-topbar .kicker { margin: 0; }
.admin-menu { display: none; border: 0; background: transparent; color: #172033; font-size: 24px; }
.save-state { border-radius: 99px; padding: 8px 12px; background: #e9f7ef; color: #267248; font-size: 12px; font-weight: 800; }
.save-state.dirty { background: #fff3d8; color: #906316; }
.admin-content-form, .gallery-view { display: block; max-width: 1180px; margin: 0 auto; padding: 42px clamp(24px, 4vw, 58px) 110px; }
.admin-content-form > .gallery-view { max-width: none; margin: 0; padding: 0; }
.admin-view[hidden] { display: none !important; }
.view-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.view-intro h2 { margin: 3px 0 0; color: #172033; font-size: clamp(30px, 4vw, 44px); }
.view-intro > p { max-width: 430px; margin: 0; color: #6e7889; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-card, .content-form .field-card { display: grid; gap: 7px; align-content: start; border: 1px solid #e0e4e9; border-radius: 12px; padding: 13px; background: #fff; color: #354054; font-size: 13px; font-weight: 800; box-shadow: 0 4px 16px rgba(23,32,51,.025); }
.field-card:has(textarea) { grid-column: 1 / -1; }
.admin-view[data-view='content-3'] .field-card:has(textarea) { grid-column: auto; }
.admin-page input[type='text'], .admin-page input[type='password'], .admin-page input[type='number'], .admin-page input[type='file'], .admin-page textarea, .admin-page select { border: 1px solid #d9dee5; border-radius: 8px; background: #fafbfc; color: #172033; outline: none; transition: border-color .15s, box-shadow .15s; }
.admin-page input[type='text']:focus, .admin-page input[type='password']:focus, .admin-page input[type='number']:focus, .admin-page textarea:focus, .admin-page select:focus { border-color: #d36a6a; box-shadow: 0 0 0 3px rgba(197,48,48,.1); background: #fff; }
.content-savebar { position: fixed; right: 0; bottom: 0; left: 270px; z-index: 55; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px clamp(24px, 4vw, 58px); border-top: 1px solid #e0e4e9; background: rgba(255,255,255,.96); box-shadow: 0 -8px 25px rgba(23,32,51,.06); backdrop-filter: blur(12px); }
.content-savebar[hidden] { display: none; }
.content-savebar .status { min-height: 0; margin: 0; color: #6e7889; font-size: 13px; }
.admin-page .button { border-radius: 8px; }
.section-images { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.image-picker { border-color: #e0e4e9; border-radius: 12px; padding: 14px; background: #fff; color: #354054; box-shadow: 0 4px 16px rgba(23,32,51,.025); }
.image-picker img { border-radius: 8px; object-fit: contain; background: #111; }
.image-picker .button { margin-top: 3px; border-color: #d9dee5; color: #354054; }
.image-picker small { color: #7a8495; }
.image-spec { color: #a92424; font-size: 11px; font-style: normal; font-weight: 700; }
.section-images-block { margin-top: 30px; border-top: 1px solid #e0e4e9; padding-top: 24px; }
.view-subhead { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 14px; }
.view-subhead h3, .view-subhead p { margin: 0; }
.view-subhead h3 { color: #172033; font-size: 20px; }
.view-subhead p { color: #6e7889; font-size: 12px; }
.upload-card { border: 1px solid #e0e4e9; border-radius: 12px; padding: 20px; background: #fff; }
.upload-form { grid-template-columns: minmax(280px, 1fr) auto auto; align-items: center; }
.mobile-upload-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-source { display: flex; min-height: 92px; align-items: center; gap: 14px; border: 2px solid #d9dee5; border-radius: 12px; padding: 16px; background: #fafbfc; color: #354054; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.photo-source:hover { border-color: #c53030; background: #fff5f5; transform: translateY(-1px); }
.photo-source input { position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.photo-source-icon { display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #fff0f0; color: #a92424; font-size: 25px; }
.photo-source strong, .photo-source small { display: block; }
.photo-source strong { font-size: 16px; }
.photo-source small { margin-top: 4px; color: #7a8495; font-size: 12px; font-weight: 500; }
.photo-selection { margin: 0; color: #6e7889; font-size: 13px; font-weight: 700; }
.photo-selection.ready { color: #267248; }
.upload-submit:disabled { opacity: .45; cursor: not-allowed; }
.upload-help { grid-column: 1 / -1; margin: 12px 0 0; color: #7a8495; font-size: 11px; }
.upload-drop { display: flex; align-items: center; min-height: 52px; border: 1px dashed #bdc5d0; border-radius: 9px; padding: 8px 12px; color: #596579; font-size: 13px; font-weight: 700; }
.upload-drop input { border: 0; background: transparent; }
.upload-drop > span, .upload-drop strong, .upload-drop small { display: block; }
.upload-drop small { margin-top: 3px; color: #7a8495; font-weight: 500; }
.category-fields { display: grid; min-height: 52px; gap: 7px; border-color: #d9dee5; border-radius: 9px; padding: 8px 10px; color: #596579; }
.category-fields legend { padding: 0 6px; color: #354054; font-size: 12px; font-weight: 800; }
.category-options { display: flex; align-items: center; gap: 8px; }
.category-fields label { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d9dee5; border-radius: 8px; padding: 7px 10px; background: #fafbfc; color: #4d596c; font-size: 13px; font-weight: 750; cursor: pointer; }
.category-fields input[type='checkbox'] { width: 18px !important; height: 18px; min-height: 0; flex: 0 0 18px; margin: 0; border: 1px solid #aeb7c4; padding: 0; accent-color: #c53030; }
.category-fields label:has(input:checked) { border-color: #c53030; background: #fff0f0; color: #9f2424; }
.category-fields small { color: #7a8495; font-size: 10px; line-height: 1.25; }
.admin-gallery-filterbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; border: 1px solid #e0e4e9; border-radius: 12px; padding: 12px; background: #fff; }
.admin-gallery-filters { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.admin-gallery-filters > span { margin: 0 4px; color: #354054; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.admin-gallery-filters button { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; border: 1px solid #d9dee5; border-radius: 8px; padding: 0 11px; background: #fafbfc; color: #4d596c; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.admin-gallery-filters button:hover { border-color: #d36a6a; background: #fff5f5; }
.admin-gallery-filters button.active { border-color: #c53030; background: #c53030; color: #fff; }
.admin-gallery-filters strong { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 99px; background: rgba(23,32,51,.08); font-size: 10px; }
.admin-gallery-filters button.active strong { background: rgba(255,255,255,.2); }
.admin-gallery-filterbar > p { flex: 0 0 auto; margin: 0; color: #6e7889; font-size: 11px; font-weight: 800; }
.gallery-tools { margin-top: 24px; }
.gallery-tools p { color: #6e7889; }
.admin-list { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.admin-list.ordering-mode { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 8px; }
.ordering-mode .admin-photo { display: block; padding: 6px; cursor: grab; }
.ordering-mode .admin-photo > div { display: none; }
.ordering-mode .admin-photo > img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 7px; object-fit: cover; }
.ordering-mode .drag-handle { z-index: 3; border-radius: 6px; }
.admin-photo { border-color: #e0e4e9; border-radius: 12px; background: #fff; color: #172033; box-shadow: 0 4px 16px rgba(23,32,51,.025); }
.admin-photo[hidden] { display: none !important; }
.admin-photo label { color: #5d687a; }
.admin-photo .button { border-color: #d9dee5; color: #354054; }
.admin-photo .button.danger { color: #bd3030; }
.photo-filename { color: #172033; }
.admin-page .status { color: #5d687a; }
.analytics-view { width: 100%; }
.analytics-notice { margin: 0 0 20px; border-left: 4px solid #267248; border-radius: 6px; padding: 12px 14px; background: #e9f7ef; color: #205f3c; font-size: 13px; font-weight: 700; }
.analytics-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.analytics-card, .analytics-panel { border: 1px solid #e0e4e9; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(23,32,51,.025); }
.analytics-card { display: grid; gap: 5px; padding: 18px; }
.analytics-card span { color: #7a8495; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.analytics-card strong { color: #172033; font-size: 35px; line-height: 1; }
.analytics-card small { color: #6e7889; line-height: 1.4; }
.analytics-panel { margin-top: 20px; padding: 20px; }
.analytics-chart { display: flex; gap: 4px; align-items: end; height: 220px; border-bottom: 1px solid #d9dee5; padding-top: 15px; }
.analytics-day { display: flex; flex: 1; height: 100%; min-width: 4px; flex-direction: column; justify-content: end; align-items: center; gap: 6px; }
.analytics-day > span { width: min(100%, 18px); min-height: 2px; border-radius: 3px 3px 0 0; background: #c53030; }
.analytics-day small { color: #7a8495; font-size: 9px; }
.analytics-day:not(:nth-child(5n)) small { visibility: hidden; }
.analytics-table { width: 100%; border-collapse: collapse; color: #354054; font-size: 13px; }
.analytics-table th, .analytics-table td { border-bottom: 1px solid #edf0f3; padding: 12px 8px; text-align: left; }
.analytics-table th:last-child, .analytics-table td:last-child { width: 90px; text-align: right; font-weight: 800; }
.analytics-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.analytics-columns .analytics-panel { min-width: 0; }
.analytics-table td strong, .analytics-table td small { display: block; }
.analytics-table td small { margin-top: 3px; color: #8a93a1; font-size: 10px; font-weight: 500; }
.analytics-click-table th:nth-child(2), .analytics-click-table th:nth-child(3), .analytics-click-table td:nth-child(2), .analytics-click-table td:nth-child(3) { color: #6e7889; font-size: 11px; }
.analytics-empty { margin: 0; padding: 24px 8px; color: #7a8495; text-align: center; }
.promise-settings-card, .promise-create-card, .promise-admin-card, .promise-admin-empty { border: 1px solid #e0e4e9; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(23,32,51,.025); }
.promise-settings-card, .promise-create-card { padding: 20px; }
.promise-create-card { margin-top: 20px; }
.promise-visibility { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-radius: 10px; padding: 14px; background: #f5f6f8; }
.promise-visibility strong, .promise-visibility small { display: block; }
.promise-visibility small { margin-top: 4px; color: #6e7889; }
.admin-switch { position: relative; flex: 0 0 auto; cursor: pointer; }
.admin-switch input { position: absolute; opacity: 0; }
.admin-switch span { display: block; width: 54px; height: 30px; border-radius: 99px; background: #bdc5d0; transition: background .15s; }
.admin-switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .15s; }
.admin-switch input:checked + span { background: #267248; }
.admin-switch input:checked + span::after { transform: translateX(24px); }
.promise-settings-fields { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(300px, 1.3fr); gap: 12px; margin: 16px 0; }
.promise-settings-fields label, .promise-form label, .promise-admin-fields label { display: grid; gap: 7px; color: #354054; font-size: 12px; font-weight: 800; }
.promise-settings-fields input, .promise-settings-fields textarea, .promise-form input, .promise-form textarea, .promise-form select, .promise-admin-fields input, .promise-admin-fields textarea, .promise-admin-fields select { width: 100%; min-height: 44px; padding: 9px 11px; }
.promise-form { display: grid; grid-template-columns: 1.3fr 1fr .65fr; gap: 12px; align-items: end; }
.promise-photo-picker { min-height: 72px; border: 1px dashed #bdc5d0; border-radius: 9px; padding: 10px; background: #fafbfc; cursor: pointer; }
.promise-photo-picker small { color: #7a8495; font-weight: 500; }
.promise-wide { grid-column: 1 / -1; }
.profile-feature-check { display: flex !important; min-height: 44px; flex-direction: row !important; align-items: center; gap: 9px !important; border: 1px solid #d9dee5; border-radius: 8px; padding: 9px 11px; background: #fafbfc; cursor: pointer; }
.profile-feature-check input { width: 18px !important; min-height: 18px !important; flex: 0 0 auto; }
.profile-feature-check span { line-height: 1.35; }
.promises-admin-list { display: grid; gap: 16px; margin-top: 20px; }
.promise-admin-card { display: grid; grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr); gap: 18px; padding: 16px; }
.promise-admin-photo img { width: 100%; aspect-ratio: 4 / 5; border-radius: 9px; object-fit: cover; }
.promise-admin-photo label { position: relative; width: 100%; margin-top: 9px; overflow: hidden; }
.promise-admin-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.promise-admin-fields { display: grid; grid-template-columns: 1fr .45fr; gap: 12px; align-content: start; }
.promise-admin-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; }
.promise-admin-empty { padding: 28px; color: #596579; text-align: center; }
.promise-admin-empty p { margin: 7px 0 0; color: #7a8495; }
.user-create-card, .user-card { border: 1px solid #e0e4e9; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(23,32,51,.025); }
.user-create-card { padding: 20px; }
.user-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.user-form label { display: grid; gap: 7px; color: #354054; font-size: 12px; font-weight: 800; }
.user-form input { width: 100%; min-height: 44px; padding: 9px 11px; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 66px; }
.password-toggle { position: absolute; top: 5px; right: 5px; min-height: 34px; border: 0; border-radius: 6px; padding: 0 9px; background: #edf0f3; color: #354054; font-size: 11px; font-weight: 800; cursor: pointer; }
.users-list { display: grid; gap: 10px; margin-top: 20px; }
.user-card { display: grid; grid-template-columns: auto minmax(150px, 1fr) auto auto; gap: 14px; align-items: center; padding: 15px; }
.user-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #172033; color: #fff; font-weight: 900; }
.user-card strong, .user-card small { display: block; }
.user-card small { margin-top: 3px; color: #7a8495; }
.user-badge { border-radius: 99px; padding: 6px 9px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.user-badge.active { background: #e9f7ef; color: #267248; }
.user-badge.inactive { background: #f1f2f4; color: #7a8495; }
.user-protected { color: #7a8495; font-size: 11px; font-weight: 700; }
.user-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: end; }

/* Perfil deportivo individual */
.athlete-page { background: #090909; }
.athlete-nav { position: relative; }
.athlete-hero { display: grid; width: 100%; max-width: 1920px; min-height: calc(100svh - 82px); margin-inline: auto; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .7fr); border-bottom: 1px solid var(--line); }
.athlete-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 8vw, 120px); }
.athlete-hero h1 { margin: 0; color: #fff; font-size: clamp(86px, 12vw, 190px); line-height: .72; letter-spacing: -.045em; }
.athlete-hero h1 span { color: var(--red); }
.athlete-lead { max-width: 720px; margin: 48px 0 0; color: var(--muted-2); font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2.1vw, 34px); line-height: 1.32; }
.athlete-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.athlete-facts span { min-width: 150px; border: 1px solid var(--line); padding: 16px; color: var(--muted); font: 10px 'JetBrains Mono', monospace; letter-spacing: .13em; text-transform: uppercase; }
.athlete-facts strong { display: block; margin-bottom: 5px; color: var(--text); font-family: 'DM Serif Display', serif; font-size: 27px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.athlete-portrait { position: relative; min-height: 650px; margin: 0; overflow: hidden; background: #111; }
.athlete-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #090909 0, transparent 24%), linear-gradient(0deg, rgba(0,0,0,.7), transparent 35%); pointer-events: none; }
.athlete-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(.12) contrast(1.04); }
.athlete-portrait figcaption { position: absolute; right: 28px; bottom: 24px; z-index: 2; color: rgba(255,255,255,.72); font: 9px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.athlete-identity-panel { display: grid; min-height: 650px; place-items: center; overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, rgba(197,48,48,.22), transparent 42%), #0d0d0d; }
.athlete-identity-panel span { color: var(--red); font: clamp(180px, 25vw, 390px)/1 'Noto Serif JP', serif; opacity: .82; }
.competitor-card .competitor-identity { display: grid; width: 100%; aspect-ratio: 3 / 2; place-items: center; padding: 0; background: radial-gradient(circle, rgba(197,48,48,.2), transparent 55%), #111; color: var(--red); font: clamp(70px, 8vw, 120px)/1 'Noto Serif JP', serif; }
.master-identity-panel { position: relative; display: grid; min-height: 650px; place-items: center; overflow: hidden; border-left: 1px solid var(--line); background: radial-gradient(circle at 50% 48%, rgba(197,48,48,.27), transparent 38%), linear-gradient(145deg, #171717, #080808 72%); }
.master-identity-panel::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(232,228,220,.1); transform: rotate(4deg); }
.master-identity-panel span { position: relative; color: var(--red); font: clamp(190px, 27vw, 420px)/1 'Noto Serif JP', serif; text-shadow: 0 0 70px rgba(197,48,48,.24); }
.master-manifesto { max-width: 1500px; margin: 0 auto; border-top: 1px solid var(--line); padding: clamp(70px, 10vw, 140px) 48px; text-align: center; }
.master-manifesto blockquote { max-width: 1050px; margin: 0 auto; font: 400 clamp(42px, 6vw, 86px)/.98 'DM Serif Display', serif; letter-spacing: -.02em; }
.master-manifesto blockquote em { color: var(--red); font-style: normal; }
.master-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 1500px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.master-pillar { min-height: 330px; padding: 52px 38px; background: #0b0b0b; }
.master-pillar b { color: var(--red); font: 10px 'JetBrains Mono', monospace; letter-spacing: .18em; }
.master-pillar h2 { margin: 25px 0 18px; font: 400 clamp(34px, 4vw, 54px)/1 'DM Serif Display', serif; }
.master-pillar p { margin: 0; color: var(--muted-2); font-size: 16px; line-height: 1.7; }
.athlete-ticker { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 22px 40px; color: var(--muted); font: 10px 'JetBrains Mono', monospace; letter-spacing: .2em; text-transform: uppercase; }
.athlete-ticker i { color: var(--red); font: normal 18px 'Noto Serif JP', serif; }
.athlete-intro { display: grid; grid-template-columns: minmax(310px, .7fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 140px); align-items: start; }
.athlete-prose { max-width: 760px; padding-top: 32px; }
.athlete-prose p { margin: 0 0 24px; color: var(--muted-2); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.8; }
.athlete-empty { border-bottom: 1px solid var(--line); padding: 34px 10px; color: var(--muted-2); font-size: 17px; }
.results-list { border-top: 1px solid var(--line); }
.result-card { display: grid; grid-template-columns: 74px 74px minmax(0, 1fr) auto; gap: 26px; align-items: center; border-bottom: 1px solid var(--line); padding: 26px 10px; }
.result-card.featured-result { background: linear-gradient(90deg, rgba(197,48,48,.15), transparent 65%); }
.result-place { color: var(--red); font-family: 'DM Serif Display', serif; font-size: 64px; line-height: .8; text-align: center; }
.result-year, .result-card span, .result-card a { font: 9px 'JetBrains Mono', monospace; letter-spacing: .15em; text-transform: uppercase; }
.result-year { color: var(--muted); }
.result-card span { color: #e35d5d; }
.result-card h3 { margin: 5px 0 3px; font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; }
.result-card p { margin: 0; color: var(--muted); }
.result-card a { border-bottom: 1px solid var(--line); padding: 10px 0; color: var(--muted-2); white-space: nowrap; }
.result-card a:hover, .athlete-kata a:hover { color: #fff; border-color: var(--red); }
.athlete-kata { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: 70px; align-items: center; justify-content: center; }
.kata-mark { color: var(--red); font: 170px 'Noto Serif JP', serif; line-height: 1; opacity: .85; }
.athlete-kata h2 { margin: 0 0 20px; font-family: 'DM Serif Display', serif; font-size: clamp(54px, 7vw, 100px); font-weight: 400; line-height: .9; }
.athlete-kata p { color: var(--muted-2); font-size: 18px; line-height: 1.7; }
.athlete-kata a { display: inline-block; border-bottom: 1px solid var(--line); padding: 10px 0; color: var(--muted); font: 9px 'JetBrains Mono', monospace; letter-spacing: .15em; text-transform: uppercase; }
.athlete-club-cta { border-top: 1px solid var(--line); padding: clamp(70px, 10vw, 140px) 30px; background: radial-gradient(circle at 50% 100%, rgba(197,48,48,.18), transparent 50%); text-align: center; }
.athlete-club-cta h2 { margin: 0; font-size: clamp(62px, 9vw, 130px); font-weight: 400; }
.athlete-club-cta > p:not(.section-eyebrow) { max-width: 580px; margin: 20px auto 34px; color: var(--muted-2); font-size: 17px; }
.athlete-footer { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); padding: 32px 56px; color: var(--muted); font: 9px 'JetBrains Mono', monospace; letter-spacing: .15em; text-transform: uppercase; }
.athlete-footer .footer-brand { display: flex; align-items: baseline; gap: 12px; }

@media (max-width: 1024px) {
  .nav { padding: 18px 32px; }
  .nav-brand { position: relative; z-index: 72; }
  .nav-links { display: none; position: fixed; inset: 0; z-index: 70; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain; padding: 90px 28px max(32px, env(safe-area-inset-bottom)); background: linear-gradient(165deg, #111 0%, #080808 55%, #130909 100%); }
  .nav-links.open { display: flex; }
  .navlink { display: flex; align-items: center; width: 100%; min-height: 58px; border-bottom: 1px solid var(--line); padding: 0 8px; color: var(--text); font-size: clamp(15px, 2.4vw, 19px); letter-spacing: .16em; }
  .navlink:first-child { border-top: 1px solid var(--line); }
  .navlink::after { display: none; }
  .nav-toggle { position: relative; z-index: 75; display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid var(--line); padding: 0; font-size: 25px; line-height: 1; }
  .nav-contact { display: grid; gap: 8px; margin-top: auto; padding: 26px 8px 0; }
  .nav-contact a { display: flex; align-items: center; min-height: 42px; color: var(--muted-2); font-size: 14px; overflow-wrap: anywhere; }
  .hero { height: 760px; min-height: 700px; }
  .hero-body { left: 32px; right: 32px; bottom: 56px; }
  .section { padding: 68px 32px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .competitors-section > .section-head { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(40px, 7vw, 96px); }
  .disc-grid { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
  .schedule-cards { grid-template-columns: repeat(5, minmax(165px, 1fr)); }
  .sensei { grid-template-columns: 1fr; min-height: 0; }
  .sensei-img { min-height: 520px; }
  .sensei-body { padding: 56px 32px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promises-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competitors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .competitors-veterans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competitor-card img { height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr; }
  .teacher-card { grid-template-columns: minmax(240px, .42fr) 1fr; grid-template-rows: auto; min-height: 0; }
  .teacher-photo { min-height: 320px; }
  .teachers-feature img { aspect-ratio: 16 / 9; }
  .map-section { grid-template-columns: 1fr; min-height: 0; }
  .map-frame { min-height: 420px; }
  .footer { padding: 32px; }
  .athlete-hero { min-height: 0; grid-template-columns: 1fr 44%; }
  .athlete-hero-copy { padding: 70px 42px; }
  .athlete-hero h1 { font-size: clamp(80px, 13vw, 130px); }
  .athlete-intro { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .nav { padding-block: 9px; }
  .hero { display: grid; min-height: calc(100svh - 63px); height: auto; grid-template-columns: minmax(0, 1fr) 46%; padding: 22px 18px; }
  .hero-img { top: 50%; right: 0; width: 46%; max-height: 100%; transform: translateY(-50%); object-position: right center; }
  .hero-overlay { background: linear-gradient(90deg, #090909 0%, #090909 48%, rgba(9,9,9,.55) 60%, transparent 78%); }
  .hero-body { position: relative; left: auto; right: auto; bottom: auto; width: 100%; align-self: center; }
  .hero-eyebrow { margin-bottom: 10px; font-size: 8px; }
  .hero h1 { font-size: clamp(42px, 9vw, 66px); line-height: .84; }
  .hero-bottom { gap: 10px; margin-top: 12px; }
  .hero-sub { font-size: 13px; line-height: 1.35; }
  .cta-row { flex-direction: row; gap: 8px; }
  .cta-row .btn { width: auto; min-height: 38px; padding-inline: 14px; font-size: 8px; }
  .hero-facts { margin-top: 12px; }
  .hero-facts span { padding: 7px 9px; font-size: 7px; }
  .athlete-hero { display: grid; min-height: calc(100svh - 63px); grid-template-columns: minmax(0, 1fr) 46%; }
  .athlete-hero-copy { padding: 22px 18px; align-self: center; }
  .athlete-hero h1 { font-size: clamp(50px, 10vw, 72px); }
  .athlete-lead { margin-top: 14px; font-size: 16px; line-height: 1.2; }
  .athlete-facts { margin-top: 14px; gap: 5px; }
  .athlete-facts span { padding: 8px; font-size: 7px; }
  .athlete-facts strong { font-size: 18px; }
  .athlete-portrait, .athlete-identity-panel, .master-identity-panel { min-height: calc(100svh - 63px); border-left: 1px solid var(--line); border-bottom: 0; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 18px; backdrop-filter: none; }
  .athlete-nav .navlink { width: auto; min-height: 0; border: 0; padding: 0; font-size: 9px; }
  .nav-brand { position: relative; z-index: 72; }
  .nav-brand .est { display: none; }
  .nav-links { display: none; position: fixed; inset: 0; z-index: 70; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain; padding: 82px 20px max(28px, env(safe-area-inset-bottom)); background: linear-gradient(165deg, #111 0%, #080808 55%, #130909 100%); }
  .nav-links.open { display: flex; }
  .navlink { display: flex; align-items: center; width: 100%; min-height: 58px; border-bottom: 1px solid var(--line); padding: 0 8px; color: var(--text); font-size: clamp(15px, 4.5vw, 19px); letter-spacing: .16em; }
  .navlink:first-child { border-top: 1px solid var(--line); }
  .navlink::after { display: none; }
  .navlink:active { color: #fff; background: rgba(197,48,48,.16); }
  .nav-toggle { position: relative; z-index: 75; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); padding: 0; font-size: 25px; line-height: 1; }
  .nav-contact { display: grid; gap: 8px; margin-top: auto; padding: 26px 8px 0; }
  .nav-contact a { display: flex; align-items: center; min-height: 42px; color: var(--muted-2); font-size: 14px; overflow-wrap: anywhere; }
  .ticker { padding: 16px 18px; gap: 14px; }
  .hero { height: auto; min-height: 780px; padding: 350px 18px 42px; }
  .hero-img { top: 0; right: 50%; width: min(100%, 711px); max-height: 330px; transform: translateX(50%); object-position: center top; }
  .hero-overlay { background: linear-gradient(180deg, transparent 0, transparent 270px, #090909 345px); }
  .hero-body { position: relative; left: auto; right: auto; bottom: auto; width: 100%; }
  .hero h1 { font-size: clamp(62px, 18vw, 92px); }
  .hero-bottom { flex-direction: column; align-items: stretch; gap: 28px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .section { padding: 46px 16px; }
  .section-title { font-size: clamp(38px, 10vw, 64px); }
  .athlete-hero { display: flex; flex-direction: column-reverse; }
  .athlete-portrait { min-height: 58svh; }
  .athlete-identity-panel { min-height: 48svh; border-bottom: 1px solid var(--line); border-left: 0; }
  .master-identity-panel { min-height: 48svh; border-bottom: 1px solid var(--line); border-left: 0; }
  .athlete-identity-panel span { font-size: min(55vw, 250px); }
  .athlete-portrait::after { background: linear-gradient(0deg, #090909 0, transparent 28%); }
  .athlete-portrait figcaption { right: 15px; bottom: 15px; left: 15px; }
  .athlete-hero-copy { padding: 30px 18px 56px; }
  .athlete-hero h1 { font-size: clamp(80px, 27vw, 120px); }
  .athlete-hero h1.long-name { font-size: clamp(62px, 16vw, 80px); }
  .athlete-lead { margin-top: 34px; font-size: 22px; }
  .athlete-facts span { flex: 1 1 120px; min-width: 0; }
  .athlete-ticker { justify-content: flex-start; gap: 14px; padding: 18px; }
  .athlete-intro { display: block; }
  .master-manifesto { padding: 70px 18px; }
  .master-pillars { grid-template-columns: 1fr; }
  .master-pillar { min-height: 0; padding: 38px 22px; }
  .athlete-prose { padding-top: 30px; }
  .result-card { grid-template-columns: 52px 1fr; gap: 12px 16px; padding: 23px 4px; }
  .result-place { grid-row: 1 / 4; align-self: start; padding-top: 2px; font-size: 44px; overflow-wrap: anywhere; }
  .result-year { grid-column: 2; }
  .result-card > div:nth-child(3) { min-width: 0; grid-column: 2; }
  .result-card a { max-width: 100%; grid-column: 2; justify-self: start; white-space: normal; overflow-wrap: anywhere; line-height: 1.55; }
  .result-card span { display: block; overflow-wrap: anywhere; line-height: 1.55; }
  .result-card h3 { font-size: 25px; }
  .athlete-kata { grid-template-columns: 1fr; gap: 15px; }
  .kata-mark { font-size: 100px; }
  .athlete-footer { flex-direction: column; padding: 28px 18px; }
  .disc-grid { grid-template-columns: 1fr; gap: 20px; }
  .trial-callout { grid-template-columns: auto 1fr; padding: 22px; }
  .trial-callout .btn { grid-column: 1 / -1; width: 100%; text-align: center; }
  .disc-img-wrap { height: 240px; }
  .prices { grid-template-columns: 1fr; overflow: visible; }
  .schedule-cards { max-width: calc(100vw - 32px); grid-template-columns: repeat(5, minmax(160px, 1fr)); }
  .schedule-cards article { scroll-snap-align: start; }
  .schedule-cards { scroll-snap-type: x mandatory; }
  .schedule-swipe { display: block; }
  .schedule-cards article { min-height: 0; }
  .sensei-img { min-height: 380px; }
  .sensei-body { padding: 40px 18px; }
  .sensei-h { font-size: clamp(40px, 11vw, 72px); }
  .sensei-grid { grid-template-columns: 1fr; }
  .sensei-quote { font-size: 18px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises-grid { grid-template-columns: 1fr; }
  .competitor-group-head { align-items: flex-start; flex-direction: column; margin-top: 36px; }
  .competitors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .competitor-card img { height: auto; }
  .competitors-section > .section-head .section-title { font-size: clamp(42px, 12vw, 62px); }
  .competitor-card > span { padding: 13px 11px; }
  .competitor-card strong { overflow-wrap: anywhere; font-size: clamp(18px, 5.2vw, 24px); line-height: 1.02; }
  .gallery-pagination { align-items: stretch; flex-direction: column; }
  .gallery-pagination .btn { min-width: 0; }
  .teacher-card { grid-template-columns: 1fr; }
  .teacher-photo { min-height: 220px; }
  .teachers-feature img { aspect-ratio: 4 / 3; }
  .teacher-body { padding: 22px; }
  .team-section { padding-top: 38px; padding-bottom: 38px; }
  .team-text-card { grid-template-columns: 1fr; gap: 16px; }
  .team-symbol { font-size: 90px; }
  .team-text-content .achievement-list { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 380px; }
  .map-copy { padding: 24px 18px; }
  .contact-line { flex-direction: column; gap: 6px; }
  .footer { padding: 24px 18px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .upload-form, .content-form, .admin-list { grid-template-columns: 1fr; }
  .content-form > label, .content-form > button { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .competitors-veterans { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform .22s ease; }
  .admin-menu-open .admin-sidebar { transform: translateX(0); }
  .admin-workspace { margin-left: 0; }
  .admin-menu { display: block; }
  .admin-topbar { justify-content: flex-start; gap: 16px; padding: 14px 18px; }
  .admin-topbar .save-state { margin-left: auto; }
  .admin-content-form { display: block; }
  .admin-content-form, .gallery-view { padding: 28px 16px 100px; }
  .content-savebar { left: 0; padding: 12px 16px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-card:has(textarea) { grid-column: auto; }
  .view-intro { align-items: start; flex-direction: column; gap: 10px; }
  .upload-form { grid-template-columns: 1fr; }
  .mobile-upload-actions { grid-template-columns: 1fr; }
  .photo-source { min-height: 88px; }
  .category-fields { width: 100%; padding: 10px; }
  .category-fields legend { margin-bottom: 3px; }
  .category-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-fields label { min-width: 0; min-height: 46px; padding: 8px 4px; }
  .category-fields small { margin-top: 2px; }
  .upload-submit { width: 100%; min-height: 54px; font-size: 16px; }
  .user-form { grid-template-columns: 1fr; }
  .promise-settings-fields, .promise-form, .promise-admin-card, .promise-admin-fields { grid-template-columns: 1fr; }
  .promise-wide, .promise-admin-actions { grid-column: 1; }
  .promise-admin-photo { max-width: 320px; margin: 0 auto; }
  .promise-admin-actions { display: grid; grid-template-columns: 1fr auto; }
  .user-card { grid-template-columns: auto 1fr auto; }
  .user-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .user-actions .button { width: 100%; padding: 0 8px; }
  .gallery-tools { align-items: stretch; flex-direction: column; }
  .admin-gallery-filterbar { align-items: stretch; flex-direction: column; }
  .admin-gallery-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-gallery-filters > span { grid-column: 1 / -1; }
  .admin-gallery-filters button { justify-content: space-between; padding: 0 12px; }
  .admin-gallery-filterbar > p { padding: 0 4px; }
  .gallery-tools-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-columns { grid-template-columns: 1fr; gap: 0; }
  .analytics-panel { overflow-x: auto; padding: 14px; }
  .analytics-chart { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Páginas indexables de navegación y categorías */
.landing-page { min-height: 100vh; background: #090909; }
.landing-nav { position: relative; }
.landing-nav-links { display: flex; gap: 28px; align-items: center; }
.landing-nav-links a, .seo-footer nav a { color: var(--muted-2); font: 9px 'JetBrains Mono', monospace; letter-spacing: .13em; text-transform: uppercase; }
.landing-nav-links a:hover, .seo-footer nav a:hover { color: #fff; }
.breadcrumbs { display: flex; gap: 10px; max-width: 1500px; margin: 0 auto; padding: 30px 48px 0; color: var(--muted); font: 9px 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs a { color: var(--muted-2); }
.landing-hero { max-width: 1500px; margin: 0 auto; padding: clamp(75px, 10vw, 150px) 48px clamp(60px, 8vw, 110px); }
.landing-hero h1 { max-width: 1250px; margin: 20px 0 30px; color: #fff; font: 400 clamp(62px, 9.5vw, 145px)/.82 'DM Serif Display', serif; letter-spacing: -.035em; }
.landing-hero > p:last-child { max-width: 800px; margin: 0; color: var(--muted-2); font: clamp(20px, 2.1vw, 30px)/1.45 'Cormorant Garamond', serif; }
.landing-content { max-width: 1500px; margin: 0 auto; border-top: 1px solid var(--line); padding: clamp(55px, 7vw, 100px) 48px; }
.landing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.landing-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-card { min-height: 310px; padding: clamp(30px, 4vw, 55px); background: #0d0d0d; }
.landing-card > span { color: var(--red); font: 9px 'JetBrains Mono', monospace; letter-spacing: .17em; }
.landing-card h2 { margin: 28px 0 20px; color: #fff; font: 400 clamp(35px, 4vw, 58px)/.95 'DM Serif Display', serif; }
.landing-card h2 small { color: var(--muted); font: 18px 'Inter', sans-serif; }
.landing-card p { color: var(--muted-2); font-size: 16px; line-height: 1.7; }
.landing-card a { display: inline-block; margin-top: 18px; color: #e35d5d; font: 9px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.landing-note { margin-top: 50px; border-left: 4px solid var(--red); padding: clamp(30px, 5vw, 60px); background: linear-gradient(100deg, rgba(197,48,48,.16), #0d0d0d 65%); }
.landing-note h2 { margin: 0 0 15px; font: 400 clamp(36px, 5vw, 65px)/1 'DM Serif Display', serif; }
.landing-note p { max-width: 720px; color: var(--muted-2); font-size: 17px; line-height: 1.6; }
.landing-note .btn { margin: 20px 10px 0 0; }
.seo-athletes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seo-footer { align-items: center; flex-wrap: wrap; }
.seo-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.seo-footer .footer-brand .name { color: #fff; }

@media (max-width: 900px) {
  .landing-nav-links { display: none; }
  .landing-grid-three, .seo-athletes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .breadcrumbs, .landing-hero, .landing-content { padding-right: 30px; padding-left: 30px; }
}
@media (max-width: 640px) {
  .breadcrumbs { padding: 22px 18px 0; }
  .landing-hero { padding: 62px 18px 52px; }
  .landing-hero h1 { font-size: clamp(48px, 14vw, 68px); overflow-wrap: anywhere; }
  .landing-content { padding: 45px 16px; }
  .landing-grid, .landing-grid-three { grid-template-columns: 1fr; }
  .landing-card { min-height: 0; padding: 32px 24px; }
  .seo-athletes { grid-template-columns: 1fr; gap: 9px; }
  .seo-footer nav { gap: 14px 18px; }
}

/* Keep the first screen useful on phones and small tablets held sideways. */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .nav { padding-block: 9px; }
  .hero { display: grid; min-height: calc(100svh - 63px); height: auto; grid-template-columns: minmax(0, 1fr) 46%; padding: 22px 18px; }
  .hero-img { top: 50%; right: 0; width: 46%; max-height: 100%; transform: translateY(-50%); object-position: right center; }
  .hero-overlay { background: linear-gradient(90deg, #090909 0%, #090909 48%, rgba(9,9,9,.55) 60%, transparent 78%); }
  .hero-body { position: relative; left: auto; right: auto; bottom: auto; width: 100%; align-self: center; }
  .hero-eyebrow { margin-bottom: 10px; font-size: 8px; }
  .hero h1 { font-size: clamp(42px, 9vw, 66px); line-height: .84; }
  .hero-bottom { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 12px; }
  .hero-sub { font-size: 13px; line-height: 1.35; }
  .cta-row { flex-direction: row; gap: 8px; }
  .cta-row .btn { width: auto; min-height: 38px; padding-inline: 14px; font-size: 8px; }
  .hero-facts { margin-top: 12px; }
  .hero-facts span { padding: 7px 9px; font-size: 7px; }
  .athlete-hero { display: grid; min-height: calc(100svh - 63px); grid-template-columns: minmax(0, 1fr) 46%; }
  .athlete-hero-copy { padding: 22px 18px; align-self: center; }
  .athlete-hero h1 { font-size: clamp(50px, 10vw, 72px); }
  .athlete-lead { margin-top: 14px; font-size: 16px; line-height: 1.2; }
  .athlete-facts { margin-top: 14px; gap: 5px; }
  .athlete-facts span { padding: 8px; font-size: 7px; }
  .athlete-facts strong { font-size: 18px; }
  .athlete-portrait, .athlete-identity-panel, .master-identity-panel { min-height: calc(100svh - 63px); border-left: 1px solid var(--line); border-bottom: 0; }
}
