/* Hybrid IT styles.css
   Plain, typographic, one accent (deep coastal slate). No framework.
   Retune the whole site from the tokens in :root. */
:root {
  --ink: #16191c;
  --ink-2: #33383d;
  --muted: #5b6168;        /* >= 6:1 on white */
  --line: #dcdfe2;
  --bg: #ffffff;
  --paper: #f4f3ef;        /* warm off-white for the odd section */
  --accent: #23505c;       /* deep coastal slate, ~8.9:1 on white */
  --accent-ink: #173a43;
  --accent-soft: #e6eef0;
  --radius: 10px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--bg); font-size: 1.1875rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(35,80,92,.35); }
a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; color: var(--ink); margin: 0; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0 0 1em; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 6px; z-index: 100; }
.skip:focus { top: 1rem; color: #fff; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* type */
.kicker { font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 1.1rem; }
.display { font-size: clamp(2.35rem, 4.8vw, 4rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.06; max-width: 21ch; margin-bottom: 1.4rem; }
.display-2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 1rem; }
.h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); font-weight: 700; margin-bottom: 1rem; }
.h3 { font-size: 1.35rem; font-weight: 650; }
.hero-text { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; max-width: 46ch; color: var(--ink-2); }
.body-lg { font-size: 1.3rem; line-height: 1.55; color: var(--ink-2); }
.lead { font-size: 1.3rem; line-height: 1.5; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 54px; padding: 0 1.5rem; border-radius: 8px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 600 1.0625rem/1 var(--font); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.nav-inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; }
.brand-fill { fill: var(--accent); }
.brand-word { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.025em; }
.brand-it { color: var(--accent); font-weight: 600; margin-left: .25em; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a { color: var(--ink); font-size: 1.0625rem; font-weight: 500; padding: .5rem 0; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.nav-links .nav-quiet { color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-call { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--accent); border-radius: 8px; color: var(--accent); font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; }
.nav-call:hover { background: var(--accent); color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); }
.nav-toggle span:first-child { top: 19px; } .nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.hero-contact { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 2.5rem; }
.hero-phone { display: inline-flex; flex-direction: column; color: var(--accent); text-decoration: none; font-size: clamp(2.4rem, 5.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-phone small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: .5rem; }
.hero-phone:hover { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 2px; }
.hero-sub { margin: 0; max-width: 34ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.page-hero { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.25rem, 3vw, 2rem); }

/* sections */
.section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tight { padding-top: clamp(1rem, 3vw, 2rem); }
.section-paper { background: var(--paper); border-top: 0 !important; }
.section-paper + .section { border-top: 0; }
.section-flush { padding-top: 0; }

.split { display: grid; grid-template-columns: 1fr 2.1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.split-side .h2 { margin-bottom: .75rem; }
.side-note { color: var(--muted); font-size: 1.0625rem; max-width: 26ch; }

/* service rows (home) */
.rows { margin: 0; border-top: 1px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: 15rem 1fr; gap: .25rem 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 650; color: var(--ink); }
.rows dt a { color: var(--ink); text-decoration: none; }
.rows dt a:hover { color: var(--accent); text-decoration: underline; }
.rows dd { margin: 0; color: var(--ink-2); }

/* service area */
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.area-cols > div:first-child { grid-column: 1 / -1; }
.area-cols h3 { font-size: 1.0625rem; font-weight: 650; margin-bottom: .35rem; }
.area-cols p { margin: 0; }
.area-cols > div:first-child p { font-size: 1.3rem; color: var(--ink); }

/* reviews: plain quotes */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 1.75rem; }
.reviews-head p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.stars { color: #9a6b00; letter-spacing: .08em; margin-right: .25rem; }
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 3.5rem; }
.quote { margin: 0; }
.quote:first-child { grid-row: span 2; }
.quote blockquote { margin: 0 0 .6rem; color: var(--ink); font-size: 1.15rem; line-height: 1.55; }
.quote:first-child blockquote { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.45; }
.quote figcaption { color: var(--muted); font-size: 1rem; }
.quote figcaption::before { content: "- "; }

/* recent work (hidden by default) */
.recent-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2.5rem; }
.recent-where { display: block; font-weight: 650; color: var(--ink); font-size: 1rem; margin-bottom: .25rem; }

/* existing-client strip */
.existing-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; font-size: 1.0625rem; }
.existing-strip p { margin: 0; }
.existing-strip strong { color: var(--ink); }

