/* LucchiCremona: tipografia editoriale, fotografie e navigazione essenziale. */
:root {
  color-scheme: light;
  --paper: #f7f7f3;
  --surface: #eeefea;
  --ink: #242a25;
  --muted: #62685f;
  --accent: #385344;
  --line: #d7dbd2;
  --white: #fff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --ease: cubic-bezier(.22,.7,.25,1);
  --page: 1360px;
  --gutter: clamp(22px, 4.6vw, 80px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
picture { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(100% - var(--gutter) * 2, var(--page)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 16px; padding: 10px 18px; transform: translateY(-150%); background: var(--white); z-index: 30; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.overline { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; margin-bottom: 24px; }

/* Marchio originale e menu, con i medesimi raggruppamenti del sito storico. */
.masthead { display: flex; align-items: center; gap: 32px; min-height: 116px; border-bottom: 1px solid var(--line); }
.home-masthead .brand { display: none; }
.brand { display: block; flex: 0 0 196px; }
.brand img { width: 196px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: clamp(13px, 1.65vw, 25px); list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a, .primary-nav summary { font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.primary-nav a { display: block; padding-block: 12px; }
.primary-nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; text-underline-offset: 7px; }
.primary-nav summary { cursor: pointer; list-style: none; padding: 12px 14px 12px 0; }
.primary-nav summary::-webkit-details-marker { display: none; }
.primary-nav summary::after { content: ''; position: absolute; width: 5px; height: 5px; right: 0; top: 23px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.primary-nav details[open] summary::after { transform: rotate(225deg); }
.primary-nav details[open] { z-index: 15; }
.submenu { position: absolute; top: 100%; left: -22px; min-width: 280px; list-style: none; margin: 0; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 32px #242a250a; }
.submenu a { padding-block: 8px; white-space: normal; }
.language-switch { display: flex; align-items: center; gap: 3px; margin-left: 6px; font-size: 11px; }
.language-switch > * { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; }
.language-switch a { text-decoration: none; padding-block: 12px; color: var(--muted); }
.language-switch [aria-current] { color: var(--ink); border-bottom: 1px solid currentColor; }
.menu-button { display: none; align-items: center; gap: 10px; border: 0; background: none; padding: 12px 0 12px 12px; font-size: 12px; }
.menu-lines { display: block; position: relative; width: 20px; height: 14px; }
.menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; width: 20px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.menu-lines::before { top: 3px; }
.menu-lines::after { top: 10px; }
.menu-button[aria-expanded='true'] .menu-lines::before { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded='true'] .menu-lines::after { transform: translateY(-4px) rotate(-45deg); }

/* Firma visiva della homepage: il marchio panoramico originale ha qui più respiro. */
.home-brand { padding-block: 42px 20px; }
.home-brand-link { display: block; width: min(100%, 650px); margin-inline: auto; }
.home-brand-link img { width: 100%; height: auto; }
.home-brand-link:focus-visible { outline-offset: 10px; }

/* Ingresso diretto: il testo viene dalle pagine Archi e dalla fotografia esistente. */
.home-hero { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: clamp(36px, 5vw, 80px); padding-block: 64px 96px; }
.hero-copy h1 { font-family: var(--serif); font-size: clamp(62px, 6.25vw, 96px); font-weight: 500; line-height: .99; letter-spacing: -.045em; margin-bottom: 30px; }
html[lang='en'] .hero-copy h1 { font-size: clamp(60px,5.3vw,80px); }
.hero-copy .intro { color: var(--muted); max-width: 47ch; font-size: 15px; line-height: 1.8; margin-bottom: 30px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-photo figcaption { margin-top: 14px; text-align: right; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 49px; padding: 7px 8px 7px 23px; border: 1px solid var(--accent); background: var(--accent); color: var(--paper); border-radius: 28px; font-size: 12px; font-weight: 500; text-decoration: none; transition: transform .25s var(--ease), background .25s var(--ease); }
.button .arrow { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #ffffff17; font-size: 17px; transition: transform .3s var(--ease); }
.button:hover { color: var(--white); background: #2b4235; }
.button:hover .arrow { transform: translate(2px,-2px); }
.button:active { transform: scale(.98); }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 12px; line-height: 1.6; text-decoration: none; border-bottom: 1px solid var(--ink); padding-block: 7px; }
.text-link span { font-size: 17px; }
.section { padding-block: 82px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; margin-bottom: 42px; }
.section-head h2, .history-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4.1vw, 64px); letter-spacing: -.025em; line-height: 1.08; margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 53ch; margin-bottom: 4px; }
.work-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px,6vw,95px); align-items: center; }
.work-image img { width: 100%; aspect-ratio: 1.18; object-fit: cover; object-position: center; }
.service-links { list-style: none; padding: 0; margin: 0; }
.service-links li + li { border-top: 1px solid var(--line); }
.service-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; text-decoration: none; }
.service-links .label { font-family: var(--serif); font-size: clamp(23px,2.1vw,32px); line-height: 1.2; }
.service-links .arrow { color: var(--accent); transition: transform .3s var(--ease); }
.service-links a:hover .arrow { transform: translate(5px,-3px); }
.history-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px,7vw,110px); align-items: center; }
.history-image img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.history-copy h2 { margin-bottom: 27px; }
.history-copy .body { color: var(--muted); font-size: 16px; max-width: 48ch; margin-bottom: 27px; }
.archive-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 36px; }
.archive-grid figure:nth-child(2) { padding-top: 64px; }
.archive-grid img { width: 100%; }
.archive-grid figcaption { margin-top: 12px; font-size: 11px; color: var(--muted); }
.social-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 48px; }
.social-row p { margin: 0; font-size: 14px; color: var(--muted); }

