/* American Siding & Window Co. — v2, built on the business card brand:
   charcoal black, ice blue, squared Eurostile-style type */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --ink: oklch(0.205 0.008 270);        /* card charcoal */
  --ink-2: oklch(0.245 0.01 270);       /* lifted panel */
  --ink-3: oklch(0.30 0.012 270);       /* borders on dark */
  --blue: oklch(0.82 0.07 230);         /* card ice blue */
  --blue-deep: oklch(0.62 0.10 235);    /* stronger blue for buttons */
  --blue-deeper: oklch(0.54 0.10 238);
  --paper: oklch(0.97 0.004 240);       /* light section bg */
  --white: oklch(0.995 0 0);
  --line: oklch(0.89 0.008 240);
  --body-ink: oklch(0.32 0.01 262);
  --muted: oklch(0.50 0.015 262);
  --muted-on-dark: oklch(0.74 0.015 250);
  --maxw: 1180px;
  --h: 'Rajdhani', 'Bahnschrift', 'Arial Narrow', sans-serif;
  --b: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--b);
  background: var(--paper);
  color: var(--body-ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--h); text-wrap: balance; }
a { color: inherit; }
img { display: block; }

/* ---------- top utility bar ---------- */
.topbar { background: oklch(0.16 0.006 270); color: var(--muted-on-dark); font-size: 14px; }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px;
}
.topbar .tb-left { display: flex; align-items: center; gap: 10px; }
.topbar .dot { color: var(--blue); }
.topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--blue); }

/* ---------- header ---------- */
header.site {
  background: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 82px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand svg { width: 44px; height: 48px; flex: none; }
.brand-name { line-height: 1.1; }
.brand-name .bn-top {
  display: block; white-space: nowrap;
  font-family: var(--h); font-weight: 700; font-size: 22px; letter-spacing: 0.04em;
  color: #fff; text-transform: uppercase;
}
.brand-name .bn-sub {
  display: block; white-space: nowrap;
  font-family: var(--h); font-size: 13.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue);
}
nav.main { display: flex; align-items: center; gap: 30px; }
nav.main .nav-links { display: flex; gap: 28px; }
nav.main .nav-links a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: oklch(0.85 0.01 250);
  padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
nav.main .nav-links a:hover { color: var(--blue); border-bottom-color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--blue-deep); color: oklch(0.13 0.01 262);
  font-family: var(--h); font-weight: 700; font-size: 17px; letter-spacing: 0.06em;
  padding: 13px 28px; border: none; cursor: pointer;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--blue); }
.btn:active { transform: translateY(1px); }
.btn.btn-outline {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 2px oklch(1 0 0 / 0.6);
}
.btn.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }
.btn.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-img {
  position: absolute; inset: 0;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(94deg,
    oklch(0.18 0.008 270 / var(--scrim, 0.94)) 0%,
    oklch(0.18 0.008 270 / calc(var(--scrim, 0.94) - 0.10)) 44%,
    oklch(0.18 0.008 270 / 0.30) 78%,
    oklch(0.18 0.008 270 / 0.12) 100%);
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 660px) 1fr; gap: 64px; align-items: center;
  padding-top: 120px; padding-bottom: 124px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--h); font-size: 15px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--blue); }
.hero h1 {
  font-weight: 700; font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.0; letter-spacing: 0.01em; margin-bottom: 20px;
  text-transform: uppercase; color: #fff;
}
.hero h1 .accent { color: var(--blue); }
.hero .sub {
  font-size: 19px; line-height: 1.6; color: oklch(0.88 0.01 250);
  max-width: 52ch; margin-bottom: 26px; text-wrap: pretty;
}
.hero-points { list-style: none; display: grid; gap: 11px; margin-bottom: 34px; }
.hero-points li { display: flex; gap: 12px; align-items: baseline; font-size: 16.5px; font-weight: 500; }
.hero-points li::before { content: "▸"; color: var(--blue); font-weight: 900; }
.hero-call { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-call .or { font-size: 14px; color: var(--muted-on-dark); font-weight: 600; }
a.big-phone {
  font-family: var(--h); color: #fff; font-weight: 700; font-size: 27px;
  text-decoration: none; letter-spacing: 0.04em; white-space: nowrap;
}
a.big-phone:hover { color: var(--blue); }
.call-label {
  display: block; font-family: var(--h); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-on-dark);
}

