/*
Theme Name: Covelli Marine
Theme URI: https://www.covellimarine.com
Author: Covelli Marine
Description: Tema del sito Covelli Marine: Mediterraneo contemporaneo, eleganza tecnica.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
Version: 4.6.2
License: Proprietary
Text Domain: covelli
*/


/* Light and sharp: paper ground, navy ink, real pictures at full size, one signal colour. */
:root { --paper: #f4f2ec; --stone: #e8e3d8; --navy: #0d2437; --deep: #081a28; --ink: #0d2437; --ink-2: #4b5b68; --ivory: #f8f6f1; --sand: #cdb894; --signal: #ff5a1f; --gutter: clamp(1.1rem, 3.2vw, 2.75rem); --r-s: 14px; --r-m: clamp(20px, 2vw, 30px); --r-l: clamp(28px, 3.4vw, 52px); --ease: cubic-bezier(.16,1,.3,1); --display: var(--wp--preset--font-family--display); --body: var(--wp--preset--font-family--body); }
html { background: var(--paper); overflow-x: clip; scrollbar-color: var(--navy) var(--paper); }
html.lenis, html.lenis body { height: auto; }
body { background: var(--paper) !important; color: var(--ink) !important; overflow-x: clip; font-size: 1.0625rem; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block: 0; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, h4 { color: inherit !important; font-family: var(--display); }
h1, h2 { font-weight: 300; letter-spacing: -.025em; line-height: 1.02; text-transform: none !important; text-wrap: balance; }
h1 b, h2 b { font-weight: 500; }
h3 { font-weight: 500; letter-spacing: -.01em; }
.kicker, .rule { display: none; }

/* Header: a pill that stays legible on anything and leaves while you read. */
.site-header { position: fixed; top: .75rem; left: 0; width: 100%; z-index: 60; padding: 0 var(--gutter) !important; pointer-events: none; transition: transform .6s var(--ease); }
html.nav-hide:not(.has-modal-open) .site-header { transform: translateY(-140%); }
.admin-bar .site-header { top: calc(32px + .75rem); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(46px + .75rem); } }
.site-header > .wp-block-group { max-width: 1500px; margin-inline: auto !important; padding: .4rem .5rem .4rem 1.1rem; border-radius: 999px; background: rgba(248,246,241,.9); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); pointer-events: auto; box-shadow: 0 10px 40px rgba(13,36,55,.1); }
html.has-modal-open .site-header > .wp-block-group { backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-logo img { height: 42px !important; width: auto; display: block; }
.site-header a, .site-header button { color: var(--navy) !important; }
.site-header .wp-block-navigation-item__content { font-family: var(--body) !important; font-size: .9875rem !important; letter-spacing: 0 !important; text-transform: none !important; padding: .55rem .85rem !important; border-radius: 999px; transition: background-color .25s; }
.site-header .wp-block-navigation-item__content:hover { background: rgba(13,36,55,.08); }
.site-header .wp-block-navigation__container { gap: .1rem !important; }
.site-header .wp-block-navigation-item:last-child .wp-block-navigation-item__content { background: var(--navy); color: var(--ivory) !important; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--paper) !important; padding: 5rem var(--gutter) 2rem !important; }
.is-menu-open .wp-block-navigation-item__content { font-size: 2rem !important; font-family: var(--display) !important; font-weight: 300; }
.is-menu-open .wp-block-navigation-item:last-child .wp-block-navigation-item__content { background: none !important; color: var(--navy) !important; }

/* Buttons */
.act, .wp-block-button__link, .cf-submit { display: inline-flex; align-items: center; min-height: 3rem; padding: .8rem 1.6rem !important; border-radius: 999px !important; font-family: var(--body) !important; font-size: 1rem !important; font-weight: 600; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none; transition: background-color .25s, color .25s; }
.act-dark, .wp-block-button:not(.is-style-outline) .wp-block-button__link, .cf-submit { background: var(--navy) !important; color: var(--ivory) !important; }
.act-light { background: var(--ivory); color: var(--navy); }
.act-dark:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover, .cf-submit:hover { background: var(--signal) !important; color: #fff !important; }
.act-light:hover { background: var(--signal); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1.5px solid currentColor; }
.acts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.75rem 0 0; }

/* Loader */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end start; padding: var(--gutter); background: var(--navy); color: var(--ivory); font-family: var(--display); font-weight: 300; font-size: clamp(5rem, 20vw, 18rem); line-height: .85; font-variant-numeric: tabular-nums; transition: transform .7s var(--ease); }
.loader.out { transform: translateY(-101%); }

/* The block layout's column does not apply to the home's full scenes. */
.wp-block-post-content { max-width: none !important; }
.wp-block-post-content > .hero, .wp-block-post-content > section, .wp-block-post-content > .marquee, .wp-block-post-content > .loader { max-width: none !important; margin: 0 !important; }

/* Hero */
.hero { height: 100vh; height: 100svh; min-height: 620px; padding: 0; background: var(--paper); }
.hero-frame { position: relative; height: 100%; overflow: hidden; color: var(--ivory); background: var(--navy); will-change: transform; transform-origin: 50% 50%; }
.hero-img, .hero .water { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,40,.12) 0%, rgba(8,26,40,0) 34%, rgba(8,26,40,.58) 100%); pointer-events: none; z-index: 1; }
.hero-word { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(5rem, 11vh, 7.5rem); margin: 0; text-align: center; font-family: var(--display); font-weight: 400; font-size: 21.2vw; line-height: .78; letter-spacing: -.035em; color: var(--ivory); white-space: nowrap; will-change: transform; }
.hero-foot { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(1.25rem, 4vh, 2.5rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 5.2vw, 5.25rem); max-width: 13ch; }
.lede { margin: 1rem 0 0; max-width: 30rem; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.45; }
.hero-card { position: relative; flex: none; display: grid; gap: .2rem; width: min(21rem, 34vw); padding: 1.15rem 1.3rem; border-radius: var(--r-m); background: rgba(248,246,241,.92); color: var(--navy); text-decoration: none; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-card strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.125rem); letter-spacing: -.02em; }
.hero-card-t, .hero-card-s { font-size: .9375rem; color: var(--ink-2); }
.arrow { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: #fff; font-size: 1.15rem; transition: transform .5s var(--ease); }
.hero-card:hover .arrow { transform: rotate(-45deg); }

/* Statement */
.state { padding: clamp(6rem, 18vh, 13rem) var(--gutter) clamp(4rem, 10vh, 8rem); display: grid; gap: clamp(3rem, 8vh, 6rem); max-width: 1560px; margin-inline: auto !important; }
.state-big { margin: 0; font-size: clamp(2rem, 5vw, 5.25rem); line-height: 1.08; max-width: 22ch; text-wrap: pretty; }
.fw { display: inline-block; will-change: opacity; }
.state-pics { display: flex; justify-content: flex-end; gap: clamp(1rem, 4vw, 4rem); align-items: flex-end; }
.state-pics figure { margin: 0; width: 26vw; max-width: 460px; border-radius: var(--r-l); overflow: hidden; }
.state-pics figure:last-child { width: 32vw; max-width: 560px; margin-top: 6rem; }
.state-pics img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

/* Bento */
.bento { padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem); max-width: 1560px; margin-inline: auto !important; }
.sec-t { margin: 0 0 clamp(1.75rem, 4vh, 3rem); font-size: clamp(2.6rem, 7vw, 7.25rem); line-height: .98; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, clamp(150px, 15.5vw, 245px)); gap: clamp(.6rem, 1.1vw, 1rem); perspective: 1200px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-l); padding: clamp(1.1rem, 2vw, 1.9rem); display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; transform-style: preserve-3d; will-change: transform; min-width: 0; }
.tile h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.08; position: relative; z-index: 2; }
.tile p { margin: 0; line-height: 1.38; font-size: clamp(1rem, 1.05vw, 1.0938rem); position: relative; z-index: 2; max-width: 34ch; }
.tile-txt { position: relative; z-index: 2; display: grid; gap: .4rem; }
.tile img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img.fill { transform: scale(1.05); }
.tile-photo { color: var(--ivory); background: var(--navy); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,40,0) 42%, rgba(8,26,40,.72) 100%); }
.tile-paper { background: #fff; }
.tile-stone { background: var(--stone); }
.tile-navy { background: var(--navy); color: var(--ivory); justify-content: space-between; align-items: flex-start; }
.tile-signal { background: var(--signal); color: #fff; justify-content: space-between; }
.tile-huge { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.1vw, 3.25rem) !important; line-height: 1 !important; letter-spacing: -.02em; max-width: 9ch !important; }
.t-wheel { grid-column: span 5; grid-row: span 3; }
.t-wheel > img { position: absolute; top: 4%; left: 50%; width: min(78%, 620px); height: auto; margin-left: calc(min(78%, 620px) / -2); }
.t-wave { grid-column: span 4; grid-row: span 2; }
.t-italy { grid-column: span 3; grid-row: span 2; }
.t-audio { grid-column: span 3; grid-row: span 2; }
.t-steer { grid-column: span 4; grid-row: span 2; }
.t-steer > img { position: absolute; top: 6%; right: 2%; width: 86%; height: auto; }
.t-note { grid-column: span 5; grid-row: span 1; }
.t-note { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; }
.t-note h3 { width: 100%; }
.t-note p { flex: 1 1 12rem; }

/* Exhibit */
.exhibit { position: relative; height: 320vh; height: 320svh; }
.ex-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--deep); color: var(--ivory); }
.ex-bg, .ex-stage .water { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-stage::after { content: ""; position: absolute; inset: 0; background: rgba(4,26,40,.34); z-index: 1; pointer-events: none; }
.ex-word { position: absolute; z-index: 2; top: 50%; left: 0; margin: 0; transform: translateY(-50%); font-family: var(--display); font-weight: 400; font-size: 26vw; line-height: .8; letter-spacing: -.04em; white-space: nowrap; color: var(--ivory); will-change: transform; }
.ex-anchor { position: absolute; z-index: 3; left: 0; bottom: 2%; width: min(62vw, 92vh); height: auto; filter: drop-shadow(0 50px 60px rgba(0,20,30,.55)); will-change: transform; transform-origin: 20% 50%; }
.ex-txt { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(1.75rem, 6vh, 3.5rem); width: min(33rem, 40vw); display: grid; gap: 1.25rem; }
.ex-txt h2 { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.75rem); }
.ex-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.ex-facts li { padding: .5rem 1rem; border-radius: 999px; background: rgba(248,246,241,.94); color: var(--navy); font-size: .9875rem; font-weight: 600; }

