/* ==========================================================================
   Neal's Property Solutions — industrial / blueprint aesthetic
   ========================================================================== */

:root {
  --ink:        #14120f;
  --charcoal:   #1c1a17;
  --charcoal-2: #221f1b;
  --steel:      #2c2823;
  --steel-line: #3c362f;
  --paper:      #f2ede2;
  --paper-dim:  #cfc7b6;
  --paper-faint:#8f8878;
  --orange:     #ff5a1f;
  --orange-2:   #ff7a3d;
  --blue:       #6fb3c4;
  --blue-dim:   #4a7a86;

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body:    "IBM Plex Sans", sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;

  --wrap: 1180px;
  --edge: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--edge);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  top: -50px; left: 12px;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  z-index: 999;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Type scale helpers
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
  color: var(--paper);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin: 0 0 18px;
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: .98;
  margin-bottom: 18px;
}
.section-sub {
  color: var(--paper-dim);
  max-width: 56ch;
  font-size: 1.02rem;
}
.muted { color: var(--paper-faint); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}
.btn-primary:hover { background: var(--orange-2); }

.btn-ghost {
  border-color: var(--steel-line);
  color: var(--paper);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-2); }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--charcoal-2); }

.btn-outline-dark {
  border-color: rgba(20,18,15,.55);
  color: var(--ink);
}
.btn-outline-dark:hover { background: rgba(20,18,15,.1); }

.btn-block { width: 100%; justify-content: center; margin-top: 6px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 26, 23, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel-line);
  transition: padding .25s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.site-header.scrolled .header-inner { padding-block: 10px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}
.brand-mark {
  display: inline-block;
  width: 36px; height: 36px;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), color .25s ease;
}
.brand:hover .brand-mark { transform: translateY(-2px); color: var(--orange-2); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-line1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .01em;
}
.brand-line2 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--paper-faint);
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--steel-line);
}

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--paper-dim);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: right .2s ease;
}
.main-nav a:hover { color: var(--paper); }
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--paper); }

.header-cta { display: flex; align-items: center; gap: 16px; }

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--steel-line);
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: border-color .18s ease, color .18s ease;
}
.phone-pill:hover { border-color: var(--orange); color: var(--orange-2); }
.phone-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6fce8a;
  box-shadow: 0 0 0 3px rgba(111,206,138,.18);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  height: 2px;
  background: var(--paper);
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px var(--edge) 50px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12vw;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--steel-line);
  padding: 10px 0;
}
.mobile-menu a:active { color: var(--orange); }
.mobile-call {
  font-family: var(--font-mono);
  color: var(--orange-2);
  font-size: 18px;
  letter-spacing: .04em;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(70px, 12vw, 130px);
  padding-bottom: 90px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--steel-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
  opacity: .45;
}
.hero-inner { position: relative; }

.stamp {
  position: absolute;
  top: 40px; right: var(--edge);
  width: 118px; height: 118px;
  color: var(--blue-dim);
  opacity: .8;
}
.stamp text { font-family: var(--font-mono); }
.stamp-ring {
  transform-origin: 70px 70px;
  animation: spin 34s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-title {
  font-size: clamp(3rem, 9.5vw, 7.4rem);
  line-height: .92;
  max-width: 14ch;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--orange); }

.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.12rem;
  color: var(--paper-dim);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hazard-strip {
  height: 14px;
  margin-top: 70px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange), var(--orange) 16px,
    var(--ink) 16px, var(--ink) 32px
  );
}
.hazard-strip-dark {
  background: repeating-linear-gradient(
    -45deg,
    var(--ink), var(--ink) 16px,
    var(--orange) 16px, var(--orange) 32px
  );
  margin-top: 0;
}

/* ==========================================================================
   Stats bar
   ========================================================================== */

.stats-bar {
  background: var(--charcoal-2);
  border-bottom: 1px solid var(--steel-line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 24px;
  border-right: 1px solid var(--steel-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: var(--orange-2);
  line-height: 1;
}
.stat-num small { font-size: .5em; color: var(--blue); margin-left: 2px; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

/* ==========================================================================
   Sections generic
   ========================================================================== */

.section { padding-block: clamp(70px, 9vw, 120px); }
.section-head { margin-bottom: 54px; max-width: 70ch; }

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--steel-line);
  border-left: 1px solid var(--steel-line);
}
.service-card {
  border-right: 1px solid var(--steel-line);
  border-bottom: 1px solid var(--steel-line);
  padding: 30px 26px 34px;
  position: relative;
  transition: background .2s ease;
}
.service-card:hover { background: var(--charcoal-2); }
.service-card-featured {
  background: var(--charcoal-2);
  box-shadow: inset 3px 0 0 var(--orange);
}
.service-card-featured .service-num { color: var(--orange-2); }
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
}
.service-icon { width: 30px; height: 30px; color: var(--orange-2); }
.service-card h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.service-card p {
  color: var(--paper-dim);
  font-size: .93rem;
  margin: 0;
}