/* Pagine editoriali: testi completi e immagini separate dai frammenti di parola. */
.page-intro { padding-block: 62px 56px; }
.breadcrumbs { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 32px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span[aria-hidden] { color: #8c9388; }
.page-intro h1 { font-family: var(--serif); font-size: clamp(50px,6.4vw,88px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; max-width: 20ch; margin: 0; }
.article-flow { padding-bottom: 70px; }
.story-block { max-width: 800px; margin: 0 auto 35px; }
.story-text { min-width: 0; }
.story-text p { font-size: 17px; line-height: 1.9; margin-bottom: 24px; }
.story-text p:last-child { margin-bottom: 0; }
.story-text h2 { font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1.16; letter-spacing: -.015em; margin-block: 45px 18px; }
.range-title { font-family: var(--serif); font-size: 33px; font-weight: 500; line-height: 1.2; margin-bottom: 17px; }
.bow-range { padding-block: 20px; }
.story-text ul, .story-text ol { padding-left: 23px; margin-block: 15px 30px; }
.story-text li { padding-left: 7px; margin-bottom: 9px; font-size: 16px; line-height: 1.8; }
.story-block.with-media { max-width: 1100px; display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px,6vw,90px); align-items: start; margin-block: 45px 55px; }
.story-block.with-media:nth-of-type(4n) { grid-template-columns: .8fr 1.4fr; }
.story-block.with-media:nth-of-type(4n) .story-media { grid-column: 1; grid-row: 1; }
.story-block.with-media:nth-of-type(4n) .story-text { grid-column: 2; }
.story-media { display: grid; gap: 28px; padding-top: 5px; }
.story-media img { width: 100%; max-height: 570px; object-fit: contain; object-position: top; }
.story-media figure { max-width: 100%; margin: 0; }
.story-media figcaption { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.story-block.media-only { max-width: 1000px; margin-block: 45px 55px; }
.story-block.media-only .story-media { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 35px; }
.story-block.media-only figure { flex: 1 1 280px; max-width: 780px; }
.story-block.media-only img { max-height: 600px; width: 100%; object-fit: contain; }
.media-link { display: block; overflow: hidden; }
.media-link img { transition: transform .65s var(--ease); }
.media-link:hover img { transform: scale(1.018); }
.quote-block { max-width: 900px; padding: 26px 0 26px 35px; margin-block: 28px 50px; border-left: 2px solid var(--accent); }
.quote-block p { font-family: var(--serif); font-size: clamp(25px,2.9vw,35px); line-height: 1.3; letter-spacing: -.015em; }
.quote-block p:last-child { font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: 0; }
.quote-block p:only-child { font-family: var(--serif); font-size: clamp(25px,2.9vw,35px); color: var(--ink); }
.related-nav { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 24px; padding-block: 35px 55px; }
.related-nav p { margin: 0; color: var(--muted); font-size: 11px; }
.related-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.product-links { max-width: 800px; margin: 45px auto; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.legal-flow { max-width: 800px; margin-inline: auto; }
.legal-flow h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.25; margin-top: 36px; }
.legal-flow p, .legal-flow li { font-size: 15px; line-height: 1.9; }
.legal-date { font-size: 12px; color: var(--muted); margin-bottom: 35px; }
.contact-actions { margin: 28px auto 60px; max-width: 800px; }
.not-found { min-height: 50vh; padding-block: 60px; max-width: 700px; }
.not-found h1 { font-family: var(--serif); font-size: 70px; font-weight: 500; line-height: 1; }

/* Dati dell’azienda comune ai due siti, con recapiti del sito aziendale. */
.site-footer { padding-block: 54px 22px; background: var(--surface); }
.footer-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 43px; }
.footer-head h2 { font-family: var(--serif); font-size: 48px; font-weight: 500; letter-spacing: -.025em; line-height: 1; margin: 0; }
.footer-head > a { font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 35px; }
.footer-grid p { font-size: 12px; line-height: 1.95; margin: 0; }
.footer-grid strong { font-weight: 600; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.foundation-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 7px; }
.foundation-link img { width: 32px; height: auto; }
.footer-bottom { margin-top: 45px; padding-top: 18px; border-top: 1px solid #cbd1c7; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 10px; color: var(--muted); }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }

/* Galleria nativa, usabile anche senza JavaScript tramite il link al file originale. */
.lightbox { border: 0; background: var(--paper); color: var(--ink); max-width: min(94vw,1500px); max-height: 94dvh; width: max-content; padding: 22px; }
.lightbox::backdrop { background: #17241fe8; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 15px; }
.lightbox-bar button { border: 0; background: none; font-size: 12px; padding: 8px; min-height: 40px; }
.lightbox-image { max-width: 86vw; max-height: 72dvh; width: auto; height: auto; margin: auto; }
.lightbox-caption { font-size: 12px; line-height: 1.5; margin: 14px 0 0; max-width: 80ch; }
.lightbox-pager { display: flex; gap: 18px; }

@media (min-width: 961px) {
  [data-reveal].entering { animation: enter .75s var(--ease) both; }
  @keyframes enter { from { opacity: .35; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1160px) {
  .masthead { gap: 20px; }
  .brand, .brand img { width: 172px; flex-basis: 172px; }
  .primary-nav > ul { gap: 13px; }
  .primary-nav a, .primary-nav summary { font-size: 13px; }
  .home-hero { gap: 40px; }
  .hero-copy h1 { font-size: 73px; }
}
/* Con testi più grandi il menu compatto interviene prima, senza comprimere le voci. */
@media (min-width: 961px) and (max-width: 1100px) {
  .masthead { flex-wrap: wrap; min-height: 94px; padding-block: 18px; gap: 12px 20px; }
  .brand, .brand img { width: 175px; flex-basis: 175px; }
  .language-switch { margin-left: auto; order: 1; }
  .js .menu-button { display: inline-flex; }
  .menu-button { order: 2; }
  .primary-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; }
  .primary-nav > ul { display: block; padding-block: 20px 8px; }
  .primary-nav a, .primary-nav summary { font-size: 16px; padding-block: 12px; }
  .primary-nav summary::after { top: 23px; right: 7px; width: 7px; height: 7px; }
  .submenu { position: static; border: 0; box-shadow: none; min-width: 0; padding: 6px 0 12px 22px; }
  .submenu a { font-size: 14px; padding-block: 10px; }
}
@media (max-width: 960px) {
  .masthead { flex-wrap: wrap; min-height: 94px; padding-block: 18px; gap: 12px 20px; }
  .brand, .brand img { width: 175px; flex-basis: 175px; }
  .language-switch { margin-left: auto; }
  .js .menu-button { display: inline-flex; }
  .primary-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .language-switch { order: 1; }
  .menu-button { order: 2; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; }
  .primary-nav > ul { display: block; padding-block: 20px 8px; }
  .primary-nav a, .primary-nav summary { font-size: 16px; padding-block: 12px; }
  .primary-nav summary::after { top: 23px; right: 7px; width: 7px; height: 7px; }
  .submenu { position: static; border: 0; box-shadow: none; min-width: 0; padding: 6px 0 12px 22px; }
  .submenu a { font-size: 14px; padding-block: 10px; }
  .home-hero { grid-template-columns: 1fr 1.1fr; gap: 30px; padding-block: 48px 65px; }
  .hero-copy h1 { font-size: 60px; }
  html[lang='en'] .hero-copy h1 { font-size: 52px; }
  .hero-copy .intro { font-size: 13px; }
  .hero-photo img { aspect-ratio: .9; object-position: 52% center; }
  .section { padding-block: 65px; }
  .section-head { gap: 40px; }
  .work-layout { gap: 40px; }
  .history-feature { gap: 45px; }
  .story-block.with-media { gap: 35px; grid-template-columns: 1.35fr .8fr; }
  .story-block.with-media:nth-of-type(4n) { grid-template-columns: .8fr 1.35fr; }
}
@media (max-width: 680px) {
  :root { --gutter: 23px; }
  .masthead { min-height: 82px; gap: 10px; padding-block: 15px; }
  .brand, .brand img { width: 145px; flex-basis: 145px; }
  .language-switch { gap: 2px; font-size: 10px; }
  .menu-button { gap: 7px; font-size: 11px; padding-left: 10px; }
  .home-brand { padding-block: 28px 8px; }
  .home-brand-link { width: 100%; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 33px; padding-block: 40px 55px; }
  .overline { font-size: 10px; margin-bottom: 20px; }
  .hero-copy h1 { font-size: clamp(54px,13vw,78px); line-height: 1.01; letter-spacing: -.035em; max-width: 13ch; margin-bottom: 22px; }
  html[lang='en'] .hero-copy h1 { font-size: clamp(48px,11.5vw,66px); max-width: 15ch; }
  .hero-copy .intro { font-size: 14px; line-height: 1.8; max-width: 48ch; margin-bottom: 23px; }
  .hero-photo img { aspect-ratio: 3 / 2; object-position: center; }
  .hero-photo figcaption { font-size: 9px; }
  .button { font-size: 11px; min-height: 47px; padding-left: 19px; gap: 18px; }
  .text-link { font-size: 11px; gap: 10px; }
  .actions { gap: 20px; }
  .section { padding-block: 50px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head h2, .history-copy h2 { font-size: 45px; margin-bottom: 22px; }
  .section-head p { font-size: 14px; }
  .work-layout, .history-feature { grid-template-columns: 1fr; gap: 32px; }
  .work-image img { aspect-ratio: 1.35; }
  .service-links a { padding-block: 18px; }
  .service-links .label { font-size: 29px; }
  .history-copy .body { font-size: 14px; line-height: 1.9; }
  .archive-grid { gap: 22px; grid-template-columns: 1fr; }
  .archive-grid figure:nth-child(2) { padding-top: 0; }
  .social-row { display: block; padding-top: 28px; }
  .social-row p { margin-bottom: 14px; font-size: 13px; }
  .page-intro { padding-block: 34px 38px; }
  .breadcrumbs { margin-bottom: 26px; font-size: 10px; gap: 8px; }
  .page-intro h1 { font-size: clamp(47px,12vw,64px); max-width: 18ch; line-height: 1.04; }
  .story-text p { font-size: 16px; line-height: 1.85; margin-bottom: 23px; }
  .story-block { margin-bottom: 29px; }
  .story-block.with-media, .story-block.with-media:nth-of-type(4n) { display: flex; flex-direction: column; gap: 27px; margin-block: 30px 38px; }
  .story-media { width: 100%; padding-top: 0; }
  .story-media img { max-height: 520px; max-width: 100%; width: auto; margin-inline: auto; }
  .story-block.media-only { margin-block: 30px 38px; }
  .story-block.media-only .story-media { display: block; }
  .story-block.media-only figure + figure { margin-top: 24px; }
  .story-text h2 { font-size: 32px; margin-top: 30px; }
  .story-text li { font-size: 15px; }
  .quote-block { padding: 12px 0 12px 22px; margin-bottom: 32px; }
  .quote-block p { font-size: 27px; }
  .article-flow { padding-bottom: 35px; }
  .related-nav { padding-block: 25px 35px; }
  .related-links { gap: 14px; font-size: 11px; }
  .footer-head { display: block; margin-bottom: 30px; }
  .footer-head h2 { font-size: 42px; margin-bottom: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid p { font-size: 12px; }
  .footer-bottom { margin-top: 32px; font-size: 10px; gap: 16px; }
  .footer-bottom .links { gap: 16px; }
  .site-footer { padding-block: 40px 23px; }
  .lightbox { max-width: 96vw; padding: 13px; }
  .lightbox-bar { gap: 8px; }
  .lightbox-bar button { font-size: 11px; padding: 5px; }
  .lightbox-pager { gap: 4px; }
  .lightbox-image { max-width: 86vw; max-height: 70dvh; }
}
@media (max-width: 355px) {
  :root { --gutter: 18px; }
  .brand, .brand img { width: 125px; flex-basis: 125px; }
  .masthead { gap: 8px; }
  .menu-button { font-size: 10px; gap: 5px; padding-left: 4px; }
  .hero-copy h1 { font-size: 51px; }
  html[lang='en'] .hero-copy h1 { font-size: 44px; }
  .hero-copy .intro { font-size: 13px; }
  .actions { gap: 16px; }
  .page-intro h1 { font-size: 44px; }
  .service-links .label { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .primary-nav, .language-switch, .menu-button, .actions, .related-nav, .lightbox { display: none !important; }
  body { background: white; color: black; }
  .container { width: 100%; }
  .story-block.with-media { break-inside: avoid; }
  .site-footer { background: white; }
}