/* Treadmill */
.rail { position: relative; background: var(--paper); }
.rail-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.rail-track { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.5rem); padding: 0 var(--gutter); will-change: transform; width: max-content; }
.rail-intro { width: min(44rem, 78vw); padding-right: 3vw; flex: none; }
.rail-intro h2 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 6vw, 6.25rem); line-height: 1; }
.rail-intro p { margin: 0; font-size: 1.1875rem; color: var(--ink-2); }
.rail-pic { margin: 0; flex: none; overflow: hidden; border-radius: var(--r-l); height: 74vh; height: 74svh; }
.rail-pic.w-l { width: min(78vw, 131vh); }
.rail-pic.w-s { width: min(52vw, 56vh); }
.rail-pic img { display: block; width: 116%; max-width: none; margin-left: -8%; height: 100%; object-fit: cover; will-change: transform; }

/* 780: out of focus on purpose until the reveal; the touch points are sharp. */
.m780 { position: relative; height: 340vh; height: 340svh; margin-top: clamp(1rem, 4vh, 3rem); }
.m780-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--navy); color: var(--ivory); touch-action: pan-y; }
.m780-bg { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; opacity: .55; }
.num780 { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-54%); margin: 0; text-align: center; font-family: var(--display); font-weight: 400; font-size: 44vw; line-height: .8; letter-spacing: -.05em; color: var(--ivory); opacity: .95; }
.boat3d { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(clamp(5px, .75vw, 11px)) saturate(1.05); cursor: grab; }
.boat3d:active { cursor: grabbing; }
[data-revealed="true"] .boat3d { filter: none; }
.m780-txt { position: absolute; left: var(--gutter); bottom: clamp(1.25rem, 4vh, 2.5rem); width: min(30rem, 40vw); display: grid; gap: .6rem; z-index: 4; }
.m780-txt h2 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.9rem); }
.m780-txt p { margin: 0; font-size: 1.0625rem; line-height: 1.45; }
.m780-txt .acts { margin-top: .6rem; }
.spots { position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .6s; }
.boat-on .spots { opacity: 1; }
.spot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transition: opacity .35s; }
.spot i { position: absolute; inset: 13px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 4px rgba(248,246,241,.28), 0 4px 16px rgba(0,0,0,.35); transition: transform .35s var(--ease), background-color .25s; }
.spot i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(248,246,241,.8); animation: ping 2.4s var(--ease) infinite; }
.spot:hover i, .spot.on i { background: var(--signal); transform: scale(1.3); }
.spot.far { opacity: 0; pointer-events: none; }
@keyframes ping { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.spot-card { position: absolute; z-index: 5; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(23rem, 84vw); padding: 1.2rem; border-radius: var(--r-l); background: var(--ivory); color: var(--navy); display: grid; gap: .55rem; animation: cardin .6s var(--ease); box-shadow: 0 30px 80px rgba(4,18,30,.4); }
.spot-card[hidden] { display: none; }
.spot-card img { width: 100%; height: 11.5rem; object-fit: contain; border-radius: var(--r-m); background: var(--paper); }
.spot-card h3 { margin: 0; font-size: 1.5rem; }
.spot-card p { margin: 0; line-height: 1.42; color: var(--ink-2); }
.spot-x { position: absolute; top: .7rem; right: .7rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--navy); color: var(--ivory); font-size: 1.25rem; cursor: pointer; z-index: 1; }
@keyframes cardin { from { opacity: 0; transform: translateY(-46%); } to { opacity: 1; transform: translateY(-50%); } }
.m780-hint { position: absolute; right: var(--gutter); bottom: clamp(1.25rem, 4vh, 2.5rem); margin: 0; font-size: .9375rem; z-index: 4; }
html:not(.js) .m780 { height: auto; }

/* Marquee */
.marquee { overflow: hidden; background: var(--navy); color: var(--ivory); padding: clamp(.9rem, 2vh, 1.4rem) 0; }
.marquee > div { display: flex; align-items: center; gap: 2.5rem; width: max-content; font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 3.25rem); font-weight: 300; letter-spacing: -.01em; white-space: nowrap; will-change: transform; }
.marquee i { width: .55em; height: .55em; border-radius: 50%; background: var(--signal); flex: none; }

/* Network */
.net { padding: clamp(.6rem, 1.4vw, 1.25rem); }
.net-frame { position: relative; min-height: 94vh; min-height: 94svh; overflow: hidden; border-radius: var(--r-l); display: flex; align-items: flex-end; color: var(--ivory); background: var(--navy); }
.net-frame .fill, .net-frame .water { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.net-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,40,.1) 30%, rgba(8,26,40,.72) 100%); }
.net-txt { position: relative; z-index: 2; padding: clamp(1.5rem, 4vw, 4rem); display: grid; gap: 1.1rem; max-width: 62rem; }
.net-txt h2 { margin: 0; font-size: clamp(2.8rem, 8vw, 8.5rem); line-height: .96; }
.net-txt p { margin: 0; max-width: 40rem; font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.5; }

/* Journal cards with real covers */
.journal-home, .article-next { padding-inline: var(--gutter) !important; max-width: none !important; }
.journal-home .wp-block-group, .article-next > * { max-width: 1560px; margin-inline: auto; }
.wp-block-post-template.cards, .cards { gap: clamp(.75rem, 1.6vw, 1.5rem) !important; list-style: none; padding: 0; margin: 2rem auto 0 !important; max-width: 1560px; }
.cards > li { display: grid; gap: .55rem; align-content: start; }
.cards .wp-block-post-featured-image { margin: 0; overflow: hidden; border-radius: var(--r-l); aspect-ratio: 4 / 3; background: var(--stone); }
.cards .wp-block-post-featured-image a { display: block; height: 100%; }
.cards .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.cards > li:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.cards .wp-block-post-title { font-size: clamp(1.35rem, 1.9vw, 1.875rem); line-height: 1.12; font-weight: 400; margin: .2rem 0 0; }
.cards .wp-block-post-title a { text-decoration: none; }
.cards .wp-block-post-excerpt { margin: 0; color: var(--ink-2); font-size: 1rem; }
.cards .wp-block-post-excerpt__more-text { display: none; }
.wp-block-post-date { font-family: var(--body); color: var(--ink-2); font-size: .9375rem; letter-spacing: 0; text-transform: none; }
.cards-lead > li:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.cards-lead > li:first-child .wp-block-post-featured-image { grid-row: 1 / span 4; aspect-ratio: 16 / 9; }
.cards-lead > li:first-child .wp-block-post-title { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.03; font-weight: 300; }
.journal { padding: clamp(7rem, 16vh, 11rem) var(--gutter) clamp(3rem, 8vh, 6rem); max-width: 1640px; margin-inline: auto; }
.journal h1 { font-size: clamp(2.8rem, 7vw, 7.25rem); margin: 0; max-width: 16ch; }
.wp-block-query-pagination { margin-top: 2.5rem; }

/* Article */
.article-hero { position: relative; min-height: 88vh; min-height: 88svh; margin: clamp(.6rem, 1.4vw, 1.25rem); display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--r-l); background: var(--navy); color: var(--ivory); }
.article-cover { position: absolute !important; inset: 0; margin: 0 !important; height: 100%; max-width: none !important; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; display: block; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,40,.08) 35%, rgba(8,26,40,.8) 100%); }
.article-head { position: relative; z-index: 1; width: 100%; padding: clamp(1.5rem, 4vw, 4rem); display: grid; gap: .9rem; }
.article-head .wp-block-post-date { color: var(--ivory); font-size: 1.0625rem; }
.article-head h1 { margin: 0; font-size: clamp(2.2rem, 5.4vw, 5.5rem) !important; max-width: 20ch; }
.article-body { max-width: 46rem; margin: clamp(3rem, 9vh, 6rem) auto; padding-inline: var(--gutter); font-size: clamp(1.0938rem, 1.2vw, 1.25rem); line-height: 1.68; }
.article-body > * { margin-block: 1.35em; }
.article-body > p:first-child { font-size: 1.28em; line-height: 1.45; font-family: var(--display); font-weight: 300; }
.article-body h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.08; margin-top: 2.1em; }
.article-body h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); margin-top: 1.8em; }
.article-body figure { margin-inline: calc((min(70rem, 94vw) - 100%) / -2); max-width: none; }
.article-body figure img { width: 100%; height: auto; max-height: 80vh; object-fit: cover; border-radius: var(--r-m); display: block; }
.article-body figcaption { margin-top: .6rem; color: var(--ink-2); font-size: .9375rem; text-align: center; }
.article-next { padding-block: clamp(3rem, 8vh, 6rem); background: var(--stone); border-radius: var(--r-l) var(--r-l) 0 0; }
.article-next h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem) !important; margin: 0; }

