/* WP integration preserves the approved layout and keeps rich text in safe block containers. */
.ths-rich>p,.ths-rich>ul,.ths-rich>ol{font:inherit!important;line-height:inherit!important;color:inherit!important;letter-spacing:inherit!important;max-width:none!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;position:static!important;transform:none!important;opacity:1!important}
.ths-rich>p+p,.ths-rich>p+ul,.ths-rich>p+ol,.ths-rich>ul+p,.ths-rich>ol+p{margin-top:1em!important}
.ths-rich>ul,.ths-rich>ol{padding-left:1.25em!important}.ths-rich li+li{margin-top:.4em}
.ths-rich a{color:inherit;text-decoration:underline;text-underline-offset:.17em;font-weight:400}.ths-rich a:hover{opacity:.8}
.ths-rich strong,.ths-rich b{font-weight:700}.ths-rich em,.ths-rich i{font-style:italic}
html{scroll-padding-top:var(--ths-nav-h,80px)}body.admin-bar .ths-header{top:32px}body.admin-bar .fp-stage,body.admin-bar .pc-stage{scroll-margin-top:32px}
@media(max-width:782px){body.admin-bar .ths-header{top:46px}}
@media(max-width:600px){#wpadminbar{position:fixed}}

/* Center the desktop systems narrative inside the visible space below navigation. */
@media (min-width: 761px) {
  body.target-home .systems-copy-wrap {
    --systems-toolbar-h: 0px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: 28px;
    padding-top: calc(var(--ths-nav-h, 110px) + var(--systems-toolbar-h) + 32px);
    padding-bottom: 36px;
  }
  body.target-home.admin-bar .systems-copy-wrap {
    --systems-toolbar-h: 32px;
  }
  body.target-home .systems-copy-head {
    align-self: center;
    min-width: 0;
  }
  body.target-home .systems-copy {
    display: grid;
    min-height: 0;
  }
  body.target-home .systems-copy .system-text {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    align-self: start;
  }
}
@media (min-width: 761px) and (max-width: 782px) {
  body.target-home.admin-bar .systems-copy-wrap {
    --systems-toolbar-h: 46px;
  }
}

/* Header-aware viewport compositions; content keeps clear of fixed navigation. */
:root{
  --ths-toolbar-height:0px;
  --ths-header-edge:calc(var(--ths-nav-h,80px) + var(--ths-toolbar-height));
  --ths-content-height:calc(100svh - var(--ths-header-edge));
  --header-h:var(--ths-header-edge);
}
html:has(body.admin-bar){--ths-toolbar-height:32px}
html{scroll-padding-top:calc(var(--ths-header-edge) + 20px)}
body main>section,body .fx-section,body .ep-scene,body .ths-faq-item{scroll-margin-top:0}
body [data-viewport-hero]{height:calc(100svh - var(--ths-toolbar-height))!important}
body .ths-faq-intro{top:calc(var(--ths-header-edge) + 32px)}
body .about-method.is-animated .about-method-stage{height:var(--ths-content-height)}
body.fp-pinned .fp-stage{height:var(--ths-content-height)}
body.fp-pinned .fp-column{height:calc(var(--ths-content-height) - 72px)}
@media(max-width:782px){html:has(body.admin-bar){--ths-toolbar-height:46px}}
@media(min-width:761px){
  body.target-home .systems-copy-wrap{padding-top:calc(var(--ths-header-edge) + 32px)}
  body.target-home .method-stage{
    height:100svh;min-height:0;
    padding-top:calc(var(--ths-header-edge) + 28px);
    padding-bottom:32px;display:grid;
    grid-template-rows:auto minmax(0,1fr);gap:28px;
  }
  body.target-home .method-head{margin-bottom:0}
  body.target-home .method-head .h2{font-size:clamp(48px,min(5.5vw,10svh),128px);line-height:1.02}
  body.target-home .method-head .body-lg{font-size:clamp(17px,min(1.5vw,2.4svh),26px);line-height:1.4;margin-top:20px!important}
  body.target-home .method-grid{min-height:0;max-height:none;height:100%}
  body.target-home .catalog-stage,body .catalog-stage{padding-top:calc(var(--ths-header-edge) + 28px)}
  body .catalog-stage .track-wrap{height:min(620px,calc(var(--ths-content-height) - 180px));min-height:0}
  body.experience-page #progetto.is-project-pinned .ep-project-stage{
    min-height:0;height:100svh;padding-top:calc(var(--ths-header-edge) + 28px);padding-bottom:44px;
  }
  body.experience-page #progetto.is-project-pinned h1{font-size:clamp(64px,min(7.8vw,12svh),142px)}
  body .ep-guest.is-scroll-journey{padding-top:calc(var(--ths-header-edge) + 28px)}
}
@media(min-width:901px){
  body .story-copy,body .config-copy{
    padding-top:calc(var(--ths-header-edge) + 28px);padding-bottom:32px;
  }
}
@media(min-width:1001px){
  body .ths-faq .ths-faq-title{font-size:clamp(52px,min(5.2vw,10svh),112px)}
}
@media(min-width:761px) and (max-height:800px){
  body.target-home .method-stage{gap:20px;padding-bottom:24px}
  body.target-home .method-head .h2{font-size:clamp(44px,8svh,72px)}
  body.target-home .method-content{padding:18px 20px 20px}
  body.target-home .method-step h3{font-size:clamp(29px,4.4svh,38px)}
}
@media(max-width:760px){
  body.target-home .systems-stage{height:var(--ths-content-height)}
  body.fp-pinned .fp-column{height:calc(var(--ths-content-height) - 100px)}
}
@media(max-width:760px) and (max-height:650px){
  body.fp-pinned .fp-column{height:calc(var(--ths-content-height) - 60px)}
}
@media(min-width:761px){
  body .projects-stage{padding-top:calc(var(--ths-header-edge) + 28px)}
  body .projects-stage .project{height:min(620px,calc(var(--ths-content-height) - 170px))}
}
@media(min-width:761px){
  body.experience-page.ep-enhanced .ep-scene:not(.ths-faq):not(.ep-manifesto){padding-top:calc(var(--ths-header-edge) + 28px)}
}

