/*
Theme Name: 210mike Modern
Theme URI: https://210mike.com/
Author: Mike Price / OpenAI
Description: A custom portfolio and services theme for 210mike.com, compatible with a Multisite primary site or standalone WordPress.
Version: 0.1.24
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: 210mike-modern
*/

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --line: #dbe2ea;
  --brand: #0f6fff;
  --brand-dark: #084bb4;
  --accent: #16a3a6;
  --warm: #f1f5f9;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 94px 0; }
.home .section { padding: 78px 0; }
.section--tight { padding: 64px 0; }
.home .section--tight { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.section-intro { max-width: 730px; margin: 18px 0 0; color: var(--ink-soft); font-size: 1.1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,251,.88);
  border-bottom: 1px solid rgba(219,226,234,.85);
  backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { text-decoration: none; display: inline-flex; align-items: flex-start; line-height: 1; min-width: 0; flex: 0 1 auto; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.brand-title-row { display: inline-flex; align-items: center; gap: 4px; width: max-content; max-width: 100%; }
.brand-mark { font-size: 1.45rem; font-weight: 900; letter-spacing: -.05em; white-space: nowrap; }
.brand-sub { margin-top: 7px; color: var(--ink-soft); font-size: .72rem; font-weight: 750; letter-spacing: .015em; }
.brand-badge-wrap { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-badge { display: block; width: auto; height: 21px; max-width: 102px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: .94rem; }
.site-nav a:hover { color: var(--brand); }
.nav-cta { padding: 11px 16px; border-radius: 999px; background: var(--ink); color: #fff !important; }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 800; }

.hero { padding: 86px 0 66px; overflow: hidden; }
.home .hero { padding: 74px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 72px; align-items: center; }
.hero-grid--single { grid-template-columns: 1fr; gap: 0; }
.hero--after-about { padding-top: 72px; }
.home .hero--after-about { padding-top: 60px; }
.hero--after-about h1 { max-width: 980px; }
.hero h1 { margin: 0; font-size: clamp(3.25rem, 7vw, 6.5rem); line-height: .92; letter-spacing: -.075em; max-width: 850px; }
.hero h1 span { color: var(--brand); }
.hero-copy { max-width: 720px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(1.12rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 800; transition: .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 28px rgba(15,23,42,.18); }
.button--secondary { background: transparent; border-color: var(--line); }
.button--brand { background: var(--brand); color: #fff; }

.hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg,#fff 0%,#eef5ff 100%);
  box-shadow: var(--shadow);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: -60px -80px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(15,111,255,.09);
  filter: blur(3px);
}
.hero-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: #94a3b8; }
.hero-code { padding: 24px; border-radius: 18px; background: #0b1220; color: #d8e7ff; font: 600 .87rem/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; }
.hero-code .blue { color: #77b7ff; }
.hero-code .green { color: #6ee7b7; }
.hero-code .muted { color: #70809a; }
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.hero-stat { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.8); border: 1px solid rgba(219,226,234,.9); }
.hero-stat strong { display: block; font-size: 1.8rem; line-height: 1; letter-spacing: -.04em; }
.hero-stat span { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }


.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.home .services-grid { margin-top: 34px; }
.service-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(15,23,42,.08); }
.service-index { color: var(--brand); font-weight: 900; font-size: .82rem; }
.service-card h3 { margin: 30px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--ink-soft); }

.work-section { background: #0b1220; color: #fff; }
.work-section .section-intro { color: #aebbd0; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 44px; }
.home .projects-grid { margin-top: 36px; }
.project-card { border: 1px solid #22304a; border-radius: 26px; overflow: hidden; background: #101a2c; }
.project-visual { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(145deg,#1d2a44,#0f172a); overflow: hidden; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .45s ease; }
.project-card:hover .project-visual img { transform: scale(1.025); }
.browser-bar { position: absolute; inset: 0 0 auto; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(12,18,31,.88); z-index: 2; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #65728a; }
.project-fallback { height: 100%; display: grid; place-items: center; padding: 40px; text-align: center; }
.project-fallback strong { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.06em; }
.project-body { padding: 24px; }
.project-kicker { color: #7eb5ff; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.project-body h3 { margin: 10px 0 9px; font-size: 1.6rem; letter-spacing: -.04em; }
.project-body p { margin: 0; color: #b5c2d6; }
.project-link { display: inline-block; margin-top: 18px; color: #fff; font-weight: 800; text-decoration: none; }
.project-link:hover { color: #7eb5ff; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.home .split { gap: 56px; }
.sticky-copy { position: sticky; top: 130px; }
.feature-list { display: grid; gap: 14px; }
.feature-row { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-row:first-child { border-top: 1px solid var(--line); }
.feature-num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #e7efff; color: var(--brand-dark); font-weight: 900; }
.feature-row h3 { margin: 0 0 5px; font-size: 1.15rem; }
.feature-row p { margin: 0; color: var(--ink-soft); }

.ai-panel { padding: 48px; border-radius: 30px; background: linear-gradient(145deg,#eaf3ff,#ffffff 55%,#e9fbf8); border: 1px solid var(--line); box-shadow: var(--shadow); }
.home .ai-panel { padding: 42px; }
.ai-panel-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 42px; align-items: center; }
.ai-panel h2 { margin: 0; font-size: clamp(2.3rem,4vw,4.3rem); line-height: 1; letter-spacing: -.06em; }
.ai-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ai-badge { padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid var(--line); font-size: .8rem; font-weight: 800; }
.ai-system-visual { width: min(100%, 430px); margin: 0 auto; padding: 24px; border-radius: 24px; background: #0b1220; border: 1px solid #22304a; box-shadow: 0 26px 60px rgba(15,23,42,.16); color: #d8e7ff; }
.ai-system-label { margin-bottom: 20px; color: #7d8da7; font: 700 .74rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.ai-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.ai-node { min-width: 0; padding: 15px 8px; border-radius: 16px; text-align: center; background: #101a2c; border: 1px solid #2a3955; }
.ai-node span { width: 42px; height: 42px; margin: 0 auto 9px; border-radius: 13px; display: grid; place-items: center; background: #17243a; color: #7eb5ff; font: 900 .9rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ai-node--brain span { background: #11362f; color: #6ee7b7; }
.ai-node--data span { background: #2b2447; color: #c4b5fd; }
.ai-node strong { display: block; font-size: .72rem; line-height: 1.25; }
.ai-connector { display: flex; gap: 3px; align-items: center; }
.ai-connector i { width: 4px; height: 4px; border-radius: 50%; background: #607391; }
.ai-system-code { margin-top: 18px; padding: 13px 15px; border-radius: 13px; background: #07101e; color: #8292aa; font: 700 .72rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.ai-system-code strong { color: #6ee7b7; }
.ai-system-code span:last-child { color: #7eb5ff; }

.about-first { padding-top: 12px; }
.home .about-first { padding-top: 42px; }
.about-brand-mark {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 -25px;
  pointer-events: none;
}
.about-brand-logo {
  display: block;
  width: auto;
  height: 50px;
  max-width: 240px;
  filter: drop-shadow(0 10px 22px rgba(15,23,42,.16));
}
.about-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  gap: 46px;
  padding: 52px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-image:
    linear-gradient(rgba(15,111,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,111,255,.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(239,246,255,.88) 62%, rgba(236,253,250,.7));
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: 0 28px 70px rgba(15,23,42,.08);
}
.about-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #4f8cff 55%, var(--accent));
}
.about-card--lead { align-items: center; }
.about-copy, .about-visual { position: relative; z-index: 1; min-width: 0; }
.about-lead {
  margin: 0;
  color: var(--ink) !important;
  font-size: clamp(1.5rem, 2.35vw, 2.15rem);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.04em;
}
.about-lead strong { font-weight: 900; }
.about-lead span { color: var(--brand); }
.about-copy > p:not(.about-lead) { margin: 20px 0 0; color: var(--ink-soft); font-size: 1.03rem; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.about-item {
  min-height: 58px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(219,226,234,.95);
  border-radius: 15px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 20px rgba(15,23,42,.035);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.3;
}
.about-item::before {
  content: "✓";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f0ff;
  color: var(--brand-dark);
  font-size: .73rem;
  font-weight: 900;
}
.hero-card--about { width: 100%; box-shadow: 0 24px 55px rgba(15,23,42,.13); }
.hero-card--about::after { display: none; }

.cta-band { padding: 72px 0; background: var(--brand); color: #fff; }
.home .cta-band { padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-inner h2 { margin: 0; max-width: 760px; font-size: clamp(2.2rem,5vw,4.5rem); line-height: .98; letter-spacing: -.06em; }
.cta-inner .button { background: #fff; color: var(--ink); flex: 0 0 auto; }

.page-hero { padding: 82px 0 45px; }
.page-hero h1 { margin: 0; max-width: 850px; font-size: clamp(3.1rem,7vw,6rem); line-height: .95; letter-spacing: -.07em; }
.page-hero p { max-width: 760px; color: var(--ink-soft); font-size: 1.2rem; }
.content-card { padding: 38px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }


/* Contact page: form-first composition */
.contact-page { padding: 58px 0 90px; }
.contact-intro { max-width: 820px; margin-bottom: 30px; }
.contact-intro .eyebrow { margin-bottom: 10px; }
.contact-intro h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: .98; letter-spacing: -.06em; }
.contact-intro p { max-width: 720px; margin: 17px 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(290px, .62fr); gap: 24px; align-items: start; }
.contact-form-card { position: relative; overflow: hidden; padding: 34px; border-radius: 28px; border: 1px solid #cfd9e6; background: #fff; box-shadow: 0 28px 65px rgba(15,23,42,.1); }
.contact-form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), #4f8cff 55%, var(--accent)); }
.contact-form-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.contact-form-head h2 { margin: 0; font-size: clamp(1.65rem, 2.7vw, 2.2rem); letter-spacing: -.045em; }
.contact-form-head p { max-width: 390px; margin: 0; color: var(--ink-soft); font-size: .91rem; }
.contact-fit { padding: 8px 0 0; }
.contact-fit > .eyebrow { margin-bottom: 14px; }
.good-fit-grid { display: grid; gap: 10px; }
.good-fit-card { padding: 17px 18px; border-radius: 17px; border: 1px solid var(--line); background: rgba(255,255,255,.76); box-shadow: 0 8px 24px rgba(15,23,42,.035); }
.good-fit-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.good-fit-num { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 10px; background: #e7efff; color: var(--brand-dark); font-size: .72rem; font-weight: 900; }
.good-fit-card h3 { margin: 0; font-size: 1rem; letter-spacing: -.02em; }
.good-fit-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }
.contact-form-card .lead-form { gap: 18px; }
.contact-form-card .lead-form input,
.contact-form-card .lead-form textarea,
.contact-form-card .lead-form select { min-height: 49px; background: #fbfcfe; border-color: #cfd8e4; }
.contact-form-card .lead-form textarea { min-height: 180px; }
.contact-form-card .button--brand { min-height: 54px; padding-inline: 24px; font-size: .96rem; }


/* Convert to WordPress service page */
.conversion-hero { padding: 76px 0 54px; overflow: hidden; }
.conversion-hero-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: 62px; align-items: center; }
.conversion-hero h1 { margin: 0; max-width: 850px; font-size: clamp(3.2rem,7vw,6.2rem); line-height: .94; letter-spacing: -.07em; }
.conversion-hero h1 span { color: var(--brand); }
.conversion-hero p { max-width: 720px; margin: 24px 0 0; color: var(--ink-soft); font-size: 1.16rem; }
.conversion-visual { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg,#0b1220,#13213a); box-shadow: var(--shadow); color: #fff; }
.conversion-visual-label { color: #84b9ff; font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.conversion-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-top: 22px; }
.conversion-node { min-height: 126px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 18px; border-radius: 18px; border: 1px solid #2e405f; background: rgba(255,255,255,.04); text-align: center; }
.conversion-node span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #1b2b47; color: #9cc7ff; font-size: .78rem; font-weight: 900; }
.conversion-node--wp { background: linear-gradient(145deg,rgba(15,111,255,.2),rgba(255,255,255,.04)); }
.conversion-node--wp span { background: var(--brand); color: #fff; }
.conversion-arrow { color: #7890b1; font-size: 1.6rem; font-weight: 900; }
.conversion-code { margin-top: 18px; padding: 13px 15px; border-radius: 13px; background: #08101f; color: #8ba2c2; font: 700 .78rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.conversion-code strong { color: #6ee7b7; }
.conversion-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 38px; }
.conversion-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.conversion-card .service-index { margin-bottom: 24px; }
.conversion-card h3 { margin: 0 0 9px; font-size: 1.24rem; letter-spacing: -.03em; }
.conversion-card p { margin: 0; color: var(--ink-soft); }
.conversion-process { display: grid; grid-template-columns: .82fr 1.18fr; gap: 65px; align-items: start; }
.conversion-steps { display: grid; gap: 12px; }
.conversion-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.conversion-step:first-child { border-top: 1px solid var(--line); }
.conversion-step strong { display: block; margin-bottom: 4px; }
.conversion-step p { margin: 0; color: var(--ink-soft); }

.project-single-hero { padding: 70px 0 36px; }
.project-single-hero h1 { margin: 0; font-size: clamp(3rem,7vw,6rem); line-height: .95; letter-spacing: -.07em; }
.project-single-shot { width: min(100%, 800px); margin: 34px auto 0; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.project-single-shot img { display: block; width: 100%; }
.project-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 0; }
.project-meta span { padding: 8px 11px; border-radius: 999px; background: #e8eff9; font-size: .78rem; font-weight: 800; }

.lead-form { display: grid; gap: 16px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: .82rem; font-weight: 800; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 13px 14px; color: var(--ink); font: inherit; }
.lead-form textarea { min-height: 150px; resize: vertical; }
.lead-notice { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: #e8f8ef; border: 1px solid #b8e4c9; color: #175c32; font-weight: 700; }

.site-footer { padding: 42px 0; background: #08101f; color: #b9c5d7; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.footer-brand { color: #fff; font-weight: 900; font-size: 1.25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .hero-grid, .split, .ai-panel-grid, .about-card { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .conversion-hero-grid, .conversion-process { grid-template-columns: 1fr; gap: 38px; }
  .conversion-grid { grid-template-columns: 1fr 1fr; }
  .about-card { gap: 34px; }
  .hero { padding-top: 60px; }
  .hero-card { max-width: 620px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .sticky-copy { position: static; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .section { padding: 72px 0; }
  .home .section { padding: 60px 0; }
  .home .section--tight { padding: 44px 0; }
  .header-inner { min-height: 68px; }
  .brand-sub { display: block; margin-top: 5px; max-width: 165px; font-size: .61rem; line-height: 1.15; letter-spacing: 0; white-space: normal; }
  .brand-title-row { gap: 4px; }
  .brand-badge { height: 17px; max-width: 76px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 18px 20px 24px; background: #f7f8fb; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 4px; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .home .hero { padding: 52px 0 42px; }
  .hero-grid { gap: 42px; }
  .home .hero-grid { gap: 34px; }
  .hero-stat-grid, .services-grid, .projects-grid, .lead-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 18px; }
  .hero-code { padding: 18px; font-size: .78rem; }
  .ai-panel { padding: 28px; }
  .about-first { padding-top: 14px; }
  .home .about-first { padding-top: 28px; }
  .about-brand-mark { margin-bottom: -20px; }
  .about-brand-logo { height: 40px; max-width: 190px; }
  .home .about-card { padding-top: 34px; }
  .about-card { padding: 26px 22px 22px; gap: 26px; border-radius: 25px; background-size: 28px 28px, 28px 28px, auto; }
  .home .about-card { gap: 22px; }
  .about-lead { font-size: clamp(1.36rem, 6.2vw, 1.7rem); line-height: 1.22; }
  .about-copy > p:not(.about-lead) { margin-top: 16px; font-size: .98rem; }
  .about-list { grid-template-columns: 1fr; gap: 8px; margin-top: 21px; }
  .about-item { min-height: 0; padding: 11px 12px; }
  .hero-card--about { padding: 16px; border-radius: 22px; }
  .hero-card--about .hero-card-top { margin-bottom: 16px; }
  .hero-card--about .hero-code { padding: 17px; }

  .ai-system-visual { padding: 18px; }
  .ai-flow { grid-template-columns: 1fr; gap: 8px; }
  .ai-connector { justify-content: center; transform: rotate(90deg); min-height: 10px; }
  .ai-node { padding: 12px; }
  .contact-page { padding: 34px 0 68px; }
  .contact-intro { margin-bottom: 22px; }
  .contact-intro h1 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .contact-intro p { margin-top: 13px; font-size: .96rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .conversion-hero { padding: 46px 0 38px; }
  .conversion-hero h1 { font-size: clamp(2.8rem,14vw,4.1rem); }
  .conversion-visual { padding: 20px; }
  .conversion-flow { grid-template-columns: 1fr; }
  .conversion-arrow { transform: rotate(90deg); text-align:center; }
  .conversion-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 25px 20px 22px; border-radius: 22px; }
  .contact-form-head { display: block; margin-bottom: 21px; }
  .contact-form-head p { margin-top: 7px; }
  .contact-fit { padding-top: 0; }
  .good-fit-grid { grid-template-columns: 1fr; }
  .projects-grid { gap: 18px; }
  .cta-band { padding: 56px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Portfolio archive pagination */
.work-section .navigation.pagination { margin-top: 34px; }
.work-section .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.work-section .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #30415f; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 800; }
.work-section .page-numbers.current,
.work-section a.page-numbers:hover { background: #fff; color: #0b1220; border-color: #fff; }

@media (max-width: 720px) {
}


/* v0.1.18 contact flow and portfolio interaction */
.project-visual-link { display: block; color: inherit; text-decoration: none; }
.project-visual-link:focus-visible { outline: 3px solid #7eb5ff; outline-offset: -3px; }
.contact-page--direct { padding-top: 42px; }
.contact-page--direct .contact-form-head { align-items: end; }
.contact-page--direct .contact-form-head .eyebrow { margin-bottom: 9px; }
.contact-page--direct .contact-form-head h1 { margin: 0; font-size: clamp(1.9rem, 3.1vw, 2.6rem); line-height: 1; letter-spacing: -.05em; }
.thank-you-page { min-height: 62vh; display: grid; align-items: center; padding: 54px 0 78px; }
.thank-you-wrap { display: grid; place-items: center; }
.thank-you-card { width: min(100%, 720px); padding: 52px 44px; text-align: center; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.thank-you-icon { width: 54px; height: 54px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 16px; background: #e8f8ef; color: #15803d; font-size: 1.55rem; font-weight: 900; }
.thank-you-card h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.055em; }
.thank-you-card p { max-width: 540px; margin: 20px auto 28px; color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 700px) {
  .contact-page--direct { padding-top: 22px; }
  .contact-page--direct .contact-form-head { display: block; }
  .thank-you-page { min-height: 56vh; padding: 34px 0 52px; }
  .thank-you-card { padding: 36px 22px; border-radius: 24px; }
}


/* v0.1.20 individual project screenshot sizing */
.project-single-hero .project-single-shot { width: min(100%, 800px); margin-left: auto; margin-right: auto; }


/* v0.1.24 compact Portfolio archive */
.work-archive { padding-top: 38px; }
.work-archive .work-archive-label { margin-bottom: 0; color: #7eb5ff; }
.work-archive .projects-grid { margin-top: 22px; }
@media (max-width: 700px) {
  .work-archive { padding-top: 26px; }
  .work-archive .projects-grid { margin-top: 16px; }
}
