:root {
  --peach: #ddb190;
  --peach-soft: #f1d2bb;
  --petrol: #078a83;
  --petrol-deep: #053f3f;
  --brown: #9b806e;
  --brown-dark: #3a2921;
  --ink: #171412;
  --paper: #f7efe7;
  --bone: #fff9f2;
  --line: rgba(23, 20, 18, 0.14);
  --white-line: rgba(255, 249, 242, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: var(--peach);
  transform-origin: left;
}

.site-toast {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 120;
  width: min(420px, calc(100vw - 28px));
  border: 1px solid rgba(23, 20, 18, 0.12);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--bone);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(23, 20, 18, 0.22);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.site-toast:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.site-toast[data-status="success"] {
  border-color: rgba(7, 138, 131, 0.34);
}

.site-toast[data-status="error"] {
  border-color: rgba(185, 74, 60, 0.34);
  color: #7b2f27;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(118px, 188px) 1fr auto;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--bone);
  transition: background 500ms var(--ease), color 500ms var(--ease), padding 500ms var(--ease);
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(247, 239, 231, 0.86);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  width: min(188px, 34vw);
}

.brand img {
  width: 100%;
  filter: brightness(0) invert(1);
  transition: filter 500ms var(--ease), opacity 300ms var(--ease);
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a,
.nav-cta {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms var(--ease);
}

.main-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-width: 184px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 11px 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
}

.language-switcher button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.language-switcher button.is-active {
  background: currentColor;
  color: var(--ink);
}

.site-header.is-scrolled .language-switcher button.is-active {
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--brown-dark);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, calc(var(--parallax-y, 0) * 1px), 0) scale(1.03);
  filter: saturate(0.92) contrast(1.04);
}

.hero-media video {
  display: block;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(23, 20, 18, 0.82), rgba(23, 20, 18, 0.34) 44%, rgba(23, 20, 18, 0.08)),
    linear-gradient(0deg, rgba(23, 20, 18, 0.78), rgba(23, 20, 18, 0) 48%);
}

.hero-content {
  width: min(820px, calc(100% - 36px));
  padding: clamp(110px, 15vh, 138px) 0 clamp(48px, 8vh, 82px) clamp(18px, 6vw, 80px);
  color: var(--bone);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--peach);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.material-copy h2,
.journey-intro h2,
.brief-intro h2,
.editorial-text h2,
.gallery-copy h2,
.contact-content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.92;
}

.rotating-word {
  display: inline-block;
  color: var(--peach);
  min-width: 0;
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

.rotating-word.is-changing {
  opacity: 0;
  transform: translateY(18px);
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 249, 242, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  max-width: 100%;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 15px 18px 15px 22px;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 300ms var(--ease), background 300ms var(--ease), color 300ms var(--ease);
}

.button span:first-child {
  white-space: normal;
}

.button span:last-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.button:hover {
  transform: translateY(-3px);
}

.button:disabled,
.button.is-loading {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--ink);
}

.button-ghost {
  color: var(--bone);
}

.button-ghost.light {
  color: var(--bone);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  width: min(312px, calc(100% - 36px));
  border-top: 1px solid var(--white-line);
  padding-top: 16px;
  color: var(--bone);
}

.hero-note span {
  color: var(--peach);
  font-size: 13px;
}

.hero-note p {
  margin: 8px 0 0;
  color: rgba(255, 249, 242, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-block: 1px solid rgba(255, 249, 242, 0.16);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 18px 0;
  animation: marquee 24s linear infinite;
}

.marquee span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 4vw, 56px);
  white-space: nowrap;
}

.marquee span::after {
  content: "/";
  margin-left: 28px;
  color: var(--petrol);
}

.material-section,
.journey-section,
.gallery-section {
  padding: clamp(76px, 12vw, 150px) clamp(18px, 5vw, 72px);
}

.material-section,
.journey-section,
.brief-section,
.editorial-section,
.contact-section {
  scroll-margin-top: 92px;
}

.material-section {
  background: var(--paper);
  overflow: hidden;
}

.material-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.material-copy h2,
.journey-intro h2,
.editorial-text h2,
.gallery-copy h2,
.contact-content h2 {
  font-size: clamp(34px, 5.4vw, 82px);
  line-height: 0.98;
}

