:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #5e6061;
  --paper: #f4f3ef;
  --white: #fff;
  --dark: #131209;
  --panel: #1f1f1f;
  --line: #deddd7;
  --yellow: #e9b936;
  --yellow-dark: #805d0f;
  --font: 'Manrope', sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-family: var(--font); font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); padding: 8px 12px; background: var(--white); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.heading-1,.heading-2,.heading-3,.heading-4,.heading-5,.heading-6,.title-1,.title-2,.title-3,.body-1,.body-2,.body-3,.body-4,.body-5,.button-md,.caption-1,.caption-2 { margin: 0; text-wrap: balance; }
.heading-1 { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.heading-2 { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.03em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.025em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; text-wrap: pretty; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 400; text-wrap: pretty; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 12px; line-height: 16px; font-weight: 500; }
.section { padding-block: 96px; }
.section-heading { max-width: 680px; margin-bottom: 48px; }
.eyebrow { display: block; margin-bottom: 12px; color: var(--yellow-dark); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.intro { margin-top: 16px; color: var(--muted); max-width: 640px; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 16px; line-height: 24px; font-weight: 600; transition: transform 500ms cubic-bezier(.22,1,.36,1), background-color 300ms cubic-bezier(.22,1,.36,1), color 300ms cubic-bezier(.22,1,.36,1); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-primary { color: var(--ink); background: var(--yellow); }
.btn-primary:hover { background: #f1cb65; }

/* Floating navigation */
.site-header { position: fixed; z-index: 20; top: 12px; left: 50%; width: min(1200px, calc(100% - 32px)); transform: translateX(-50%); border: 1px solid rgb(255 255 255 / 16%); border-radius: 16px; color: var(--white); background: rgb(19 18 9 / 82%); backdrop-filter: blur(16px); transition: background-color 300ms cubic-bezier(.22,1,.36,1); }
.header-inner { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 24px; padding-inline: 16px; }
.brand img { width: 112px; height: 48px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { color: rgb(255 255 255 / 76%); font-size: 14px; line-height: 20px; font-weight: 500; transition: color 300ms cubic-bezier(.22,1,.36,1); }
.nav-link:hover,.nav-link[aria-current="page"] { color: var(--yellow); }
.menu-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; color: white; border: 1px solid rgb(255 255 255 / 20%); border-radius: 8px; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-line { transform-origin: center; transition: transform 500ms cubic-bezier(.22,1,.36,1), opacity 300ms cubic-bezier(.22,1,.36,1); }
.menu-toggle[aria-expanded="true"] .menu-line-top { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line-middle { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-line-bottom { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; display: flex; min-height: 760px; align-items: center; overflow: hidden; color: white; background: var(--dark); }
.hero-image,.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 58%; }
.hero-shade { background: rgb(19 18 9 / 66%); }
.hero-inner { position: relative; z-index: 1; padding-block: 160px 96px; }
.hero-copy { max-width: 680px; }
.hero .eyebrow { color: var(--yellow); }
.hero-title { max-width: 680px; background: linear-gradient(90deg, #fff, #b8b8b8); color: transparent; background-clip: text; }
.hero-copy p { max-width: 600px; margin: 24px 0 32px; color: rgb(255 255 255 / 84%); text-wrap: pretty; }
.proof-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; color: rgb(255 255 255 / 80%); }
.proof-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }

/* Services and benefits */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.service-card { min-height: 240px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform 500ms cubic-bezier(.22,1,.36,1), border-color 300ms cubic-bezier(.22,1,.36,1); }
.service-card:hover { transform: translateY(-4px); border-color: var(--yellow-dark); }
  .service-image-box { width: 100%; aspect-ratio: 1 / 1; margin-bottom: 24px; overflow: hidden; border-radius: 8px; }
  .service-image-box img { width: 100%; height: 100%; object-fit: cover; }
.service-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 32px; border-radius: 12px; color: var(--ink); background: var(--yellow); }
.service-icon svg { width: 24px; height: 24px; }
.service-card p { margin: 8px 0 0; color: var(--muted); text-wrap: pretty; }
.tagline { padding-block: 96px; overflow: hidden; color: var(--white); background: var(--dark); }
.tagline-inner { max-width: 820px; }
.tagline-text { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.tagline-word { color: rgb(255 255 255 / 32%); }
.benefit-section { background: var(--white); }
.benefit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.benefit-item { padding-top: 16px; border-top: 1px solid var(--line); }
.benefit-index { display: block; margin-bottom: 24px; color: var(--yellow-dark); }
.benefit-item p { margin: 8px 0 0; color: var(--muted); }
.dark-section { color: var(--white); background: var(--dark); }
.dark-section .intro { color: rgb(255 255 255 / 70%); }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; counter-reset: steps; }
.process-step { padding: 24px; border: 1px solid #313131; border-radius: 16px; background: #181818; counter-increment: steps; }
.process-step::before { content: "0" counter(steps); display: block; margin-bottom: 40px; color: var(--yellow); font-size: 14px; line-height: 20px; font-weight: 600; }
.process-step p { margin: 8px 0 0; color: rgb(255 255 255 / 68%); }

/* Specialty and portal */
.specialty { display: grid; min-height: 420px; grid-template-columns: 1fr 1fr; overflow: hidden; color: white; background: #181818; }
.specialty-image { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.specialty-copy { align-self: center; max-width: 600px; padding: 64px; }
.specialty-copy p { margin: 16px 0 0; color: rgb(255 255 255 / 72%); }
.portal-section { background: var(--paper); }
.portal-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; }
.portal-grid figure { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.portal-note { margin-top: 24px; color: var(--muted); }

/* FAQ and contact */
.faq-section { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--yellow-dark); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 32px 0 0; color: var(--muted); text-wrap: pretty; }
.contact-section { color: white; background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-section .intro { color: rgb(255 255 255 / 72%); }
.contact-email { display: inline-flex; margin-top: 32px; color: var(--yellow); }
.contact-form { display: grid; gap: 16px; padding: 32px; border: 1px solid #313131; border-radius: 16px; background: #181818; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field input,.field select,.field textarea { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #454545; border-radius: 8px; color: white; background: #1f1f1f; }
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder,.field textarea::placeholder { color: #aaa; }
.form-note { margin: 0; color: rgb(255 255 255 / 62%); }
.site-footer { padding-block: 48px 24px; color: white; background: #000; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer-brand img { width: 112px; height: 64px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 320px; margin: 12px 0 0; color: rgb(255 255 255 / 64%); }
.footer-label { margin-bottom: 16px; color: var(--yellow); }
.footer-links { display: grid; gap: 8px; color: rgb(255 255 255 / 76%); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 16px; border-top: 1px solid #313131; color: rgb(255 255 255 / 56%); }
.not-found-page { min-height: 100vh; color: white; background: #131209; }
.not-found { display: grid; min-height: 100vh; align-content: center; justify-items: start; gap: 24px; }
.not-found .brand img { width: 112px; height: 64px; object-fit: contain; object-position: left; }
.not-found .eyebrow { margin: 0; }
.not-found .body-3 { max-width: 600px; color: rgb(255 255 255 / 72%); }

@media (max-width: 800px) {
  .container { width: min(100% - 40px, 640px); }
  .heading-1 { font-size: 48px; line-height: 1; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .section { padding-block: 80px; }
  .desktop-nav,.header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { position: absolute; top: calc(100% + 8px); left: 0; display: grid; width: 100%; height: calc(100dvh - 96px); align-content: start; gap: 4px; padding: 16px; border: 1px solid #313131; border-radius: 16px; background: rgb(19 18 9 / 96%); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 300ms cubic-bezier(.22,1,.36,1), transform 500ms cubic-bezier(.22,1,.36,1), visibility 300ms; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu .nav-link { padding: 12px 8px; }
  .mobile-menu.is-open .nav-link { animation: menu-link-in 500ms cubic-bezier(.22,1,.36,1) both; }
  .mobile-menu.is-open .nav-link:nth-child(1) { animation-delay: 0ms; }
  .mobile-menu.is-open .nav-link:nth-child(2) { animation-delay: 60ms; }
  .mobile-menu.is-open .nav-link:nth-child(3) { animation-delay: 120ms; }
  .mobile-menu.is-open .nav-link:nth-child(4) { animation-delay: 180ms; }
  .mobile-menu .btn { margin-top: 8px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: rgb(19 18 9 / 72%); }
  .hero-inner { padding-block: 144px 80px; }
  .service-grid,.benefit-grid,.process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 24px; }
  .tagline { padding-block: 80px; }
  .tagline-text { font-size: 36px; line-height: 40px; }
  .specialty { grid-template-columns: 1fr; }
  .specialty-image { min-height: 280px; max-height: 360px; }
  .specialty-copy { padding: 40px 24px 48px; }
  .portal-grid,.faq-grid,.contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@keyframes menu-link-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .hero { min-height: 760px; }
  .hero-copy p { margin-block: 16px 24px; }
  .proof-line { gap: 8px; }
  .proof-line span { font-size: 12px; line-height: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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