:root {
  --bg: #f7f1df;
  --paper: rgba(255, 251, 241, 0.94);
  --ink: #131313;
  --muted: #5f584b;
  --line: #ddc887;
  --brand: #f1b521;
  --brand-deep: #885f00;
  --brand-soft: #f9e8b0;
  --accent: #1f1f1f;
  --accent-soft: #ece7d8;
  --shadow: 0 20px 60px rgba(20, 18, 13, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --display-font: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  --body-font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

body[data-style="style-2"] {
  --bg: #f4efe8;
  --paper: rgba(255, 255, 255, 0.95);
  --ink: #1a1917;
  --muted: #615a53;
  --line: #d7cec2;
  --brand: #8a6843;
  --brand-deep: #5f4528;
  --brand-soft: #eadfcf;
  --accent: #365d64;
  --accent-soft: #dae8e8;
  --display-font: Georgia, "Times New Roman", serif;
  --body-font: Georgia, "Times New Roman", serif;
}

body[data-style="style-3"] {
  --bg: #edf3ef;
  --paper: rgba(255, 255, 255, 0.96);
  --ink: #132420;
  --muted: #46655b;
  --line: #b7d1c6;
  --brand: #2f6f62;
  --brand-deep: #1d493f;
  --brand-soft: #d7ece4;
  --accent: #16302a;
  --accent-soft: #deefe8;
  --display-font: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --body-font: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(241, 181, 33, 0.12), transparent 30%),
    linear-gradient(180deg, #faf5e7 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 223, 0.88);
  border-bottom: 1px solid rgba(96, 88, 79, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 62px;
  height: auto;
  display: block;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  font-family: var(--display-font);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand-text span {
  color: var(--muted);
  font-size: 1rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.cta-link {
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.cta-link:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.cta-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.hero {
  padding: 2rem 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  line-height: 1.06;
  font-weight: 700;
  font-family: var(--display-font);
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.4rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button {
  background: var(--ink);
  color: #fff;
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border: 1px solid var(--line);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-stat-row {
  margin-top: 1rem;
}

.stat {
  min-width: 170px;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.15rem;
  font-family: var(--display-font);
}

.hero-media {
  position: relative;
  padding-top: 0;
}

.hero-card,
.panel,
.card,
.faq-item,
.contact-card {
  background: var(--paper);
  border: 1px solid rgba(218, 207, 191, 0.9);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-video {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background: #201c18;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 2.75rem 0;
}

.section-tight {
  padding-top: 1rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.kicker {
  color: var(--brand-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

.grid-2,
.grid-3,
.grid-steps,
.grid-faq,
.grid-contact {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.card,
.panel,
.faq-item,
.contact-card {
  border-radius: var(--radius-md);
  padding: 1.3rem;
}

.card p,
.panel p,
.faq-item p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 35%;
  height: 200px;
  background: radial-gradient(circle, rgba(241, 181, 33, 0.16), transparent 65%);
  pointer-events: none;
}

.service-card img {
  height: 240px;
  object-fit: contain;
  margin: 1rem auto 0;
}

.claw-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  margin-top: 1rem;
}

.claw-placeholder {
  display: grid;
  place-items: center;
  height: 240px;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(241, 181, 33, 0.16), rgba(32, 31, 31, 0.1)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.25) 12px,
      rgba(255, 255, 255, 0.08) 12px,
      rgba(255, 255, 255, 0.08) 24px
    );
  border: 1px dashed rgba(96, 88, 79, 0.4);
  color: var(--ink);
  text-align: center;
  padding: 1rem;
}

.media-split,
.content-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
}

.media-stack {
  display: grid;
  gap: 0.8rem;
}

.media-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.single-machine-image {
  object-fit: contain !important;
  background: rgba(255, 251, 241, 0.78);
  padding: 0.5rem 0;
  max-height: 360px;
}

.feature-list,
.check-list,
.site-map-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.feature-list li,
.check-list li,
.site-map-list li {
  padding-left: 1.65rem;
  position: relative;
  margin-bottom: 0.85rem;
}

.feature-list li::before,
.check-list li::before,
.site-map-list li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  color: var(--brand-deep);
  font-size: 1.1rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.location-pill {
  padding: 1rem 1.1rem;
  border-radius: 999px;
  text-align: center;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
  margin-bottom: 0.85rem;
  font-family: var(--display-font);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 700;
  font-family: var(--display-font);
}

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

.faq-item p {
  margin-top: 0.8rem;
}

.grid-contact {
  grid-template-columns: 1.05fr 0.95fr;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.contact-lines {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-lines a,
.contact-phone {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(96, 88, 79, 0.12);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.page-hero {
  padding: 1.35rem 0 0.55rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}

.page-hero-grid .media-panel img {
  min-height: 640px;
}

.page-hero .panel,
.cta-band {
  border-radius: var(--radius-lg);
}

.page-hero .panel {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.cta-band {
  padding: 2rem;
  background: linear-gradient(135deg, #171717, #343434);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 230, 0.9);
  color: var(--ink);
}

.theme-switcher {
  position: sticky;
  top: 84px;
  z-index: 30;
  width: min(calc(100% - 2rem), var(--max));
  margin: 1rem auto 0;
  padding: 0.7rem;
  border-radius: 20px;
  background: rgba(255, 251, 241, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.theme-switcher h2 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.theme-switcher p {
  margin: 0;
  color: var(--muted);
}

.theme-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.theme-tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: inherit;
  cursor: pointer;
}

.theme-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.style-summary {
  margin-top: 0.9rem;
  color: var(--muted);
}

body[data-style="style-2"] .hero-grid,
body[data-style="style-2"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-style="style-2"] .hero,
body[data-style="style-2"] .page-hero {
  padding-top: 3.5rem;
}

body[data-style="style-2"] .hero-grid > div:first-child,
body[data-style="style-2"] .page-hero-grid > div:first-child {
  text-align: center;
}

body[data-style="style-2"] .hero-actions,
body[data-style="style-2"] .inline-actions,
body[data-style="style-2"] .stat-row {
  justify-content: center;
}

body[data-style="style-2"] .lead {
  margin-left: auto;
  margin-right: auto;
}

body[data-style="style-3"] .hero-grid {
  grid-template-columns: 1fr 1fr;
}

body[data-style="style-3"] .hero-card,
body[data-style="style-3"] .panel,
body[data-style="style-3"] .card,
body[data-style="style-3"] .faq-item,
body[data-style="style-3"] .contact-card {
  border-radius: 22px;
}

body[data-style="style-3"] .location-pill {
  border-radius: 18px;
  text-align: left;
}

@media (max-width: 980px) {
  .hero-grid,
  .media-split,
  .content-split,
  .page-hero-grid,
  .grid-contact,
  .grid-2,
  .grid-3,
  .grid-steps,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .brand-text strong {
    font-size: 1.25rem;
  }

  .brand-text span {
    font-size: 0.95rem;
  }
}

@media (max-width: 1200px) {
  .grid-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .page-hero-grid,
  .media-split,
  .content-split,
  .grid-contact,
  .grid-2,
  .grid-3,
  .grid-steps,
  .location-grid,
  body[data-style="style-3"] .hero-grid,
  body[data-style="style-2"] .hero-grid,
  body[data-style="style-2"] .page-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    justify-content: flex-start;
    padding-top: 0.1rem;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
  }

  .hero,
  .page-hero,
  .section {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
  }

  .hero-media {
    order: 2;
  }

  .hero-grid > div:first-child,
  .page-hero-grid > div:first-child {
    order: 1;
  }

  .hero-caption {
    flex-direction: column;
  }

  .hero-actions,
  .inline-actions {
    gap: 0.7rem;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .eyebrow {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .hero-card,
  .hero-video {
    width: 100%;
  }

  .hero-caption {
    padding: 0.9rem 1rem 1rem;
    font-size: 0.92rem;
  }

  .hero-stat-row {
    margin-top: 0.8rem;
  }

  .brand-text span {
    font-size: 0.88rem;
  }

  .brand-logo {
    width: 56px;
  }

  .brand-text strong {
    font-size: 1.08rem;
  }

  .stat {
    min-width: 0;
  }

  .hero-card,
  .panel,
  .card,
  .faq-item,
  .contact-card {
    border-radius: 18px;
  }

  .theme-switcher {
    top: 64px;
  }
}