.material-copy p,
.editorial-text p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(23, 20, 18, 0.68);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}

.material-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.material-image img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--parallax-y, 0) * 1px), 0) scale(1.04);
}

.material-board-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  overflow: visible;
  border-radius: 0;
  aspect-ratio: 1.22 / 1;
  min-height: clamp(420px, 48vw, 660px);
  padding: clamp(12px, 2vw, 22px) 0;
  perspective: 1300px;
  isolation: isolate;
}

.material-board {
  position: relative;
  z-index: 1;
  width: clamp(168px, 18vw, 254px);
  aspect-ratio: 0.46 / 1;
  margin: 0 0 0 clamp(-58px, -4.8vw, -28px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--ink);
  box-shadow: 0 28px 68px rgba(23, 20, 18, 0.22);
  cursor: pointer;
  transform: translate3d(0, var(--board-y, 0), 0) rotate(var(--board-rotate, 0deg)) scale(0.96);
  transform-origin: center bottom;
  transition: transform 520ms var(--ease), filter 520ms var(--ease), opacity 520ms var(--ease),
    box-shadow 520ms var(--ease);
}

.material-board:first-child {
  margin-left: 0;
}

.material-board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.material-board-cemento {
  --board-y: 18px;
  --board-rotate: -5deg;
}

.material-board-legno {
  --board-y: -18px;
  --board-rotate: 3deg;
}

.material-board-marmo {
  --board-y: 24px;
  --board-rotate: -2deg;
}

.material-board-gres {
  --board-y: -8px;
  --board-rotate: 5deg;
}

.material-board-stack:hover .material-board,
.material-board-stack:focus-within .material-board {
  opacity: 0.58;
  filter: saturate(0.74) contrast(0.92);
  transform: translate3d(0, var(--board-y, 0), 0) rotate(var(--board-rotate, 0deg)) scale(0.9);
}

.material-board-stack .material-board:hover,
.material-board-stack .material-board:focus-visible {
  z-index: 4;
  opacity: 1;
  filter: saturate(1) contrast(1.04);
  box-shadow: 0 38px 92px rgba(23, 20, 18, 0.34);
  outline: none;
  transform: translate3d(0, calc(var(--board-y, 0) - 22px), 92px) rotate(0deg) scale(1.12);
}

.material-catalog-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.catalog-heading {
  color: var(--petrol);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 249, 242, 0.42);
  border-radius: 999px;
  background: rgba(23, 20, 18, 0.32);
  color: var(--bone);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: background 260ms var(--ease), border-color 260ms var(--ease), color 260ms var(--ease),
    transform 260ms var(--ease);
}

.catalog-links a:hover,
.catalog-links a:focus-visible {
  border-color: var(--peach);
  background: var(--peach);
  color: var(--ink);
  transform: translateY(-2px);
}

.catalog-links-dark a {
  border-color: rgba(23, 20, 18, 0.18);
  background: rgba(255, 249, 242, 0.52);
  color: var(--ink);
  backdrop-filter: none;
}

.catalog-links-dark a:hover,
.catalog-links-dark a:focus-visible {
  border-color: var(--petrol);
  background: var(--petrol);
  color: var(--bone);
}

.journey-section {
  position: relative;
  background: var(--petrol-deep);
  color: var(--bone);
  overflow: hidden;
}

.journey-section::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.14;
  background-image: url("assets/pattern-testo.png");
  background-size: 980px auto;
  transform: rotate(-5deg) translate3d(calc(var(--scroll-progress, 0) * 110px), 0, 0);
  pointer-events: none;
}

.journey-intro,
.journey-steps {
  position: relative;
}

.journey-intro {
  width: min(840px, 100%);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 7vw, 90px);
  background: var(--white-line);
}

.step {
  min-height: 310px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(5, 63, 63, 0.88);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 249, 242, 0.28);
  border-radius: 50%;
  color: var(--peach);
  font-size: 12px;
}

.step h3 {
  margin: 86px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
}

.step p {
  margin: 0;
  color: rgba(255, 249, 242, 0.68);
  line-height: 1.58;
}

