/* ==========================================================================
   CLEVELAND ROOF REPAIR CO — "LAKE EFFECT"
   A storm-report identity for a trade defined by Cleveland weather.
   System: dark slate ground, warning amber, condensed bulletin headlines,
   mono data. Imagery: Higgsfield-generated, Cleveland-specific.
   ========================================================================== */


:root {
  --slate:        #171c21;   /* ground */
  --slate-deep:   #0d1114;
  --slate-mid:    #232b33;
  --steel:        #39434e;
  --fog:          #e8eaec;   /* paper */
  --fog-warm:     #f4f2ee;
  --ink:          #1b2026;
  --body:         #3f4952;
  --amber:        #e0912f;   /* warning accent — the only saturated colour */
  --amber-bright: #f2a844;
  --amber-deep:   #a8661a;
  --alert:        #b8402c;
  --line:         #d5d8da;
  --line-dark:    rgba(232,234,236,.14);

  --f-head: 'Archivo Condensed', 'Helvetica Neue', sans-serif;
  --f-body: 'Source Sans 3', -apple-system, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font: 400 17px/1.68 var(--f-body);
  color: var(--body);
  background: var(--fog-warm);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(74rem, 92vw); margin: 0 auto; }
.block { padding: 5rem 0; }
.block-tight { padding: 3.4rem 0; }
.dark { background: var(--slate); color: #cfd5da; }
.dark h2, .dark h3 { color: var(--fog); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; color: var(--ink); line-height: 1.06; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); text-transform: uppercase; margin-bottom: 1rem; }
h3 { font-size: 1.28rem; }
p { margin-bottom: 1.05rem; }
.lede { font-size: 1.16rem; line-height: 1.62; }

/* mono eyebrow — the bulletin stamp */
.stamp {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--amber-deep); display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1rem;
}
.stamp::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; max-width: 5rem; }
.dark .stamp { color: var(--amber-bright); }

/* ---------- masthead ---------- */
.mast { background: var(--slate-deep); border-bottom: 1px solid var(--line-dark); position: relative; z-index: 20; }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-txt { font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.04; color: var(--fog); text-transform: uppercase; letter-spacing: .01em; }
.brand-txt span { display: block; font-family: var(--f-mono); font-size: .58rem; font-weight: 400; letter-spacing: .2em; color: var(--amber-bright); text-transform: uppercase; margin-top: .18rem; }

.call-mast {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--amber); color: var(--slate-deep);
  font-family: var(--f-head); font-weight: 700; font-size: 1.06rem;
  text-decoration: none; padding: .6rem 1.1rem;
  border: 1px solid var(--amber-bright);
  transition: background .15s;
}
.call-mast:hover { background: var(--amber-bright); }

