/* V2 — full-width, flat, technical layout (no rounded card blocks) */
.site-v2 {
  --gutter: clamp(20px, 4.5vw, 80px);
  --shell-pad: var(--gutter);
  --radius-ui: 0;
  --line: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
  --max-copy: min(42rem, 100%);
}

/* No horizontal page scroll — scale to viewport */
html {
  overflow-x: clip;
}
body.site-v2 {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}
body.site-v2 main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body.site-v2 img,
body.site-v2 video,
body.site-v2 svg,
body.site-v2 canvas {
  max-width: 100%;
  height: auto;
}
body.site-v2 h1,
body.site-v2 h2,
body.site-v2 h3,
body.site-v2 p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.site-v2 .site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}
.site-v2 .site-header .nav {
  min-width: 0;
  order: 3;
  width: 100%;
}
.site-v2 .site-header .menu {
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 22px);
}
.site-v2 .site-header .brand {
  flex-shrink: 0;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.site-v2 .site-header .header-cta {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.site-v2 .site-header .theme-toggle,
.site-v2 .site-header .btn-admin {
  position: relative;
  z-index: 2;
}
@media (min-width: 901px) {
  .site-v2 .site-header .header-inner {
    flex-wrap: nowrap;
    min-height: 48px;
  }
  .site-v2 .site-header .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    order: 0;
    width: max-content;
    max-width: min(720px, calc(100% - 22rem));
    z-index: 1;
  }
  .site-v2 .site-header .header-cta {
    margin-left: auto;
  }
}
@media (max-width: 900px) {
  .site-v2 .site-header .header-cta {
    margin-left: auto;
  }
}
@media (max-width: 680px) {
  .site-v2 .site-header .menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 0;
  }
}

.site-v2 .shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
}

.site-v2 .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
}

.site-v2 .site-header--full,
.site-v2 .site-footer--full {
  border-color: color-mix(in oklab, var(--text) 10%, transparent);
}

.site-v2 .btn {
  border-radius: 0;
  box-shadow: none;
}
.site-v2 .btn:hover {
  box-shadow: none;
  transform: none;
  filter: brightness(1.06);
}
.site-v2 .btn::after { display: none; }
.site-v2 .header-cta { border-radius: 0; }
.site-v2 .brand-badge { border-radius: 0; }
.site-v2 .hero-kicker { border-radius: 0; }
.site-v2 .home-hero::before,
.site-v2 .home-hero::after,
.site-v2 .hero::before,
.site-v2 .hero::after { display: none; }
.site-v2 .home-hero {
  background: var(--bg);
}

.site-v2 .card,
.site-v2 .feature-tile,
.site-v2 .home-panel,
.site-v2 .service-row,
.site-v2 .contact-form,
.site-v2 .contact-item {
  border-radius: 0;
  box-shadow: none;
}

/* Page hero — full width band */
.page-hero {
  padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 64px);
  border-bottom: var(--line);
  background: var(--bg);
}
.page-hero-inner {
  max-width: var(--max-copy);
}
.page-hero-title {
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 800;
}
.page-hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 24px;
  line-height: 1.55;
  max-width: 38rem;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Home hero — split, image bleeds to viewport edge */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: clamp(480px, 82vh, 920px);
  border-bottom: var(--line);
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.home-hero-copy {
  padding: clamp(48px, 8vw, 120px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}
.home-hero-copy .hero-title { max-width: none; }
.home-hero-media {
  position: relative;
  min-height: 280px;
  background: var(--surface);
}
.home-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
}
.home-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px var(--gutter);
  font-size: 13px;
  color: var(--muted);
  background: linear-gradient(transparent, color-mix(in oklab, var(--bg) 92%, transparent));
}

