/*
Theme Name: HFS
Theme URI: https://health-fitness-sport.com/
Author: HFS
Description: The bilingual HFS site with personal training, mental coaching and editable content.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hfs
*/


:root {
  --paper: #fdfbf8;
  --ivory: #f8f5ef;
  --ink: #211a18;
  --brown: #58433d;
  --taupe: #59493c;
  --gold: #bd965c;
  --copper: #b76827;
  --line: #d9c9b3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; width: auto; height: auto; top: 8px; left: 8px; z-index: 100000; padding: 12px 18px; margin: 0; clip: auto; background: var(--paper); border: 2px solid var(--copper); }

.site-header { min-height: 135px; padding: 25px clamp(24px, 3.2vw, 60px) 17px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; border-bottom: 1px solid #d5bbae; background: var(--paper); }
.brand { display: inline-flex; flex-direction: column; align-items: center; width: max-content; flex: none; line-height: 1; }
.brand-letters { width: 215px; display: flex; justify-content: space-between; font-size: 61px; line-height: .86; font-weight: 400; }
.brand-words, .brand-established { color: var(--copper); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.brand-words { margin-top: 12px; font-size: 10px; letter-spacing: .28em; }
.brand-words span { padding-inline: 3px; }
.brand-established { margin-top: 7px; font-size: 10px; letter-spacing: .29em; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 51px); font-size: 19px; }
.main-nav a { padding: 15px 0; transition: color .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--copper); }
.main-nav .nav-contact { border: 2px solid var(--ink); min-width: 116px; text-align: center; padding: 11px 20px; transition: background .2s ease, color .2s ease; }
.main-nav .nav-contact:hover { background: var(--ink); color: #fff; }
.language-switch { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 15px; letter-spacing: .06em; }
.language-switch a[aria-current="page"] { color: var(--copper); text-decoration: underline; text-underline-offset: 5px; }

.hero { position: relative; min-height: 399px; overflow: hidden; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--paper) 0%, rgba(253,251,248,.99) 24%, rgba(253,251,248,.93) 35%, rgba(253,251,248,.56) 49%, rgba(253,251,248,0) 66%), var(--hero-image, url("./assets/hero-landscape.webp")); background-size: cover; background-position: center, center 52%; }
.hero-copy { position: relative; z-index: 1; padding: 68px clamp(24px, 4.1vw, 64px) 37px; max-width: 920px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(58px, 5.65vw, 88px); line-height: 1.05; letter-spacing: -.055em; font-weight: 400; white-space: nowrap; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-lead { color: var(--brown); font-size: clamp(27px, 2.55vw, 40px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 30px; }
.hero-signature { width: max-content; min-width: 195px; padding-bottom: 15px; margin: 0; border-bottom: 2px solid #c88d45; font-size: 24px; }

.pathways { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin-top: 30px; scroll-margin-top: 20px; }
.path-card { min-width: 0; height: 420px; position: relative; overflow: hidden; }
.path-rj { background: var(--taupe); color: #fff; }
.path-mental { background: var(--ivory); color: var(--ink); }
.path-photo { position: absolute; inset: 0; }
.path-rj .path-photo { background-image: linear-gradient(90deg, #594a3d 0%, rgba(89,74,61,.98) 29%, rgba(89,74,61,.64) 49%, rgba(89,74,61,.07) 72%), var(--rj-image, url("./assets/rj-training.webp")); background-size: cover; background-position: center, 59% center; }
.path-mental .path-photo { background-image: linear-gradient(90deg, #f8f5ef 0%, rgba(248,245,239,.99) 25%, rgba(248,245,239,.87) 43%, rgba(248,245,239,.12) 72%), var(--mental-image, url("./assets/mental-football.webp")); background-size: cover; background-position: center, 62% center; }
.path-content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 42px clamp(26px, 2.9vw, 45px) 28px; }
.brand-kicker, .path-descriptor { font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; text-transform: uppercase; font-weight: 400; }
.brand-kicker { margin: 24px 0 0; font-size: 14px; letter-spacing: .24em; line-height: 1.3; }
.gold-rule { display: block; width: 61px; height: 2px; background: #c58f47; margin: 17px 0 17px; }
.path-card h2 { margin: 0 0 28px; font-size: clamp(46px, 4.25vw, 68px); line-height: .96; letter-spacing: -.052em; font-weight: 400; }
.path-descriptor { margin: 0; font-size: clamp(11px, .96vw, 15px); letter-spacing: .16em; line-height: 1.5; white-space: nowrap; }
.path-link { margin-top: auto; padding-bottom: 9px; border-bottom: 2px solid #bd8b4d; display: inline-flex; gap: 17px; align-items: baseline; font-size: clamp(22px, 1.7vw, 28px); line-height: 1; transition: color .2s ease, border-color .2s ease; }
.path-link span { color: var(--copper); font-family: "Avenir Next", Avenir, sans-serif; font-size: 27px; }
.path-link:hover { color: var(--gold); border-color: currentColor; }

.home-next { display: flex; justify-content: center; align-items: baseline; gap: 25px; padding: 70px 25px; color: var(--brown); }
.home-next p { margin: 0; font-size: 22px; }
.home-next a { font-size: 22px; border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.home-next a:hover { color: var(--copper); }
.site-footer { border-top: 1px solid var(--line); padding: 48px clamp(24px, 3.2vw, 60px); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.site-footer .brand-letters { width: 118px; font-size: 34px; }
.site-footer .brand-words { margin-top: 7px; font-size: 6px; letter-spacing: .25em; }
.site-footer .brand-established { margin-top: 5px; font-size: 6px; }
.site-footer p { color: var(--brown); font-size: 15px; line-height: 1.5; margin: 20px 0 0; }
.site-footer .footer-place { margin-top: 5px; font-size: 14px; }
.footer-links { display: flex; gap: 25px; font-size: 16px; }
.footer-links a:hover { color: var(--copper); }

.inner-hero { position: relative; overflow: hidden; min-height: 410px; display: flex; align-items: center; background: var(--ivory); }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(253,251,248,.98) 36%, rgba(253,251,248,.24) 68%, transparent 100%), var(--inner-image) center / cover no-repeat; }
.inner-hero-copy { position: relative; padding: 70px clamp(24px, 4.1vw, 64px); max-width: 850px; }
.eyebrow { margin: 0 0 22px; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: 18px; color: var(--copper); }
.inner-hero h1, .contact-hero h1 { margin: 0 0 22px; font-size: clamp(55px, 6vw, 88px); line-height: 1.02; letter-spacing: -.05em; font-weight: 400; }
.inner-hero .about-hero-title { max-width: 750px; font-size: clamp(42px, 4.8vw, 72px); line-height: 1.06; }
.inner-hero p:not(.eyebrow) { margin: 0; max-width: 610px; font-size: 25px; line-height: 1.4; color: var(--brown); }
.page-content { width: min(1180px, calc(100% - 80px)); margin: auto; padding: 80px 0 100px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.page-content h2 { margin: 0; font-size: clamp(38px, 4vw, 57px); line-height: 1.1; font-weight: 400; letter-spacing: -.04em; }
.page-content article { padding: 22px 0; border-top: 1px solid var(--line); }
.page-content article h3 { margin: 0 0 8px; font-size: 26px; font-weight: 400; }
.page-content article p, .about-copy p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--brown); }
.local-service { width: min(1180px, calc(100% - 80px)); margin: 0 auto 90px; padding: 42px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.local-service h2 { margin: 0; max-width: 420px; font-size: clamp(38px, 4vw, 57px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.local-service-copy p { margin: 0 0 24px; max-width: 700px; color: var(--brown); font-size: 21px; line-height: 1.55; }
.local-service-copy a { display: inline-block; padding: 4px 0 6px; border-bottom: 2px solid var(--gold); font-size: 21px; }
.local-service-copy a:hover { color: var(--copper); }
.page-action { background: #f3eee5; padding: 65px clamp(24px, 4.1vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.page-action h2 { margin: 0; font-size: clamp(34px, 4vw, 55px); font-weight: 400; }
.solid-link { display: inline-block; padding: 16px 23px; background: var(--ink); color: #fff; font-family: "Avenir Next", Avenir, sans-serif; font-size: 16px; }
.solid-link:hover { background: var(--brown); }
.about-profile { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 60px; }
.about-profile img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about-visual { min-width: 0; }
.experience-stats { margin-top: 18px; min-height: 265px; padding: 23px 24px 18px; background: #f5efe6; border-top: 2px solid var(--gold); display: flex; flex-direction: column; }
.experience-stats-heading { margin: 0; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 18px; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.experience-stat { min-height: 140px; padding-top: 13px; }
.experience-stat strong { display: block; font-size: 58px; line-height: 1; font-weight: 400; color: var(--ink); }
.experience-stat p { margin: 7px 0 0; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.3; color: var(--brown); }
.experience-stats-controls { display: flex; align-items: center; gap: 8px; margin-top: auto; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; color: var(--brown); }
.experience-stats-controls span { margin-right: auto; font-size: 14px; letter-spacing: .08em; }
.experience-stats-controls button { border: 1px solid var(--line); background: transparent; color: var(--ink); min-width: 34px; min-height: 34px; cursor: pointer; }
.experience-stats-controls button:hover { background: #e9dcc8; }
.experience-stats-controls .experience-stats-pause { padding: 0 9px; font-size: 15px; }
.memberships { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.memberships h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.15; font-weight: 400; }
.memberships ul { list-style: none; margin: 0; padding: 0; }
.memberships li { padding: 11px 0; border-bottom: 1px solid var(--line); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.35; color: var(--brown); }
.memberships a:hover { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { font-size: 22px; line-height: 1.65; }
.about-copy p + p { margin-top: 18px; }
.credential-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; padding: 0; margin: 32px 0 0; list-style: none; }
.credential-list li { padding: 12px 0; border-top: 1px solid var(--line); font-family: "Avenir Next", Avenir, sans-serif; font-size: 20px; line-height: 1.5; color: var(--brown); }
.credential-list abbr { text-decoration: none; }

.contact-hero { display: grid; grid-template-columns: minmax(0, 56%) minmax(0, 44%); min-height: 510px; padding-inline: clamp(24px, 4.1vw, 64px); background: linear-gradient(120deg, var(--paper), #f3eee6); }
.contact-hero-copy { padding: 74px 44px 62px 0; align-self: center; }
.contact-hero-media { position: relative; min-height: max(510px, 30vw); overflow: hidden; }
.contact-hero-media img { object-fit: cover; object-position: center top; }
.contact-hero h1 em { color: var(--gold); font-weight: 400; }
.contact-intro { max-width: 650px; font-size: clamp(24px, 2.25vw, 34px); color: var(--brown); line-height: 1.35; }
.contact-email-section { padding: 0 clamp(24px, 4.1vw, 64px) 82px; }
.contact-panel { padding: 38px; background: #f5efe6; border-left: 3px solid var(--gold); display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.contact-panel h2 { font-size: clamp(40px, 3.6vw, 50px); font-weight: 400; margin: 0 0 20px; }
.contact-panel p:not(.eyebrow) { color: var(--brown); font-size: clamp(24px, 2vw, 28px); line-height: 1.45; margin: 0; max-width: 670px; }
.contact-panel p.contact-languages { margin-top: 22px; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 20px; }
.email-link { display: block; width: max-content; max-width: 100%; font-size: clamp(20px, 2.1vw, 30px); padding-bottom: 7px; border-bottom: 2px solid var(--gold); overflow-wrap: anywhere; }
.email-link:hover { color: var(--copper); }
.copy-email { margin-top: 18px; border: 0; background: transparent; padding: 8px 0; cursor: pointer; font-family: "Avenir Next", Avenir, sans-serif; color: var(--brown); font-size: 17px; text-decoration: underline; text-underline-offset: 4px; }
.contact-address { display: grid; gap: 12px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--brown); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 20px; font-style: normal; line-height: 1.45; }
.contact-registered-label { font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-address a { width: max-content; max-width: 100%; border-bottom: 1px solid var(--gold); }
.contact-address a:hover { color: var(--copper); }
.contact-choices { border-top: 1px solid var(--line); padding: 46px clamp(24px, 4.1vw, 64px) 90px; }
.contact-choices h2 { margin: 0 0 26px; font-size: clamp(34px, 3.5vw, 50px); font-weight: 400; }
.contact-choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-choice { min-height: 300px; padding: 34px; border-bottom: 3px solid var(--gold); display: flex; align-items: flex-start; position: relative; overflow: hidden; transition: filter .2s ease; }
.contact-choice:hover { filter: brightness(.94); }
.contact-choice-rj { color: #fff; background: linear-gradient(120deg, #59493c, #705745); }
.contact-choice-mental { color: var(--ink); background: linear-gradient(120deg, #f5efe5, #e9dac5); }
.contact-choice-text { display: flex; flex-direction: column; align-items: flex-start; max-width: min(72%, 365px); min-height: 230px; }
.contact-choice strong { display: block; font-size: clamp(35px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; }
.contact-choice small { display: block; margin-top: 15px; font-family: "Avenir Next", Avenir, sans-serif; font-size: 19px; line-height: 1.35; }
.contact-choice-action { margin-top: auto; padding-top: 30px; padding-bottom: 6px; border-bottom: 2px solid currentColor; font-family: "Avenir Next", Avenir, sans-serif; font-size: 17px; line-height: 1.25; }
.contact-choice-action span { margin-left: 9px; font-size: 23px; }

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(54px, 6.2vw, 72px); }
  .hero-lead { font-size: clamp(26px, 2.8vw, 32px); }
  .path-card h2 { font-size: clamp(45px, 5vw, 58px); }
  .path-descriptor { font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 850px) {
  .site-header { min-height: 112px; }
  .brand-letters { width: 170px; font-size: 50px; }
  .brand-words { font-size: 8px; }
  .brand-established { font-size: 8px; }
  .main-nav { gap: 20px; font-size: 17px; }
  .hero-art { background-image: linear-gradient(90deg, var(--paper) 0%, rgba(253,251,248,.96) 28%, rgba(253,251,248,.67) 53%, rgba(253,251,248,.05) 83%), var(--hero-image, url("./assets/hero-landscape.webp")); }
  .pathways { grid-template-columns: 1fr; gap: 14px; margin: 26px 16px 0; }
  .path-card { height: 420px; }
  .path-card h2 { font-size: 65px; }
  .path-descriptor { font-size: 14px; letter-spacing: .15em; }
  .page-content, .local-service { grid-template-columns: 1fr; gap: 30px; }
  .contact-hero { display: block; }
  .contact-hero-copy { padding: 55px 0 38px; }
  .contact-hero-media { min-height: clamp(340px, 62vw, 520px); }
}
@media (max-width: 600px) {
  .site-header { min-height: 0; padding: 20px 20px 14px; display: block; }
  .brand-letters { width: 143px; font-size: 43px; }
  .brand-words { margin-top: 8px; font-size: 7px; letter-spacing: .2em; }
  .brand-established { margin-top: 5px; font-size: 7px; letter-spacing: .23em; }
  .main-nav { margin-top: 19px; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; font-size: 15px; }
  .main-nav a { padding: 10px 0; }
  .main-nav .nav-contact { min-width: 0; padding: 8px 13px; border-width: 1px; }
  .language-switch { font-size: 14px; gap: 5px; }
  .hero { min-height: 540px; align-items: flex-start; }
  .hero-art { background-image: linear-gradient(180deg, var(--paper) 0%, rgba(253,251,248,.98) 28%, rgba(253,251,248,.77) 48%, rgba(253,251,248,.12) 81%), var(--hero-image, url("./assets/hero-landscape.webp")); background-position: center, 68% center; }
  .hero-copy { padding: 33px 22px; width: 100%; }
  .hero h1 { white-space: normal; max-width: 390px; font-size: clamp(47px, 12vw, 65px); line-height: 1.03; }
  .hero-lead { max-width: 430px; font-size: clamp(23px, 5.9vw, 29px); line-height: 1.17; margin-bottom: 24px; }
  .desktop-break { display: none; }
  .hero-signature { font-size: 19px; min-width: 170px; }
  .pathways { margin: 20px 12px 0; gap: 14px; }
  .path-card { height: 405px; }
  .path-content { padding: 28px 25px 24px; }
  .brand-kicker { margin-top: 9px; font-size: 12px; }
  .gold-rule { margin: 14px 0 17px; }
  .path-card h2 { font-size: clamp(45px, 11vw, 61px); margin-bottom: 22px; }
  .path-descriptor { max-width: 280px; white-space: normal; font-size: 13px; letter-spacing: .14em; }
  .path-link { font-size: 23px; }
  .path-rj .path-photo { background-image: linear-gradient(90deg, rgba(89,74,61,.99) 0%, rgba(89,74,61,.9) 42%, rgba(89,74,61,.12) 100%), var(--rj-image, url("./assets/rj-training.webp")); background-position: center, 61% center; }
  .path-mental .path-photo { background-image: linear-gradient(90deg, rgba(248,245,239,.98) 0%, rgba(248,245,239,.9) 43%, rgba(248,245,239,.12) 100%), var(--mental-image, url("./assets/mental-football.webp")); background-position: center, 64% center; }
  .home-next { display: block; padding: 54px 25px; }
  .home-next p { margin-bottom: 13px; }
  .site-footer { display: block; padding: 40px 24px; }
  .footer-links { margin-top: 30px; flex-wrap: wrap; }
  .inner-hero { min-height: 410px; }
  .inner-hero::before { background: linear-gradient(180deg, rgba(253,251,248,.98) 0%, rgba(253,251,248,.84) 58%, rgba(253,251,248,.15) 100%), var(--inner-image) 65% center / cover no-repeat; }
  .inner-hero-copy { padding: 48px 23px; }
  .inner-hero h1, .contact-hero h1 { font-size: clamp(50px, 12vw, 70px); }
  .inner-hero p:not(.eyebrow) { font-size: 21px; }
  .page-content { width: calc(100% - 46px); padding: 55px 0 70px; }
  .local-service { width: calc(100% - 46px); margin-bottom: 70px; padding-top: 30px; }
  .local-service-copy p { font-size: 19px; }
  .page-content article h3 { font-size: 24px; }
  .page-action { display: block; padding: 50px 23px; }
  .page-action h2 { margin-bottom: 28px; }
  .about-profile { grid-template-columns: 1fr; gap: 30px; }
  .about-profile img { max-width: 300px; }
  .credential-list { grid-template-columns: 1fr; }
  .contact-hero { padding-inline: 23px; }
  .contact-hero-copy { padding: 48px 0 30px; }
  .contact-intro { font-size: 25px; margin-bottom: 0; }
  .contact-email-section { padding: 0 23px 65px; }
  .contact-panel { display: block; padding: 27px 22px; }
  .contact-panel h2 { font-size: 40px; }
  .contact-email-actions { margin-top: 25px; }
  .contact-choices { padding: 42px 23px 70px; }
  .contact-choice-list { grid-template-columns: 1fr; }
  .contact-choice { min-height: 290px; padding: 25px; }
  .contact-choice-text { max-width: 77%; min-height: 238px; }
  .contact-choice strong { font-size: clamp(35px, 10vw, 43px); }
  .contact-choice small { font-size: 18px; }
  .contact-choice-action { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.contact-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