/* Inner pages: each opens on its own picture. */
.wp-block-post-content > .alignfull { padding-inline: var(--gutter) !important; max-width: none !important; }
.wp-block-post-content > .alignfull > * { max-width: 1400px; margin-inline: auto; }
body:not(.home) .wp-block-post-content > .alignfull:first-child { position: relative; isolation: isolate; min-height: 88vh; min-height: 88svh; margin: clamp(.6rem, 1.4vw, 1.25rem) !important; border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ivory) !important; background: var(--navy) center / cover no-repeat !important; padding: clamp(6rem, 18vh, 10rem) clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 4vw, 4rem) !important; }
body:not(.home) .wp-block-post-content > .alignfull:first-child::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,40,.12) 25%, rgba(8,26,40,.72) 100%); }
body:not(.home) .wp-block-post-content > .alignfull:first-child > * { margin-inline: 0; max-width: none; }
body:not(.home) .wp-block-post-content > .alignfull:first-child h1 { font-size: clamp(2.8rem, 7.4vw, 7.75rem) !important; }
body:not(.home) .wp-block-post-content > .alignfull:first-child p { color: var(--ivory) !important; max-width: 42rem; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); }
.slug-chi-siamo .wp-block-post-content > .alignfull:first-child { background-image: url("assets/img/mare/borgo-2400.webp") !important; }
.slug-concessionari .wp-block-post-content > .alignfull:first-child { background-image: url("assets/img/mare/pontile-luce-2600.webp") !important; }
.single-covelli_model .wp-block-post-content > .alignfull:first-child, .slug-modelli .wp-block-post-content > .alignfull:first-child { background-image: url("assets/img/mare/tramonto-1600.webp") !important; }
.has-ivory-background-color, .has-white-background-color { background-color: var(--paper) !important; }
.has-stone-background-color { background-color: var(--stone) !important; border-radius: var(--r-l); margin-inline: clamp(.6rem, 1.4vw, 1.25rem) !important; width: auto !important; }
.has-navy-background-color, .has-petrol-background-color { color: var(--ivory); }
.wp-block-post-content > .has-navy-background-color.alignfull:not(:first-child), .wp-block-post-content > .has-petrol-background-color.alignfull:not(:first-child) { border-radius: var(--r-l); margin-inline: clamp(.6rem, 1.4vw, 1.25rem) !important; width: auto !important; }
.has-petrol-background-color { background-color: var(--navy) !important; }
.lead-on-dark { color: inherit; max-width: 660px; }
.display-number { font-family: var(--display); font-weight: 400; font-size: clamp(7rem, 26vw, 22rem); line-height: .85; letter-spacing: -.04em; }
.depth { position: relative; isolation: isolate; }
.depth .depth-word { position: absolute; z-index: -1; left: 0; right: 0; top: 6%; font-family: var(--display); text-transform: uppercase; font-size: clamp(3rem, 8.5vw, 7rem); line-height: 1; overflow: hidden; }
.depth img, .wp-block-column img { display: block; width: 100%; height: auto; max-height: min(72vh, 640px); object-fit: contain; }
.callout { font-size: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: .6rem; }
.callout::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.component-card { background: #fff; padding: 1.2rem; border-radius: var(--r-l); height: 100%; }
.component-card p { color: var(--ink-2) !important; }
.component-card img, .component-card > div[style] { border-radius: var(--r-m); aspect-ratio: 4 / 3; object-fit: contain; width: 100%; background: var(--paper) !important; }
.wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Forms */
.cf legend, .cf label, .cf .cf-check { font-family: var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 1rem !important; color: var(--ink) !important; }
.cf-type { border-radius: var(--r-s) !important; background: #fff !important; border-color: transparent !important; }
.cf-type:has(input:checked) { border-color: var(--navy) !important; box-shadow: inset 0 0 0 1.5px var(--navy) !important; }
.cf input:not([type=checkbox]):not([type=radio]), .cf select, .cf textarea { border-radius: var(--r-s) !important; border-color: transparent !important; background: #fff !important; }
.cc-banner, .cc-banner * { font-family: var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; font-size: max(13px, .875rem) !important; }
.cc-banner > * { border-radius: var(--r-m) !important; }
.cc-btn { border-radius: 999px !important; }
@media (min-width: 900px) { .cc-banner { left: auto; right: 1rem; bottom: 1rem; max-width: 27rem; justify-content: flex-end; } }

/* Footer: full width; the name closes the page. */
footer.wp-block-template-part { width: 100%; max-width: none; margin: 0; }
footer.wp-block-group, .wp-block-template-part footer { width: 100% !important; max-width: none !important; margin: 0 !important; padding: clamp(3rem, 8vh, 6rem) var(--gutter) 0 !important; overflow: hidden; background: var(--navy) !important; color: var(--ivory) !important; }
footer .wp-block-columns { max-width: 1560px !important; margin-inline: auto !important; }
footer a { text-decoration: none; }
footer a:hover { color: var(--signal); }
.foot-name { max-width: none !important; margin: clamp(2rem, 6vh, 4rem) 0 -.1em !important; text-align: center; font-family: var(--display); font-weight: 400; font-size: 21.4vw; line-height: .8; letter-spacing: -.035em; color: var(--ivory); white-space: nowrap; }
.has-navy-background-color.alignfull { border-radius: 0; }

@media (max-width: 760px) {
  .site-logo img { height: 34px !important; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 1rem; }
  .hero-card { width: 100%; }
  .hero-word { font-size: 22vw; top: 5.5rem; }
  .state-pics figure { width: 46vw; }
  .state-pics figure:last-child { width: 46vw; margin-top: 3rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile { min-height: 62vw; }
  .t-wheel, .t-wave, .t-steer, .t-note { grid-column: span 2; grid-row: auto; }
  .t-italy, .t-audio { grid-column: span 1; grid-row: auto; }
  .t-wheel { min-height: 118vw; }
  .t-wave { min-height: 104vw; }
  .t-steer { min-height: 92vw; }
  .t-note { min-height: 0; }
  .tile-huge { font-size: 1.75rem !important; }
  .t-italy p:last-child, .t-audio p { font-size: .9375rem; }
  .ex-word { font-size: 40vw; top: 34%; }
  .ex-anchor { width: 118vw; left: -14vw; bottom: 34%; }
  .ex-txt { left: var(--gutter); right: var(--gutter); width: auto; }
  .rail-intro { width: 84vw; }
  .rail-pic.w-l { width: 86vw; height: 58svh; }
  .rail-pic.w-s { width: 72vw; height: 66svh; }
  .num780 { font-size: 58vw; top: 40%; }
  .m780-txt { width: auto; right: var(--gutter); }
  .m780-hint { display: none; }
  .spot-card { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 1rem; transform: none; animation: none; }
  .spot-card img { height: 8.5rem; }
  .cards, .wp-block-post-template.cards { grid-template-columns: minmax(0, 1fr) !important; }
  .cards-lead > li:first-child { grid-template-columns: minmax(0, 1fr); }
  .cards-lead > li:first-child .wp-block-post-featured-image { grid-row: auto; aspect-ratio: 4 / 3; }
  .article-body figure { margin-inline: calc(var(--gutter) * -.5); }
  .wp-block-columns { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .marquee > div { transform: none !important; } .loader { display: none !important; } .exhibit { height: auto; } .ex-stage { position: relative; } .rail { height: auto !important; } .rail-stage { position: relative; height: auto; overflow-x: auto; } }

main, .wp-block-post-content, .wp-block-post-content.is-layout-constrained { padding-inline: 0 !important; }
.num780 { font-size: 37vw; transform: translateY(-62%); }
.boat3d { filter: blur(clamp(3px, .36vw, 6px)) saturate(1.05); }
.hero-card, .tile, .spot-card, .live { box-sizing: border-box; }

/* The whole anchor, tip included: official picture, never bled off the edge (lesson L-19). */
.ex-anchor { left: 2vw; bottom: 6%; width: min(60vw, 108vh); transform-origin: 50% 50%; }
@media (max-width: 760px) { .ex-anchor { left: 3vw; width: 94vw; bottom: 38%; } }


/* ── The close of every page: journal, invitation, footer ── */
.site-header > .wp-block-group, html.has-modal-open .site-header > .wp-block-group { background: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-card { background: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-frame { transform: translateZ(0); backface-visibility: hidden; }
.hero-img { image-rendering: auto; object-position: 50% 58%; will-change: transform; }
.ex-anchor { filter: none; }

/* Gutters the block layout had removed. */
.wp-block-post-content.article-body { max-width: 46rem !important; padding-inline: var(--gutter) !important; margin: clamp(3rem, 9vh, 6rem) auto !important; box-sizing: content-box; }
main.journal { padding: clamp(7rem, 15vh, 10rem) var(--gutter) clamp(3rem, 8vh, 6rem) !important; max-width: none; }
.journal-home { padding: clamp(5rem, 13vh, 9rem) var(--gutter) clamp(1rem, 3vh, 2rem) !important; }
.jh-head { max-width: 1560px; margin: 0 auto clamp(1.75rem, 4vh, 3rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.jh-head h2 { margin: 0; font-size: clamp(4rem, 13vw, 13.5rem); line-height: .82; letter-spacing: -.045em; }
.jh-head > div { display: grid; justify-items: start; gap: 1rem; max-width: 26rem; }
.jh-head p { margin: 0; font-size: 1.125rem; line-height: 1.45; color: var(--ink-2); }

/* Cards: the cover is the card, and the title sits on it. */
.wp-block-post-template.cards { max-width: 1560px; margin: 0 auto !important; gap: clamp(.6rem, 1.1vw, 1rem) !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.cards > li { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; min-height: clamp(24rem, 36vw, 34rem); padding: clamp(1.1rem, 2vw, 1.9rem); border-radius: var(--r-l); overflow: hidden; background: var(--navy); color: var(--ivory); margin: 0 !important; }
.cards .wp-block-post-featured-image { position: absolute !important; inset: 0; z-index: -2; width: 100%; height: 100%; margin: 0 !important; border-radius: 0; aspect-ratio: auto !important; }
.cards > li::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,40,0) 38%, rgba(8,26,40,.82) 100%); }
.cards .wp-block-post-date { color: var(--ivory); opacity: .9; font-size: .9375rem; margin: 0 !important; }
.cards .wp-block-post-title { color: var(--ivory) !important; font-weight: 400; font-size: clamp(1.4rem, 2vw, 2.125rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 !important; text-wrap: balance; }
.cards .wp-block-post-title a { color: inherit; text-decoration: none; }
.cards .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.cards .wp-block-post-excerpt { color: var(--ivory); opacity: .9; margin: 0 !important; max-width: 46ch; }
.cards .wp-block-post-excerpt__excerpt { margin: 0; }
.cards > li:not(:first-child) .wp-block-post-excerpt { display: none; }
.cards-feature { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important; grid-auto-rows: clamp(15rem, 20vw, 21rem); }
.cards-feature > li { min-height: 0; }
.cards-feature > li:first-child { grid-row: span 2; }
.cards-feature > li:first-child .wp-block-post-title, .cards-lead > li:first-child .wp-block-post-title { font-size: clamp(2rem, 3.8vw, 4rem); font-weight: 300; line-height: 1.02; letter-spacing: -.025em; max-width: 20ch; }
.cards-lead > li:first-child { grid-column: 1 / -1; display: flex; grid-template-columns: none; min-height: clamp(26rem, 74vh, 46rem); }
.cards-lead > li:first-child .wp-block-post-featured-image { grid-row: auto; aspect-ratio: auto !important; }
.journal h1 { font-size: clamp(3rem, 8.4vw, 8.75rem); line-height: .94; letter-spacing: -.035em; max-width: 14ch; margin: 0 auto clamp(1.75rem, 5vh, 3.5rem); max-inline-size: 1560px; }
.journal .wp-block-query, .journal h1 { width: 100%; }

/* Article */
.article-hero { min-height: min(92svh, 62rem); }
.article-head { max-width: 1560px; margin-inline: auto; box-sizing: border-box; }
.article-head h1 { font-size: clamp(2.3rem, 5.6vw, 5.75rem) !important; font-weight: 300; line-height: 1; letter-spacing: -.03em; max-width: 18ch; }
.article-body { font-family: var(--body); font-size: clamp(1.125rem, 1.25vw, 1.3125rem) !important; line-height: 1.7; color: var(--ink); }
.article-body > p:first-child { font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2.125rem); line-height: 1.28; letter-spacing: -.012em; }
.article-body h2 { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 3.2vw, 3.25rem) !important; line-height: 1.04; letter-spacing: -.025em; margin-block: 2.2em .6em; }
.article-body h3 { font-size: clamp(1.25rem, 1.7vw, 1.625rem) !important; margin-block: 1.8em .4em; }
.article-body p { max-width: none !important; margin-block: 0 1.15em; }
.article-body a { color: var(--navy); text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; }
.article-body ul, .article-body ol { padding-left: 1.2em; }
.article-body li { margin-bottom: .45em; }
.article-body li::marker { color: var(--signal); }
.article-body figure { margin: clamp(2rem, 6vh, 4rem) calc((min(74rem, 100vw - 2 * var(--gutter)) - 100%) / -2); }
.article-body figure img { border-radius: var(--r-l); max-height: 82vh; }
.article-body figcaption { text-align: left; padding-inline: .4rem; }
.article-body h2:last-of-type:has(+ ul), .article-body h3:last-of-type:has(+ ul) { font-size: 1.125rem !important; font-family: var(--body); font-weight: 600; letter-spacing: 0; margin-top: 3.5em; padding-top: 1.75em; }
.article-body > ul:last-child { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.article-next { margin: 0 clamp(.6rem, 1.4vw, 1.25rem); padding: clamp(2rem, 5vw, 4rem) !important; border-radius: var(--r-l); max-width: none !important; }
.article-next h2 { font-weight: 300; letter-spacing: -.03em; margin: 0 auto 1.75rem !important; max-width: 1560px; }
.article-next .wp-block-query { max-width: 1560px; margin-inline: auto; }
.read-bar { position: fixed; z-index: 70; top: 0; left: 0; width: 100%; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; }

/* Invitation */
.cta { padding: clamp(.6rem, 1.4vw, 1.25rem); max-width: none !important; }
.cta-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-l); min-height: clamp(30rem, 86vh, 54rem); display: grid; align-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 4rem); background: var(--navy); color: var(--ivory); }
.cta-frame .fill { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8,26,40,.42); }
.cta-txt h2 { margin: 0; font-size: clamp(4rem, 15vw, 16rem); line-height: .86; letter-spacing: -.05em; }
.cta-txt p { margin: clamp(1rem, 3vh, 2rem) 0 0; max-width: 34rem; font-size: clamp(1.125rem, 1.5vw, 1.5rem); line-height: 1.35; }
.cta-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.cta-routes a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.5rem; padding: 1rem 1.4rem; border-radius: var(--r-m); background: var(--ivory); color: var(--navy); text-decoration: none; font-family: var(--display); font-size: clamp(1.125rem, 1.5vw, 1.5rem); transition: background-color .25s, color .25s; }
.cta-routes a:hover { background: var(--signal); color: #fff; }
.cta-routes i { font-style: normal; transition: transform .5s var(--ease); }
.cta-routes a:hover i { transform: translateX(6px); }

/* Footer */
footer.wp-block-group, .wp-block-template-part footer { padding: 0 !important; background: var(--paper) !important; color: var(--ivory) !important; overflow: visible; }
.foot { margin: 0 clamp(.6rem, 1.4vw, 1.25rem); padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem) 0; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--navy); overflow: hidden; max-width: none !important; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3.5rem); max-width: 1560px; margin-inline: auto; }
.foot-claim { display: grid; justify-items: start; gap: 1.5rem; }
.foot-claim img { width: 128px; height: auto; }
.foot-claim p { margin: 0; max-width: 24rem; font-family: var(--display); font-weight: 300; font-size: clamp(1.25rem, 1.7vw, 1.75rem); line-height: 1.22; letter-spacing: -.01em; }
.foot-col { display: grid; gap: .55rem; align-content: start; }
.foot-col h3 { margin: 0 0 .5rem; font-family: var(--body); font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--sand); }
.foot-col a { font-size: clamp(1.0625rem, 1.2vw, 1.25rem); color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.foot-col a:hover, .foot-legal a:hover { color: var(--signal); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; max-width: 1560px; margin: clamp(2.5rem, 7vh, 5rem) auto 0; font-size: .9375rem; color: var(--ivory); }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.foot-links a { color: var(--ivory); text-decoration: none; }
.foot .foot-name { margin: clamp(1.5rem, 4vh, 3rem) calc(clamp(1.5rem, 4vw, 4rem) * -1) -.11em !important; font-size: 20.8vw; font-weight: 400; }

@media (max-width: 900px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-claim { grid-column: 1 / -1; }
  .cta-routes { grid-template-columns: minmax(0, 1fr); }
  .wp-block-post-template.cards, .cards-feature { grid-template-columns: minmax(0, 1fr) !important; grid-auto-rows: auto; }
  .cards > li, .cards-feature > li { min-height: 25rem; }
  .cards-feature > li:first-child { grid-row: auto; min-height: 30rem; }
  .jh-head { display: grid; }
  .article-body figure { margin-inline: calc(var(--gutter) * -.6); }
  .article-next { padding: 1.5rem 1rem !important; }
}
@media (max-width: 760px) {
  .jh-head h2 { font-size: 24vw; }
  .journal h1 { font-size: 15vw; }
  .article-hero { min-height: 84svh; }
  .article-head { padding: 1.25rem; }
  .article-head h1 { font-size: 11vw !important; }
  .foot { padding-inline: 1.25rem; }
  .foot .foot-name { margin-inline: -1.25rem !important; font-size: 22vw; }
  .cta-txt h2 { font-size: 19vw; }
  .site-header .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
}


.wp-block-post-template.cards.cards-feature { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important; grid-auto-rows: clamp(15rem, 20vw, 21rem); }
@media (max-width: 900px) { .wp-block-post-template.cards.cards-feature { grid-template-columns: minmax(0, 1fr) !important; grid-auto-rows: auto; } }

/* Phone menu: the whole screen, big titles, one line between each. */
html.has-modal-open { overflow: hidden; }
html.has-modal-open .site-header { transform: none !important; }
.wp-block-navigation__responsive-container-open { width: 2.75rem; height: 2.75rem; display: grid !important; place-items: center; border-radius: 50%; background: var(--navy) !important; color: var(--ivory) !important; }
.site-header .wp-block-navigation__responsive-container-open svg { fill: var(--ivory); width: 22px; height: 22px; }
.wp-block-navigation__responsive-container.is-menu-open { position: fixed !important; inset: 0 !important; z-index: 200; width: 100vw; height: 100dvh; display: flex !important; padding: 0 !important; background: var(--navy) !important; color: var(--ivory) !important; overflow-y: auto; animation: menuin .55s var(--ease); }
@keyframes menuin { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.is-menu-open .wp-block-navigation__responsive-close { width: 100%; max-width: none; min-height: 100%; }
.is-menu-open .wp-block-navigation__responsive-dialog { width: 100%; min-height: 100%; margin: 0 !important; display: flex; flex-direction: column; }
.wp-block-navigation__responsive-container-close { position: absolute !important; top: 1.1rem; right: var(--gutter); z-index: 3; width: 2.75rem; height: 2.75rem; display: grid !important; place-items: center; border-radius: 50%; background: var(--ivory) !important; }
.site-header .wp-block-navigation__responsive-container-close svg { fill: var(--navy); width: 22px; height: 22px; }
.is-menu-open .wp-block-navigation__responsive-container-content { width: 100%; flex: 1; padding: 5.25rem var(--gutter) 1.5rem !important; display: flex !important; flex-direction: column; align-items: stretch !important; justify-content: flex-start !important; }
.is-menu-open .wp-block-navigation__container { width: 100%; display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0 !important; border-top: 1px solid rgba(248,246,241,.28); }
.is-menu-open .wp-block-navigation-item { width: 100%; display: block !important; border-bottom: 1px solid rgba(248,246,241,.28); opacity: 0; animation: rowin .7s var(--ease) forwards; }
.is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: .1s; }
.is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .16s; }
.is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .22s; }
.is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .28s; }
.is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .34s; }
.is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: .4s; }
@keyframes rowin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.site-header .is-menu-open .wp-block-navigation-item__content { display: flex !important; justify-content: space-between; align-items: center; width: 100%; padding: clamp(.7rem, 1.9vh, 1.1rem) 0 !important; color: var(--ivory) !important; background: none !important; border-radius: 0; font-family: var(--display) !important; font-weight: 300; font-size: clamp(2.1rem, 10.4vw, 3.5rem) !important; line-height: 1.05; letter-spacing: -.025em !important; }
.site-header .is-menu-open .wp-block-navigation-item__content::after { content: "→"; font-size: .55em; color: var(--sand); }
.site-header .is-menu-open .wp-block-navigation-item:last-child .wp-block-navigation-item__content { color: var(--ivory) !important; background: none !important; }
.site-header .is-menu-open .wp-block-navigation-item:last-child .wp-block-navigation-item__content::after { color: var(--signal); }
.site-header .is-menu-open a:active { color: var(--signal) !important; }
@media (prefers-reduced-motion: reduce) { .wp-block-navigation__responsive-container.is-menu-open, .is-menu-open .wp-block-navigation-item { animation: none; opacity: 1; } }

