:root {
  --ink: #171717;
  --paper: #f3f0e9;
  --paper-deep: #e7e1d5;
  --signal: #f4b41a;
  --danger: #b42318;
  --muted: #625f59;
  --line: #cbc4b8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }

.site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(20px, 5vw, 76px); background: var(--ink); color: white; border-bottom: 4px solid var(--signal); position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--signal); border-radius: 50%; font-size: 19px; }
nav { display: flex; gap: 28px; }
nav a { color: #dedbd5; text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--signal); }

.hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1.12fr .88fr; background: var(--ink); color: white; }
.hero-copy { padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.hero.front-page { display: block; }
.front-page .hero-copy { align-items: center; padding: 48px 22px 64px; text-align: center; }
.front-page .eyebrow { justify-content: center; }
.front-page h1 { max-width: 1100px; color: var(--signal); font-family: Arial, Helvetica, sans-serif; font-size: clamp(2.15rem, 5vw, 4.6rem); line-height: 1.12; letter-spacing: -.025em; }
.front-property-photo { margin: 32px auto 0; width: min(100%, 760px); }
.front-property-photo .photo-button { background: #222; border: 2px solid var(--signal); }
.front-property-photo img { width: 100%; height: min(58vh, 650px); object-fit: contain; object-position: center; }
.front-property-photo figcaption { margin-top: 10px; color: #d1cec8; font-size: .9rem; }
.front-page .hero-actions { justify-content: center; }
.front-page .emergency { text-align: left; }
.eyebrow, .section-kicker { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; }
.eyebrow { color: var(--signal); display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 32px; height: 3px; background: var(--signal); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 880px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.65rem, 6vw, 6.15rem); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.lede { max-width: 780px; margin: 30px 0 0; color: #d1cec8; font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px; text-decoration: none; font-weight: 800; border: 2px solid var(--signal); }
.button.primary { background: var(--signal); color: var(--ink); }
.button.secondary { color: white; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.emergency { max-width: 760px; margin: 36px 0 0; padding: 18px 20px; border-left: 4px solid var(--danger); background: #2b211f; color: #f0dad6; font-weight: 700; }
.hero-image { min-width: 0; margin: 0; display: flex; flex-direction: column; background: #292929; border-left: 1px solid #3b3b3b; }
.hero-image .photo-button { flex: 1; min-height: 520px; }
.hero-image img { height: 100%; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.06); }
.hero-image.incident-photo img { object-position: center 31%; }
.hero-image figcaption, .gallery-item figcaption { display: grid; gap: 3px; }
.hero-image figcaption { padding: 20px 24px; border-top: 4px solid var(--signal); }
.hero-image figcaption span { color: #bbb7af; font-size: .88rem; }
.photo-button { appearance: none; width: 100%; padding: 0; border: 0; background: #ddd; cursor: zoom-in; overflow: hidden; }
.photo-button img { transition: transform .35s ease, filter .35s ease; }
.photo-button:hover img, .photo-button:focus-visible img { transform: scale(1.025); filter: saturate(1) contrast(1.07); }

.incident, .facts, .evidence, .hot-water, .action { padding: clamp(70px, 9vw, 130px) clamp(22px, 7vw, 110px); }
.incident { display: grid; grid-template-columns: .42fr 1.58fr; gap: clamp(35px, 7vw, 105px); background: #fff; border-bottom: 1px solid var(--line); }
.incident-label { margin: 8px 0 0; color: var(--danger); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 900; }
.incident h2 { max-width: 1050px; font-size: clamp(2rem, 4vw, 4.1rem); }
.incident div p { max-width: 900px; margin: 26px 0 0; color: var(--muted); font-size: 1.08rem; }
.facts { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(38px, 7vw, 110px); background: var(--signal); }
.section-kicker { color: var(--danger); }
h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 4.4vw, 4.65rem); line-height: 1.04; letter-spacing: -.035em; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid rgba(0,0,0,.55); }
.fact-grid article { padding: 25px 24px 27px 0; border-bottom: 1px solid rgba(0,0,0,.35); }
.fact-grid article:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(0,0,0,.35); }
.fact-grid span { font-weight: 900; font-size: .75rem; }
.fact-grid h3 { margin: 12px 0 6px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.fact-grid p { margin: 0; }

.evidence { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 420px); align-items: end; gap: 36px; margin-bottom: 48px; }
.section-heading > p { color: var(--muted); margin: 0 0 6px; font-size: 1.08rem; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-item { grid-column: span 4; margin: 0; background: white; border: 1px solid var(--line); }
.gallery-item.featured { grid-column: span 8; }
.gallery-item.wide { grid-column: span 4; }
.gallery-item .photo-button { aspect-ratio: 4 / 3; }
.gallery-item.featured .photo-button { aspect-ratio: 2 / 1; }
.gallery-item img { height: 100%; object-fit: cover; }
.gallery-item.featured img { object-position: center 39%; }
.gallery-item.incident-evidence img { object-position: center 28%; }

.hot-water { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr); gap: clamp(40px, 7vw, 100px); align-items: center; background: #fff; border-top: 1px solid var(--line); }
.hot-water-image { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hot-water-image .photo-button { background: #111; border: 1px solid #2a2a2a; }
.hot-water-image img { max-height: 760px; object-fit: contain; }
.hot-water-image > p { margin: 13px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.hot-water-copy .section-kicker { margin-bottom: 16px; }
.hot-water-copy h2 { max-width: 860px; }
.hot-water-lede { margin: 26px 0 0; max-width: 830px; color: var(--muted); font-size: 1.12rem; }
.temperature-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 34px 0; background: var(--line); border: 1px solid var(--line); }
.temperature-facts div { min-width: 0; padding: 23px 18px; background: var(--paper); }
.temperature-facts strong { display: block; color: var(--danger); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1; }
.temperature-facts span { display: block; margin-top: 10px; font-size: .88rem; line-height: 1.4; }
.water-action { padding: 22px 24px; background: #2b211f; color: white; border-left: 5px solid var(--danger); }
.water-action h3 { margin: 0 0 7px; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.water-action p { margin: 0; color: #eee5e1; }
.source-note { margin: 18px 0 0; color: var(--muted); font-size: .84rem; }
.source-note a { color: var(--danger); font-weight: 700; }
.gallery-item figcaption { padding: 17px 18px 20px; }
.gallery-item figcaption strong { font-size: 1rem; }
.gallery-item figcaption span { color: var(--muted); font-size: .9rem; }

.action { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 120px); background: #262626; color: white; }
.action-title { position: sticky; top: 36px; align-self: start; }
.action .section-kicker { color: var(--signal); }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid #5a5a5a; }
.checklist li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid #5a5a5a; }
.checklist > li > span { display: grid; place-items: center; width: 42px; height: 42px; background: var(--signal); color: var(--ink); border-radius: 50%; font-weight: 900; }
.checklist h3 { margin: 0 0 5px; font-size: 1.15rem; }
.checklist p { margin: 0; color: #cac7c1; }

.notice { display: grid; grid-template-columns: 76px 1fr; gap: 26px; max-width: 1100px; margin: clamp(70px, 9vw, 120px) auto; padding: 0 24px; }
.notice-icon { display: grid; place-items: center; width: 66px; height: 66px; border: 4px solid var(--danger); color: var(--danger); font-size: 2.1rem; font-weight: 900; }
.notice h2 { font-family: Arial, Helvetica, sans-serif; font-size: 1.45rem; letter-spacing: 0; }
.notice p { color: var(--muted); margin: 9px 0 0; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 26px clamp(22px, 7vw, 110px); background: var(--ink); color: #bdb9b2; font-size: .85rem; }
footer p { margin: 0; }

dialog { width: min(94vw, 1100px); max-width: none; padding: 0; border: 0; background: #111; box-shadow: 0 18px 80px rgba(0,0,0,.65); }
dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(4px); }
dialog img { max-height: 88vh; object-fit: contain; }
#close-lightbox { position: absolute; right: 12px; top: 10px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0,0,0,.75); color: white; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { border-left: 0; }
  .hero-image .photo-button { min-height: 70vh; }
  .incident, .facts, .hot-water, .action { grid-template-columns: 1fr; }
  .hot-water-image { max-width: 620px; }
  .action-title { position: static; }
  .gallery-item, .gallery-item.wide { grid-column: span 6; }
  .gallery-item.featured { grid-column: span 12; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  .hero-copy { padding-top: 64px; padding-bottom: 64px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .hero-image .photo-button { min-height: 480px; }
  .incident, .facts, .evidence, .hot-water, .action { padding-left: 20px; padding-right: 20px; }
  .temperature-facts { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid article:nth-child(even) { padding-left: 0; border-left: 0; }
  .section-heading { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.wide, .gallery-item.featured { grid-column: span 12; }
  .gallery-item.featured .photo-button { aspect-ratio: 4 / 3; }
  .notice { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-button img, .button { transition: none; }
}
