:root {
  --ink: #172026;
  --ink-soft: #384650;
  --muted: #66727c;
  --line: #d8dee2;
  --paper: #f8f7f3;
  --white: #ffffff;
  --steel: #24556c;
  --steel-dark: #163644;
  --copper: #b8673a;
  --copper-dark: #8f4b2c;
  --shadow: 0 18px 48px rgba(23, 32, 38, 0.14);
  --font-main: "IBM Plex Sans", "Aptos", "Segoe UI", Arial, sans-serif;
  --font-heading: "IBM Plex Sans", "Aptos Display", "Segoe UI", Arial, sans-serif;
  --font-accent: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-main);
  font-weight: 450;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 24, 29, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-family: var(--font-accent);
  font-weight: 750;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--white);
}

.brand-mark-core {
  position: absolute;
  inset: 0;
  border: 2px solid var(--copper);
  border-radius: 7px;
}

.brand-mark-core::before,
.brand-mark-core::after {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 8px;
  content: "";
  border-top: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
}

.brand-mark-core::before {
  left: 9px;
}

.brand-mark-core::after {
  right: 9px;
}

.brand-mark-text {
  position: relative;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-name {
  overflow: hidden;
  max-width: 330px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--white);
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 760;
}

.mobile-nav-icon,
.mobile-nav-icon::before,
.mobile-nav-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav-icon {
  position: relative;
}

.mobile-nav-icon::before,
.mobile-nav-icon::after {
  position: absolute;
  left: 0;
}

.mobile-nav-icon::before {
  top: -6px;
}

.mobile-nav-icon::after {
  top: 6px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 78vh;
  overflow: hidden;
  background: #111b21;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: brightness(1.4) contrast(1.04) saturate(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 17, 21, 0.96) 0, rgba(10, 17, 21, 0.88) 560px, rgba(10, 17, 21, 0.14) 710px, rgba(10, 17, 21, 0) 830px),
    linear-gradient(180deg, rgba(10, 17, 21, 0.05) 0%, rgba(10, 17, 21, 0) 62%, rgba(10, 17, 21, 0.06) 100%);
}

.hero-content {
  align-self: center;
  width: min(660px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 80px);
  padding-top: 84px;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--copper);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(36px, 3.95vw, 50px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2.3vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-accent);
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.credibility-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  color: var(--white);
  background: var(--steel-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.credibility-band span {
  display: grid;
  place-items: center start;
  min-height: 74px;
  padding: 18px clamp(16px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.25;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.summary-item {
  min-height: 126px;
  padding: 28px clamp(22px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.summary-item:last-child {
  border-right: 0;
}

.summary-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--steel-dark);
  font-size: 18px;
}

.summary-item span {
  display: block;
  color: var(--ink-soft);
}

.section {
  padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.section.muted {
  background: #edf1f2;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: 0;
}

.service-matrix {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 32, 38, 0.07);
}

.problem-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 32, 38, 0.07);
}

.problem-panel h3 {
  margin: 0;
  color: var(--steel-dark);
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.16;
}

.problem-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
}

.service-row:first-child {
  border-top: 0;
}

.service-head {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--white);
  background: var(--steel-dark);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 32, 38, 0.07);
}

.service-row h3,
.capability-panel h3,
.process-list h3 {
  margin: 0 0 12px;
  color: var(--steel-dark);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 720;
  line-height: 1.22;
}

.service-row p,
.process-list p,
.contact-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.service-row h3 {
  margin-bottom: 0;
}

.capability-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--copper);
  border-radius: 2px;
  transform: translateY(-50%);
}

.process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  background: var(--white);
}

.process-list span {
  color: var(--copper);
  font-family: var(--font-accent);
  font-weight: 850;
  font-size: 19px;
}

.reverse-section {
  background: #172026;
  color: var(--white);
}

.reverse-section .section-heading h2 {
  color: var(--white);
}

.reverse-section .section-intro {
  color: rgba(255, 255, 255, 0.78);
}

.reverse-layout {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reverse-image {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.reverse-image img {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 460px);
  object-fit: cover;
  object-position: center;
}

.reverse-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.reverse-panel.primary-panel {
  background: rgba(184, 103, 58, 0.18);
  border-color: rgba(184, 103, 58, 0.48);
}

.reverse-panel h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 720;
  line-height: 1.22;
}

.reverse-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.reverse-panel p + .check-list {
  margin-top: 18px;
}

.reverse-panel .check-list {
  color: rgba(255, 255, 255, 0.78);
}