/* Full-width blocks sit on the page edges, gutters inside. */
.wp-block-post-content > .alignfull:not(:first-child), .journal-home.alignfull { margin-inline: 0 !important; width: auto; max-width: none; }
.wp-block-post-content > .has-navy-background-color.alignfull:not(:first-child), .wp-block-post-content > .has-petrol-background-color.alignfull:not(:first-child), .wp-block-post-content > .has-stone-background-color.alignfull { margin-inline: clamp(.6rem, 1.4vw, 1.25rem) !important; }
.cards > li, .cards-lead > li:first-child { align-items: flex-start; text-align: left; }
.cards .wp-block-post-title, .cards .wp-block-post-date, .cards .wp-block-post-excerpt { text-align: left; align-self: flex-start; }

/* The menu fills the screen: each title takes an equal share of it. */
.is-menu-open .wp-block-navigation__responsive-container-content, .is-menu-open .wp-block-navigation__container { flex: 1; }
.is-menu-open .wp-block-navigation__responsive-container-content { min-height: 100dvh; box-sizing: border-box; }
.is-menu-open .wp-block-navigation-item { flex: 1; display: flex !important; }
.site-header .is-menu-open .wp-block-navigation-item__content { font-size: clamp(2.3rem, 11.6vw, 4rem) !important; }
@media (max-width: 900px) { .foot-col:last-child { grid-column: 1 / -1; } }

/* Inner pages 4.1: they share the home's hero and tiles, each with its own picture, word and numbers. */
.wp-block-post-content > .pg { max-width: none !important; margin: 0 !important; width: 100%; }
.pg .hero { margin: 0 !important; }
.ph-s { height: 78vh; height: 78svh; min-height: 520px; }
.ph-780 .hero-img { object-position: 50% 50%; }
.ph .hero-word { font-size: 25vw; }
.sec { padding-inline: var(--gutter); margin-block: clamp(4rem, 12vh, 9rem); max-width: 1680px; margin-inline: auto; }
.sec-lede { max-width: 40rem; margin: calc(clamp(1.75rem, 4vh, 3rem) * -.5) 0 clamp(2rem, 5vh, 3.5rem); font-size: clamp(1.125rem, 1.5vw, 1.5rem); line-height: 1.35; color: var(--ink-2); text-wrap: pretty; }
.state-solo { padding-bottom: 0; }
.state-solo .state-big { max-width: 26ch; }
.ic { display: block; width: clamp(2.5rem, 3.4vw, 3.25rem); height: clamp(2.5rem, 3.4vw, 3.25rem); flex: none; }