/* contact block */
.contact-block { background: var(--paper); border-top: 0 !important; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-grid:has(.form-card) { grid-template-columns: 1fr 1fr; }
.contact-line { font-size: 1.3rem; color: var(--ink); margin-bottom: 1.75rem; }
.contact-buttons { display: grid; grid-template-columns: 1fr 1fr 1.45fr; gap: .75rem; }
.contact-grid:has(.form-card) .contact-buttons { grid-template-columns: 1fr; }
.cbtn { display: flex; align-items: center; gap: .9rem; min-height: 76px; padding: .9rem 1.25rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.15rem; line-height: 1.2; overflow-wrap: break-word; }
.cbtn small { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); margin-bottom: .15rem; }
.cbtn .ico { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.cbtn:hover { border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.cbtn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.cbtn-primary small, .cbtn-primary .ico { color: rgba(255,255,255,.85); }
.cbtn-primary:hover { background: var(--accent-ink); color: #fff; }
.contact-hours { margin: 1.5rem 0 0; color: var(--muted); font-size: 1.0625rem; }

/* form (used only when formEnabled is true) */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form-title { font-size: 1.35rem; margin-bottom: 1.25rem; }
.field { margin: 0 0 1.15rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: 1.0625rem; padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .95rem; margin-left: .25rem; }
input[type=text], input[type=tel], input[type=email], select, textarea { width: 100%; font: inherit; font-size: 1.125rem; color: var(--ink); background: #fff; border: 1.5px solid #b9bec3; border-radius: 8px; padding: .8rem 1rem; min-height: 54px; -webkit-appearance: none; appearance: none; }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316191c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 20px; padding-right: 3rem; }
input::placeholder, textarea::placeholder { color: #80868c; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,80,92,.2); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { margin: 0; flex: 1 1 0; min-width: 90px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 50px; border: 1.5px solid #b9bec3; border-radius: 8px; font-weight: 500; color: var(--ink); cursor: pointer; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:empty { display: none; }
.turnstile-slot { margin-bottom: 1.15rem; }
.form-error { color: #b3261e; font-weight: 600; margin: 0 0 1rem; }
.form-fine { color: var(--muted); font-size: 1rem; margin: .9rem 0 0; }
.form-success { padding: 1.5rem 0 .5rem; }
.form-success:focus { outline: none; }
.success-icon { width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.success-icon .ico { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: .5rem; }

/* services page */
.svc-list { border-top: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: 1fr 2fr; gap: .75rem clamp(1.5rem, 5vw, 4.5rem); padding: 2rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-h { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 700; }
.svc-body p { max-width: 62ch; }
.svc-body p:last-child { margin-bottom: 0; }
.svc-jobs { color: var(--muted); font-size: 1.0625rem; }
.svc-jobs span { color: var(--ink); font-weight: 600; }

/* about */
.about { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-copy p { max-width: 62ch; }
.about-details dl { margin: 0; border-top: 1px solid var(--ink); }
.about-details dl > div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.about-details dt { font-size: .95rem; color: var(--muted); }
.about-details dd { margin: .1rem 0 0; color: var(--ink); font-weight: 500; }

/* prose (privacy) */
.prose h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }

/* footer */
.footer { background: var(--ink); color: #c9ced3; padding: 3.5rem 0 6.5rem; font-size: 1.0625rem; }
.footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.footer .brand, .footer .brand-word { color: #fff; }
.footer .brand-fill { fill: #8fb3bd; }
.footer .brand-it { color: #8fb3bd; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr .8fr; gap: 2.25rem; }
.footer-tag { margin-top: .9rem; max-width: 32ch; }
.footer-h { font-size: .95rem; font-weight: 600; color: #fff; margin: 0 0 .6rem; letter-spacing: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-p { margin: 0; max-width: 24ch; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .95rem; color: #a8afb5; }
.footer-base p { margin: 0; }

.mobilebar { display: none; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid:has(.form-card) { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: .25rem 24px 1rem; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 1.3rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .split, .about, .svc { grid-template-columns: 1fr; }
  .side-note { max-width: none; }
  .quotes { grid-template-columns: 1fr; }
  .quote:first-child { grid-row: auto; }
  .contact-buttons { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .wrap { width: calc(100% - 40px); }
  .nav-inner { height: 64px; gap: 1rem; }
  .nav-links { inset: 64px 0 auto 0; }
  .nav-call span { display: none; }
  .nav-call { width: 44px; padding: 0; justify-content: center; }
  .rows > div { grid-template-columns: 1fr; padding: .9rem 0; }
  .area-cols { grid-template-columns: 1fr; }
  .body-lg, .contact-line { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 7.5rem; }
  .mobilebar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 52px; border-radius: 8px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-weight: 650; font-size: 1.05rem; text-decoration: none; }
  .mobilebar .ico { color: var(--accent); }
  .mobilebar-primary { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
  .mobilebar-primary .ico { color: #fff !important; }
}
@media print { .nav, .mobilebar, .contact-block { display: none; } }
