.profile-page {
  --profile-width: 1280px;
  --profile-gutter: clamp(18px, 4.2vw, 72px);
  --profile-rule: #48484b;
  background: #19191b;
  color: var(--paper);
}
.profile-main, .profile-footer {
  width: min(calc(100% - 2 * var(--profile-gutter)), var(--profile-width));
  margin-inline: auto;
}
.profile-main :is(a, button):focus-visible, .profile-footer a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.profile-main svg, .profile-footer svg { display: block; width: 19px; height: 19px; flex: none; }
.profile-breadcrumb { display: flex; align-items: center; gap: 14px; min-height: 64px; color: var(--muted); font-size: .9rem; }
.profile-breadcrumb a { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; color: var(--paper); }
.profile-breadcrumb a:hover, .profile-text-link:hover, .profile-footer a:hover { text-decoration: underline; text-underline-offset: .23em; }
.profile-cover {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  padding: 4px 0 clamp(36px, 5.2vw, 78px);
  border-bottom: 1px solid var(--profile-rule);
}
.profile-cover-copy { padding-block: 12px; }
.profile-floor-portrait { width: min(100%,480px); justify-self: center; }
.profile-inclusion { margin: 12px 0; }
.profile-story .profile-method { margin-top: 8px; }
.profile-plan .profile-floor-hours { margin-block: 12px; font: 600 clamp(1.6rem, 3vw, 2.6rem)/1.25 var(--heading); font-variant-numeric: tabular-nums; }
.profile-floor-gallery { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.65fr); align-items: start; gap: clamp(20px,4vw,60px); }
.profile-floor-photos { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,.779fr); align-items: start; gap: clamp(8px,1.4vw,18px); }
.profile-floor-photos figcaption { padding-top: 6px; font-size: .93rem; color: var(--muted); }
.profile-portrait { width: min(100%, 590px); justify-self: end; }
.profile-portrait img { display: block; width: 100%; height: auto; }
.profile-philosophy { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--yellow); max-width: 40ch; color: var(--muted); font-size: clamp(1.02rem, 1.45vw, 1.3rem); line-height: 1.55; }
.profile-cover h1 {
  font: 700 clamp(5.5rem, 9.5vw, 9.2rem)/.83 var(--display);
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--paper);
}
.profile-cover h1 span { display: block; color: var(--yellow); }
@media (min-width: 761px) {
  .profile-cover .accented-surname { margin-top: .14em; }
}
.profile-role { margin: clamp(20px, 2vw, 32px) 0 8px; font: 600 clamp(1.05rem, 1.55vw, 1.5rem)/1.3 var(--heading); }
.profile-lead { max-width: 37ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.55; }
.profile-actions { display: flex; gap: 10px 22px; align-items: center; flex-wrap: wrap; margin-top: clamp(22px, 2.5vw, 38px); }
.profile-button, .profile-text-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; line-height: 1.25; font-weight: 600;
}
.profile-button { background: var(--yellow); color: var(--ink); padding: 15px 19px; }
.profile-button:hover { background: var(--paper); }
.profile-photo-link { display: block; position: relative; min-width: 0; background: var(--ink); }
.profile-photo-link img { display: block; width: 100%; height: auto; }
.profile-photo-link:focus-visible { z-index: 1; }
.photo-expand {
  position: absolute; inset: auto 10px 10px auto; width: 36px; height: 36px; display: grid; place-items: center;
  background: #151518; color: #fff; border: 1px solid #a7a7aa;
}
.photo-expand svg { width: 19px; height: 19px; }
.profile-photo-link:is(:hover,:focus-visible) .photo-expand { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.profile-columns { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(28px,6vw,96px); align-items: start; }
.profile-columns, .profile-training, .profile-gallery, .profile-contact { padding-block: clamp(38px,5vw,74px); }
.profile-main section h2 { font: 700 clamp(2.45rem,4vw,3.8rem)/1.02 var(--display); letter-spacing: -.018em; }
.profile-intro { margin-top: 18px; max-width: 59ch; font-size: clamp(1.05rem,1.5vw,1.32rem); line-height: 1.55; }
.profile-story h3 { margin: 28px 0 8px; font: 600 clamp(1.08rem,1.5vw,1.3rem)/1.4 var(--heading); }
.profile-services { margin: 0; padding-left: 1.25em; list-style: square; max-width: 57ch; }
.profile-services li { color: var(--muted); padding: 4px 0 4px 4px; }
.profile-services li::marker { color: var(--yellow); }
.profile-plan {
  background: #f2efe5;
  color: #202023;
  padding: clamp(22px,2.4vw,38px);
  border-top: 5px solid var(--red);
}
.profile-main .profile-plan h2 { font-size: clamp(2.1rem,3vw,2.75rem); }
.profile-plan > p { margin: 8px 0 0; line-height: 1.45; }
.profile-options { margin: 16px 0 18px; }
.profile-options > div { padding-block: 10px; border-bottom: 1px solid #b5b1a8; }
.profile-options dt, .profile-booking strong { font-weight: 600; }
.profile-options dd { margin: 3px 0 0; line-height: 1.45; }
.profile-booking strong { display: block; }
.profile-plan .profile-booking + .profile-booking { margin-top: 12px; }
.profile-experience { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: start; gap: clamp(24px,4vw,65px); }
.profile-experience h3 { font: 600 clamp(1.12rem,1.6vw,1.45rem)/1.3 var(--heading); }
.profile-experience-copy p { margin-top: 8px; max-width: 62ch; color: var(--muted); }
.profile-experience-copy p + h3 { margin-top: 24px; }
.profile-podium-photo { margin: 22px 0 0; }
.profile-podium-photo .photo-expand { top: 10px; bottom: auto; }
.profile-podium-photo figcaption { margin-top: 6px; color: var(--muted); font-size: .93rem; }
.profile-prices { margin: 20px 0 0; }
.profile-prices > div, .profile-total { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; column-gap: 12px; }
.profile-prices > div { padding-block: 8px; border-top: 1px solid #b5b1a8; }
.profile-prices dt { flex: 1 1 138px; }
.profile-prices dd { margin: 0; font-weight: 600; white-space: nowrap; }
.hugo-prices > div { align-items: start; padding-block: 12px; gap: 3px 14px; }
.hugo-prices dt { flex: 1 1 7em; font-weight: 600; }
.hugo-prices dd { font: 700 clamp(1.45rem,2.2vw,2rem)/1 var(--display); text-align: end; }
.hugo-prices small { display: block; margin-top: 4px; color: #4e4b46; font: 400 .94rem/1.35 Barlow, sans-serif; }
.hugo-gallery-training, .hugo-gallery-judging { display: grid; align-items: start; gap: clamp(8px,1.6vw,24px); margin-top: 22px; }
.hugo-gallery-training { grid-template-columns: minmax(0,.6975fr) minmax(0,.9624fr) minmax(0,.7476fr); }
.hugo-gallery-judging { grid-template-columns: minmax(0,.778fr) minmax(0,1.593fr); }
.hugo-gallery figcaption { margin-top: 5px; color: var(--muted); font-size: .94rem; line-height: 1.35; }
.hugo-gallery > a { margin-top: 12px; }
@media (max-width: 380px) {
  .hugo-prices dt { flex-basis: 6em; }
}
.profile-plan .profile-plan-note { margin: 4px 0 18px; color: #4e4b46; font-size: .94rem; }
.profile-total { border-top: 1px solid #77736c; padding-top: 12px; font-weight: 600; }
.profile-total strong { white-space: nowrap; font: 700 clamp(1.8rem,2.6vw,2.5rem)/1.15 var(--display); }
.profile-plan .profile-text-link { justify-content: flex-start; text-align: start; margin-top: 14px; color: #841110; }
.profile-plan a:focus-visible { outline-color: #841110; }
.profile-training, .profile-gallery, .profile-contact { border-top: 1px solid var(--profile-rule); }
.profile-credentials { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,4vw,64px); padding: 0; margin: 26px 0 0; list-style: none; }
.profile-credentials li { border-top: 2px solid var(--red); padding-top: 15px; }
.profile-credentials strong, .profile-credentials span { display: block; }
.profile-credentials strong { font: 600 clamp(1.04rem,1.6vw,1.35rem)/1.35 var(--heading); }
.profile-credentials span { margin-top: 4px; color: var(--muted); }
.profile-filmstrip { display: grid; grid-template-columns: 8fr 15fr 15fr; gap: clamp(8px,1vw,16px); align-items: center; margin-top: 26px; }
.profile-contact { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 24px; align-items: start; }
.profile-contact-links a { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--profile-rule); }
.profile-contact-links a:last-child { border-bottom: 1px solid var(--profile-rule); }
.profile-contact-links a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.profile-contact-links a span { color: var(--muted); }
.profile-contact-links a strong { font: 600 clamp(1.08rem,1.55vw,1.4rem)/1.35 var(--heading); }
.profile-contact-links svg { color: var(--yellow); }
.profile-footer { padding: 22px 0 26px; background: transparent; border-top: 1px solid var(--profile-rule); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px; }
.profile-footer p { font: 700 1.3rem/1.2 var(--display); text-transform: uppercase; }
.profile-footer p span { color: var(--yellow); }
.profile-footer > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.profile-footer .footer-bottom { width: 100%; justify-content: flex-start; }
.profile-viewer {
  width: min(96vw, 1120px); max-width: none; max-height: none; margin: auto; padding: 0;
  background: #151517; color: var(--paper); border: 1px solid var(--profile-rule);
}
.profile-viewer:not([open]) { display: none; }
.profile-viewer::backdrop { background: rgb(6 6 7 / 91%); }
body:has(.profile-viewer[open]) { overflow: hidden; }
.profile-viewer-inner { height: min(90vh, 900px); height: min(90dvh, 900px); display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.profile-viewer-head, .profile-viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px clamp(8px,2vw,22px); }
.profile-viewer-head h2 { font: 600 clamp(1.05rem,2.2vw,1.6rem)/1.15 var(--heading); }
.profile-viewer button { color: var(--paper); background: transparent; border: 0; min-height: 44px; padding: 7px 10px; }
.profile-viewer button:hover, .profile-viewer button:focus-visible { color: var(--yellow); }
.profile-viewer-image { min-height: 0; }
.profile-viewer-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.profile-viewer-controls [data-count] { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .profile-columns { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 760px) {
  .profile-breadcrumb { min-height: 50px; }
  .profile-cover { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .profile-cover-copy { padding-block: 12px 0; }
  .profile-floor-gallery { grid-template-columns: minmax(0,1fr); }
  .profile-floor-portrait { max-width: 460px; }
  .profile-portrait { justify-self: center; }
  .profile-experience { grid-template-columns: 1fr; }
  .profile-cover h1 { font-size: clamp(3.4rem,15vw,6.6rem); line-height: .94; }
  .profile-cover h1 span { display: inline; }
  .profile-role { margin-top: 14px; }
  .profile-lead { max-width: 48ch; }
  .profile-actions { margin-top: 16px; }
  .profile-columns, .profile-contact { grid-template-columns: 1fr; }
  .profile-columns { gap: 28px; }
  .profile-contact-links a { grid-template-columns: minmax(68px,.7fr) minmax(0,1.25fr) auto; }
}
@media (max-width: 620px) {
  .profile-credentials { grid-template-columns: 1fr; gap: 13px; }
  .profile-credentials li { border-top: 1px solid var(--profile-rule); padding-top: 12px; }
  .profile-filmstrip { grid-template-columns: minmax(0,1.07fr) minmax(0,1fr); row-gap: 7px; }
  .profile-filmstrip .profile-photo-link:first-child { grid-row: span 2; }
  .photo-expand { width: 30px; height: 30px; inset: auto 6px 6px auto; }
}
@media (max-width: 380px) {
  .profile-actions { gap: 4px 10px; }
  .profile-button { padding-inline: 12px; }
  .profile-text-link { gap: 6px; }
  .profile-main .profile-plan h2 { font-size: 2rem; }
}