/* Numbers */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); }
.nm strong { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(3.75rem, 8.4vw, 9.5rem); line-height: .92; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nm small { font-size: .32em; letter-spacing: -.01em; margin-left: .12em; }
.nm p { margin: .85rem 0 0; font-size: clamp(1rem, 1.15vw, 1.1875rem); line-height: 1.32; max-width: 22ch; color: var(--ink-2); }

/* Mosaic */
.mos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.mos .tile { min-height: clamp(19rem, 34vw, 31rem); justify-content: flex-end; }
.c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c7 { grid-column: span 7; }
.mos .tile.pil { justify-content: space-between; gap: 2.5rem; min-height: clamp(17rem, 24vw, 23rem); }
.tile.pil .ic { color: var(--signal); }
.tile.pr > img { position: absolute; left: 50%; top: 44%; width: min(70%, 25rem); height: auto; max-height: 68%; object-fit: contain; translate: -50% -50%; }
.tile.tile-signal { justify-content: space-between !important; }
.tile.tile-navy p { color: inherit; opacity: .84; }

/* Story */
.tl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.tl-stage { position: sticky; top: 7.5rem; aspect-ratio: 4 / 5; max-height: calc(100vh - 9rem); width: 100%; overflow: hidden; border-radius: var(--r-l); background: var(--navy); }
.tl-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity .9s var(--ease), scale 1.6s var(--ease); }
.tl-stage img.on { opacity: 1; scale: 1; }
.tl-steps { list-style: none; margin: 0; padding: 0; }
.tl-step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
.tl-step h3 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 5rem); line-height: 1; }
.tl-step p { margin: 0; max-width: 34rem; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.45; }
.tl-step .tl-when { color: var(--signal); font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.75rem); }
.tl-pic { display: none; }

.rosa, .portal { padding-inline: clamp(.6rem, 1.4vw, 1.25rem); }
.rosa-frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; min-height: 86vh; min-height: 86svh; padding: clamp(2rem, 6vw, 7rem); border-radius: var(--r-l); background: var(--navy); color: var(--ivory); }
.rosa-logo { display: block; width: min(100%, 30rem); height: auto; margin-inline: auto; }
.rosa h2 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 6vw, 6.5rem); line-height: 1; }
.rosa p { margin: 0; max-width: 34rem; font-size: clamp(1.125rem, 1.5vw, 1.5rem); line-height: 1.35; }

.nots { list-style: none; margin: 0; padding: 0; }
.nots li { padding-block: clamp(.6rem, 1.4vh, 1.1rem); border-top: 1px solid rgba(13,36,55,.18); font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 6.2vw, 6.75rem); line-height: 1.04; letter-spacing: -.03em; text-decoration: line-through transparent; text-decoration-thickness: .055em; transition: text-decoration-color .9s var(--ease), color .9s var(--ease); }
.nots li.in { text-decoration-color: var(--signal); color: rgba(13,36,55,.55); }
.nots li:last-child { border-bottom: 1px solid rgba(13,36,55,.18); }

.rc { position: relative; color: var(--ivory); background: var(--navy); }
.rc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,40,0) 34%, rgba(8,26,40,.78) 100%); pointer-events: none; }
.rc figcaption { position: absolute; z-index: 1; left: clamp(1.1rem, 2vw, 2rem); right: clamp(1.1rem, 2vw, 2rem); bottom: clamp(1.1rem, 2vw, 2rem); display: grid; gap: .4rem; }
.rc h3 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 3rem); line-height: 1.04; }
.rc p { margin: 0; max-width: 34rem; line-height: 1.38; font-size: clamp(1rem, 1.15vw, 1.1875rem); }
.rc-n { font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.75rem); color: var(--ivory); }

/* Model */
.feat { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(.5rem, 1vw, .9rem); min-height: 88vh; min-height: 88svh; border-radius: var(--r-l); background: var(--deep); color: var(--ivory); display: flex; align-items: flex-end; padding: clamp(1.25rem, 3vw, 3rem); }
.feat .fill { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.feat::after { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(8,26,40,.32); }
.feat-obj { position: absolute; z-index: -1; left: 50%; top: 42%; translate: -50% -50%; width: min(58%, 60rem); height: auto; }
.feat-txt { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; }
.feat-txt h3 { margin: 0; font-size: clamp(2.4rem, 6vw, 6.5rem); line-height: 1; }
.feat-txt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; font-size: clamp(1rem, 1.25vw, 1.25rem); }
.cfgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.cfg { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.1rem, 2vw, 1.9rem); min-height: 25rem; border-radius: var(--r-l); background: var(--stone); }
.cfg .ic { color: var(--signal); margin-bottom: auto; }
.cfg h3 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.5rem); line-height: 1.05; }
.cfg p { margin: 0; min-height: 5.6em; line-height: 1.4; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(13,36,55,.1); }
.seg button { min-height: 44px; padding: 0 .5rem; border: 0; border-radius: 999px; background: none; color: var(--navy); font: inherit; cursor: pointer; transition: background-color .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--ivory); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.duo .sec-t { margin-bottom: 1.5rem; font-size: clamp(2.6rem, 5.6vw, 6rem); }
.duo .sec-lede { margin-top: 0; }
.spec { margin: 0; }
.spec > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 2rem; padding-block: 1.05rem; border-top: 1px solid rgba(13,36,55,.18); }
.spec > div:last-child { border-bottom: 1px solid rgba(13,36,55,.18); }
.spec dt { font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); }
.spec dd { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 2.125rem); letter-spacing: -.02em; }
.spec .wait dd { color: var(--ink-2); font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); letter-spacing: 0; }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.road li { position: relative; padding-top: 2.5rem; }
.road li::before { content: ""; position: absolute; left: 0; right: calc(clamp(1rem, 2vw, 2rem) * -1); top: .55rem; height: 1px; background: rgba(13,36,55,.28); }
.road li:last-child::before { right: 0; }
.road li::after { content: ""; position: absolute; left: 0; top: 0; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--navy); }
.road li.now::after { background: var(--signal); box-shadow: 0 0 0 5px rgba(255,90,31,.2); }
.road h3 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 2vw, 2.125rem); line-height: 1.06; }
.road p { margin: 0; line-height: 1.4; }
.faq details { border-top: 1px solid rgba(13,36,55,.18); }
.faq details:last-child { border-bottom: 1px solid rgba(13,36,55,.18); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 3rem; padding-block: 1.1rem; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 2rem); line-height: 1.12; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4em; font-weight: 300; line-height: 1; transition: rotate .4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 1.4rem; max-width: 42rem; font-size: clamp(1.0625rem, 1.2vw, 1.25rem); line-height: 1.45; }

/* Models */
.model { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; min-height: 88vh; min-height: 88svh; padding: clamp(1.25rem, 3vw, 3rem); border-radius: var(--r-l); background: var(--navy); color: var(--ivory); text-decoration: none; }
.model .fill { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.model:hover .fill { scale: 1.04; }
.model::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,40,.1), rgba(8,26,40,.6)); }
.model-num { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -58%; text-align: center; font-family: var(--display); font-size: 38vw; line-height: .8; letter-spacing: -.05em; color: rgba(248,246,241,.92); }
.model-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); }
.model-foot > span:first-child { display: grid; gap: .2rem; }
.model-foot strong { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 4.25rem); line-height: 1; letter-spacing: -.03em; }

/* Dealers */
.portal-frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; min-height: 90vh; min-height: 90svh; padding: clamp(1.5rem, 5vw, 6rem); border-radius: var(--r-l); background: var(--navy); color: var(--ivory); }
.portal h2 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 5.4vw, 6rem); line-height: 1; }
.portal-txt > p { margin: 0 0 2rem; max-width: 34rem; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.42; }
.portal-mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
.portal-mods li { display: flex; align-items: center; gap: .8rem; line-height: 1.2; }
.portal-mods .ic { width: 1.75rem; height: 1.75rem; color: var(--signal); }
.pipe { margin: 0; padding: clamp(.75rem, 1.4vw, 1.25rem); border-radius: var(--r-m); background: var(--paper); color: var(--navy); }
.pipe figcaption { margin-bottom: .75rem; font-size: .9375rem; color: var(--ink-2); }
.pipe-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.pipe-cols > div { display: grid; align-content: start; gap: .5rem; min-height: 19rem; padding: .7rem; border-radius: var(--r-s); background: var(--stone); }
.pipe h3 { margin: 0 0 .25rem; font-family: var(--body); font-size: .9375rem; font-weight: 600; letter-spacing: 0; }
.pipe .card { display: grid; gap: .2rem; margin: 0; padding: .7rem; border-radius: var(--r-s); background: #fff; font-size: .875rem; line-height: 1.25; }
.pipe .card b { font-weight: 600; }
.pipe .card.on { background: var(--signal); color: #fff; }
.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.steps li { counter-increment: st; display: grid; align-content: start; gap: .6rem; }
.steps li::before { content: counter(st); font-family: var(--display); font-weight: 300; font-size: clamp(4.5rem, 9vw, 10rem); line-height: .9; letter-spacing: -.04em; color: var(--signal); }
.steps h3 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2.375rem); line-height: 1.05; }
.steps p { margin: 0; line-height: 1.4; }
.seas { list-style: none; margin: 0; padding: 0; }
.seas a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: clamp(.5rem, 1.2vh, .95rem); border-top: 1px solid rgba(13,36,55,.18); color: var(--navy); text-decoration: none; font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 6.2vw, 6.75rem); line-height: 1.04; letter-spacing: -.03em; transition: color .3s, padding-left .5s var(--ease); }
.seas li:last-child a { border-bottom: 1px solid rgba(13,36,55,.18); }
.seas a:hover { color: var(--signal); padding-left: .25em; }
.seas i { font-style: normal; font-size: .6em; flex: none; }