/* Reduce decorative hairlines; controls, progress and technical tables retain their affordances. */
html #ths-mega-hospitality .ths-mega-link,
html .about-principles,
html .brands-top,
html .card,
html .card:not(:first-child),
html .cards,
html .conditions li,
html .conditions ul,
html .detail,
html .ep-link,
html .ep-outputs>div,
html .ep-participate-path li,
html .ep-production-roles>div,
html .ep-render .ep-tools article,
html .ep-topic-mobile details,
html .ep-topic-mobile details:last-child,
html .ep-vision div,
html .fact,
html .fact:not(:first-child),
html .facts,
html .feature,
html .feature:not(:first-child),
html .features,
html .fin-intro,
html .footer-bottom:not(.target-footer-credits),
html .hero-bottom,
html .home-vision .ep-main .hv-service-close,
html .home-vision .ep-tools > :is(p,.ths-rich) + :is(p,.ths-rich),
html .home-vision .hv-magazine,
html .home-vision .hv-service-list > div,
html .kit,
html .kit-grid,
html .link-card,
html .link-grid,
html .manifesto-note,
html .materials-fin-grid,
html .method .method-grid,
html .method .method-step,
html .method-grid,
html .page-hero-desc,
html .panel-glass .spec,
html .podcast-benefits>div,
html .podcast-distribution-output,
html .podcast-distribution-output>div,
html .podcast-distribution-output>div:first-child,
html .podcast-guest-summary,
html .podcast-page :is(.podcast-render,.podcast-construction,.podcast-voices) figcaption,
html .podcast-partner-roles>div,
html .podcast-platforms,
html .podcast-production-credit,
html .podcast-production-list>div,
html .podcast-production-list>div:last-child,
html .podcast-project-grid figcaption,
html .podcast-project-values,
html .podcast-render-tools dl>div,
html .podcast-steps,
html .podcast-steps li,
html .podcast-steps li:first-child,
html .podcast-steps li:nth-child(3),
html .podcast-teaser,
html .podcast-topic,
html .podcast-topic-list,
html .podcast-vision-fields>div,
html .product-track.list-mode .product-card:last-child,
html .route,
html .route-grid,
html .showroom-data,
html .story-panel,
html .system-band-grid,
html .system-meta,
html .system-panel,
html .tc-preview-label,
html .ths-link-panel,
html .ths-mega-bottom,
html .ths-mega-home-vision-link + .ths-mega-home-vision-link,
html .ths-mega-link,
html .ths-mega-link:nth-child(4n),
html .ths-mega-overview,
html .ths-menu-meta,
html .ths-mobile-menu nav li,
html .ths-mobile-menu nav ul,
html .ths-mobile-sub-link,
html .ths-product-link,
html .ths-products-list,
html .ths-sub-link,
html .ths-utilities,
html body .tc-dialog .tc-footer,
html body .tc-footer,
html body .ths-header,
html body .ths-header .ths-mega-panel,
html body .ths-header.scrolled,
html body .ths-header:has(.ths-menu-toggle[aria-expanded="true"]),
html body.experience-page #progetto .ep-project-disciplines>div,
html body.experience-page #progetto .ep-project-vision,
html body.target-about .about-hero figcaption,
html body.target-home .method .method-step,
html body.target-home .method .method-step:last-child,
html body.target-home .method .method-step:nth-child(3){
  border-top-width:0;
  border-bottom-width:0;
}
@media(forced-colors:active){html body .ths-header{border-bottom:1px solid CanvasText!important}}