/* Full-width section bands */
.section--full { padding: 0; }
.section-band {
  padding: clamp(48px, 7vw, 96px) 0;
  border-bottom: var(--line);
}
.section-band.alt { background: var(--surface); }
.section-intro {
  padding-bottom: clamp(28px, 4vw, 48px);
  max-width: 36rem;
}
.section-intro .section-title { margin-bottom: 12px; }

/* Feature strip — columns, not boxes */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  border-top: var(--line);
}
.feature-tile {
  padding: clamp(28px, 4vw, 48px) var(--gutter);
  background: transparent;
  border: 0;
  border-right: var(--line);
  box-shadow: none;
}
.feature-tile:last-child { border-right: 0; }
.feature-tile h3 { margin: 0 0 10px; font-size: clamp(17px, 2vw, 22px); }
.feature-tile p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.feature-tile a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.feature-tile a:hover { color: var(--accent-2); }

/* About split — copy + edge image */
.split-full {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(360px, 50vh, 560px);
  width: 100%;
  max-width: 100%;
}
.split-full__copy {
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--line);
}
.split-full__media {
  background: var(--surface);
}
.split-full__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* CTA band — full bleed */
.cta-band {
  background: var(--surface);
  border-top: var(--line);
  border-bottom: var(--line);
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(36px, 5vw, 56px) var(--gutter);
  width: 100%;
  max-width: none;
}
.cta-band h2 { margin: 0; font-size: clamp(22px, 3.2vw, 36px); }

/* Services — ruled list, not cards */
.service-list {
  display: block;
  width: 100%;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px) var(--gutter);
  background: transparent;
  border: 0;
  border-bottom: var(--line);
  border-radius: 0;
  box-shadow: none;
}
.service-row:first-child { border-top: var(--line); }
.service-row h3 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); }
.service-row p { margin: 8px 0 0; color: var(--muted); max-width: 52rem; }

/* Work — flush image grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  max-width: 100%;
  background: color-mix(in oklab, var(--text) 12%, transparent);
}
.work-grid img {
  width: 100%;
  height: clamp(200px, 28vw, 360px);
  object-fit: cover;
  border: 0;
  border-radius: 0;
  display: block;
}
.work-note {
  padding: var(--gutter);
  border-top: var(--line);
  color: var(--muted);
}

/* About industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--line);
}
.industry-cell {
  padding: var(--gutter);
  border-right: var(--line);
}
.industry-cell:last-child { border-right: 0; }
.industry-cell h3 { margin: 0 0 8px; }
.industry-cell p { margin: 0; color: var(--muted); font-size: 14px; }

/* Contact — 50/50 split */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 480px;
  border-top: var(--line);
  width: 100%;
  max-width: 100%;
}
.contact-layout__info {
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  border-right: var(--line);
}
.contact-layout__form {
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  background: var(--surface);
}
.site-v2 .contact-items { gap: 0; }
.site-v2 .contact-item {
  border-radius: 0;
  box-shadow: none;
  border: 0;
  border-bottom: var(--line);
  background: transparent;
  padding: 14px 0;
}
.site-v2 .contact-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: 28rem;
}
.site-v2 .contact-form label { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; color: var(--muted); font-size: 13px; }
.site-v2 .contact-form input,
.site-v2 .contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}
.site-v2 .contact-form input:focus,
.site-v2 .contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.site-v2 .footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px var(--gutter);
  width: 100%;
}
.site-v2 .footer-links {
  justify-content: center;
  flex-wrap: wrap;
}
.site-v2 .footer-inner > div:last-child {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}