/* Forms and routes */
.formbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 5rem); padding: clamp(1.25rem, 4vw, 4.5rem); border-radius: var(--r-l); background: var(--stone); scroll-margin-top: 6rem; }
.formbox h2 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 5.2vw, 5.75rem); line-height: 1; }
.formbox-side > p { margin: 0; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.42; }
.formbox-side img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 2rem; border-radius: var(--r-m); }
#candidatura, #scrivi, #storia { scroll-margin-top: 6rem; }
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.routes .tile { min-height: clamp(14rem, 20vw, 19rem); justify-content: space-between; gap: 2rem; color: var(--navy); text-decoration: none; transition: background-color .3s, color .3s; }
.routes .tile:hover { background: var(--navy); color: var(--ivory); }
.routes .ic { color: var(--signal); }
.routes strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; }
.routes .tile-txt > span { line-height: 1.35; }
.routes i { position: absolute; top: clamp(1.1rem, 2vw, 1.9rem); right: clamp(1.1rem, 2vw, 1.9rem); font-style: normal; font-size: 1.5rem; transition: translate .5s var(--ease); }
.routes .tile:hover i { translate: 6px 0; }
.after { list-style: none; counter-reset: af; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.1rem; }
.after li { counter-increment: af; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: .5rem; }
.after li::before { content: counter(af); grid-row: span 2; font-family: var(--display); font-size: 1.75rem; line-height: 1.05; color: var(--signal); }
.after h3 { margin: 0; font-size: clamp(1.25rem, 1.6vw, 1.625rem); line-height: 1.12; }
.after p { margin: .2rem 0 0; line-height: 1.38; }
.reach { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.reach li { display: flex; align-items: center; gap: .8rem; overflow-wrap: anywhere; }
.reach .ic { width: 1.5rem; height: 1.5rem; color: var(--signal); }
.reach a { color: inherit; }
.reach-note { margin-top: 1.5rem !important; font-size: 1rem !important; color: var(--ink-2); }

/* Legal pages */
.slug-privacy main, .slug-cookie main { max-width: 56rem; margin-inline: auto; padding: clamp(7rem, 16vh, 11rem) var(--gutter) clamp(3rem, 8vh, 6rem) !important; }
.slug-privacy .wp-block-post-title, .slug-cookie .wp-block-post-title { font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 1; margin: 0 0 clamp(2rem, 6vh, 4rem); max-width: none; }
.slug-privacy .wp-block-post-content, .slug-cookie .wp-block-post-content { font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.6; }
.slug-privacy .wp-block-post-content h2, .slug-cookie .wp-block-post-content h2 { margin-top: 2.5em; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.1; }
/* Booking page (/prenota/, both languages): the title is a label above the calendar, not a hero. It sits
   clear of the fixed header, smaller, and on one line from tablet width up (it wraps on a phone). */
.slug-prenota main { padding-top: clamp(7.5rem, 17vh, 10rem) !important; }
.slug-prenota .wp-block-post-title { font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.1; margin-block: 0 clamp(.75rem, 2vh, 1.25rem); text-wrap: nowrap; }
@media (max-width: 600px) { .slug-prenota .wp-block-post-title { text-wrap: balance; } }
.legal-draft { padding: 1rem 1.25rem; border-radius: var(--r-m); background: var(--stone); }

@media (max-width: 900px) {
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .c4, .c5, .c7 { grid-column: span 12; }
  .mos .tile { min-height: 25rem; }
  .mos .tile.pil { min-height: 15rem; }
  .tl { display: block; }
  .tl-stage { display: none; }
  .tl-step { min-height: 0; margin-bottom: clamp(3rem, 8vh, 4.5rem); }
  .tl-pic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .75rem; border-radius: var(--r-l); }
  .rosa-frame, .portal-frame, .duo, .formbox { grid-template-columns: minmax(0, 1fr); }
  .rosa-frame { min-height: 0; }
  .rosa-logo { width: min(70%, 16rem); }
  .cfgs, .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .road li { padding: 0 0 2rem 2.25rem; }
  .road li::before { left: .55rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .road li:last-child::before { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
}
@media (max-width: 760px) {
  .ph .hero-word { font-size: 30vw; }
  .cfgs, .routes, .steps { grid-template-columns: minmax(0, 1fr); }
  .cfg { min-height: 0; }
  .cfg .ic { margin-bottom: 1rem; }
  .routes .tile { min-height: 11rem; }
  .pipe-cols { grid-template-columns: minmax(0, 1fr); }
  .pipe-cols > div { min-height: 0; }
  .portal-mods { grid-template-columns: minmax(0, 1fr); }
  .feat { min-height: 78svh; }
  .feat-obj { width: 96%; top: 36%; }
  .model { min-height: 70svh; }
  .model-num { font-size: 52vw; }
  .formbox { padding: 1.1rem; }
  .steps li::before { font-size: 4.5rem; }
}

/* Model page, built like a product catalogue: headline over a wide picture, blue numbers, the boat with its points. */
.mh { padding: clamp(6rem, 12vh, 7.5rem) clamp(.6rem, 1.4vw, 1.25rem) 0; text-align: center; }
.mh-t { margin: 0; font-size: clamp(3.4rem, 8.6vw, 10rem); line-height: .92; letter-spacing: -.045em; }
.mh-l { max-width: 40rem; margin: clamp(.9rem, 2.2vh, 1.5rem) auto clamp(1.5rem, 4vh, 3rem); padding-inline: var(--gutter); font-size: clamp(1.0625rem, 1.4vw, 1.375rem); line-height: 1.36; text-wrap: balance; }
.mh-frame { position: relative; overflow: hidden; height: calc(100vh - clamp(19rem, 34vh, 24rem)); height: calc(100svh - clamp(19rem, 34vh, 24rem)); min-height: 30rem; border-radius: var(--r-l); background: var(--navy); text-align: left; }
.mh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-pills { position: absolute; left: clamp(.75rem, 1.6vw, 1.5rem); top: clamp(.75rem, 1.6vw, 1.5rem); display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.mh-pills li { padding: .5rem .95rem; border-radius: 999px; background: var(--ivory); color: var(--navy); font-size: .9375rem; line-height: 1.2; }
.mh-cards { position: absolute; left: clamp(.75rem, 1.6vw, 1.5rem); right: clamp(.75rem, 1.6vw, 1.5rem); bottom: clamp(.75rem, 1.6vw, 1.5rem); display: flex; justify-content: space-between; align-items: flex-end; gap: .75rem; }
.mh-card { width: min(23rem, 40%); padding: 1rem 1.2rem; border-radius: var(--r-m); background: var(--ivory); color: var(--navy); box-sizing: border-box; }
.mh-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.mh-card dt { font-size: .9375rem; color: var(--ink-2); }
.mh-card dd { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
.mh-card p { margin: .5rem 0 0; font-size: .875rem; color: var(--ink-2); }
.mh-go { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none; font-size: .9375rem; line-height: 1.3; transition: background-color .3s, color .3s; }
.mh-go span { display: grid; gap: .15rem; }
.mh-go strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.875rem); letter-spacing: -.02em; line-height: 1.1; }
.mh-go i, .act-go i { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--ivory); font-style: normal; transition: rotate .4s var(--ease); }
.mh-go:hover { background: var(--signal); color: #fff; }
.mh-go:hover i { rotate: -45deg; }
.act-go { gap: 1rem; padding-right: .4rem !important; padding-block: .4rem !important; }
.act-go i { width: 2.5rem; height: 2.5rem; }
.act-dark.act-go i { background: var(--ivory); color: var(--navy); }
.band-w { padding: clamp(.5rem, 1vw, .9rem) clamp(.6rem, 1.4vw, 1.25rem) 0; }
.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: clamp(1.5rem, 3.4vw, 3.5rem) 0; border-radius: var(--r-l); background: var(--navy); color: var(--ivory); }
.band .nm { padding-inline: clamp(1rem, 3vw, 3.25rem); text-align: center; border-left: 1px solid rgba(248,246,241,.24); }
.band .nm:first-child { border-left: 0; }
.band .nm strong { font-size: clamp(2.75rem, 6vw, 6.5rem); }
.band .nm p { margin: .6rem auto 0; color: inherit; opacity: .84; }
.anno { padding: clamp(1.25rem, 4vw, 4.5rem); border-radius: var(--r-l); background: var(--stone); }
.anno-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 6vw, 7rem); align-items: end; }
.anno-head .sec-t { margin: 0; font-size: clamp(2.6rem, 6vw, 6.5rem); }
.anno-head p { margin: 0; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.42; }
.anno-boat { position: relative; margin: clamp(1.5rem, 5vh, 3.5rem) auto; max-width: 74rem; }
.anno-boat img { display: block; width: 100%; height: auto; }
.anno-pin { position: absolute; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; padding: 0; border: 0; border-radius: 50%; background: var(--ivory); color: var(--navy); font: 400 1.0625rem var(--body); box-shadow: 0 0 0 5px rgba(248,246,241,.4), 0 6px 18px rgba(13,36,55,.25); cursor: pointer; transition: background-color .3s, color .3s, scale .4s var(--ease); }
.anno-pin.on, .anno-pin:hover { background: var(--signal); color: #fff; scale: 1.12; }
.anno-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.anno-list li { display: flex; gap: .9rem; padding: clamp(1rem, 1.6vw, 1.5rem); border-radius: var(--r-m); background: var(--paper); cursor: pointer; transition: background-color .3s, color .3s; }
.anno-list li.on { background: var(--navy); color: var(--ivory); }
.anno-n { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--signal); color: #fff; font-size: .9375rem; }
.anno-list h3 { margin: .15rem 0 .35rem; font-size: clamp(1.25rem, 1.7vw, 1.75rem); line-height: 1.08; }
.anno-list p { margin: 0; line-height: 1.38; }
.banner { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 84vh; min-height: 84svh; padding: clamp(1.25rem, 3vw, 3rem); border-radius: var(--r-l); background: var(--navy); color: var(--ivory); }
.banner .fill { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,26,40,0) 40%, rgba(8,26,40,.66) 100%); }
.banner-txt { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 3rem; }
.banner h2 { margin: 0; max-width: 16ch; font-size: clamp(2.4rem, 6.2vw, 6.75rem); line-height: 1; }
.faq { display: grid; gap: .5rem; }
.faq details, .faq details:last-child { border: 0; border-radius: var(--r-m); background: var(--stone); padding-inline: clamp(1rem, 1.8vw, 1.6rem); }
.faq summary::after { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: var(--ivory); font-size: 1.375rem; }
@media (max-width: 900px) {
  .band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .band .nm:nth-child(odd) { border-left: 0; }
  .anno-head { grid-template-columns: minmax(0, 1fr); }
  .anno-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .mh { padding-top: 6rem; }
  .mh-frame { height: auto; min-height: 0; aspect-ratio: 3 / 4; }
  .mh-pills li { font-size: .875rem; padding: .4rem .8rem; }
  .mh-cards { flex-direction: column; align-items: stretch; gap: .4rem; }
  .mh-card { width: 100%; }
  .anno-pin { width: 1.75rem; height: 1.75rem; margin: -.875rem 0 0 -.875rem; font-size: .8125rem; box-shadow: 0 0 0 3px rgba(248,246,241,.4); }
  .anno-boat { margin-inline: -1rem; }
}

