/* CODE 2027 — photographic layers, readable type and softer editorial rhythm. */
:root{--paper:#f6f8f1;--ink:#153e35;--muted:#557267;--green:#075a4b;--deep:#082e28;--line:rgba(255,255,255,.23)}
body{font-family:"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:18px;line-height:1.7}
h1,h2,h3,h4{font-family:inherit;letter-spacing:-.04em}h2{font-weight:750;line-height:1.08}.eyebrow{font-size:14px;letter-spacing:.11em;line-height:1.5}.hero-bottom{font-size:14px;letter-spacing:.15em}.hero{border-radius:0 0 60px 60px}.hero h1{font-size:clamp(54px,7.4vw,116px);font-weight:800}.hero-subtitle{font-size:24px;max-width:620px}.hero-content{max-width:1080px}.wp-block-button__link{border-radius:99px;font-size:15px;padding:17px 29px;letter-spacing:.025em;min-height:50px}.site-header{background:rgba(6,38,32,.96);backdrop-filter:blur(14px)}.site-nav a{font-size:14px}.site-nav a:last-child{border-radius:99px;padding:13px 23px}.site-nav{gap:20px}.site-logo img{width:230px}.menu-toggle{border-radius:99px;font-size:16px}.about-photo img{border-radius:30px}.about-grid>.wp-block-column:nth-child(2){padding-top:4px}.service-copy p{font-size:18px;line-height:1.75}.service-copy h2{font-size:clamp(40px,4.5vw,68px)}.service-copy .eyebrow{font-size:14px}.photo-strip img{border-radius:30px}.photo-strip{scrollbar-width:thin;gap:20px}.gallery-controls button{border-radius:99px;width:54px;height:46px;font-size:22px}.partner-grid figure{border-radius:24px;border:1px solid #dfE7dd}.press-card{border-radius:30px;overflow:hidden;background:rgba(255,255,255,.07);padding:20px;border:1px solid rgba(255,255,255,.15)}.press-card img{border-radius:20px}.press-card .eyebrow{font-size:14px}.press-card .wp-block-button__link{font-size:14px}.press-card h3{font-size:26px;line-height:1.25}.contact-detail h3{font-size:14px;letter-spacing:.08em;color:#daebe1}.wpcf7 label{font-size:16px}.wpcf7 input:not([type=submit]),.wpcf7 textarea{border-radius:16px;background:rgba(0,0,0,.14);font-size:18px}.wpcf7 input[type=submit]{border-radius:99px;font-size:17px;min-height:52px}.social-links{font-size:16px}.footer-bottom{font-size:14px;line-height:1.6}
/* Brochure-inspired waves plus the existing team and paddock photography. */
#calendrier{margin:26px;width:calc(100% - 52px);padding:82px max(5vw,28px);border-radius:44px;color:var(--paper);background-color:var(--deep);background-image:linear-gradient(110deg,rgba(4,40,33,.46),rgba(4,40,33,.16)),url('assets/book-waves.webp');background-size:cover;background-position:center}
#calendrier>.eyebrow{color:#e5f8dc}#calendrier>h2{color:white;margin-bottom:30px}#calendrier>h3{color:var(--lime);font-size:26px}#calendrier>.calendar-subtitle{font-size:17px;color:#e7f0e7}#calendrier .classic-title{margin-top:44px}
#performances{margin:26px;width:calc(100% - 52px);border-radius:44px;padding:82px max(5vw,28px);background-image:linear-gradient(110deg,rgba(5,30,26,.93),rgba(5,30,26,.79)),url('assets/team-background.webp');background-size:cover;background-position:center}
#performances>h2{color:white;margin-bottom:30px}#performances>.eyebrow{color:var(--lime)}
#evenementiel{background-image:linear-gradient(110deg,rgba(4,54,45,.94),rgba(4,54,45,.82)),url('assets/hospitality-background.webp');background-size:cover;background-position:center}
#conciergerie{background-image:linear-gradient(110deg,rgba(3,42,34,.76),rgba(3,42,34,.73)),url('assets/book-waves.webp');background-size:cover;background-position:bottom}
#contact{background-image:linear-gradient(110deg,rgba(3,47,38,.87),rgba(3,47,38,.73)),url('assets/book-waves.webp');background-size:cover;background-position:top}
.site-footer{background-image:linear-gradient(rgba(3,32,27,.91),rgba(3,32,27,.91)),url('assets/book-waves.webp');background-size:cover}
/* Filter controls keep long lists navigable without changing their source blocks. */
.calendar-toolbar,.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:28px}.calendar-toolbar{align-items:flex-start}.filter-group{display:flex;gap:8px;flex-wrap:wrap;padding:8px;background:rgba(1,31,25,.53);border:1px solid rgba(255,255,255,.28);border-radius:99px;width:fit-content}.filter-button{min-height:48px;padding:11px 22px;cursor:pointer;border:0;border-radius:99px;font-size:16px;line-height:1.3;white-space:nowrap;background:transparent;color:white;font-weight:650;transition:background .18s,color .18s}.filter-button:hover{background:rgba(255,255,255,.14)}.filter-button[aria-pressed=true]{background:var(--lime);color:var(--deep);box-shadow:0 5px 18px rgba(0,0,0,.12)}.filter-status{font-size:16px;font-weight:500;letter-spacing:0;line-height:1.5;color:#f1f8ed;margin:19px 0 0;opacity:1}.calendar-toolbar .filter-status{min-width:120px;text-align:right}.results-status{margin:0 0 26px}
.calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0 0;align-items:stretch}.event-card{position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:auto auto 1fr auto;align-content:start;gap:0;padding:28px 30px;background:#f7faf3;color:var(--ink);border:1px solid rgba(255,255,255,.6);border-radius:28px;box-shadow:0 14px 35px rgba(0,26,20,.14);min-height:250px;overflow:hidden;transition:transform .2s,box-shadow .2s}.event-card:after{content:"";position:absolute;right:-45px;top:-45px;width:115px;height:115px;border:1px solid rgba(7,90,75,.12);border-radius:50%;pointer-events:none}.event-card:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(0,26,20,.22)}.event-category{justify-self:start;display:inline-flex;border-radius:99px;background:#e0eddf;color:#16483d;font-size:14px;font-weight:750;letter-spacing:.04em;line-height:1.3;padding:7px 12px;margin:0 0 22px}.event-card[data-category=gt3] .event-category{background:#114c3e;color:white}.event-card[data-category=gt4-eu] .event-category{background:#d5f396}.event-card[data-program=classic] .event-category{background:#f4e1ab;color:#5a4212}.event-date{font-size:28px;line-height:1.2;margin:0 0 24px;color:var(--ink);letter-spacing:-.035em;font-weight:750;min-height:65px}.date-days{display:block;font-size:42px;font-variant-numeric:tabular-nums;letter-spacing:-.045em;white-space:nowrap;line-height:1.05}.date-month{display:block;font-size:16px;letter-spacing:0;font-weight:550;color:var(--muted);margin-top:8px;line-height:1.4}.event-venue{font-size:25px;letter-spacing:-.025em;line-height:1.2;margin:0 0 9px;align-self:end}.event-country{font-size:16px;line-height:1.5;color:var(--muted);opacity:1;margin:0}.date-pending{font-size:25px;line-height:1.35}.event-card[hidden],.calendar-grid[hidden],#calendrier h3[hidden],#calendrier p[hidden]{display:none!important}
/* Each achievement gets enough space to read title, championship and year. */
.results-grid{display:block}.results-grid>.wp-block-column{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.results-grid>.wp-block-column+ .wp-block-column{margin-top:42px}.results-grid h3{grid-column:1/-1;font-size:24px;border:0;padding:0;margin:0 0 6px}.has-results-filters .results-grid h3{position:absolute!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important}.has-results-filters .results-grid>.wp-block-column+ .wp-block-column{margin-top:0}.result{display:flex;flex-direction:column;gap:0;align-items:stretch;padding:27px 28px;border:1px solid rgba(255,255,255,.72);border-radius:28px;min-height:246px;background:#f7faf3;color:var(--ink);margin:0!important;box-shadow:0 14px 35px rgba(0,20,15,.12)}.result h4{font-size:25px;line-height:1.15;letter-spacing:-.03em;flex:none;margin:0 0 22px;font-weight:750}.result p{font-size:16px;line-height:1.5;letter-spacing:0;color:var(--muted);flex:none;margin:0;margin-top:auto}.result-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.result-symbol{display:grid;place-items:center;background:#e8f6d5;border-radius:50%;color:#234c35;width:43px;height:43px;font-size:25px;line-height:1}.result-year{font-size:16px;color:var(--muted);font-weight:650;letter-spacing:0}.results-panel[hidden],.result[hidden],.results-empty[hidden]{display:none!important}.year-control{display:flex;gap:13px;align-items:center;font-size:16px;color:white}.year-select{appearance:auto;max-width:250px;background:#f7faf3;color:var(--ink);border:0;border-radius:99px;min-height:52px;padding:12px 22px;font:inherit;cursor:pointer}.results-empty{font-size:18px;padding:30px;border-radius:22px;background:rgba(255,255,255,.1);color:white}
@media(max-width:1370px){.site-nav{gap:12px}.site-nav a{font-size:14px}.site-logo img{width:200px}.header-inner{gap:24px}.site-nav a:last-child{padding:12px 18px}}
@media(max-width:1200px){.site-logo img{width:210px}.site-nav a{font-size:17px}.site-nav{border-radius:0 0 25px 25px}.calendar-toolbar .filter-status{text-align:left;margin-top:0}.event-card{padding:25px}.result{padding:24px}.result h4{font-size:23px}.calendar-grid,.results-grid>.wp-block-column{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-group{border-radius:26px}.hero-subtitle{font-size:22px}}
@media(max-width:650px){body{font-size:17px}.hero{border-radius:0 0 32px 32px}.hero h1{font-size:clamp(44px,10.5vw,68px)}.hero-content{padding:80px 6vw 100px}.hero-subtitle{font-size:20px}.hero-bottom{font-size:12px;letter-spacing:.1em}.eyebrow,.service-copy .eyebrow{font-size:13px;letter-spacing:.06em}.service-copy p{font-size:17px}.section{padding:58px 6vw}.section h2{font-size:44px;line-height:1.1}#calendrier,#performances{width:calc(100% - 24px);margin:12px;border-radius:28px;padding:45px 22px}#calendrier>h2,#performances>h2{font-size:43px;margin-bottom:25px}.filter-group{gap:5px;padding:6px;width:100%;border-radius:22px}.filter-button{font-size:15px;padding:11px 14px;min-height:44px;flex:1}.calendar-toolbar,.results-toolbar{gap:18px;margin-bottom:20px}.calendar-toolbar .filter-status{font-size:15px;margin:0}.calendar-grid{grid-template-columns:1fr;gap:14px;margin-top:0}.event-card{grid-template-columns:115px minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:"category category" "date venue" "date country";column-gap:15px;padding:23px 21px;min-height:175px;border-radius:23px}.event-category{grid-area:category;font-size:14px;padding:6px 11px;margin-bottom:18px}.event-date{grid-area:date;min-height:0;margin:0;align-self:start}.date-days{font-size:28px;letter-spacing:-.065em}.date-month{font-size:14px;margin-top:8px}.event-venue{grid-area:venue;font-size:22px;margin:0 0 6px;align-self:start}.event-country{grid-area:country;font-size:15px;align-self:start}.date-pending{font-size:19px}.results-grid>.wp-block-column{grid-template-columns:1fr;gap:14px}.result{min-height:218px;border-radius:23px;padding:24px}.result h4{font-size:25px;margin-bottom:18px}.result p{font-size:16px;line-height:1.55}.result-topline{margin-bottom:22px}.result-year{font-size:16px}.results-toolbar .filter-group{width:auto;flex:1}.year-control{width:100%;justify-content:space-between;font-size:16px}.year-select{max-width:calc(100% - 66px);font-size:16px;min-height:48px}.filter-status.results-status{font-size:15px;margin-bottom:21px}.press-card .eyebrow,.press-card .wp-block-button__link{font-size:14px}.contact-detail h3{font-size:14px}.wpcf7 label{font-size:16px}.footer-bottom{font-size:14px}.social-links{font-size:15px}.photo-strip img,.about-photo img{border-radius:23px}.gallery-controls button{width:48px;height:44px}.result:hover,.event-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.filter-button,.event-card{transition:none}.event-card:hover{transform:none}}
.screen-reader-only{position:absolute!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important}
.junior-banner{margin-top:65px!important;padding:45px;border-radius:32px;border:1px solid #d9e6c6;background:linear-gradient(120deg,#eaf3df,#f6faf0)}.junior-banner h3{font-size:37px;line-height:1.15;margin-bottom:24px}.junior-grid{align-items:center;gap:50px}.junior-grid>.wp-block-column:last-child{flex:0 0 29%}.junior-logo{background:#0a493b;padding:32px;border-radius:26px}.junior-logo img{width:100%;height:auto;object-fit:contain}.junior-banner p{font-size:17px}.junior-banner .eyebrow{font-size:14px}.performance-note{font-size:16px;line-height:1.6;margin:27px 0 0!important;color:#e3f0d9}.performance-note[hidden]{display:none!important}.service-copy .wp-block-list{font-size:18px;line-height:1.65;padding-left:23px}.service-copy .wp-block-list li{margin-bottom:13px}.press-intro{font-size:18px;color:#d9e7df;max-width:920px!important;margin-left:0!important;margin-bottom:35px!important}
@media(max-width:1000px){.junior-grid{display:block}.junior-grid>.wp-block-column:last-child{max-width:330px;margin-top:30px}}
@media(max-width:650px){.junior-banner{padding:27px 22px;margin-top:40px!important;border-radius:25px}.junior-banner h3{font-size:29px}.junior-banner p{font-size:17px}.junior-logo{padding:24px}.performance-note{font-size:15px}.press-intro{font-size:17px}.service-copy .wp-block-list{font-size:17px}}
.junior-logo{background:#f3f7ed;border:1px solid #d5e3ca}.junior-logo img{height:145px;object-fit:cover;object-position:center}
.event-venue{overflow-wrap:anywhere}
@media(max-width:650px){.event-card{grid-template-columns:102px minmax(0,1fr);column-gap:12px}.event-venue{font-size:21px}}
@media(max-width:380px){.hero h1{font-size:clamp(38px,10.5vw,44px)}.event-card{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;grid-template-areas:"category" "date" "venue" "country"}.event-date{margin-bottom:18px}.date-days{font-size:34px}.event-venue{font-size:23px}.section h2{font-size:40px}}

/* Floating navigation, with a spacious compact menu on smaller screens. */
html{scroll-padding-top:130px}
.site-header{top:14px;margin:14px 20px -104px;border:0;background:transparent;backdrop-filter:none;pointer-events:none}
.header-inner{position:relative;pointer-events:auto;max-width:1540px;padding:14px 22px;gap:24px;border-radius:100px;background:rgba(7,39,33,.94);border:1px solid rgba(230,255,230,.2);box-shadow:0 8px 35px #001b2529;backdrop-filter:blur(20px)}
.site-logo{flex-shrink:0;display:flex;align-items:center}.site-logo img{width:190px;max-height:58px}
.site-nav{gap:3px}.site-nav a{position:relative;padding:12px 10px;border:0;border-radius:99px;font-size:14px;font-weight:650;line-height:1.4;transition:background .2s,color .2s;text-decoration:none}
.site-nav a:hover,.site-nav a[aria-current]{background:rgba(212,255,79,.13);color:var(--lime)}
.site-nav a:last-child{margin-left:8px;padding:13px 21px;background:var(--lime);color:var(--deep)}.site-nav a:last-child:hover{background:#e1ff95;color:var(--deep)}
.site-nav a:focus-visible,.menu-toggle:focus-visible,.site-logo:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.menu-toggle{align-items:center;gap:15px;min-height:48px;padding:12px 20px;border:1px solid #ffffff42;font-weight:600;line-height:1;background:#ffffff08;cursor:pointer}
.menu-icon{display:flex;flex-direction:column;justify-content:center;gap:5px;width:18px;height:20px}.menu-icon i{display:block;width:18px;height:2px;background:currentColor;border-radius:2px;transition:transform .2s}.menu-toggle[aria-expanded=true] .menu-icon i:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-toggle[aria-expanded=true] .menu-icon i:last-child{transform:translateY(-3.5px) rotate(-45deg)}
.admin-bar .site-header{top:46px}
@media(max-width:1380px){
 .site-header{margin-bottom:-104px}.header-inner{justify-content:space-between;padding:14px 24px}.site-logo img{width:210px}.menu-toggle{display:none}.nav-ready .menu-toggle{display:flex}
 .site-nav{display:grid;position:absolute;top:calc(100% + 12px);left:0;right:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;align-items:stretch;padding:28px;max-height:calc(100svh - 140px);overflow:auto;background:linear-gradient(110deg,rgba(6,37,31,.87),rgba(6,37,31,.8)),url('assets/book-waves.webp') center/cover;border:1px solid #ffffff38;border-radius:30px;box-shadow:0 24px 60px #001b2566;counter-reset:menu-link}
 .nav-ready .site-nav{display:none}.nav-ready .site-nav.is-open{display:grid;animation:menu-reveal .2s ease-out}
 .site-nav:before{content:'Explorer CODE';grid-column:1/-1;color:#c3dbd0;font-size:13px;letter-spacing:.13em;text-transform:uppercase;padding:0 12px 12px}
 .site-nav a{display:flex;align-items:center;gap:14px;white-space:normal;padding:16px 12px;font-size:20px;border-radius:16px;background:#ffffff05;border:1px solid #ffffff16}
 .site-nav a:before{counter-increment:menu-link;content:counter(menu-link,decimal-leading-zero);font-size:12px;color:#c6dace;letter-spacing:.04em;min-width:20px}.site-nav a:after{content:'↗';margin-left:auto;font-size:21px;font-weight:400;color:var(--lime)}
 .site-nav a:last-child{grid-column:1/-1;margin:8px 0 0;padding:18px 22px;text-align:left;border-radius:18px}.site-nav a:last-child:before{color:var(--deep)}.site-nav a:last-child:after{color:var(--deep)}
}
@media(max-width:650px){
 html{scroll-padding-top:110px}.site-header{top:10px;margin:10px 12px -92px}.header-inner{padding:12px 16px;gap:12px}.site-logo img{width:clamp(125px,41vw,160px);max-height:45px}.menu-toggle{font-size:14px;padding:11px 14px;gap:10px;min-height:44px}
 .site-nav{grid-template-columns:minmax(0,1fr);padding:18px;gap:5px;max-height:calc(100svh - 115px);border-radius:25px;top:calc(100% + 10px)}.site-nav a{padding:12px;font-size:18px;min-height:50px}.site-nav:before{padding-bottom:8px}.site-nav a:last-child{padding:14px 16px}.admin-bar .site-header{top:56px}
}
@keyframes menu-reveal{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.site-nav.is-open{animation:none}.site-nav a,.menu-icon i{transition:none}}

html[lang^=en] .site-nav:before{content:'Explore CODE'}
