/*
Theme Name: TEDx Pontedera — MOTUS 2026
Description: Tema del sito TEDx Pontedera: serve il frontend consegnato (v06, 2026-10-14) senza modificarne DOM, classi e ordine degli script. Il tema è la fonte di verità e si modifica a mano; tools/bozza-to-theme.js è solo il bootstrap storico.
Author: Samuel Panicucci
Version: 0.3.33
Requires PHP: 8.0
*/


:root{color-scheme:dark;--red:#eb0028;--white:#fff;--black:#000}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:#000;color:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px;line-height:1.5}a{color:inherit;text-decoration:none}button,input{font:inherit;color:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #fff;outline-offset:6px}img{max-width:100%}svg{display:block}h1,h2,h3,p,figure{margin:0}h2,h3{font-weight:400;line-height:1.08}p{line-height:1.5}.wrap{width:calc(100% - 144px);max-width:1296px;margin-inline:auto}.logo{display:block;width:214px;height:auto}.eyebrow{font-size:12px;letter-spacing:.075em;font-weight:500}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:56px;padding:15px 20px;background:var(--red);border:1px solid var(--red);border-radius:4px;color:#fff;font-size:16px;font-weight:500}.button svg,.text-link svg{width:24px;height:24px;flex:0 0 24px}.button.outline{background:transparent;border-color:#fff}.button:hover{filter:brightness(1.15)}.text-link{display:flex;align-items:center;justify-content:space-between;max-width:310px;gap:24px;border-bottom:1px solid #fff;padding:16px 0;font-size:17px}.text-link svg{color:var(--red)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;visibility:hidden;z-index:100;top:-120px;left:16px;background:#000;padding:12px;transform:none}.skip-link:focus-visible{top:8px;visibility:visible}
.site-header{position:absolute;left:0;right:0;top:0;z-index:12;height:98px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid #ffffff40}.site-header nav{display:flex;gap:42px;font-size:14px}.header-cta{min-height:50px;font-size:14px;gap:24px}.menu-toggle{display:none;background:none;border:0;width:44px;height:44px;padding:10px}.menu-toggle svg{width:24px;height:24px}#mobile-menu{position:absolute;z-index:15;top:85px;background:#000;left:0;right:0;padding:30px 24px;border-bottom:1px solid #fff}#mobile-menu a{display:block;padding:12px;font-size:24px}
.hero{height:100svh;min-height:720px;position:relative;isolation:isolate;background:#000;overflow:hidden}.motus-word-stage{--motus-word-reveal:1;--motus-layout-lift:-74px;--motus-light-stage-x:50%;--motus-light-stage-y:50%;--motus-light-word-x:50%;--motus-light-word-y:50%;--motus-light-alpha:0;position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;pointer-events:none;isolation:isolate;z-index:0}.motus-debris-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.motus-word{--motus-title-scale:1;--motus-title-blur:0px;--motus-title-tracking:.052em;--motus-title-brightness:1}.hero-date{position:absolute;top:18%;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.16em;z-index:6}.hero-claim{position:absolute;left:0;right:0;top:54%;text-align:center;font-size:40px;font-weight:300;line-height:1.2;z-index:6}.countdown{position:absolute;top:66%;left:50%;transform:translateX(-50%);width:440px;display:flex;align-items:center;justify-content:space-between;border-block:1px solid #ffffff40;padding:14px 12px 12px;z-index:6}.countdown div{text-align:center}.countdown span{display:block;font-size:36px;font-weight:300;line-height:1.15;font-variant-numeric:tabular-nums}.countdown small{display:block;font-size:9px;letter-spacing:.08em;margin-top:8px}.countdown b{font-weight:300;font-size:20px;padding-bottom:14px}#enable-motion{position:absolute;z-index:10;top:82%;left:50%;transform:translateX(-50%);font-size:12px;background:#000;border:1px solid #fff;border-radius:3px;padding:10px 15px}
.event-strip{border-block:1px solid #ffffff40;padding-block:32px;display:grid;grid-template-columns:1.1fr 1.1fr 1fr auto;gap:36px;align-items:center}.event-strip small{font-size:10px;letter-spacing:.12em;display:block;margin-bottom:9px}.event-strip strong{font-size:32px;font-weight:400;white-space:nowrap}.event-strip>div+div{border-left:1px solid #ffffff40;padding-left:44px}.event-strip>p{font-size:16px}.event-strip .button{min-width:260px}
.about{padding-top:76px;padding-bottom:80px}.about-intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:55px;align-items:center}.about-intro h2{font-size:90px;letter-spacing:-.05em}.about-intro .lead{font-size:22px;max-width:545px;line-height:1.5}.about-intro .text-link{margin-top:40px}.city{display:grid;grid-template-columns:616fr 608fr;gap:72px;margin-top:130px;align-items:center}.city-photo{display:block;width:100%;height:auto}.city-photo.mobile{display:none}.city figcaption{font-size:10px;letter-spacing:.14em;font-weight:500;margin-top:27px}.city-copy h3{font-size:36px;letter-spacing:-.02em;line-height:1.2;margin-top:27px}.city-copy>p:last-child{margin-top:64px;font-size:17px}
.dimensions{position:relative;isolation:isolate;overflow:hidden;padding:90px 0 115px}.dimensions-intro{text-align:center;position:relative;z-index:2;max-width:1080px}.dimensions-intro>p{font-size:19px}.dimensions-intro h2{font-size:58px;letter-spacing:-.035em;margin-top:40px;font-weight:500}.accordion{max-width:890px;width:calc(100% - 380px);margin:70px auto 0;position:relative;z-index:2}.dimension{border-bottom:1px solid #ffffff70}.dimension h3 button{border:0;background:none;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;width:100%;padding:22px 0;font-size:clamp(48px,5.4vw,78px);line-height:1;letter-spacing:-.05em;font-weight:700}.dimension h3 em{color:var(--red);font-style:normal}.dimension h3 svg{width:30px;height:30px;flex:0 0 30px;transform:rotate(45deg);transition:transform .35s cubic-bezier(.2,.7,.2,1)}.dimension.is-open h3 svg{transform:rotate(-45deg)}.dimension-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .38s cubic-bezier(.2,.7,.2,1)}.dimension-panel>div{min-height:0;overflow:hidden;opacity:0;transform:translateY(-8px);transition:opacity .25s ease,transform .35s ease;padding-inline:2px}.dimension.is-open .dimension-panel{grid-template-rows:1fr}.dimension.is-open .dimension-panel>div{opacity:1;transform:none}.dimension-sub{font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 16px}.dimension-question{max-width:740px;font-size:25px;line-height:1.25;margin-bottom:12px}.dimension-panel p:last-child{font-size:17px;max-width:720px;padding-bottom:30px}.dimension-art{position:absolute;z-index:0;left:-220px;top:235px;width:440px;height:780px;transform:rotate(13deg);pointer-events:none}.dimension-ribbon{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .4s ease,transform .5s ease;transform:translateY(20px)}.dimension-ribbon.active{opacity:1;transform:none}.dimension-arc{position:absolute;z-index:0;right:-240px;top:200px;width:405px;transform:rotate(-25deg);pointer-events:none}
.talks{padding-block:70px 110px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:64px}.section-heading h2{font-size:100px;font-weight:500;letter-spacing:-.05em;margin-top:10px}.section-heading>p{font-size:22px;margin-bottom:12px}.speaker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:65px 40px}.speaker-photo{height:auto;aspect-ratio:1/1.03;overflow:hidden;border-radius:16px}.speaker-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 32%;transition:transform .5s cubic-bezier(.2,.7,.2,1)}.speaker-card:hover .speaker-photo img{transform:scale(1.025)}.speaker-tag{font-size:11px;font-weight:600;letter-spacing:.06em;margin-top:25px}.speaker-card h3{font-size:30px;margin-top:9px;font-weight:500}.speaker-role{font-size:15px;margin-top:6px}.talk-title{font-size:21px;line-height:1.35;margin-top:26px;max-width:350px}.all-talks{display:flex;width:340px;margin:64px auto 0}.partners{text-align:center;padding-block:65px 105px;border-top:1px solid #ffffff40}.partners h2{font-size:15px;font-weight:500}.logos{display:grid;align-items:center;justify-items:center}.main-logos{grid-template-columns:repeat(4,1fr);gap:50px;margin:44px auto 64px;max-width:1000px}.logos span{font-weight:700;letter-spacing:-.08em}.main-logos span{font-size:42px}.partner-logos{grid-template-columns:repeat(8,1fr);gap:25px;margin-top:40px}.partner-logos span{font-size:27px}
.participate{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-block:100px;position:relative;isolation:isolate}.participate article{position:relative}.participate h2{font-size:74px;letter-spacing:-.035em}.participate p{max-width:500px;font-size:19px;margin-top:35px}.participate .text-link,.participate .contact-cta{margin-top:36px}.partner-ribbon{position:absolute;z-index:-1;width:265px;height:220px;object-fit:contain;right:-70px;top:-150px;transform:rotate(-23deg)}.check{display:flex;gap:14px;margin-top:26px;font-size:15px;align-items:start;cursor:pointer}.check input{margin:3px 0 0;width:18px;height:18px;flex-shrink:0;accent-color:var(--red)}.form-note{font-size:13px;margin-top:22px}.site-footer{padding-block:70px 40px}.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1.1fr;gap:50px;align-items:start}.footer-top small{display:block;font-size:10px;letter-spacing:.07em;margin-bottom:14px}.footer-top a{display:block;font-size:15px}.footer-links{display:flex;gap:60px;margin:60px 0 50px;font-size:16px}.license{font-size:12px;border-top:1px solid #ffffff40;padding-top:26px}.study-note{border-top:1px solid #fff;padding:24px max(24px,calc((100vw - 1296px)/2));display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:12px}.study-note strong{font-size:13px}.study-note span{flex:1;min-width:240px}.study-note a{text-decoration:underline;text-underline-offset:4px}
@media(min-width:1600px){.dimension-art{left:calc(50% - 990px)}.dimension-arc{right:calc(50% - 1000px)}}
@media(max-width:1150px) and (min-width:761px){.wrap{width:calc(100% - 80px)}.site-header nav{gap:20px}.header-cta{display:none}.event-strip{gap:20px;grid-template-columns:1fr 1fr 1.2fr}.event-strip>p{display:none}.event-strip>div+div{padding-left:25px}.event-strip strong{font-size:27px}.event-strip .button{min-width:0}.about-intro{gap:50px}.about-intro h2{font-size:70px}.city{gap:45px}.accordion{width:calc(100% - 240px)}.dimension h3 button{font-size:62px}.speaker-grid{gap:45px 25px}.participate h2{font-size:62px}.participate{gap:50px}.footer-top{gap:24px}}
@media(max-width:760px){body{font-size:17px}.wrap{width:calc(100% - 48px)}.site-header{height:84px}.site-header .logo{width:177px}.site-header nav,.header-cta{display:none}.menu-toggle{display:block}.hero{min-height:650px}.hero-date{top:19%;font-size:9px;letter-spacing:.13em}.hero-claim{font-size:29px;top:54%}.countdown{width:290px;top:65%;padding:13px 6px}.countdown span{font-size:29px}.countdown small{font-size:8px}.event-strip{grid-template-columns:1fr 1fr;gap:27px 18px;padding-block:28px}.event-strip>p{display:none}.event-strip>div+div{padding-left:20px}.event-strip strong{font-size:24px}.event-strip small{font-size:8px}.event-strip .button{grid-column:1/-1;width:100%}.about{padding-top:56px;padding-bottom:20px}.eyebrow{font-size:10px}.about-intro{grid-template-columns:1fr;gap:30px;margin-top:34px}.about-intro h2{font-size:56px;letter-spacing:-.035em}.about-intro .lead{font-size:18px}.about-intro .text-link{margin-top:20px}.city{grid-template-columns:1fr;margin-top:66px;gap:48px}.city-photo.desktop{display:none}.city-photo.mobile{display:block}.city figcaption{font-size:9px;margin-top:18px}.city-copy h3{font-size:32px;margin-top:20px}.city-copy>p:last-child{margin-top:30px;font-size:17px}.city-copy br{display:none}.dimensions{padding:100px 0 70px}.dimensions-intro>p{font-size:16px;max-width:320px;margin:auto}.dimensions-intro br{display:none}.dimensions-intro h2{font-size:40px;margin-top:30px;max-width:340px;margin-inline:auto}.accordion{width:calc(100% - 48px);margin-top:50px}.dimension h3 button{font-size:38px;padding-block:22px;letter-spacing:-.04em;gap:12px}.dimension h3 svg{width:22px;height:22px;flex-basis:22px}.dimension-panel>div{padding-right:20px}.dimension-sub{font-size:10px;margin-bottom:16px}.dimension-question{font-size:21px}.dimension-panel p:last-child{font-size:15px;padding-bottom:25px}.dimension-art{left:-185px;top:40px;width:205px;height:320px;transform:rotate(13deg)}.dimension-arc{right:-122px;top:26px;width:168px;transform:rotate(-15deg)}.talks{padding-block:45px 70px}.section-heading{display:block;margin-bottom:38px}.section-heading h2{font-size:76px;margin-top:5px}.section-heading>p{font-size:18px;margin-top:20px}.speaker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 18px}.speaker-photo{border-radius:10px;aspect-ratio:.8}.speaker-tag{font-size:8px;letter-spacing:.02em;margin-top:15px}.speaker-card h3{font-size:21px;margin-top:8px}.speaker-role{font-size:12px;margin-top:5px}.talk-title{font-size:15px;margin-top:17px}.all-talks{width:100%;font-size:14px;margin-top:44px}.partners{padding-block:55px 65px}.main-logos{grid-template-columns:repeat(2,1fr);gap:35px;margin:35px auto 50px}.main-logos span{font-size:38px}.partner-logos{grid-template-columns:repeat(4,1fr);gap:28px 18px}.partner-logos span{font-size:23px}.participate{grid-template-columns:1fr;gap:68px;padding-block:70px}.participate h2{font-size:56px}.participate p{font-size:18px;margin-top:25px}.participate .text-link,.participate .contact-cta{margin-top:22px}.partner-ribbon{width:155px;height:155px;right:12px;top:-60px;transform:rotate(-20deg)}.footer-top{grid-template-columns:1fr;gap:35px}.site-footer{padding-top:50px}.footer-top .logo{width:240px;margin-bottom:10px}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-block:45px}.study-note{padding:24px;gap:14px}.study-note span{min-width:100%;}.study-note strong{display:block}.check{font-size:14px}}
@media(max-width:359px){.dimension h3 button{font-size:33px}.dimensions-intro h2{font-size:35px}.about-intro h2{font-size:49px}.event-strip strong{font-size:21px}.speaker-grid{gap:32px 15px}.speaker-card h3{font-size:18px}.talk-title{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.motus-word-stage::before{opacity:0}.motus-word::before,.motus-word::after{opacity:.05}.motus-word{will-change:auto}}

/* Studio 08 — first viewport, persistent navigation and repeated ticket CTA. */
:root{--header-height:98px}
html{scroll-padding-top:calc(var(--header-height) + 24px)}
.site-header{position:fixed;inset:0 0 auto;z-index:30;width:100%;max-width:none;height:var(--header-height);padding-inline:max(72px,calc((100% - 1296px)/2));background:#000}
#mobile-menu{position:fixed;top:var(--header-height);z-index:29;max-height:calc(100svh - var(--header-height));overflow-y:auto;overscroll-behavior:contain}
.hero{--event-space:calc(144px + var(--hero-bottom-gap));--scene-height:calc(100svh - var(--header-height) - var(--event-space));height:100svh;min-height:560px}
.motus-word-stage{padding-top:var(--header-height);padding-bottom:var(--event-space)}
.hero-date{top:calc(var(--header-height) + 20px)}
.hero-claim{top:calc(var(--header-height) + var(--scene-height)*.60)}
.countdown{top:calc(var(--header-height) + var(--scene-height)*.75)}
.hero-event-strip{position:absolute;z-index:6;left:0;right:0;bottom:var(--hero-bottom-gap);padding-block:24px;background:#000}
.ticket-cta{min-width:260px;width:260px;min-height:56px;font-size:16px;gap:28px}
.all-talks{margin:64px auto 0}
#enable-motion{top:calc(var(--header-height) + var(--scene-height)*.75 + 96px);padding:7px 12px;font-size:11px;white-space:nowrap}
@media(min-width:761px) and (max-width:1150px){.site-header{padding-inline:40px}.hero-event-strip{grid-template-columns:1fr 1fr auto}.hero-event-strip .ticket-cta{min-width:260px}}
@media(max-width:760px){
 :root{--header-height:84px}
 .site-header{padding-inline:24px}
 .hero{--event-space:calc(180px + var(--hero-bottom-gap))}
 .hero-date{top:calc(var(--header-height) + 16px)}
 .hero-claim{top:calc(var(--header-height) + var(--scene-height)*.54)}
 .countdown{top:calc(var(--header-height) + var(--scene-height)*.66);padding:10px 6px 9px}
 .countdown span{font-size:27px}.countdown small{margin-top:5px}
 .hero-event-strip{bottom:var(--hero-bottom-gap);padding-block:16px;gap:18px}
 .hero-event-strip strong{font-size:24px}.hero-event-strip small{margin-bottom:5px}
 .ticket-cta{width:100%;min-width:0}
 .all-talks{margin-top:44px;font-size:16px}
 #enable-motion{top:calc(var(--header-height) + var(--scene-height)*.66 + 76px)}
}
@media(max-width:359px){.hero-event-strip strong{font-size:21px}}
@media(max-height:650px){
 :root{--header-height:72px}
 .hero{--event-space:calc(168px + var(--hero-bottom-gap));min-height:520px}
 .hero-event-strip{bottom:var(--hero-bottom-gap);padding-block:12px}
 .hero-date{top:calc(var(--header-height) + 10px)}
 .hero-claim{font-size:27px}
 .countdown{padding-block:8px}.countdown span{font-size:26px}
}
@media(min-width:761px) and (max-height:720px){.motus-word{font-size:clamp(5.2rem,11vw,10rem)}.hero-claim{top:calc(var(--header-height) + var(--scene-height)*.57);font-size:30px}.countdown{top:calc(var(--header-height) + var(--scene-height)*.72);padding-block:8px}.countdown span{font-size:28px}.hero-event-strip{padding-block:16px}.hero-event-strip strong{font-size:28px}}


/* Studio 09 — clearer event introduction and ticket signup. */
.hero-format{position:absolute;z-index:6;left:24px;right:24px;top:calc(var(--header-height) + 48px);text-align:center;font-size:16px;line-height:1.5;font-weight:400}
.mobile-break{display:none}
.header-cta{white-space:nowrap}

@media(max-width:760px){.hero-format{top:calc(var(--header-height) + 38px);font-size:12px;line-height:1.45}.mobile-break{display:block}}
@media(max-width:760px) and (max-height:650px){.hero-format{top:calc(var(--header-height) + 30px);font-size:11px}}

/* Tickets are sold on Eventbrite; no email collection on the site. */
.tickets-section{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-block:100px;border-block:1px solid #ffffff40;scroll-margin-top:130px}
.tickets-section h2{font-size:clamp(56px,6vw,76px);letter-spacing:-.05em;margin:28px 0}
.tickets-section .event-details-note{font-size:14px;line-height:1.5;max-width:470px}
.ticket-purchase{align-self:center;max-width:480px}
.ticket-opening{font-size:clamp(24px,2.8vw,36px);line-height:1.2;letter-spacing:-.035em;margin-bottom:18px}
.ticket-purchase>p+ p{font-size:18px}
.ticket-purchase .button{margin-top:28px;min-width:270px}
[data-eventbrite-button][hidden]{display:none}
@media(max-width:760px){.tickets-section{grid-template-columns:1fr;gap:28px;padding-block:60px;scroll-margin-top:100px}.tickets-section h2{font-size:56px}.ticket-purchase .button{width:100%;min-width:0}.ticket-purchase>p+ p{font-size:17px}}
@media(max-width:359px){.tickets-section h2{font-size:49px}}

/* Full first screen, with breathing room below the event and ticket strip. */
.hero{--hero-height:calc(100svh - var(--wp-toolbar-space,0px));--hero-bottom-gap:clamp(24px,4svh,56px);height:var(--hero-height);--scene-height:calc(var(--hero-height) - var(--header-height) - var(--event-space))}
body.admin-bar{--wp-toolbar-space:var(--wp-admin--admin-bar--height,32px)}
.dimension-arc{right:clamp(48px,5vw,110px);width:clamp(180px,16vw,340px);transform:translate3d(0,var(--smile-travel,0px),0) rotate(var(--smile-angle,-25deg));transform-origin:50% 50%}
@media(max-width:1500px){.dimension-arc{width:clamp(100px,12vw,180px);right:20px}}
@media(max-width:760px){.dimensions{padding-top:180px}.dimension-arc{width:100px;right:20px;top:16px;opacity:.9}.hero{--hero-height:calc(100svh - var(--wp-toolbar-space,0px))}}

/* Contact dialog: quiet entrance, visible destination, keyboard and mobile support. */
body.contact-modal-open{overflow:hidden}
.contact-dialog{color:#fff;background:#0b0b0b;border:1px solid #ffffff38;border-radius:12px;width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:36px;overflow:auto;overscroll-behavior:contain}
.contact-dialog:not([open]){display:none}
.contact-dialog[open]{animation:contact-enter .24s cubic-bezier(.2,.7,.2,1)}
.contact-dialog::backdrop{background:#000b;backdrop-filter:blur(5px);animation:contact-backdrop .24s ease-out}
.contact-dialog h2{font-size:clamp(30px,4vw,42px);letter-spacing:-.035em;margin:12px 36px 12px 0}
.contact-dialog .contact-close{position:absolute;top:14px;right:14px;border:0;background:transparent;font-size:32px;font-weight:300;line-height:1;width:44px;height:44px;border-radius:50%;transition:background .2s ease,transform .2s ease}
.contact-dialog .contact-close:hover{background:#ffffff12;transform:rotate(8deg)}
.contact-destination{font-size:14px;color:#c8c8c8;margin-bottom:26px;overflow-wrap:anywhere}.contact-destination strong{font-weight:400;color:#fff}
.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-dialog label{font-size:13px;display:block}
.contact-dialog input:not([type=checkbox]),.contact-dialog textarea{display:block;width:100%;border:1px solid #ffffff55;border-radius:3px;background:#000;color:#fff;padding:12px;font:inherit;font-size:16px;margin-top:8px;transition:border-color .2s ease}
.contact-dialog input:focus,.contact-dialog textarea:focus{outline:1px solid var(--red);outline-offset:2px;border-color:var(--red)}
.contact-message{margin-top:20px}.contact-dialog textarea{resize:vertical;min-height:112px}
.contact-dialog .contact-consent{display:flex;gap:10px;align-items:flex-start;margin-top:20px}.contact-consent input{flex:0 0 auto;width:16px;height:16px;margin:2px 0;accent-color:var(--red)}
.contact-purpose{font-size:12px;color:#a9a9a9;margin-top:10px}.contact-submit{width:100%;margin-top:24px}.contact-submit:disabled{opacity:.6;cursor:default;filter:none}
.contact-status{font-size:14px;margin-top:14px}.contact-status:empty{display:none}.contact-status[data-error]{color:#ff8f9c}.contact-antispam{font-size:10px;color:#999;margin-top:18px}.contact-antispam a,.contact-purpose a{text-decoration:underline;text-underline-offset:3px}
.contact-honey{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.contact-venue-logo{display:block;width:min(100%,330px);height:auto;max-height:150px;object-fit:contain;object-position:left;margin-top:18px}
@keyframes contact-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes contact-backdrop{from{background:#0000}to{background:#000b}}
@media(max-width:600px){.contact-dialog{padding:26px 22px;max-height:calc(100dvh - 24px)}.contact-fields{grid-template-columns:1fr}.contact-destination{margin-bottom:20px}.contact-message{margin-top:16px}}

/* First-edition invitation, using the approved TEDx identity. */
.hero-invitation{position:absolute;z-index:6;left:24px;right:24px;bottom:calc(var(--hero-bottom-gap) + 140px);display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:15px;line-height:1.3;text-align:center}
.hero-invitation img{display:block;width:156px;height:auto}
/* Mouth and eyes share the rotation; the eyes move inward as the smile forms. */
.dimension-arc{aspect-ratio:1497/1450;top:clamp(80px,16svh,200px)}
.dimension-mouth{display:block;width:100%;height:100%;clip-path:polygon(20% 0,100% 0,100% 80%,20% 80%)}
.dimension-eye{position:absolute;width:12.83%;aspect-ratio:1;border-radius:50%;background:#ed0b2f}
.dimension-eye--first{left:0;top:0;transform:translate3d(calc(232.5% * var(--smile-progress,0)),calc(275.5% * var(--smile-progress,0)),0)}
.dimension-eye--second{left:87.3%;top:86.76%;transform:translate3d(calc(-276% * var(--smile-progress,0)),calc(-208.3% * var(--smile-progress,0)),0)}
.contact-venue-logo{background:transparent;border:1px solid #ffffff45;border-radius:12px;padding:14px 18px}
@media(max-width:760px){.hero-invitation{bottom:calc(var(--hero-bottom-gap) + 184px);gap:7px;font-size:12px}.hero-invitation img{width:136px}.dimensions{padding-top:220px}.dimension-arc{top:20px}}
@media(max-width:760px) and (max-height:650px){.hero-invitation{bottom:calc(var(--hero-bottom-gap) + 164px);font-size:11px}.hero-invitation img{width:126px}}

/* Contact card actions use the existing button and dialog system. */
.contact-card .contact-cta{margin-top:28px}

/* A narrow gutter lets the smile follow on phones without covering the accordion. */
@media(max-width:760px){.dimension-arc{width:48px;right:12px}.dimensions-intro{padding-right:24px}.accordion{width:calc(100% - 100px);margin-left:24px;margin-right:76px}.dimension-panel>div{padding-right:0}}
@media(max-width:359px){.dimensions-intro h2{font-size:36px}.dimension h3 button{font-size:32px}}

/* Mobile review 2026-10-15: persistent tickets, smooth navigation, unobstructed screen. */
.ticket-label-mobile,.footer-cookie-preferences{display:none}
@media(max-width:760px){
 .site-header,.site-header.header{gap:8px;padding-inline:24px}
 .site-header>a:first-child{flex:0 1 auto;min-width:0;margin-right:auto}
 .site-header .logo{width:clamp(136px,44vw,177px);max-width:100%;height:auto}
 .site-header .header-cta{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:11px;min-height:36px;padding:9px 10px;gap:0;line-height:1;border-radius:4px}
 .site-header .header-cta .ticket-label-desktop,.site-header .header-cta svg{display:none}
 .site-header .ticket-label-mobile{display:inline}
 .site-header .menu-toggle{flex:0 0 40px;width:40px;height:44px;padding:8px}
 #mobile-menu{transform-origin:top;will-change:auto}
 .grecaptcha-badge{visibility:hidden!important}
 .footer-cookie-preferences{display:inline-block;border:0;background:none;color:inherit;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:12px 0;margin-top:16px;cursor:pointer}
 .footer-cookie-preferences[hidden]{display:none}
 .site-footer .footer-credit{white-space:normal}
}

@media(max-width:760px){
 .hero{--hero-height:max(640px,calc(100svh - var(--wp-toolbar-space,0px)));--event-space:calc(210px + var(--hero-bottom-gap));min-height:640px}
 .hero .motus-word-stage{inset:0;padding-block:var(--header-height) var(--event-space);--motus-layout-lift:-72px!important}
 .hero .motus-word{--motus-title-scale:1;--motus-title-blur:0px;--motus-title-brightness:1;font-size:clamp(64px,20.5vw,112px);filter:blur(var(--motus-title-blur)) brightness(var(--motus-title-brightness));will-change:transform;letter-spacing:.025em}
 /* Same translucent material, occlusion, highlights and reflections as desktop. */
 .hero .motus-word-body{opacity:.48;background:linear-gradient(180deg,rgba(255,255,255,.045),transparent 24% 72%,rgba(218,0,55,.09)),linear-gradient(96deg,#7f1d35 0%,#b3334e 18%,#741b32 42%,#a72c46 65%,#761d33 83%,#ad2e47 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-stroke:.72px rgba(229,18,60,.52);filter:blur(.48px) drop-shadow(0 0 8px rgba(235,0,40,.27)) drop-shadow(0 0 17px rgba(126,0,37,.13))}
 #enable-motion{display:none!important}
 .hero .hero-claim{top:calc(var(--header-height) + var(--scene-height)*.48)}
 .hero .countdown{top:calc(var(--header-height) + var(--scene-height)*.68)}
 .hero .hero-invitation{bottom:calc(var(--hero-bottom-gap) + 168px)}
 .dimensions{padding-top:280px}
 .dimensions .dimension-art{display:none}
 .dimensions .dimension-arc{width:190px;right:calc(50% - 95px);top:28px;opacity:1;will-change:transform}
 .dimensions-intro{padding-right:0}
 .dimensions .accordion{width:calc(100% - 48px);margin:46px 24px 0}
 .dimension h3 button{font-size:clamp(36px,10.2vw,58px)}
 .dimension-panel>div{padding-right:0}
 .speaker-modal{inset:0;margin:auto;width:calc(100% - 24px);height:fit-content;max-height:calc(100dvh - 32px)}
 .speaker-modal-scroll{max-height:calc(100dvh - 34px);-webkit-overflow-scrolling:touch}
 .speaker-modal::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;background:#000c}
}
@media(max-width:359px){.site-header,.site-header.header{padding-inline:20px;gap:6px}.dimensions .dimension-arc{width:180px;right:calc(50% - 90px)}}

/* Mobile team names retain one line, including the longest name and LinkedIn. */
@media(max-width:760px){
 .people-team .person-card .person-name-row{gap:4px;align-items:center}
 .people-team .person-card .person-name-row h3{font-size:clamp(11px,3.6vw,22px);white-space:nowrap;overflow-wrap:normal;line-height:1.15}
 .people-team .person-card .person-linkedin{flex-basis:18px;width:18px;height:22px}
 .people-team .person-card .person-linkedin-mark{width:15px}
}

/* Shared fallback pages retain navigation without loading Home-only scenes. */
.fallback-page{min-height:65svh;padding-top:calc(var(--header-height,98px) + 96px);padding-bottom:96px}
.fallback-page .eyebrow{color:var(--red)}
.fallback-page h1{max-width:900px;margin:24px 0;font-size:clamp(40px,7vw,88px);font-weight:400;line-height:1.02;letter-spacing:-.05em}
.fallback-page .fallback-description{max-width:620px;margin-bottom:32px}
@media(max-width:760px){.fallback-page{min-height:65svh;padding-top:calc(var(--header-height,84px) + 56px);padding-bottom:64px}.fallback-page h1{font-size:clamp(38px,10vw,58px)}}