/* Articles: index beside the text, reading time, a calmer rhythm, an ending that leads somewhere. */
.article-date { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.article-read::before { content: ""; display: inline-block; width: .45em; height: .45em; margin-right: .9rem; border-radius: 50%; background: var(--signal); vertical-align: .12em; }
.article-body ul, .article-body ol { padding-left: 0; list-style: none; display: grid; gap: .7em; }
.article-body ul > li { position: relative; padding-left: 1.5em; }
.article-body ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--signal); }
.article-body ol { counter-reset: ol; }
.article-body ol > li { counter-increment: ol; position: relative; padding-left: 2.1em; }
.article-body ol > li::before { content: counter(ol); position: absolute; left: 0; top: -.08em; font-family: var(--display); font-size: 1.35em; color: var(--signal); }
.article-body blockquote { margin: 2em 0; padding: clamp(1.25rem, 3vw, 2.5rem); border: 0; border-radius: var(--r-l); background: var(--stone); font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.375rem); line-height: 1.18; letter-spacing: -.015em; }
.article-body blockquote p { margin: 0; }
.article-body h2 { scroll-margin-top: 6.5rem; padding-top: 1.1em; border-top: 1px solid rgba(13,36,55,.18); }
.toc { display: none; }
@media (min-width: 1280px) {
  .toc { position: sticky; top: 7rem; float: left; display: grid; gap: .1rem; width: clamp(11rem, 15vw, 15rem); height: max-content; margin: 0 0 0 calc(clamp(11rem, 15vw, 15rem) * -1 - clamp(2rem, 5vw, 5rem)) !important; font-size: .9375rem; line-height: 1.25; }
  .toc a { display: block; padding: .5rem 0 .5rem .85rem; border-left: 1.5px solid rgba(13,36,55,.16); color: var(--ink-2); text-decoration: none; transition: color .25s, border-color .25s; }
  .toc a:hover, .toc a.on { color: var(--navy); border-left-color: var(--signal); }
}
.article-end { max-width: 72rem; margin: 0 auto clamp(3rem, 9vh, 6rem); padding-inline: var(--gutter); }
.article-end-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "pic txt" "pic go"; align-items: center; gap: .75rem clamp(1.5rem, 4vw, 4rem); padding: clamp(1.25rem, 3vw, 3rem); border-radius: var(--r-l); background: var(--stone); color: var(--navy); text-decoration: none; }
.article-end-card img { grid-area: pic; width: 100%; height: auto; display: block; }
.article-end-txt { grid-area: txt; display: grid; gap: .5rem; align-self: end; font-size: clamp(1.0625rem, 1.2vw, 1.25rem); line-height: 1.4; }
.article-end-txt strong { font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; }
.article-end .act { grid-area: go; justify-self: start; align-self: start; margin-top: .5rem; }
@media (max-width: 760px) { .article-end-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "txt" "go"; } }

/* The full-screen menu belongs to phones: from 600px the links stay in the bar. */
@media (min-width: 600px) {
  .site-header .wp-block-navigation__responsive-container-open { display: none !important; }
  .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none !important; }
}
.feat::before { content: ""; position: absolute; inset: 42% 0 0; z-index: 0; background: linear-gradient(180deg, rgba(8,26,40,0), rgba(8,26,40,.74)); pointer-events: none; }
.feat-txt { position: relative; z-index: 1; }
.ph h1 { max-width: 19ch; }
.mos .tile.pr { gap: 1rem; }
.tile.pr > img { position: static; translate: none; flex: 1 1 0; min-height: 0; width: 100%; max-width: 24rem; max-height: none; margin-inline: auto; }
.mos .tile.pr { height: clamp(26rem, 36vw, 33rem); min-height: 0; }
.portal-frame { min-height: 74vh; min-height: 74svh; }
.article-body > ul:last-child { font-size: .8125em; line-height: 1.45; color: var(--ink-2); gap: .4em; }
.article-body > ul:last-child a { color: inherit; overflow-wrap: anywhere; }
.article-body > h3:nth-last-child(2) { margin-top: 3em; font-size: 1.0625em !important; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.article-body { counter-reset: part; }
.article-body > h2 { counter-increment: part; }
.article-body > h2::before { content: counter(part); display: block; margin-bottom: .3em; font-size: .62em; line-height: 1; color: var(--signal); }
.ph .hero-frame::after { background: linear-gradient(180deg, rgba(8,26,40,.1) 0%, rgba(8,26,40,0) 30%, rgba(8,26,40,.72) 100%); }
#scrivi, #candidatura, #storia, .article-body h2 { scroll-margin-top: 6.5rem; }

/* Fixes from the phone review: giant words fit, pictures keep the margins, the footer closes on the logo. */
.ph .hero-word.w5 { font-size: 24.5vw; }
.ph .hero-word.w7 { font-size: 18.6vw; }
.foot .foot-logo { display: block; width: min(62vw, 26rem); height: auto; margin: clamp(2.5rem, 7vh, 5rem) auto clamp(2.5rem, 7vh, 5rem); }
.cf .cf-check > input { flex: none; margin-top: .22em; }
.cf .cf-check > span { flex: 1 1 0; min-width: 0; line-height: 1.42; }
@media (max-width: 760px) {
  .state-pics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: .75rem; align-items: end; }
  .state-pics figure, .state-pics figure:last-child { width: auto; max-width: none; margin-top: 0; }
}