.brief-section {
  padding: clamp(76px, 11vw, 142px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0.72), rgba(247, 239, 231, 0.96)),
    var(--paper);
}

.brief-intro {
  width: min(860px, 100%);
  margin-bottom: clamp(34px, 6vw, 72px);
}

.brief-intro p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(23, 20, 18, 0.66);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.62;
}

.appointment-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 clamp(28px, 5vw, 54px);
}

.appointment-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  border: 1px solid rgba(23, 20, 18, 0.12);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 249, 242, 0.62);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 320ms var(--ease), background 320ms var(--ease), color 320ms var(--ease),
    border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

.appointment-card:hover,
.appointment-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(5, 63, 63, 0.42);
  outline: none;
}

.appointment-card.is-active {
  border-color: var(--petrol-deep);
  background: var(--petrol-deep);
  color: var(--bone);
  box-shadow: 0 24px 70px rgba(5, 63, 63, 0.16);
}

.appointment-card-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--peach);
  font-size: 11px;
  font-weight: 800;
}

.appointment-card strong {
  max-width: 520px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 400;
  line-height: 0.98;
}

.appointment-card small {
  max-width: 520px;
  color: currentColor;
  opacity: 0.72;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
}

.appointment-card-action {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--peach);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.appointment-panel[hidden] {
  display: none;
}

.brief-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.brief-fields {
  display: grid;
  gap: 14px;
}

.brief-block {
  margin: 0;
  border: 1px solid rgba(23, 20, 18, 0.12);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 249, 242, 0.62);
}

.brief-block legend {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  color: var(--ink);
}

.brief-block legend span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--petrol-deep);
  color: var(--bone);
  font-size: 11px;
  font-weight: 800;
}

.brief-block legend strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.brief-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brief-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.brief-block label,
.brief-full {
  display: grid;
  gap: 8px;
  color: rgba(23, 20, 18, 0.7);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.brief-full {
  margin-top: 14px;
}

.brief-block input,
.brief-block select,
.brief-block textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 20, 18, 0.14);
  border-radius: 8px;
  background: var(--bone);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 13px;
  outline: none;
  text-transform: none;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.brief-block select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.brief-block textarea {
  resize: vertical;
}

.brief-block input:focus,
.brief-block select:focus,
.brief-block textarea:focus {
  border-color: var(--petrol);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(7, 138, 131, 0.12);
}

.brief-summary {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 28px 90px rgba(23, 20, 18, 0.18);
}

.brief-preview {
  min-height: 260px;
  display: grid;
  gap: 12px;
  align-content: start;
  color: rgba(255, 249, 242, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.brief-preview p,
.brief-preview ul {
  margin: 0;
}

.brief-preview ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.brief-preview li {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 249, 242, 0.12);
}

.brief-preview strong {
  display: block;
  color: var(--peach);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.brief-submit-row {
  display: grid;
  gap: 10px;
}

.brief-submit-row .button {
  width: 100%;
}

.text-button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--peach-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: 4px 0 0;
  color: rgba(255, 249, 242, 0.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.appointment-form .form-status {
  color: rgba(23, 20, 18, 0.68);
}

.form-status[data-status="success"] {
  color: var(--petrol);
}

.brief-summary .form-status[data-status="success"],
.simple-consultation .form-status[data-status="success"] {
  color: var(--peach-soft);
}

.form-status[data-status="error"] {
  color: #b94a3c;
}

.simple-consultation .form-status {
  grid-column: 1 / -1;
}

.simple-consultation {
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  border: 1px solid rgba(23, 20, 18, 0.12);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 46px);
  background: var(--ink);
  color: var(--bone);
}

.simple-consultation-copy h3 {
  max-width: 520px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 70px);
  font-weight: 400;
  line-height: 0.98;
}

.simple-consultation-copy p:last-child {
  max-width: 500px;
  margin: 22px 0 0;
  color: rgba(255, 249, 242, 0.68);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.simple-consultation-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.simple-consultation-fields label {
  display: grid;
  gap: 8px;
  color: rgba(255, 249, 242, 0.72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.simple-consultation-fields input,
.simple-consultation-fields textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 249, 242, 0.2);
  border-radius: 8px;
  background: rgba(255, 249, 242, 0.08);
  color: var(--bone);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 13px;
  outline: none;
  text-transform: none;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.simple-consultation-fields textarea {
  resize: vertical;
}

.simple-consultation-fields input:focus,
.simple-consultation-fields textarea:focus {
  border-color: var(--peach);
  background: rgba(255, 249, 242, 0.12);
  box-shadow: 0 0 0 3px rgba(221, 177, 144, 0.18);
}

.simple-consultation-fields .button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
}

.editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: 92svh;
  background: var(--brown);
  color: var(--bone);
}

.editorial-media {
  min-height: 520px;
  overflow: hidden;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.05);
}