/* Existing mobile method rows use important borders; keep only the column boundaries. */
html body.target-home .method-grid,
html body.target-home .method-step{
  border-top-width:0!important;
  border-bottom-width:0!important;
}

/* The method stage has one full-width track; all four steps share the available width. */
@media(min-width:901px){
  body.target-home .method-stage{
    grid-template-columns:minmax(0,1fr);
    justify-content:stretch;
    justify-items:stretch;
  }
  body.target-home .method-head,
  body.target-home .method-grid{
    width:100%;
    min-width:0;
    max-width:none;
    justify-self:stretch;
  }
  body.target-home .method-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

/* One global value for image corners across every page, including the blog. */
:root{--image-radius:4px}
body img{border-radius:var(--image-radius)!important}

/* Animated/zoomed images must be rounded at the clipping frame too. */
body :is(figure,picture):has(img),
body :is(.hv-hero-visual,.hero-media,.page-hero-bg,.about-photo,.contact-photo,.cta-bg,.ep-production-image,.ep-project-image,.fin-showroom,.fin-window-float,.photo,.product-isolated,.segment-media,.showroom-bg,.split-photo,.ths-menu-preview,.journal-picture,.journal-feature-picture,.journal-cover,.pe-gallery-item,.ths-mobile-category-cover,.system-panel,.story-panel,.cfg-panel,.project,.product-card,.pe-video):has(img){border-radius:var(--image-radius)!important;overflow:clip}

/* Editorial rule: headings and brand promises read in one upright voice.
   Preserve meaningful emphasis in body copy; never use italic as a heading ornament. */
body :is(h1,h2,h3,h4,h5,h6),
body :is(h1,h2,h3,h4,h5,h6) :is(em,i,.heading-continuation){font-style:normal!important}

/* Keep adjacent editorial introductions centered, including during a sticky hold. */
@media(min-width:1000px){
 body.home-vision .hv-services-intro{align-self:center;position:sticky;top:var(--ths-copy-center-top,calc(var(--ths-header-edge) + 32px))}
 body.home-vision .hv-services-intro[data-heading-overflow]{position:static}
}
@media(min-width:901px){
 body .ths-faq-intro{align-self:center;top:var(--ths-copy-center-top,calc(var(--ths-header-edge) + 32px))}
 body .ths-faq-intro[data-heading-overflow]{position:static}
}

/* Center animated split-panel copy as a complete label/title/body group. */
@media(min-width:901px){
 body .story-copy,body:not(.fh-static) .config-copy{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:24px;min-height:0}
 body .story-copy>div:first-child,body:not(.fh-static) .config-copy>div:first-child{align-self:center;min-width:0}
 body .story-text,body:not(.fh-static) .config-text{display:grid;min-height:0}
 body .story-item,body:not(.fh-static) .cfg-copy{position:relative;inset:auto;grid-area:1/1;align-self:center;min-width:0}
}

@media(min-width:901px){body .clean-hero,body .outlet-hero{align-items:center}}

/* Remove the redundant product section shortcuts on every page and viewport. */
body .pe-section-nav{display:none!important}

/* Destination photographs follow the pointer without changing the linked-card layout. */
.ths-link-preview{
 position:fixed;top:0;left:0;z-index:800;
 width:clamp(240px,24vw,360px);aspect-ratio:4/3;
 max-width:min(calc(100vw - 32px),calc((100dvh - var(--ths-header-edge,110px) - 32px)*4/3));
 margin:0;overflow:hidden;border-radius:var(--image-radius);
 pointer-events:none!important;user-select:none;
 opacity:0;visibility:hidden;will-change:transform,opacity;
}
.ths-link-preview img{display:block;width:100%;height:100%;object-fit:cover}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
 .ths-link-preview{display:none!important}
}

