:root {
  --bg: #f3efe7;
  --bg-deep: #ece6db;
  --surface: #fbfaf6;
  --surface-strong: #ffffff;
  --ink: #111513;
  --muted: #5b625b;
  --line: #d7d0c5;
  --line-strong: #bfb6a7;
  --accent: #234b3b;
  --accent-soft: #e3ebe7;
  --dark: #171a17;
  --dark-soft: #242924;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shell: min(1160px, calc(100vw - 56px));
  --font-sans:
    "SF Pro Display",
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)) 0 0 / 100% 100%,
    linear-gradient(180deg, #f6f2ea 0%, #f0ebe2 100%);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(17, 21, 19, 0.03), rgba(17, 21, 19, 0.03)) 0 96px / 100% 1px no-repeat,
    repeating-linear-gradient(
      90deg,
      rgba(17, 21, 19, 0.03) 0,
      rgba(17, 21, 19, 0.03) 1px,
      transparent 1px,
      transparent 112px
    );
  opacity: 0.6;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--accent);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.ambient {
  display: none;
}

.shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 44px 0 104px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 231, 0.82);
  border-bottom: 1px solid rgba(17, 21, 19, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(17, 21, 19, 0.84);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
  background: #16382b;
  border-color: #16382b;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  background: var(--surface-strong);
  color: var(--ink);
  border-color: var(--ink);
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
}

.eyebrow,
.stat-kicker,
.source-pill,
.feature-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.stat-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero {
  padding-top: 54px;
}

