:root {
  color-scheme: light;
  --ink: #171713;
  --ink-soft: #22221d;
  --paper: #f3f0e8;
  --paper-light: #faf8f3;
  --paper-deep: #e7e1d7;
  --white: #fffdf8;
  --gold: #b28b54;
  --gold-light: #ceb17f;
  --gold-deep: #735832;
  --line: rgba(23, 23, 19, 0.18);
  --line-soft: rgba(23, 23, 19, 0.1);
  --line-light: rgba(255, 253, 248, 0.2);
  --container: 82rem;
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.2rem;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
address { font-style: normal; }

.container {
  width: min(calc(100% - 4rem), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--gold-light);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.topbar {
  color: rgba(23, 23, 19, 0.66);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar-inner {
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(23, 23, 19, 0.98);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12); }

.header-inner {
  min-height: 5.65rem;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.8rem);
}

.logo {
  width: 13.3rem;
  flex: 0 0 auto;
}

.logo img,
.footer-logo img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.2rem);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.075em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--white); }

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button { display: none; }

.button {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-large { min-height: 3.9rem; padding-inline: 1.8rem; }

.button-gold {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button-gold:hover {
  background: var(--white);
  border-color: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.header-button {
  flex: 0 0 auto;
  min-height: 2.9rem;
  padding: 0.7rem 1.05rem;
  font-size: 0.64rem;
}

.eyebrow {
  margin: 0 0 1.45rem;
  color: var(--gold-deep);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  margin-bottom: 1.6rem;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 9.5ch;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.91;
}

h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.3vw, 5.75rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 8vw, 8.25rem) 0 clamp(6.5rem, 10vw, 10rem);
  background: var(--paper-light);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(178, 139, 84, 0.18);
  pointer-events: none;
}

.hero::before { right: max(2rem, calc((100vw - var(--container)) / 2)); }
.hero::after { right: max(2.45rem, calc((100vw - var(--container)) / 2 + 0.45rem)); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(30rem, 1.08fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.hero-copy { padding-left: clamp(0rem, 1vw, 1rem); }

.hero-edition {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 34rem;
  margin-bottom: clamp(3.25rem, 6vw, 6rem);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  color: rgba(23, 23, 19, 0.48);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: 2.25rem;
  color: rgba(23, 23, 19, 0.68);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.45rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0;
  margin: 2.5rem 0 0;
  padding: 1.45rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: rgba(23, 23, 19, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
}

.hero-highlights li:not(:last-child)::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  margin-inline: 0.8rem;
  background: var(--gold);
}

.hero-visual {
  position: relative;
  min-height: 49rem;
}

.hero-main-image {
  position: absolute;
  inset: 0 0 0 15%;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 10, 0.42), transparent 34%);
  pointer-events: none;
}

.hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main-image figcaption {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 1.7rem;
  left: 2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
}

.hero-main-image figcaption span,
.hero-inset-image figcaption span {
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-main-image figcaption strong,
.hero-inset-image figcaption strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.hero-inset-image {
  position: absolute;
  z-index: 2;
  width: 51%;
  bottom: 2.5rem;
  left: 0;
  margin: 0;
  padding: 0.55rem;
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.hero-inset-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-inset-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0.15rem 0.1rem;
  color: rgba(23, 23, 19, 0.66);
}

.hero-inset-image figcaption strong { font-size: 0.95rem; }

.warranty-seal {
  position: absolute;
  z-index: 3;
  top: 2.5rem;
  right: -1.1rem;
  width: 7rem;
  min-height: 7.7rem;
  display: grid;
  place-content: center;
  padding: 0.9rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--gold-light);
  text-align: center;
}

.warranty-seal span,
.warranty-seal small {
  color: var(--gold-light);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.warranty-seal strong {
  margin-block: 0.05rem -0.1rem;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.proof-strip {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  min-height: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem clamp(1rem, 2.8vw, 2.8rem);
  border-left: 1px solid var(--line);
}

.proof-grid > div:last-child { border-right: 1px solid var(--line); }

.proof-grid strong {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.proof-grid span {
  color: rgba(23, 23, 19, 0.52);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section { padding: clamp(7rem, 11vw, 11.5rem) 0; }
.section-heading { margin-bottom: clamp(3.5rem, 7vw, 7rem); }

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
  gap: clamp(2.5rem, 9vw, 9rem);
  align-items: end;
}

.split-heading h2 { margin-bottom: 0; }

.split-heading > p,
.projects-heading > p {
  margin-bottom: 0.35rem;
  color: rgba(23, 23, 19, 0.62);
  line-height: 1.9;
}

.intro-section { background: var(--paper); }

.solution-grid { border-top: 1px solid var(--line); }

.solution-card {
  display: grid;
  grid-template-columns: 5rem minmax(15rem, 0.75fr) minmax(19rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  padding: clamp(2.4rem, 4.5vw, 4.3rem) 0;
  border-bottom: 1px solid var(--line);
}

.card-number {
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.solution-title h3 {
  max-width: 11ch;
  margin: 0;
}

.mini-label {
  margin: 0 0 0.85rem;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.solution-content > p {
  max-width: 38rem;
  margin-bottom: 1.6rem;
  color: rgba(23, 23, 19, 0.64);
  line-height: 1.8;
}

.solution-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  color: rgba(23, 23, 19, 0.74);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.solution-content li::before {
  content: "—";
  margin-right: 0.55rem;
  color: var(--gold-deep);
}

.solution-card.featured .card-number,
.solution-card.featured .mini-label { color: var(--gold); }

.projects-section {
  background: var(--paper-light);
  border-block: 1px solid var(--line-soft);
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.projects-heading h2 { margin-bottom: 0; }
.projects-heading > p { max-width: 29rem; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.3vw, 2.4rem) clamp(1rem, 2vw, 2rem);
  counter-reset: project;
}

.project-card {
  display: flex;
  grid-column: span 4;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  counter-increment: project;
}

.project-card.project-feature,
.project-card.project-wide { grid-column: span 8; }

.project-card.project-portrait { grid-column: span 4; }

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.project-card.project-feature img { aspect-ratio: 16 / 10; }
.project-card.project-wide img { aspect-ratio: 16 / 9; }
.project-card.project-portrait img { aspect-ratio: 4 / 5.05; }
.project-card:hover img { filter: saturate(0.92); transform: scale(1.018); }

.project-card figcaption {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  padding: 1rem 0 0;
}

.project-card figcaption::after {
  content: "0" counter(project);
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  color: rgba(23, 23, 19, 0.38);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.project-card figcaption span {
  color: var(--gold-deep);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-card figcaption strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.projects-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(3.25rem, 6vw, 6rem);
  padding: 1.6rem 0;
  border-block: 1px solid var(--line);
}

.projects-cta p {
  margin: 0;
  color: rgba(23, 23, 19, 0.6);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.factory-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.64fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
}

.factory-copy h2 { max-width: 12ch; }

.factory-lead {
  max-width: 42rem;
  color: rgba(23, 23, 19, 0.66);
  font-size: 1.05rem;
  line-height: 1.9;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: rgba(23, 23, 19, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.check-list li::before {
  content: "—";
  margin-right: 0.55rem;
  color: var(--gold-deep);
}

.factory-statement {
  position: relative;
  padding: 2.3rem 0 2.3rem 2rem;
  border-block: 1px solid var(--line);
  border-left: 1px solid var(--gold);
}

.factory-statement span {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.factory-statement p {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: clamp(4rem, 8vw, 8rem);
}

.factory-slot {
  position: relative;
  grid-column: span 3;
  min-height: 31rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-soft);
}

.factory-slot-featured { grid-column: span 6; }

.factory-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.factory-slot:hover img { transform: scale(1.025); }
.factory-slot-showroom img { object-position: center; }
.factory-slot-machines img { object-position: 48% center; }

.factory-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.06) 24%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.slot-index,
.factory-slot figcaption {
  position: relative;
  z-index: 1;
}

.slot-index {
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.factory-slot figcaption { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55); }
.factory-slot h3 { margin-bottom: 0.35rem; font-size: 2rem; }
.factory-slot p { margin: 0; color: rgba(255, 253, 248, 0.76); font-size: 0.76rem; }

.process-section {
  color: var(--white);
  background: var(--ink);
}

.process-section .eyebrow { color: var(--gold-light); }
.process-section .split-heading > p { color: rgba(255, 253, 248, 0.58); }

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(4rem, 0.25fr) minmax(0, 1.75fr);
  gap: 1.5rem;
  padding: 2.35rem 0;
  border-bottom: 1px solid var(--line-light);
}

.process-list > li > span {
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.process-list h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.process-list li > div {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) minmax(17rem, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
}

.process-list p {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 253, 248, 0.58);
}

.quality-section {
  color: var(--ink);
  background: var(--paper-deep);
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(21rem, 0.68fr) minmax(0, 1fr);
  gap: clamp(3.5rem, 9vw, 9rem);
  align-items: stretch;
}

.quality-image {
  min-height: 47rem;
  overflow: hidden;
}

.quality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quality-copy > p:not(.eyebrow) {
  max-width: 40rem;
  color: rgba(23, 23, 19, 0.63);
  font-size: 1.05rem;
  line-height: 1.9;
}

.quality-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.2rem;
  border-block: 1px solid var(--line);
}

.quality-items article {
  padding: 1.8rem 1.4rem 1.8rem 0;
  border-right: 1px solid var(--line);
}

.quality-items article:not(:first-child) { padding-left: 1.4rem; }
.quality-items article:last-child { border-right: 0; }

.quality-items span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--gold-deep);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.quality-items strong {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.quality-items p {
  margin: 0;
  color: rgba(23, 23, 19, 0.55);
  font-size: 0.73rem;
  line-height: 1.65;
}

.faq-section { background: var(--paper-light); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.62fr) minmax(0, 1fr);
  gap: clamp(3rem, 10vw, 10rem);
}

.faq-intro {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.faq-intro p:last-child {
  max-width: 28rem;
  color: rgba(23, 23, 19, 0.62);
}

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 1.8rem 3rem 1.8rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.58rem);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.2rem;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 1.45rem;
  font-weight: 300;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  max-width: 42rem;
  margin: -0.25rem 0 1.8rem;
  padding-right: 2.5rem;
  color: rgba(23, 23, 19, 0.62);
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 11vw, 11rem) 0;
  color: var(--white);
  background: var(--ink-soft);
}

.contact-section::after {
  content: "D";
  position: absolute;
  right: -0.06em;
  bottom: -0.33em;
  color: rgba(255, 253, 248, 0.025);
  font-family: var(--serif);
  font-size: min(34rem, 45vw);
  line-height: 1;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.52fr);
  gap: clamp(3rem, 10vw, 10rem);
}

.contact-main .eyebrow { color: var(--gold-light); }
.contact-main h2 { max-width: 10.5ch; }

.contact-main > p:not(.eyebrow) {
  max-width: 39rem;
  color: rgba(255, 253, 248, 0.62);
  font-size: 1.05rem;
  line-height: 1.85;
}

.contact-main .button { margin-top: 1.3rem; }
.contact-details { border-top: 1px solid var(--line-light); }
.contact-details > div { padding: 1.55rem 0; border-bottom: 1px solid var(--line-light); }

.contact-details span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold-light);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-details address,
.contact-details p {
  margin-bottom: 0.75rem;
  color: rgba(255, 253, 248, 0.72);
}

.contact-details a {
  display: block;
  width: fit-content;
  margin-top: 0.35rem;
  text-underline-offset: 0.28rem;
}

.contact-details small {
  color: rgba(255, 253, 248, 0.48);
  font-size: 0.73rem;
}

.site-footer {
  padding: 3.2rem 0;
  color: rgba(255, 253, 248, 0.54);
  background: var(--ink);
  border-top: 1px solid var(--line-light);
  font-size: 0.7rem;
  letter-spacing: 0.025em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 12rem minmax(12rem, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
}

.footer-logo { width: 11.5rem; }
.footer-grid > p { margin: 0; }

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 1.25rem;
  bottom: 1.25rem;
  min-height: 3.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 0.8rem 2.25rem rgba(0, 0, 0, 0.18);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
  background: var(--ink-soft);
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: var(--gold-light);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(1.3rem);
}

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

.reveal { transition: opacity 700ms ease, transform 700ms ease; }

@media (max-width: 1120px) {
  .header-button { display: none; }
  .primary-nav { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 0.85fr); gap: 3.5rem; }
  .hero-visual { min-height: 43rem; }
  .warranty-seal { right: -0.4rem; }
  .solution-card { grid-template-columns: 4rem minmax(14rem, 0.75fr) minmax(18rem, 1fr); gap: 2rem; }
  .quality-grid { gap: 4rem; }
  .quality-items { grid-template-columns: 1fr; }
  .quality-items article,
  .quality-items article:not(:first-child) {
    padding: 1.3rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quality-items article:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 5.25rem; }
  .topbar { display: none; }
  .container { width: min(calc(100% - 2.5rem), var(--container)); }
  .header-inner { min-height: 5rem; }
  .logo { width: 11.5rem; }

  .menu-button {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    align-content: center;
    gap: 0.45rem;
    margin-left: auto;
    padding: 0.65rem;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--line-light);
    border-radius: 0;
  }

  .menu-button span:not(.sr-only) {
    width: 100%;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(0.25rem) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.25rem) rotate(-45deg); }

  .primary-nav {
    position: fixed;
    inset: 5rem 0 auto;
    min-height: calc(100dvh - 5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 2rem 1.25rem 5rem;
    color: var(--white);
    background: var(--ink);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 240ms ease, visibility 240ms ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav a {
    width: 100%;
    padding: 1.1rem 0.5rem;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--serif);
    font-size: 1.75rem;
    letter-spacing: 0;
  }

  .primary-nav a::after { display: none; }

  .hero { padding-top: 4.75rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 4.5rem; }
  .hero-copy { max-width: 45rem; }
  .hero-edition { max-width: none; margin-bottom: 3.5rem; }
  .hero-visual { width: min(100%, 42rem); min-height: 46rem; margin-inline: auto; }
  .hero-main-image { inset-inline: 11% 0; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { min-height: 7.7rem; border-bottom: 1px solid var(--line); }
  .proof-grid > div:nth-child(odd) { border-left: 0; }
  .proof-grid > div:last-child { border-right: 0; }

  .split-heading,
  .factory-layout,
  .quality-grid,
  .faq-layout,
  .contact-grid { grid-template-columns: 1fr; }

  .split-heading { align-items: start; }
  .split-heading > p { max-width: 40rem; }

  .solution-card { grid-template-columns: 3.5rem minmax(0, 0.8fr) minmax(0, 1fr); gap: 1.5rem; }
  .projects-heading { align-items: flex-start; flex-direction: column; }
  .project-card,
  .project-card.project-feature,
  .project-card.project-wide,
  .project-card.project-portrait { grid-column: span 6; }
  .project-card.project-feature img,
  .project-card.project-wide img { aspect-ratio: 4 / 3; }
  .project-card.project-portrait img { aspect-ratio: 4 / 5; }

  .factory-copy { max-width: 46rem; }
  .factory-statement { max-width: 40rem; }
  .factory-gallery { grid-template-columns: repeat(2, 1fr); }
  .factory-slot,
  .factory-slot-featured { grid-column: auto; min-height: 26rem; }
  .factory-slot-featured { grid-column: 1 / -1; min-height: 34rem; }

  .process-list li > div { grid-template-columns: 1fr; gap: 0.55rem; }
  .quality-image { min-height: 39rem; }
  .quality-copy { max-width: 48rem; }
  .quality-items { grid-template-columns: repeat(3, 1fr); }
  .quality-items article,
  .quality-items article:not(:first-child) {
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .quality-items article:first-child { padding-left: 0; }
  .quality-items article:last-child { border-right: 0; }
  .faq-intro { position: static; }
  .contact-details { max-width: 38rem; }
  .footer-grid { grid-template-columns: 12rem 1fr; }
  .footer-legal { grid-column: 1 / -1; align-items: flex-start; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  h1 { font-size: clamp(3.4rem, 15vw, 4.8rem); }
  h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero::before,
  .hero::after { display: none; }
  .hero-edition { margin-bottom: 2.75rem; }
  .hero-edition span:last-child { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { width: fit-content; }
  .hero-highlights { flex-direction: column; }
  .hero-highlights li:not(:last-child)::after { display: none; }
  .hero-visual { min-height: 35rem; }
  .hero-main-image { inset: 0 0 0 6%; }
  .hero-main-image figcaption { right: 1rem; bottom: 1rem; left: 1rem; }
  .hero-main-image figcaption strong { display: none; }
  .hero-inset-image { width: 66%; bottom: 1.25rem; }
  .hero-inset-image figcaption strong { display: none; }
  .warranty-seal { top: 1.25rem; right: -0.15rem; width: 6rem; min-height: 6.7rem; }
  .warranty-seal strong { font-size: 2.75rem; }

  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 6.8rem; padding-inline: 0; border-left: 0; }

  .solution-card { grid-template-columns: 2.8rem 1fr; }
  .solution-content { grid-column: 2; }

  .project-card,
  .project-card.project-feature,
  .project-card.project-wide,
  .project-card.project-portrait { grid-column: 1 / -1; }
  .projects-cta { align-items: flex-start; flex-direction: column; }

  .check-list { grid-template-columns: 1fr; }
  .factory-statement { padding-left: 1.3rem; }
  .factory-gallery { grid-template-columns: 1fr; }
  .factory-slot,
  .factory-slot-featured { grid-column: auto; min-height: 26rem; }

  .process-list li { grid-template-columns: 2.4rem 1fr; gap: 0.75rem; }
  .quality-image { min-height: 33rem; }
  .quality-items { grid-template-columns: 1fr; }
  .quality-items article,
  .quality-items article:not(:first-child) {
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quality-items article:last-child { border-bottom: 0; }
  .contact-main .button { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
  .whatsapp-float { width: 3.55rem; height: 3.55rem; justify-content: center; padding: 0; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal,
  html.js .reveal { opacity: 1; transform: none; }
}