/* Related links: three in a row, four in a 2x2, larger groups in two columns. */
body .link-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,4vw,64px);row-gap:24px}
body .link-grid:has(>.link-card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
body .link-grid>.link-card{min-width:0;padding:24px 0;border-right:0!important}
/* Mobile related links: visible destination photos and a single compact tap target. */
body .link-card>.ths-link-thumb{display:none}
@media(max-width:650px){
 body .link-band{padding:48px 20px}
 body .link-band-head{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:24px}
 body .link-band-head .eyebrow{font-size:11px;line-height:1.4;letter-spacing:.12em}
 body .link-band-head h2{max-width:100%;margin:0;font-size:clamp(36px,10vw,44px);line-height:1.05;text-wrap:balance}
 body .link-grid,body .link-grid:has(>.link-card:nth-child(3):last-child){grid-template-columns:minmax(0,1fr);gap:8px}
 body .link-grid>.link-card{
  display:grid;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:auto auto;
  align-content:center;align-items:center;justify-content:normal;column-gap:12px;row-gap:6px;
  min-height:96px;height:auto;padding:12px 0;text-decoration:none;
 }
 body .link-grid>.link-card.ths-link-has-thumb{grid-template-columns:72px minmax(0,1fr) 24px}
 body .link-card>.label{grid-column:1;grid-row:1;align-self:end;font-size:10px;line-height:1.3;letter-spacing:.1em}
 body .link-card>strong{grid-column:1;grid-row:2;align-self:start;min-width:0;font-size:clamp(27px,7vw,32px);line-height:1.08;overflow-wrap:anywhere}
 body .link-card>.arrow{grid-column:2;grid-row:1/3;align-self:center;justify-self:end;margin:0;font-size:24px;line-height:1}
 body .link-card.ths-link-has-thumb>:is(.label,strong){grid-column:2}
 body .link-card.ths-link-has-thumb>.arrow{grid-column:3}
 body .link-card>.ths-link-thumb{display:block;grid-column:1;grid-row:1/3;align-self:center;width:72px;height:72px;object-fit:cover;border-radius:var(--image-radius,4px)}
 body .link-card:focus-visible{outline:2px solid var(--brand-primary);outline-offset:4px;border-radius:var(--image-radius,4px)}
 body .link-grid:has(>.link-card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:16px}
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card{
  grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:auto 1fr;align-content:start;align-items:start;
  min-height:96px;padding:8px 0;column-gap:8px;row-gap:8px;
 }
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card.ths-link-has-thumb{grid-template-rows:auto auto 1fr}
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card>.ths-link-thumb{grid-column:1/-1;grid-row:1;width:100%;height:auto;aspect-ratio:3/2}
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card>.label{grid-column:1/-1;grid-row:1;align-self:start}
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card>strong{grid-column:1;grid-row:2;font-size:clamp(25px,6.5vw,30px)}
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card>.arrow{grid-column:2;grid-row:2;align-self:start;font-size:22px}
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card.ths-link-has-thumb>.label{grid-row:2}
 body .link-grid:has(>.link-card:nth-child(4):last-child)>.link-card.ths-link-has-thumb>:is(strong,.arrow){grid-row:3}
}

/* Hospitality menu: one external utility button in place of the related-link list. */
body :is(.ths-mega-related,.ths-mobile-related)>:not(a[data-arrow-direction="external"]){display:none!important}
body :is(.ths-mega-related,.ths-mobile-related)>a[data-arrow-direction="external"]{
 display:inline-flex;align-items:center;justify-content:center;gap:var(--button-content-gap,8px);
 min-height:46px;padding:12px 22px;border:1px solid var(--brand-primary);
 border-radius:var(--radius-pill,999px);background:var(--brand-primary);color:#fff;
 font:700 13px/1.25 'Inter Tight',Arial,sans-serif;text-decoration:none;white-space:nowrap;
 transition:background .2s ease-out,border-color .2s ease-out;
}
body :is(.ths-mega-related,.ths-mobile-related)>a[data-arrow-direction="external"]>span{font:400 20px/1 'Inter Tight',Arial,sans-serif}
body :is(.ths-mega-related,.ths-mobile-related)>a[data-arrow-direction="external"]:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}
@media(prefers-reduced-motion:reduce){body :is(.ths-mega-related,.ths-mobile-related)>a[data-arrow-direction="external"]{transition:none}}
@media(forced-colors:active){body :is(.ths-mega-related,.ths-mobile-related)>a[data-arrow-direction="external"]{background:ButtonFace;border-color:ButtonText;color:ButtonText}}