/* ---------- estimate section ---------- */
.estimate-sec { border-top: 1px solid var(--ink-3); }
.estimate-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
.estimate-contact { display: grid; gap: 22px; margin-top: 36px; }
.estimate-contact > div { min-width: 0; }
.big-mail {
  display: inline-block; max-width: 100%;
  font-family: var(--h); color: #fff; font-weight: 700; font-size: 22px;
  text-decoration: none; letter-spacing: 0.03em;
  overflow-wrap: anywhere; word-break: break-word;
}
.big-mail:hover { color: var(--blue); }

.estimate-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-top: 3px solid var(--blue);
  color: #fff;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
  padding: 36px 36px 32px;
}
.estimate-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.estimate-card .span2 { grid-column: 1 / -1; }
.field label {
  display: block; font-family: var(--h); font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  padding: 12px 14px; border: 1px solid var(--ink-3); background: oklch(0.17 0.007 270);
  border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: oklch(0.52 0.01 262); }
.field select { color: #fff; }
.field select option { color: var(--body-ink); background: #fff; }
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue);
}
.field .err { display: none; font-size: 13px; color: oklch(0.78 0.13 25); margin-top: 5px; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: oklch(0.6 0.18 25); }
.field.invalid .err { display: block; }
.form-fineprint { font-size: 12.5px; color: var(--muted-on-dark); text-align: center; margin-top: 2px; }

.form-success { text-align: center; padding: 36px 8px; display: none; }
.form-success .fs-mark { color: var(--blue); font-size: 34px; margin-bottom: 12px; }
.form-success h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 10px; }
.form-success p { color: var(--muted-on-dark); font-size: 15.5px; }
.form-success a { color: var(--blue); font-weight: 700; text-decoration: none; }
.estimate-card.submitted form { display: none; }
.estimate-card.submitted .form-success { display: block; }

/* ---------- trust strip ---------- */
.trust { background: var(--ink); border-top: 1px solid var(--ink-3); color: #fff; }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 26px; padding-bottom: 26px; gap: 18px;
}
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item .t-num {
  font-family: var(--h); font-weight: 700; font-size: 34px; color: var(--blue);
  line-height: 1; flex: none; min-width: 58px; text-align: center;
}
.trust-item .t-label { font-size: 13.5px; line-height: 1.35; color: var(--muted-on-dark); }
.trust-item .t-label strong {
  display: block; color: #fff; font-family: var(--h); font-weight: 600;
  font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- sections ---------- */
section.block { padding: 92px 0; }
section.block.dark { background: var(--ink); color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head .kicker {
  font-family: var(--h); font-size: 15px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue-deep); margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}
.sec-head .kicker::after { content: ""; height: 2px; width: 40px; background: var(--blue-deep); }
section.dark .sec-head .kicker, .showcase .sec-head .kicker { color: var(--blue); }
section.dark .sec-head .kicker::after, .showcase .sec-head .kicker::after { background: var(--blue); }
.sec-head h2 {
  font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1.05; margin-bottom: 14px; color: oklch(0.23 0.01 262);
}
section.dark .sec-head h2, .showcase .sec-head h2 { color: #fff; }
.sec-head p { color: var(--muted); font-size: 17.5px; text-wrap: pretty; }
section.dark .sec-head p, .showcase .sec-head p { color: var(--muted-on-dark); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-photo.ph {
  background:
    repeating-linear-gradient(45deg, oklch(0.93 0.008 240) 0 14px, oklch(0.90 0.012 240) 14px 28px);
  display: grid; place-items: center;
}
.svc-photo.ph::after {
  content: attr(data-label);
  font-family: var(--h); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: oklch(0.48 0.02 262);
  background: oklch(0.99 0 0 / 0.85); padding: 7px 13px;
  border: 1px dashed oklch(0.68 0.02 262); text-align: center; max-width: 80%;
}
.svc-card {
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow 0.18s ease, translate 0.18s ease;
}
.svc-card:hover { box-shadow: 0 18px 44px rgb(10 15 30 / 0.14); translate: 0 -4px; }
.svc-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.4s ease; }
.svc-card:hover .svc-photo img { scale: 1.04; }
.svc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.svc-body h3 {
  font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: oklch(0.23 0.01 262);
}
.svc-body p { font-size: 15.5px; color: var(--muted); flex: 1; }
.svc-link {
  font-family: var(--h); font-weight: 700; font-size: 15px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue-deeper); text-decoration: none; margin-top: 4px;
}
.svc-link:hover { text-decoration: underline; }

/* ---------- showcase (big pretty image) ---------- */
.showcase { background: var(--ink); color: #fff; padding: 92px 0; }
.showcase .shot {
  border: 1px solid var(--ink-3);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
}
.showcase .shot img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.showcase .shot-caption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  margin-top: 18px; flex-wrap: wrap;
}
.showcase .shot-caption .c-main { font-family: var(--h); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.showcase .shot-caption .c-sub { font-size: 14.5px; color: var(--muted-on-dark); }

/* ---------- about Dean ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgb(10 15 30 / 0.18);
}
.about-photo .ap-tag {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-left: 3px solid var(--blue);
}
.about-photo .ap-tag .t1 { font-family: var(--h); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.about-photo .ap-tag .t2 { font-size: 13px; color: var(--blue); }
.about-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; text-transform: uppercase;
  line-height: 1.05; letter-spacing: 0.02em; margin-bottom: 18px; color: oklch(0.23 0.01 262);
}
.about-copy > p { color: var(--muted); margin-bottom: 16px; text-wrap: pretty; }
.about-copy > p strong { color: oklch(0.23 0.01 262); }

/* digital business card */
.biz-card {
  margin-top: 28px; max-width: 460px;
  background: var(--ink); color: #fff;
  padding: 24px 26px;
  display: flex; gap: 20px; align-items: center;
  box-shadow: 0 16px 40px rgb(10 15 30 / 0.25);
}
.biz-card svg { width: 56px; height: 62px; flex: none; }
.biz-card .bc-name { font-family: var(--h); font-weight: 700; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2; }
.biz-card .bc-role { font-family: var(--h); color: var(--blue); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; margin-bottom: 6px; }
.biz-card .bc-line { font-size: 14px; color: var(--muted-on-dark); }
.biz-card .bc-line a { color: #fff; text-decoration: none; font-weight: 600; }
.biz-card .bc-line a:hover { color: var(--blue); }

/* ---------- service area ---------- */
.area-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; list-style: none; margin-top: 24px; }
.area-list li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; font-weight: 600; color: oklch(0.88 0.01 250); }
.area-list li::before { content: "▸"; color: var(--blue); }
.area-note { margin-top: 24px; font-size: 14.5px; color: var(--muted-on-dark); }
#area-photo {
  width: 100%; border: 1px solid var(--ink-3);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.45);
}