/* Journal */
main.journal { padding: 0 0 clamp(3rem, 8vh, 6rem) !important; max-width: none; }
.journal .hero h1 { margin: 0; font-size: clamp(2.4rem, 5.2vw, 5.25rem); max-width: 19ch; }
.journal .wp-block-query { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.jf { display: grid; gap: .6rem; max-width: 1680px; margin: clamp(1.5rem, 4vh, 3rem) auto clamp(1.25rem, 3vh, 2rem); padding-inline: var(--gutter); scroll-margin-top: 6rem; }
.jf-row { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.jf-pill { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .4rem .55rem .4rem 1.1rem; border-radius: 999px; background: var(--stone); color: var(--navy); text-decoration: none; font-size: 1.0625rem; line-height: 1.1; transition: background-color .3s, color .3s; }
.jf-pill span { display: grid; place-items: center; min-width: 1.75rem; height: 1.75rem; padding-inline: .3rem; border-radius: 999px; background: var(--paper); font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--navy); box-sizing: border-box; }
.jf-pill:hover { background: var(--navy); color: var(--ivory); }
.jf-pill.on { background: var(--navy); color: var(--ivory); }
.jf-pill.on span { background: var(--signal); color: #fff; }
.jf-sub .jf-pill { min-height: 2.5rem; background: none; box-shadow: inset 0 0 0 1px rgba(13,36,55,.28); font-size: 1rem; }
.jf-sub .jf-pill:hover, .jf-sub .jf-pill.on { background: var(--signal); color: #fff; box-shadow: none; }
.jf-sub .jf-pill.on span { background: #fff; color: var(--navy); }
.card-cat { position: relative; z-index: 3; margin: 0 0 .15rem !important; font-size: .9375rem; }
.card-cat a { display: inline-block; padding: .3rem .75rem; border-radius: 999px; background: var(--ivory); color: var(--navy) !important; text-decoration: none; }
.card-cat a:hover { background: var(--signal); color: #fff !important; }
.card-cat .wp-block-post-terms__separator { display: none; }
.cards .card-cat { align-self: flex-start; }
.hero-logo { position: absolute; z-index: 2; left: 50%; top: clamp(5.5rem, 13vh, 8.5rem); width: auto; height: clamp(9rem, 34vh, 22rem); max-width: 70vw; margin-left: calc(clamp(9rem, 34vh, 22rem) * -.6); object-fit: contain; }
@media (max-width: 760px) { .hero-logo { left: 0; right: 0; width: 100%; max-width: none; margin: 0; height: clamp(9rem, 26svh, 14rem); } }
.journal .wp-block-query, .jf { box-sizing: border-box; width: 100%; }

/* Company news and the road to the reveal. */
.road li.done::after { background: var(--navy); box-shadow: none; }
.newsbar { position: fixed; z-index: 60; left: 50%; bottom: 1rem; translate: -50% 0; display: inline-flex; align-items: center; gap: .6rem; max-width: calc(100vw - 2rem); box-sizing: border-box; padding: .6rem 1.1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(13,36,55,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ivory); text-decoration: none; font-size: .9375rem; line-height: 1.25; }
.newsbar i { flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--signal); }

/* Article cards: the picture stays, the words sit in a frosted box inside the margins. */
.cards > li { padding: clamp(.55rem, .9vw, .8rem); border: 1px solid rgba(13,36,55,.14); border-radius: var(--r-l); box-sizing: border-box; }
.cards > li::after { display: none; }
.card-box { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; width: 100%; box-sizing: border-box; padding: clamp(.85rem, 1.3vw, 1.25rem); border: 1px solid rgba(255,255,255,.55); border-radius: var(--r-m); background: rgba(248,246,241,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--navy); }
.cards .card-box .wp-block-post-title { flex: 1 0 100%; order: 3; color: var(--navy) !important; font-size: clamp(1.25rem, 1.7vw, 1.75rem); line-height: 1.12; }
.cards .card-box .wp-block-post-title a { color: inherit; }
.cards .card-box .wp-block-post-title a::before { z-index: 1; }
.cards .card-box .wp-block-post-date { order: 2; color: #bf3f0c; opacity: 1; font-size: .875rem; }
.cards .card-box .card-cat { order: 1; margin: 0 !important; font-size: .8125rem; align-self: auto; }
.cards .card-box .card-cat a { padding: .22rem .65rem; border: 1px solid rgba(13,36,55,.3); background: none; }
.cards .card-box .card-cat a:hover { border-color: var(--signal); }
.cards .card-box .wp-block-post-excerpt { flex: 1 0 100%; order: 4; display: block !important; color: var(--ink-2); opacity: 1; font-size: .9375rem; line-height: 1.38; max-width: none; }
.cards-feature .card-box .wp-block-post-excerpt { display: none !important; }
.cards-lead > li:first-child .card-box { max-width: 46rem; }
.cards-lead > li:first-child .card-box .wp-block-post-title { font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 300; line-height: 1.04; }
.article-head .card-cat a { background: rgba(248,246,241,.16); border: 1px solid rgba(255,255,255,.5); color: var(--ivory) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Buttons across the site: thin, see-through, solid only under the pointer. */
.act, .wp-block-button__link { min-height: 2.6rem !important; padding: .5rem 1.25rem !important; border-radius: 999px !important; font-weight: 400 !important; font-size: 1rem !important; line-height: 1.2 !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .3s, color .3s, border-color .3s; }
.act-light { background: rgba(248,246,241,.14) !important; border: 1px solid rgba(248,246,241,.6) !important; color: var(--ivory) !important; }
.act-light:hover { background: var(--ivory) !important; color: var(--navy) !important; }
.act-dark, .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: rgba(13,36,55,.05) !important; border: 1px solid rgba(13,36,55,.42) !important; color: var(--navy) !important; }
.act-dark:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--navy) !important; color: var(--ivory) !important; }
.cf-submit { min-height: 2.75rem !important; padding: .5rem 1.5rem !important; font-weight: 400 !important; font-size: 1rem !important; }
.act-go { padding: .28rem .32rem .28rem 1.1rem !important; gap: .75rem; }
.act-go i { width: 2rem; height: 2rem; font-size: .875rem; background: rgba(248,246,241,.9); color: var(--navy); }
.act-dark.act-go i { background: var(--navy); color: var(--ivory); }
.cta-routes a { min-height: 3.25rem; padding: .7rem 1.25rem; border: 1px solid rgba(248,246,241,.55); background: rgba(248,246,241,.14); color: var(--ivory); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-weight: 400; }
.cta-routes a:hover { background: var(--ivory); color: var(--navy); }
.jf-pill { min-height: 2.4rem; padding: .3rem .4rem .3rem 1rem; background: rgba(13,36,55,.04); box-shadow: inset 0 0 0 1px rgba(13,36,55,.26); font-size: 1rem; }
.jf-pill span { min-width: 1.5rem; height: 1.5rem; background: rgba(13,36,55,.08); }
.jf-pill:hover, .jf-pill.on { box-shadow: none; }
.site-header .wp-block-button__link, .site-header .nav-cta a { font-weight: 400; }
.hero-card .arrow, .mh-go i { width: 2.25rem; height: 2.25rem; }
.spot-x { width: 2.25rem; height: 2.25rem; }
.cards-feature > li:first-child .card-box .wp-block-post-title { font-size: clamp(1.5rem, 2.3vw, 2.25rem) !important; line-height: 1.08; max-width: none; }
.foot-credit { max-width: 1560px; margin: 1rem auto 0 !important; font-size: .8125rem; opacity: .7; }
.foot-credit a { color: inherit; }
.hero:not(.ph) .hero-img { object-position: 50% 42%; }
.hero:not(.ph) .hero-frame::after { background: linear-gradient(180deg, rgba(8,26,40,.16) 0%, rgba(8,26,40,0) 36%, rgba(8,26,40,.62) 100%); }

/* Accent: light-blue glass with dark words, in place of orange. Accent text is a sea blue. */
:root { --signal: #1f7fb3; --glass-bg: linear-gradient(145deg, rgba(218,240,253,.9) 0%, rgba(172,219,246,.7) 55%, rgba(200,232,251,.84) 100%); --glass-line: rgba(255,255,255,.78); --glass-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1px 2px rgba(50,120,170,.2), 0 8px 24px rgba(13,36,55,.14); }
.tile-signal, .tile.tile-signal, .arrow, .pipe .card.on, .anno-n, .anno-pin.on, .anno-pin:hover, .jf-pill.on span, .jf-sub .jf-pill:hover, .jf-sub .jf-pill.on, .card-cat a:hover, .mh-go:hover, .act-go i, .mh-go i, .mh-go:hover i { background: var(--glass-bg) !important; border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); color: var(--navy) !important; }
.tile-signal p, .tile-signal .tile-huge { color: var(--navy) !important; }
.anno-pin:not(.on):not(:hover) { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.spot:hover i, .spot.on i { background: #bfe4fa; }
.road li.now::after { background: #bfe4fa; box-shadow: 0 0 0 1px var(--signal), 0 0 0 6px rgba(31,127,179,.16); }
.cards .card-box .wp-block-post-date { color: var(--signal); }
.act-light:hover, .cta-routes a:hover, .act-dark:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--glass-bg) !important; border-color: var(--glass-line) !important; color: var(--navy) !important; box-shadow: var(--glass-shadow); }
.cf-submit:hover { background: var(--glass-bg) !important; color: var(--navy) !important; box-shadow: var(--glass-shadow); }
footer a:hover, .foot-col a:hover, .foot-legal a:hover { color: #a9dcf8; }
.covelli-consent-open { color: inherit !important; }
.newsbar i, .read-bar { background: #8fd0f4; }
.routes .tile:hover { background: var(--glass-bg); color: var(--navy); border-color: var(--glass-line); box-shadow: var(--glass-shadow); }
.routes .tile:hover .ic { color: var(--navy); }
.cards .card-box .wp-block-post-date, .tl-step .tl-when { color: var(--signal); }

/* Partners and engines (2026-11-02): two rows that scroll on their own; names in type until official logos arrive. */
.brands { padding: clamp(3.5rem, 9vh, 6.5rem) 0 clamp(4rem, 10vh, 7rem); overflow: hidden; }
.brands-t { margin: 0 auto clamp(2rem, 5vh, 3.5rem); padding-inline: var(--gutter); max-width: 1560px; font-size: clamp(2.2rem, 5.4vw, 5.5rem); line-height: 1; }
.brands-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; padding-block: clamp(1rem, 2.4vh, 1.6rem); border-top: 1px solid rgba(13,36,55,.16); }
.brands-row:last-of-type { border-bottom: 1px solid rgba(13,36,55,.16); }
.brands-label { margin: 0 auto; padding-inline: var(--gutter); width: 100%; max-width: 1560px; box-sizing: border-box; font-size: .9375rem; color: var(--ink-2); }
.brands-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brands-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track > div { display: flex; align-items: center; width: max-content; animation: brands var(--bd, 26s) linear infinite; will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
.brands-engine .brands-track > div { animation-duration: var(--bd, 18s); animation-direction: reverse; }
.brands-track i { flex: none; display: flex; align-items: center; height: clamp(2.6rem, 5vw, 4rem); padding-inline: clamp(1.6rem, 3.6vw, 3.4rem); font-style: normal; }
.brands-track span { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.02em; color: #000; white-space: nowrap; opacity: .74; }
.brands-engine .brands-track span { text-transform: uppercase; letter-spacing: .06em; font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2.25rem); }
.brands-track img { height: 72%; width: auto; max-width: 15rem; object-fit: contain; filter: brightness(0); opacity: .74; }
.brands-track img.b-honda { height: 100%; transform: scale(1.7); margin-inline: 1.5rem; }
.brands-track img.b-suzuki, .brands-track img.b-yamaha { height: 84%; }
.brands-track img.b-savoretti { height: 100%; max-width: none; transform: scale(1.12); margin-inline: 1rem; }

@media (hover: hover) and (pointer: fine) { .brands-track:hover > div { animation-play-state: paused; } }
.brands-note { margin: clamp(1.5rem, 4vh, 2.5rem) auto 0; padding-inline: var(--gutter); max-width: 1560px; box-sizing: border-box; font-size: clamp(1rem, 1.2vw, 1.1875rem); line-height: 1.4; color: var(--ink-2); }
@keyframes brands { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Wake tile is horizontal now. */
.t-wave img.fill { object-position: 62% 50%; }
@media (max-width: 760px) { .t-wave { min-height: 76vw; } }

/* Model page: full technical sheet and standard equipment. */
.spec-note { margin: .9rem 0 0; font-size: .875rem; color: var(--ink-2); }
.spec dd { text-align: right; }
.spec dd small { display: block; font-family: var(--body); font-size: .8125rem; letter-spacing: 0; color: var(--ink-2); text-align: right; }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.kit-g { padding: clamp(1.1rem, 2vw, 1.9rem); border-radius: var(--r-l); background: var(--stone); display: grid; align-content: start; gap: 1rem; }
.kit-g:nth-child(3n+2) { background: #fff; }
.kit-g .ic { color: var(--signal); width: 2rem; height: 2rem; }
.kit-g h3 { margin: 0; font-size: clamp(1.45rem, 2.1vw, 2.15rem); line-height: 1.05; }
.kit-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.kit-g li { position: relative; padding-left: 1.1rem; line-height: 1.38; }
.kit-g li::before { content: ""; position: absolute; left: 0; top: .6em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--signal); }
.kit-foot { margin: clamp(1.25rem, 3vh, 2rem) 0 0; max-width: 46rem; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.4; }
.trims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .9rem); }
.trim { position: relative; overflow: hidden; min-height: clamp(16rem, 26vw, 22rem); padding: clamp(1.25rem, 2.4vw, 2.25rem); border-radius: var(--r-l); background: var(--navy); color: var(--ivory); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.trim:nth-child(2) { background: var(--deep); }
.trim::after { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(143,208,244,.28), transparent); pointer-events: none; }
.trim-n { font-family: var(--display); font-weight: 300; font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.04em; filter: blur(9px); opacity: .7; user-select: none; }
.trim p { margin: 0; max-width: 30ch; line-height: 1.4; position: relative; z-index: 1; }
.trim strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 2rem); margin-bottom: .35rem; }
@media (max-width: 900px) { .kit { grid-template-columns: minmax(0, 1fr); } .trims { grid-template-columns: minmax(0, 1fr); } }

/* Language switch, after the menu: IT · EN */
.lang-switch { display: flex; align-items: center; gap: .15rem; margin-left: 1rem; font-size: .8125rem; letter-spacing: .08em; font-weight: 500; }
.lang-switch > * { padding: .35rem .45rem; border-radius: 999px; line-height: 1; color: inherit; text-decoration: none; }
.lang-switch > span { background: var(--navy); color: var(--ivory); }
.lang-switch a { opacity: .7; }
.lang-switch a:hover, .lang-switch a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }

/* Articles with the index on the left (wide screens): pictures keep the text's left edge and widen
   only to the right, so they never cover the index. The opening paragraph keeps its size after it. */
.article-body > .toc + p { font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2.125rem); line-height: 1.28; letter-spacing: -.012em; }
@media (min-width: 1280px) {
  .article-body.has-toc figure { margin-left: 0; margin-right: calc(-1 * min(16rem, (100vw - 46rem) / 2 - 3rem)); }
}

/* Inside a card box the title always takes its own line under category and date. */
.cards .card-box .wp-block-post-title { max-width: none !important; }

/* The 3D scene: the blurred photo is there from the start; the model fades in when it is ready. */
.m780-stage .boat3d { opacity: 0; transition: opacity .8s ease; }
.m780-stage.boat-on .boat3d, .boat-on .m780-stage .boat3d { opacity: 1; }
@media print { .article-body > *, .wp-block-post-template > li, .sec-t, .tile { opacity: 1 !important; transform: none !important; } .loader, .cc-banner, .read-bar { display: none !important; } }
