/* Atria — public marketing site
   Palette taken from the Atria and Cartel marks (deep navy + teal) and the
   Pathfinder wordmark (brushed steel blue). */

:root {
  --navy-900: #0e1c2b;
  --navy-800: #16293c;
  --navy-700: #22384e;
  --navy-600: #33506b;
  --teal-600: #1c7f92;
  --teal-500: #24a9b8;
  --teal-400: #4fc0d0;
  --steel-300: #a8c6d2;
  --ink: #16293c;
  --body: #465a6d;
  --muted: #6b7f92;
  --line: #dce5ec;
  --line-soft: #e9eff4;
  --surface: #ffffff;
  --surface-alt: #f5f8fa;
  --surface-tint: #eef5f7;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 24px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(14, 28, 43, .05), 0 12px 32px -18px rgba(14, 28, 43, .28);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 780px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand:hover { text-decoration: none; }

/* The supplied Atria logo is a square lock-up with generous white margins.
   This window crops to the mark; the wordmark is set in type beside it. */
.brand-mark {
  width: 48px;
  height: 40px;
  overflow: hidden;
  position: relative;
  flex: none;
}
.brand-mark img {
  position: absolute;
  width: 106px;
  max-width: none;
  left: -30px;
  top: -22px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.015em;
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--navy-700);
  font-size: .94rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--teal-600); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--navy-900); border-bottom-color: var(--teal-500); }
/* .site-nav a sets its own padding/border, so buttons must restate theirs. */
.site-nav a.btn { padding: 10px 18px; border-bottom: 1px solid transparent; }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #fff; }
.site-nav a.btn-primary[aria-current="page"] { border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  font: inherit;
  font-size: .9rem;
  color: var(--navy-800);
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }

.btn:disabled,
.btn[disabled] {
  background: var(--surface-alt);
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.btn:disabled:hover,
.btn[disabled]:hover { background: var(--surface-alt); border-color: var(--line); color: var(--muted); }

.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: #166a7a; color: #fff; }

.btn-outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--teal-500); color: var(--teal-600); }

.btn-ghost-light { border-color: rgba(255,255,255,.34); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--surface-tint); color: var(--navy-900); }

.btn-sm { padding: 10px 18px; font-size: .9rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .95rem;
}
.arrow-link::after { content: "\2192"; transition: transform .15s ease; }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Sections ---------- */

section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(48px, 5vw, 72px) 0; }

.tint { background: var(--surface-alt); }
.dark { background: var(--navy-900); color: #c3d3de; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark a { color: var(--teal-400); }
/* Buttons keep their own colours inside dark sections. */
.dark a.btn-light, .dark a.btn-light:hover { color: var(--navy-900); }
.dark a.btn-ghost-light, .dark a.btn-ghost-light:hover { color: #fff; }
.dark a.btn-primary, .dark a.btn-primary:hover { color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 16px;
}
.dark .eyebrow { color: var(--steel-300); }

.lead { font-size: clamp(1.08rem, 1.9vw, 1.26rem); line-height: 1.6; color: var(--body); }
.dark .lead { color: #bccddb; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(36, 169, 184, .14), transparent 62%),
    linear-gradient(180deg, #fbfdfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 { margin-bottom: .45em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.page-hero {
  padding: clamp(56px, 7vw, 88px) 0 clamp(44px, 5vw, 64px);
  background: linear-gradient(180deg, #f7fafb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero.dark {
  background:
    radial-gradient(900px 440px at 78% 10%, rgba(36, 169, 184, .22), transparent 60%),
    var(--navy-900);
  border-bottom: 0;
}

/* ---------- Figures ---------- */

.figure-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 0;
}
.figure-card figcaption {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

/* Cartel lock-up crop (horizontal lock-up inside a square canvas) */
.cartel-lockup {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1110 / 510;
  overflow: hidden;
  position: relative;
}
.cartel-lockup img {
  position: absolute;
  width: 111.7%;
  max-width: none;
  left: -6.3%;
  top: -70.6%;
}
.dark .cartel-lockup { background: #fff; border-radius: 6px; }

/* Pathfinder wordmark plate */
.wordmark-plate {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  max-width: 520px;
}
.wordmark-plate img { width: 100%; }

/* ---------- Grids and cards ---------- */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 28px;
}
.card h3 { margin-bottom: .5em; }
.card p { font-size: .97rem; }
.tint .card { box-shadow: var(--shadow); border-color: var(--line-soft); }

.card-link { display: block; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { border-color: var(--teal-500); text-decoration: none; transform: translateY(-2px); }
.card-link .arrow-link { margin-top: 18px; }

.feature { padding-top: 22px; border-top: 2px solid var(--teal-500); }
.feature h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; }
.feature p { font-size: .96rem; margin: 0; }
.dark .feature p { color: #adc1d0; }

/* Numbered steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.step h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; }
.step p { font-size: .96rem; margin: 0; }

/* Claim tiles */
.claims { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.claim { padding: 30px 28px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.claim:last-child { border-right: 0; }
.claim h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .45em; }
.claim p { font-size: .94rem; margin: 0; color: var(--muted); }

/* Split content block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split-top { align-items: start; }
.split-text h2 { margin-bottom: .5em; }
.split-reverse .split-text { order: 2; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 0 0 14px 30px;
  font-size: .98rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--teal-500);
}
.dark .checklist li::before { border-color: var(--teal-400); }

/* Statement */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.36;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}
.dark .statement { color: #fff; }

/* Sector rows */
.sector {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.sector h3 { margin-bottom: .35em; }
.sector .sector-kicker { font-size: .86rem; color: var(--muted); margin: 0; }
.sector p { font-size: .98rem; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--navy-800); color: #c3d3de; }
.cta-band h2 { color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.cta-inner > div { max-width: 620px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy-800); }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(36, 169, 184, .35);
  outline-offset: 1px;
  border-color: var(--teal-500);
}
.form-note { font-size: .86rem; color: var(--muted); margin-top: 18px; }

.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface-tint);
  border: 1px solid #cfe3e8;
  color: var(--navy-800);
  font-size: .94rem;
}
.form-status[hidden] { display: none; }

.contact-detail { font-size: .97rem; margin: 0; }
.contact-detail dt { font-weight: 600; color: var(--navy-800); font-size: .88rem; margin-bottom: 4px; }
.contact-detail dd { margin: 0 0 22px; color: var(--body); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-900); color: #93a8b8; padding: 64px 0 34px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #b6c8d5; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand p { max-width: 330px; color: #8ba1b2; font-size: .92rem; margin-top: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-mark { background: #fff; border-radius: 3px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #7e94a6;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-reverse .split-text { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .claims { grid-template-columns: 1fr 1fr; }
  .claim:nth-child(2) { border-right: 0; }
  .sector { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* The navigation runs out of room well before the rest of the layout does,
   so it collapses to the menu button at its own, wider breakpoint. */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }
  .site-nav .btn { margin-top: 14px; justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .claims { grid-template-columns: 1fr; }
  .claim { border-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