.reverse-note {
  margin-top: 18px;
  padding: 20px 24px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.reverse-note strong {
  color: var(--white);
}

.shipping-note {
  margin-top: 12px;
}

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.about-photo {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(360px, 42vw, 450px);
  object-fit: cover;
  object-position: 50% 35%;
}

.about-photo figcaption {
  padding: 18px 20px;
  background: #10181d;
  color: var(--white);
}

.about-photo strong,
.about-photo span {
  display: block;
}

.about-photo span {
  color: rgba(255, 255, 255, 0.74);
}

.about-copy {
  max-width: 840px;
}

.about-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.3vw, 52px);
  font-weight: 720;
  line-height: 1.09;
  letter-spacing: 0;
}

.about-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(70px, 8vw, 110px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--steel-dark);
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-copy .scope-note,
.scope-note {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 650;
}

.scope-note.light {
  margin-top: 18px;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
  color: var(--white);
  font-family: var(--font-accent);
  font-weight: 760;
}

.contact-direct a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.contact-direct a:hover {
  border-color: var(--copper);
}

.intake-link {
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.intake-page {
  background: #eef2f4;
}

.intake-hero {
  padding: clamp(120px, 13vw, 170px) clamp(18px, 5vw, 72px) clamp(38px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(22, 54, 68, 0.96), rgba(23, 32, 38, 0.86)),
    url("assets/magnetics-hero.png") center / cover;
}

.intake-hero .section-heading {
  max-width: 900px;
}

.intake-hero .section-intro {
  color: rgba(255, 255, 255, 0.8);
}

.intake-shell {
  padding: clamp(34px, 5vw, 72px) clamp(18px, 5vw, 72px) clamp(70px, 8vw, 110px);
}

.intake-selector {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.path-button {
  min-height: 48px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.path-button:hover,
.path-button.active {
  color: var(--white);
  background: var(--steel-dark);
  border-color: rgba(255, 255, 255, 0.18);
}

.intake-form {
  display: grid;
  gap: 18px;
}

.form-section {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(23, 32, 38, 0.09);
}

.form-section h2 {
  margin: 0;
  color: var(--steel-dark);
  font-size: clamp(22px, 2.4vw, 30px);
}

.field-grid {
  display: grid;
  gap: 16px;
}

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

.path-panel {
  display: grid;
}

.path-panel[hidden] {
  display: none;
}

.intake-form label {
  color: var(--ink-soft);
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid #cbd4da;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  outline: 3px solid rgba(184, 103, 58, 0.2);
  border-color: var(--copper);
}

.intake-form ::placeholder {
  color: #7d8991;
}

.form-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--steel-dark);
  background: #f6efe9;
  border: 1px solid rgba(184, 103, 58, 0.26);
  border-radius: 6px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 650;
}

.form-note.neutral {
  color: var(--ink-soft);
  background: #eef2f4;
  border-color: var(--line);
}

.form-handoff {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding: 16px;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-handoff p {
  margin: 0;
  color: var(--ink-soft);
}

.form-handoff a:not(.button) {
  color: var(--steel-dark);
  font-weight: 800;
}

.form-handoff label {
  color: var(--ink-soft);
}

.form-handoff textarea {
  min-height: 150px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd4da;
}

.handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.handoff-actions .button {
  min-height: 42px;
}

.handoff-actions .button.secondary {
  color: var(--steel-dark);
  background: var(--white);
  border-color: #cbd4da;
}

.handoff-actions .button.secondary:hover {
  background: #eef2f4;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #10181d;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  overflow-wrap: anywhere;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: var(--white);
  font-family: var(--font-accent);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    position: fixed;
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 0;
    padding: 8px;
    color: var(--white);
    background: rgba(16, 24, 29, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  }

  .site-nav.open a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-nav.open a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

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

  .intake-selector {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-head {
    display: none;
  }

  .service-row p::before {
    display: block;
    margin-bottom: 3px;
    color: var(--copper-dark);
    content: attr(data-label);
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .summary-band,
  .credibility-band,
  .capability-layout,
  .reverse-layout,
  .about-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .summary-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand-name {
    max-width: 245px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 17, 21, 0.82) 0%, rgba(10, 17, 21, 0.3) 100%),
      linear-gradient(180deg, rgba(10, 17, 21, 0.08) 0%, rgba(10, 17, 21, 0.24) 100%);
  }

  h1 {
    font-size: 36px;
  }

  .button {
    width: 100%;
  }

  .field-grid.two {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }
}