.editorial-text {
  align-self: center;
  padding: clamp(50px, 7vw, 92px);
}

.editorial-text p {
  color: rgba(255, 249, 242, 0.74);
}

.text-link {
  position: relative;
  display: inline-block;
  margin-top: 28px;
  color: var(--peach-soft);
  font-size: 13px;
  text-transform: uppercase;
}

.gallery-section,
.brand-loop-section {
  background: var(--bone);
}

.gallery-copy {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.86fr 0.86fr;
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: clamp(320px, 52vw, 640px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(23, 20, 18, 0.82), rgba(23, 20, 18, 0));
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.86);
  transition: opacity 500ms var(--ease), transform 700ms var(--ease);
}

.gallery-item:hover img,
.gallery-item.is-active img {
  opacity: 1;
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  max-width: min(440px, calc(100% - 36px));
  color: var(--bone);
}

.gallery-item figcaption span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
}

.pattern-panel img {
  filter: invert(1) sepia(0.2) saturate(0.7);
}

.brand-loop-section {
  overflow: hidden;
  padding: clamp(56px, 8vw, 108px) 0;
  border-top: 1px solid var(--line);
}

.brand-loop-head {
  width: min(960px, calc(100% - clamp(36px, 10vw, 144px)));
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.brand-loop-head h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 72px);
  font-weight: 400;
  line-height: 0.98;
}

.brand-loop {
  position: relative;
  display: flex;
  overflow: hidden;
  background: #fff;
  border-block: 1px solid rgba(23, 20, 18, 0.08);
}

.brand-loop::before,
.brand-loop::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(48px, 11vw, 180px);
  pointer-events: none;
}

.brand-loop::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.brand-loop::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.brand-loop-track {
  display: flex;
  width: max-content;
  animation: brandLoop 38s linear infinite;
}

.brand-loop:hover .brand-loop-track,
.brand-loop:focus-within .brand-loop-track {
  animation-play-state: paused;
}

.brand-loop a {
  width: clamp(190px, 18vw, 300px);
  min-height: clamp(108px, 11vw, 150px);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 22px clamp(18px, 3vw, 34px);
  opacity: 0.72;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease), filter 280ms var(--ease);
}

.brand-loop a:hover,
.brand-loop a:focus-visible {
  opacity: 1;
  filter: contrast(1.08);
  outline: none;
  transform: translateY(-4px);
}

.brand-loop img {
  width: min(190px, 100%);
  max-height: 70px;
  object-fit: contain;
}

.contact-section {
  position: relative;
  min-height: 76svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(76px, 11vw, 140px) clamp(18px, 5vw, 72px);
  text-align: center;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    linear-gradient(135deg, transparent, rgba(221, 177, 144, 0.42)),
    url("assets/pattern-testo.png") center / 1180px auto;
}

.contact-mark {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 54px);
  width: clamp(54px, 7vw, 92px);
  opacity: 0.34;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}

.contact-content .section-kicker {
  color: var(--peach);
}

