:root {
  --bg: var(--wp--preset--color--offwhite, #f5f4f8);
  --surface: var(--wp--preset--color--surface, #ffffff);
  --surface-2: #f8fafc;
  --text: var(--wp--preset--color--navy, #1e2e3e);
  --muted: var(--wp--preset--color--gray-500, #5f6d7a);
  --line: var(--wp--preset--color--gray-200, #e3e6eb);
  --accent: var(--wp--preset--color--accent, #d4440c);
  --accent-hover: #bf3d0b;
  --accent-2: color-mix(in srgb, var(--accent) 30%, white);
  --steel: var(--wp--preset--color--navy-2, #24384a);
  --steel-2: color-mix(in srgb, var(--steel) 88%, white);
  --radius-xs: var(--wp--preset--border-radius--xs, 12px);
  --radius-sm: var(--wp--preset--border-radius--sm, 16px);
  --radius-md: var(--wp--preset--border-radius--md, 20px);
  --radius-lg: var(--wp--preset--border-radius--lg, 24px);
  --radius-xl: var(--wp--preset--border-radius--xl, 28px);
  --radius-pill: var(--wp--preset--border-radius--pill, 999px);
  --shadow: var(--wp--custom--shadow--soft, 0 12px 40px rgba(16,29,43,.08));
  --shadow-sm: var(--wp--custom--shadow--soft-sm, 0 8px 24px rgba(16,29,43,.06));
  --shadow-button: var(--wp--custom--shadow--button, 0 16px 30px rgba(212,68,12,.24));
  --container: var(--wp--style--global--content-size, 1200px);
  --space-1: var(--wp--preset--spacing--20, .5rem);
  --space-2: var(--wp--preset--spacing--30, .75rem);
  --space-3: var(--wp--preset--spacing--40, 1rem);
  --space-4: 1.25rem;
  --space-5: var(--wp--preset--spacing--50, 1.5rem);
  --space-6: var(--wp--preset--spacing--60, 2rem);
  --space-7: 2.5rem;
  --space-8: var(--wp--preset--spacing--70, 3rem);
  --space-9: var(--wp--preset--spacing--80, 4rem);
  --section-space: var(--wp--custom--spacing--section, clamp(2.5rem, 4vw, 4rem));
  --card-pad: var(--wp--custom--spacing--card-pad, clamp(1.125rem, 1rem + .4vw, 1.5rem));
  --button-height: var(--wp--custom--spacing--button-height, 58px);
  --button-padding-x: var(--wp--custom--spacing--button-padding-x, 1.4rem);
  --button-gap: var(--wp--custom--spacing--button-gap, .625rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  text-wrap: pretty;
}

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

svg {
  flex: 0 0 auto;
}

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

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn,
.wp-element-button,
.wp-block-button__link,
input[type="submit"],
button,
[role="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  min-height: var(--button-height);
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button:hover,
[role="button"]:hover {
  transform: translateY(-1px);
}

.btn svg,
.wp-element-button svg,
.wp-block-button__link svg,
.btn .icon,
.wp-element-button .icon,
.wp-block-button__link .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.btn-primary,
.btn.btn-primary .wp-block-button__link,
.wp-block-button.btn.btn-primary .wp-block-button__link,
.wp-block-button.is-style-fill .wp-block-button__link {
  background: linear-gradient(180deg, #ef5a18 0%, var(--accent) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary,
.btn.btn-secondary .wp-block-button__link,
.wp-block-button.btn.btn-secondary .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--steel);
  border: 1px solid rgba(30,46,62,.14);
  box-shadow: 0 12px 24px rgba(16,29,43,.08);
}

.btn-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #f8fafc;
  color: var(--steel);
  border-color: rgba(30,46,62,.24);
}

.btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}

.hero {
  padding: var(--space-7) 0 var(--space-6);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--space-7);
  align-items: center;
}

.hero h1,
.section-title,
.page-hero h1,
.product-hero h1 {
  letter-spacing: -.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  margin: 0 0 var(--space-4);
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 var(--space-5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.hero-actions .btn,
.hero-actions .wp-block-button__link {
  min-width: 210px;
}

.hero-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .875rem;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--steel);
  font-weight: 700;
  font-size: .875rem;
}

.eyebrow .dot {
  width: .625rem;
  height: .625rem;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent);
}

.technical-sketch-image-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: #fff;
}

.technical-sketch-figure {
  margin: 0;
}

.technical-sketch-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}