/* ---------- final CTA ---------- */
.cta-band { position: relative; color: #fff; padding: 100px 0; text-align: center; overflow: hidden; background: var(--ink); }
.cta-band .cta-bg { position: absolute; inset: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.cta-band .cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: oklch(0.17 0.008 270 / 0.78);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 {
  color: #fff; font-size: clamp(32px, 3.8vw, 52px); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.05; margin-bottom: 12px;
}
.cta-band p { color: oklch(0.87 0.01 250); font-size: 18.5px; margin-bottom: 34px; }
.cta-actions { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer.site {
  background: oklch(0.15 0.006 270); color: var(--muted-on-dark);
  padding: 48px 0 30px; font-size: 14.5px;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.f-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.f-brand-row svg { width: 30px; height: 33px; }
footer.site .f-brand {
  color: #fff; font-family: var(--h); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 17px;
}
footer.site .f-head {
  color: var(--blue); font-family: var(--h); font-weight: 600; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px;
}
footer.site a { color: #fff; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; word-break: break-word; }
footer.site .wrap > div { min-width: 0; }
footer.site a:hover { color: var(--blue); }
footer.site .f-legal {
  width: 100%; border-top: 1px solid var(--ink-3); margin-top: 30px; padding-top: 18px;
  font-size: 13px; color: oklch(0.55 0.01 262);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- mobile sticky call bar ---------- */
.mobile-call {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--blue-deep); color: oklch(0.13 0.01 262);
  text-align: center; padding: 15px; font-family: var(--h); font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none;
  box-shadow: 0 -6px 20px rgb(0 0 0 / 0.35);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  nav.main .nav-links { display: none; }
  nav.main .btn { display: none !important; }
}
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 72px; padding-bottom: 76px; }
  .estimate-grid { grid-template-columns: 1fr; gap: 44px; }
  .estimate-card form { grid-template-columns: 1fr; }
  .estimate-card .span2 { grid-column: auto; }
  .hero-img img { object-position: 70% center; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .area-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 520px; }
  #area-photo { max-width: 560px; justify-self: center; }
  .showcase .shot img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 56px; }
  .mobile-call { display: block; }
  .topbar .tb-right { display: none; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  section.block, .showcase { padding: 64px 0; }
  .estimate-card { padding: 26px 22px 24px; }
  .big-mail { font-size: 18px; }
  .brand-name .bn-top { font-size: 18px; }
  .brand-name .bn-sub { font-size: 11.5px; }
}
