/*
═══════════════════════════════════════════════════════════════════
ALL AMERICAN ROOF PROS — v2 (rebuilt)  ·  Concept: "RIDGE BRIEF"
═══════════════════════════════════════════════════════════════════

v1 (approved): Ridge & HEART — navy split-hero, Barlow Condensed, conversion ATF
v2 (this): RIDGE BRIEF — editorial field brief for the same brand

Why rebuild: Work Order kraft/ticket UI underperformed on look, copy density,
and customer journey. v2 must match v1 quality while staying visually distinct.

Brand personality: honest family HEART, veteran-owned, real crews
Primary persona: Homeowner who needs a trustworthy local exterior crew
Journey: Trust in 5s → proof strip → services → faces → social proof → media → call
Primary conversion: Call 419.989.4480
Secondary: Free estimate form · Instant Roofr estimate
Metaphor: Field brief / owner’s report — calm authority, not shop gimmick
Layout DNA: Cream canvas · photo-first stack hero (copy above image, not split)
  · service photo cards · family strip · full quote · video · bottom dock CTA
Opening: NOT split navy hero; NOT kraft ticket. Stacked brief on cream with
  large job photo under the headline (subject-safe, no text over roof faces).
Type: Plus Jakarta Sans (geometric → logo wordmark DNA without v1 condensed caps)
Palette: Cream #f7f4ee · Navy #0a2a6b · Red #e10600 · Ink #141820 (brand-true)
Signature: Red “HEART” rule under kickers + floating bottom estimate dock on mobile
Non-goals: No kraft gimmick; no WO jargon; no thin service stubs; no slogan-as-only-H1
Swap-test: If v1 structure pasted here it would feel like a different product.

Facts only from live + v1. Logo left-aligned, transparent, no invert.
═══════════════════════════════════════════════════════════════════
*/

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --navy: #0a2a6b;
  --navy-ink: #061530;
  --red: #e10600;
  --red-deep: #b50400;
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --ink: #141820;
  --mute: #5a6270;
  --line: rgba(10, 42, 107, 0.12);
  --shadow: 0 16px 48px rgba(6, 21, 48, 0.1);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 72rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 700;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

/* Type */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.65rem;
}
.kicker::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: var(--red);
  flex-shrink: 0;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.65rem;
  color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 5.5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--mute);
  max-width: 38rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.fine { font-size: 0.92rem; color: var(--mute); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
a.btn--red,
.btn--red {
  background: var(--red);
  color: #fff !important;
  border-color: var(--red);
}
a.btn--red:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff !important;
}
a.btn--navy,
.btn--navy {
  background: var(--navy);
  color: #fff !important;
  border-color: var(--navy);
}
a.btn--navy:hover {
  background: var(--navy-ink);
  color: #fff !important;
}
a.btn--ghost,
.btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}
a.btn--ghost:hover {
  border-color: #fff;
  color: #fff !important;
}
a.btn--line,
.btn--line {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--line);
}
a.btn--line:hover {
  border-color: var(--navy);
  color: var(--navy) !important;
}
.actions,
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.prose a.btn--red,
.prose a.btn--navy { color: #fff !important; }

/* Chrome */
.util {
  background: var(--navy-ink);
  color: #a8b6cf;
  font-size: 0.84rem;
  font-weight: 600;
}
.util .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
}
.util a { color: #fff; text-decoration: none; }
.util a:hover { color: #ffc9c5; }
.util-social { display: none; gap: 0.65rem; }
.util-social a { color: #9eb0cc; font-size: 0.8rem; }
@media (min-width: 720px) {
  .util-social { display: flex; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(6, 21, 48, 0.08); }
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.logo img {
  width: clamp(120px, 28vw, 160px);
  height: auto;
}
.nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  font-weight: 700;
  font-size: 0.88rem;
}
.nav > a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0.55rem;
}
.nav > a:hover,
.nav a.is-active { color: var(--red); }
.nav .cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  margin-left: 0.35rem;
  border-radius: 4px;
}
.nav .cta:hover { background: var(--red-deep); color: #fff !important; }
.menu-btn {
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
}
.nav-mobile {
  display: none !important;
  flex-direction: column;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex !important; }
.nav-mobile a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
@media (min-width: 1020px) {
  .nav { display: flex; }
  .menu-btn { display: none !important; }
  .nav-mobile,
  .nav-mobile.is-open { display: none !important; }
}

/* ─── Home: stacked brief hero (distinct from v1 split) ─── */
.brief-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 0;
}
.brief-hero__intro {
  width: min(100% - 2rem, 42rem);
  margin: 0 auto 1.5rem;
  text-align: center;
}
.brief-hero__intro .kicker {
  justify-content: center;
}
.brief-hero__intro h1 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.brief-hero__intro .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.brief-hero__actions {
  justify-content: center;
  margin-bottom: 0.75rem;
}
.brief-hero__secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.brief-hero__secondary a {
  color: var(--navy);
  text-decoration: none;
}
.brief-hero__secondary a:hover { color: var(--red); }
.brief-hero__media {
  position: relative;
  width: min(100% - 2rem, var(--wrap));
  margin: 0 auto;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.brief-hero__media img {
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  object-fit: cover;
  object-position: center 35%;
  aspect-ratio: 21 / 10;
}
.brief-hero__cap {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(6, 21, 48, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: 3px;
}

.rail {
  background: var(--navy-ink);
  color: #fff;
  border-bottom: 4px solid var(--red);
}
.rail__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 800px) {
  .rail__inner { grid-template-columns: repeat(4, 1fr); }
}
.rail article {
  padding: 1.15rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.rail article:last-child { border-right: 0; }
@media (max-width: 799px) {
  .rail article:nth-child(2n) { border-right: 0; }
  .rail article:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}
.rail strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.rail span {
  font-size: 0.82rem;
  color: #a8b6cf;
  font-weight: 600;
}

/* Sections */
.block {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}
.block--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.sec-h {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}
.sec-h p {
  margin: 0.35rem 0 0;
  color: var(--mute);
  font-size: 1.05rem;
}

/* Service cards — photo-forward grid */
.svc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
}
.svc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(6, 21, 48, 0.04);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.svc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.svc img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.svc__body {
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
}
.svc__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.svc:hover .svc__body h3 { color: var(--red); }
.svc__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mute);
  line-height: 1.45;
}

