/* Collaro Rappresentanze — Quiet Luxury Black & White */

:root {
  --bg: #fafaf8;
  --bg-warm: #f3f1ec;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6660;
  --line: #1a1a1a;
  --line-soft: rgba(10,10,10,0.12);
  --paper: #ffffff;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(24px, 4vw, 80px);
  --section-y: clamp(80px, 10vw, 180px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

::selection { background: var(--ink); color: var(--bg); }

/* Typography */
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.label-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

h1.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h2.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.015em;
}

h3.section {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

p.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* Layout */
.shell {
  min-height: 100vh;
}

.frame {
  padding-inline: var(--gutter);
}

.rule {
  height: 1px;
  background: var(--line-soft);
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,248,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}
.brandmark {
  display: inline-flex;
  align-items: center;
  height: 100%;
}
.brandmark img {
  height: 34px;
  width: auto;
  display: block;
}
.footer-mark img {
  height: 56px;
  width: auto;
  filter: invert(1);
  display: block;
  margin-bottom: 24px;
}
nav.primary {
  display: flex;
  gap: 36px;
  justify-content: center;
}
nav.primary a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
}
nav.primary a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}
nav.primary a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}
.contact-cta {
  justify-self: end;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  margin-top: var(--section-y);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--bg);
}
.site-footer a { color: var(--bg); }
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 80px;
}
.site-footer .top h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
  color: rgba(250,250,248,0.5);
}
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; font-size: 13px; }
.site-footer .signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.1;
  max-width: 14ch;
}
.site-footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  border-top: 1px solid rgba(250,250,248,0.12);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(250,250,248,0.55);
  letter-spacing: 0.05em;
}

/* Hero (homepage) */
.hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(24px, 4vw, 56px);
}
.hero h1.display {
  max-width: 14ch;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.hero h1 .amp {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(60px, 7vw, 100px);
  gap: 12px;
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.tile .ph {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 18px;
}
.tile .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 28px);
  color: var(--paper);
  z-index: 2;
  text-shadow: 0 1px 24px rgba(0,0,0,0.4);
}
.tile .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--paper);
  opacity: 0.8;
  z-index: 2;
}
.tile .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter 0.6s ease;
}
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.tile:hover .img {
  transform: scale(1.1);
  filter: grayscale(0.2) contrast(1.05);
}

/* Mosaic tile sizes — editorial rhythm */
.tile.t1 { grid-column: span 5; grid-row: span 5; }
.tile.t2 { grid-column: span 4; grid-row: span 3; }
.tile.t3 { grid-column: span 3; grid-row: span 4; }
.tile.t4 { grid-column: span 4; grid-row: span 4; }
.tile.t5 { grid-column: span 3; grid-row: span 3; }
.tile.t6 { grid-column: span 5; grid-row: span 3; }
.tile.t7 { grid-column: span 4; grid-row: span 3; }
.tile.t8 { grid-column: span 3; grid-row: span 3; }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 80px; }
  .tile.t1 { grid-column: span 6; grid-row: span 4; }
  .tile.t2, .tile.t3, .tile.t4, .tile.t5, .tile.t6, .tile.t7, .tile.t8 { grid-column: span 3; grid-row: span 3; }
}

/* Manifesto */
.manifesto {
  padding-top: var(--section-y);
  padding-bottom: clamp(40px, 6vw, 100px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}
.manifesto .left .eyebrow { margin-bottom: 24px; display: block; }
.manifesto .right p + p { margin-top: 1.2em; }
.manifesto .right .body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}
.manifesto .right .body .em { font-style: italic; }

@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; gap: 32px; }
}

/* Brand list (editorial vertical) */
.brand-list {
  padding-top: var(--section-y);
}
.brand-list-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: clamp(48px, 6vw, 96px);
  align-items: end;
}
.brand-list-head .count {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.brand-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: clamp(24px, 4vw, 80px);
  padding-block: clamp(36px, 4vw, 72px);
  border-top: 1px solid var(--line-soft);
  align-items: center;
  position: relative;
}
.brand-row:last-child { border-bottom: 1px solid var(--line-soft); }
.brand-row .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.brand-row .meta .name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.brand-row .meta .name .it { font-style: italic; color: var(--muted); }
.brand-row .meta .desc {
  font-size: 14px;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.55;
}
.brand-row .meta .tags {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.brand-row .meta .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.brand-row .image {
  aspect-ratio: 4 / 3;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}
.brand-row .image .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter 0.8s ease;
}
.brand-row:hover .image .img {
  transform: scale(1.07);
  filter: grayscale(0.3);
}
.brand-row:hover .meta .name {
  transform: translateX(8px);
}