/* Eyebrows are labels, without decorative leading rules. */
body .eyebrow::before{content:none!important;display:none!important}
body .ths-footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:24px 0}
body .ths-footer-nav a{font:400 14px/1.4 'Inter Tight',Arial,sans-serif;color:inherit}

/* Quiet surfaces make the whole FAQ question read as an interactive control. */
:root{--faq-question-bg:rgb(0 0 0 / 2%);--faq-question-shadow:inset 0px 0px 0px 1px rgb(0 0 0 / 4%)}
body .ths-faq-item>summary,body .ths-faq-item:not([open])>summary:hover{
 background:var(--faq-question-bg);box-shadow:var(--faq-question-shadow);
}

/* Mobile hero: one complete first screen, including fixed navigation. */
@media(max-width:760px){
 body [data-viewport-hero],body .fx-main .fx-hero,body.home-vision .ep-main>.hv-hero{
  box-sizing:border-box;height:calc(100svh - var(--ths-toolbar-height))!important;min-height:0!important;
 }
 body .fx-main .fx-hero{padding-top:calc(var(--ths-nav-h) + 20px);padding-bottom:24px}
 body.home-vision .ep-main>.hv-hero{padding:calc(var(--ths-nav-h) + 20px) 20px 24px}
 body.home-vision .hv-hero-grid{
  height:100%;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:28px;
 }
 body.home-vision .hv-hero-copy{align-self:center}
 body.home-vision .ep-main .hv-hero h1{font-size:clamp(38px,10vw,64px);line-height:1;max-width:18ch;margin:12px 0 16px}
 body.home-vision .ep-main .hv-hero .hv-hero-subtitle{font-size:clamp(18px,4.6vw,24px);line-height:1.3;margin-bottom:20px}
 body.home-vision .hv-hero-visual{width:100%;height:auto;max-height:100%;align-self:end;aspect-ratio:16/9}
 body.home-vision .hv-hero .ep-cta{min-height:48px;padding:14px 20px;font-size:14px}
 /* The podcast opening owns the first fold; its existing Vision chapter follows in flow. */
 body.experience-page:not(.home-vision) #progetto .ep-project-stage{padding:0}
 body.experience-page:not(.home-vision) #progetto .ep-project-composition{display:block;height:auto;min-height:0}
 body.experience-page:not(.home-vision) #progetto .ep-project-opening{
  box-sizing:border-box;height:calc(100svh - var(--ths-toolbar-height));min-height:0;
  padding:calc(var(--ths-nav-h) + 20px) 20px 24px;
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:20px;
 }
 body.experience-page:not(.home-vision) #progetto .ep-project-intro{display:block;min-height:0}
 body.experience-page:not(.home-vision) #progetto .ep-project-intro h1{font-size:clamp(36px,10vw,58px);line-height:1.02;margin:12px 0 16px}
 body.experience-page:not(.home-vision) #progetto .ep-project-intro>.ep-project-deck{font-size:15px;line-height:1.4}
 body.experience-page:not(.home-vision) #progetto .ep-project-portrait{height:100%;min-height:0;max-height:none;align-self:stretch}
 body.experience-page:not(.home-vision) #progetto .ep-project-image{height:100%;min-height:0;flex:1}
 body.experience-page:not(.home-vision) #progetto .ep-project-image img{height:100%;width:100%;object-fit:cover}
 body.experience-page:not(.home-vision) #progetto .ep-project-vision{padding:48px 20px 64px;margin:0}
}
@media(max-width:760px) and (max-height:650px){
 body.home-vision .hv-hero-grid{gap:12px}
 body.home-vision .ep-main .hv-hero h1{font-size:36px;margin:8px 0 12px}
 body.home-vision .ep-main .hv-hero .hv-hero-subtitle{font-size:18px;margin-bottom:16px}
 body.experience-page:not(.home-vision) #progetto .ep-project-opening{gap:12px;padding-bottom:16px}
 body.experience-page:not(.home-vision) #progetto .ep-project-intro h1{font-size:34px;margin:10px 0 12px}
 body.experience-page:not(.home-vision) #progetto .ep-project-intro>.ep-project-deck{font-size:14px}
 body.experience-page:not(.home-vision) #progetto .ep-project-portrait figcaption{display:none}
}

