/* One identity and navigation frame across the existing event and shop surfaces. */
:root{--tam-header-height:88px;--tam-ease:cubic-bezier(.22,1,.36,1)}
html{scroll-padding-top:calc(var(--tam-header-height) + 24px)}
.tam-header{position:sticky;top:0;z-index:80;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:24px;min-height:88px;padding:10px clamp(24px,3vw,64px);background:transparent;color:#f5f5f5;border-bottom:1px solid transparent;box-sizing:border-box}
.tam-brand{display:block;width:clamp(184px,15vw,216px);min-height:60px;text-decoration:none}
.tam-identity{display:block;position:relative;width:100%;aspect-ratio:1200/372;--tam-drift:0px}
.tam-brand .tam-identity{margin-top:0}
.tam-fallback{display:block;width:100%;height:100%;object-fit:contain}
.tam-identity>.tam-fallback,.tam-identity .tam-sphere{position:absolute;inset:0 auto 0 0;width:31%;height:100%;pointer-events:none}
.tam-wordmark{display:block;position:absolute;left:11.8%;top:34.4%;width:88.2%;height:auto;transform:translateY(var(--tam-drift));pointer-events:none}
.tam-rendered>.tam-fallback{visibility:hidden}
.tam-rendered>.tam-wordmark{display:block}
.tam-sphere{display:block}
/* Reveal the prepared Home identity together; retain the static no-JS fallback. */
.tam-identity--hero>.tam-fallback{visibility:visible;opacity:1;transition:none}
.tam-identity--hero>.tam-sphere{opacity:0;transition:none}
.tam-identity--hero.tam-rendered>.tam-fallback{visibility:visible;opacity:0}
.tam-identity--hero.tam-rendered>.tam-sphere{opacity:1}
.tam-identity--hero>.tam-wordmark{transform:none}
.tam-nav{display:flex;align-items:center;gap:32px}
.tam-nav a{display:flex;align-items:center;min-height:44px;color:inherit;font:700 13px/1.2 "Archivo Event",Archivo,sans-serif;text-transform:uppercase;letter-spacing:.04em;text-decoration:none!important;position:relative}
.tam-nav a[aria-current]::after{content:"";position:absolute;bottom:5px;left:0;right:0;height:1px;background:currentColor}
.tam-tools{display:flex;align-items:center;gap:20px}
.tam-header .tam-motion-toggle{display:grid;place-items:center;background:none;color:#f5f5f5;width:44px;height:44px;min-width:44px;padding:10px;border:1px solid #3a3a3a;border-radius:50%;cursor:pointer}
.tam-header .tam-motion-toggle[hidden]{display:none}
.tam-motion-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.tam-play-icon{display:none}
[data-tam-motion="paused"] .tam-play-icon{display:block}
[data-tam-motion="paused"] .tam-pause-icon{display:none}
.tam-header .tam-motion-toggle:disabled{opacity:.6;cursor:default}
.tam-header a:focus-visible,.tam-header button:focus-visible,.tam-archive-link:focus-visible{outline:2px solid #f5f5f5;outline-offset:5px}
.tam-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tae-site .tal-hero{height:clamp(440px,75svh,820px);background:#090909;max-width:none}
.tae-site .tal-hero::after{display:none}
.tal-hero .tam-media,.tam-media>.elementor-widget-container,.tam-film{position:absolute!important;inset:0;width:100%;height:100%}
.tam-film{overflow:hidden;background:#000}
.tam-poster,.tam-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:grayscale(1);opacity:.24}
.tam-poster{display:none}
.tam-video{opacity:0;transition:opacity 120ms ease}
.tam-playing .tam-video{opacity:.30;transition-duration:600ms}
.tam-playing .tam-poster{opacity:0}
.tam-light{position:absolute;inset:0;background:white;opacity:var(--tam-light,0);pointer-events:none}
.tal-hero .tam-hero-brand{position:absolute!important;inset:0;display:grid;place-items:center;width:100%;padding:36px clamp(24px,7vw,128px);z-index:1}
.tam-hero-identity{width:min(100%,1100px);margin:0 auto!important;line-height:1}
.tam-hero-brand>.elementor-widget-container,.tam-hero-brand .elementor-shortcode{width:100%}
.tam-archive-link{display:block;width:100%;padding:0!important}
.tam-orb{display:block;position:relative;aspect-ratio:1;width:100%}
.tam-orb .tam-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.tam-orb .tam-sphere{position:absolute;inset:0;width:100%;height:100%}
.tae-rows a.tae-list-event{color:inherit;text-decoration:none;position:relative;transition:background-color 160ms ease}
.tae-rows a.tae-list-event:focus-visible{outline:2px solid #f5f5f5;outline-offset:-2px;background:rgba(245,245,245,.035)}
.tae-rows a.tae-list-event .tae-open{pointer-events:none}
.tae-rows a.tae-list-event h2,.tae-rows a.tae-list-event h3{margin:0;color:inherit}
.tae-list-event .tae-open svg{transition:transform 180ms var(--tam-ease)}
#ta-archive{scroll-margin-top:24px}
#ta-archive .ta-body,#ta-archive .ta-field,#ta-archive .ta-stage{overflow:visible;overscroll-behavior:auto}
.tae-site #tae-main,.tae-content,.tae-content>.elementor-widget-shortcode{overflow:visible}
@media(hover:hover) and (pointer:fine){.tae-rows a.tae-list-event:hover{background:rgba(245,245,245,.035)}.tae-rows a.tae-list-event:hover .tae-open svg{transform:translateX(5px)}}
@media(max-width:700px){
 :root{--tam-header-height:120px}
 .tam-header{grid-template-columns:1fr auto;gap:0 20px;padding:8px 24px;min-height:120px}
 .tam-brand{width:132px;min-height:52px;grid-column:1;grid-row:1}
 .tam-tools{grid-column:2;grid-row:1;gap:16px}
 .tam-nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:24px}
 .tam-nav a{font-size:12px}
 .tae-site .tal-hero{height:clamp(340px,58svh,540px)}
 .tal-hero .tam-hero-brand{padding:24px 20px}
 .tam-hero-identity{transform:translateY(-8px)}
 .tam-video,.tam-poster{object-position:48% center}
 .tal-home .tae-row-title:not(:has(p)) h3,.tae-rows .tae-row-title:not(:has(p)) h2{font-size:clamp(24px,7.8vw,36px);overflow-wrap:normal}
}
/* Preserve the same header geometry across pages. */
.tam-nav-surface{position:absolute;inset:0;background:#1a1a1a;border-bottom:1px solid #3a3a3a;z-index:-1;pointer-events:none}
/* Reserve the commerce control slot on desktop so links do not shift when
   moving between the hero and shop. Mobile cart lives above the dock. */
@media(min-width:701px) and (min-height:501px),(min-width:1025px){.tam-tools{min-width:148px;justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){
 .tam-wordmark{transform:none}.tam-video{display:none}.tam-poster{opacity:.24!important}.tam-light{display:none}
 .tae-list-event .tae-open svg,.tae-rows a.tae-list-event{transition:none}
}
[data-tam-motion="paused"] .tam-light{display:none}
[data-tam-motion="paused"] .tae-list-event .tae-open svg{transition:none;transform:none!important}

/* Keep the original capsule readable by attenuating sphere pixels only. */
.tam-identity>.tam-fallback,.tam-identity>.tam-sphere{-webkit-mask-image:url("../img/sphere-wordmark-mask.svg");mask-image:url("../img/sphere-wordmark-mask.svg");-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}

/* One quiet sphere beneath document content; the complete Hero paints above it. */
body:has(.tam-background-orb){isolation:isolate}
.tam-background-orb{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.tam-background-orb canvas{position:absolute;width:min(90vw,1000px);height:min(90vw,1000px);left:92%;top:88%;transform:translate(-50%,-50%);opacity:.10;pointer-events:none}
/* Checkout keeps the identity at the viewport corner, clear of the order columns. */
.woocommerce-checkout .tam-background-orb canvas{left:100%;top:100%}
body:has(.tam-background-orb) :is(.ta-main,.taa-main,.tae-content){background:transparent}
.tahl-orb-study .tal-hero{position:relative;z-index:2;isolation:isolate}
@media(max-width:700px){.tam-background-orb canvas{width:145vw;height:145vw;opacity:.064}}

@media(prefers-reduced-motion:reduce){.tam-identity--hero>.tam-fallback,.tam-identity--hero>.tam-sphere,.tam-video{transition:none}}

/* Keep the inline video action in the site palette, including Elementor states. */
.tams-video .tams-stop,.tams-video .tams-stop:hover,.tams-video .tams-stop:focus,.tams-video .tams-stop:active{background:transparent;color:#f5f5f5;border:0;border-radius:0;box-shadow:none}
.tams-video .tams-stop:focus:not(:focus-visible){outline:none}
.tams-video .tams-stop:focus-visible{text-decoration-line:underline}
.tams-video .tams-stop:hover{text-decoration-color:#aaa}

/* Pointer focus has no extra frame. Keyboard navigation uses the site's thin
   underline; image-only links and event dots retain a small visible boundary. */
body:has(.tam-header) :is(a,button,input,select,textarea,summary):focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
body:has(.tam-header) :is(a,button,summary):focus-visible{outline:none!important;box-shadow:none!important;text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body:has(.tam-header) :is(input,select,textarea):focus-visible{outline:1px solid #b8b8b8!important;outline-offset:2px;box-shadow:none!important}
body:has(.tam-header) :is(.tam-brand,.tams-play,.tav-play,.ta-card-media,.tahl-product-media):focus-visible{outline:1px solid #b8b8b8!important;outline-offset:3px}
body:has(.tam-header) #ta-archive .ta-dot:focus-visible{outline:1px solid #b8b8b8!important;outline-offset:-4px}
/* Prevent unstyled action controls from inheriting Hello/Elementor pink.
   Purchase/checkout buttons keep their explicit filled/outlined variants. */
body:has(.tam-header) :is(button,[type="button"],[type="submit"],[type="reset"]):is(:hover,:focus,:active):not(.ta-action,.button):not(:disabled){background-color:transparent;color:inherit}
body:has(.tam-header) :is(.tams-stop,.tav-close):is(:hover,:focus,:active){background:transparent;color:#f5f5f5;border-color:transparent;box-shadow:none}

body:has(.tam-header) a:has(>img):focus-visible{outline:1px solid #b8b8b8!important;outline-offset:3px}
/* Shared footer: navigation, contact, legal. Same markup and look on every surface. A short
   page still ends with the footer at the bottom of the viewport, and no float reaches it. */
body:has(>.tam-footer){min-height:100vh;min-height:100dvh}
.tam-footer{position:sticky;top:100vh;top:100dvh;clear:both;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 32px;padding:16px clamp(24px,3vw,64px) 4px;border-top:1px solid #3a3a3a;background:transparent;color:#8a8a8a;font:400 11px/1.5 "IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.04em}
.tam-footer a{display:inline-flex;align-items:center;gap:6px;min-height:32px;color:#f5f5f5;text-decoration:none;text-underline-offset:5px}
/* The label owns the underline; the external arrow moves within the same link target. */
.tam-footer a[target="_blank"]:is(:hover,:focus-visible){text-decoration:none}
.tam-footer a:not([target="_blank"]):is(:hover,:focus-visible),
.tam-footer a:is(:hover,:focus-visible) .tam-footer-link-label{text-decoration:underline}
@media(prefers-reduced-motion:no-preference){
 .tam-footer-link-arrow{transition:transform 150ms ease-out}
 .tam-footer a:focus-visible .tam-footer-link-arrow{transform:translateY(-3px)}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
 .tam-footer a:hover .tam-footer-link-arrow{transform:translateY(-3px)}
}
.tam-footer-nav,.tam-footer-contact,.tam-footer-legal{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px}
.tam-footer-nav a{font:700 13px/1.2 Archivo,sans-serif;letter-spacing:.04em}
.tam-footer-legal{grid-column:1/-1;border-top:1px solid #2c2c2c;padding-top:4px}
.tam-footer-legal>span{min-height:20px;display:inline-flex;align-items:center}
.tam-footer-credit{display:flex;justify-content:center;text-align:center;text-transform:none}
.tam-footer .tam-footer-credit a{min-height:24px;color:#aaa}
.tam-footer .tam-footer-credit a:is(:hover,:focus-visible){color:#f5f5f5}
@media(max-width:700px){
 .tam-footer{grid-template-columns:1fr;padding:12px 24px 2px}
 .tam-footer-nav{column-gap:14px}
}
@media(min-width:701px) and (max-width:1024px) and (max-height:500px){
 .tam-footer{padding-bottom:2px}
}
@media(max-width:700px),(max-width:1024px) and (max-height:500px){
 .tam-footer-credit{flex-basis:100%}
}
#artists{scroll-margin-top:104px}
@media(max-width:700px),(max-width:1024px) and (max-height:500px){#artists{scroll-margin-top:24px}}
/* Checkout. shop.css turns every image into a block, which pushed gateway logos below
   their label; keep name and logo on one line. */
.ta-store #payment ul.payment_methods li > label{display:inline-flex;align-items:center;gap:12px;line-height:1.2}
.ta-store #payment ul.payment_methods li > label img{display:block;width:auto;height:28px;max-height:none;margin:0;position:static}
/* Swiss Post address validation: the site's outline button instead of the theme's pink default. */
.ta-store .swisspost-validation{margin:16px 0 8px}
.ta-store .swisspost-validation button,.ta-store .swisspost-validation button:hover,.ta-store .swisspost-validation button:focus{display:inline-flex!important;align-items:center;justify-content:center;max-width:100%;min-height:48px;padding:13px 18px;border:1px solid var(--ta-white);border-radius:0;background:transparent;white-space:normal;text-align:center;color:var(--ta-white);font:700 13px/1.5 Archivo,Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;transition:background-color 160ms ease,color 160ms ease}
.ta-store .swisspost-validation button:hover{background:var(--ta-white);color:var(--ta-bg)}
.ta-store .swisspost-validation button:focus-visible{outline:1px solid var(--ta-white);outline-offset:3px}
.ta-store .swisspost-validation [id$="-results"]:not(:empty){margin-top:10px;font:13px/1.5 "IBM Plex Mono",monospace;color:var(--ta-muted)}
.ta-store .swisspost-validation .validation-result p{margin:0}
.ta-store .swisspost-validation .validation-result.error{border-left:2px solid var(--ta-red);padding-left:10px;color:var(--ta-white)}
/* Checkboxes follow the dark surface; the shipping toggle aligns with its heading. */
.ta-store .woocommerce input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:var(--ta-white);color-scheme:dark;vertical-align:middle}
.ta-store #ship-to-different-address label{display:inline-flex;align-items:flex-start;gap:14px;cursor:pointer}
.ta-store #ship-to-different-address input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;margin-top:.05em}
@media(max-width:700px){.ta-store .swisspost-validation button{width:100%}}
/* Artists overview: the resident title scale above the shared card grid. */
.taa-index-title{margin:0 0 40px}
.taa-index-title h1{font:700 clamp(48px,6.5vw,96px)/.98 Archivo,sans-serif;letter-spacing:-.035em;text-transform:uppercase;margin:0 0 20px}
.taa-index-title .taa-intro{margin:0}

/* Home-only progressive enhancement. The approved static layout remains the fallback. */
html.tam-landing .tam-header{position:fixed;inset:0 0 auto;background:transparent;border-bottom-color:transparent}
html.tam-landing .tam-header>.tam-nav-surface{content:"";position:absolute;inset:0;background:#1a1a1a;border-bottom:1px solid #3a3a3a;opacity:var(--tam-nav-surface,0);z-index:-1;pointer-events:none}
html.tam-landing .tam-brand>.tam-identity{visibility:hidden}
html.tam-landing .tae-site .tal-hero{height:100svh;min-height:480px}
html.tam-landing .tam-hero-identity{aspect-ratio:1200/372}
.tam-flight{position:fixed;left:0;top:0;z-index:81;display:block;transform-origin:0 0;pointer-events:none;color:inherit;text-decoration:none}
.tam-flight>.tam-identity{pointer-events:auto}
.tam-flight:not([data-docked="true"]){cursor:default}
.tam-flight[data-travelling="true"]>.tam-identity{pointer-events:none}
.tam-flight .tam-wordmark{opacity:var(--tam-hero-wordmark,1);clip-path:inset(0 var(--tam-wordmark-clip,0%) 0 0)}
html.tam-landing .tam-header:has(.tam-brand:focus-visible){--tam-nav-surface:1!important}
html.tam-landing[data-tam-motion="paused"] .tam-flight .tam-wordmark{transition:none}
@media(max-width:700px){html.tam-landing .tae-site .tal-hero{min-height:420px}}
@media(prefers-reduced-motion:reduce){.tam-flight .tam-wordmark{transition:none!important}}

/* Fill the original alpha mask while the wordmark is absent. This restores
   the sphere pixels themselves instead of putting a dark overlay on the video. */
@property --tam-unshade{syntax:"<number>";inherits:true;initial-value:0}
.tam-flight .tam-identity>.tam-sphere,.tam-flight .tam-identity>.tam-fallback{
 -webkit-mask-image:linear-gradient(rgb(255 255 255 / var(--tam-unshade)),rgb(255 255 255 / var(--tam-unshade))),url("../img/sphere-wordmark-mask.svg");
 mask-image:linear-gradient(rgb(255 255 255 / var(--tam-unshade)),rgb(255 255 255 / var(--tam-unshade))),url("../img/sphere-wordmark-mask.svg");
 -webkit-mask-composite:source-over;mask-composite:add;
}
html.tam-landing[data-tam-motion="paused"] .tam-flight>.tam-identity{transition:none}
@media(prefers-reduced-motion:reduce){.tam-flight>.tam-identity{transition:none!important}}
/* Docked, the header's own identity is the logo, as on every other page; the flight only travels.
   transitions.js may set tam-docked before this script runs, for a restored scroll position. */
html.tam-landing.tam-docked .tam-header{--tam-nav-surface:1}
@media(min-width:701px) and (min-height:501px),(min-width:1025px){
 html.tam-landing.tam-docked .tam-brand>.tam-identity{visibility:visible}
 html.tam-landing.tam-docked .tam-flight{visibility:hidden}
}

/* A mobile dock using the existing semantic navigation and native links. */
@property --tam-bottom-reserve{syntax:"<length>";inherits:true;initial-value:0px}
.tam-cart-icon{display:none}
@media(max-width:700px),(max-width:1024px) and (max-height:500px){
 :root{--tam-header-height:0px;--tam-mobile-left:max(12px,env(safe-area-inset-left,0px));--tam-mobile-right:max(12px,env(safe-area-inset-right,0px));--tam-mobile-bottom:calc(4px + env(safe-area-inset-bottom,0px));--tam-content-gap:24px;--tam-bottom-reserve:calc(64px + var(--tam-mobile-bottom) + var(--tam-content-gap));scroll-padding-top:20px;scroll-padding-bottom:var(--tam-bottom-reserve)}
 body{padding-bottom:calc(64px + var(--tam-mobile-bottom))}
 .tae-footer{min-height:0;padding:24px}
 body .ta-footer{padding:18px}
 body:has(.taa-main) .ta-footer{padding:16px}
 /* Closed WooCommerce gallery shell must not occupy document space. */
 .pswp:not(.pswp--open){display:none}
 .tahl-orb-study #ta-archive:not(.is-open):not(.is-morphing){overflow:clip}
 /* The fixed children occupy the bottom edge; no top header space is reserved. */
 html .tam-header,html.tam-landing .tam-header{position:fixed;inset:0 0 auto;display:block;height:0;min-height:0;padding:0;gap:0;border:0;background:none;pointer-events:none}
 html .tam-header>.tam-nav-surface,html.tam-landing .tam-header>.tam-nav-surface{content:"";position:fixed;inset:auto var(--tam-mobile-right) var(--tam-mobile-bottom) var(--tam-mobile-left);height:64px;border:1px solid #444;border-radius:36px;background:#1a1a1a;opacity:1;z-index:-1;pointer-events:none;box-sizing:border-box}
 html .tam-header .tam-brand{position:fixed;left:var(--tam-mobile-left);bottom:var(--tam-mobile-bottom);width:64px;height:64px;min-height:64px;pointer-events:auto}
 html .tam-header .tam-brand .tam-identity{width:206.451613px;height:64px;aspect-ratio:auto;margin:0;pointer-events:none}
 html .tam-header .tam-brand .tam-wordmark{display:none}
 html .tam-header .tam-brand .tam-sphere,html .tam-header .tam-brand .tam-fallback{-webkit-mask-image:none;mask-image:none}
 html .tam-header .tam-nav{position:fixed;left:calc(var(--tam-mobile-left) + 70px);right:calc(var(--tam-mobile-right) + 8px);bottom:calc(var(--tam-mobile-bottom) + 4px);height:56px;display:grid;grid-template-columns:repeat(4,auto);justify-content:space-around;gap:0;pointer-events:auto}
 html .tam-header .tam-nav a{min-width:0;min-height:48px;justify-content:center;font-size:clamp(10px,2.75vw,13px);letter-spacing:0;border-radius:28px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 html .tam-header .tam-nav a:active{background:#333}
 html .tam-header .tam-nav a[aria-current]::after{left:28%;right:28%;bottom:9px}
 html .tam-header .tam-motion-toggle{position:fixed;top:auto;bottom:calc(var(--tam-mobile-bottom) + 76px);left:var(--tam-mobile-left);right:auto;background:#1a1a1a;pointer-events:auto}
 html .tam-header .ta-cart-toggle{position:fixed;bottom:calc(var(--tam-mobile-bottom) + 76px);right:var(--tam-mobile-right);display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:10px;border:1px solid #444;border-radius:50%;background:#1a1a1a;pointer-events:auto;touch-action:manipulation}
 .tam-cart-icon{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .tam-cart-caption{display:none}
 .tam-header [data-cart-count]{position:absolute;top:-4px;right:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#f5f5f5;color:#1a1a1a;font:700 10px/18px Arial,sans-serif;text-align:center}
 .ta-cart-dialog{top:auto!important;bottom:calc(var(--tam-mobile-bottom) + 76px);right:var(--tam-mobile-right);width:min(560px,calc(100vw - var(--tam-mobile-left) - var(--tam-mobile-right)));max-width:none;max-height:calc(100dvh - var(--tam-mobile-bottom) - 100px - env(safe-area-inset-top,0px))!important;margin:0}
 html .tam-flight[data-docked="true"] .tam-wordmark{display:none}
 html .tam-flight[data-docked="true"]>.tam-identity{--tam-unshade:1;transition:none;pointer-events:none}
 html .tam-flight[data-docked="true"] .tam-sphere{pointer-events:auto}
 html.tam-keyboard .tam-header,html.tam-keyboard .tam-flight[data-docked="true"]{visibility:hidden}
}

/* Home starts with plain, evenly spaced links; the existing scroll clock
   gathers them into the dock as the sphere arrives. Other routes stay docked. */
@media(max-width:700px),(max-width:1024px) and (max-height:500px){
 html.tam-landing .tam-hero-identity{transform:none}
 html.tam-landing .tam-header{--tam-nav-surface:0}
 html.tam-landing .tam-header>.tam-nav-surface{opacity:var(--tam-nav-surface,0);transform:scaleX(calc(.9 + .1 * var(--tam-nav-surface,0)));transform-origin:center}
 html.tam-landing .tam-header .tam-nav{left:calc(var(--tam-mobile-left) + 70px * var(--tam-nav-surface,0));right:calc(var(--tam-mobile-right) + 8px * var(--tam-nav-surface,0))}
}

@media(max-width:700px),(max-width:1024px) and (max-height:500px){
 html.tam-landing .tam-header .tam-brand>.tam-identity{visibility:visible;opacity:var(--tam-nav-surface,0)}
}

/* A stable mobile composition: brand above, event cue above the bottom links. */
@media(max-width:700px){
 html.tam-landing .tal-hero .tam-hero-brand{align-items:start;padding:calc(48px + env(safe-area-inset-top,0px)) 24px 24px!important}
}
@media(max-width:700px),(max-width:1024px) and (max-height:500px){
 html .tam-header .tam-brand{box-sizing:border-box;padding:6px}
 html .tam-header .tam-brand .tam-identity{width:167.741935px;height:52px}
}

/* Preview-only feedback clears the bottom Hero CTA; it is not public UI. */
html.tam-landing:has(.tam-flight:not([data-docked="true"])) [data-ff-widget]{--tam-feedback-bottom:248px}
@media(max-width:360px){html .tam-header .tam-nav a{letter-spacing:-.02em}}
