/* Navigation: a clean header (MENU on the left, the logo exactly centred) and a full-screen menu
   with five large numbered entries; VETTURE opens its own submenu. */
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; justify-content: initial; gap: 24px; padding: 0 56px; height: 100px; }
.site-header .brand { grid-column: 2; }
.site-header .brand img { width: 214px; }
.menu-toggle { grid-column: 1; justify-self: start; display: inline-flex !important; align-items: center; gap: 14px; width: auto; height: 44px; padding: 0 4px 0 0; margin: 0; background: none; border: 0; color: #f1f1ee; }
.menu-toggle .menu-bars { position: relative; display: block; width: 26px; height: 10px; margin: 0; background: none; }
.menu-toggle .menu-word { display: block; width: auto; height: auto; margin: 0; background: none; }
.menu-bars span { position: absolute; left: 0; height: 1px; width: 26px; margin: 0; background: currentColor; transition: width .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1); }
.menu-bars span:first-child { top: 0; }
.menu-bars span:last-child { bottom: 0; width: 18px; }
.menu-word { font-size: .75rem; font-weight: 500; letter-spacing: .28em; transition: letter-spacing .35s cubic-bezier(.2, .7, .2, 1), color .2s; }
.menu-toggle:hover .menu-bars span:last-child { width: 26px; }
.menu-toggle:hover .menu-word { letter-spacing: .34em; color: #fff; }

/* Full-screen menu */
body.menu-open { overflow: hidden; }
.site-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #161616; color: var(--text); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .55s ease; }
.site-menu.is-open { opacity: 1; }
.site-menu-photo { position: absolute; inset: 0 0 0 auto; width: 46%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .15s; -webkit-mask-image: linear-gradient(to left, rgb(0 0 0 / 70%), transparent 92%), linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(to left, rgb(0 0 0 / 70%), transparent 92%), linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.site-menu-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: grayscale(.35) brightness(.55); }
.site-menu.is-open .site-menu-photo { opacity: .38; }
.site-menu-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 100px; padding: 0 56px; border-bottom: 1px solid var(--line); }
.site-menu-top .brand img { width: 214px; height: auto; filter: invert(1); }
.menu-close { justify-self: start; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 4px 0 0; background: none; border: 0; color: #f1f1ee; font-size: .75rem; font-weight: 500; letter-spacing: .28em; }
.menu-close svg { width: 24px; height: 24px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.menu-close:hover svg { transform: rotate(90deg); }
.site-menu-top .language-picker, .site-header .language-picker { justify-self: end; }
.site-header .language-picker { grid-column: 3; }
/* The open list stays above the menu items below it. */
.site-menu-top:has(.language-picker.is-open) { z-index: 3; }
/* Language picker (public/app.js buildLanguagePicker): flag and code; a short list of flags and names drops down.
   One picker in the header and one at the top right of the open menu (none in the menu footer). */
.language-picker { position: relative; }
.language-current { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; padding: 0; border: 0; background: none; transition: transform .25s, opacity .25s; }
.language-current:hover, .language-picker.is-open .language-current { transform: scale(1.08); }
.language-flag { display: block; }
.flag { display: block; width: 24px; height: 16px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgb(255 255 255 / 16%); }
.language-list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; display: flex; flex-direction: column; gap: 2px; width: 100%; margin: 0; padding: 4px 0; list-style: none; border: 1px solid rgb(255 255 255 / 14%); border-radius: 2px; background: var(--surface); box-shadow: 0 18px 44px rgb(0 0 0 / 45%); animation: language-in .22s ease; }
.language-picker.is-up .language-list { top: auto; bottom: calc(100% + 6px); }
@keyframes language-in { from { opacity: 0; transform: translateY(-4px); } }
.language-picker.is-up .language-list { animation-name: language-up; }
@keyframes language-up { from { opacity: 0; transform: translateY(4px); } }
.language-list button { display: flex; align-items: center; justify-content: center; width: 100%; padding: 9px 0; border: 0; background: none; transition: background .2s; }
.language-list button:hover { background: rgb(255 255 255 / 8%); }
.language-list button:hover .flag { box-shadow: 0 0 0 1px rgb(227 38 48 / 80%); }
.site-menu-foot { align-items: center; }

.site-menu-body { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: clamp(20px, 4vh, 56px) 56px; }
.menu-list { list-style: none; margin: 0; padding: 0; width: min(780px, 100%); counter-reset: none; }
.menu-item { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.12s + var(--i) * .07s); }
.menu-item:first-child { border-top: 1px solid var(--line); }
.site-menu.is-open .menu-item { opacity: 1; transform: none; }
.menu-link { display: flex; align-items: center; gap: 22px; width: 100%; padding: clamp(10px, 1.7vh, 20px) 0; background: none; border: 0; text-align: left; color: #c9c9c6; font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; font-weight: 500; font-size: clamp(2.4rem, min(4.2vw, 6.4vh), 3.75rem); text-transform: uppercase; line-height: 1; letter-spacing: .01em; transition: color .3s; }
.menu-num { flex-shrink: 0; width: 28px; align-self: flex-start; margin-top: .35em; font-family: Inter, Arial, sans-serif; font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: #e32630; }
.menu-text { position: relative; display: inline-block; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
/* the red line draws itself under the entry on hover or focus */
.menu-text::after { content: ''; position: absolute; left: 0; bottom: -.12em; height: 2px; width: 100%; background: #e32630; transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.menu-list:hover .menu-link, .menu-list:focus-within .menu-link { color: #8f8f8c; }
.menu-list .menu-link:hover, .menu-list .menu-link:focus-visible, .menu-expand[aria-expanded="true"] { color: #fff; }
.menu-link:hover .menu-text, .menu-link:focus-visible .menu-text { transform: translateX(10px); }
.menu-link:hover .menu-text::after, .menu-link:focus-visible .menu-text::after, .menu-expand[aria-expanded="true"] .menu-text::after { transform: scaleX(1); }
.menu-link:focus-visible { outline: none; }
.menu-arrow, .menu-external { flex-shrink: 0; margin-left: auto; width: 26px; height: 26px; color: var(--text-muted); transition: transform .45s cubic-bezier(.2, .7, .2, 1), color .3s; }
.menu-arrow svg { width: 26px; height: 26px; display: block; }
.menu-expand[aria-expanded="true"] .menu-arrow { transform: rotate(180deg); color: #e32630; }
.menu-link:hover .menu-external { transform: translate(3px, -3px); color: #fff; }

/* VETTURE submenu: opens downwards, indented, a step smaller */
.menu-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2, .7, .2, 1); }
.menu-sub > ul { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0 0 0 50px; }
.menu-sub.is-open { grid-template-rows: 1fr; }
.menu-sub li { opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.menu-sub.is-open li { opacity: 1; transform: none; }
.menu-sub.is-open li:nth-child(2) { transition-delay: .06s; }
.menu-sub.is-open li:nth-child(3) { transition-delay: .12s; }
.menu-sub a { display: inline-flex; align-items: center; gap: 14px; padding: 6px 0; font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #a9a9a6; transition: color .3s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.menu-sub a::before { content: ''; width: 0; height: 2px; background: #e32630; transition: width .35s cubic-bezier(.2, .7, .2, 1); }
.menu-sub a:hover, .menu-sub a:focus-visible { color: #fff; outline: none; }
.menu-sub a:hover::before, .menu-sub a:focus-visible::before { width: 22px; }
.menu-sub ul { padding-bottom: 0; transition: padding .55s cubic-bezier(.2, .7, .2, 1); }
.menu-sub.is-open ul { padding-bottom: 18px; }

.site-menu-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 32px; padding: 22px 56px 28px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--text-muted); opacity: 0; transition: opacity .6s ease .5s; }
.site-menu.is-open .site-menu-foot { opacity: 1; }
.site-menu-foot a:hover { color: #fff; }

@media (max-width: 1000px) {
  .site-header { height: 82px; padding: 0 36px; }
  .site-header .brand img, .site-menu-top .brand img { width: 190px; }
  .site-menu-top { min-height: 82px; padding: 0 36px; }
  .site-menu-body, .site-menu-foot { padding-inline: 36px; }
  .site-menu-photo { width: 60%; }
}
@media (max-width: 700px) {
  .site-header { height: 78px; padding: 0 20px; gap: 12px; }
  .site-header .brand img, .site-menu-top .brand img { width: 150px; }
  .menu-word { font-size: .6875rem; letter-spacing: .22em; }
  .menu-toggle { gap: 10px; }
  .site-menu-top { min-height: 78px; padding: 0 20px; gap: 12px; }
  .menu-close span { display: none; }
  .site-menu-body { align-items: flex-start; padding: 26px 20px 30px; }
  .menu-link { gap: 14px; font-size: clamp(2rem, 9.5vw, 2.6rem); padding: 16px 0; }
  .menu-num { width: 22px; margin-top: .25em; font-size: .6875rem; }
  .menu-sub > ul { padding-left: 36px; }
  .menu-sub a { font-size: 1.5rem; padding: 9px 0; }
  .site-menu-foot { flex-direction: column; gap: 8px; padding: 20px; }
  .site-menu-foot { position: relative; align-items: flex-start; }
  .site-menu-photo { width: 100%; }
  .site-menu.is-open .site-menu-photo { opacity: .2; }
}
/* narrow phones: a slightly smaller logo keeps clear air between it and MENU */
@media (max-width: 420px) {
  .site-header .brand img, .site-menu-top .brand img { width: 136px; }
  .menu-word { letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu, .site-menu-photo, .menu-item, .menu-text, .menu-text::after, .menu-sub, .menu-sub li, .site-menu-foot, .menu-bars span, .menu-word { transition: none !important; }
}

/* Header, top right: the search magnifier right beside the language flag, on one line, on every screen size. */
.site-header .header-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px; }
.header-search { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #f1f1ee; transition: color .25s, transform .25s; }
.header-search svg { width: 21px; height: 21px; }
.header-search:hover { color: #fff; transform: scale(1.08); }
.header-search:focus-visible { outline: 2px solid #fa5459; outline-offset: 2px; }
@media (max-width: 700px) {
  .site-header .header-tools { gap: 0; }
  .header-search { width: 38px; }
  .header-search svg { width: 20px; height: 20px; }
}

/* A larger MENU button (and CHIUDI in the open menu, at the same place and size). */
.menu-toggle { gap: 18px; height: 56px; }
.menu-toggle .menu-bars { width: 40px; height: 15px; }
.menu-bars span { width: 40px; height: 1.5px; }
.menu-bars span:last-child { width: 27px; }
.menu-toggle:hover .menu-bars span:last-child { width: 40px; }
.menu-toggle .menu-word, .menu-close { font-size: 1.0625rem; font-weight: 500; letter-spacing: .3em; }
.menu-toggle:hover .menu-word { letter-spacing: .36em; }
.menu-close { height: 52px; gap: 14px; }
.menu-close svg { width: 30px; height: 30px; }
@media (max-width: 700px) {
  .menu-toggle { gap: 12px; height: 48px; }
  .menu-toggle .menu-bars { width: 30px; height: 12px; }
  .menu-bars span { width: 30px; }
  .menu-bars span:last-child { width: 20px; }
  .menu-toggle .menu-word { font-size: .8125rem; letter-spacing: .22em; }
  .menu-close svg { width: 26px; height: 26px; }
}
@media (max-width: 420px) {
  .menu-toggle .menu-word { font-size: .75rem; letter-spacing: .18em; }
}
