/* GEEKAY Tech — site styles
   Layout: left-aligned, 1160px column, white paper with cool-tinted bands,
   one navy band per page for the call to action. */

:root {
  --ink: #0e1a2e;
  --body: #3a475a;
  --muted: #677387;
  --paper: #ffffff;
  --mist: #f1f4fa;
  --line: #dbe1ec;
  --blue: #2346f0;
  --blue-deep: #1731b8;
  --blue-soft: #e6ebff;
  --lime: #d4f060;
  --ok: #17946b;
  --error: #b3261e;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100;
}
.skip:focus { left: 8px; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.35rem; font-weight: 750;
  letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span span { font-weight: 450; color: var(--blue); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: 1rem;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 10px; color: #fff; padding: 10px 20px; }
.nav .btn:hover { background: var(--blue-deep); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; margin: auto; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; border: 0; cursor: pointer;
  font: 600 1rem/1.2 var(--text); text-decoration: none;
  padding: 15px 26px; border-radius: 999px;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lime); color: var(--ink); }

.arrow-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.arrow-link::after { content: " \2192"; transition: margin-left .15s ease; }
.arrow-link:hover::after { margin-left: 4px; }

/* ---------- Shared pieces ---------- */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--mist); }

.kicker {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--body); max-width: 60ch; }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

.mark { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 94%, transparent 94%); }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 7px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}

/* ---------- Home: hero ---------- */

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font-size: .95rem; color: var(--muted); }

.panel {
  background: var(--ink); color: #c9d3e6; border-radius: 20px; padding: 26px;
  box-shadow: 14px 14px 0 var(--blue-soft);
  font-size: .95rem; line-height: 1.4;
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.panel-head strong { font-family: var(--display); color: #fff; font-size: 1.1rem; font-weight: 650; }
.panel-head span { font-size: .8rem; color: #8d9ab3; }
.panel li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center;
  padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.panel li b { color: #fff; font-weight: 600; display: block; }
.panel li small { font-size: .85rem; color: #8d9ab3; }
.status {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600;
  color: var(--ink); background: var(--lime); padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .panel { box-shadow: 8px 8px 0 var(--blue-soft); margin-right: 8px; }
}

/* ---------- Home: service list ---------- */

.svc-list { border-top: 1.5px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) auto; gap: 12px 40px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.svc-row h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); transition: color .15s ease; }
.svc-row:hover { color: inherit; }
.svc-row:hover h3 { color: var(--blue); }
.svc-row .go { font-weight: 600; color: var(--blue); white-space: nowrap; }
@media (max-width: 820px) {
  .svc-row { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
}

/* ---------- Home: steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1.5px solid var(--ink); }
.steps li::before {
  content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1rem;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue); color: #fff; margin-bottom: 6px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home: owner block ---------- */

.owner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.owner blockquote {
  margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 600;
  line-height: 1.22; letter-spacing: -0.02em; color: var(--ink);
}
.owner-body { display: grid; gap: 18px; justify-items: start; }
.sig { font-weight: 600; color: var(--ink); }
.sig span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .owner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */

.cta { background: var(--ink); color: #c9d3e6; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(48px, 7vw, 80px); }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { margin-top: 12px; max-width: 46ch; }

/* ---------- Page heads ---------- */

.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 20px; }
.page-head h1 { max-width: 16ch; }

/* ---------- Services page ---------- */

.svc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.toc { position: sticky; top: 104px; display: grid; gap: 2px; font-size: .97rem; }
.toc strong { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { color: var(--body); text-decoration: none; padding: 7px 12px; border-left: 2px solid var(--line); font-weight: 500; }
.toc a:hover, .toc a.active { color: var(--blue); border-left-color: var(--blue); }

.svc { display: grid; gap: 22px; padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: 104px; }
.svc:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc > p { max-width: 66ch; }
.svc h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--paper); }
.plan.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.plan .tag { justify-self: start; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--blue-deep); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.plan .ticks { font-size: .97rem; line-height: 1.45; }
.plan .fit { font-size: .92rem; color: var(--muted); }

.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.pairs > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.pairs p { font-size: .98rem; line-height: 1.55; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .9rem; font-weight: 550; color: var(--ink); background: var(--mist); border-radius: 999px; padding: 6px 14px; }

@media (max-width: 980px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) { .pairs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About page ---------- */

.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { display: grid; gap: 20px; max-width: 66ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 20px; }
.prose .first { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--ink); }

.facts { position: sticky; top: 104px; background: var(--mist); border-radius: var(--radius); padding: 28px; display: grid; gap: 0; }
.facts h3 { font-size: 1.05rem; margin-bottom: 8px; }
.facts dl { margin: 0; }
.facts dl div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } .facts { position: static; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.values > div { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1.5px solid var(--ink); }
@media (max-width: 820px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact page ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info { display: grid; gap: 28px; }
.contact-info > div { display: grid; gap: 4px; }
.contact-info h3 { font-size: .78rem; font-family: var(--text); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-info p, .contact-info a { color: var(--ink); font-weight: 550; }
.contact-info .big { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 650; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact-info small { color: var(--muted); font-size: .95rem; font-weight: 400; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; gap: 20px; background: var(--mist); border-radius: 20px; padding: clamp(22px, 4vw, 40px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; color: var(--ink); font-size: .97rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field .err { color: var(--error); font-size: .9rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--muted); font-size: .9rem; }
.form-msg { border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; }
.form-msg.ok { background: #e3f6ee; color: #0d5c42; }
.form-msg.bad { background: #fde9e7; color: var(--error); }
.form-msg a { color: inherit; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #9ba8c0; font-size: .97rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer .wrap { padding-block: 56px 32px; display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr); gap: 40px; }
.foot-top .brand { color: #fff; margin-bottom: 14px; }
.foot-top .brand span span { color: var(--lime); }
.foot-top h4 { font-family: var(--text); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #6f7d97; margin-bottom: 14px; }
.foot-top ul { display: grid; gap: 8px; }
.site-footer a { color: #dfe6f3; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .88rem; color: #7f8ca6; }
@media (max-width: 820px) { .foot-top { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- About: career timeline ---------- */

.timeline { display: grid; gap: 0; max-width: 860px; }
.timeline li {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 32px;
  padding: 22px 0 22px; border-top: 1px solid var(--line); position: relative;
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-weight: 700; color: var(--blue); font-size: .95rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.timeline h4 { margin-bottom: 4px; }
.timeline p { font-size: .98rem; }
.timeline li.now h4 { display: inline; background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%); }
@media (max-width: 620px) { .timeline li { grid-template-columns: minmax(0, 1fr); } }