/* Short landscape phones retain the full first fold with two readable columns. */
@media(orientation:landscape) and (max-width:1100px) and (max-height:600px){
 body.home-vision .ep-main>.hv-hero{height:calc(100svh - var(--ths-toolbar-height))!important;min-height:0;padding:calc(var(--ths-nav-h) + 16px) 20px 20px}
 body.home-vision .hv-hero-grid{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:24px;align-items:center}
 body.home-vision .ep-main .hv-hero h1{font-size:34px;line-height:1;margin:8px 0 12px}
 body.home-vision .ep-main .hv-hero .hv-hero-subtitle{font-size:18px;margin-bottom:16px}
 body.home-vision .hv-hero-visual{align-self:center}
 body.experience-page:not(.home-vision) #progetto .ep-project-stage{padding:0}
 body.experience-page:not(.home-vision) #progetto .ep-project-composition{display:block;height:auto;min-height:0}
 body.experience-page:not(.home-vision) #progetto .ep-project-opening{box-sizing:border-box;height:calc(100svh - var(--ths-toolbar-height));min-height:0;padding:calc(var(--ths-nav-h) + 16px) 20px 20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:24px;align-items:center}
 body.experience-page:not(.home-vision) #progetto .ep-project-intro{display:block;min-height:0}
 body.experience-page:not(.home-vision) #progetto .ep-project-intro h1{font-size:34px;line-height:1;margin:8px 0 12px}
 body.experience-page:not(.home-vision) #progetto .ep-project-intro>.ep-project-deck{font-size:14px;line-height:1.4}
 body.experience-page:not(.home-vision) #progetto .ep-project-portrait{height:100%;min-height:0;max-height:none;align-self:stretch}
 body.experience-page:not(.home-vision) #progetto .ep-project-portrait figcaption{display:none}
 body.experience-page:not(.home-vision) #progetto .ep-project-image{height:100%;min-height:0}
 body.experience-page:not(.home-vision) #progetto .ep-project-image img{height:100%;width:100%;object-fit:cover}
 body.experience-page:not(.home-vision) #progetto .ep-project-vision{padding:40px 20px 60px;margin:0}
}


