:root {
  --ink: #11100e;
  --ink-soft: #1b1916;
  --paper: #f1eee7;
  --ivory: #fbf8f0;
  --copper: #a96742;
  --copper-light: #c98255;
  --line-light: rgba(251, 248, 240, 0.2);
  --line-dark: rgba(17, 16, 14, 0.18);
  --text-muted: #68625a;
  --page: min(90rem, calc(100% - 3rem));
  --display: "Bodoni Moda", "Bodoni MT", Didot, Georgia, serif;
  --body: "Manrope", "Aptos", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(0.97rem, 0.94rem + 0.12vw, 1.06rem);
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-feature-settings: "kern" 1, "liga" 1;
  font-optical-sizing: auto;
  font-weight: 400;
  hyphens: none;
  line-height: 0.94;
  page-break-after: avoid;
}

h1 em,
h2 em {
  font-weight: 400;
  font-style: italic;
}

p {
  max-width: 65ch;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  background: var(--ivory);
  color: var(--ink);
}

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

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

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.section-light,
.section-paper {
  background: var(--ivory);
  color: var(--ink);
}

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

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--ivory);
  transition:
    background-color 240ms ease,
    border-color 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-bottom: 1px solid var(--line-light);
  background: rgba(17, 16, 14, 0.96);
}

.header-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--page);
  min-height: 6rem;
  align-items: center;
  margin-inline: auto;
  grid-template-columns: 14rem 1fr auto;
}

.brand {
  display: block;
  width: 12.5rem;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
  filter: invert(1) brightness(1.2);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.desktop-nav a,
.header-cta {
  position: relative;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

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

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

.header-cta {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid currentColor;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-items: end;
  color: var(--ivory);
  isolation: isolate;
}

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

.hero-media {
  transform: scale(1.03);
  background: url("assets/joker-hotel-coffee-hero.webp") center center / cover no-repeat;
  animation: hero-settle 1.6s var(--ease) both;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.93) 0%, rgba(8, 7, 6, 0.72) 39%, rgba(8, 7, 6, 0.08) 73%),
    linear-gradient(0deg, rgba(8, 7, 6, 0.7) 0%, transparent 45%);
}

.hero-grain {
  z-index: -1;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  display: grid;
  align-items: end;
  padding-top: 9rem;
  padding-bottom: clamp(5rem, 9vh, 8rem);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  gap: 4rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 2.5rem;
  height: 1px;
  background: var(--copper-light);
}

.eyebrow-dark {
  color: var(--text-muted);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.25rem, 7vw, 7.55rem);
  letter-spacing: -0.045em;
}

.hero-intro {
  max-width: 46rem;
  margin-top: 2rem;
  color: rgba(251, 248, 240, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  background: var(--copper);
  color: var(--ivory);
}

.button-primary:hover {
  background: var(--copper-light);
}

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

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

.button-outline {
  border-color: rgba(251, 248, 240, 0.65);
  color: var(--ivory);
}

.button-outline:hover {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
}

.text-link {
  font-size: 0.83rem;
  font-weight: 600;
  text-underline-offset: 0.45rem;
}

.hero-facts {
  display: grid;
  align-self: end;
  border-top: 1px solid var(--line-light);
}

.hero-facts > div {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-light);
}

