/* Trishire site styles */

/* Page text: Plus Jakarta Sans, self-hosted (SIL Open Font License).
   The "trishire" wordmark is drawn as vector shapes in Audiowide, so it needs no font file. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --navy: #0B1B3A;
  --navy-hover: #13284F;
  --teal: #14B8A6;
  --teal-dark: #0F766E;
  --teal-tint: #E6F6F4;
  --orange: #F2994A;
  --amber: #B45309;
  --ink-2: #334155;
  --muted: #475569;
  --line: #E5E9F0;
  --field: #CBD5E1;
  --soft: #F6F8FB;
  --soft-2: #F3F6FA;
  --on-dark: #CBD5E1;
  --error: #B91C1C;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  background: #FFFFFF;
  line-height: 1.5;
  /* Plus Jakarta Sans has narrow word spaces; widen them for comfortable reading. */
  word-spacing: 0.09em;
}
h1, h2 { word-spacing: 0.05em; }
a { color: var(--navy); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #FFFFFF; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-compact { box-shadow: 0 2px 12px rgba(11, 27, 58, 0.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; padding-bottom: 14px;
  transition: padding 0.2s ease;
}
.is-compact .header-inner { padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand .mark { width: 36px; height: 36px; display: block; transition: width 0.2s ease, height 0.2s ease; }
.is-compact .brand .mark { width: 28px; height: 28px; }
.brand .wordmark { height: 20px; width: auto; display: block; color: var(--navy); transition: height 0.2s ease; }
.is-compact .brand .wordmark { height: 16px; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 2px solid var(--navy); cursor: pointer;
}
.btn-primary { background: var(--navy); color: #FFFFFF; }
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #FFFFFF; }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #FFFFFF; }
.btn-small { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); display: inline-block; }
h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.accent { color: var(--teal-dark); }
.lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 580px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.journey { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.journey li { display: flex; align-items: center; gap: 18px; background: var(--soft-2); border-radius: 18px; padding: 22px 24px; }
.journey-icon { width: 40px; height: 40px; flex: 0 0 40px; display: block; }
.journey-icon.dot { border-radius: 50%; background: var(--orange); }
.journey strong { display: block; font-size: 18px; font-weight: 700; }
.journey .sub { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #FFFFFF; }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.section-head p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
h2 { margin: 0; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
h3 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: start; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 26px; height: 26px; display: block; }
details { border-top: 1px solid var(--line); padding-top: 8px; }
summary {
  cursor: pointer; list-style: none; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; color: var(--teal-dark);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 600; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details ul { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 3px solid var(--navy); }
.steps li:last-child { border-top-color: var(--teal); }
.step-num { font-size: 32px; font-weight: 800; color: var(--amber); }
.steps li:last-child .step-num { color: var(--teal-dark); }
.step-title { font-size: 20px; font-weight: 700; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.principle { display: flex; flex-direction: column; gap: 12px; }
.principle::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--teal); display: block; }
.principle p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--on-dark); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-intro p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.contact-intro .location { font-size: 16px; font-weight: 600; color: var(--navy); }
.form { flex: 1 1 460px; min-width: 0; background: var(--soft); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.form > .field { flex: 0 0 auto; }
input, textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--navy);
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--field); background: #FFFFFF;
  min-height: 48px; width: 100%;
}
textarea { resize: vertical; min-height: 140px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal-dark); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; min-height: 1px; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: var(--error); }
.form-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: var(--muted); }

/* Text pages (privacy, thanks) */
.prose { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; }
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 40px; margin-bottom: 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose .updated { color: var(--muted); font-size: 15px; }

/* Mobile */
@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
    background: #FFFFFF; color: var(--navy); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #FFFFFF; border-bottom: 1px solid var(--line);
    padding: 4px 24px 20px; box-shadow: 0 8px 16px rgba(11, 27, 58, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 2px solid var(--navy); padding: 12px 20px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 18px; }
  .form { padding: 24px; }
  .card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
