/* kcsurat.com — "Industrial precision" (option A, chosen 12 Nov 2026).
   Layout: wide column (max 1280px), white with graphite type and KC red markers; capability shown like a
   spec sheet: monospace labels and numbers, hairline grids, square tailored buttons. */
:root {
  --bg: #ffffff;
  --band: #f3f4f6;
  --ink: #1e2226;
  --steel: #5b636b;
  --line: #e2e5e8;
  --red: #d71920;
  --red-dark: #a8121a;
  --night-muted: #aab2ba;
  --night-text: #c9cfd5;
  --font-head: "Archivo", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.025em; margin: 0; text-wrap: balance; line-height: 1.05; }
h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3, .h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--red); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin: 5px 0; }
address { font-style: normal; }
.muted { color: var(--steel); }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--steel); max-width: 36em; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

.inner { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
main > section { padding-block: clamp(56px, 7vw, 88px); }
main > section.inner { display: grid; gap: 28px; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .inner { display: grid; gap: 28px; }
.sec-head { display: grid; gap: 8px; max-width: 760px; align-content: start; }

/* header */
.site-head { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.site-head .inner { display: flex; align-items: center; gap: 28px; padding-block: 14px; flex-wrap: wrap; }
.brand img { width: 124px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--ink); }
@media (max-width: 960px) {
  .site-head { position: static; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; gap: 20px; }
  .nav a { white-space: nowrap; }
  .head-cta { margin-left: auto; }
  .brand img { width: 108px; }
}

/* buttons: square, solid */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 0; font: 700 15px/1.3 var(--font-body); text-decoration: none; border: 2px solid var(--ink); text-align: center; }
.btn-red { background: var(--ink); color: #fff; }
.btn-red:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.head-cta { min-height: 44px; padding: 10px 18px; font-size: 14px; background: var(--red); border-color: var(--red); }
.head-cta:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* hero */
.hero { padding-block: clamp(48px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.hero-text { display: grid; gap: 22px; }
.hero-text h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; }
.hero-text .lead { margin: 0; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { margin: 0; display: grid; gap: 10px; }
.hero-img img { width: 100%; aspect-ratio: 5 / 5.2; object-fit: cover; object-position: center 75%; }
.hero-img figcaption, .gallery figcaption, .about-img figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img img { aspect-ratio: 4 / 3; }
}

/* proof: spec band */
.proof { background: var(--ink); color: #fff; padding-block: 40px !important; }
.proof-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.proof-grid div { display: grid; gap: 6px; align-content: start; border-left: 3px solid var(--red); padding-left: 16px; }
.proof-grid i { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--night-muted); }
.proof-grid b { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-grid span { font-size: 14px; color: var(--night-text); line-height: 1.45; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* two-column blocks, cards */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.band .card { border-color: var(--line); border-top-color: var(--ink); }
.track h3 { font-size: 26px; }
.track h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-bottom: 14px; }

/* tiles (work types): spec grid */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.tile { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.tile + .tile { padding-left: 22px; border-left: 1px solid var(--line); }
.tile:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.tile p { margin: 0; color: var(--steel); font-size: 15px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } .tile:nth-child(3n+1) { border-left: 1px solid var(--line); padding-left: 22px; } .tile:nth-child(2n+1) { border-left: 0; padding-left: 0; } }
@media (max-width: 540px) { .tiles { grid-template-columns: 1fr; } .tile, .tile + .tile, .tile:nth-child(3n+1) { border-left: 0; padding-left: 0; } }
.arrow { font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.arrow::after { content: " →"; }

/* industries: 3-column spec grid with numbered cells */
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.idx { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; gap: 6px 12px; padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; align-content: start; }
.idx + .idx { padding-left: 22px; border-left: 1px solid var(--line); }
.idx:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.idx-n { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.idx-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.idx-go { font-size: 20px; color: var(--steel); transition: transform .2s ease, color .2s ease; }
.idx-desc { grid-column: 1 / -1; color: var(--steel); font-size: 15px; line-height: 1.5; }
.idx:hover .idx-name { color: var(--red); }
.idx:hover .idx-go { transform: translateX(4px); color: var(--red); }
.idx-wide { grid-column: span 2; }
@media (max-width: 960px) { .index { grid-template-columns: 1fr 1fr; } .idx:nth-child(3n+1) { border-left: 1px solid var(--line); padding-left: 22px; } .idx:nth-child(2n+1) { border-left: 0; padding-left: 0; } .idx-wide { grid-column: 1 / -1; } }
@media (max-width: 560px) { .index { grid-template-columns: 1fr; } .idx, .idx + .idx, .idx:nth-child(3n+1) { border-left: 0; padding-left: 0; } .idx-wide { grid-column: auto; } }

/* gallery */
.gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 0 !important; }
.gallery figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:last-child { display: none; } }

/* steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; gap: 6px; align-content: start; margin: 0; padding: 20px 18px 20px 0; }
.steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.steps b { font-weight: 700; font-size: 19px; line-height: 1.3; }
.steps span { color: var(--steel); font-size: 15px; }
.steps.steps-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.steps-7 li { border-bottom: 1px solid var(--line); }
.steps.steps-7 li:nth-child(5) { border-left: 0; padding-left: 0; }
@media (max-width: 900px) {
  .steps, .steps.steps-7 { grid-template-columns: 1fr; }
  .steps li, .steps li + li, .steps.steps-7 li:nth-child(5) { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* chips → spec tags */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.chips li { margin: 0; border: 1px solid var(--line); background: var(--bg); padding: 7px 12px; font-family: var(--font-mono); font-size: 13px; }

/* WhatsApp hooks */
.hook-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hook { gap: 14px !important; align-content: space-between; }
.hook p { margin: 0; color: var(--steel); }
.hook .btn { justify-self: start; }
@media (max-width: 860px) { .hook-grid { grid-template-columns: 1fr; } }

/* closing call to action: light band, red action */
.cta { background: var(--band); border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta p { color: var(--steel); margin: 6px 0 0; }
.cta .btn-red { background: var(--red); border-color: var(--red); }
.cta .btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* inner pages */
.page-head { padding-block: clamp(48px, 6vw, 80px) 8px !important; display: grid; gap: 18px; }
.page-head h1 { max-width: 20ch; }
.tbl-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); font-weight: 500; }
tbody th { font-weight: 700; }
.about { align-items: start; }
.about > div { display: grid; gap: 4px; }
.about h2 { margin-top: 14px; }
.about-img { margin: 0; display: grid; gap: 10px; }
.faq { max-width: 900px; }
.faq h2 { margin-bottom: 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--red); font-size: 20px; line-height: 1.2; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--steel); max-width: 70ch; }
.contact-card dl { display: grid; grid-template-columns: 160px 1fr; gap: 12px 16px; margin: 0 0 16px; }
.contact-card dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); padding-top: 3px; }
.contact-card dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 540px) { .contact-card dl { grid-template-columns: 1fr; gap: 2px; } .contact-card dd { margin-bottom: 10px; } }
.prose { max-width: 860px; }
.prose h2 { font-size: 24px; margin-top: 18px; }