@media (max-width: 900px) {
  .brand-row { grid-template-columns: 1fr; }
  .brand-row .num { display: none; }
}

/* About — Chi Siamo */
.about {
  padding-top: var(--section-y);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.about-side {
  position: sticky;
  top: 100px;
}
.about-title {
  margin-top: 20px;
  margin-bottom: 36px;
  font-size: clamp(34px, 4.2vw, 64px) !important;
  line-height: 1.05 !important;
}
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.about-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-meta .vlabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-meta .serif {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}
.about-body { padding-top: 8px; }
.about-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.about-p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.about-p:last-of-type { margin-bottom: 36px; }
.about-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  transition: all 0.3s ease;
}
.about-cta:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-side { position: static; }
}

/* Contact card — biglietto da visita */
.contact-card {
  padding-top: var(--section-y);
  padding-bottom: clamp(60px, 8vw, 140px);
}
.contact-card .card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  position: relative;
}
.contact-card .card::before {
  content: '';
  position: absolute;
  top: 24px; bottom: 24px;
  left: 50%;
  width: 1px;
  background: var(--line-soft);
}
.contact-card .card-left,
.contact-card .card-right {
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-card .vcard { display: flex; flex-direction: column; gap: 28px; }
.contact-card .vcard-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-card .vcard-row:last-child { border-bottom: none; }
.contact-card .vlabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card .vvalue {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}
a.vvalue:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .contact-card .card { grid-template-columns: 1fr; }
  .contact-card .card::before { display: none; }
}

/* (legacy contact form — kept harmless if used) */
.contact {
  padding-top: var(--section-y);
  padding-bottom: clamp(60px, 8vw, 140px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 120px);
}
.contact h2.display { max-width: 12ch; margin-bottom: 32px; }
.contact .info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 56px;
}
.contact .info h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact .info p { font-size: 15px; line-height: 1.65; }
.contact .info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-form {
  border-left: 1px solid var(--line-soft);
  padding-left: clamp(32px, 4vw, 64px);
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-form label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  border: none;
  background: transparent;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  resize: none;
  padding: 4px 0;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); font-style: italic; }
.contact-form button {
  margin-top: 36px;
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 18px 36px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover { background: transparent; color: var(--ink); }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact-form { border-left: none; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 32px; }
}

/* Brand page */
.page-head {
  padding-top: clamp(64px, 8vw, 140px);
  padding-bottom: clamp(40px, 6vw, 100px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.page-head h1.display { max-width: 10ch; }
.page-head .right { padding-bottom: 12px; }

.view-switch {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
}
.view-switch button {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 22px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.view-switch button.on {
  background: var(--ink);
  color: var(--bg);
}

/* Brand page — grid view */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
.brand-grid .cell {
  background: var(--bg);
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: pointer;
}
.brand-grid .cell .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter 0.8s ease;
}
.brand-grid .cell:hover .img { transform: scale(1.08); filter: grayscale(0.2); }
.brand-grid .cell .label {
  position: absolute;
  left: 24px; bottom: 24px;
  z-index: 2;
  color: var(--paper);
}
.brand-grid .cell .label .n {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 4px;
}
.brand-grid .cell .label .c {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.brand-grid .cell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

@media (max-width: 900px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Brand page — carousel */
.brand-carousel {
  position: relative;
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(36px, 5vw, 72px);
}
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--gutter);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 clamp(320px, 36vw, 520px);
  scroll-snap-align: start;
}
.carousel-card .image {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}
.carousel-card .image .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.04);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
  transform: scale(1.02);
}
.carousel-card:hover .image .img { transform: scale(1.06); }
.carousel-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
}
.carousel-card .meta .name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.carousel-card .meta .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: var(--gutter);
  padding-top: clamp(32px, 4vw, 56px);
}
.carousel-controls .progress {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
  position: relative;
  margin-inline: 32px;
}
.carousel-controls .progress .bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 12.5%;
  background: var(--ink);
  transition: left 0.4s cubic-bezier(.2,.8,.2,1);
}
.carousel-controls button {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  width: 56px; height: 56px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-family: var(--serif);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.carousel-controls button:hover { background: var(--ink); color: var(--bg); }

/* Marquee strip */
.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 26px;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 8s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.marquee-track .dot {
  font-family: var(--serif);
  color: var(--muted);
  font-size: 28px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Asterisk decorative */
.aster {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--muted);
}

/* Subtle entry animation */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both; }
.rise.d1 { animation-delay: 0.05s; }
.rise.d2 { animation-delay: 0.15s; }
.rise.d3 { animation-delay: 0.25s; }
.rise.d4 { animation-delay: 0.35s; }
.rise.d5 { animation-delay: 0.45s; }