.nav { background: var(--slate); border-bottom: 1px solid var(--line-dark); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0; }
.nav a {
  display: block; padding: .72rem 1.05rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: #a7b1ba; text-decoration: none; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--fog); background: var(--slate-mid); }
.nav a[aria-current="page"] { color: var(--amber-bright); border-bottom-color: var(--amber); }
.nav-toggle, .nav-latch { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--slate-deep); overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,17,20,.96) 0%, rgba(13,17,20,.88) 38%, rgba(13,17,20,.42) 68%, rgba(13,17,20,.25) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 5.5rem 0 4.6rem; }
.hero-copy { max-width: 40rem; }
.hero h1 { color: var(--fog); }
.hero h1 em { font-style: normal; color: var(--amber-bright); display: block; }
.hero-sub { color: #c3cbd2; font-size: 1.2rem; line-height: 1.6; margin: 1.4rem 0 1.8rem; max-width: 34rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.btn-call {
  display: inline-flex; flex-direction: column; gap: .1rem;
  background: var(--amber); color: var(--slate-deep); text-decoration: none;
  padding: .95rem 1.6rem; border: 1px solid var(--amber-bright);
  box-shadow: 5px 5px 0 rgba(0,0,0,.45);
  transition: transform .12s, box-shadow .12s;
}
.btn-call strong { font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.btn-call span { font-family: var(--f-mono); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.btn-call:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 rgba(0,0,0,.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--fog); text-decoration: none; padding: .95rem 1.2rem;
  border: 1px solid rgba(232,234,236,.3);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-bright); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.hero-facts div { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; color: #9fa9b2; }
.hero-facts b { display: block; font-family: var(--f-head); font-size: 1.5rem; color: var(--amber-bright); letter-spacing: 0; }

/* ---------- alert strip ---------- */
.alert-strip { background: var(--amber-deep); color: #fff6e8; }
.alert-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; padding: .7rem 0; }
.alert-strip .tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; background: rgba(0,0,0,.28); padding: .2rem .55rem; }
.alert-strip p { margin: 0; font-size: .95rem; }

/* ---------- storm ledger ---------- */
.ledger { border: 1px solid var(--line-dark); background: var(--slate-mid); }
.ledger-row { display: grid; grid-template-columns: 8.5rem 1fr 9rem; gap: 1.2rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .date { font-family: var(--f-mono); font-size: .8rem; color: var(--amber-bright); letter-spacing: .04em; }
.ledger-row .event { color: #cfd5da; font-size: .99rem; }
.ledger-row .event b { color: var(--fog); font-weight: 600; }
.ledger-row .metric { font-family: var(--f-mono); font-size: .82rem; color: #97a2ab; text-align: right; }
.ledger-head { background: var(--slate-deep); }
.ledger-head span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #7d8792; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.svc { background: var(--fog-warm); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.svc-no { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; color: var(--amber-deep); }
.svc h3 { margin-bottom: .1rem; }
.svc p { font-size: .97rem; margin: 0; flex: 1; }
.svc a { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); text-decoration: none; border-bottom: 1.5px solid var(--amber); padding-bottom: .12rem; align-self: flex-start; }
.svc a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- split + figure ---------- */
.split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 3rem; align-items: start; }
.split > * { min-width: 0; }
.fig { border: 1px solid var(--line); background: #fff; }
.dark .fig { border-color: var(--line-dark); background: var(--slate-mid); }
.fig img { width: 100%; }
.fig figcaption { font-family: var(--f-mono); font-size: .74rem; line-height: 1.5; letter-spacing: .04em; color: #7a838c; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.dark .fig figcaption { border-color: var(--line-dark); }
.fig figcaption b { color: var(--amber-deep); font-weight: 500; }
.dark .fig figcaption b { color: var(--amber-bright); }

/* ---------- cost table ---------- */
.scroll-x { overflow-x: auto; margin: 1.6rem 0; }
.rates { width: 100%; min-width: 34rem; border-collapse: collapse; font-variant-numeric: tabular-nums; background: #fff; border: 1px solid var(--line); }
.rates caption { caption-side: top; text-align: left; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); padding-bottom: .7rem; }
.rates th, .rates td { padding: .78rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.rates thead th { background: var(--slate); color: var(--fog); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.rates td:last-child, .rates th:last-child { text-align: right; font-family: var(--f-mono); font-size: .93rem; color: var(--ink); }
.rates thead th:last-child { color: var(--fog); font-family: var(--f-mono); font-size: .7rem; }
.rates tbody tr:last-child td { border-bottom: 0; }

/* ---------- callout ---------- */
.callout { border-left: 4px solid var(--alert); background: #fbf3f1; padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.callout b { color: var(--alert); }
.dark .callout { background: rgba(184,64,44,.12); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 1.6rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 0 1.05rem 2rem; position: relative; font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; position: absolute; left: 0; color: var(--amber-deep); font-family: var(--f-mono); }
.faq details[open] summary::before { content: "–"; }
.faq p { padding: 0 0 1.1rem; font-size: 1rem; }

/* ---------- request form ---------- */
.request { background: var(--slate-deep); border: 1px solid var(--line-dark); padding: 1.8rem 1.7rem; }
.request h2 { font-size: 1.5rem; margin-bottom: .4rem; color: var(--fog); }
.request p.small { color: #9fa9b2; font-size: .95rem; }
.field { margin-top: 1rem; }
.field label { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8d97a1; margin-bottom: .3rem; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(232,234,236,.28);
  color: var(--fog); font: 400 1rem/1.5 var(--f-body); padding: .45rem 0;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--amber); }
.field select option { background: var(--slate); }
.btn-submit {
  margin-top: 1.5rem; width: 100%; cursor: pointer;
  background: var(--amber); color: var(--slate-deep); border: 1px solid var(--amber-bright);
  font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .02em;
  padding: .85rem 1rem; box-shadow: 4px 4px 0 rgba(0,0,0,.4);
}
.btn-submit:hover { background: var(--amber-bright); }

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem,1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 1.8rem; }
.area { background: var(--slate-mid); padding: 1rem 1.15rem; }
.area b { display: block; font-family: var(--f-head); font-size: 1.05rem; color: var(--fog); }
.area span { font-family: var(--f-mono); font-size: .72rem; color: #8d97a1; }

/* ---------- closing band ---------- */
.close-band { background: var(--slate-deep); text-align: center; position: relative; overflow: hidden; }
.close-band::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 60rem; height: 60rem;
  transform: translate(-50%,-50%);
  background: repeating-radial-gradient(circle, rgba(224,145,47,.07) 0 1px, transparent 1px 62px);
  pointer-events: none;
}
.close-band .wrap { position: relative; z-index: 2; }
.close-band h2 { color: var(--fog); }
.close-band .lede { color: #c3cbd2; }

/* ---------- footer ---------- */
footer { background: #0a0d10; color: #8d97a1; padding: 3rem 0 2rem; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.foot-grid h4 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-bright); margin-bottom: .8rem; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: .4rem; }
.foot-grid a { color: #b3bcc4; text-decoration: none; border-bottom: 1px solid transparent; }
.foot-grid a:hover { color: var(--fog); border-bottom-color: var(--amber); }
.foot-brand b { font-family: var(--f-head); font-size: 1.15rem; color: var(--fog); text-transform: uppercase; display: block; margin-bottom: .5rem; }
.foot-grid a.foot-phone { font-family: var(--f-head); font-size: 1.5rem; color: var(--amber-bright); text-decoration: none; display: inline-block; margin-top: .6rem; border-bottom: 0; }
.foot-grid a.foot-phone:hover { color: #fff; }
.colophon { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--f-mono); font-size: .7rem; line-height: 1.7; letter-spacing: .04em; color: #6c757e; }

/* ---------- misc ---------- */
.tick { list-style: none; margin: 1rem 0; }
.tick li { padding-left: 1.5rem; position: relative; margin-bottom: .55rem; }
.tick li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--amber); color: #000; padding: .6rem 1rem; z-index: 99; }

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .split { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 46rem) {
  body { font-size: 16px; }
  .block { padding: 3.4rem 0; }
  .ledger-row { grid-template-columns: 1fr; gap: .3rem; }
  .ledger-row .metric { text-align: left; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
    font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--fog); border: 1px solid rgba(232,234,236,.3); padding: .5rem .8rem;
  }
  .nav ul { display: none; flex-direction: column; }
  .nav-latch:checked ~ ul { display: flex; }
  .nav a { border-bottom: 0; border-left: 3px solid transparent; }
  .nav a[aria-current="page"] { border-left-color: var(--amber); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 3.4rem 0 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- triage band — meet the visitor at their trigger ---------- */
.triage-band { background: var(--fog-warm); border-bottom: 1px solid var(--line); padding: 3.2rem 0 3rem; }
.triage-h { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.4rem; }
.triage { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tri {
  background: #fff; padding: 1.15rem 1.3rem; text-decoration: none;
  display: flex; flex-direction: column; gap: .28rem;
  border-left: 3px solid transparent; transition: border-color .13s, background .13s;
}
.tri:hover { background: #fffdf8; border-left-color: var(--amber); }
.tri-k { font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.2; }
.tri-v { font-size: .92rem; color: #5d666f; line-height: 1.45; }
.tri-urgent { background: #2a1410; border-left-color: var(--alert); }
.tri-urgent .tri-k { color: #ffd9cf; }
.tri-urgent .tri-v { color: #d4a99e; }
.tri-urgent:hover { background: #341a15; border-left-color: var(--amber); }
.triage-foot { margin-top: 1.1rem; font-size: .95rem; color: #5d666f; }
.triage-foot a { color: var(--amber-deep); text-decoration: none; border-bottom: 1.5px solid var(--amber); }
.triage-foot a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- sticky mobile call bar ---------- */
.sticky-call { display: none; }
@media (max-width: 46rem) {
  .sticky-call {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--amber); border-top: 1px solid var(--amber-bright);
    box-shadow: 0 -4px 18px rgba(0,0,0,.35);
  }
  .sticky-call a {
    display: block; text-align: center; padding: .9rem 1rem;
    font-family: var(--f-head); font-weight: 700; font-size: 1.08rem;
    color: var(--slate-deep); text-decoration: none;
  }
  body { padding-bottom: 3.4rem; }
}
/* ---------- inner page hero band ---------- */
.page-hero { background: var(--slate-deep); border-bottom: 1px solid var(--line-dark); padding: 3.6rem 0 3rem; }
.page-hero h1 { color: var(--fog); font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero .page-lede { color: #c3cbd2; font-size: 1.14rem; line-height: 1.6; max-width: 40rem; margin: 1.1rem 0 1.6rem; }
/* FAQ on dark ground */
.dark .faq { border-top-color: var(--line-dark); }
.dark .faq details { border-bottom-color: var(--line-dark); }
.dark .faq summary { color: var(--fog); }
.dark .faq summary::before { color: var(--amber-bright); }
.dark .faq p { color: #c3cbd2; }
.dark .faq a { color: var(--amber-bright); }