.contact-content h2 {
  color: var(--bone);
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(36px, 5vw, 64px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto clamp(18px, 5vw, 72px) 22px auto;
  width: min(280px, 58vw);
  aspect-ratio: 1;
  border: 1px solid rgba(7, 138, 131, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(210px, 0.8fr) minmax(220px, 0.78fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.footer-brand img {
  width: min(158px, 44vw);
}

.footer-brand p {
  max-width: 320px;
  margin: 18px 0 0;
  color: rgba(23, 20, 18, 0.64);
  font-size: 14px;
  line-height: 1.5;
}

.footer-contacts {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-contacts > a {
  width: fit-content;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 650;
  line-height: 1.25;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-socials a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(23, 20, 18, 0.72);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 260ms var(--ease), border-color 260ms var(--ease), color 260ms var(--ease),
    transform 260ms var(--ease);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--petrol);
  background: var(--petrol);
  color: var(--bone);
  transform: translateY(-2px);
}

.footer-map {
  position: relative;
  min-height: 156px;
  display: grid;
  align-content: end;
  gap: 5px;
  overflow: hidden;
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(5, 63, 63, 0.14) 32.5% 33.5%, transparent 34%),
    linear-gradient(0deg, transparent 47%, rgba(5, 63, 63, 0.14) 47.5% 48.5%, transparent 49%),
    repeating-linear-gradient(35deg, rgba(5, 63, 63, 0.12) 0 1px, transparent 1px 30px),
    rgba(5, 63, 63, 0.06);
  color: var(--petrol-deep);
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(5, 63, 63, 0.16);
}

.footer-map::before,
.footer-map::after {
  content: "";
  position: absolute;
  inset: 18% auto auto 12%;
  width: 48%;
  height: 30%;
  border: 1px solid rgba(5, 63, 63, 0.18);
  border-radius: 48% 52% 40% 60%;
  transform: rotate(-12deg);
}

.footer-map::after {
  inset: auto 8% 16% auto;
  width: 40%;
  height: 30%;
  border-color: rgba(5, 63, 63, 0.18);
  transform: rotate(16deg);
}

.map-pin {
  position: absolute;
  top: 42%;
  left: 52%;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--petrol-deep);
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 10px 24px rgba(5, 63, 63, 0.18);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--paper);
}

.footer-map span:not(.map-pin),
.footer-map small {
  position: relative;
  z-index: 1;
}

.footer-map span:not(.map-pin) {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-map small {
  color: rgba(5, 63, 63, 0.66);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.appointment-modal[hidden] {
  display: none;
}

.appointment-modal,
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 20, 18, 0.64);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88svh, 860px);
  overflow: auto;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(26px, 5vw, 48px);
  box-shadow: 0 28px 90px rgba(23, 20, 18, 0.34);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h2 {
  max-width: 560px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: rgba(23, 20, 18, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bone);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 14px 14px;
  outline: none;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.appointment-form textarea {
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(7, 138, 131, 0.14);
}

.form-full,
.form-submit {
  grid-column: 1 / -1;
}

.form-submit {
  justify-self: start;
  margin-top: 4px;
}

.brochure-modal[hidden] {
  display: none;
}

.brochure-panel {
  position: relative;
  width: min(1180px, calc(100vw - 32px));
  max-height: min(92svh, 920px);
  overflow: hidden;
  border-radius: 8px;
  background: #161412;
  color: var(--bone);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 34px 110px rgba(23, 20, 18, 0.48);
}

.brochure-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(14px, 2vw, 24px);
}

.brochure-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.brochure-head .modal-close {
  position: static;
  flex: 0 0 38px;
  color: var(--bone);
  border-color: rgba(255, 249, 242, 0.28);
}

.brochure-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(58vw, 560px);
  perspective: 1600px;
}

.brochure-book {
  position: relative;
  width: min(960px, 78vw);
  aspect-ratio: 11 / 6;
  border-radius: 8px;
  transform-style: preserve-3d;
}

.brochure-book::before,
.brochure-book::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(28px);
  transform: translateY(18px);
}

.brochure-book::after {
  inset: 0;
  border: 1px solid rgba(255, 249, 242, 0.16);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 50%, rgba(0, 0, 0, 0.18));
  filter: none;
  transform: none;
  pointer-events: none;
}

.brochure-page {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  transform-origin: left center;
  transform-style: preserve-3d;
}

.brochure-page.is-flipping-next {
  animation: flipNext 620ms var(--ease);
}

.brochure-page.is-flipping-prev {
  animation: flipPrev 620ms var(--ease);
}

.brochure-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}