/* Mobile technical reader: fixed title and close control, one narrow internal scrollbar. */
html.ths-product-details-open,body.ths-product-details-open{overflow:hidden!important}
body dialog.ths-product-details-dialog{
 position:fixed;inset:0;width:min(560px,calc(100vw - 24px));max-width:none;
 max-height:min(84dvh,calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
 height:auto;min-height:0;margin:auto;padding:0;border:0;border-radius:34px;
 background:var(--brand-paper,#F5F5F1);color:var(--brand-ink,#25261F);overflow:hidden;
 box-shadow:0 16px 64px rgb(0 0 0 / 20%);font-family:'Inter Tight',Arial,sans-serif;
}
body dialog.ths-product-details-dialog[open]{display:flex;flex-direction:column}
.ths-product-details-dialog::backdrop{background:rgb(0 0 0 / 38%);backdrop-filter:blur(3px)}
body .ths-product-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 20px;flex:none;background:var(--brand-paper,#F5F5F1)}
body .ths-product-details-head>div{min-width:0}
body .ths-product-details-label{font:700 11px/1.4 'Inter Tight',Arial,sans-serif;color:var(--brand-olive,#59584B);letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}
body .ths-product-details-head h2{font:400 clamp(30px,8vw,40px)/1.05 'Instrument Serif',Georgia,serif;color:var(--brand-primary,#047271);letter-spacing:-.02em;margin:0;text-wrap:balance;overflow-wrap:anywhere}
body .ths-product-details-close{flex:none;width:44px;height:44px;min-width:44px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:var(--brand-primary,#047271);color:#fff;font:400 30px/1 'Inter Tight',Arial,sans-serif;cursor:pointer;touch-action:manipulation}
body .ths-product-details-scroll{flex:1 1 auto;min-height:0;padding:0 20px 28px 24px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:rgb(4 114 113 / 45%) transparent;scrollbar-gutter:stable}
.ths-product-details-scroll::-webkit-scrollbar{display:block;width:5px;height:5px}
.ths-product-details-scroll::-webkit-scrollbar-track{background:transparent}
.ths-product-details-scroll::-webkit-scrollbar-thumb{background:rgb(4 114 113 / 45%);border-radius:999px}
body .ths-product-details-dialog .fp-data{
 --control-text:var(--brand-ink,#25261F);
 position:static;inset:auto;width:auto;height:auto;min-height:0;padding:0;overflow:visible;
 background:transparent;color:var(--brand-ink,#25261F);font-size:16px;line-height:1.55;
}
body .ths-product-details-dialog .fp-data .btn-utility{--control-bg:var(--brand-primary,#047271);--control-text:#fff}
body .ths-product-details-dialog .fp-data .fx-performance{grid-template-columns:minmax(0,1fr);gap:20px;margin:24px 0!important}
body .ths-product-details-dialog .fp-data .fx-performance dt{font-size:13px;font-weight:700;line-height:1.4;margin-bottom:5px}
body .ths-product-details-dialog .fp-data .fx-performance dd{font-size:16px;line-height:1.5;min-height:0;white-space:normal;overflow-wrap:anywhere}
body .ths-product-details-dialog .fp-data .fx-performance small{font-size:14px;line-height:1.5}
body .ths-product-details-dialog .fp-data .pe-model-copy{font-size:16px;line-height:1.55;margin:20px 0 0;min-height:0}
body .ths-product-details-dialog .fp-data-heading h4{font-size:28px;line-height:1.1}
body .ths-product-details-dialog .fp-data-heading h4[hidden]{display:none}
body .ths-product-details-dialog .fp-data-heading p{font-size:15px;line-height:1.5}
body .ths-product-details-dialog .fp-data .btn{display:flex;width:100%;min-height:48px;font-size:14px;padding:14px 18px}
body .ths-product-details-dialog .fp-data .fx-document-note{font-size:14px;line-height:1.5}
body .ths-product-details-dialog :is(button,a,[tabindex]):focus-visible{outline:2px solid var(--brand-primary,#047271);outline-offset:3px}
body .ths-product-details-close:focus-visible{outline-offset:4px}
body .ths-product-details-scroll:focus-visible{outline-offset:-3px}
@media(max-width:360px),(max-height:500px){
 body .ths-product-details-head{padding:20px 20px 16px}
 body .ths-product-details-scroll{padding:0 16px 24px 20px}
 body .ths-product-details-head h2{font-size:30px}
}
@media(prefers-reduced-motion:reduce){.ths-product-details-dialog,.ths-product-details-dialog *{scroll-behavior:auto!important;transition:none!important}}
@media(forced-colors:active){body dialog.ths-product-details-dialog{background:Canvas;color:CanvasText;border:1px solid CanvasText}body .ths-product-details-close{background:ButtonFace;color:ButtonText;border:1px solid ButtonText}}


/* Native vector geometry keeps the visible drawing centered at every font scale. */
body .ths-ui-icon{display:block;flex:none;width:1em;height:1em;overflow:visible;pointer-events:none}
body .ths-ui-icon:is([data-icon="left"],[data-icon="right"]){width:1.1666667em}
body .ths-icon-glyph{display:inline-grid;place-items:center;line-height:0;vertical-align:-.125em;flex-shrink:0}
body .ths-icon-glyph:not(.ths-icon-box){width:1em;height:1em}
body .ths-icon-glyph:is([data-ths-icon="left"],[data-ths-icon="right"]):not(.ths-icon-box){width:1.1666667em}
body .ths-icon-control{display:inline-grid;place-items:center;padding:0!important;line-height:0}
body .ths-icon-inline{margin-inline:.12em}
/* No UA button padding or font baseline may shift circular next/previous/close controls. */
body :is(.fp-controls button,.fx-model-arrows button,.contract-photo-arrows button,.contract-close,.ths-product-details-close){display:grid;place-items:center;padding:0}
body .tc-close{display:grid;place-items:center;padding:10px}
body .tc-close>svg{display:block;margin:auto}
/* FAQ plus/close strokes share the same center even when their circle changes size. */
body .ths-faq-symbol::before,body .ths-faq-symbol::after{top:calc(50% - 1px);left:calc(50% - 7px);width:14px;height:2px;transform-origin:center}
@media(min-width:1921px){body .ths-faq-symbol::before,body .ths-faq-symbol::after{left:calc(50% - 8px);width:16px}}
@media(max-width:650px){body .ths-faq-symbol::before,body .ths-faq-symbol::after{left:calc(50% - 6px);width:12px}}

/* CSS-generated CTA arrows use the same drawing, without a font glyph. */
:root{
 --ths-icon-right:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012h24M20%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E");
 --ths-icon-left:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M26%2012H2M8%206l-6%206%206%206%22%2F%3E%3C%2Fsvg%3E");
 --ths-icon-up:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021V3M6%209l6-6%206%206%22%2F%3E%3C%2Fsvg%3E");
 --ths-icon-down:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v18M6%2015l6%206%206-6%22%2F%3E%3C%2Fsvg%3E");
 --ths-icon-external:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019%2019%205M7%205h12v12%22%2F%3E%3C%2Fsvg%3E");
}
body [data-arrow-direction="right"]{--ths-arrow-mask:var(--ths-icon-right)}
body [data-arrow-direction="left"]{--ths-arrow-mask:var(--ths-icon-left)}
body [data-arrow-direction="up"]{--ths-arrow-mask:var(--ths-icon-up)}
body [data-arrow-direction="down"]{--ths-arrow-mask:var(--ths-icon-down)}
body [data-arrow-direction="external"]{--ths-arrow-mask:var(--ths-icon-external)}
@supports ((mask-image:url("")) or (-webkit-mask-image:url(""))){
 body .btn[data-arrow-direction]::after{content:"";display:block;width:1em;height:1em;flex:none;align-self:center;background:currentColor;-webkit-mask:var(--ths-arrow-mask) center/contain no-repeat;mask:var(--ths-arrow-mask) center/contain no-repeat;mask-mode:alpha}
 body .btn:is([data-arrow-direction="left"],[data-arrow-direction="right"])::after{width:1.1666667em}
}

/* Keep text legible even when the photograph is replaced with a lighter one. */
body .cta:has(> .cta-bg) {
 --cta-photo-text: var(--white);
 --cta-photo-scrim: var(--brand-dark);
 color: var(--cta-photo-text);
}
body .cta:has(> .cta-bg) .cta-inner :is(h2,.eyebrow) { color: var(--cta-photo-text); }
body .cta > .cta-bg::after {
 background: var(--cta-photo-scrim);
 opacity: .66;
}
@supports (color: color-mix(in srgb, black, transparent)) {
 body .cta > .cta-bg::after {
  background: linear-gradient(90deg,
   color-mix(in srgb,var(--cta-photo-scrim) 84%,transparent),
   color-mix(in srgb,var(--cta-photo-scrim) 66%,transparent));
  opacity: 1;
 }
}

/* Footer partner and development credits. */
body > footer .footer-bottom.target-footer-credits {
    --footer-credit-label: #f0cc83;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 40px;
    row-gap: 24px;
    padding-block-start: 24px;
    border-top: 1px solid rgb(255 255 255 / 25%);
}

.target-footer-legal {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 8px;
}

.target-footer-credit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    min-width: 0;
    text-transform: none;
    letter-spacing: normal;
}

.target-footer-credit p.target-footer-credit-role {
    margin: 0;
    color: var(--footer-credit-label);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.target-footer-credit a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 44px;
    max-width: 100%;
    color: var(--brand-paper);
    text-decoration: none;
}

.target-footer-credit-domain {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

body .target-footer-credit img {
    display: block;
    flex: none;
    width: auto;
    height: 18px;
    max-width: 100%;
    margin: 0;
    border-radius: 0 !important;
    object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
    .target-footer-credit a:hover .target-footer-credit-domain {
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}

@media (max-width: 1000px) {
    body > footer .footer-bottom.target-footer-credits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
    }

    .target-footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body > footer .footer-bottom.target-footer-credits {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding-block-start: 22px;
    }

    .target-footer-legal {
        grid-column: auto;
        order: 1;
        padding-block-start: 8px;
    }
}