/* enquiry form */
.enquiry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; max-width: 900px; }
.enquiry .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--font-body); padding: 12px; border: 1px solid #c3c9cf; border-radius: 0; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-error { color: var(--red-dark); font-weight: 700; margin: 0; }
@media (max-width: 600px) { .enquiry { grid-template-columns: 1fr; } }

/* footer */
.site-foot { background: var(--ink); color: #fff; padding-block: 56px 24px; font-size: 15px; }
.site-foot a { color: #fff; }
.site-foot .muted { color: var(--night-text); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1.2fr 1fr 0.9fr; gap: 28px; }
.foot-grid img { width: 112px; margin-bottom: 12px; background: #fff; padding: 8px 10px; box-sizing: content-box; }
.foot-h { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 10px; }
.foot-links { display: flex; flex-direction: column; gap: 5px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.copy { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--font-mono); font-size: 12px; color: var(--night-muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .btn, .nav a { transition: background-color .15s, color .15s, border-color .15s; } }

/* sticky WhatsApp / Call bar on phones */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); gap: 10px; box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18); }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 700; font-size: 16px; text-decoration: none; color: #fff; border: 2px solid #fff; }
  .mbar .mbar-wa { background: var(--red); border-color: var(--red); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* hero video loop */
.hero-img video { width: 100%; aspect-ratio: 5 / 5.2; object-fit: cover; display: block; background: var(--band); }
@media (max-width: 860px) { .hero-img video { aspect-ratio: 4 / 3; } }

/* Open designs gallery (added 12 Nov 2026): square close-ups, mono design codes, WhatsApp ask under each */
.dz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; }
.dz { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.dz > a { display: block; }
.dz img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--band); }
.dz figcaption { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; }
.dz figcaption b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--red); }
.dz-ask { font-weight: 700; margin-top: 4px; justify-self: start; }
main > section.dz-group { padding-block: 0 clamp(40px, 5vw, 64px); }
main > section.dz-group:first-of-type, .page-head + .dz-group { padding-top: 32px; }
.dz-group h2 { border-top: 2px solid var(--ink); padding-top: 14px; }
@media (max-width: 760px) { .dz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .dz figcaption { font-size: 13px; } }
