:root {
  --navy-900: #0B1626;
  --navy-800: #0F1E33;
  --navy-700: #1A2B47;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --teal:      #14B8A6;
  --teal-dark: #0F9488;
  --teal-soft: #CCFBF1;
  --white:     #FFFFFF;
  --cream:     #FAFAF7;

  --font-serif: ui-serif, "Charter", "Iowan Old Style", "Apple Garamond", "Baskerville", Georgia, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 30, 51, 0.04), 0 1px 3px rgba(15, 30, 51, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 30, 51, 0.06), 0 10px 20px -5px rgba(15, 30, 51, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 30, 51, 0.18);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--navy-900); }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  height: 34px;
  width: 34px;
  flex-shrink: 0;
  display: block;
}
.brand-mark .peak-base   { fill: currentColor; }
.brand-mark .peak-accent { fill: var(--teal); }

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: inherit;
  white-space: nowrap;
}
.brand-divider {
  width: 1.5px;
  height: 18px;
  background: var(--teal);
  border-radius: 1px;
  display: inline-block;
  flex-shrink: 0;
}
.brand-tech {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--teal-dark);
  white-space: nowrap;
}

/* Footer brand on dark background — flip colors. */
.site-footer .brand { color: var(--white); }
.site-footer .brand-mark .peak-base   { fill: var(--white); }
.site-footer .brand-mark .peak-accent { fill: var(--teal); }
.site-footer .brand-tech { color: var(--teal-soft); }

/* Small phones: drop the TECH suffix so the brand never crowds the menu icon. */
@media (max-width: 380px) {
  .brand { gap: 9px; }
  .brand-divider, .brand-tech { display: none; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { height: 30px; width: 30px; }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-links a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active {
  color: var(--navy-900);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-800);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--teal);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-200);
}
.btn-ghost:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.nav-cta { display: inline-flex; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--navy-900);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
  }
  .nav-open .nav-cta { display: inline-flex; align-self: flex-start; margin-top: 0.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, var(--teal-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.hero .container { position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.85rem;
  background: var(--teal-soft);
  border-radius: 999px;
}
.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.2rem;
}
.hero .lead {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--slate-600);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- Section ---------- */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-dark {
  background: var(--navy-900);
  color: var(--slate-100);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(241, 245, 249, 0.78); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { margin-bottom: 0.9rem; }
.section-head p { font-size: 1.1rem; color: var(--slate-600); }
.section-dark .section-head p { color: rgba(241, 245, 249, 0.7); }

/* ---------- Service cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card .icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card .icon-tile svg { width: 24px; height: 24px; }
.card h3 { color: var(--navy-900); }
.card p  { color: var(--slate-600); margin-bottom: 0; }

/* ---------- Detail service blocks (services page) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--slate-200);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--teal);
  font-weight: 600;
  line-height: 1;
}
.service-block h3 { font-size: 1.5rem; }
.service-block p { font-size: 1.05rem; color: var(--slate-600); }
@media (max-width: 600px) {
  .service-block { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.8rem 0; }
  .service-num { font-size: 2rem; }
}

/* ---------- About: mission/vision/values ---------- */
.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}
.value-item { }
.value-item .label {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.value-item .label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.value-item p { color: var(--slate-600); margin: 0; }

.founder-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2.5rem;
  border-left: 4px solid var(--teal);
}
.founder-card h3 { margin-top: 0; }
.founder-card p { color: var(--slate-600); margin-bottom: 0; }
.founder-name { font-size: 1.3rem; font-weight: 600; }
.founder-role {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-strip p {
  color: rgba(241, 245, 249, 0.75);
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}
.cta-strip .btn-accent { position: relative; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  color: var(--slate-700);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path fill='%2364748B' d='M1 1l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.contact-info {
  padding: 1rem 0;
}
.contact-info h3 { margin-bottom: 0.4rem; }
.contact-info p { color: var(--slate-600); }
.contact-info .info-block {
  margin-bottom: 1.8rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--slate-200);
}
.contact-info .info-block:last-child { border-bottom: 0; }
.contact-info .info-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 0.4rem;
}
.contact-info .info-value {
  font-size: 1.1rem;
  color: var(--navy-900);
  font-weight: 500;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--slate-600);
  min-height: 1.4em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(241, 245, 249, 0.7);
  padding: 4rem 0 2rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer .brand-tag {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  max-width: 36ch;
  color: rgba(241, 245, 249, 0.6);
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(241, 245, 249, 0.7);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(241, 245, 249, 0.1);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(241, 245, 249, 0.5);
}
@media (max-width: 700px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); margin-bottom: 0.6rem; }
.page-banner .lead {
  color: rgba(241, 245, 249, 0.8);
  font-size: 1.15rem;
  max-width: 60ch;
  margin: 0;
}

/* ---------- Utility ---------- */
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.center{ text-align: center; }