/* Family */
.family {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 880px) {
  .family {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
}
.family__faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.family__faces img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 4px;
}

/* Quote */
.quote-band {
  background: var(--navy-ink);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  text-align: center;
}
.quote-band blockquote {
  margin: 0 auto 1rem;
  max-width: 40rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.quote-band footer {
  font-size: 0.9rem;
  color: #a8b6cf;
  font-weight: 600;
}

/* Videos */
.video-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.video-card .ratio {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #000;
}
.video-card h3 {
  padding: 0.9rem 1rem 1rem;
  font-size: 1rem;
  margin: 0;
}

/* Page intro */
.page-hero {
  background: var(--navy-ink);
  color: #e6edf8;
  padding: 2.5rem 0 2.25rem;
  border-bottom: 4px solid var(--red);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0.4rem 0 0.65rem;
}
.page-hero p {
  margin: 0;
  color: #aebcd4;
  max-width: 38rem;
}
.page-hero .kicker { color: #ff9a92; }
.page-hero .kicker::before { background: #ff9a92; }

/* Content interiors */
.prose {
  max-width: 42rem;
}
.prose p {
  margin: 0 0 1rem;
  color: var(--mute);
}
.prose h2 {
  margin-top: 1.75rem;
  color: var(--ink);
}
.prose ul {
  color: var(--mute);
  padding-left: 1.2rem;
}
.split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 2.25rem; }
}
.media-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Forms */
.form {
  display: grid;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow);
}
.form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.form input,
.form textarea,
.form select {
  font: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
}
.form textarea { min-height: 7.5rem; resize: vertical; }
.form-row {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-success {
  display: none;
  padding: 0.9rem;
  background: rgba(10, 42, 107, 0.08);
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  border-radius: 4px;
}
.form-success.is-visible { display: block; }
.form.is-sent .form-fields { display: none; }

/* Team grid */
.crew-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.crew-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.crew-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
}
.crew-card__body { padding: 0.75rem 0.85rem 0.95rem; }
.crew-card__role {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.2rem;
}
.crew-card h3 {
  font-size: 1rem;
  margin: 0;
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 1.15rem 1.1rem 1.2rem;
}
.review-card blockquote {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.review-card cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
}

/* Footer */
.site-footer {
  background: var(--navy-ink);
  color: #a8b6cf;
  padding: 2.75rem 0 1.5rem;
  font-size: 0.95rem;
}
.site-footer a {
  color: #e6edf8;
  text-decoration: none;
}
.site-footer a:hover { color: #fff; }
.foot {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 800px) {
  .foot { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.82rem;
}

/* Sticky */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(6, 21, 48, 0.96);
  border-top: 3px solid var(--red);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; min-height: 2.75rem; }
@media (min-width: 1020px) {
  .sticky-cta { display: none; }
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
