:root {
  color-scheme: light;
  --ink: #18221e;
  --muted: #52615a;
  --green: #286348;
  --green-dark: #194b37;
  --coral: #b85c43;
  --line: #d7e0da;
  --paper: #ffffff;
  --soft: #f2f5f2;
  --dark: #13201a;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 76px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip-link { position: absolute; top: -60px; left: 12px; padding: 10px 14px; background: white; z-index: 20; }
.skip-link:focus { top: 10px; }

.site-header { height: 72px; position: relative; z-index: 10; background: white; border-bottom: 1px solid var(--line); }
.header-inner, .section-inner { width: min(100% - 48px, 1160px); margin: 0 auto; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.wordmark { text-decoration: none; font-size: 18px; font-weight: 800; line-height: 1.05; white-space: nowrap; }
.wordmark span { display: block; font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a, .footer-links a { text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--coral); }
.header-contact { padding: 10px 16px; background: var(--green); color: white; text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 4px; white-space: nowrap; }
.header-contact:hover { background: var(--green-dark); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: clamp(500px, calc(100svh - 150px), 690px); background: var(--dark) url('/assets/demarcus.jpg') center 36% / cover no-repeat; color: white; }
.hero-overlay { position: absolute; inset: 0; background: rgba(10, 20, 20, .68); }
.hero-inner { position: relative; width: min(100% - 48px, 1160px); margin: 0 auto; min-height: inherit; display: flex; align-items: center; }
.hero-copy { max-width: 700px; padding: 52px 0 60px; }
.hero-kicker, .eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--coral); }
.hero-kicker { color: #e7b9a8; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 20px; font-size: clamp(44px, 4.2rem, 68px); line-height: 1.03; letter-spacing: 0; }
.hero-lede { max-width: 590px; font-size: 19px; line-height: 1.6; color: #eaf0eb; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 800; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover:not(:disabled) { background: var(--green-dark); }
.button-light { color: white; border-color: rgba(255,255,255,.65); background: rgba(0,0,0,.15); }
.button-light:hover { background: rgba(255,255,255,.13); }
.button-dark { color: white; background: var(--dark); }
.button-dark:hover { background: #294335; }

.section { padding: 88px 0; }
.section-heading { max-width: 690px; margin-bottom: 48px; }
.section-heading h2, .security-intro h2, .about-copy h2, .inquiry-intro h2 { margin-bottom: 18px; font-size: clamp(32px, 2.65rem, 44px); line-height: 1.13; letter-spacing: 0; }
.section-heading > p:last-child, .security-intro > p:not(.eyebrow), .about-copy > p:not(.eyebrow), .inquiry-intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.service-item { border-top: 2px solid var(--green); padding-top: 20px; }
.service-number { display: block; margin-bottom: 34px; font-size: 13px; font-weight: 800; color: var(--coral); }
.service-item h3, .security-list h3, .process-list h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.25; }
.service-item p, .security-list p, .process-list p { color: var(--muted); margin-bottom: 0; }
.text-link { display: inline-block; margin-top: 34px; color: var(--green); font-size: 14px; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.security-section { background: #eaf0eb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.security-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 90px; align-items: start; }
.security-intro { max-width: 470px; }
.security-intro .button { margin-top: 15px; }
.security-list article { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid #c8d6cb; }
.security-list article:last-child { margin-bottom: 0; }
.scope-note { margin: 36px 0 0; padding-left: 16px; border-left: 3px solid var(--coral); color: #47574e; font-size: 14px; }

.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.process-list li { border-top: 1px solid var(--line); padding-top: 16px; }
.process-list li > span { display: block; margin-bottom: 28px; color: var(--coral); font-weight: 800; }
.process-list h3 { font-size: 18px; }
.process-list p { font-size: 14px; }

.about-section { padding: 0; background: var(--dark); color: white; }
.about-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 460px; align-items: stretch; }
.about-photo { background: url('/assets/demarcus.jpg') center 38% / cover no-repeat; min-height: 460px; }
.about-copy { padding: 86px 0 86px 74px; align-self: center; }
.about-copy > p:not(.eyebrow) { color: #d7e2d8; }
.about-copy .text-link { color: #c7e5d2; }

.inquiry-section { background: var(--soft); }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); gap: 82px; }
.inquiry-intro { position: sticky; top: 100px; align-self: start; }
.privacy-note { border-left: 3px solid var(--coral); padding-left: 16px; font-size: 14px !important; }
.contact-email { display: inline-block; margin-top: 16px; color: var(--green); font-weight: 800; overflow-wrap: anywhere; }
.inquiry-panel { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 30px; }
.form-switch { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; padding: 4px; margin-bottom: 30px; background: var(--soft); border-radius: 5px; }
.form-switch button { border: 0; border-radius: 4px; padding: 11px 8px; color: var(--muted); background: transparent; font-size: 14px; font-weight: 800; cursor: pointer; }
.form-switch button[aria-selected="true"] { background: white; color: var(--ink); box-shadow: 0 1px 5px rgba(22,35,27,.1); }
.inquiry-form { display: grid; gap: 18px; }
.inquiry-form[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.inquiry-form label, .stacked-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
.inquiry-form label span { color: var(--muted); font-weight: 400; }
.inquiry-form input:not([type="checkbox"]):not([type="radio"]), .inquiry-form select, .inquiry-form textarea, .stacked-form input { width: 100%; min-width: 0; border: 1px solid #bac8be; border-radius: 4px; padding: 11px 12px; background: white; color: var(--ink); font-size: 15px; font-weight: 400; }
.inquiry-form textarea { resize: vertical; min-height: 116px; }
.inquiry-form fieldset { border: 0; padding: 0; margin: 0; }
.inquiry-form legend { margin-bottom: 11px; font-size: 13px; font-weight: 800; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.checkbox-grid label, .radio-row label { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.checkbox-grid input, .radio-row input { accent-color: var(--green); }
.radio-row { display: flex; flex-wrap: wrap; gap: 22px; }
.inquiry-form .button { justify-self: start; }
.form-feedback { min-height: 22px; margin: 0; color: var(--green); font-size: 14px; font-weight: 700; }
.form-feedback.error, .form-error { color: #a03e31; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding: 55px 0 30px; background: #14231c; color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.site-footer .wordmark span { color: #a6d2b4; }
.site-footer p { margin: 22px 0 0; color: #bdccc1; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: start; gap: 22px; }
.footer-inner small { grid-column: 1 / -1; border-top: 1px solid #395044; padding-top: 20px; color: #a9b9ac; }

.admin-body { background: var(--soft); min-height: 100vh; }
.admin-top { min-height: 70px; padding: 14px max(24px, calc((100vw - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: white; border-bottom: 1px solid var(--line); }
.admin-nav { display: flex; align-items: center; gap: 20px; }
.admin-nav a, .text-button { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.text-button { border: 0; padding: 0; background: none; cursor: pointer; }
.admin-main { width: min(100% - 48px, 1160px); margin: 0 auto; padding: 54px 0 90px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.admin-heading h1, .login-panel h1 { font-size: 40px; line-height: 1.1; margin: 0; }
.mail-status { margin: 0; color: var(--muted); font-size: 13px; }
.admin-tabs { display: flex; gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.admin-tab { display: inline-flex; gap: 8px; padding: 12px 15px; text-decoration: none; white-space: nowrap; color: var(--muted); font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; }
.admin-tab.active { color: var(--green); border-color: var(--green); }
.admin-tab span { color: var(--coral); }
.inquiry-list { display: grid; gap: 15px; }
.inquiry-item, .login-panel, .price-list article { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.inquiry-heading { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.request-type { color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.inquiry-heading h2 { margin: 5px 0 0; font-size: 21px; }
.inquiry-heading time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.inquiry-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px 30px; margin: 0; }
.inquiry-detail dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.inquiry-detail dd { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.empty-state { padding: 50px 0; color: var(--muted); }
.login-panel { width: min(100%, 420px); margin: 30px auto; }
.login-panel h1 { margin-bottom: 26px; }
.stacked-form { display: grid; gap: 20px; }
.admin-intro { max-width: 690px; color: var(--muted); }
.price-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 28px 0; }
.price-list h2 { font-size: 18px; margin-bottom: 18px; }
.price-list strong { font-size: 23px; color: var(--green); }
.price-list p { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.not-found main { width: min(100%, 460px); }
.not-found h1 { font-size: 42px; }

@media (max-width: 900px) {
  .site-nav { gap: 15px; }
  .security-layout, .inquiry-layout { gap: 42px; }
  .process-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px; }
  .about-copy { padding-left: 40px; }
}

@media (max-width: 700px) {
  .header-inner, .section-inner, .hero-inner, .admin-main { width: min(100% - 32px, 1160px); }
  .site-header { height: 64px; }
  .header-inner { gap: 12px; }
  .wordmark { font-size: 16px; }
  .header-contact { display: none; }
  .menu-toggle { display: block; margin-left: auto; padding: 8px 0; border: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 800; cursor: pointer; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 20px 16px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 22px rgba(0,0,0,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; }
  .hero { min-height: clamp(510px, calc(100svh - 125px), 640px); background-position: 54% 42%; }
  .hero-overlay { background: rgba(9, 19, 19, .76); }
  .hero-copy { padding: 45px 0; }
  .hero h1 { font-size: 43px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .section { padding: 68px 0; }
  .section-heading h2, .security-intro h2, .about-copy h2, .inquiry-intro h2 { font-size: 32px; }
  .service-grid, .security-layout, .inquiry-layout, .about-layout { grid-template-columns: 1fr; }
  .service-grid { gap: 34px; }
  .service-number { margin-bottom: 14px; }
  .security-layout { gap: 36px; }
  .about-photo { min-height: 330px; background-position: center 36%; }
  .about-copy { padding: 48px 0 60px; }
  .inquiry-intro { position: static; }
  .inquiry-panel { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .admin-top { padding: 14px 16px; }
  .admin-nav { gap: 11px; }
  .admin-nav a, .text-button { font-size: 12px; }
  .admin-heading { display: block; }
  .mail-status { margin-top: 14px; }
  .inquiry-heading { display: block; }
  .inquiry-heading time { display: block; margin-top: 8px; }
  .inquiry-grid, .price-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