.brochure-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 249, 242, 0.3);
  border-radius: 50%;
  background: rgba(255, 249, 242, 0.08);
  color: var(--bone);
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 250ms var(--ease), opacity 250ms var(--ease), transform 250ms var(--ease);
}

.brochure-nav:hover {
  background: rgba(255, 249, 242, 0.16);
  transform: translateY(-50%) scale(1.04);
}

.brochure-nav:disabled {
  cursor: default;
  opacity: 0.28;
}

.brochure-prev {
  left: clamp(8px, 2vw, 24px);
}

.brochure-next {
  right: clamp(8px, 2vw, 24px);
}

.brochure-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(14px, 2vw, 24px);
  color: rgba(255, 249, 242, 0.74);
  font-size: 13px;
  text-transform: uppercase;
}

.brochure-controls .text-link {
  margin-top: 0;
}

@keyframes flipNext {
  0% {
    opacity: 1;
    transform: rotateY(0deg);
  }

  48% {
    opacity: 0.44;
    transform: rotateY(-68deg) translateX(-18px);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

@keyframes flipPrev {
  0% {
    opacity: 1;
    transform: rotateY(0deg);
  }

  48% {
    opacity: 0.44;
    transform: rotateY(68deg) translateX(18px);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes brandLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(112px, 160px) auto;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .nav-cta {
    min-width: 172px;
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 220px;
  }

  .hero-note {
    left: 18px;
    right: auto;
  }

  .material-grid,
  .editorial-section {
    grid-template-columns: 1fr;
  }

  .material-board-stack {
    justify-content: center;
    min-height: clamp(390px, 82vw, 620px);
  }

  .journey-steps,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .appointment-choice,
  .brief-configurator {
    grid-template-columns: 1fr;
  }

  .simple-consultation {
    grid-template-columns: 1fr;
  }

  .brief-summary {
    position: relative;
    top: auto;
  }

  .brief-grid-three,
  .brief-grid-four,
  .brief-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 250px;
  }

  .step h3 {
    margin-top: 56px;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    padding-inline: 14px;
    gap: 12px;
  }

  .brand {
    width: 132px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .language-switcher button {
    width: 28px;
  }

  .nav-cta {
    min-width: 0;
    flex: 1;
    padding-inline: 12px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .gallery-copy {
    display: block;
  }

  .brand-loop-section {
    padding-block: 48px;
  }

  .brand-loop-head {
    width: calc(100% - 28px);
  }

  .brand-loop a {
    width: 178px;
    min-height: 104px;
    padding: 18px;
  }

  .brand-loop img {
    max-height: 58px;
  }

  .material-board-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 370px;
    padding-block: 18px;
  }

  .material-board {
    flex: 0 0 auto;
    width: clamp(88px, 25vw, 112px);
    margin-left: -26px;
    box-shadow: 0 20px 44px rgba(23, 20, 18, 0.2);
  }

  .material-board-stack .material-board:hover,
  .material-board-stack .material-board:focus-visible {
    transform: translate3d(0, calc(var(--board-y, 0) - 12px), 68px) rotate(0deg) scale(1.08);
  }

  .footer-map {
    min-height: 150px;
    padding: 18px;
  }

  .appointment-form {
    grid-template-columns: 1fr;
  }

  .brief-section {
    padding-inline: 14px;
  }

  .brief-grid,
  .brief-grid-three,
  .brief-grid-four,
  .brief-grid-five {
    grid-template-columns: 1fr;
  }

  .brief-block {
    padding: 18px 14px;
  }

  .brief-block legend {
    padding-inline: 6px;
  }

  .appointment-card {
    min-height: 210px;
  }

  .simple-consultation-fields {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    max-height: 92svh;
    padding-top: 54px;
  }

  .brochure-panel {
    width: calc(100vw - 20px);
    max-height: 94svh;
    padding: 16px;
  }

  .brochure-head {
    gap: 14px;
  }

  .brochure-stage {
    min-height: 48vw;
  }

  .brochure-book {
    width: 100%;
  }

  .brochure-nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .brochure-prev {
    left: 6px;
  }

  .brochure-next {
    right: 6px;
  }

  .brochure-controls {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