.pipeline-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pipeline-pill.prospect { background: color-mix(in oklab, var(--muted) 25%, transparent); }
.pipeline-pill.lead { background: color-mix(in oklab, var(--accent) 25%, transparent); color: #0a0a0a; }
.pipeline-pill.customer { background: color-mix(in oklab, var(--accent-2) 25%, transparent); }

@media (max-width: 960px) {
  .home-hero,
  .split-full,
  .contact-layout { grid-template-columns: 1fr; }
  .home-hero-media { min-height: 42vh; order: -1; }
  .split-full__copy { border-right: 0; border-bottom: var(--line); }
  .feature-grid,
  .industry-grid { grid-template-columns: 1fr; }
  .feature-tile,
  .industry-cell {
    border-right: 0;
    border-bottom: var(--line);
  }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; }
  .contact-layout__info { border-right: 0; border-bottom: var(--line); }
  .site-v2 .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .site-v2 .footer-inner > div:last-child { text-align: left; }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* Industry catalog — full-width grid */
.industry-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  border-top: var(--line);
}
.industry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px) var(--gutter);
  text-decoration: none;
  color: inherit;
  border-right: var(--line);
  border-bottom: var(--line);
  min-height: 140px;
  transition: background 0.15s ease;
}
.industry-card:hover {
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
}
.industry-card__title { font-weight: 800; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.2; }
.industry-card__tag { color: var(--muted); font-size: 13px; line-height: 1.45; flex: 1; }
.industry-card__cta {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.industry-marquee {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  gap: 0;
  border-top: var(--line);
  border-bottom: var(--line);
  overflow: hidden;
}
.industry-marquee a {
  flex: 1 1 auto;
  min-width: min(140px, 50%);
  max-width: 100%;
  padding: 12px clamp(10px, 2vw, 18px);
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--muted);
  border-right: var(--line);
  border-bottom: var(--line);
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}
.industry-marquee a:hover { color: var(--accent); background: var(--surface); }

.industry-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--line);
}
.industry-detail-col {
  padding: clamp(36px, 5vw, 64px) var(--gutter);
  border-right: var(--line);
}
.industry-detail-col:last-child { border-right: 0; }
.industry-detail-col h2 { margin: 0 0 16px; font-size: clamp(20px, 2.5vw, 28px); }
.industry-detail-col ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.industry-detail-col li { margin-bottom: 8px; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: var(--line);
  width: 100%;
  max-width: 100%;
}
.process-step {
  padding: var(--gutter);
  border-right: var(--line);
}
.process-step:last-child { border-right: 0; }
.process-step .num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.process-step h3 { margin: 0 0 8px; font-size: 16px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--line);
  width: 100%;
  max-width: 100%;
}
.material-cell {
  padding: var(--gutter);
  border-right: var(--line);
  border-bottom: var(--line);
}
.material-cell:nth-child(3n) { border-right: 0; }
.material-cell h3 { margin: 0 0 8px; }
.material-cell p { margin: 0; color: var(--muted); font-size: 14px; }

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--line);
}
.coverage-col { padding: var(--gutter); border-right: var(--line); }
.coverage-col:last-child { border-right: 0; }
.coverage-col ul { columns: 2; gap: 24px; color: var(--muted); line-height: 1.8; }

.faq-list { border-top: var(--line); }
.faq-item { border-bottom: var(--line); }
.faq-item summary {
  padding: clamp(18px, 2.5vw, 24px) var(--gutter);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--accent-2); }
.faq-item .faq-body {
  padding: 0 var(--gutter) clamp(18px, 2.5vw, 24px);
  color: var(--muted);
  max-width: 52rem;
  line-height: 1.6;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: var(--line);
  border-bottom: var(--line);
  width: 100%;
  max-width: 100%;
}
.trust-metric {
  padding: var(--gutter);
  border-right: var(--line);
  text-align: left;
}
.trust-metric:last-child { border-right: 0; }
.trust-metric .val {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-metric .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 1100px) {
  .industry-catalog { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2n) { border-right: 0; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .trust-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .industry-catalog { grid-template-columns: 1fr; }
  .industry-detail-grid,
  .coverage-grid { grid-template-columns: 1fr; }
  .industry-detail-col,
  .coverage-col { border-right: 0; border-bottom: var(--line); }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: 0; }
  .materials-grid { grid-template-columns: 1fr; }
  .material-cell { border-right: 0; }
}
