/* ENT | Enterprise Network Technologies
   Brand: ENT navy and red (from the logo), with the logo's lighter blue for links.
   Concept: AI drawn as a network connecting a business's systems, on a deep navy field. */
:root {
  --night: #071F45;
  --night-2: #0C3266;
  --night-3: #164183;
  --line-dark: #24508F;
  --mist: #B4C8E6;
  --ink: #0A1F3F;
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --muted: #55607A;
  --line: #D5DBE7;
  --red: #B8202B;
  --red-hi: #D02A36;
  --blue: #0C5A9C;
  --sky: #9CC8F2;
    --display: "Archivo", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img, canvas { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); color: var(--ink); padding: 10px 14px; z-index: 50; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; }
.display { font-weight: 800; font-stretch: 125%; letter-spacing: -.02em; }
h2.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.015em; }
.lede { font-size: 1.2rem; line-height: 1.6; max-width: 58ch; }

/* ---------- header ---------- */
.site-head { background: var(--white); color: var(--ink); position: relative; z-index: 10; border-bottom: 4px solid var(--red); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 10px; }
.nav .call { color: var(--night-2); font-weight: 700; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; padding: 8px 14px; border-radius: 6px; cursor: pointer; }
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 80px; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 4px solid var(--red); box-shadow: 0 12px 24px rgba(7,31,69,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { text-decoration: none; color: var(--red); }
}
@media (max-width: 520px) { .brand img { height: 46px; } }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 15px 24px; border-radius: 6px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-amber { background: var(--red); color: var(--white); }
.btn-amber:hover { background: var(--red-hi); color: var(--white); }
.btn-line { border-color: #4A75B5; color: var(--white); }
.btn-line:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--night); color: var(--white); }
.btn-dark:hover { background: var(--night-3); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- home hero ---------- */
.hero { background: var(--night); color: var(--white); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line-dark); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; min-height: min(760px, calc(100vh - 72px)); padding-block: 48px 64px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .98; margin-bottom: 26px; }
.hero .lede { color: #CFDCF0; margin: 0 0 34px; }
.hero-note { margin: 34px 0 0; font-size: .95rem; color: var(--mist); max-width: 46ch; }
.constellation { width: 100%; aspect-ratio: 1 / 1; max-height: 680px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 24px; gap: 8px; }
  .constellation { aspect-ratio: 4 / 3; max-height: 420px; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--night); color: var(--white); padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; max-width: 18ch; margin-bottom: 22px; }
.page-hero .lede { color: #CFDCF0; margin: 0; }
.page-hero .stars { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.page-hero .wrap { position: relative; }

/* ---------- sections ---------- */
.band { padding: 96px 0; }
.band-white { background: var(--white); }
.band-dark { background: var(--night); color: var(--white); }
.band-dark .lede, .band-dark p { color: #CFDCF0; }
.head { max-width: 760px; margin-bottom: 52px; }
.head h2 { margin-bottom: 16px; }
.head p { margin: 0; color: var(--muted); font-size: 1.15rem; }
.band-dark .head p { color: var(--mist); }

/* home: AI services as a wide ruled index */
.svc-index { border-top: 3px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 40px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.svc-row h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 800; font-stretch: 112%; }
.svc-row p { margin: 0; color: var(--muted); }
.svc-row .go { font-weight: 700; color: var(--blue); white-space: nowrap; }
a.svc-row:hover h3 { color: var(--blue); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; gap: 8px; } }

/* where AI runs: three placements */
.placements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden; }
.placement { padding: 34px 30px 36px; border-right: 1px solid var(--line-dark); background: var(--night-2); }
.placement:last-child { border-right: 0; }
.placement h3 { font-size: 1.3rem; font-stretch: 110%; color: var(--white); margin-bottom: 10px; }
.placement p { margin: 0; font-size: 1rem; }
.placement .glyph { width: 46px; height: 46px; margin-bottom: 22px; }
@media (max-width: 860px) { .placements { grid-template-columns: 1fr; } .placement { border-right: 0; border-bottom: 1px solid var(--line-dark); } .placement:last-child { border-bottom: 0; } }

/* process steps: a true sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* managed IT teaser: dense two-column list */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.ticks li { break-inside: avoid; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 12px; border: 2px solid var(--blue); border-radius: 50%; }
.ticks a { color: inherit; text-decoration: none; }
.ticks a:hover { color: var(--blue); }
@media (max-width: 600px) { .ticks { columns: 1; } }

/* founder strip */
.founder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 28px; } }
.founder blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 112%; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--white); }
.founder .who { margin-top: 18px; color: var(--mist); }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.rules strong { display: block; color: var(--sky); font-family: var(--display); font-stretch: 108%; font-size: 1.05rem; }
.rules span { color: var(--mist); font-size: .97rem; }

