.record-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  padding: var(--section-space) var(--page-gutter);
  background: #e0eef5;
  border-bottom: 1px solid var(--line);
}
.record-testimonial-photo { min-width: 0; margin: 0; }
.record-testimonial-photo img { width: 100%; height: auto; border-radius: 6px; }
.record-testimonial-photo figcaption { padding-top: 14px; color: #425762; font-size: .85rem; line-height: 1.6; }
.record-testimonial-copy { min-width: 0; width: 100%; max-width: 920px; margin-inline: auto; padding-block: 12px; }
.record-testimonial-copy h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.05em; }
.record-testimonial-copy blockquote { margin: 32px 0 20px; padding-left: 24px; border-left: 3px solid #1686a5; }
.record-testimonial-copy blockquote p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.5; }
.testimonial-credit { margin: 0 0 32px; color: #425762; font-size: .85rem; line-height: 1.6; }
.testimonial-message { border-block: 1px solid #031c2d30; }
.testimonial-message summary { padding: 20px 0; font-weight: 700; line-height: 1.6; cursor: pointer; }
.testimonial-letter { padding-bottom: 12px; }
.testimonial-letter p { margin: 0 0 20px; color: #304b5d; line-height: 1.8; }
@media (max-width: 900px) { .record-testimonial { grid-template-columns: 1fr; } .record-testimonial-photo { width: min(100%, 580px); } }

.presentation-section {
  padding: var(--section-space) var(--page-gutter);
  background: #e0eef5;
  border-block: 1px solid #031c2d20;
}
.presentation-heading { max-width: 760px; margin-bottom: 36px; }
.preview-label {
  display: inline-block;
  padding: 7px 12px;
  border: 1px dashed #3b6c83;
  border-radius: 999px;
  color: #28556a;
  background: #eff7fc;
  font-size: .7rem;
  line-height: 1.5;
  font-weight: 700;
}
.presentation-heading h2 {
  margin: 20px 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.presentation-heading > p { margin: 0; color: #425762; line-height: 1.7; }
.presentation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.presentation-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.presentation-card { min-width: 0; overflow: hidden; border: 1px dashed #6c98ac; border-radius: 6px; background: #f5f9fc; }
.presentation-card-copy, .presentation-result, .presentation-event { padding: 28px; }
.presentation-card h3 { margin: 16px 0; font-family: "Manrope", sans-serif; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.035em; }
.presentation-card p { color: #425762; line-height: 1.65; }
.presentation-card .overline { margin: 0; color: #28556a; line-height: 1.7; }
.presentation-card .placeholder-detail { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #031c2d20; font-size: .85rem; }
.portrait-placeholder { position: relative; height: 180px; overflow: hidden; display: grid; place-items: end center; padding: 16px; background: #d5eaf6; }
.portrait-placeholder::before { content: ""; position: absolute; top: 30px; width: 56px; height: 56px; border-radius: 50%; background: #8db8cd; }
.portrait-placeholder::after { content: ""; position: absolute; top: 96px; width: 124px; height: 86px; border-radius: 64px 64px 0 0; background: #8db8cd; }
.portrait-placeholder span { position: relative; z-index: 1; padding: 5px 12px; border-radius: 4px; color: #28556a; background: #f5f9fc; font-size: .75rem; }
.event-photo-placeholder { display: grid; place-items: center; min-height: 150px; margin: 24px 0; padding: 20px; border: 1px dashed #6c98ac; border-radius: 4px; color: #28556a; background: #d5eaf6; font-size: .9rem; text-align: center; }
.presentation-event > .preview-label { margin-top: 20px; }
@media (max-width: 900px) { .presentation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .presentation-grid { grid-template-columns: 1fr; } .presentation-card-copy, .presentation-result, .presentation-event { padding: 24px; } }

.inner-page {
  --page-gutter: max(28px, calc((100vw - 1250px) / 2));
  --section-space: clamp(64px, 7vw, 100px);
}

.inner-page .page-hero {
  min-height: 0;
  padding: clamp(48px, 4.5vw, 68px) var(--page-gutter) 48px;
  border-bottom: 1px solid var(--line);
}
.inner-page .page-hero h1 {
  max-width: 1100px;
  font-size: clamp(3.1rem, 6.2vw, 6rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.065em;
}
.inner-page .page-hero.photo-page-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(28px,4vw,64px); background: #031c2d; }
.inner-page .photo-page-hero h1 { font-size: clamp(2.5rem,4.5vw,4.5rem); line-height: 1.04; }
.photo-hero-copy { min-width: 0; }
.photo-hero-image { display: block; width: 100%; height: auto; border-radius: 6px; }
@media(max-width:760px) { .inner-page .page-hero.photo-page-hero { grid-template-columns: 1fr; } .inner-page .photo-page-hero h1 { font-size: clamp(2.5rem,8vw,3.8rem); } }
.inner-page .page-lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}
.inner-page :is(.people-section, .results-section, .achievement-history, .club-story, .gala-stories, .national-stage, .album-section) {
  padding: var(--section-space) var(--page-gutter);
}
.inner-page :is(.people-heading, .results-heading, .history-heading, .story-heading, .gala-heading) {
  gap: 24px 48px;
  margin-bottom: 44px;
}
.inner-page :is(.people-heading, .results-heading, .history-heading, .story-heading, .gala-heading, .profile-intro-copy, .national-stage-copy) h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.inner-page :is(.source-link, .activity-link, .text-link) {
  max-width: 100%;
  align-self: flex-start;
  line-height: 1.55;
  gap: 16px;
}
.inner-page .home-cta {
  padding: 76px var(--page-gutter);
}
.inner-page .home-cta h2 {
  font-size: clamp(3rem, 5.8vw, 6rem);
  line-height: 1;
}

.inner-page .experience {
  padding: var(--section-space) var(--page-gutter);
}
.inner-page .experience-head { gap: 32px 48px; padding: 0; }
.inner-page .experience-head h2 { font-size: clamp(2.5rem, 4.5vw, 4.6rem); line-height: 1.04; }
.inner-page .experience-picker { max-width: 1250px; gap: 12px; margin-top: 40px; background: transparent; }
.inner-page .experience-tab { height: clamp(350px, 32vw, 440px); min-height: 0; padding: 22px; border-radius: 6px; }
.inner-page .experience-tab:hover { transform: translateY(-4px); }
.inner-page .sphere-label { font-size: clamp(1.9rem, 2.8vw, 3rem); line-height: 1; }
.inner-page .activity-card-copy { line-height: 1.6; }
.inner-page .experience-stage { padding: 48px var(--page-gutter) 0; margin-top: 44px; }
.inner-page .activity-panel { grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.inner-page .activity-visual { height: auto; min-height: 500px; max-height: none; border-radius: 6px; }
.inner-page .activity-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inner-page .karate-slash { display: none; }
.inner-page .activity-copy { padding: 16px 0; }
.inner-page .activity-copy h3 { font-size: clamp(2.5rem, 4vw, 4.4rem); line-height: 1.02; margin: 18px 0 24px; }
.inner-page .activity-copy > p { max-width: 560px; }
.inner-page .activity-details { margin-top: 16px; padding: 48px 0; gap: 48px; }
.inner-page .activity-details h4 { font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1.08; }
.inner-page .activity-detail-grid article { padding: 22px 0; }
.inner-page .activity-detail-grid h5 { font-size: 1.35rem; }
.inner-page .activity-proof { padding: 36px 0 16px; }
.inner-page .activity-proof article { padding: 26px; border-radius: 4px; }
.inner-page .activity-proof > div { gap: 12px; background: transparent; }
.inner-page .activity-proof h5 { font-size: 1.4rem; line-height: 1.25; }

.inner-page .story-timeline { gap: 16px; background: transparent; }
.inner-page .story-timeline article { min-height: 0; padding: 28px; border-top: 2px solid #1384a2; }
.inner-page .story-timeline time { font-size: 2.3rem; }
.inner-page .story-timeline h3 { margin: 24px 0 14px; font-size: 1.6rem; line-height: 1.15; }
.inner-page .story-sources { gap: 20px 32px; margin-top: 32px; }
.inner-page .profile-intro { min-height: 0; grid-template-columns: 1fr 1fr; }
.inner-page .profile-intro-copy { padding: 64px max(28px, 5vw); }
.inner-page .profile-intro-image { min-height: 440px; }
.inner-page .profile-intro-image.profile-team-photo { min-height: 0; height: auto; max-height: none; display: flex; align-items: center; padding: 28px; background: #dceaf1; }
.inner-page .profile-team-photo img { width: 100%; max-width: 580px; height: auto; margin: auto; object-fit: contain; border-radius: 4px; }
.inner-page .people-grid { gap: 24px; background: transparent; }
.inner-page .people-grid .coach-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.inner-page .people-grid .coach-row .person-photo { display: block; position: relative; width: 100%; height: auto; min-height: 0; aspect-ratio: 1; overflow: hidden; border-radius: 0; }
.inner-page .people-grid .coach-row .person-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#karate-coach .person-photo img { object-position: center top; }
.coach-row .coach-meta dt { flex-shrink: 0; }
.inner-page .people-grid .coach-row-reversed .person-photo { grid-column: 2; grid-row: 1; }
.inner-page .people-grid .coach-row-reversed .person-copy { grid-column: 1; grid-row: 1; }
.inner-page .coach-row .person-copy { min-width: 0; padding: clamp(26px, 3vw, 42px); }
.inner-page .coach-row .person-copy > p:not(.person-role,.coach-qualification) { margin: 20px 0; font-size: .95rem; line-height: 1.65; }
.inner-page .people-grid .coach-founder { border-top: 3px solid var(--accent); }
.inner-page .coach-founder .person-copy h3 { font-size: clamp(2.8rem, 4.5vw, 4.8rem); }
.inner-page .coach-row:not(.coach-founder) .person-copy h3 { font-size: clamp(2.25rem, 3.2vw, 3.5rem); }
.coach-appointment { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 26px clamp(26px, 3vw, 42px); border-top: 1px solid #ffffff25; background: #ffffff04; }
.coach-appointment .person-role { margin: 0 0 8px; font-size: .62rem; }
.coach-appointment h4 { margin: 0; font: 600 1.15rem/1.4 "Manrope", sans-serif; }
.coach-appointment p:not(.person-role) { max-width: 650px; margin: 10px 0 0; color: #bed0d6; font-size: .85rem; line-height: 1.65; }
.coach-appointment-links { display: grid; justify-items: start; flex-shrink: 0; gap: 12px; }
.coach-appointment-links .source-link { font-size: .72rem; }
.coach-karate .person-role, .coach-karate .coach-qualification { color: var(--karate-accent); }
.coach-yoga .person-role { color: var(--yoga-text); }
.coach-qualification { margin: 20px 0; font-size: .88rem; font-weight: 700; line-height: 1.6; }
.coach-specialities { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 20px 0; padding: 14px 0; border-block: 1px solid #ffffff25; list-style: none; }
.coach-specialities li { color: #d9e7ed; font-size: .8rem; line-height: 1.6; }
.coach-philosophy { margin: 22px 0; padding-left: 18px; border-left: 2px solid var(--karate-accent); }
.coach-philosophy p { margin: 0 0 8px; font-family: Georgia, serif; font-size: 1.25rem; font-style: italic; line-height: 1.4; }
.coach-philosophy cite { color: #a9c2ca; font-size: .7rem; font-style: normal; }
@media (max-width: 760px) {
  .coach-appointment { flex-direction: column; align-items: stretch; }
  .inner-page .people-grid .coach-row { grid-template-columns: 1fr; }
  .inner-page .people-grid .coach-row-reversed .person-photo, .inner-page .people-grid .coach-row-reversed .person-copy { grid-column: 1; grid-row: auto; }
}
.inner-page .person-card { overflow: hidden; border: 1px solid #ffffff20; border-radius: 6px; }
.inner-page .person-card-featured { grid-template-columns: 1fr 1fr; }
.inner-page .person-photo { height: 360px; }
.inner-page .person-card-featured .person-photo { height: 100%; min-height: 520px; }
.inner-page .person-copy { padding: clamp(28px, 3vw, 44px); }
.inner-page .person-copy h3 { font-size: clamp(2.25rem, 3.5vw, 3.8rem); line-height: 1.02; letter-spacing: -.055em; }
.inner-page .person-role { margin-bottom: 18px; line-height: 1.7; }
.inner-page .person-copy > p:not(.person-role) { margin: 24px 0; }
.inner-page .coach-meta div { gap: 20px; line-height: 1.6; }

.inner-page .record-feature { min-height: 0; grid-template-columns: .85fr 1.15fr; }
.inner-page .record-art { padding: 40px; }
.inner-page .record-art img { max-height: 640px; }
.inner-page .record-art-photo { display: flex; align-items: center; padding: 28px; }
.inner-page .record-art-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 4px; filter: none; }
.inner-page .record-copy { padding: 64px max(28px, 5vw); }
.inner-page .record-copy h2 { font-size: clamp(2.8rem, 4.8vw, 5rem); line-height: 1.02; }
.inner-page .record-times { gap: 12px; background: transparent; margin: 32px 0; }
.inner-page .record-times div { padding: 22px; border: 1px solid #ffffff25; border-radius: 4px; }
.inner-page .record-times strong { font-size: clamp(2.25rem, 3.5vw, 3.6rem); }
.inner-page .results-table-wrap { background: #fff9; }
.inner-page .results-table th, .inner-page .results-table td { padding: 20px; }
.inner-page .results-table tbody th { font-size: 1.15rem; }
.inner-page .results-table tbody tr:nth-child(even) { background: #031c2d04; }
.inner-page .results-source { margin-top: 28px; }
.inner-page .national-stage-copy { margin-bottom: 40px; }
.national-milestones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 44px 0 8px; padding: 0; border-top: 1px solid #ffffff30; list-style: none; }
.national-milestones li { position: relative; padding: 26px 24px 12px 0; }
.national-milestones li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #031c2d; }
.national-milestones span { display: block; margin-bottom: 10px; color: #a9c2ca; font-size: .7rem; font-weight: 700; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.national-milestones strong { display: block; font-family: "Manrope", sans-serif; font-size: clamp(1.1rem, 1.7vw, 1.6rem); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
@media (max-width: 640px) {
  .national-milestones { grid-template-columns: 1fr; margin-top: 32px; border-top: 0; }
  .national-milestones li { margin-left: 5px; padding: 0 0 30px 25px; border-left: 1px solid #ffffff30; }
  .national-milestones li:last-child { padding-bottom: 0; border-left-color: transparent; }
  .national-milestones li::before { top: 5px; left: -5px; }
  .national-milestones span { margin-bottom: 6px; }
  .national-milestones strong { font-size: 1.3rem; }
}
.inner-page .national-stage-stories { gap: 16px; background: transparent; }
.inner-page .national-stage-stories article { padding: 30px; border: 1px solid #ffffff20; border-radius: 6px; }
.inner-page .national-stage-stories h3 { margin: 24px 0 18px; font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.08; }
.inner-page .achievement-filter { margin-bottom: 32px; }
.inner-page .achievement-browser-grid { gap: 20px; background: transparent; }
.inner-page .achievement-story-card { padding: 32px; border: 1px solid #ffffff20; border-radius: 6px; }
.inner-page .achievement-story-card time { font-size: 2.4rem; }
.inner-page .achievement-story-card > p:first-of-type { margin-top: 24px; line-height: 1.6; }
.inner-page .achievement-story-card h3 { font-size: clamp(1.8rem, 2.7vw, 2.8rem); line-height: 1.08; }
.inner-page .achievement-story-card dl div { align-items: baseline; gap: 24px; }

.inner-page .album-filter { margin-bottom: 32px; }
.inner-page .album-card { aspect-ratio: 4 / 3; min-height: 0; box-shadow: none; border-radius: 6px; }
.inner-page .album-card img { position: absolute; inset: 0; width: 100%; min-height: 0; height: 100%; object-fit: cover; object-position: center; }
.inner-page .album-card figcaption { padding: 90px 28px 28px; }
.inner-page .album-card h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; }
.inner-page .gala-grid { gap: 16px; background: transparent; }
.inner-page .gala-grid article { padding: 32px; border: 1px solid #031c2d20; border-radius: 6px; }
.inner-page .gala-grid h3 { margin: 24px 0 18px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; }
.inner-page .gallery-dialog { width: min(1480px, calc(100% - 40px)); height: 92svh; max-height: 92svh; border-radius: 8px; }
.inner-page .gallery-dialog-head { flex: 0 0 auto; align-items: center; padding: 64px 28px 24px; }
.inner-page .gallery-dialog-head p { font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.45; }
.inner-page .gallery-dialog-grid { flex: 1 1 auto; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 13vw, 185px); grid-auto-flow: dense; align-content: start; gap: 12px; padding: 20px; background: #020f18; }
.inner-page .gallery-dialog-item { grid-column: span 3; grid-row: span 1; min-width: 0; overflow: hidden; border: 0; border-radius: 3px; }
.inner-page .gallery-dialog-item:nth-child(10n + 1), .inner-page .gallery-dialog-item:nth-child(10n + 6) { grid-column: span 6; grid-row: span 2; }
.inner-page .gallery-dialog-item.is-portrait { grid-row: span 2; }
.inner-page .gallery-dialog-grid.is-small-album .gallery-dialog-item { grid-column: span 6; grid-row: span 1; }
.inner-page .gallery-dialog-grid.is-small-album { grid-auto-rows: clamp(180px, 20vw, 280px); }
.inner-page .gallery-dialog-grid.is-small-album .gallery-dialog-item:first-child { grid-row: span 2; }
.gallery-photo-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #0b3043; cursor: zoom-in; overflow: hidden; }
.gallery-photo-button:focus-visible { outline: 3px solid #58deeb; outline-offset: -4px; }
.inner-page .gallery-dialog-item img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 35%; background: #0b3043; transition: transform .4s ease; }
@media (hover: hover) { .gallery-photo-button:hover img { transform: scale(1.035); } }
.inner-page .gallery-close { position: absolute; right: 16px; top: 14px; margin: 0; }

.inner-page .visit { min-height: 0; align-items: start; gap: 64px; padding: var(--section-space) var(--page-gutter); }
.inner-page .visit h2 { font-size: clamp(2.75rem, 4.6vw, 4.8rem); line-height: 1.02; }
.inner-page .visit-intro > p:not(.overline) { margin: 28px 0; }
.inner-page .premium-form { min-width: 0; align-self: start; gap: 24px; padding: 32px; border-radius: 6px; background: #0a344c; }
.inner-page .premium-field { min-width: 0; }
.inner-page .premium-field :is(input, select, textarea) { width: 100%; min-width: 0; line-height: 1.5; }
.inner-page .submit-button { min-width: 0; gap: 16px; }
.inner-page .location-section { min-height: 420px; border-bottom-width: 1px; }
.inner-page .location-copy { padding: 48px 40px 100px; }
.inner-page .location-copy h2 { font-size: clamp(2.4rem, 3.5vw, 3.8rem); line-height: 1.05; }
.inner-page .location-copy::after { left: 40px; right: 40px; bottom: 32px; }
.inner-page .location-map, .inner-page .location-map iframe { min-height: 420px; }
.inner-page .contact-details article { min-height: 0; padding: 60px max(28px, 5vw); }
.inner-page .contact-details h2 { font-size: clamp(2.2rem, 3.8vw, 4rem); line-height: 1.05; }

.inner-page .legal-hero { padding: 80px var(--page-gutter) 60px; }
.inner-page .legal-hero h1 { font-size: clamp(3.2rem, 6.5vw, 6rem); line-height: 1; }
.inner-page .legal-layout { padding: 64px var(--page-gutter) 90px; gap: 64px; grid-template-columns: minmax(220px, .4fr) minmax(0, 1fr); }
.inner-page .legal-content { max-width: 720px; }
.inner-page .legal-content h2 { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.2; }
.inner-page .legal-content section { margin-bottom: 32px; padding-bottom: 32px; }

@media (max-width: 900px) {
  .inner-page .experience-head { grid-template-columns: 1fr; }
  .inner-page .experience-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-page .experience-tab { height: 420px; }
  .inner-page .sphere-label { font-size: 2.5rem; }
  .inner-page .activity-panel, .inner-page .activity-details { grid-template-columns: 1fr; gap: 32px; }
  .inner-page .activity-visual { height: 440px; min-height: 0; }
  .inner-page .profile-intro, .inner-page .person-card-featured, .inner-page .record-feature { grid-template-columns: 1fr; }
  .inner-page .profile-intro-image { min-height: 0; height: 440px; }
  .inner-page .person-card-featured .person-photo { min-height: 0; height: 440px; }
  .inner-page .record-art { min-height: 0; }
  .inner-page .record-art img { height: auto; max-height: 500px; }
  .inner-page .national-stage-stories, .inner-page .achievement-browser-grid { grid-template-columns: 1fr; }
  .inner-page .visit, .inner-page .location-section, .inner-page .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .inner-page .location-section { gap: 0; }
  .inner-page .legal-summary { position: static; }
}

@media (max-width: 560px) {
  .inner-page { --page-gutter: 24px; --section-space: 60px; }
  .inner-page .page-hero { padding-top: 40px; padding-bottom: 36px; }
  .inner-page .page-hero h1 { font-size: clamp(2.8rem, 11vw, 3.9rem); }
  .inner-page .experience-picker { grid-template-columns: 1fr; }
  .inner-page .experience-tab { height: 390px; }
  .inner-page .activity-visual { height: 350px; }
  .inner-page .activity-details { margin-top: 0; padding-block: 32px; }
  .inner-page .activity-proof > div { grid-template-columns: 1fr; }
  .inner-page .story-timeline, .inner-page .people-grid { grid-template-columns: 1fr; }
  .inner-page .profile-intro-copy, .inner-page .record-copy { padding: 48px 24px; }
  .inner-page .profile-intro-image, .inner-page .person-card-featured .person-photo { height: 340px; }
  .inner-page .person-photo { height: 320px; }
  .inner-page .person-copy { padding: 28px; }
  .inner-page .record-times { grid-template-columns: 1fr; }
  .inner-page .results-table th, .inner-page .results-table td { padding: 8px 16px; }
  .inner-page .results-table td { flex-wrap: wrap; }
  .inner-page .achievement-story-card, .inner-page .national-stage-stories article { padding: 26px; }
  .inner-page .album-card, .inner-page .album-card img { min-height: 0; }
  .inner-page .album-card figcaption { padding: 90px 24px 24px; }
  .inner-page .gallery-dialog-head { gap: 12px; align-items: flex-start; padding: 64px 20px 20px; }
  .inner-page .gallery-dialog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; padding: 12px; gap: 8px; }
  .inner-page .gallery-dialog-grid.is-small-album { grid-auto-rows: 180px; }
  .inner-page .gallery-dialog-grid .gallery-dialog-item { grid-column: span 1; grid-row: span 1; }
  .inner-page .gallery-dialog-grid .gallery-dialog-item.is-portrait { grid-row: span 2; }
  .inner-page .gallery-dialog-grid .gallery-dialog-item:nth-child(10n + 1) { grid-column: span 2; grid-row: span 2; }
  .inner-page .gallery-dialog-grid .gallery-dialog-item img { height: 100%; max-height: none; }
  .inner-page .premium-form { grid-template-columns: 1fr; padding: 24px; }
  .inner-page .premium-field.full, .inner-page .submit-button, .inner-page .privacy { grid-column: auto; }
  .inner-page .location-copy { padding: 40px 24px 100px; }
  .inner-page .location-copy::after { left: 24px; right: 24px; }
  .inner-page .location-map, .inner-page .location-map iframe { min-height: 320px; }
  .inner-page .contact-details article { padding: 48px 24px; }
  .inner-page .home-cta { padding-block: 60px; }
}
.gallery-photo-dialog { width: min(1600px, calc(100% - 24px)); max-width: none; height: 94svh; max-height: 94svh; padding: 0; border: 0; border-radius: 6px; color: #fff; background: #020f18; overflow: hidden; }
.gallery-photo-dialog[open] { display: flex; flex-direction: column; }
.gallery-photo-dialog::backdrop { background: #010a11ed; }
.gallery-photo-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.gallery-photo-toolbar > span { font-size: .8rem; color: #aee0ee; }
.gallery-photo-toolbar > div { display: flex; gap: 10px; }
.gallery-photo-toolbar button { min-width: 44px; min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff55; border-radius: 99px; color: #fff; background: transparent; cursor: pointer; }
.gallery-photo-toolbar button:focus-visible { outline: 2px solid #58deeb; outline-offset: 3px; }
.gallery-photo-stage { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-height: 0; padding: 0 12px 12px; overscroll-behavior: contain; }
.gallery-photo-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .inner-page .gallery-dialog-item img { transition: none; } }