/* ==========================================================================
   Process
   ========================================================================== */

.section-process { background: var(--charcoal-2); }
.process-line {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.process-step {
  position: relative;
  padding: 0 26px 0 0;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(100% - 13px);
  width: calc(100% - 26px);
  border-top: 2px dashed var(--steel-line);
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--orange);
  color: var(--orange-2);
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 22px;
  background: var(--charcoal-2);
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: 0; }
.process-step p { color: var(--paper-dim); font-size: .92rem; max-width: 30ch; }

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.3fr;
  gap: 60px;
  align-items: center;
}
.about-figure {
  border: 1px solid var(--steel-line);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}
.about-figure::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
}
.about-figure::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 16px; height: 16px;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
}
.about-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: .85;
  color: var(--orange);
}
.about-num-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--paper-faint);
}
.about-copy p { color: var(--paper-dim); font-size: 1.02rem; max-width: 60ch; }

.checklist {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  padding-left: 28px;
  position: relative;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--paper-dim);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 15px; height: 15px;
  border: 1px solid var(--blue-dim);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 4px; top: 6px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: var(--charcoal-2);
  border: 1px solid var(--steel-line);
  padding: 28px 26px;
  margin: 0;
}
.review-card:nth-child(2) { transform: translateY(14px); }
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.review-stars { color: var(--orange-2); letter-spacing: 2px; font-size: 13px; }
.review-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--paper-faint);
  border: 1px solid var(--steel-line);
  padding: 3px 7px;
}
.review-card blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--paper);
}
.review-card figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-faint);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: var(--orange);
  color: var(--ink);
  padding-top: clamp(60px, 8vw, 90px);
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: clamp(60px, 8vw, 90px);
}
.cta-inner h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.02;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}
.contact-list {
  margin: 34px 0 0;
  display: grid;
  gap: 22px;
}
.contact-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 4px;
}
.contact-list dd {
  margin: 0;
  font-size: 1.05rem;
}
.contact-list a:hover { color: var(--orange-2); }

.quote-form {
  background: var(--charcoal-2);
  border: 1px solid var(--steel-line);
  padding: 34px;
  position: relative;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-row-split > div { display: flex; flex-direction: column; gap: 8px; }

label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
label span[aria-hidden] { color: var(--orange-2); }

input, select, textarea {
  background: var(--ink);
  border: 1px solid var(--steel-line);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
}
textarea { resize: vertical; min-height: 90px; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper-dim);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 22px;
  cursor: pointer;
}
.checkbox-row input { width: 16px; height: 16px; flex-shrink: 0; }

.form-success {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--blue-dim);
  color: var(--blue);
  background: rgba(111,179,196,.06);
  animation: fadeUp .4s ease both;
}
.form-success p { margin: 0; color: var(--paper-dim); font-size: .92rem; }
.form-success strong { color: var(--paper); }

.form-error {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--orange);
  color: var(--orange-2);
  background: rgba(255,90,31,.06);
  animation: fadeUp .4s ease both;
}
.form-error p { margin: 0; color: var(--paper-dim); font-size: .92rem; }
.form-error strong { color: var(--paper); }
.form-error a { color: var(--orange-2); text-decoration: underline; }

.form-success[hidden], .form-error[hidden] { display: none; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.shake { animation: shake .3s ease; }
@keyframes shake {
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--steel-line);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .brand-mark { color: var(--orange); width: 44px; height: 44px; margin-bottom: 16px; }
.footer-brand p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .01em;
  margin: 0 0 10px;
}
.footer-tag {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 13.5px !important;
  color: var(--paper-faint);
  max-width: 30ch;
  text-transform: none;
  letter-spacing: 0 !important;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--paper-faint);
  margin-bottom: 6px;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: var(--paper-dim);
}
.footer-col a:hover { color: var(--orange-2); }

.footer-bottom {
  border-top: 1px solid var(--steel-line);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--paper-faint);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .phone-pill span.phone-mono { display: none; }
  .phone-pill { padding: 9px 10px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--steel-line); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .process-line { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-step:nth-child(2)::after { display: none; }
  .process-step:not(:last-child)::after { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure { flex-direction: row; align-items: baseline; gap: 18px; width: fit-content; }

  .reviews-grid { grid-template-columns: 1fr; }
  .review-card:nth-child(2) { transform: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .stamp { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-line { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