/* Page transitions hint */
main { animation: rise 0.6s ease both; }


/* Brand detail page */
.brand-hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(40px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.brand-hero .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.brand-hero .crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand-hero h1.brand-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.brand-hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 38ch;
  padding-bottom: 12px;
}

.brand-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-inline: var(--gutter);
  margin-bottom: clamp(48px, 6vw, 96px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.brand-cover .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.04);
}

.brand-body {
  padding-bottom: var(--section-y);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}
.brand-body .meta-side { position: sticky; top: 100px; }
.brand-body .meta-row {
  display: flex; flex-direction: column; gap: 6px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.brand-body .meta-row:first-child { border-top: 1px solid var(--line-soft); }
.brand-body .meta-row .vlabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-body .meta-row .vvalue {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}
.brand-body .text p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
}
.brand-body .text p.lede-p {
  font-style: italic;
  color: var(--ink);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.brand-body .text p + p { margin-top: 1.1em; }

.brand-nav {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.brand-nav a { display: flex; flex-direction: column; gap: 6px; }
.brand-nav .nx { text-align: right; align-items: flex-end; }
.brand-nav .label-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.brand-nav .name {
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.brand-nav a:hover .name { text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 900px) {
  .brand-hero, .brand-body { grid-template-columns: 1fr; }
  .brand-body .meta-side { position: static; }
}

/* ──────────────────────────────────────────────────────────
   MOBILE & TABLET RESPONSIVE
   ────────────────────────────────────────────────────────── */

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  justify-self: end;
}
.nav-toggle .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle .bars span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.menu-open .nav-toggle .bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Tablet — ≤ 900px (refinements for footer) */
@media (max-width: 900px) {
  .site-footer .top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-block: 56px;
  }
  .site-footer .signoff { font-size: 28px; }
  .site-footer .bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Mobile — ≤ 1024px */
@media (max-width: 1024px) {
  :root {
    --gutter: 20px;
    --section-y: clamp(56px, 12vw, 100px);
  }

  body { font-size: 14px; }

  /* Header — logo + hamburger */
  .site-header .inner {
    grid-template-columns: 1fr auto;
    height: 60px;
  }
  .brandmark img { height: 28px; }
  .contact-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Mobile nav overlay — fullscreen, opaque BLACK */
  nav.primary {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--ink);
    color: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 96px 28px 40px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 60;
    overflow-y: auto;
  }
  body.menu-open nav.primary {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }
  nav.primary a {
    width: 100%;
    padding: 24px 0;
    font-family: var(--serif);
    font-size: clamp(32px, 7vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-transform: none;
    font-weight: 300;
    color: var(--bg);
    border-bottom: 1px solid rgba(250,250,248,0.14);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  body.menu-open nav.primary a {
    opacity: 1;
    transform: translateY(0);
  }
  body.menu-open nav.primary a:nth-child(1) { transition-delay: 0.08s; }
  body.menu-open nav.primary a:nth-child(2) { transition-delay: 0.14s; }
  body.menu-open nav.primary a:nth-child(3) { transition-delay: 0.20s; }
  nav.primary a::after { display: none !important; }
  nav.primary a.active { font-style: italic; color: rgba(250,250,248,0.55); }

  /* Hamburger flips to white when menu is open */
  body.menu-open .nav-toggle {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  body.menu-open .nav-toggle .bars span { background: var(--bg); }

  /* Keep header + hamburger above the overlay */
  .site-header { z-index: 70; background: rgba(250,250,248,0.85); }
  body.menu-open .site-header { background: transparent; border-bottom-color: transparent; }
  .nav-toggle { position: relative; z-index: 71; }

  /* Lock body scroll when menu open */
  body.menu-open { overflow: hidden; }

  /* Hero (Homepage) */
  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 32px;
  }
  .hero h1.display { font-size: clamp(48px, 14vw, 72px); max-width: 100%; }

  /* Marquee — smaller text */
  .marquee { padding-block: 18px; }
  .marquee-track { gap: 36px; }
  .marquee-track span,
  .marquee-track .dot { font-size: 20px; }

  /* About / Chi Siamo */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-side { position: static; }
  .about-title { font-size: clamp(40px, 12vw, 56px) !important; }
  .about-meta { gap: 12px; }
  .about-meta .serif { font-size: 16px; }

  /* Manifesto */
  .manifesto { grid-template-columns: 1fr; gap: 28px; }
  .manifesto .right .body { font-size: 19px; line-height: 1.5; }

  /* Mosaic */
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 64px; gap: 8px; }
  .tile.t1 { grid-column: span 2; grid-row: span 4; }
  .tile.t2, .tile.t3, .tile.t4, .tile.t5,
  .tile.t6, .tile.t7, .tile.t8 { grid-column: span 1; grid-row: span 3; }
  .tile .ph { padding: 12px; }
  .tile .name { font-size: 18px; }

  /* Brand list (legacy) */
  .brand-row { grid-template-columns: 1fr; gap: 16px; padding-block: 32px; }
  .brand-row .num { display: none; }
  .brand-row .meta .name { font-size: 44px; }

  /* Brand page — head */
  .page-head { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 36px; }
  .page-head h1.display { font-size: clamp(44px, 14vw, 68px); max-width: 100%; }
  .page-head .right { padding-bottom: 0; }
  .page-head p.lede { font-size: 18px; max-width: 100%; }

  /* Brand grid */
  .brand-grid { grid-template-columns: 1fr; }
  .brand-grid .cell { aspect-ratio: 4 / 3; }
  .brand-grid .cell .label { left: 18px; bottom: 18px; }
  .brand-grid .cell .label .n { font-size: 22px; }

  /* Brand CTA strip */
  .brand-list-head { grid-template-columns: 1fr; gap: 16px; }
  .brand-list-head .count { text-align: left; }

  /* Carousel */
  .carousel-card { flex: 0 0 80vw; }

  /* Contact card */
  .contact-card .card { grid-template-columns: 1fr; min-height: 0; }
  .contact-card .card::before { display: none; }
  .contact-card .card-left,
  .contact-card .card-right { padding: 32px 24px; }
  .contact-card .vvalue { font-size: 20px; word-break: break-word; }

  /* Brand detail */
  .brand-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
  .brand-hero h1.brand-name { font-size: clamp(56px, 16vw, 88px); }
  .brand-hero .tagline { font-size: 18px; max-width: 100%; }
  .brand-cover { aspect-ratio: 4 / 3; margin-bottom: 40px; }
  .brand-body { grid-template-columns: 1fr; gap: 32px; }
  .brand-body .meta-side { position: static; }
  .brand-body .text p { font-size: 16px; line-height: 1.65; }
  .brand-body .text p.lede-p { font-size: 19px; }

  .brand-nav { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  .brand-nav .nx { text-align: left; align-items: flex-start; }
  .brand-nav .name { font-size: 26px; }

  /* Footer */
  .site-footer .top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 48px;
  }
  .footer-mark img { height: 44px; margin-bottom: 16px; }
  .site-footer .signoff { font-size: 24px; max-width: 100%; }

  /* Generic CTA strips that use inline grid */
  section.frame > div[style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  section.frame > div[style*="grid-template-columns: 1fr auto"] a {
    justify-self: flex-start;
  }
}

/* Small mobile — ≤ 380px */
@media (max-width: 380px) {
  .hero h1.display { font-size: 44px; }
  .page-head h1.display { font-size: 40px; }
  .brand-hero h1.brand-name { font-size: 56px; }
  .about-title { font-size: 36px !important; }
}

/* Mobile — immagini sempre a colori (no grayscale-to-color al tap) */
@media (max-width: 1024px) {
  .tile .img,
  .tile:hover .img,
  .brand-row .image .img,
  .brand-row:hover .image .img,
  .brand-grid .cell .img,
  .brand-grid .cell:hover .img,
  .carousel-card .image .img,
  .carousel-card:hover .image .img,
  .brand-cover .img {
    filter: none !important;
  }
}
