/*
Theme Name: Félix Dolci
Theme URI: https://felixdolci.ca
Author: Félix Dolci
Description: Custom one-page theme for Olympic gymnast Félix Dolci. Social links, latest YouTube video, Hostinger Reach newsletter, business contact form and WooCommerce support (store hidden until enabled). All content is editable in Appearance → Customize → Félix Dolci Settings.
Version: 1.3.0
Requires at least: 6.4
Tested up to: 7.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: felix-dolci
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face{font-family:"Archivo";src:url("assets/fonts/archivo-variable.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("assets/fonts/hanken-grotesk-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("assets/fonts/hanken-grotesk-500.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("assets/fonts/hanken-grotesk-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url("assets/fonts/hanken-grotesk-700.woff2") format("woff2");font-weight:700;font-display:swap}

/* ---------- Tokens ---------- */
:root{
  --navy:#0A192E; --navy-deep:#061020; --page:#F7F9FC; --card:#D8E3F0;
  --steel:#8FB3E0; --steel-soft:#C9D8EC; --ink-2:#34405A; --muted:#4C5770; --line:#A9BBD3;
  --display:"Archivo",system-ui,sans-serif; --body:"Hanken Grotesk",system-ui,sans-serif;
  --gutter:20px; --max:1360px;
}
@media (min-width:900px){:root{--gutter:40px}}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--navy);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
input,textarea,button,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--steel);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;color:var(--navy);padding:10px 16px;border-radius:8px;font-weight:700}
.skip-link:focus{top:12px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.h-display{margin:0;font-family:var(--display);font-stretch:125%;font-weight:600;letter-spacing:.02em;text-transform:uppercase;line-height:1.1}
.eyebrow{margin:0;font-family:var(--display);font-stretch:125%;font-weight:600;font-size:11px;letter-spacing:.22em;text-transform:uppercase}
@media (min-width:900px){.eyebrow{font-size:12px;letter-spacing:.24em}}
.only-desktop{display:none!important}
@media (min-width:900px){.only-mobile{display:none!important}.only-desktop{display:revert!important}}

/* links with animated underline */
.lk{background-image:linear-gradient(currentColor,currentColor);background-size:0 2px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .3s ease;padding-bottom:3px}
.lk:hover,.lk:focus-visible{background-size:100% 2px}
.more{display:inline-block;font-size:15px;font-weight:700;padding:6px 0;border-bottom:2px solid currentColor}
@media (min-width:900px){.more{border-bottom:0;padding:0 0 3px}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:16px 28px;font-size:16px;font-weight:700;cursor:pointer;background:var(--navy);color:#fff;transition:transform .2s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 26px -10px rgba(0,0,0,.45)}
.btn:active{transform:scale(.97)}

/* ---------- Header ---------- */
.site-header{position:relative;z-index:20;color:#fff}
.site-header .wrap{display:grid;grid-template-columns:44px 1fr 44px;align-items:start;padding-top:18px}
.site-header__logo{grid-column:2;justify-self:center;padding-top:6px}
.site-header__logo img{height:76px;width:auto}
.site-nav{display:none}
.menu-toggle{grid-column:3;width:44px;height:44px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;color:#fff}
.menu-toggle span{display:block;width:22px;height:2px;background:currentColor;transition:transform .25s ease}
@media (min-width:900px){
  .site-header .wrap{grid-template-columns:1fr auto 1fr;padding-top:36px}
  .site-header__logo{padding-top:0}
  .site-header__logo img{height:112px}
  .site-nav{display:flex;grid-column:3;justify-self:end;gap:28px;padding-top:8px;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
  .menu-toggle{display:none}
}
/* solid header on inner pages */
.site-header--solid{background:var(--navy)}
.site-header--solid .wrap{padding-top:14px;padding-bottom:14px;align-items:center}
.site-header--solid .site-header__logo{padding-top:0;display:flex;align-items:center;gap:14px}
.site-header--solid .site-header__logo .mark{height:36px}
.site-header--solid .site-header__logo .wordmark{height:12px}
@media (min-width:900px){.site-header--solid .wrap{padding-top:22px;padding-bottom:22px}.site-header--solid .site-nav{padding-top:0}.site-header--solid .site-header__logo .mark{height:44px}.site-header--solid .site-header__logo .wordmark{height:14px}}

/* mobile menu overlay */
.mobile-menu{position:fixed;inset:0;z-index:50;background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:18px 20px 40px;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s}
.mobile-menu.is-open{opacity:1;visibility:visible}
.mobile-menu__close{align-self:flex-end;width:44px;height:44px;border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer}
.mobile-menu nav{margin-top:40px;display:flex;flex-direction:column;gap:6px}
.mobile-menu nav a{font-family:var(--display);font-stretch:125%;font-weight:600;font-size:26px;text-transform:uppercase;letter-spacing:.02em;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.mobile-menu__mark{margin-top:auto;height:40px;width:auto;opacity:.5}
body.menu-open{overflow:hidden}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:max(780px,100svh);background:var(--navy);color:#fff;overflow:hidden;display:flex;flex-direction:column}
.hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:38% center}
.hero__shade{position:absolute;inset:0;background:rgba(8,18,34,.4)}
.hero .site-header{position:relative}
.hero__body{position:relative;flex:1;width:100%;display:flex;align-items:flex-end;padding-bottom:84px}
.hero__inner{width:100%;max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.hero__eyebrow{margin:0 0 4px;text-align:center;font-family:var(--display);font-stretch:125%;font-size:11px;font-weight:600;letter-spacing:.16em;white-space:nowrap;text-transform:uppercase;color:var(--steel-soft)}
@media (min-width:900px){
  .hero{min-height:900px}
  .hero__bg{object-position:20% center}
  .hero__shade{background:rgba(8,18,34,.42)}
  .hero__body{align-items:center;padding-top:40px;padding-bottom:150px}
  .hero__inner{max-width:480px;margin:0 0 0 auto;gap:20px}
  .hero__eyebrow{text-align:left;font-size:15px;letter-spacing:.24em;margin:0}
}

/* social buttons */
.social{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
@media (min-width:900px){.social{gap:12px}}
.social-btn{--brand:var(--navy);--brand-fg:#fff;display:flex;align-items:center;gap:14px;min-height:44px;background:#fff;color:var(--navy);border-radius:14px;padding:10px 18px 10px 10px;box-shadow:0 12px 28px -12px rgba(0,0,0,.6);transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease,color .25s ease}
.social-btn__tile{flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:var(--brand);color:var(--brand-fg);display:flex;align-items:center;justify-content:center;transition:background-color .25s ease}
.social-btn__tile svg{width:22px;height:22px;fill:currentColor}
.social-btn__name{flex:1;font-size:16px;font-weight:700}
.social-btn__arrow{flex:0 0 auto;display:flex;opacity:.75;transition:transform .25s ease,opacity .25s ease}
.social-btn__arrow svg{width:22px;height:22px}
.social-btn:hover .social-btn__arrow,.social-btn:focus-visible .social-btn__arrow{transform:translateX(4px);opacity:1}
.social-btn:hover,.social-btn:focus-visible{background:var(--brand);color:var(--brand-fg);transform:translateY(-3px);box-shadow:0 20px 40px -14px rgba(0,0,0,.65)}
.social-btn:hover .social-btn__tile,.social-btn:focus-visible .social-btn__tile{background:rgba(255,255,255,.14)}
.social-btn:active{transform:scale(.98)}
@media (min-width:900px){.social-btn{gap:16px;padding:12px 22px 12px 12px}.social-btn__tile{flex-basis:42px;width:42px;height:42px}.social-btn__name{font-size:17px}.social-btn__arrow svg{width:26px;height:26px}}

/* ---------- Newsletter card ---------- */
.news{position:relative;z-index:5;margin-top:-56px;padding:0 12px}
.news-card{max-width:var(--max);margin:0 auto;background:var(--card);color:var(--navy);border-radius:20px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(10,25,46,.75);display:flex;flex-direction:column}
.news-card__img{width:100%;height:190px;object-fit:cover;object-position:62% 60%}
.news-card__panel{position:relative;padding:26px 20px 24px;display:flex;flex-direction:column;gap:12px;overflow:hidden}
.news-card__mark{position:absolute;right:-40px;bottom:-24px;height:170px;width:auto;opacity:.07;pointer-events:none}
.news-card__panel>*:not(.news-card__mark){position:relative}
.news-card .eyebrow{color:#3D5A85}
.news-card h2{font-size:21px;white-space:nowrap}
.news-card p.lede{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2);text-wrap:balance}
.news-form{margin-top:4px}
.news-form form{display:flex;flex-direction:column;gap:10px}
.news-form input[type=email],.news-form input[type=text]{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);padding:15px 16px;font-size:16px}
.news-form button,.news-form input[type=submit]{border:0;border-radius:12px;background:var(--navy);color:#fff;padding:16px 28px;font-size:16px;font-weight:700;cursor:pointer}
.admin-hint{margin:0;padding:12px 14px;border:1px dashed var(--muted);border-radius:10px;font-size:14px;color:var(--ink-2)}
@media (min-width:900px){
  .news{margin-top:-96px;padding:0 var(--gutter)}
  .news-card{flex-direction:row;border-radius:24px;box-shadow:0 40px 80px -36px rgba(10,25,46,.7)}
  .news-card__img{flex:1 1 460px;min-width:0;height:auto;min-height:380px;object-position:60% center}
  .news-card__panel{flex:1 1 520px;padding:56px;gap:16px;justify-content:center}
  .news-card__mark{right:-60px;bottom:-40px;height:300px}
  .news-card h2{font-size:36px;white-space:normal}
  .news-card p.lede{font-size:16px;line-height:1.6;max-width:none}
  .news-form{margin-top:10px}
  .news-form form{flex-direction:row;flex-wrap:wrap}
  .news-form input[type=email],.news-form input[type=text]{flex:1 1 240px;width:auto}
}
@media (min-width:1200px){.news-card p.lede{white-space:nowrap}}

/* ---------- Gradient flow ---------- */
.flow-top{background:linear-gradient(180deg,#F7F9FC 0%,#EDF2F8 28%,#D6E1EF 50%,#A9BCD5 64%,#6C84A6 76%,#34507A 87%,#142A4C 95%,#0A192E 100%);padding-bottom:170px}
.flow-bottom{position:relative;margin-top:-2px;background:linear-gradient(180deg,#0A192E 0px,#0A192E 6px,#142A4C 60px,#2B4468 120px,#5D7598 190px,#9DB1CC 260px,#D3DFEE 330px,#EEF2F8 420px,#F7F9FC 100%)}
@media (min-width:900px){
  .flow-top{padding-bottom:260px}
  .flow-bottom{background:linear-gradient(180deg,#0A192E 0px,#0A192E 6px,#142A4C 90px,#2B4468 180px,#5D7598 290px,#9DB1CC 400px,#D3DFEE 510px,#EEF2F8 620px,#F7F9FC 100%)}
}

/* ---------- Section heads ---------- */
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px}
.section-head h2{font-size:22px}
@media (min-width:900px){.section-head{margin-bottom:24px}.section-head h2{font-size:36px}}

/* ---------- Video ---------- */
.video{padding-top:64px}
@media (min-width:900px){.video{padding-top:140px}}
.video-frame{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:var(--navy-deep);border:1px solid rgba(143,179,224,.18);box-shadow:0 22px 40px -22px rgba(0,0,0,.7)}
@media (min-width:900px){.video-frame{border-radius:20px;box-shadow:0 30px 60px -28px rgba(0,0,0,.6);transition:transform .45s ease,box-shadow .45s ease}.video-frame:hover{transform:translateY(-6px);box-shadow:0 42px 70px -26px rgba(0,0,0,.7)}}
.video-frame__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.video-frame__play{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#fff;text-align:center;padding:20px}
.video-frame__btn{width:64px;height:64px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 30px -10px rgba(0,0,0,.6);transition:transform .2s ease}
.video-frame__btn svg{width:20px;height:20px;fill:var(--navy);margin-left:3px}
.video-frame__play:hover .video-frame__btn{transform:scale(1.06)}
.video-frame__title{font-weight:600;font-size:14px;max-width:80%;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (min-width:900px){.video-frame__btn{width:88px;height:88px}.video-frame__btn svg{width:24px;height:24px}.video-frame__title{font-size:16px}}
.video .more{margin-top:14px}

/* ---------- Gallery ---------- */
.gallery{padding-top:64px}
@media (min-width:900px){.gallery{padding-top:120px}}
.gallery .section-head{padding:0 var(--gutter);max-width:var(--max);margin-left:auto;margin-right:auto}
.gallery-count{font-size:13px;font-weight:600;color:#3D5A85}
.gallery-viewport{position:relative}
.gallery-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 var(--gutter) 48px;margin-bottom:-20px;scroll-padding:0 var(--gutter)}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-track img{flex:0 0 270px;width:270px;max-width:none;height:338px;object-fit:cover;border-radius:14px;scroll-snap-align:start;box-shadow:0 16px 28px -16px rgba(0,0,0,.55)}
.gallery-next{position:absolute;right:14px;top:147px;width:46px;height:46px;border-radius:50%;border:0;background:#fff;box-shadow:0 10px 24px -8px rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,opacity .2s}
.gallery-next:active{transform:scale(.94)}
.gallery-next svg{width:20px;height:20px;stroke:var(--navy)}
.gallery-dots{display:flex;justify-content:center;gap:8px}
.gallery-dots span{width:6px;height:6px;border-radius:3px;background:rgba(10,25,46,.25);transition:width .25s ease,background-color .25s}
.gallery-dots span.is-active{width:22px;background:var(--navy)}
.gallery .more-wrap{padding:18px var(--gutter) 0}
@media (min-width:900px){
  .gallery-viewport{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
  .gallery-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;overflow:visible;padding:0;margin:0}
  .gallery-track img{width:100%;max-width:100%;height:auto;aspect-ratio:4/5;border-radius:20px;box-shadow:0 30px 60px -28px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.05);transition:transform .45s ease,box-shadow .45s ease}
  .gallery-track img:hover{transform:translateY(-6px);box-shadow:0 42px 70px -26px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.08)}
}

/* ---------- About ---------- */
.about{position:relative;margin-top:-2px;background:var(--navy);color:#fff;overflow:hidden}
.about__mark{position:absolute;right:-70px;bottom:-30px;height:260px;width:auto;opacity:.05;pointer-events:none}
.about__inner{position:relative;padding-top:56px;padding-bottom:60px;display:flex;flex-direction:column;gap:18px}
.about__photo{position:relative;padding:0 0 16px 16px}
.about__photo::before{content:"";position:absolute;left:0;bottom:0;right:16px;top:16px;border:1px solid var(--steel);border-radius:16px;opacity:.7}
.about__photo img{position:relative;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:62% 30%;border-radius:14px;box-shadow:0 30px 60px -26px rgba(0,0,0,.7)}
.about__text{display:flex;flex-direction:column;gap:18px}
.about .eyebrow{color:var(--steel);margin-top:12px}
.about h2{font-size:26px}
.about__rule{display:block;width:44px;height:2px;background:var(--steel)}
.about__bio{margin:0;font-size:17px;line-height:1.65;color:#C9D3E2}
.about__bio--alt{font-size:15px;font-style:italic;color:#8FA6C6}
@media (min-width:900px){
  .about__mark{right:-120px;top:50%;bottom:auto;transform:translateY(-50%);height:620px;opacity:.04}
  .about__inner{flex-direction:row;align-items:center;gap:88px;padding-top:120px;padding-bottom:120px}
  .about__photo{flex:1 1 420px;min-width:0;padding:0 0 24px 24px}
  .about__photo::before{right:24px;top:24px;border-radius:22px}
  .about__photo img{border-radius:20px;box-shadow:0 40px 80px -30px rgba(0,0,0,.7)}
  .about__text{flex:1 1 440px;gap:22px}
  .about .eyebrow{margin-top:0}
  .about h2{font-size:44px;line-height:1.05}
  .about__rule{width:56px}
  .about__bio{font-size:19px;line-height:1.7;max-width:540px}
  .about__bio--alt{font-size:17px}
}

/* ---------- Contact ---------- */
.contact{padding:150px 12px 48px}
@media (min-width:900px){.contact{max-width:var(--max);margin:0 auto;padding:220px var(--gutter) 120px}}
.contact-card{background:var(--card);color:var(--navy);border-radius:20px;padding:30px 20px;display:flex;flex-direction:column;gap:22px;box-shadow:0 24px 50px -32px rgba(10,25,46,.5)}
.contact-card h2{font-size:22px}
@media (min-width:900px){.contact-card{border-radius:24px;padding:56px;gap:32px;box-shadow:0 30px 70px -40px rgba(10,25,46,.45)}.contact-card h2{font-size:32px}}
.contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:900px){.contact-form{gap:16px}}
.contact-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;min-width:0}
.contact-form .full{grid-column:1/-1}
.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);padding:14px;font-size:16px}
.contact-form textarea{resize:vertical;min-height:120px}
.contact-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact-form__foot{grid-column:1/-1;display:flex;flex-direction:column;gap:12px}
.contact-form__foot .btn{width:100%}
.contact-form__note{margin:0;font-size:13px;color:var(--muted)}
.contact-form__note a{text-decoration:underline}
@media (min-width:900px){.contact-form__foot{flex-direction:row;align-items:center;gap:20px}.contact-form__foot .btn{width:auto}}
.notice{grid-column:1/-1;margin:0;padding:14px 16px;border-radius:10px;font-weight:600;font-size:15px}
.notice--ok{background:#fff;color:var(--navy);border-left:4px solid #2E7D4F}
.notice--err{background:#fff;color:#8A1C1C;border-left:4px solid #B3261E}

/* ---------- Footer ---------- */
.site-footer{background:var(--page);color:var(--muted);border-top:1px solid rgba(10,25,46,.08);font-size:14px}
.site-footer .wrap{padding-top:36px;padding-bottom:40px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.site-footer__mark{height:34px;width:auto}
.site-footer__links{display:flex;gap:20px}
.site-footer__links a{padding:10px 0}
@media (min-width:900px){
  .site-footer .wrap{flex-direction:row;justify-content:space-between;align-items:flex-end;padding-top:48px;padding-bottom:48px;line-height:1;text-align:left}
  .site-footer__mark{height:36px}
  .site-footer__links a{padding:0 0 3px}
}

/* ---------- Inner pages (legal, shop) ---------- */
.page-main{padding:56px 0 96px}
.prose{max-width:760px;margin:0 auto;padding:0 var(--gutter);font-size:17px;line-height:1.7;color:var(--ink-2)}
.prose h1{font-family:var(--display);font-stretch:125%;font-weight:600;text-transform:uppercase;letter-spacing:.02em;font-size:30px;line-height:1.15;color:var(--navy);margin:0 0 28px}
.prose h2,.prose h3{font-family:var(--display);font-stretch:112%;font-weight:600;color:var(--navy);line-height:1.25;margin:40px 0 12px}
.prose h2{font-size:22px}.prose h3{font-size:18px}
.prose a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.prose table{width:100%;border-collapse:collapse;font-size:15px;margin:20px 0}
.prose th,.prose td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid #D5DDE8}
.prose th{color:var(--navy);font-weight:700}
@media (min-width:900px){.page-main{padding:88px 0 140px}.prose h1{font-size:40px}}
.woo-main{max-width:var(--max);margin:0 auto;padding:56px var(--gutter) 96px}

/* ---------- Motion ---------- */
@keyframes fd-fade-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes fd-zoom{from{transform:scale(1.07)}to{transform:none}}
.hero__bg{animation:fd-zoom 2.4s cubic-bezier(.2,.7,.2,1) both}
.fade-in{animation:fd-fade-up .9s cubic-bezier(.2,.7,.2,1) both}
.fade-in.d1{animation-delay:.15s}.fade-in.d2{animation-delay:.3s}.fade-in.d3{animation-delay:.5s}
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.js .reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
}

/* ---------- Small-screen refinements ---------- */
@media (min-width:900px){.site-footer__links{order:3}}
.site-header img,.site-footer img,.mobile-menu img{max-width:none}
.site-footer .wrap>a{display:block;line-height:0}
.site-footer img.site-footer__mark{height:34px!important;width:auto!important}
.site-header .site-header__logo img{height:76px!important;width:auto!important}
.site-header--solid .site-header__logo img.mark{height:36px!important}
.site-header--solid .site-header__logo img.wordmark{height:12px!important}
@media (min-width:900px){
  .site-footer img.site-footer__mark{height:36px!important}
  .site-header .site-header__logo img{height:112px!important}
  .site-header--solid .site-header__logo img.mark{height:44px!important}
  .site-header--solid .site-header__logo img.wordmark{height:14px!important}
}
.social-btn__tile--img{background:transparent!important;overflow:hidden}
.social-btn__tile--img img{width:100%!important;height:100%!important;max-width:none;object-fit:cover;border-radius:10px}