/* AI services page: alternating detail rows */
.detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.detail:first-child { border-top: 3px solid var(--ink); }
.detail h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; font-stretch: 115%; }
.detail .for { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.detail p { margin: 0 0 16px; }
.detail ul { margin: 0 0 8px; padding-left: 1.2em; }
.detail li { margin-bottom: 6px; }
.detail .ask { font-weight: 700; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; } }

/* principle callout */
.callout { background: var(--night-2); color: var(--white); border-radius: 12px; padding: 40px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.callout h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 112%; }
.callout p { margin: 0; color: #CFDCF0; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; gap: 16px; padding: 28px; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--display); font-weight: 700; font-stretch: 105%; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* managed IT page */
.msp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.msp article { padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.msp h2 { font-size: 1.45rem; font-weight: 800; font-stretch: 110%; margin-bottom: 10px; }
.msp p { margin: 0 0 12px; color: #2E3854; }
.msp .ask { font-weight: 700; font-size: .97rem; }
@media (max-width: 860px) { .msp { grid-template-columns: 1fr; } }
.vendors { margin: 0; color: var(--muted); }

/* CTA band */
.cta { background: var(--red); color: var(--white); padding: 72px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; font-stretch: 118%; max-width: 20ch; }
.cta p { margin: 10px 0 0; font-size: 1.1rem; max-width: 50ch; }

/* contact + forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.direct a { display: block; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.6rem; color: var(--ink); text-decoration: none; margin-bottom: 6px; overflow-wrap: anywhere; }
.direct a:hover { color: var(--blue); }
.direct p { color: var(--muted); }
form.card { background: var(--white); padding: 32px; border-radius: 12px; border: 1px solid var(--line); }
.field { margin-bottom: 18px; }
.field label, fieldset.group legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px; border: 1px solid #A9B4C9; border-radius: 6px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } form.card { padding: 22px; } }
.hp { position: absolute; left: -9999px; }
fieldset.group { border: 0; padding: 0; margin: 0 0 22px; }
fieldset.group legend { padding: 0; margin-bottom: 10px; font-size: 1rem; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.checks input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }

/* about */
.prose { max-width: 68ch; }
.prose p { margin: 0 0 18px; font-size: 1.1rem; }

/* simple pages */
.simple { padding: 120px 0 140px; }
.simple h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; font-stretch: 118%; margin-bottom: 16px; }
.simple p { max-width: 56ch; font-size: 1.15rem; }

/* footer */
.site-foot { background: #04152F; color: var(--mist); padding: 56px 0 40px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h2 { font-size: 1rem; color: var(--white); margin-bottom: 12px; font-stretch: 105%; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #DCE6F5; text-decoration: none; }
.site-foot a:hover { color: var(--sky); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--night-3); font-size: .88rem; }

/* breadcrumbs */
.crumbs { font-size: .9rem; color: var(--mist); margin: 0 0 18px; }
.crumbs a { color: var(--sky); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; margin: 0; }
.radio-row input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.facts li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-stretch: 110%; font-size: 1.2rem; margin-bottom: 6px; }
.facts span { color: var(--muted); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .facts li { padding-right: 0; } }
