/* Next Wave Tech Solutions: one stylesheet for the whole site.
   Tokens match /custom-apps/: deep ink, brand teal, coral accent, IBM Plex. */
:root {
  --ink: #0e0c19; --text: #2c2a37; --muted: #5b6470; --bg: #ffffff; --soft: #eef6f7; --tint: #f6fafa; --line: #d9e6e8;
  --teal: #006d77; --teal-dark: #0b3b45; --coral: #e29578; --coral-soft: #ffb4a2;
  --display: "IBM Plex Sans Condensed", "Arial Narrow", Helvetica, Arial, sans-serif;
  --body: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; letter-spacing: -.01em; }
h3 { line-height: 1.2; }
p { text-wrap: pretty; }
.eyebrow { font: 600 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0; }
.button { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff; text-decoration: none;
  font: 600 16px/1.2 var(--body); padding: 14px 24px; border-radius: 8px; border: 0; cursor: pointer; transition: background .15s; }
.button:hover { background: var(--teal-dark); color: #fff; }
.button.light { background: #fff; color: var(--teal-dark); }
.button.light:hover { background: var(--soft); color: var(--teal-dark); }
.button.ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.button.ghost:hover { background: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: auto; display: block; }
.brand b { display: block; font: 700 21px/1 var(--display); letter-spacing: .06em; }
.brand small { display: block; font: 600 10.5px/1.4 var(--body); letter-spacing: .3em; color: var(--teal); margin-top: 4px; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.top nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; padding-block: 4px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--teal); }
.top nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--coral); }

/* hero */
.hero { padding-block: 72px 60px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; margin: 14px 0 20px; max-width: 17ch; }
.hero .lede { font-size: clamp(18px, 2vw, 21px); max-width: 60ch; color: var(--muted); margin: 0 0 28px; }
.hero.split .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .portrait { border-radius: var(--radius); width: 100%; max-width: 420px; justify-self: end;
  box-shadow: 0 24px 60px -30px rgba(14, 12, 25, .45); }

/* sections */
.section { padding-block: 72px; }
.section h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; margin: 10px 0 14px; }
.section .intro { max-width: 62ch; color: var(--muted); margin: 0 0 34px; }
.alt { background: var(--tint); border-block: 1px solid var(--line); }
.section h2 + .cards, .section h2 + .steps, .section h2 + .faq { margin-top: 28px; }
.narrow { max-width: 760px; }
.prose p, .prose li { max-width: 68ch; }
.prose h2 { margin-top: 40px; }
.prose .eyebrow + h2 { margin-top: 10px; }

/* the three doors on the homepage */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.door { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.door:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 16px 40px -28px rgba(0, 109, 119, .6); color: var(--text); }
.door .who { font: 600 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.door h3 { font-size: 26px; line-height: 1.1; margin: 8px 0 10px; }
.door p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.door .go { margin-top: auto; font-weight: 600; color: var(--teal); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 23px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; }

/* service rows on /services/ */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; padding-block: 44px;
  border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service h2 { margin-top: 6px; }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.service li { display: flex; gap: 12px; }
.service li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-top: 10px; }
.service p { margin: 0 0 16px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: step; border-top: 3px solid var(--teal); padding-top: 18px; }
.steps li::before { content: counter(step); font: 700 40px/1 var(--display); color: var(--coral); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 22px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* video band (homepage teaser of the Custom Apps showcase) */
.film { background: linear-gradient(135deg, #0e0c19 0%, #0b3b45 55%, #006d77 100%); color: #fff; }
.film .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-block: 64px; }
.film h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; margin: 10px 0 16px; }
.film .eyebrow { color: var(--coral-soft); }
.film p { color: #d8e8ea; margin: 0 0 22px; }
.still { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #0e0c19;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); }
.still img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.still:hover img { transform: scale(1.02); }
.still span { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%;
  background: var(--coral-soft); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6), 0 0 0 7px rgba(255, 255, 255, .2); }
.still svg { width: 30px; height: 30px; margin-left: 5px; fill: #0e0c19; }

/* prices on /home-services/ */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.price .amount { font: 700 44px/1 var(--display); color: var(--ink); margin: 6px 0 4px; }
.price .amount small { font: 500 16px var(--body); color: var(--muted); }
.price h3 { margin: 0; font-size: 22px; }
.price p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.note { font-size: 15px; color: var(--muted); margin-top: 18px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style-position: outside; }
.faq details[open] summary { color: var(--teal); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.reach { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.reach li { display: grid; gap: 2px; }
.reach .label { font: 600 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reach a, .reach .value { font: 600 22px/1.3 var(--display); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { color: var(--teal); }
form.contact { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: 15px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px/1.5 var(--body); color: var(--text); background: #fff; border: 1px solid #b9cdd0;
  border-radius: 8px; padding: 11px 13px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(0, 109, 119, .25); border-color: var(--teal); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { border-radius: 10px; padding: 14px 18px; font-weight: 500; margin: 0; }
.status.ok { background: #e3f4ee; color: #14523d; border: 1px solid #b5dfcf; }
.status.bad { background: #fdeeea; color: #7a2d17; border: 1px solid #f3c6b8; }
.small { font-size: 14px; color: var(--muted); margin: 0; }

/* call to action */
.cta { background: var(--teal); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding-block: 56px; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 8px; }
.cta p { margin: 0; color: #d9eef0; max-width: 54ch; }

/* footer */
.foot { background: var(--ink); color: #c9c7d6; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
.foot h2 { color: #fff; font: 600 13px var(--body); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.foot p { margin: 0 0 8px; }
.foot a { color: #e6e4ef; text-decoration: none; }
.foot a:hover { color: var(--coral-soft); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid #2a2838; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; font-size: 14px; color: #9b98ad; }
.foot .legal a { color: #9b98ad; }

/* Two-door layout and the low-key "Also from Jeff" links (2026-11-12) */
.doors.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.family-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.family-list a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text); text-decoration: none; }
.family-list a:hover { border-color: var(--teal); }
.family-list b { font-weight: 600; color: var(--teal); }
.family-list span { color: var(--muted); font-size: 15px; }
.family h2 { font-size: 26px; }
.family-note { color: var(--muted); font-size: 15px; }
.foot .family-note { color: #9b98ad; font-size: 14px; margin-top: 10px; }
.foot .family-note a { color: #d8d6e4; }

@media (max-width: 900px) {
  .hero { padding-block: 44px 40px; }
  .hero.split .wrap, .film .wrap, .service, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero .portrait { justify-self: start; max-width: 300px; }
  .doors, .doors.two, .cards, .cards.two, .steps, .prices, .family-list { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 52px; }
  .film .wrap { padding-block: 44px; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .top .wrap { padding-block: 12px; }
  .top nav { gap: 2px 16px; }
  .top nav a { font-size: 15px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  form.contact { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