.hero-facts dt {
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-facts dd {
  max-width: 28ch;
  margin-top: 0.55rem;
  color: rgba(251, 248, 240, 0.62);
  font-size: 0.75rem;
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  right: max(1.5rem, calc((100vw - 90rem) / 2));
  bottom: 0;
  display: flex;
  min-width: 8rem;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 4rem;
  background: var(--copper-light);
}

.statement {
  padding-block: clamp(7rem, 13vw, 13rem);
}

.statement-grid,
.private-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.section-kicker {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.section-kicker p,
.section-number,
.brand-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-number {
  color: var(--copper);
}

.section-kicker-light p {
  color: rgba(251, 248, 240, 0.58);
}

.statement-copy h2 {
  max-width: 25ch;
  font-size: clamp(2.5rem, 4.8vw, 5.4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.statement-copy > p {
  max-width: 47rem;
  margin-top: 2.5rem;
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.capabilities {
  padding-block: clamp(7rem, 11vw, 11rem);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 6rem;
  grid-template-columns: 1fr 1.6fr;
}

.section-heading h2,
.brand-heading h2 {
  font-size: clamp(3rem, 6vw, 6.7rem);
  letter-spacing: -0.04em;
  line-height: 0.93;
}

.capability-list {
  border-top: 1px solid var(--line-light);
}

.capability-item {
  display: grid;
  min-height: 10rem;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  grid-template-columns: 6rem 1fr auto;
  gap: 2rem;
  transition: background-color 220ms ease;
}

.capability-item:hover {
  background: rgba(251, 248, 240, 0.035);
}

.capability-index {
  color: var(--copper-light);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums lining-nums;
}

.capability-item > div {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(20rem, 1fr);
  gap: 4rem;
}

.capability-item h3 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.capability-item p {
  color: rgba(251, 248, 240, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.capability-mark {
  color: var(--copper-light);
  font-size: 1.4rem;
}

.brand-ecosystem {
  padding-block: clamp(7rem, 12vw, 12rem);
}

.brand-heading {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 4rem;
}

.brand-heading h2 {
  max-width: 15ch;
}

.brand-heading > div:last-child > p {
  max-width: 47rem;
  margin-top: 2rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.brand-groups {
  margin-top: 7rem;
  border-top: 1px solid var(--line-dark);
}

.brand-group {
  display: grid;
  min-height: 12rem;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 0.66fr 1.34fr;
  gap: 4rem;
}

.brand-label {
  color: var(--text-muted);
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.brand-row-machines {
  grid-template-columns: repeat(4, 1fr);
}

.brand-row span {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 3rem);
  line-height: 1;
}

.production {
  display: grid;
  min-height: 52rem;
  grid-template-columns: 1.16fr 0.84fr;
}

.production-media {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
}

.production-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production-stat {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(100%, 32rem);
  align-items: flex-end;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--ivory);
  color: var(--ink);
}

.production-stat span {
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 8rem);
  letter-spacing: -0.06em;
  line-height: 0.72;
}

.production-stat p {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.production-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(3rem, 6vw, 6rem);
}

.production-copy .section-number {
  color: var(--ink);
}

.production-copy-inner h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 4.7vw, 5.4rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.production-copy-inner > p {
  margin-top: 2rem;
  line-height: 1.65;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
}

.product-tags li {
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(17, 16, 14, 0.45);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.private-label {
  padding-block: clamp(7rem, 12vw, 12rem);
  overflow: hidden;
}

.private-grid {
  align-items: center;
}

.private-mark {
  position: relative;
}

.private-mark::after {
  position: absolute;
  border: 1px solid rgba(169, 103, 66, 0.38);
  content: "";
  inset: -12%;
  transform: rotate(7deg);
}

.private-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.private-copy h2 {
  max-width: 16ch;
  font-size: clamp(3rem, 5.3vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.private-copy > p:not(.eyebrow) {
  max-width: 46rem;
  margin-top: 2rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.private-copy .button {
  margin-top: 2.5rem;
}

.showroom {
  display: grid;
  min-height: 52rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.showroom-image {
  min-height: 38rem;
  background:
    linear-gradient(90deg, transparent 60%, rgba(17, 16, 14, 0.25)),
    url("assets/joker-hotel-coffee-hero.webp") 68% center / cover no-repeat;
}

.showroom-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(3rem, 6vw, 6rem);
  border-left: 1px solid var(--line-light);
}

.showroom-copy h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.2vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.showroom-copy p {
  margin-top: 2rem;
  color: rgba(251, 248, 240, 0.62);
  line-height: 1.65;
}

.showroom-copy .button {
  margin-top: 2.5rem;
}

.contact {
  padding-block: clamp(7rem, 12vw, 12rem);
}

.contact-copy h2 {
  max-width: 14ch;
  margin-top: 3rem;
  font-size: clamp(3rem, 5.6vw, 6.4rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.contact-copy > p {
  max-width: 38rem;
  margin-top: 2rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-placeholders {
  display: grid;
  margin-top: 4rem;
  border-top: 1px solid var(--line-dark);
}

.contact-placeholders > div {
  display: grid;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 8rem 1fr;
}

.contact-placeholders dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-placeholders dd {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.contact-form {
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--line-dark);
  background: var(--ivory);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.field {
  margin-bottom: 1.35rem;
}

.field label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 16, 14, 0.35);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 180ms ease;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--copper);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #9f2f26;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note,
.form-status {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.1rem;
  color: #7b3f23;
  font-weight: 600;
}

.site-footer {
  padding-top: 6rem;
  background: var(--ink);
  color: var(--ivory);
}

.footer-main {
  display: grid;
  align-items: end;
  padding-bottom: 4rem;
  grid-template-columns: 1fr 1fr auto;
  gap: 3rem;
}

.footer-brand {
  width: min(22rem, 100%);
}

.footer-main > p {
  max-width: 30ch;
  color: rgba(251, 248, 240, 0.58);
  font-size: 0.82rem;
}

.back-to-top {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-light);
  color: rgba(251, 248, 240, 0.45);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(2.2rem);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease);
}

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

@keyframes hero-settle {
  from {
    opacity: 0.4;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (max-width: 1100px) {
  :root {
    --page: min(100% - 2rem, 90rem);
  }

  .header-shell {
    min-height: 5rem;
    grid-template-columns: 12rem 1fr auto;
  }

  .brand {
    width: 10.5rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 3rem;
    height: 3rem;
    align-content: center;
    justify-self: end;
    gap: 0.4rem;
    padding: 0.75rem;
    border: 1px solid var(--line-light);
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.2rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-0.2rem) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 1;
    top: 5rem;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding: 2rem;
    transform: translateY(-1rem);
    background: var(--ink);
    opacity: 0;
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 220ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu a {
    font-family: var(--display);
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    line-height: 1;
    text-decoration: none;
  }

  .hero-content {
    grid-template-columns: 1fr minmax(13rem, 18rem);
    gap: 2rem;
  }

  .capability-item > div {
    grid-template-columns: minmax(15rem, 0.8fr) 1fr;
    gap: 2rem;
  }

  .brand-row-machines {
    grid-template-columns: repeat(2, 1fr);
  }

  .production,
  .showroom {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 50rem;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 7, 6, 0.88), rgba(8, 7, 6, 0.28)),
      linear-gradient(0deg, rgba(8, 7, 6, 0.88), transparent 75%);
  }

  .hero-content {
    display: block;
    padding-top: 9rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 5.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-facts {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .statement-grid,
  .section-heading,
  .brand-heading,
  .brand-group,
  .private-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .statement-grid,
  .private-grid,
  .contact-grid {
    gap: 3.5rem;
  }

  .section-heading,
  .brand-heading {
    gap: 3rem;
  }

  .section-heading {
    margin-bottom: 3rem;
  }

  .statement-copy > p {
    margin-left: 0;
  }

  .capability-item {
    padding: 2rem 0;
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
  }

  .capability-item > div {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .capability-mark {
    display: none;
  }

  .brand-groups {
    margin-top: 4rem;
  }

  .brand-group {
    gap: 1.5rem;
    padding-block: 2.5rem;
  }

  .brand-row,
  .brand-row-machines {
    grid-template-columns: repeat(2, 1fr);
  }

  .production,
  .showroom {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .production-media,
  .showroom-image {
    min-height: 34rem;
  }

  .production-stat {
    width: calc(100% - 1rem);
    padding: 1.5rem;
  }

  .production-stat span {
    font-size: clamp(3.6rem, 18vw, 6rem);
  }

  .production-copy,
  .showroom-panel {
    min-height: 42rem;
  }

  .private-mark {
    width: min(70vw, 26rem);
    margin-inline: auto;
  }

  .showroom-image {
    order: 2;
  }

  .showroom-panel {
    order: 1;
  }

  .footer-main {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.7rem;
  }
}

@media (max-width: 520px) {
  :root {
    --page: calc(100% - 2rem);
  }

  .header-shell {
    min-height: 4.5rem;
  }

  .brand {
    width: 9rem;
  }

  .mobile-menu {
    top: 4.5rem;
  }

  .hero {
    min-height: 46rem;
  }

  .hero-content {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 0.64rem;
  }

  .eyebrow > span {
    margin-top: 0.45em;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .button {
    width: 100%;
  }

  .capability-item {
    grid-template-columns: 1fr;
  }

  .capability-index {
    margin-bottom: 0.25rem;
  }

  .brand-row,
  .brand-row-machines {
    grid-template-columns: 1fr;
  }

  .production-media,
  .showroom-image {
    min-height: 27rem;
  }

  .production-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .production-copy,
  .showroom-panel {
    min-height: 38rem;
    padding: 2rem 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .contact-placeholders > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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