/* T9 Monocroma Atelier — Barberia Otto
   ONE hue family: oxblood. Every color on this page is a stop on the same ramp. */
:root {
  --ox-950: #17090b;
  --ox-900: #2b0f13;
  --ox-800: #451820;
  --ox-700: #6d1f26;
  --ox-500: #a63a42;
  --ox-300: #d98e93;
  --ox-100: #f6e8e8;
  --display: "Big Shoulders", Impact, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --tint: var(--ox-950);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--tint);
  transition: background 0.9s ease;
  color: var(--ox-100);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
section, footer { position: relative; padding: 88px 22px; max-width: 1080px; margin: 0 auto; }

h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
}
h2 { font-size: clamp(2.4rem, 8vw, 4.2rem); margin-bottom: 34px; }

.section-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ox-300);
  margin-bottom: 18px;
}

/* oversized outlined section markers — the brand IS a number */
.marker {
  position: absolute;
  top: 26px; right: 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(7rem, 24vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ox-700);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

/* reveals */
[data-reveal] { opacity: 0; transform: translateY(26px); }
.no-motion [data-reveal] { opacity: 1; transform: none; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px;
  background: color-mix(in srgb, var(--ox-950) 84%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ox-800);
}
.nav__logo { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.04em; }
.nav__logo span { color: var(--ox-500); }
.nav__links { display: none; gap: 26px; font-size: 0.88rem; font-weight: 500; color: var(--ox-300); }
.nav__links a:hover { color: var(--ox-100); }
.nav__cta {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--ox-500); border-radius: 999px; color: var(--ox-100);
}
.nav__cta:hover { background: var(--ox-500); }

/* ── hero ── */
.hero {
  min-height: 92vh;
  display: grid;
  align-content: end;
  padding-top: 120px;
  overflow: visible;
}
.hero__eight {
  position: absolute;
  top: 2vh; right: -6vw;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24rem, 78vw, 46rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--ox-700);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
  transform-origin: 52% 54%;
  z-index: 0;
}
.hero__media {
  position: relative;
  z-index: 1;
  width: min(340px, 72vw);
  aspect-ratio: 3 / 4;
  justify-self: end;
  margin-right: 4vw;
  margin-bottom: -40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.hero__copy { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ox-300); margin-bottom: 18px;
}
.eyebrow em { font-style: normal; color: var(--ox-500); }
.hero h1 { font-size: clamp(3.6rem, 15vw, 9rem); display: grid; }
.hero__line--out { color: transparent; -webkit-text-stroke: 2px var(--ox-500); }
.hero__sub { margin-top: 22px; max-width: 400px; color: var(--ox-300); font-size: 1.02rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn--solid { background: var(--ox-500); color: var(--ox-100); }
.btn--solid:hover { background: var(--ox-300); color: var(--ox-950); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--ox-700); color: var(--ox-300); }
.btn--ghost:hover { border-color: var(--ox-300); color: var(--ox-100); }
.btn--lg { padding: 18px 36px; font-size: 0.95rem; }

/* ── ticker ── */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--ox-800);
  padding: 13px 0;
  background: var(--ox-900);
}
.ticker__track {
  display: flex; white-space: nowrap; width: max-content;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.14em;
  color: var(--ox-300);
  animation: tick 26s linear infinite;
}
@keyframes tick { to { transform: translateX(-50%); } }
.no-motion .ticker__track { animation: none; }

/* ── manifesto ── */
.manifesto__text {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.45rem, 4.6vw, 2.3rem);
  line-height: 1.42;
  text-transform: none;
  letter-spacing: 0;
  max-width: 760px;
}
.manifesto__twist { color: var(--ox-300); }
.twist-eight {
  display: inline-block;
  font-family: var(--display); font-weight: 900;
  color: transparent; -webkit-text-stroke: 1.5px var(--ox-500);
  margin: 0 6px;
  transform: rotate(90deg);
  transition: transform 1.1s cubic-bezier(0.65, 0.05, 0, 1);
}
.twist-eight.upright { transform: rotate(0deg); }

/* ── listino ── */
.listino__rows { list-style: none; max-width: 640px; }
.listino__rows li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--ox-800);
}
.voce { font-weight: 500; font-size: 1.05rem; }
.dots { flex: 1; border-bottom: 2px dotted var(--ox-700); transform: translateY(-4px); }
.prezzo { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--ox-300); }
.listino__nota { margin-top: 26px; font-size: 0.92rem; color: var(--ox-300); max-width: 460px; }

/* ── duotone photos: grayscale pulled into the ramp, bloom to color in view/hover ── */
.duo { position: relative; overflow: hidden; background: var(--ox-800); }
.duo img {
  filter: grayscale(1) sepia(0.55) hue-rotate(-32deg) saturate(2.1) brightness(0.82) contrast(1.08);
  transition: filter 1s ease;
}
.duo--bloom:hover img, .duo--bloom.bloom img { filter: none; }

/* ── galleria ── */
.galleria__grid { display: grid; gap: 16px; }
.galleria__grid figure { aspect-ratio: 4 / 3; }
.galleria__grid figure:nth-child(2) { aspect-ratio: 3 / 4; width: 78%; justify-self: end; }
.galleria__grid figure:nth-child(3) { aspect-ratio: 1 / 1; width: 66%; }

/* ── team ── */
.team__grid { display: grid; gap: 42px; }
.team__card figure { aspect-ratio: 3 / 4; margin-bottom: 18px; }
.team__card h3 { font-family: var(--display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; }
.ruolo { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ox-500); margin: 4px 0 12px; }
.team__card p:last-child { color: var(--ox-300); font-size: 0.96rem; }

/* ── rituale ── */
.rituale__steps { list-style: none; display: grid; gap: 30px; max-width: 640px; counter-reset: none; }
.rituale__steps li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; }
.step-n {
  grid-row: 1 / 3;
  font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ox-500);
}
.rituale__steps h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.rituale__steps p { color: var(--ox-300); font-size: 0.96rem; max-width: 480px; }

/* ── contatti ── */
.contatti { text-align: left; padding-bottom: 60px; }
.contatti__eight {
  position: absolute;
  bottom: -6vw; right: -8vw;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(16rem, 52vw, 30rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px var(--ox-800);
  pointer-events: none; user-select: none;
}
.contatti h2 { font-size: clamp(2.8rem, 10vw, 5rem); }
.contatti__cols { display: grid; gap: 30px; margin: 48px 0; position: relative; z-index: 1; }
.contatti__cols h4 {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ox-500); margin-bottom: 10px;
}
.contatti__cols p { color: var(--ox-300); }
.contatti__legal {
  border-top: 1px solid var(--ox-800);
  padding-top: 26px; position: relative; z-index: 1;
  font-size: 0.85rem; color: var(--ox-300); max-width: 560px;
}
.contatti__legal a { color: var(--ox-100); border-bottom: 1px solid var(--ox-500); }

/* focus */
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--ox-300); outline-offset: 3px; }

/* ── desktop ── */
@media (min-width: 800px) {
  .nav__links { display: flex; }
  section, footer { padding-inline: 40px; }
  .hero { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .hero__media { margin-bottom: 0; width: min(380px, 34vw); }
  .hero__copy { grid-column: 1; grid-row: 1; }
  .galleria__grid { grid-template-columns: 1.3fr 1fr; }
  .galleria__grid figure:nth-child(1) { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
  .galleria__grid figure:nth-child(2) { width: 100%; }
  .galleria__grid figure:nth-child(3) { width: 84%; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .contatti__cols { grid-template-columns: 1fr 1fr; max-width: 620px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { transition: none; }
  .twist-eight { transition: none; }
}
