/* Ridgeline — structure stylesheet. Colors come ONLY from var(--m-*) set in seasoning.css. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--m-font-body), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--m-font-display), Georgia, serif; font-weight: 700; }

a { color: inherit; text-decoration: none; transition: color 0.18s ease; }

.wrap { max-width: 940px; margin: 0 auto; padding: 0 28px; }

/* ---- Navigation ---- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo { font-family: var(--m-font-display), Georgia, serif; font-size: 1.25rem; font-weight: 700; color: var(--m-heading); }
.logo:hover { color: var(--m-accent); }
.links { display: flex; gap: 22px; }
.links a { font-size: 0.88rem; font-weight: 600; color: var(--m-soft); }
.links a:hover { color: var(--m-accent); }
.links a[aria-current="page"] { color: var(--m-heading); border-bottom: 2px solid var(--m-accent); padding-bottom: 3px; }

/* ---- Prominent hero: big sky, centered copy low ---- */
.hero { position: relative; min-height: 76vh; display: flex; align-items: flex-end; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, var(--m-bg) 99%);
  opacity: 0.94;
}
.hero-copy { position: relative; width: 100%; padding-bottom: 54px; text-align: center; }
.hero-copy h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  font-size: clamp(2.2rem, 5.4vw, 3.5rem); color: var(--m-heading);
  line-height: 1.1; max-width: 720px; margin: 0 auto;
}
.hero-copy .intro { margin: 16px auto 0; color: var(--m-soft); max-width: 580px; }
.quiet-link { display: inline-block; margin-top: 20px; font-weight: 600; font-size: 0.95rem; color: var(--m-accent); text-decoration: underline; text-underline-offset: 4px; }

/* ---- Shingle-course divider ---- */
.shingle-divider {
  height: 26px; margin-top: -1px;
  background:
    linear-gradient(var(--m-line), var(--m-line)) 0 12px/100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--m-surface) 0 64px, transparent 64px 66px) 0 0/100% 13px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 32px, var(--m-surface) 32px 96px, transparent 96px 98px) 33px 13px/100% 13px no-repeat;
  border-bottom: 1px solid var(--m-line);
}

/* ---- Report artifact ---- */
.block { padding: 54px 28px 30px; }
.sec-title { font-size: 1.7rem; color: var(--m-heading); }
.sec-note { margin-top: 8px; color: var(--m-soft); max-width: 600px; font-size: 0.95rem; }
.report { margin-top: 26px; max-width: 680px; border: 2px solid var(--m-heading); background: var(--m-surface); }
.r-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 18px;
  padding: 13px 18px; border-top: 1px solid var(--m-line); font-size: 0.92rem;
}
.r-row:first-child { border-top: none; }
.r-part { font-weight: 700; color: var(--m-heading); }
.r-row span:last-child { color: var(--m-soft); }
.report-foot { margin-top: 16px; font-size: 0.92rem; color: var(--m-text); max-width: 640px; }

/* ---- Storm-chaser note ---- */
.storm-band { padding: 20px 0 10px; }
.storm-note {
  max-width: 720px; padding: 22px 26px;
  border: 2px solid var(--m-accent);
  background: var(--m-surface);
  position: relative;
}
.storm-note::before {
  content: ""; position: absolute; top: -2px; left: -2px; right: -2px; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--m-accent) 0 8px, transparent 8px 16px);
}
.storm-note h3 { font-size: 1.15rem; color: var(--m-heading); margin-bottom: 8px; }
.storm-note p { font-size: 0.95rem; color: var(--m-text); }

/* ---- Inner pages ---- */
.page { padding: 50px 0 80px; }
.wrap.page { padding-left: 28px; padding-right: 28px; }
.page-title { font-size: clamp(1.9rem, 4.2vw, 2.6rem); color: var(--m-heading); line-height: 1.15; }
.page-lede { margin-top: 14px; color: var(--m-soft); max-width: 580px; }
.svc-block { margin-top: 34px; max-width: 640px; }
.svc-block h2 { font-size: 1.25rem; color: var(--m-heading); margin-bottom: 6px; }
.svc-block p { font-size: 0.96rem; color: var(--m-text); }
.price-note { font-family: var(--m-font-display), Georgia, serif; color: var(--m-accent); font-weight: 700; }
.warranty-card {
  margin-top: 40px; max-width: 640px; padding: 18px 22px;
  border: 1px dashed var(--m-heading); background: var(--m-surface);
}
.w-head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--m-accent); }
.warranty-card p { margin-top: 6px; font-size: 0.92rem; color: var(--m-text); }
.fine-note { margin-top: 32px; font-size: 0.88rem; font-style: italic; color: var(--m-faint); max-width: 640px; }

.c-item { padding: 20px 0; border-top: 1px solid var(--m-line); max-width: 620px; }
.c-item h3 { font-size: 1.1rem; color: var(--m-heading); margin-bottom: 4px; }
.c-item p { font-size: 0.94rem; color: var(--m-soft); }
.c-item .big-line { font-family: var(--m-font-display), Georgia, serif; font-size: 1.7rem; font-weight: 700; color: var(--m-accent); }

/* ---- Footer ---- */
footer { border-top: 3px solid var(--m-heading); padding: 26px 0 34px; margin-top: 30px; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; font-size: 0.85rem; color: var(--m-soft); flex-wrap: wrap; }
.foot-legal { margin-top: 8px; font-size: 0.78rem; color: var(--m-faint); }

@media (max-width: 760px) {
  .hero { min-height: 60vh; }
  .r-row { grid-template-columns: 1fr; gap: 2px; }
  .links { gap: 14px; }
  .links a { font-size: 0.78rem; }
  .foot-row { flex-direction: column; gap: 6px; }
}
