/* System Smart LLC site. No JavaScript, no external requests. Brand: brand/config/brand-config.md */

:root {
  --black: #000000;
  --ink: #1a1a1a;
  --white: #ffffff;
  --accent: #6b8cc7;
  --accent-deep: #4a6a9e;
  --mist: #f5f7fa;
  --line: #e2e7ef;
  --muted: #5a6473;
  --on-dark-muted: #b8c2d3;
  --heading: "Futura", "Century Gothic", "Avenir Next", "Avenir", "Trebuchet MS", system-ui, sans-serif;
  --body: "Calibri", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Banner */
.banner { background: var(--accent-deep); color: var(--white); font-size: 0.95rem; text-align: center; padding: 8px var(--gutter); }
.banner a { color: var(--white); font-weight: 700; }

/* Header */
.site-header { background: var(--black); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--heading); font-weight: 700; letter-spacing: 0.08em; font-size: 1.15rem; line-height: 1; }
.brand-sub { display: block; font-family: var(--heading); font-size: 0.62rem; letter-spacing: 0.42em; color: var(--accent); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: var(--white); text-decoration: none; font-family: var(--heading); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); }
.hero .grid-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0.9; pointer-events: none; }
.hero .wrap { position: relative; padding-top: clamp(64px, 11vw, 132px); padding-bottom: clamp(64px, 11vw, 132px); }
.hero .eyebrow { color: var(--accent); }
.hero p.lede { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--on-dark-muted); max-width: 40em; }
.hero-short .wrap { padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 88px); }
.rule { width: 72px; height: 4px; background: var(--accent); border: 0; margin: 0 0 24px; }

.eyebrow { font-family: var(--heading); font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 14px; font-weight: 700; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; font-family: var(--heading); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 14px 22px; border: 2px solid var(--accent); background: var(--accent); color: var(--black); border-radius: 2px; }
.btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .eyebrow { color: var(--accent); }
.divider-top { border-top: 1px solid #1d222a; }
.section-dark p { color: var(--on-dark-muted); }
.section-dark a { color: var(--accent); }
.intro { max-width: 46em; }
.intro p { color: var(--muted); }
.section-dark .intro p { color: var(--on-dark-muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--heading); font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--black); line-height: 1.05; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }

/* Two front doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.door { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: clamp(24px, 3.5vw, 40px); text-decoration: none; color: var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.door:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10, 20, 40, 0.10); }
.door .eyebrow { margin-bottom: 8px; }
.door p { color: var(--muted); }
.door .go { margin-top: auto; font-family: var(--heading); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
.door .go::after { content: " \2192"; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 26px; }
.section-mist .card { border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--accent-deep); }

/* Work list */
.work { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.work-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.work-item .tag { font-family: var(--heading); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); font-weight: 700; padding-top: 3px; }
.work-item h3 { margin-bottom: 6px; }
.work-item p { color: var(--muted); margin: 0; }

/* Feature split */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.checklist li { break-inside: avoid; padding: 8px 0 8px 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.section-dark .checklist li { color: var(--white); }

/* Profile */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.profile img { width: 100%; border-radius: 2px; box-shadow: 0 18px 40px rgba(10, 20, 40, 0.18); }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.creds ul { padding-left: 1.1em; margin: 0; }
.creds li { margin-bottom: 6px; }

/* Contact strip */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 20px; margin-top: 28px; }
.contact-grid a { display: block; padding: 22px; border: 1px solid #2a2f38; color: var(--white); text-decoration: none; }
.contact-grid a:hover { border-color: var(--accent); color: var(--white); }
.contact-grid small { display: block; font-family: var(--heading); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-size: 0.72rem; margin-bottom: 6px; }

/* Prose (privacy) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.note { font-size: 0.95rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--black); color: var(--on-dark-muted); font-size: 0.95rem; padding: 40px 0; border-top: 1px solid #1d222a; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Tablet */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .profile { grid-template-columns: 1fr; }
  .profile img { max-width: 300px; }
  .work-item { grid-template-columns: 1fr; gap: 6px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero .grid-art { opacity: 0.45; }
  .profile img { max-width: 240px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav { gap: 2px 18px; }
  .doors, .contact-grid { grid-template-columns: 1fr; }
  .checklist { columns: 1; }
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .door { transition: none; }
  .door:hover { transform: none; }
}

@media print {
  .banner, .nav, .hero .grid-art, .actions { display: none; }
  .hero, .site-header, .site-footer, .section-dark { background: none; color: var(--black); }
}
