/*
Theme Name: Hugo Motorsport
Author: Hugo Motorsport
Version: 1.0.0
Description: Le site de Hugo, by ETERNYTIME.
Requires PHP: 8.1
*/
:root{--blue:#066de5;--red:#ed1725;--ink:#02000b;--paper:#f5f5f1;--muted:#a9a8ae;--line:#d7d6d9;--space:clamp(24px,6vw,110px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--blue);outline-offset:5px}button{cursor:pointer}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:'Arial Narrow','Arial',sans-serif;line-height:.98;letter-spacing:-.055em;font-weight:900}h1{font-size:clamp(50px,6.3vw,100px)}h2{font-size:clamp(38px,4.6vw,74px)}h3{font-size:clamp(25px,2.3vw,37px)}h1 em,h2 em{font-style:normal;color:var(--blue)}p+p{margin-top:1em}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.16em;font-weight:700;margin-bottom:24px;line-height:1.6}.section{padding:100px var(--space)}.lead{font-size:clamp(18px,1.5vw,23px);line-height:1.65;max-width:620px}.text-link{display:inline-block;text-decoration:none;font-weight:700;border-bottom:2px solid currentColor;padding:10px 0}.button{display:inline-flex;justify-content:center;align-items:center;gap:24px;background:var(--blue);border:1px solid var(--blue);color:#fff;font-size:14px;font-weight:700;text-decoration:none;padding:16px 24px;min-height:54px}.button:hover{background:#0059bc}.button.outline{background:transparent;border-color:currentColor}.button.light{background:#fff;color:var(--ink);border-color:#fff}.skip{position:fixed;left:20px;top:-100px;z-index:100;background:white;padding:15px}.skip:focus{top:10px}.site-header{height:104px;padding:14px var(--space);display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:#fff;border-bottom:1px solid #28262f;gap:32px}.brand{display:block;text-decoration:none;flex-shrink:0}.brand img{width:182px;height:65px;object-fit:contain}.brand span{display:block;text-align:right;font-size:9px;letter-spacing:.18em;line-height:1}.site-header nav{display:flex;gap:clamp(14px,2vw,34px);align-items:center}.site-header nav a{font-size:12px;font-weight:700;text-decoration:none;padding:8px 0;white-space:nowrap}.site-header nav a[aria-current]{border-bottom:2px solid var(--blue)}.site-header .nav-contact{border:1px solid #75727d;padding:11px 18px}.menu-toggle{display:none;background:none;color:white;border:1px solid #75727d;padding:10px 16px}.hero{position:relative;background:var(--ink);color:white;min-height:730px;display:grid;grid-template-columns:48% 52%;overflow:hidden}.hero-copy{z-index:2;padding:90px 0 110px var(--space)}.hero-copy .eyebrow{color:#b5b5c1}.hero-copy .eyebrow span{display:block;margin-top:3px;color:white}.hero h1{font-size:clamp(50px,5.9vw,95px);line-height:1.02;letter-spacing:-.06em}.hero h1 em{color:white}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:38px}.hero-image{position:relative;min-width:0}.hero-photo{position:absolute;inset:0;overflow:hidden}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:var(--focal);opacity:.88}.hero-image:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--ink),transparent 23%),linear-gradient(0deg,var(--ink),transparent 25%)}.hero-number{position:absolute;right:3%;bottom:13%;font-size:clamp(110px,16vw,265px);font-weight:900;font-style:italic;line-height:.8;letter-spacing:-.08em;color:white;z-index:1}.vertical-label{position:absolute;right:22px;top:30px;writing-mode:vertical-rl;letter-spacing:.2em;font-size:10px;color:white;z-index:2}.hero-bottom{position:absolute;bottom:25px;left:var(--space);right:var(--space);display:flex;justify-content:space-between;border-top:1px solid #59555e;padding-top:18px;font-size:11px;letter-spacing:.08em;z-index:2}.hero-bottom a{text-decoration:none}.racing-strip{background:var(--blue);color:white;display:flex;justify-content:space-between;gap:20px;padding:14px var(--space);font-size:11px;letter-spacing:.12em;font-weight:700}.racing-strip span:first-child{font-size:17px;font-weight:900;font-style:italic;letter-spacing:-.02em}.portrait-section,.profile-intro{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}.portrait-frame{position:relative;isolation:isolate;min-width:0;background:var(--blue);margin-top:20px}.portrait-frame:before{content:'';position:absolute;inset:12% -20px -20px 10%;border:1px solid var(--blue);z-index:-2}.portrait-frame:after{content:'';position:absolute;left:-14px;top:15%;height:110px;width:8px;background:var(--red)}.portrait{height:650px;position:relative;z-index:1}.portrait img{height:100%;width:100%;object-fit:cover;object-position:var(--focal)}.portrait-number{position:absolute;bottom:18px;left:18px;color:white;font-size:100px;font-weight:900;line-height:.8;letter-spacing:-.08em;font-style:italic;z-index:2}.portrait-copy h2,.profile-intro h1{margin-bottom:30px}.portrait-copy .text-link{margin-top:25px}.small-note{border-top:1px solid var(--line);margin-top:42px;padding-top:22px;color:#595660;font-size:13px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:48px}.dark-section{background:var(--ink);color:white}.milestones{display:grid;grid-template-columns:repeat(3,1fr);margin-top:55px;border-top:1px solid #47424f}.milestones>div{padding-top:24px}.milestones span{font-size:58px;font-weight:900;font-style:italic;letter-spacing:-.07em}.milestones p{margin-top:18px;color:#c7c4ce}.season-teaser{position:relative;background:#e6e6e2;border-left:12px solid var(--blue)}.season-teaser>p:not(.eyebrow){max-width:510px;margin:28px 0}.season-teaser:after{content:'2027';position:absolute;right:6%;top:24%;font-size:clamp(100px,19vw,300px);font-weight:900;font-style:italic;letter-spacing:-.08em;opacity:.055;pointer-events:none}.next{margin-top:35px;border-top:1px solid #a5a2ac;padding-top:25px}.next h3{margin-bottom:14px}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.journal-grid a{text-decoration:none}.journal-grid .photo{height:280px;overflow:hidden;margin-bottom:25px}.journal-grid .photo img{height:100%;width:100%;object-fit:cover;object-position:var(--focal)}.journal-grid h3{margin-bottom:20px}.journal-grid .eyebrow{margin-bottom:10px}.partner-call{background:var(--blue);color:white}.partner-call p:not(.eyebrow){margin:26px 0}.site-footer{padding:65px var(--space) 25px;background:var(--ink);color:white;display:grid;grid-template-columns:1fr 1fr;gap:40px}.site-footer strong{font-size:26px;font-style:italic;font-weight:900}.site-footer span{display:block}.site-footer>div>span{font-size:11px;letter-spacing:.15em}.site-footer p{color:#b3afb9;font-size:13px;margin-top:25px}.site-footer>div:nth-child(2){display:flex;flex-direction:column;align-items:flex-end;gap:12px}.footer-bottom{grid-column:1/-1;border-top:1px solid #39343f;padding-top:20px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:11px;color:#b3afb9}.page-top{padding-top:80px;min-height:65vh}.page-top>h1{margin-bottom:65px}.profile-intro{background:var(--ink);color:white;padding-top:60px;padding-bottom:90px}.profile-intro .portrait-frame{order:2}.profile-intro .portrait{height:700px}.profile-intro .lead{margin-bottom:24px}.passport{display:grid;grid-template-columns:1fr 1.3fr;gap:8%;background:var(--blue);color:white}.passport dl{display:grid;grid-template-columns:1fr 1fr;gap:0 35px;margin:0}.passport dl>div{border-top:1px solid #ffffff70;padding:15px 0}.passport dt{font-size:11px;text-transform:uppercase;letter-spacing:.1em}.passport dd{margin:7px 0 0;font-weight:700;font-size:20px}.timeline{margin-top:65px;position:relative;max-width:1100px}.step{border-top:1px solid #b7b5be;border-left:3px solid #b7b5be;padding:0 0 0 25px;position:relative}.step:last-child{border-bottom:1px solid #b7b5be}.step:before{content:'';position:absolute;left:-7px;top:36px;width:11px;height:11px;background:var(--blue)}.step.in-view{border-left-color:var(--blue)}.step.future{border-left-style:dashed}.step summary{list-style:none;display:grid;grid-template-columns:180px 1fr 100px;gap:25px;align-items:center;padding:27px 0;cursor:pointer;font-weight:700;font-size:19px;line-height:1.3}.step summary::-webkit-details-marker{display:none}.step .date{font-size:13px;font-weight:400}.step-state{font-size:10px;text-transform:uppercase;letter-spacing:.08em;text-align:right}.step-state b{font-size:22px;margin-left:12px}.step[open] .step-state b{display:inline-block;transform:rotate(45deg)}.step-body{padding:0 30px 30px 205px}.step-body .photo{max-width:420px;margin-bottom:20px}.season-empty{max-width:740px;padding:50px 0;border-top:1px solid var(--line)}.season-empty h2{margin-bottom:25px}.season-empty p{font-size:20px}.calendar-note{font-size:13px;color:#615c67;margin-top:45px}.event{display:grid;grid-template-columns:230px 1fr;border-top:1px solid var(--line);padding:30px 0;gap:35px}.event h2{font-size:35px;margin-bottom:15px}.event .status{font-size:13px}.filter{display:block;margin:25px 0}.partner-intro{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin:0 0 65px;padding-top:40px;border-top:1px solid var(--line)}.partner-name{font-size:32px;font-weight:700}.partners article{margin-bottom:40px}.partners .photo{max-width:300px}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:10%}.contact-layout h1{margin-bottom:35px}.contact-layout form{display:grid;gap:20px}.contact-layout label{font-size:13px;font-weight:700}.contact-layout input,.contact-layout textarea{display:block;width:100%;padding:13px;border:1px solid #b3afba;background:transparent;margin-top:7px;border-radius:0}.form-note{font-size:12px;color:#57535c}.form-result{border-left:4px solid var(--blue);padding:20px;background:white;margin-bottom:25px}.honeypot{position:absolute;left:-10000px}.prose{max-width:1100px;margin:auto}.prose h1{font-size:clamp(40px,5vw,72px)}.prose h2{font-size:36px;margin:35px 0 20px}.prose p{margin:20px 0}.article-photo{margin:35px 0}.photo figcaption{font-size:10px;background:var(--ink);color:white;padding:3px 8px;position:absolute;bottom:0;right:0}.photo{position:relative}.editorial-content{margin-top:70px}.wp-block-gallery{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:18px!important}.wp-block-gallery figure{width:100%!important;margin:0!important;height:330px}.wp-block-gallery figure:nth-child(4n+1){grid-column:span 2}.wp-block-gallery figure img{width:100%;height:100%;object-fit:cover}.wp-block-gallery figcaption{background:var(--ink);color:white;font-size:12px!important}.wp-block-gallery a{display:block;height:100%;cursor:zoom-in}.lightbox-close{position:absolute;right:15px;top:15px;z-index:1;background:white;color:var(--ink);border:0;padding:10px 16px}dialog{border:0;background:var(--ink);color:white;padding:65px 20px 20px;max-width:95vw;max-height:95vh}dialog::backdrop{background:#02000bef}dialog img{max-height:75vh;width:auto;margin:auto}dialog p{font-size:13px;margin-top:12px}.video-toggle{position:absolute;bottom:100px;right:25px;z-index:4;padding:10px;background:var(--ink);color:white;border:1px solid white}#hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(min-width:1500px){.hero{min-height:850px}.hero-copy{padding-top:110px}}@media(max-width:1100px){.site-header{padding:12px 25px}.site-header nav{gap:15px}.site-header nav a{font-size:11px}.brand img{width:145px}.hero{min-height:680px}.hero-copy{padding-top:65px}.portrait{height:520px}.profile-intro .portrait{height:580px}.hero-actions .button{padding:13px 17px;font-size:12px}.section{padding:75px var(--space)}.journal-grid .photo{height:230px}}
@media(max-width:780px){html{scroll-padding-top:20px}.site-header{height:90px;position:relative;z-index:10}.brand img{width:150px;height:54px}.menu-toggle{display:block}.site-header nav{display:none;position:absolute;top:90px;left:0;right:0;background:var(--ink);padding:20px 25px;flex-direction:column;align-items:stretch;border-bottom:1px solid #555}.site-header nav.open{display:flex}.site-header nav a{font-size:15px;padding:12px}.hero{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:40px 24px 30px}.hero h1{font-size:clamp(43px,9.5vw,72px);line-height:1.01}.hero h1 br:nth-of-type(3){display:none}.hero-copy .eyebrow{margin-bottom:20px}.hero-actions{margin-top:27px;gap:10px}.hero-image{height:380px;margin-left:24px}.hero-photo img{object-position:var(--focal-mobile)}.hero-image:after{background:linear-gradient(0deg,var(--ink),transparent 25%)}.hero-number{font-size:145px;bottom:12%;right:8%}.hero-bottom{position:static;margin:0 24px;padding:20px 0;display:flex;font-size:10px;gap:20px}.hero-bottom span{display:none}.vertical-label{right:12px;top:15px;font-size:9px}.racing-strip{padding:13px 24px}.racing-strip span:nth-child(2){display:none}.portrait-section,.profile-intro{grid-template-columns:1fr;gap:65px}.portrait-section{padding-top:65px}.portrait-frame{margin-right:16px}.portrait{height:520px}.portrait img{object-position:var(--focal-mobile)}.portrait-copy h2{font-size:43px}.section-heading{display:block}.section-heading .text-link{margin-top:22px}.milestones{grid-template-columns:1fr}.milestones>div{display:grid;grid-template-columns:100px 1fr;gap:20px;border-bottom:1px solid #48404d;padding:20px 0}.milestones span{font-size:44px}.milestones p{margin-top:5px;font-size:14px}.season-teaser{border-left-width:6px}.journal-grid{grid-template-columns:1fr}.journal-grid article{margin-bottom:25px}.journal-grid .photo{height:300px}.site-footer{grid-template-columns:1fr;padding:50px 24px 25px}.site-footer>div:nth-child(2){align-items:flex-start}.footer-bottom{gap:15px}.profile-intro .portrait-frame{order:0}.profile-intro{padding-top:40px}.profile-intro .portrait{height:510px}.profile-intro h1{font-size:60px}.passport{grid-template-columns:1fr;gap:35px}.passport dl{gap:0 20px}.passport dd{font-size:17px}.step summary{grid-template-columns:1fr;gap:10px;padding:24px 0;font-size:17px}.step-state{text-align:left}.step-body{padding:0 0 25px}.step .date{color:#655f6d}.timeline{margin-top:40px}.page-top>h1{margin-bottom:40px}.event{grid-template-columns:1fr;gap:15px}.contact-layout,.partner-intro{grid-template-columns:1fr;gap:45px}.contact-layout form{margin-top:20px}.wp-block-gallery{grid-template-columns:1fr!important}.wp-block-gallery figure:nth-child(4n+1){grid-column:auto}.wp-block-gallery figure{height:320px}.season-empty{padding:30px 0}.season-empty h2{font-size:35px}.season-empty p{font-size:17px}}
.hero .hero-photo{position:absolute}.hero h1{font-size:clamp(45px,5.1vw,86px)}.hero-number{right:8%;font-size:clamp(100px,14vw,230px)}.wp-block-gallery img{object-position:var(--focal,50% 50%)!important}.wp-block-gallery figure:nth-child(4n){grid-column:span 2}.journal-grid:has(>article:nth-child(2):last-child){grid-template-columns:repeat(2,1fr)}
@media(max-width:780px){.hero h1{font-size:clamp(43px,9.5vw,72px)}.hero-number{font-size:130px}.wp-block-gallery img{object-position:var(--focal-mobile,50% 50%)!important}.wp-block-gallery figure{grid-column:auto!important}.journal-grid:has(>article:nth-child(2):last-child){grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.history-section{border-bottom:1px solid #d5d5d0}.history-chapter{margin-top:70px}.history-chapter p:not(.eyebrow){max-width:820px;font-size:19px;margin:24px 0 32px}.history-chapter h3{max-width:850px;font-size:clamp(30px,3.3vw,52px)}.history-section .history-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center;gap:18px}.history-section .history-gallery figure{grid-column:auto!important;height:360px!important;width:100%!important;margin:0!important;background:#e9e9e4}.history-section .history-gallery img{width:100%!important;height:100%!important;object-fit:contain!important}.history-section .history-gallery figure:only-child{max-width:440px;grid-column:span 2!important;height:480px!important}.history-section .history-gallery:has(figure:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))!important}@media(max-width:780px){.history-section .history-gallery,.history-section .history-gallery:has(figure:nth-child(4)){grid-template-columns:1fr!important}.history-section .history-gallery figure,.history-section .history-gallery figure:only-child{grid-column:auto!important;height:auto!important;max-width:none}.history-section .history-gallery img{height:auto!important}.history-chapter p:not(.eyebrow){font-size:17px}.history-chapter{margin-top:50px}}
