/* Editorial Profile page; content remains native WordPress blocks. */
.profile-masthead { position: relative; isolation: isolate; background: #32131e; color: #fff; overflow: hidden; }
.profile-masthead__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; z-index: -2; }
.profile-masthead::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,8,15,.92), rgba(26,8,15,.70) 35%, rgba(26,8,15,.06) 80%); }
.profile-masthead__inner { padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(40px, 5vw, 76px); }
.profile-page .profile-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; line-height: 1.5; }
.profile-masthead h1 { color: #fff; font-size: clamp(2.65rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 24px; max-width: 700px; }
.profile-page .profile-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 14px 20px; font-size: .875rem; font-weight: 600; line-height: 1.4; border: 1px solid var(--burgandy); background: var(--burgandy); color: #fff; text-decoration: none; transition: background .18s ease, color .18s ease; }
.profile-page .profile-action:hover { background: var(--light-burgandy); color: #fff; }
.profile-page .profile-action--light { background: var(--light-pink); border-color: var(--light-pink); color: var(--burgandy); }
.profile-page .profile-action--light:hover { background: #fff; color: var(--burgandy); }
.profile-action span { display: inline-block; transition: transform .18s ease; }
.profile-action:hover span { transform: translateX(4px); }
.profile-action--light:hover span { transform: translateY(3px); }
.profile-page a:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
.profile-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.profile-content:only-child { grid-column: 1 / -1; max-width: 780px; }
.profile-index { align-self: start; position: sticky; top: 64px; }
.profile-index .profile-eyebrow { color: var(--burgandy); margin-bottom: 16px; }
.profile-index a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; min-height: 48px; border-bottom: 1px solid var(--light-pink); color: #575057; text-decoration: none; font-size: .875rem; transition: color .18s ease, padding .18s ease; }
.profile-index a span { color: var(--burgandy); }
.profile-index a:hover, .profile-index a:focus-visible { color: var(--burgandy); padding-left: 6px; }
.profile-content { min-width: 0; line-height: 1.8; font-size: 1rem; }
.profile-content .profile-section { margin: 0 0 56px; padding: 0 0 56px; border-bottom: 1px solid var(--light-pink); scroll-margin-top: 64px; }
.profile-content .profile-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.profile-content h2 { margin: 0 0 28px; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.15; letter-spacing: -.025em; color: var(--burgandy); }
.profile-content p { margin: 0 0 22px; }
.profile-content p:last-child { margin-bottom: 0; }
.profile-content .profile-lead { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.6; color: #282128; }
.profile-content .profile-competitions { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; counter-reset: awards; }
.profile-competitions li { counter-increment: awards; display: flex; gap: 16px; align-items: baseline; padding: 17px 0; border-top: 1px solid var(--light-pink); font-size: .9375rem; line-height: 1.6; }
.profile-competitions li::before { content: counter(awards, decimal-leading-zero); flex-shrink: 0; color: var(--burgandy); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.profile-content .profile-programme { list-style: none; padding: 0; margin: 28px 0; }
.profile-programme li { padding: 22px 0; border-top: 1px solid var(--light-pink); }
.profile-programme li strong { display: block; color: var(--burgandy); font-size: 1.0625rem; margin-bottom: 6px; }
.profile-content .profile-note { padding: 24px; background: var(--light-pink); border-left: 3px solid var(--burgandy); }
.profile-content a { color: var(--burgandy); text-underline-offset: 4px; }
.profile-finale { background: var(--light-pink); padding: 48px 0; }
.profile-finale__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.profile-finale .profile-eyebrow { color: var(--burgandy); margin-bottom: 12px; }
.profile-finale h2 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--burgandy); margin: 0; letter-spacing: -.025em; }
@keyframes profile-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
    .profile-masthead__inner > * { animation: profile-arrive .55s ease both; }
    .profile-masthead__inner > :nth-child(2) { animation-delay: .08s; }
    .profile-masthead__inner > :nth-child(3) { animation-delay: .16s; }
}
@media (max-width: 991px) {
    .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .profile-index { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
    .profile-index .profile-eyebrow { grid-column: 1 / -1; }
    .profile-masthead__image { object-position: 62% center; }
    .profile-masthead::after { background: linear-gradient(90deg, rgba(26,8,15,.88), rgba(26,8,15,.45)); }
}
@media (max-width: 575px) {
    .profile-page .container { padding-left: 24px; padding-right: 24px; }
    .profile-masthead h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
    .profile-content .profile-section { padding-bottom: 36px; margin-bottom: 36px; }
    .profile-content .profile-competitions { grid-template-columns: 1fr; }
    .profile-finale__inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-page *, .profile-page *::before, .profile-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
