/* ==========================================================================
   Cobb's Welding & Metal Fabrication — design system
   Palette: charcoal / warm white / steel gray, one oxide-orange accent.
   Type: Archivo (variable width + weight).
   ========================================================================== */

:root {
  --ink: #111214;
  --char: #18191c;
  --char-2: #222428;
  --steel-700: #33363b;
  --steel-500: #5d636b;
  --steel-400: #80868e;
  --steel-300: #a9aeb4;
  --steel-200: #d3d5d8;
  --paper: #f4f1ec;
  --paper-2: #ebe7e0;
  --white: #fcfbf9;

  --accent: #c14e1b;        /* oxide — buttons & key marks only */
  --accent-ink: #a64216;    /* accent text on light backgrounds (AA) */
  --accent-bright: #ef7a45; /* accent text on dark backgrounds (AA) */

  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(17, 18, 20, 0.12);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.8rem + 2.6vw, 4.1rem);
  --step-5: clamp(2.7rem, 1.9rem + 3.9vw, 5.4rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --maxw: 1240px;
  --radius: 6px;
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 0.5em; font-weight: 700; font-stretch: 112%; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--step-5); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .section--light :focus-visible, .section--paper :focus-visible { outline-color: var(--accent); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.section--dark { background: var(--char); color: var(--paper); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--light { background: var(--white); }
.section--paper { background: var(--paper); }
.section--dark p, .section--ink p { color: #cfd1d4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel-500); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--accent); }
.section--dark .eyebrow, .section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--steel-300); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--steel-700); max-width: 60ch; }
.section--dark .lede, .section--ink .lede, .hero .lede, .page-hero .lede { color: #d9dbde; }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; }
  .section-head--split p { margin-bottom: 0.4em; }
}
.section-head h2 { margin-bottom: 0; }

.grid { display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.75rem); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 650; font-size: 1rem; letter-spacing: 0.005em; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #a94415; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover .arrow { transform: translateX(3px); }
  .arrow { transition: transform .18s ease; }
}

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; text-decoration: none;
  color: var(--accent-ink); padding-block: 0.4rem;
}
.text-link:hover { text-decoration: underline; }
.section--dark .text-link, .section--ink .text-link { color: var(--accent-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 18, 20, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--paper); min-height: 44px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-weight: 800; font-stretch: 118%; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-300); font-weight: 600; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem;
  text-decoration: none; font-size: 0.95rem; font-weight: 550; color: #d6d8db; border-radius: var(--radius);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-phone { display: none; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: #e5e6e8; padding: 0 .6rem; min-height: 44px; align-items: center; gap: .45rem; }
