/* Hallmark · macrostructure: Marquee Hero · tone: direct · anchor hue: Texla gold
     * User guide: Texla Turf · enrichment: pointer light · nav: N1a · footer: Ft2
     * Pre-emit critique: P5 H5 E4 S5 R5 V4 */
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
    body { margin: 0; color: var(--color-ink); background: var(--color-paper); font-family: var(--font-body); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
    a { color: inherit; text-underline-offset: 4px; }
    img { display: block; max-width: 100%; height: auto; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 { font-family: var(--font-display); font-weight: 700; font-style: normal; line-height: 1.08; overflow-wrap: anywhere; min-width: 0; }
    h1 { margin-bottom: var(--space-md); font-size: var(--text-display); letter-spacing: -.02em; }
    h2 { margin-bottom: var(--space-md); font-size: var(--text-heading); }
    h3 { margin-bottom: var(--space-xs); font-size: 1.75rem; }
    p { max-width: 65ch; }
    .wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
    section { padding-block: var(--space-2xl); }
    .site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--color-rule); color: var(--color-ink); background: var(--color-paper); }
    .nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
    .brand { flex: 0 1 160px; }
    .brand img { width: 160px; }
    .nav-links { display: flex; align-items: center; gap: var(--space-lg); }
    .nav-links a { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
    .nav-links a:not(.button) { display: none; text-decoration: none; padding-block: var(--space-xs); }
    .button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--color-accent); border-radius: 0; color: var(--color-accent-ink); background: var(--color-accent); font: 700 var(--text-sm)/1.4 var(--font-body); cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform var(--dur-short) var(--ease-out); }
    .nav-links .button { min-height: 44px; padding: 10px 12px; font-size: .8125rem; }
    .button-outline { border-color: var(--color-dark-rule); background: var(--color-dark); color: var(--color-paper); }
    .button:active { transform: translateY(1px); }
    .button:disabled { cursor: not-allowed; opacity: .55; }
    :focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
    .button:focus-visible { box-shadow: 0 0 0 2px var(--color-ink); }
    .button-outline:focus-visible { box-shadow: 0 0 0 2px var(--color-paper); }
    .hero { position: relative; isolation: isolate; overflow: clip; background: var(--color-dark); color: var(--color-paper); padding-block: var(--space-2xl); }
    .hero-light { position: absolute; z-index: -1; top: 0; left: 0; width: 560px; height: 560px; pointer-events: none; background: radial-gradient(circle, var(--color-spotlight), var(--color-clear) 68%); transform: translate3d(550px, -180px, 0); transition: opacity var(--dur-enter) var(--ease-out); }
    .hero-content { max-width: 940px; }
    .service-area { margin-bottom: var(--space-md); color: var(--color-accent); font-size: var(--text-sm); font-weight: 600; }
    .hero h1 { text-transform: uppercase; }
    .hero-line { display: block; }
    .hero-line.accent { color: var(--color-accent); }
    .hero-word { display: inline-block; }
    .hero-copy { max-width: 660px; margin-bottom: var(--space-lg); font-size: var(--text-lg); color: var(--color-on-dark); }
    .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
    .hero-markers { margin: var(--space-lg) 0 0; color: var(--color-on-dark); font-size: var(--text-sm); }
    .capabilities-head { margin-bottom: var(--space-lg); }
    .capabilities-head p { margin-bottom: 0; color: var(--color-muted); }
    .capability { position: relative; border-top: 1px solid var(--color-rule); padding-block: var(--space-md); }
    .capability::before { position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-enter) var(--ease-out); content: ""; }
    .capability:focus-within::before { transform: scaleX(1); }
    .capability:last-child { border-bottom: 1px solid var(--color-rule); }
    .capability p { margin-bottom: var(--space-sm); color: var(--color-muted); }
    .service-link { display: inline-flex; gap: var(--space-xs); min-height: 44px; align-items: center; color: var(--color-accent-text); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }
    .link-arrow { display: inline-block; transition: transform var(--dur-short) var(--ease-out); }
    .service-link:focus-visible .link-arrow { transform: translateX(4px); }
    .about { background: var(--color-paper-2); color: var(--color-ink); }
    .about-copy { margin-bottom: 0; color: var(--color-ink-2); }
    .contact-panel { display: grid; gap: var(--space-lg); }
    .contact-intro { color: var(--color-muted); }
    .direct-contact { display: grid; justify-items: start; gap: var(--space-xs); }
    .direct-contact a { display: inline-flex; min-height: 44px; align-items: center; font-size: var(--text-lg); font-weight: 600; white-space: nowrap; }
    .contact-form { min-width: 0; }
    .form-grid { display: grid; gap: var(--space-sm); }
    .field { display: grid; gap: var(--space-xs); min-width: 0; }
    label { font-size: var(--text-sm); font-weight: 600; }
    .optional { color: var(--color-muted); font-weight: 400; }
    input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid var(--color-rule); border-radius: 0; color: var(--color-ink); background: var(--color-paper); font: inherit; }
    textarea { min-height: 112px; resize: vertical; }
    input::placeholder, textarea::placeholder { color: var(--color-muted); opacity: 1; }
    input:focus, select:focus, textarea:focus { border-color: var(--color-ink); }
    input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; }
    .field-help, .form-note { margin: 0; color: var(--color-muted); font-size: var(--text-sm); }
    .form-foot { margin-top: var(--space-md); display: grid; justify-items: start; gap: var(--space-sm); }
    .form-status { margin: var(--space-sm) 0 0; color: var(--color-success); font-size: var(--text-sm); }
    .form-status.error { color: var(--color-error); }
    .email-draft { display: inline-flex; min-height: 44px; align-items: center; margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 600; }
    [hidden] { display: none !important; }
    .motion-ready [data-enter] { animation: enter var(--dur-enter) var(--ease-out) both; animation-delay: var(--enter-delay, 0ms); }
    @keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
    .hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: clip; opacity: 0; pointer-events: none; }
    footer { padding-block: var(--space-lg); background: var(--color-dark); color: var(--color-on-dark); }
    .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); font-size: var(--text-sm); }
    .footer-brand { display: block; color: var(--color-paper); font-weight: 700; }
    .footer-inner p { margin: 0; }
    @media (hover: hover) {
      .button:hover { color: var(--color-accent-ink); background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
      .button-outline:hover { color: var(--color-dark); background: var(--color-paper); border-color: var(--color-paper); }
      .nav-links a:not(.button):hover, .service-link:hover { text-decoration: underline; }
      .service-link:hover .link-arrow { transform: translateX(4px); }
      .capability:hover::before { transform: scaleX(1); }
      .capability:hover { background: var(--color-service-hover); color: var(--color-ink); }
      input:hover, select:hover, textarea:hover { background: var(--color-paper-2); color: var(--color-ink); }
    }
    @media (min-width: 40rem) {
      .wrap { width: min(var(--max), calc(100% - 64px)); }
      .brand { flex-basis: 230px; }
      .brand img { width: 230px; }
      .nav { min-height: 88px; }
      .nav-links .button { padding-inline: 20px; font-size: var(--text-sm); }
      .hero { padding-block: var(--space-3xl); }
      .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .field-wide { grid-column: 1 / -1; }
      .motion-ready .capability[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out); }
      .motion-ready .capability[data-reveal].is-visible { opacity: 1; transform: none; }
    }
    @media (min-width: 60rem) {
      .nav-links a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; }
      .capability { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr) auto; align-items: center; gap: var(--space-lg); }
      .capability h3, .capability p { margin-bottom: 0; }
      .about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-2xl); align-items: start; }
      .about h2 { margin-bottom: 0; }
      .contact-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-2xl); }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .button { transition: none; }
      .button:active { transform: none; }
      .hero-light { display: none; }
      .motion-ready [data-enter] { animation: none; }
      .motion-ready .capability[data-reveal] { opacity: 1; transform: none; transition: none; }
      .capability::before, .link-arrow { transition: none; }
    }

    .capability h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
    .capability h3 a:hover { color: var(--color-accent-text); text-decoration: underline; }
    .local-section, .faq-section { padding-block: var(--space-xl); }
    .local-grid { display: grid; gap: var(--space-lg); }
    .local-grid p, .service-copy p, .service-copy li { color: var(--color-muted); }
    .area-towns { display: grid; gap: var(--space-sm); }
    .area-towns p { margin-bottom: 0; }
    .area-towns h3 { font-size: 1.375rem; }
    .faq-wrap { max-width: 840px; }
    details { border-top: 1px solid var(--color-rule); padding-block: var(--space-sm); }
    details:last-child { border-bottom: 1px solid var(--color-rule); }
    summary { min-height: 44px; cursor: pointer; padding-block: 10px; font-weight: 600; }
    details p { margin: var(--space-sm) 0 0; color: var(--color-muted); }
    .footer-services { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
    .footer-services a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
    .mobile-actions { position: fixed; z-index: 25; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-rule); background: var(--color-paper); color: var(--color-ink); }
    .mobile-actions .button { padding-inline: 12px; }
    body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
    body:has(.contact-form :focus) .mobile-actions { display: none; }
    .breadcrumb { margin: 0 0 var(--space-md); font-size: var(--text-sm); color: var(--color-on-dark); }
    .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
    .service-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4rem); }
    .service-copy { max-width: 840px; }
    .service-copy h2:not(:first-child) { margin-top: var(--space-xl); }
    .service-copy li { margin-block: var(--space-xs); }
    .service-copy ul { padding-left: var(--space-md); }
    .related-services { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-lg); }
    .related-services a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; white-space: nowrap; }
    @media (min-width: 40rem) {
      .mobile-actions { display: none; }
      body { padding-bottom: 0; }
      .local-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-xl); }
    }
