/* NCTLS — site.css
   One stylesheet, no web fonts, no external requests. */

:root {
  --maroon: #620b32;
  --maroon-deep: #470722;
  --maroon-ink: #2c0515;
  --rose: #f6ecf0;
  --rose-line: #ead7df;
  --gold: #b88a3e;
  --ink: #1f1a1c;
  --muted: #5b5256;
  --paper: #fbf9f7;
  --white: #fff;
  --line: #e7e1e3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--maroon); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--maroon-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--maroon-ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 44rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--maroon); color: var(--white);
  padding: .6rem 1rem; border-radius: 6px; z-index: 10;
}
.skip:focus { top: 1rem; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap;
  padding-block: .75rem;
}
.brand img { width: 170px; }
.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem 1.4rem;
  font-size: .97rem;
}
.nav a {
  color: var(--ink); text-decoration: none;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--maroon); border-bottom-color: var(--rose-line); }
.nav a[aria-current="page"] { color: var(--maroon); border-bottom-color: var(--maroon); font-weight: 600; }
.nav .nav-cta {
  background: var(--maroon); color: var(--white);
  padding: .4rem .95rem; border-radius: 999px; border: 0;
}
.nav .nav-cta:hover { background: var(--maroon-deep); color: var(--white); }

@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; }
  .brand img { width: 150px; }
  .nav ul { justify-content: center; gap: .1rem 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: .8rem 1.4rem; border-radius: 999px;
  border: 2px solid transparent; line-height: 1.2;
}
.btn-light { background: var(--white); color: var(--maroon); }
.btn-light:hover { background: var(--rose); color: var(--maroon-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn-solid { background: var(--maroon); color: var(--white); }
.btn-solid:hover { background: var(--maroon-deep); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- Hero / page heads ---------- */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(184,138,62,.18), transparent 60%),
    linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 70%, var(--maroon-ink) 100%);
  color: #f7eef2;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { color: var(--white); max-width: 22ch; }
.hero p { font-size: 1.15rem; max-width: 40rem; color: #f1e2e8; }
.eyebrow {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--gold); margin-bottom: 1rem;
}
.hero .eyebrow { color: #e6c88f; }

.page-head {
  background: var(--maroon);
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: #f1e2e8;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head p { max-width: 42rem; font-size: 1.1rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); }
.rule { width: 3rem; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.2rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.3rem;
}
.section-alt .card { background: var(--paper); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .num {
  font-family: var(--serif); color: var(--gold);
  font-size: .95rem; letter-spacing: .06em; display: block; margin-bottom: .5rem;
}

.more { margin-top: 2rem; font-weight: 600; }

/* ---------- Two-column intro ---------- */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.lead { font-size: 1.2rem; color: var(--ink); }
.callout {
  background: var(--rose); border: 1px solid var(--rose-line);
  border-radius: var(--radius); padding: 1.8rem;
}
.callout ul { margin: 0; padding-left: 1.1rem; }
.callout li { margin-bottom: .45rem; }

/* ---------- Team ---------- */
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.person { text-align: center; }
.person a { text-decoration: none; color: inherit; display: block; }
.person img {
  width: 11rem; height: 11rem; object-fit: cover; object-position: center 20%;
  border-radius: 50%; margin: 0 auto 1rem;
  border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--line);
}
.person h3 { margin-bottom: .1em; }
.person a:hover h3 { color: var(--maroon); text-decoration: underline; text-underline-offset: .18em; }
.role { color: var(--muted); font-size: .95rem; margin: 0; }

.bio {
  display: grid; gap: 1.5rem 3.5rem; padding-block: 3rem; align-items: start;
  border-bottom: 1px solid var(--line); scroll-margin-top: 6rem;
}
.bio:first-child { padding-top: 0; }
.bio:last-child { border-bottom: 0; padding-bottom: 0; }
.bio img {
  width: 100%; max-width: 22rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%;
  border-radius: var(--radius); box-shadow: 0 18px 40px -22px rgba(44, 5, 21, .45);
}
.bio h2 { margin-bottom: .1em; }
.bio .role { margin-bottom: 1.2rem; font-size: 1rem; color: var(--maroon); font-weight: 600; letter-spacing: .02em; }
.bio-body { max-width: 44rem; }
@media (min-width: 820px) {
  .bio { grid-template-columns: 22rem 1fr; }
  .bio:nth-child(even) { grid-template-columns: 1fr 22rem; }
  .bio:nth-child(even) img { order: 2; }
}
@media (max-width: 819px) {
  .bio img { max-width: 16rem; }
}

/* ---------- Clients ---------- */
.logos {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}
.logo-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  height: 6.5rem; display: grid; place-items: center; padding: 1rem 1.25rem;
}
.logo-tile img { max-height: 3.4rem; width: auto; object-fit: contain; }
.logo-tile.dark { background: #2a2326; border-color: #2a2326; }

.clients { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.client {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.client .logo-tile { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; height: 7.5rem; }
.client .logo-tile.dark { border-bottom-color: #2a2326; }
.client-body { padding: 1.3rem 1.5rem 1.5rem; }
.client-body h2 { font-size: 1.2rem; margin-bottom: .35em; }
.client-body p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Contact ---------- */
.contact {
  background: var(--maroon-ink);
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-ink));
  color: #f1e2e8;
}
.contact h2 { color: var(--white); }
.contact a { color: var(--white); }
.contact .section-head p { color: #e4cfd7; }
.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.contact-card {
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  padding: 1.5rem; background: rgba(255,255,255,.04);
}
.contact-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .2em; }
.contact-card .role { color: #d9bfca; margin-bottom: .9rem; }
.contact-card p { margin: 0 0 .35rem; }
.contact-card address { font-style: normal; margin-bottom: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: .95rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-footer img { width: 130px; margin-bottom: .8rem; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--maroon); }
.copy { width: 100%; border-top: 1px solid var(--line); padding-top: 1.2rem; margin: .5rem 0 0; font-size: .88rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.notfound .actions { justify-content: center; }

@media print {
  .site-header, .nav, .actions, .skip { display: none; }
  .hero, .page-head, .contact { background: none; color: #000; }
  .hero h1, .page-head h1, .contact h2, .contact a { color: #000; }
}