.header-phone svg { width: 16px; height: 16px; }
.header-cta { min-height: 42px; padding: 0.6rem 1rem; font-size: 0.93rem; gap: 0; white-space: nowrap; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--paper); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.menu-open .menu-toggle .icon-open { display: none; }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ink); color: var(--paper); overflow-y: auto; padding: 1.5rem var(--gutter) 2rem;
}
.menu-open .mobile-nav { display: block; }
.menu-open { overflow: hidden; }
.mobile-nav ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav a.mnav-link { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: 1.35rem; font-weight: 650; font-stretch: 110%; text-decoration: none; }
.mobile-nav .sub a.mnav-link { font-size: 1.05rem; font-weight: 500; padding: 0.8rem 0 0.8rem 1rem; color: #cfd1d4; }
.mobile-nav .btn-row .btn { flex: 1 1 100%; }

@media (min-width: 1040px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .header-phone { display: inline-flex; }
}
@media (max-width: 479px) {
  .header-cta .long { display: none; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .header-cta { padding: 0.55rem 0.8rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero .wrap { position: relative; display: grid; gap: 2.5rem; padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
@media (min-width: 1000px) {
  .hero .wrap { grid-template-columns: 1.15fr 1fr; align-items: center; min-height: min(78vh, 760px); }
}
.hero h1 { margin-bottom: 0.4em; }
.hero .display .muted { color: var(--steel-300); }
.hero .lede { margin-bottom: 2rem; }
.hero-art { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.hero-art svg { width: 100%; height: auto; }
.hero-note { font-size: 0.8rem; color: var(--steel-400); margin-top: 0.75rem; text-align: center; }
.hero::after { /* faint grid like layout paper */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.25;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}

.cutpath { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .cutpath { stroke-dashoffset: 1; animation: cut 3.2s cubic-bezier(.6,.05,.3,1) .4s forwards; }
  .js .cut-dot { opacity: 0; animation: fadein .4s ease 3.4s forwards; }
  @keyframes cut { to { stroke-dashoffset: 0; } }
  @keyframes fadein { to { opacity: 1; } }
}

/* Trust strip */
.trust { background: var(--char); color: var(--paper); border-top: 1px solid var(--line-dark); }
.trust ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; gap: 0.9rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust ul { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.trust li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; font-weight: 550; color: #e4e5e7; }
.trust svg { width: 20px; height: 20px; flex: none; color: var(--accent-bright); }

/* Keyword H1 styled as the small label; the old headline is display text */
h1.eyebrow, .hero h1.eyebrow, .page-hero h1.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; font-stretch: 100%;
  margin: 0 0 1.1rem; max-width: none; text-wrap: balance;
}
.display {
  font-size: var(--step-5); font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; font-stretch: 112%;
  margin: 0 0 0.4em; max-width: none; text-wrap: balance; color: inherit;
}
.page-hero .display { font-size: var(--step-4); max-width: 18ch; }
.hero .display { margin-bottom: 0.4em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.page-hero .wrap { padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); position: relative; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero .lede { margin-bottom: 1.75rem; }
.breadcrumb { font-size: var(--step--1); color: var(--steel-300); margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--steel-500); }
.breadcrumb a { color: var(--steel-200); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); background: var(--white);
  border: 1px solid var(--line-light); border-radius: 10px; text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(17,18,20,.45); }
}
.service-card .num { font-size: 0.8rem; font-weight: 700; color: var(--accent-ink); letter-spacing: 0.08em; }
.service-card h3 { font-size: var(--step-1); margin: 0; }
.service-card p { color: var(--steel-700); margin: 0; font-size: 0.98rem; }
.service-card .for { font-size: 0.86rem; color: var(--steel-500); margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line-light); }
.service-card .go { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; color: var(--accent-ink); font-size: 0.95rem; }
.service-card .icon { width: 40px; height: 40px; color: var(--ink); }

.section--dark .service-card { background: var(--char-2); border-color: var(--line-dark); color: var(--paper); }
.section--dark .service-card p { color: #c9cbcf; }
.section--dark .service-card .for { color: var(--steel-300); border-color: var(--line-dark); }
.section--dark .service-card .go, .section--dark .service-card .num { color: var(--accent-bright); }
.section--dark .service-card .icon { color: var(--paper); }
.section--dark .service-card:hover { border-color: var(--steel-300); }

/* Capability list */
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.cap-list li { display: grid; grid-template-columns: 1fr; gap: 0.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 700px) { .cap-list li { grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 1.5rem; } }
.cap-list strong { font-weight: 650; font-stretch: 108%; }
.cap-list span { color: #c4c7cb; }
.section--light .cap-list, .section--paper .cap-list { border-color: var(--line-light); }
.section--light .cap-list li, .section--paper .cap-list li { border-color: var(--line-light); }
.section--light .cap-list span, .section--paper .cap-list span { color: var(--steel-700); }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.section--dark .steps li { border-color: var(--paper); }
.steps li::before { content: "0" counter(step); display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--accent-ink); margin-bottom: 0.6rem; }
.section--dark .steps li::before { color: var(--accent-bright); }
.steps h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.steps p { font-size: 0.98rem; color: var(--steel-700); margin: 0; }
.section--dark .steps p { color: #c9cbcf; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.65rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 1.05rem; border-radius: 3px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.dashlist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.dashlist li { position: relative; padding-left: 1.4rem; }
.dashlist li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.7rem; height: 2px; background: var(--steel-400); }

/* Info panel */
.panel { background: var(--white); border: 1px solid var(--line-light); border-radius: 10px; padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.panel h3 { font-size: var(--step-1); }
.panel--dark { background: var(--char-2); border-color: var(--line-dark); color: var(--paper); }
.panel--dark p, .panel--dark li { color: #cfd1d4; }
.panel--note { background: var(--paper-2); border-color: transparent; }
.panel > :last-child { margin-bottom: 0; }

/* Credentials */
.creds { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; }
@media (min-width: 700px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.cred { background: var(--char); padding: 1.6rem; }
.cred .k { display: block; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-300); margin-bottom: 0.6rem; }
.cred .v { display: block; font-size: var(--step-1); font-weight: 700; font-stretch: 110%; color: var(--paper); line-height: 1.2; margin-bottom: 0.5rem; }
.cred p { font-size: 0.92rem; margin: 0; }
.proof { margin-top: 1.5rem; padding: 1.6rem; border: 1px solid var(--line-dark); border-radius: 10px; }
.proof h3 { font-size: var(--step-1); margin: 0 0 0.9rem; color: var(--paper); }
.proof .dashlist { margin: 0 0 1rem; display: grid; gap: 0.5rem; }
@media (min-width: 900px) { .proof .dashlist { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.service-card--cta { border-style: dashed; border-color: var(--steel-500); background: transparent; }

/* Service area tiers */
.tiers { display: grid; gap: 1rem; }
@media (min-width: 800px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
.tier { padding: 1.4rem 1.5rem; border-left: 3px solid var(--accent); background: var(--white); border-radius: 0 8px 8px 0; }
.tier h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.tier p { margin: 0; color: var(--steel-700); font-size: 0.98rem; }
.tier .scope { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 0.5rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 650; font-size: var(--step-1); font-stretch: 105%; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.4rem; color: var(--steel-700); }
.faq .answer p:last-child { margin-bottom: 0; }
.section--dark .faq, .section--dark .faq details { border-color: var(--line-dark); }
.section--dark .faq .answer { color: #cfd1d4; }

/* ---------- Photo placeholders (honest, clearly labelled) ---------- */
.ph {
  position: relative; margin: 0; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4 / 3; background-color: #2a2c30;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px);
  display: flex; align-items: flex-end; color: #d7d9dc;
}
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -70%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23878c93' stroke-width='1.4'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3.4'/%3E%3Cpath d='M8 5l1.2-2h5.6L16 5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ph figcaption { position: relative; width: 100%; padding: 0.9rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.55)); font-size: 0.85rem; line-height: 1.35; }
.ph figcaption b { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 0.2rem; }

/* ---------- Real project photos ---------- */
.photo { margin: 0; display: grid; gap: 0.6rem; align-content: start; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--wide img { aspect-ratio: 16 / 9; }
.photo figcaption { font-size: 0.9rem; line-height: 1.4; color: var(--steel-500); }
.section--dark .photo figcaption, .section--ink .photo figcaption { color: var(--steel-300); }
.hero-photo { position: relative; margin: 0; justify-self: stretch; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.hero-photo figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--steel-300); }
.brand-badge { height: 48px; width: auto; border-radius: 4px; }
.site-footer .brand-badge { height: 72px; }
@media (max-width: 420px) { .brand-badge { height: 40px; } }

/* Customer journeys */
.journeys { display: grid; gap: 1rem; }
@media (min-width: 860px) { .journeys { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.journey { display: grid; gap: 0.9rem; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); border-radius: 12px; background: var(--white); border: 1px solid var(--line-light); }
.journey--biz { background: var(--char); color: var(--paper); border-color: var(--char); }
.journey--biz p, .journey--biz li { color: #cfd1d4; }
.journey h3 { font-size: var(--step-2); margin: 0; }
.journey .who { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.journey--biz .who { color: var(--accent-bright); }
.journey ul { margin: 0; }
.journey .btn-row { margin-top: auto; padding-top: 0.5rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn {
  min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line-light); background: var(--white);
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
}
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gallery { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.project { display: flex; flex-direction: column; gap: 0.9rem; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.project .cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.project h3 { font-size: var(--step-1); margin: 0.15rem 0 0.35rem; }
.project p { font-size: 0.96rem; color: var(--steel-700); margin: 0 0 0.4rem; }
.project[hidden] { display: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.5rem; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.fieldset legend { font-weight: 700; font-size: var(--step-1); font-stretch: 108%; margin-bottom: 0.4rem; padding: 0; }
.fieldset .hint-top { margin: -0.4rem 0 0.2rem; color: var(--steel-500); font-size: 0.93rem; }
.fieldset--cond { padding: 1.25rem; background: var(--paper); border-radius: 8px; border: 1px solid var(--line-light); }
.fieldset--cond legend { float: left; width: 100%; margin-bottom: 0.4rem; }
.fieldset--cond legend + * { clear: both; }
.row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .row--2 { grid-template-columns: 1fr 1fr; } .row--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 0.97rem; }
.req { color: var(--accent-ink); font-weight: 700; }
.opt { color: var(--steel-500); font-weight: 400; font-size: 0.88rem; }
.hint { font-size: 0.86rem; color: var(--steel-500); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem; border: 1.5px solid #c5c8cc; border-radius: var(--radius);
  background: #fff; font-size: 16px; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.6'/%3E%3C/svg%3E") right 0.9rem center/12px no-repeat; padding-right: 2.4rem; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(193, 78, 27, 0.28); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #b3261e; }
.error { color: #b3261e; font-size: 0.88rem; font-weight: 600; margin: 0; }
.error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.6rem 1rem; border: 1.5px solid #c5c8cc; border-radius: var(--radius);
  background: #fff; font-weight: 550; font-size: 0.97rem;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 22px; height: 22px; margin-top: 0.1rem; flex: none; accent-color: var(--accent); }
.file-drop { border: 1.5px dashed #b4b8bd; border-radius: 8px; padding: 1.1rem; background: #fff; }
.file-drop input { width: 100%; font-size: 0.95rem; }
.file-list { list-style: none; padding: 0; margin: 0.6rem 0 0; font-size: 0.88rem; color: var(--steel-700); display: grid; gap: 0.25rem; }
.form-status { padding: 1rem 1.2rem; border-radius: 8px; font-weight: 550; }
.form-status--error { background: #fbe9e7; color: #7f1d16; border: 1px solid #f0b8b1; }
.form-note { font-size: 0.86rem; color: var(--steel-500); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.js [data-show-for] { display: none; }
.js [data-show-for].is-visible { display: grid; }

/* Contact block */
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-lines a { font-size: var(--step-2); font-weight: 700; font-stretch: 110%; text-decoration: none; letter-spacing: -0.01em; word-break: break-word; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines .k { display: block; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 0.15rem; }
.panel--dark .contact-lines .k { color: var(--steel-300); }
.contact-lines .email a { font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.12rem); word-break: normal; overflow-wrap: anywhere; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta-band .wrap { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); display: grid; gap: 2rem; position: relative; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.cta-band h2 { max-width: 16ch; margin: 0; }
.cta-band p { color: #cfd1d4; }
.cta-band .actions { display: grid; gap: 1rem; }
.cta-band .phone-big { font-size: var(--step-2); font-weight: 700; font-stretch: 110%; text-decoration: none; color: var(--paper); }
.cta-band .phone-big:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4c7cb; border-top: 1px solid var(--line-dark); font-size: 0.95rem; }
.site-footer .wrap { padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-300); margin-bottom: 1rem; font-stretch: 100%; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.site-footer a { text-decoration: none; color: #e1e2e4; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { color: #a9adb2; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.85rem; color: #8d9298; }
.footer-bottom a { min-height: auto; color: #b8bbc0; }

/* ---------- Mobile action bar (discreet, never covers the form) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(17,18,20,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 46px; padding: 0.6rem; font-size: 0.95rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body.has-mobile-bar .site-footer { padding-bottom: 76px; } }

/* ---------- Misc ---------- */
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose { max-width: 72ch; }
.kicker-num { font-size: var(--step-5); font-weight: 800; font-stretch: 120%; line-height: 1; color: var(--accent); }
.divider { height: 1px; background: var(--line-light); border: 0; margin: 3rem 0; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.88rem; color: var(--steel-500); }
.section--dark .small { color: var(--steel-300); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 4px; background: var(--paper-2); color: var(--steel-700); }

/* Reveal — content is visible by default; JS only adds motion when allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Shop magic — small, on-theme surprises. Everything still works (and reads
   the same) with motion turned off.
   ========================================================================== */

/* 1. Plasma-cut line under the headline */
.hero .display .muted { position: relative; display: inline-block; }
.hero .display .muted::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #ffb27d); transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero .display .muted::after { transform: scaleX(0); animation: cutline 1.7s cubic-bezier(.6,.1,.3,1) .7s forwards; }
  .js .hero .display .muted::before {
    content: ""; position: absolute; bottom: -0.05em; left: 0; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 10px 3px #ffb27d, 0 0 24px 8px rgba(239,122,69,.55); opacity: 0; pointer-events: none;
    animation: torch 1.7s cubic-bezier(.6,.1,.3,1) .7s forwards;
  }
  @keyframes cutline { to { transform: scaleX(1); } }
  @keyframes torch { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
}

/* 2. Weld bead stitches along primary buttons */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 5px, transparent 5px 9px);
  transform: scaleX(0); transform-origin: left; transition: transform .5s steps(14);
}
.btn--primary:hover::after, .btn--primary:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .btn--primary::after { transition: none; } }

/* 3. Weld seam with a hidden "C" (look closely) */
.seam {
  position: relative; height: 10px; margin: 2.5rem 0 0;
  background: radial-gradient(circle at 5px 5px, rgba(255,255,255,.10) 3px, transparent 3.5px) left center / 9px 10px repeat-x;
}
.seam .hidden-c { position: absolute; top: -1px; left: 63%; width: 12px; height: 12px; color: rgba(255,255,255,.16); }
.section--light .seam, .section--paper .seam { background-image: radial-gradient(circle at 5px 5px, rgba(17,18,20,.10) 3px, transparent 3.5px); }
.section--light .seam .hidden-c, .section--paper .seam .hidden-c { color: rgba(17,18,20,.18); }

/* 4. Secret sparks + toast */
.spark { position: fixed; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; z-index: 200;
  background: #fff; box-shadow: 0 0 6px 2px #ffb27d, 0 0 12px 4px rgba(239,122,69,.6); }
.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 201;
  background: var(--ink); color: var(--paper); border: 1px solid var(--line-dark); border-left: 3px solid var(--accent);
  padding: 0.8rem 1.1rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6);
}

/* 5. Weld bead drawn on the confirmation page */
.bead-svg { width: min(520px, 100%); height: auto; margin: 0 0 1.5rem; display: block; }
.bead-svg .bead { fill: none; stroke: url(#beadHeat); stroke-width: 5; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .js .bead-svg .bead { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cut 2.4s ease-out .3s forwards; }
  .js .bead-svg .tip { animation: tip 2.4s ease-out .3s forwards; opacity: 0; }
  @keyframes tip { 0% { opacity: 1; offset-distance: 0%; } 95% { opacity: 1; } 100% { opacity: 0; offset-distance: 100%; } }
}

/* ---------- Capability statement (screen + one printed page) ---------- */
.capstate { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line-light); border-radius: 10px; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); color: var(--ink); }
.cs-head { display: grid; gap: 1rem; align-items: center; border-bottom: 3px solid var(--accent); padding-bottom: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .cs-head { grid-template-columns: 150px 1fr; } }
.cs-logo { width: 150px; height: auto; border-radius: 6px; background: #000; }
.cs-name { font-size: var(--step-2); margin: 0 0 0.15rem; }
.cs-tag { margin: 0 0 0.4rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; color: var(--accent-ink); }
.cs-contact { margin: 0; font-size: 0.9rem; color: var(--steel-700); max-width: none; }
.cs-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .cs-grid { grid-template-columns: 1fr 1fr; } }
.capstate h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.5rem; color: var(--ink); border-bottom: 1px solid var(--line-light); padding-bottom: 0.3rem; }
.capstate ul { margin: 0 0 1rem; padding-left: 1.1rem; font-size: 0.93rem; line-height: 1.45; }
.capstate li { margin-bottom: 0.3rem; }
.cs-note { font-size: 0.85rem; color: var(--steel-500); margin: -0.5rem 0 1rem; }
.cs-codes { border-top: 1px solid var(--line-light); padding-top: 0.8rem; margin-top: 0.5rem; }
.cs-codes p { font-size: 0.85rem; margin: 0 0 0.35rem; max-width: none; }

@media print {
  .no-print, .skip-link { display: none !important; }
  .capstate-wrap { padding: 0 !important; background: #fff !important; }
  .capstate-wrap .wrap { padding: 0 !important; max-width: none; }
  .capstate { border: 0; padding: 0; max-width: none; font-size: 10.5pt; }
  .cs-head { grid-template-columns: 120px 1fr; }
  .cs-logo { width: 120px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cs-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .capstate ul { font-size: 9.5pt; }
  .cs-head, .cs-tag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: letter; margin: 0.5in; }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .hero-art { display: none !important; }
  body { background: #fff; }
}
