/* Boston Light Technology — site styles
   Desktop-first, responsive down to phones. */

:root {
  --navy: #0E2742;
  --navy-2: #163657;
  --ink: #1B2430;
  --ink-soft: #4A5565;
  --cream: #F4EDE0;
  --cream-2: #FAF6EE;
  --paper: #FFFFFF;
  --amber: #E3A740;
  --green: #2F7A4F;
  --red: #B23A30;
  --line: #E3DCCD;
  --radius: 10px;
  --wrap: 1180px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; color: var(--navy); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.eyebrow {
  margin: 0 0 12px;
  font: 700 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow-light { color: var(--amber); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 237, 224, 0.96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-top { font: 800 20px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.brand-bottom { font: 600 11.5px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; margin-top: 6px; color: var(--navy-2); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--red); }
.site-nav .nav-cta { background: var(--navy); color: var(--cream); padding: 10px 18px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--navy-2); color: #fff; }
.nav-toggle { display: none; }

/* Hero */
.hero { background: var(--navy); }
.hero-img { width: 100%; height: auto; display: block; }
.hero picture { display: block; max-width: 1840px; margin: 0 auto; }
.hero-band { background: var(--cream); border-bottom: 1px solid var(--line); }
.hero-band-inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end;
  padding: 44px 0 48px;
}
.hero h1 { font-size: clamp(34px, 4vw, 54px); }
.lede { font-size: 19px; color: var(--ink); max-width: 46ch; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid var(--navy); transition: background .15s, color .15s;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

/* Sections */
.section { padding: 96px 0; }
.section-cream { background: var(--cream-2); border-block: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #DCE4EE; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-intro { font-size: 19px; color: var(--ink-soft); margin-top: 16px; }

/* Services */
.service-group + .service-group { margin-top: 44px; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-navy { background: var(--navy); }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 18px; border-top: 4px solid var(--navy);
}
.service-group:nth-of-type(2) .card { border-top-color: var(--green); }
.service-group:nth-of-type(3) .card { border-top-color: var(--amber); }
.card h4 { margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--ink-soft); }

/* Who I help */
.vessels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.vessel { padding: 32px 32px 8px 0; }
.vessel + .vessel { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.18); }
.vessel-kind { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.vessel h3 { font-family: var(--display); font-weight: 600; font-size: 24px; margin-bottom: 12px; }
.vessel p { color: #C8D3E0; }

/* About */
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about-role { font-weight: 600; color: var(--ink-soft); margin: 6px 0 22px; }
.about-side { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.about-side h3 { margin-bottom: 14px; }
.apart { list-style: none; margin: 0; padding: 0; }
.apart li { padding: 14px 0 14px 22px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; color: var(--ink-soft); }
.apart li::before { content: ""; position: absolute; left: 0; top: 23px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.apart strong { color: var(--navy); }

.track {
  list-style: none; margin: 56px 0 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  border-block: 1px solid var(--line);
}
.track li { font: 700 19px/1.2 var(--sans); color: var(--navy); letter-spacing: .02em; display: flex; flex-direction: column; }
.track li span { font: 500 12.5px/1.4 var(--sans); color: var(--ink-soft); letter-spacing: .04em; }

.why { display: grid; grid-template-columns: 96px 1fr; gap: 32px; margin-top: 56px; max-width: 900px; }
.why-mark { width: 96px; height: 96px; }
.why h3 { font-family: var(--display); font-weight: 600; font-size: 26px; margin-bottom: 12px; }
.why p { color: var(--ink-soft); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--cream); font: 700 17px/1 var(--sans); margin-bottom: 16px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-intro p { color: var(--ink-soft); font-size: 18px; margin-top: 16px; }
.contact-meta { font-size: 15.5px !important; }
.contact-form { display: grid; gap: 18px; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  padding: 12px 14px; border: 1px solid #CFC6B4; border-radius: 8px; background: #fff; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.contact-form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--navy); color: #C8D3E0; padding: 28px 0; font-size: 14.5px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer a { color: var(--cream); }

/* Simple pages */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.page p, .page li { color: var(--ink-soft); }
.updated { color: var(--ink-soft); font-size: 15px; margin-bottom: 32px; }

/* Tablet */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-band-inner, .about, .contact { grid-template-columns: 1fr; gap: 28px; }
  .site-nav { gap: 20px; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 66px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-top { font-size: 17px; }
  .brand-bottom { font-size: 10px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: ""; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }
  .site-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .hero-img { max-height: none; }
  .hero-band-inner { padding: 28px 0 32px; }
  .section { padding: 64px 0; }
  .cards, .vessels, .steps, .field-row { grid-template-columns: 1fr; }
  .vessel, .vessel + .vessel { padding: 24px 0 4px; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .vessels { border-top: 0; }
  .track { flex-direction: column; }
  .why { grid-template-columns: 1fr; gap: 16px; }
  .why-mark { width: 64px; height: 64px; }
  .contact-form { padding: 22px; }
  .btn { width: 100%; }
  .contact-form .btn { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }



/* Photos */
.about-id { display: flex; align-items: center; gap: 22px; }
.about-id .about-role { margin-bottom: 0; }
.about-id + p { margin-top: 24px; }
.headshot { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--cream); box-shadow: 0 0 0 1px var(--line); }
.why { grid-template-columns: minmax(280px, 420px) 1fr; max-width: none; align-items: start; }
.why-photo { margin: 0; }
.why-photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.why-photo figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 760px) {
  .headshot { width: 96px; height: 96px; }
  .about-id { gap: 16px; }
  .why { grid-template-columns: 1fr; }
}

/* Career logo wall */
.track.logos { align-items: center; }
.track.logos li { align-items: center; text-align: center; gap: 8px; }
.track.logos img { width: auto; height: auto; max-height: 44px; max-width: 150px; }
.track.logos li:nth-child(3) img { max-width: 170px; }
.logo-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 760px) {
  .track.logos { flex-direction: row; justify-content: center; gap: 24px 32px; }
  .track.logos img { max-height: 36px; max-width: 130px; }
}

/* From the field story */
.field-story { margin-top: 48px; background: var(--navy); color: #DCE4EE; border-radius: var(--radius); padding: 36px 40px; border-left: 6px solid var(--amber); }
.field-story h3 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 26px; margin-bottom: 14px; }
.field-story .eyebrow { color: var(--amber); }
.field-story p { color: #C8D3E0; max-width: 78ch; }
.field-story .field-lesson { color: #fff; font-weight: 600; margin-bottom: 0; }
@media (max-width: 760px) { .field-story { padding: 26px 22px; } }
