@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #14201d;
  --ink-2: #24332f;
  --paper: #f4f0e8;
  --paper-2: #ebe5da;
  --white: #fffdf8;
  --blue: #295bff;
  --blue-dark: #173dc7;
  --signal: #d7ff45;
  --rust: #d2603d;
  --line: #c8c2b7;
  --muted: #65706c;
  --shadow: 0 18px 48px rgba(20, 32, 29, .14);
  --radius: 14px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
::selection { color: var(--white); background: var(--blue); }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
img { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--white); padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244, 240, 232, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.utility { background: var(--ink); color: var(--white); font-size: 13px; letter-spacing: .03em; }
.utility .wrap { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility a { color: var(--signal); font-weight: 800; text-decoration: none; }
.utility-contact { display: inline-flex; align-items: center; gap: 14px; }
.nav-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: var(--white); font-size: 13px; line-height: 1; transform: rotate(-3deg); }
.brand span:last-child { max-width: 205px; line-height: 1.05; }
.nav-toggle { display: none; border: 1px solid var(--ink); background: transparent; border-radius: 10px; padding: 9px 12px; font-weight: 800; }
.main-nav, .nav-links { display: flex; align-items: center; }
.nav-links { list-style: none; gap: 24px; margin: 0; padding: 0; }
.nav-links a, .nav-dropdown-toggle { font-weight: 750; font-size: 15px; text-decoration: none; background: none; border: 0; color: var(--ink); padding: 10px 0; cursor: pointer; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px !important; border-radius: 9px; background: var(--blue); color: var(--white) !important; }
.nav-item { position: relative; }
.nav-dropdown { display: none; position: absolute; left: -20px; top: calc(100% - 2px); min-width: 285px; padding: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); list-style: none; }
.nav-dropdown li + li { border-top: 1px solid var(--paper-2); }
.nav-dropdown a { display: block; padding: 10px 9px; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown, .nav-item.is-open .nav-dropdown { display: block; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: stretch; }
.hero-copy { position: relative; z-index: 2; padding: 86px 6vw 72px max(20px, calc((100vw - 1180px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero-media { min-width: 0; position: relative; }
.hero-media img { height: 100%; object-fit: cover; object-position: 63% center; animation: route-reveal 1s cubic-bezier(.16, 1, .3, 1) both; transform-origin: right center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0, transparent 28%); }
.hero h1, .page-hero h1 { max-width: 13ch; margin: 0 0 24px; font-family: "Fraunces", Georgia, serif; font-size: clamp(44px, 5.8vw, 78px); font-variation-settings: "opsz" 72, "SOFT" 20, "WONK" 1; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.hero p { max-width: 60ch; color: #dfe7e3; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; font-weight: 850; text-decoration: none; transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .22s cubic-bezier(.16, 1, .3, 1); }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--signal); color: var(--ink); }
.button-secondary { border-color: #69746f; color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.hero-note { margin-top: 24px; font-size: 13px !important; color: #aebcb6 !important; }
.manifest-strip { border-bottom: 1px solid var(--line); }
.manifest-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.manifest-item { padding: 19px 22px; border-right: 1px solid var(--line); font-size: 14px; }
.manifest-item:last-child { border-right: 0; }
.manifest-item strong { display: block; color: var(--blue); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }

section { padding-block: 86px; }
.section-tight { padding-block: 56px; }
.section-dark { background: var(--ink); color: var(--white); }
.section-blue { background: var(--blue); color: var(--white); }
.section-white { background: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading h2, .content h2 { margin: 0 0 15px; font-family: "Fraunces", Georgia, serif; font-size: clamp(34px, 4vw, 54px); font-variation-settings: "opsz" 48, "SOFT" 18, "WONK" 1; line-height: 1.03; letter-spacing: -.028em; text-wrap: balance; }
.section-heading p { margin: 0; color: var(--muted); }
.section-dark .section-heading p, .section-blue .section-heading p { color: #d9e2df; }
.service-ledger { border-top: 2px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 74px 1fr 1.4fr auto; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-row:hover { color: var(--blue); }
.service-icon { width: 56px; height: 56px; padding: 11px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; object-fit: contain; }
.service-row h3 { margin: 0; font-size: 22px; line-height: 1.15; }
.service-row p { margin: 0; color: var(--muted); }
.service-row b { font-size: 20px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #53615c; border-bottom: 1px solid #53615c; }
.process-step { padding: 34px 30px 34px 0; }
.process-step + .process-step { padding-left: 30px; border-left: 1px solid #53615c; }
.process-step strong { color: var(--signal); font-size: 13px; letter-spacing: .08em; }
.process-step h3 { margin: 10px 0; font-size: 24px; }
.process-step p { color: #cbd6d1; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.photo-frame { position: relative; }
.photo-frame img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-label { position: absolute; right: 18px; bottom: 18px; max-width: 260px; padding: 12px 14px; background: var(--signal); border-radius: 8px; font-size: 13px; font-weight: 800; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--blue); font-weight: 900; }
.area-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid #71807a; }
.area-grid a { min-height: 92px; display: flex; align-items: end; padding: 15px; color: var(--white); text-decoration: none; border-right: 1px solid #71807a; border-bottom: 1px solid #71807a; }
.area-grid a:nth-child(5n) { border-right: 0; }
.area-grid a:hover { background: var(--signal); color: var(--ink); }
.cta-band { overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band h2 { max-width: 12ch; margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(38px, 5vw, 66px); font-variation-settings: "opsz" 60, "SOFT" 20, "WONK" 1; line-height: 1; letter-spacing: -.03em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.page-hero { padding: 88px 0 64px; background: var(--ink); color: var(--white); }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.page-hero h1 { font-size: clamp(42px, 5.2vw, 70px); }
.page-hero p { color: #d5dfdb; max-width: 58ch; }
.page-hero .route-tag { justify-self: end; color: var(--signal); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.content { max-width: 800px; }
.content h2 { margin-top: 54px; font-size: clamp(30px, 3.4vw, 44px); }
.content h3 { margin-top: 34px; font-size: 24px; }
.content p, .content li { max-width: 72ch; }
.content a { color: var(--blue-dark); font-weight: 700; }
.article-layout { display: grid; grid-template-columns: minmax(0, 800px) 280px; gap: 70px; align-items: start; }
.article-side { position: sticky; top: 130px; padding: 22px; background: var(--white); border-radius: var(--radius); }
.article-side strong { display: block; margin-bottom: 10px; }
.article-side a { display: block; padding: 7px 0; color: var(--blue-dark); }
.data-table { width: 100%; border-collapse: collapse; margin: 28px 0; background: var(--white); }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px; border: 1px solid var(--line); }
.data-table th { background: var(--ink); color: var(--white); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 850; font-size: 19px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.blog-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card div { padding: 24px; }
.blog-card h2 { margin: 0 0 12px; font-size: 28px; }
.blog-card p { color: var(--muted); }
.blog-card a { color: var(--blue-dark); font-weight: 850; }
.policy-note { padding: 18px 20px; background: var(--white); border-radius: 12px; }

.site-footer { background: #0c1412; color: #dfe6e3; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer h2 { font-family: "Fraunces", Georgia, serif; font-variation-settings: "opsz" 36, "SOFT" 18, "WONK" 1; font-size: 32px; }
.site-footer h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #dfe6e3; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #3f4b47; font-size: 13px; color: #9eaba6; }

@media (max-width: 900px) {
  .utility > .wrap > span:first-child { display: none; }
  .utility .wrap { justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 110px; padding: 16px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .nav-links { display: block; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links a, .nav-dropdown-toggle { display: block; width: 100%; text-align: left; padding: 14px 0; }
  .nav-dropdown { position: static; min-width: 0; box-shadow: none; margin: 0 0 12px; }
  .nav-cta { margin-block: 10px; }
  .hero-grid, .split, .cta-grid, .page-hero .wrap, .article-layout { grid-template-columns: 1fr; }
  .hero-copy { min-height: 500px; padding: 70px 24px; }
  .hero-media { height: 380px; }
  .hero-media::after { background: linear-gradient(180deg, var(--ink), transparent 38%); }
  .manifest-strip .wrap, .process-grid { grid-template-columns: 1fr; }
  .manifest-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step + .process-step { padding-left: 0; border-left: 0; border-top: 1px solid #53615c; }
  .service-row { grid-template-columns: 58px 1fr auto; }
  .service-row p { grid-column: 2 / -1; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid a, .area-grid a:nth-child(5n) { border-right: 1px solid #71807a; }
  .area-grid a:nth-child(2n) { border-right: 0; }
  .page-hero .route-tag { justify-self: start; }
  .article-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  section { padding-block: 64px; }
  .brand span:last-child { max-width: 155px; font-size: 14px; }
  .utility-contact { width: 100%; justify-content: space-between; gap: 10px; font-size: 11px; }
  .nav-row { min-height: 70px; }
  .main-nav { top: 104px; }
  .hero-grid { min-height: 0; }
  .hero-copy { min-height: 470px; }
  .hero h1, .page-hero h1 { font-size: 44px; }
  .hero-media { height: 300px; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row b { display: none; }
  .service-row p { grid-column: 1 / -1; }
  .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .area-grid a { border-right: 0 !important; }
  .footer-bottom { display: block; }
}

@keyframes route-reveal {
  from { clip-path: inset(0 0 0 18%); transform: scale(1.025); }
  to { clip-path: inset(0); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