.hero-grid,
.story-grid,
.contact-grid,
.page-hero-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: start;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.statement-copy h2,
.gallery-copy h2,
.news-header h2,
.contact-copy h2,
.machine-copy h2 {
  margin: 14px 0 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.section-heading h2,
.statement-copy h2,
.gallery-copy h2,
.news-header h2,
.contact-copy h2,
.machine-copy h2 {
  font-size: clamp(2.8rem, 4.6vw, 4.7rem);
}

.lead,
.section-heading p,
.statement-copy p,
.section-copy p,
.gallery-copy p,
.machine-copy p,
.contact-copy p,
.page-hero-card p {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.metric-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.metric-list li {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.metric-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 600;
}

.metric-list span {
  display: block;
  color: var(--muted);
}

.section-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stage {
  position: relative;
  min-height: 650px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  top: 52px;
  right: 34px;
  width: min(520px, 100%);
  height: 540px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #ece5d8);
  border: 1px solid var(--line);
}

.hero-card,
.hero-note,
.award-badge,
.page-hero-card {
  position: absolute;
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

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

.hero-card-main {
  top: 20px;
  right: 0;
  width: min(540px, 100%);
  height: 620px;
}

.hero-note {
  left: 0;
  bottom: 0;
  width: 340px;
  padding: 22px 24px;
  border: 1px solid #2d352f;
  border-radius: 12px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.84);
}

.hero-note-label {
  display: inline-flex;
  padding-bottom: 8px;
  color: #d9e5de;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note p {
  margin: 0;
}

.explainer-section {
  padding-top: 8px;
}

.explainer-visual {
  width: min(920px, 100%);
  margin: 32px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, #f6f2ea, #eee7da);
}

.explainer-visual img {
  display: block;
  width: min(100%, 780px);
  margin: 0 auto;
  height: auto;
  object-fit: contain;
}

.award-badge {
  top: 0;
  left: 34px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
}

.award-badge img {
  width: 108px;
  height: auto;
}

.section-heading,
.statement-copy,
.gallery-copy,
.contact-copy {
  max-width: 62ch;
}

.section-copy {
  max-width: 58ch;
}

.story-panels {
  display: grid;
  gap: 0;
}

.stat-panel,
.feature-card,
.application-card,
.news-card,
.office-card,
.article-card,
.page-hero-card {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.stat-panel {
  padding: 24px 0 28px;
  border-top: 1px solid var(--line-strong);
}

.stat-panel:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.stat-panel h3 {
  margin: 16px 0 0;
  font-size: 1.5rem;
  line-height: 1.16;
}

.stat-panel p {
  margin: 14px 0 0;
  color: var(--muted);
}

.feature-grid,
.applications-grid,
.news-grid,
.office-grid,
.article-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.feature-card {
  padding: 24px 0 30px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.feature-card h3 {
  margin: 14px 0 0;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.gallery-layout {
  display: grid;
  gap: 28px;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.15fr 1fr 1fr;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.02);
}

.gallery-tall {
  grid-row: span 2;
  min-height: 500px;
}

.machine-panel {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  padding: 42px;
  border: 1px solid var(--dark-soft);
  border-radius: var(--radius-lg);
  background: var(--dark);
}

.machine-copy .eyebrow,
.machine-copy .eyebrow::before {
  color: #d7e4dc;
}

.machine-copy h2 {
  color: #fff;
}

.machine-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.machine-points {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.machine-points div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.machine-points div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.machine-points strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.machine-points span {
  color: rgba(255, 255, 255, 0.62);
}

.machine-visual {
  display: flex;
  align-items: center;
}

.machine-visual img {
  width: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.machine-visual-trigger {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: start;
  min-height: 520px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #1d231f, #151815);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.machine-visual-trigger img {
  position: absolute;
  inset: auto -36px -48px auto;
  width: min(76%, 420px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  opacity: 0.96;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.26));
}

.machine-visual-kicker {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.machine-visual-trigger strong {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.machine-visual-body {
  position: relative;
  z-index: 1;
  max-width: 26ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.section-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-actions {
  margin-top: 32px;
}

.center-actions {
  justify-content: center;
  margin-top: 34px;
}

.statement-section {
  padding-top: 8px;
}

.statement-layout {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4)),
    linear-gradient(180deg, #f4f0e8, #ece5d8);
}

.statement-section-compact .statement-layout {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7)),
    linear-gradient(180deg, #f7f3ed, #efe8dd);
}

.statement-lines {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.statement-lines span {
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.statement-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(17, 21, 19, 0.08);
  border-radius: calc(var(--radius-lg) - 2px);
  background: rgba(255, 255, 255, 0.52);
}

.statement-visual img {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
}

.popup-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 10, 0.72);
  backdrop-filter: blur(10px);
}

.popup-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  width: min(1120px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.98), rgba(244, 239, 229, 0.96));
  overflow: auto;
}

.popup-close {
  position: sticky;
  top: 0;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.popup-close span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.popup-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-copy {
  max-width: 56ch;
}

.popup-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.popup-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.popup-figure {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.popup-figure img {
  display: block;
  width: min(100%, 980px);
  margin: 0 auto;
  height: auto;
}

.detail-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.detail-list li + li {
  margin-top: 10px;
}

.support-grid {
  margin-top: 36px;
}

.performance-grid {
  margin-top: 34px;
}

.section-heading.centered {
  max-width: 780px;
  text-align: center;
  margin-inline: auto;
}

.section-heading.centered p {
  margin-inline: auto;
}

.applications-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.application-card {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.application-card h3,
.news-card h3,
.article-card h2 {
  margin: 16px 0 0;
  font-size: 1.35rem;
  line-height: 1.16;
}

.application-card p,
.news-card p,
.article-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.news-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.news-card,
.article-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.44);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.news-card:hover,
.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: var(--surface-strong);
}

.source-pill {
  color: var(--accent);
}

.contact-grid {
  align-items: start;
}

.office-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.office-card {
  padding: 20px 0 0;
  border-top: 1px solid var(--line-strong);
}

.office-card span {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.office-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-presence {
  margin: 22px 0 0;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.48);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease;
}

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

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.4em;
}

.page-hero {
  padding-top: 62px;
}

.page-hero-grid {
  align-items: stretch;
}

.page-hero-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
}

.page-hero-card img {
  width: min(100%, 340px);
  justify-self: center;
}

.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-link {
  margin-top: auto;
  padding-top: 28px;
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
}

.brand-footer img {
  width: 124px;
}

.footer-row p {
  margin: 0;
  color: var(--muted);
}

.redirect-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.redirect-card {
  width: min(560px, 100%);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
}

.redirect-card h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.redirect-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

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

@media (max-width: 1120px) {
  .hero-grid,
  .story-grid,
  .contact-grid,
  .page-hero-grid,
  .machine-panel,
  .statement-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-stage::before {
    right: auto;
    left: 80px;
  }

  .hero-card-main {
    left: 100px;
    right: auto;
  }

  .machine-visual-trigger {
    min-height: 460px;
  }

  .feature-grid,
  .applications-grid,
  .news-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100vw - 32px, 100%);
  }

  .site-header {
    background: rgba(243, 239, 231, 0.92);
  }

  .header-row {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(251, 250, 246, 0.98);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .section {
    padding: 34px 0 90px;
  }

  .hero-copy h1,
  .section-heading h1,
  .section-heading h2,
  .gallery-copy h2,
  .news-header h2,
  .contact-copy h2,
  .machine-copy h2 {
    font-size: clamp(3rem, 12vw, 4.6rem);
  }

  .metric-list,
  .feature-grid,
  .applications-grid,
  .news-grid,
  .office-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .statement-layout {
    padding: 28px;
  }

  .statement-visual {
    min-height: 360px;
  }

  .machine-visual-trigger {
    min-height: 400px;
  }

  .machine-visual-trigger img {
    right: -20px;
    bottom: -24px;
    width: min(78%, 360px);
  }

  .popup-panel {
    width: min(100vw - 24px, 100%);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    padding: 20px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-stage::before {
    left: 20px;
    right: 20px;
    width: auto;
    height: 430px;
  }

  .hero-card-main {
    left: 48px;
    width: calc(100% - 48px);
    height: 500px;
  }

  .hero-note {
    left: 0;
    right: 0;
    width: auto;
  }

  .explainer-visual {
    padding: 24px;
  }

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

  .gallery-tall {
    grid-row: auto;
    min-height: 380px;
  }

  .news-header,
  .footer-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body::before {
    display: none;
  }

  .shell {
    width: min(100vw - 24px, 100%);
  }

  .header-row {
    min-height: 68px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-stage::before {
    height: 390px;
  }

  .hero-card-main {
    left: 36px;
    width: calc(100% - 36px);
    height: 420px;
  }

  .hero-note,
  .page-hero-card,
  .inquiry-form,
  .machine-panel,
  .statement-layout {
    padding: 22px;
  }

  .explainer-visual {
    padding: 18px;
  }

  .machine-visual-trigger {
    min-height: 340px;
    padding: 22px;
  }

  .machine-visual-trigger strong {
    max-width: 10ch;
    font-size: 2rem;
  }

  .machine-visual-trigger img {
    right: -12px;
    bottom: -18px;
    width: min(82%, 280px);
  }

  .popup-figure {
    padding: 12px;
  }

  .news-card,
  .article-card {
    min-height: 220px;
    padding: 20px;
  }

  .footer-row p {
    max-width: 26ch;
  }
}
