@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #10181e;
  --ink-deep: #0a1015;
  --navy: #132631;
  --navy-2: #1a3541;
  --slate: #53626a;
  --muted: #75828a;
  --line: #dbe1e2;
  --paper: #f7f8f7;
  --white: #ffffff;
  --amber: #f4a51c;
  --amber-deep: #d77d0c;
  --orange: #e56f1f;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
  --shadow: 0 24px 70px rgba(9, 20, 26, .14);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--amber-deep); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--amber); }

.topbar {
  min-height: 35px;
  color: #c8d2d5;
  background: var(--ink-deep);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.topbar-inner, .shell { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 35px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--amber); }

.site-header { position: relative; z-index: 5; color: #fff; background: var(--navy); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 43px; }
.brand-name { font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: .08em; line-height: .92; text-transform: uppercase; }
.brand-name small { display: block; color: var(--amber); font-family: var(--body); font-size: .56rem; font-weight: 700; letter-spacing: .16em; margin-top: .35rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); margin-left: auto; }
.nav-links a, .nav-actions a { color: #eef3f2; font-size: .79rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.nav-links a:hover { color: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .button { padding: .75rem 1.1rem; }
.mobile-toggle, .mobile-nav { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .85rem 1.45rem; border: 1px solid transparent; font-size: .76rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-decoration: none; text-transform: uppercase; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.button:hover { color: inherit; transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--amber); }
.button-primary:hover { color: var(--ink); background: #ffc348; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.button-ghost:hover { color: var(--ink); border-color: #fff; background: #fff; }

.hero { position: relative; min-height: min(700px, 78vh); display: flex; align-items: stretch; color: #fff; overflow: hidden; background: var(--navy); }
.hero-photo { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,15,20,.92) 0%, rgba(11,25,31,.78) 42%, rgba(10,21,27,.25) 100%), linear-gradient(0deg, rgba(7,15,20,.68), transparent 45%); }
.hero-content { position: relative; z-index: 1; width: min(100% - (var(--gutter) * 2), var(--max)); display: flex; align-items: center; margin-inline: auto; padding-block: clamp(5rem, 10vw, 9rem); }
.hero-copy { max-width: 760px; }
.eyebrow, .section-label { display: block; color: var(--amber); font-size: .72rem; font-weight: 700; letter-spacing: .17em; line-height: 1.3; text-transform: uppercase; }
.eyebrow { margin-bottom: 1.3rem; }
.display { max-width: 11ch; margin: 0; color: #fff; font-family: var(--display); font-size: clamp(4.2rem, 9vw, 8.5rem); font-weight: 700; letter-spacing: -.025em; line-height: .86; text-transform: uppercase; }
.lead { max-width: 610px; margin: 1.75rem 0 0; color: #d9e1e1; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; color: #d8e1e1; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-meta span::before { display: inline-block; width: 7px; height: 7px; margin: 0 .6rem .05rem 0; border-radius: 50%; background: var(--amber); content: ''; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); color: #fff; background: var(--navy-2); }
.stat { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem clamp(1rem, 3vw, 3rem); border-right: 1px solid rgba(255,255,255,.13); }
.stat:last-child { border-right: 0; }
.stat strong { color: var(--amber); font-family: var(--display); font-size: clamp(2.25rem, 4vw, 3.6rem); line-height: .9; }
.stat span { margin-top: .55rem; color: #d5dedf; font-size: .7rem; font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-label { margin-bottom: 1.2rem; }
.section-heading { max-width: 730px; margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(2.7rem, 5vw, 5.4rem); font-weight: 700; letter-spacing: -.02em; line-height: .93; text-transform: uppercase; }
.section-heading span { color: var(--amber-deep); }
.intro-layout { display: grid; grid-template-columns: minmax(180px, .75fr) 2fr; gap: clamp(2.5rem, 8vw, 9rem); align-items: start; }
.intro-side { padding-top: .45rem; color: var(--slate); font-size: .9rem; }
.intro-side strong { display: block; margin-bottom: .55rem; color: var(--ink); font-family: var(--display); font-size: 1.4rem; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.article-body { max-width: 740px; font-size: 1.03rem; color: #36474d; }
.article-body > :first-child { margin-top: 0; }
.article-body h2, .article-body h3 { margin: 2rem 0 .65rem; color: var(--ink); font-family: var(--display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.article-body p { margin: 0 0 1.25rem; }
.article-body a { color: var(--amber-deep); font-weight: 700; }
.article-aside { position: sticky; top: 1.5rem; }
.callout { padding: 1.7rem; color: #e9f0f0; background: var(--navy); border-top: 4px solid var(--amber); }
.callout strong { display: block; margin-bottom: .6rem; color: #fff; font-family: var(--display); font-size: 1.65rem; letter-spacing: .03em; line-height: 1; text-transform: uppercase; }
.callout p { margin: 0; color: #c8d4d5; font-size: .9rem; }
.checklist { margin: 1.6rem 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: .75rem 0 .75rem 1.8rem; border-bottom: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.checklist li::before { position: absolute; left: 0; top: .95rem; width: 11px; height: 7px; border-left: 2px solid var(--amber-deep); border-bottom: 2px solid var(--amber-deep); content: ''; transform: rotate(-45deg); }

.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.link-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 1.7rem; color: #fff; background: var(--navy); text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease); }
.link-card:hover { color: #fff; background: var(--navy-2); transform: translateY(-5px); }
.link-card small { color: var(--amber); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.link-card strong { font-family: var(--display); font-size: 1.9rem; line-height: .95; text-transform: uppercase; }
.link-card em { align-self: flex-end; color: var(--amber); font-size: 1.5rem; font-style: normal; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.8rem; }
.process-card { position: relative; padding: 2rem; background: #fff; border: 1px solid var(--line); }
.process-card::before { display: block; margin-bottom: 2.2rem; color: var(--amber-deep); font-family: var(--display); font-size: 3.5rem; line-height: .7; content: attr(data-step); }
.process-card h3 { margin: 0 0 .6rem; font-family: var(--display); font-size: 1.8rem; line-height: 1; text-transform: uppercase; }
.process-card p { margin: 0; color: var(--slate); font-size: .9rem; }

.quote-section { color: #fff; background: var(--ink); }
.quote-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.quote-copy .section-heading { color: #fff; }
.quote-copy p { max-width: 430px; color: #bdc9ca; }
.quote-form { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.6rem); background: #17262d; border: 1px solid #30434a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .42rem; }
.form-field label, .upload-field > span { color: #d8e2e2; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 49px; padding: .75rem .85rem; color: #fff; background: #0f1a20; border: 1px solid #486069; border-radius: 0; outline: 0; }
.form-field textarea { min-height: 115px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #849397; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(244,165,28,.2); }
.upload-field { display: flex; flex-direction: column; gap: .5rem; }
.upload-field input[type='file'] { width: 100%; padding: .7rem; color: #bfcacc; background: #0f1a20; border: 1px dashed #62747a; }
.upload-field input[type='file']::file-selector-button { margin-right: .8rem; padding: .55rem .7rem; color: var(--ink); background: #dce4e3; border: 0; font-weight: 700; cursor: pointer; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .35rem; }
.submit-row small { color: #9baaad; font-size: .72rem; line-height: 1.4; }

.footer { color: #c1cecf; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-block: 4.5rem; }
.footer .brand { margin-bottom: 1rem; }
.footer p { max-width: 300px; margin: 0; color: #9eafb1; font-size: .85rem; }
.footer h2 { margin: .35rem 0 1rem; color: #fff; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: .45rem 0; font-size: .85rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); color: #94a5a7; font-size: .72rem; }

.floating-quote { position: fixed; z-index: 10; top: 50%; right: 0; padding: 1rem .65rem; color: var(--ink); background: var(--amber); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; writing-mode: vertical-rl; transform: translateY(-50%); box-shadow: 0 7px 18px rgba(0,0,0,.18); }
.floating-quote:hover { color: var(--ink); background: #ffc348; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.45); cursor: pointer; }
  .mobile-toggle::before { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ''; box-shadow: 0 4px 0 -2px currentColor; }
  .mobile-nav { display: none; padding: .5rem var(--gutter) 1.5rem; background: var(--navy); }
  .mobile-nav[aria-expanded='true'] { display: block; }
  .mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
  .mobile-nav .button { width: 100%; margin-top: 1rem; }
  .intro-layout, .article-layout, .quote-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-aside { position: static; }
  .quote-copy p { max-width: 600px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; gap: .15rem; padding-block: .55rem; }
  .site-header .shell { min-height: 74px; }
  .brand-name { font-size: 1rem; }
  .hero { min-height: 650px; }
  .hero-content { align-items: flex-end; padding-block: 4.2rem; }
  .display { font-size: clamp(3.7rem, 18vw, 6.2rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .button { width: 100%; }
  .hero-meta { gap: .65rem 1rem; margin-top: 2rem; font-size: .65rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 105px; padding: 1.1rem; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .section { padding-block: 4rem; }
  .links-grid, .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .submit-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; padding-block: 3.5rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .floating-quote { top: auto; right: 1rem; bottom: 1rem; padding: .75rem 1rem; writing-mode: horizontal-tb; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Site-wide accessibility and static navigation refinements */
.skip-link { position: absolute; z-index: 100; left: 1rem; top: -5rem; padding: .6rem 1rem; color: #10181e; background: #fff; }
.skip-link:focus { top: 1rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.display--detail { max-width: 15ch; font-size: clamp(3.5rem, 6.8vw, 6.8rem); line-height: .94; }
.stat span { margin: 0; color: #fff; font-family: var(--display); font-size: clamp(1.35rem, 2.25vw, 2rem); line-height: 1; letter-spacing: .02em; }
.stat span::before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: 1.15rem; background: var(--amber); }
.callout .button { margin-top: 1.25rem; }
.related-intro { margin-bottom: 2rem; color: #53626a; }
.directory { background: #e8eded; }
.directory p { color: #53626a; }
.directory-group { border-bottom: 1px solid #c6d1d1; }
.directory-group summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-family: var(--display); font-weight: 700; font-size: 1.65rem; text-transform: uppercase; list-style: none; }
.directory-group summary::-webkit-details-marker { display: none; }
.directory-group summary span { color: #8b5a0a; font-family: var(--body); font-size: .7rem; letter-spacing: .08em; }
.directory-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem 1.5rem; padding-bottom: 1.5rem; }
.directory-links a { font-size: .85rem; color: #284047; }
.mobile-menu { display: none; }
.upload-field label { color: #d8e2e2; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.upload-field small { color: #aebdbf; }
@media(max-width: 900px) {
  .mobile-menu { display: block; position: relative; color: white; }
  .mobile-menu summary { padding: .5rem .8rem; border: 1px solid #8c9d9e; cursor: pointer; list-style: none; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
  .mobile-menu nav { position: absolute; right: 0; top: 100%; width: 235px; padding: 1rem 1.25rem; background: #132631; box-shadow: 0 10px 20px #0005; }
  .mobile-menu nav a { display: block; padding: .55rem 0; color: white; text-decoration: none; font-size: .8rem; }
}
@media(max-width: 640px) { .directory-links { grid-template-columns: 1fr; } .display--detail { font-size: clamp(3rem, 13vw, 5rem); } .stat span { font-size: 1.35rem; } }
