/*
Theme Name: Сквошизм
Version: 1.0.0
Text Domain: squashizm
*/
:root{--ink:#101010;--yellow:#fdd803;--paper:#fff;--edge:#dededa;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
body{margin:0}
a{color:inherit}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid #245bab;outline-offset:4px}
.skip{position:absolute;left:1rem;top:-5rem;padding:.8rem;background:white;z-index:20}
.skip:focus{top:1rem}
.mast{position:relative;z-index:5;background:white}
.mast-inner,.footer-inner,.sections,.hero{max-width:1600px;margin:auto}
.mast-inner{min-height:80px;padding:0 4%;display:flex;align-items:center;gap:3.4%;position:relative}
.brand{width:clamp(105px,11vw,160px);flex:none}
.brand a,.brand img{display:block;width:100%;height:auto}
.mast .brand{align-self:flex-start;margin-bottom:-2.4%;z-index:1}
.desktop-nav{flex:1}
.menu{list-style:none;padding:0;margin:0}
.desktop-nav .menu{display:flex;align-items:center;justify-content:space-around;gap:1rem}
.menu a{text-decoration:none}
.desktop-nav .menu>li>a{position:relative;display:block;padding:.85rem 0;font-weight:850;text-transform:uppercase;font-size:clamp(.87rem,1.06vw,1.05rem);white-space:nowrap}
.desktop-nav .current-menu-item>a::after,.desktop-nav .menu>li>a:hover::after{content:"";display:block;position:absolute;bottom:5px;left:-3%;width:106%;height:6px;background:var(--yellow);clip-path:polygon(4% 30%,100% 0,96% 65%,0 100%)}
.desktop-nav .menu li{position:relative}
.desktop-nav .sub-menu{display:none;position:absolute;background:white;list-style:none;padding:1rem;min-width:10rem}
.desktop-nav li:hover>.sub-menu,.desktop-nav li:focus-within>.sub-menu{display:block}
.drawer summary{width:44px;height:44px;display:grid;align-content:center;justify-content:center;gap:5px;cursor:pointer;list-style:none}
.drawer summary::-webkit-details-marker{display:none}
.drawer summary span{width:24px;height:3px;background:var(--ink)}
.drawer nav{position:absolute;top:100%;right:3%;background:white;padding:1rem 1.6rem;border:2px solid var(--ink);box-shadow:5px 5px var(--yellow);min-width:210px}
.drawer nav a{display:block;padding:.55rem 0;font-weight:bold}
.hero{position:relative;isolation:isolate;overflow:hidden}
.court{position:absolute;inset:0 0 0 auto;width:52%;height:100%;object-fit:cover;object-position:62% center;z-index:-1;clip-path:polygon(13% 0,100% 0,100% 100%,0 100%,4% 87%,1% 88%,7% 65%,4% 66%,10% 41%,6% 43%,13% 16%,9% 19%)}
.hero-copy{position:relative;width:55%;padding:clamp(20px,2.7vw,48px) 0 clamp(26px,2.5vw,48px) 3%}
.hero h1{margin:0;font-size:clamp(2.6rem,6.3vw,6rem);line-height:.98;font-style:italic;overflow-wrap:anywhere}
.headline-art{display:block;width:100%;height:auto}
.original-art{clip-path:polygon(29% 0,100% 0,100% 79%,77% 84%,77% 100%,0 100%,0 11%,21% 11%)}
@media(min-width:641px){.court{clip-path:none;mask-image:linear-gradient(to right,transparent,#000 14%)}}
.intro,.actions{margin-left:7%}
.intro{max-width:35rem;font-size:clamp(1rem,1.55vw,1.5rem);line-height:1.25;letter-spacing:-.025em}
.intro p{margin:.6em 0 .95em}
.actions{display:flex;gap:clamp(.55rem,1.4vw,1.7rem);flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;padding:1em 1.55em;border-radius:12px;border:2px solid var(--ink);text-decoration:none;font-size:clamp(.85rem,1.1vw,1.12rem);font-weight:800;text-transform:uppercase;line-height:1.15;text-align:center;min-height:48px}
.yellow{background:var(--yellow);border-color:var(--yellow)}
.outline{background:white}
.button:hover{background:var(--ink);color:white;border-color:var(--ink)}
.sections{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:1.7rem 1% 2.15rem}
.sections a{position:relative;display:flex;align-items:center;flex-direction:column;text-align:center;text-decoration:none;padding:0 .7rem;gap:3px}
.sections a+a::before{content:"";width:1px;background:var(--edge);position:absolute;left:0;top:12%;height:85%}
.sections img{width:clamp(64px,6.6vw,100px);height:auto}
.sections strong{font-size:clamp(1rem,1.5vw,1.45rem);letter-spacing:-.045em}
.sections span{font-size:clamp(.9rem,1.1vw,1.05rem);line-height:1.22;max-width:19ch}
.sections a:hover strong{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:4px}
.footer{border-top:1px solid var(--edge)}
.footer-inner{display:flex;align-items:center;flex-wrap:wrap;gap:2rem;padding:1.5rem 5%}
.footer .brand{width:78px}
.footer .menu{display:flex;flex-wrap:wrap;gap:.8rem 1.4rem;font-size:.9rem}
.inner-page{max-width:1000px;margin:0 auto;min-height:60vh;padding:clamp(3rem,8vw,8rem) 5%}
.inner-page h1{margin:0 0 .5em;font-size:clamp(2.4rem,6vw,5.5rem);letter-spacing:-.065em;line-height:1.02}
.inner-page h1::after{content:"";display:block;width:1.8em;height:8px;margin-top:.2em;background:var(--yellow);transform:rotate(-2deg)}
.inner-page p{max-width:66ch;font-size:1.15rem;line-height:1.6}
@media(max-width:1000px){.desktop-nav{display:none}.mast-inner{justify-content:space-between;min-height:68px}.mast .brand{width:100px;margin:0}.sections{grid-template-columns:repeat(3,1fr);row-gap:1.7rem}.sections a:nth-child(4)::before{display:none}.hero-copy{width:58%}.actions .button{padding:.8em 1em}}
@media(max-width:640px){.mast-inner{min-height:60px}.mast .brand{width:88px}.hero{display:flex;flex-direction:column}.hero-copy{width:100%;padding:0 5% 1.3rem}.hero h1{max-width:520px}.intro,.actions{margin-left:2%}.intro{max-width:34ch;line-height:1.35}.actions{gap:.5rem}.button{font-size:.84rem}.court{position:static;order:2;width:100%;height:clamp(170px,45vw,245px);object-position:65% 72%;clip-path:none}.sections{padding:1.25rem 2%;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.2rem}.sections a:nth-child(odd)::before{display:none}.sections a:nth-child(4)::before{display:block}.footer-inner{gap:1rem}.footer .brand{width:66px}}
@media(max-width:640px){.hero .court{object-position:65% 100%}}
