/* Grey Dog Labs — Industrial Websites. Shared by every page under /industrial. */
:root {
  --graphite: #1b1d20;
  --graphite-2: #26292d;
  --paper: #f6f4ef;
  --paper-2: #ecE9e2;
  --steel: #5d656e;
  --steel-light: #c3c8cd;
  --line: #d9d6cf;
  --amber: #e08a2c;
  --amber-ink: #9a520c;
  --ink: #1b1d20;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 750; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 720; }
h3 { font-size: 20px; font-weight: 680; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

.eyebrow, .label { font: 600 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin: 0 0 14px; }
.dark .eyebrow, .dark .label { color: var(--steel-light); }
.lede { font-size: 19px; color: var(--steel); max-width: 680px; }
.dark .lede { color: var(--steel-light); }

/* Header */
.util { background: var(--graphite); color: var(--steel-light); font-size: 13px; }
.util .wrap { display: flex; justify-content: flex-end; gap: 6px 22px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.util a { color: inherit; text-decoration: none; }
.util a:hover { color: var(--paper); }
@media (max-width: 760px) { .util { display: none; } }
.site-head { position: sticky; top: 0; z-index: 5; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: .01em; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font: 600 10.5px var(--mono); color: var(--steel); letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; gap: 4px 26px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; padding: 6px 0; }
.nav a:hover { color: var(--amber-ink); }
.nav .btn { padding: 11px 16px; font-size: 13px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--graphite); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand small { display: none; } }
@media (max-width: 420px) { .nav .btn { padding: 10px 12px; font-size: 12px; white-space: nowrap; } .brand { font-size: 16px; } .brand img { width: 30px; height: 30px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 4px; font: 650 16px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--amber); color: var(--graphite); }
.btn-primary:hover { background: #f09a3c; color: var(--graphite); }
.btn-ghost { border-color: #4a4f55; color: var(--paper); }
.btn-ghost:hover { border-color: var(--steel-light); color: var(--paper); }
.light .btn-ghost { border-color: var(--steel-light); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 600px) { section { padding: 60px 0; } }
.dark { background: var(--graphite); color: var(--paper); }
.alt { background: var(--paper-2); }
.hero { padding: 0; background: linear-gradient(100deg, var(--paper) 42%, #e6e2d9); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; min-height: 600px; }
.hero .copy { padding: 80px 0; }
.hero .lede { color: var(--steel); }
.support { margin-top: 28px; font: 500 13px/1.7 var(--mono); color: var(--steel); }
.support span + span::before { content: "·"; margin: 0 10px; color: var(--amber); }
.showcase { position: relative; padding: 40px 0 56px; }
.browser { background: #fff; border: 1px solid #cfcbc2; border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(27,29,32,.35); overflow: hidden; width: 112%; }
.browser .bar { display: flex; gap: 6px; padding: 9px 12px; background: #efede8; border-bottom: 1px solid #ddd9d0; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #cdc8bd; }
.phone { position: absolute; left: -36px; bottom: 16px; width: 150px; border: 6px solid var(--graphite); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 24px 40px -20px rgba(27,29,32,.5); }
.showcase figcaption { position: absolute; right: -12%; bottom: 18px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero .copy { padding: 56px 0 8px; }
  .showcase { padding: 32px 0 24px; } .browser { width: 92%; } .phone { left: auto; right: 0; bottom: 48px; width: 108px; } .showcase figcaption { position: static; margin-top: 16px; }
}

.strip { padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.strip li { padding: 22px 16px; border-right: 1px solid var(--line); font-weight: 650; font-size: 15px; display: grid; gap: 10px; }
.strip li:first-child { border-left: 1px solid var(--line); }
.strip svg { width: 28px; height: 28px; color: var(--amber-ink); }
@media (max-width: 900px) { .strip ul { grid-template-columns: repeat(3, 1fr); } .strip li { border-bottom: 1px solid var(--line); } .strip li:nth-child(4) { border-left: 1px solid var(--line); } }
@media (max-width: 520px) { .strip ul { grid-template-columns: repeat(2, 1fr); } .strip li:nth-child(odd) { border-left: 1px solid var(--line); } .strip li:nth-child(4) { border-left: 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.point { border-top: 3px solid var(--amber); padding-top: 18px; }
.point p { color: var(--steel); }

/* Example cards */
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--steel); color: var(--ink); }
.card .shot { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.card .body { padding: 20px 22px 24px; }
.card p { color: var(--steel); margin: 0; }
.fictional { display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); background: var(--amber); padding: 5px 8px; border-radius: 3px; margin-bottom: 12px; }

/* Framework list */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.dark .steps li { border-color: #3a3e43; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 14px var(--mono); color: var(--amber); padding-top: 3px; }
.steps strong { display: block; font-size: 19px; margin-bottom: 2px; }
.steps span { color: var(--steel); }
.dark .steps span { color: var(--steel-light); }

/* Founder */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.founder img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 260px; } }

/* Pricing */
.prices { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.price.main { border-top: 4px solid var(--amber); }
.price .amount { font-size: 44px; font-weight: 760; letter-spacing: -0.02em; margin: 4px 0 12px; }
.price .amount small { font-size: 17px; font-weight: 500; color: var(--steel); }
.price p { color: var(--steel); }
details.scope { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0 24px; }
details.scope summary { cursor: pointer; padding: 18px 0; font-weight: 650; }
details.scope ul { margin: 0 0 16px; padding-left: 20px; color: var(--steel); }
details.scope h3 { font-size: 16px; margin: 8px 0 8px; }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font: 500 22px var(--mono); color: var(--amber-ink); }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--steel); max-width: 720px; }

/* Forms */
.form { max-width: 640px; display: grid; gap: 20px; margin-top: 32px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field .hint { font-size: 14px; color: var(--steel); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; font: 17px var(--sans); padding: 12px 14px; border: 1px solid #b9bcc0; border-radius: 4px; background: #fff; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--graphite); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 14px; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--steel); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: 4px; border-left: 4px solid var(--amber); background: #fff; }
.notice.error { border-color: #b3261e; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose ul { padding-left: 20px; }

/* Example detail */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
.compare figure { margin: 0; }
.compare figcaption { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.compare img { border: 1px solid var(--line); border-radius: 6px; }
.mobile-pair { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.mobile-pair figure { margin: 0; width: 240px; max-width: 100%; }
.changes { margin-top: 24px; padding-left: 20px; }
.changes li { margin-bottom: 10px; }

/* Footer */
.site-foot { background: var(--graphite); color: var(--steel-light); padding: 40px 0; font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot a { color: var(--steel-light); }
.site-foot a:hover { color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Photo-backed dark band */
.photo-band { position: relative; background: var(--graphite) center / cover no-repeat; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,29,32,.95) 30%, rgba(27,29,32,.82)); }
.photo-band > .wrap { position: relative; }
