/* 595 Corporation — Direction A, Institutional Light.
   Every color here references a token in tokens.css. No literal brand hex below. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* --- shared --- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tint { background: var(--bg-tint); }

.label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue-700);
  margin: 0 0 40px;
  text-transform: uppercase;
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(29px, 4.4vw, 60px); line-height: 1.14; }
h2 { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; }
h3 { font-size: 17px; line-height: 1.35; }
p { margin: 0; }

a { color: var(--blue-700); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-700); outline-offset: 3px;
}
.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 0; left: 0; width: auto; height: auto; clip-path: none;
  background: var(--navy-900); color: var(--white);
  padding: 12px 20px; z-index: 100; text-decoration: none;
}

/* --- nav --- */
.nav { border-bottom: 1px solid var(--line); background: var(--white); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--slate-500); text-decoration: none; }
.nav__links a:hover { color: var(--navy-900); }
.nav__links a.is-cta { color: var(--blue-700); font-weight: 600; }

/* --- hero --- */
.hero { padding-top: 128px; padding-bottom: 128px; }
.hero .label { color: var(--blue-700); margin-bottom: 26px; }
.hero p.lede { font-size: 20px; color: var(--slate-500); max-width: 640px; margin: 26px 0 26px; }
.hero .cta { font-size: 15px; font-weight: 600; color: var(--blue-700); text-decoration: none; }
.hero .cta:hover { text-decoration: underline; }

/* --- grids --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }

.svc__rule { height: 1px; background: var(--navy-900); margin-bottom: 18px; }
.svc__num { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em; color: var(--blue-700); margin-bottom: 18px; }
.svc h3 { margin-bottom: 18px; }
.svc p { font-size: 15px; color: var(--slate-500); }

.pr__rule { height: 1px; background: var(--line); margin-bottom: 14px; }
.pr h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.pr p { font-size: 14px; color: var(--slate-500); }

/* --- about --- */
.prose { max-width: 720px; }
.prose p { margin-bottom: 24px; color: var(--slate-500); }
.prose p.first { font-size: 20px; color: var(--navy-900); }
.prose h2 { margin: 56px 0 20px; }
.section--flush { padding-top: 0; }
.prose .cta-block { margin-top: 40px; }

/* --- contact form --- */
.contact__head { max-width: 620px; margin-bottom: 48px; }
.contact__head p { color: var(--slate-500); margin-top: 16px; }
.form { max-width: 760px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: block; margin-bottom: 20px; }
.field > span {
  display: block; font-family: var(--font-display); font-size: 9px;
  letter-spacing: 0.12em; color: var(--slate-500); margin-bottom: 8px; text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--navy-900);
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 16px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue-700); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn {
  display: inline-block; font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.10em; color: var(--white); background: var(--navy-900);
  border: 0; border-radius: 2px; padding: 18px 34px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--navy-700); }

/* --- footer --- */
.footer { border-top: 1px solid var(--line); }
.footer__in { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.footer__mark { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.12em; color: var(--navy-900); }
.footer__legal { font-size: 13px; color: var(--slate-500); }

/* --- mobile --- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__in { height: 64px; }
  .nav__logo img { height: 22px; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 13px; }
  .hero { padding-top: 60px; padding-bottom: 60px; }
  .hero p.lede { font-size: 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 28px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .btn { display: block; width: 100%; text-align: center; }
  .footer__in { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 420px) {
  .nav__links a:not(.is-cta) { display: none; }
}
