/* Plumber Honolulu Hawaii
   Layout: valley-green hero closed by a Koolau ridgeline, then a reading column with a sticky call rail.
   Boldness lives in one place: the phone number set as display type in the hero. */
:root {
  --basalt: #1b2826;      /* volcanic rock: text, footer */
  --koolau: #1d5a48;      /* ridge green: brand, hero */
  --koolau-deep: #143f33; /* shade of the ridge */
  --lehua: #c42438;       /* ohia lehua blossom: every call to action */
  --lehua-dark: #9e1a2c;
  --mist: #ebf2ee;        /* Manoa mist: quiet bands */
  --copper: #a35d2a;      /* pipe copper: sequence markers, small details */
  --paper: #ffffff;
  --ink-soft: #4a5a56;
  --line: #d3e0d9;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --reading: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--basalt);
  font-family: var(--display);
  font-size: var(--step-0);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--koolau); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--lehua); }
:focus-visible { outline: 3px solid var(--lehua); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.12; margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--lehua); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 60; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--basalt); margin-right: auto; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 750; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { display: block; font-weight: 450; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav summary { font-weight: 550; font-size: 0.95rem; color: var(--basalt); text-decoration: none; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.nav > a:hover, .nav summary:hover, .nav > a[aria-current="page"] { background: var(--mist); color: var(--koolau-deep); }
.nav details { position: relative; }
.nav summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.menu { position: absolute; top: calc(100% + 8px); left: 0; width: 560px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(20, 63, 51, .35); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu a { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; color: var(--basalt); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.menu a:hover { background: var(--mist); }
.menu svg { width: 22px; height: 22px; flex: none; color: var(--koolau); }
.header-call { display: inline-flex; align-items: center; gap: 8px; background: var(--lehua); color: #fff; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-call:hover { background: var(--lehua-dark); color: #fff; }
.header-call svg { width: 18px; height: 18px; }
.burger { display: none; }

/* Hero */
.hero { position: relative; background: var(--koolau); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-block: 56px 150px; }
.crumbs { font-size: var(--step--1); margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255,255,255,.75); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #fff; }
.hero h1 { font-weight: 780; font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.03em; line-height: 1.04; max-width: 16ch; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 500; color: #cfe9de; margin: 16px 0 0; max-width: 46ch; line-height: 1.4; }
.lead { font-family: var(--reading); font-size: 1.1rem; line-height: 1.65; color: rgba(255,255,255,.88); max-width: 60ch; margin: 20px 0 30px; }
.lead a { color: #fff; }
.call-hero { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; color: #fff; }
.call-hero .num { font-weight: 800; font-size: clamp(2rem, 8.6vw, 4.6rem); white-space: nowrap; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 16px; }
.call-hero .num svg { width: .6em; height: .6em; background: var(--lehua); border-radius: 50%; padding: .14em; flex: none; }
.call-hero:hover .num svg { background: var(--lehua-dark); }
.call-hero:hover { color: #fff; }
.call-hero .note { font-size: 0.95rem; color: rgba(255,255,255,.78); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: rgba(255,255,255,.85); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: #9fd4bf; flex: none; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; clip-path: polygon(0 9%, 14% 2%, 24% 7%, 37% 0, 52% 6%, 63% 1%, 78% 8%, 89% 3%, 100% 7%, 100% 100%, 0 100%); }
.hero-tag { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,.85); }
.addr-chip { background: var(--paper); color: var(--basalt); border-radius: 10px; padding: 10px 14px; font-size: 0.88rem; font-weight: 600; line-height: 1.3; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.addr-chip span { display: block; font-weight: 450; color: var(--ink-soft); font-size: 0.8rem; }
.credit { text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.credit a { color: inherit; }
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; color: var(--paper); }
.ridge.back { color: var(--koolau-deep); bottom: 18px; opacity: .55; }

/* Homepage service tiles */
.services-band { padding-block: 8px 64px; }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.band-head h2 { font-size: var(--step-3); letter-spacing: -0.02em; font-weight: 750; }
.band-head p { margin: 0; color: var(--ink-soft); max-width: 48ch; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tile { background: var(--paper); padding: 22px 20px 24px; text-decoration: none; color: var(--basalt); display: flex; flex-direction: column; gap: 12px; min-height: 160px; transition: background .2s; }
.tile svg { width: 34px; height: 34px; color: var(--koolau); }
.tile strong { font-size: 1.02rem; font-weight: 650; line-height: 1.25; }
.tile span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.4; }
.tile:hover { background: var(--mist); color: var(--basalt); }
.tile:hover svg { color: var(--lehua); }

/* Body grid */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; padding-block: 24px 72px; align-items: start; }
.prose { font-family: var(--reading); font-size: 1.1875rem; line-height: 1.72; color: var(--basalt); max-width: 70ch; min-width: 0; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--display); font-size: var(--step-3); font-weight: 750; letter-spacing: -0.02em; margin-top: 2.4em; color: var(--koolau-deep); scroll-margin-top: 100px; }
.prose h2 + * { margin-top: .8em; }
.prose h3 { font-family: var(--display); font-size: var(--step-1); font-weight: 650; margin-top: 1.9em; letter-spacing: -0.01em; }
.prose h3 + * { margin-top: .45em; }
.prose a { color: var(--koolau); font-weight: 500; }
.prose a[href^="tel:"] { color: var(--lehua); font-family: var(--display); font-weight: 700; white-space: nowrap; }
.prose strong { font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose > p:first-child { font-size: 1.25rem; }

.figure { margin: 1.8em 0 !important; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.figure figcaption { font-family: var(--display); font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }
.figure figcaption a { color: inherit; }

/* Sequence: the process steps really are an order */
.steps { list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 18px !important; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 26px 38px; margin: 0 !important; }
.steps li::before { content: counter(step); position: absolute; left: -19px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 2px solid var(--copper); color: var(--copper); font-family: var(--display); font-weight: 750; display: grid; place-items: center; font-size: 1rem; }
.steps h3 { margin: 0 0 6px !important; font-size: var(--step-1); }
.steps p { margin: 0; }

/* Safety callout (gas page) */
.alert { background: #fbeef0; border-left: 5px solid var(--lehua); border-radius: 0 12px 12px 0; padding: 22px 26px; margin-top: 0 !important; }
.alert h2 { color: var(--lehua-dark) !important; margin-top: 0 !important; font-size: var(--step-2) !important; }
.alert p + p { margin-top: .8em; }

/* FAQ */
.faq { margin-top: 1em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 650; font-size: 1.12rem; line-height: 1.35; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--koolau); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--lehua); }
.faq .answer { padding: 0 0 22px; }
.faq .answer p + p { margin-top: .8em; }

/* Cross-section diagram */
.xsec { margin: 1.8em 0 !important; background: var(--mist); border-radius: 14px; padding: 18px 18px 6px; }
.xsec svg { width: 100%; height: auto; display: block; }
.xsec .zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; font-family: var(--display); padding: 14px 4px 14px; }
.xsec .zones div { min-width: 0; }
.xsec .zones b { display: block; font-size: 0.92rem; color: var(--koolau-deep); margin-bottom: 4px; }
.xsec .zones span { font-size: 0.82rem; line-height: 1.4; color: var(--ink-soft); display: block; }
.xsec figcaption { font-family: var(--display); font-size: 0.8rem; color: var(--ink-soft); padding: 0 4px 12px; }

/* Location card */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 1.6em 0 !important; font-family: var(--display); }
.loc iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }
.loc .loc-text { padding: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; line-height: 1.45; }
.loc address { font-style: normal; font-weight: 600; font-size: 1.05rem; }
.loc .btn-line { align-self: start; border: 1.5px solid var(--koolau); color: var(--koolau); padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.loc .btn-line:hover { background: var(--koolau); color: #fff; }

/* Sidebar */
.rail { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 20px; }
.call-card { background: var(--basalt); color: #fff; border-radius: 16px; padding: 24px; }
.call-card h2 { font-size: 1.15rem; font-weight: 650; }
.call-card p { margin: 8px 0 18px; color: rgba(255,255,255,.75); font-size: 0.92rem; }
.call-card .big { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--lehua); color: #fff; text-decoration: none; font-weight: 750; font-size: 1.3rem; padding: 14px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.call-card .big:hover { background: var(--lehua-dark); color: #fff; }
.call-card .big svg { width: 22px; height: 22px; }
.call-card address { font-style: normal; font-size: 0.85rem; color: rgba(255,255,255,.7); margin-top: 14px; line-height: 1.45; }
.rail-box { border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 12px; }
.rail-box h2 { font-size: 0.95rem; font-weight: 650; color: var(--ink-soft); margin-bottom: 8px; }
.rail-box ul { list-style: none; margin: 0; padding: 0; }
.rail-box li a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; color: var(--basalt); text-decoration: none; font-size: 0.92rem; line-height: 1.3; }
.rail-box li a:hover { background: var(--mist); }
.rail-box li a[aria-current="page"] { background: var(--mist); font-weight: 650; color: var(--koolau-deep); }
.rail-box svg { width: 20px; height: 20px; color: var(--koolau); flex: none; }
.toc li a { font-size: 0.86rem; padding: 6px; color: var(--ink-soft); }

/* Related */
.related { background: var(--mist); padding-block: 56px; }
.related h2 { font-size: var(--step-2); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 22px; }
.related .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Closing call band */
.cta-band { position: relative; background: var(--koolau-deep); color: #fff; padding-block: 120px 64px; overflow: hidden; }
.cta-band .ridge { top: -1px; bottom: auto; transform: scaleY(-1); color: var(--paper); }
.cta-band.after-mist .ridge { color: var(--mist); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.cta-band h2 { font-size: var(--step-3); font-weight: 750; letter-spacing: -0.02em; max-width: 18ch; }
.cta-band p { margin: 10px 0 0; color: rgba(255,255,255,.8); max-width: 46ch; }
.cta-band .call-hero .num { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* Footer */
.site-footer { background: var(--basalt); color: rgba(255,255,255,.78); padding-block: 56px 110px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.site-footer h2 { color: #fff; font-size: 1rem; font-weight: 650; margin-bottom: 14px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.foot-num { font-size: 1.6rem; font-weight: 750; text-decoration: none; font-variant-numeric: tabular-nums; display: inline-block; margin-top: 10px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,.6); }
.foot-legal a { color: rgba(255,255,255,.8); }

/* Floating call button, on every page */
.float-call {
  position: fixed; z-index: 70;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lehua); color: #fff; text-decoration: none;
  font-weight: 750; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  padding: 14px 22px 14px 16px; border-radius: 999px;
  box-shadow: 0 14px 32px -10px rgba(158, 26, 44, .7);
}
.float-call:hover { background: var(--lehua-dark); color: #fff; }
.float-call .ring { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.float-call .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); animation: ring 2.2s ease-out infinite; }
.float-call svg { width: 18px; height: 18px; }
.float-call small { display: block; font-size: 0.72rem; font-weight: 500; opacity: .85; line-height: 1; margin-bottom: 3px; }
.float-call .lines { line-height: 1.05; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-call .ring::after { animation: none; display: none; }
  * { transition: none !important; }
}

/* 404 */
.lost { padding-block: 80px 120px; }
.lost h1 { font-size: var(--step-4); letter-spacing: -0.02em; }
.lost p { font-family: var(--reading); font-size: 1.15rem; max-width: 55ch; }

/* Responsive */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail .toc { display: none; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: block; position: relative; }
  .burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
  .burger summary::-webkit-details-marker { display: none; }
  .burger summary svg { width: 22px; height: 22px; }
  .burger .menu { position: fixed; left: var(--gutter-l); right: var(--gutter-r); top: calc(env(safe-area-inset-top, 0px) + 80px); width: auto; max-height: calc(100vh - 180px); overflow-y: auto; grid-template-columns: 1fr; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 36px 120px; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .foot-grid { grid-template-columns: 1fr; }
  .loc { grid-template-columns: minmax(0, 1fr); }
  .xsec .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related .tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .header-call { display: none; }
  .brand-sub { display: none; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; flex-direction: row; align-items: center; padding: 16px; }
  .tile span { display: none; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 1.08rem; }
  .prose > p:first-child { font-size: 1.12rem; }
  .call-hero .note { padding-left: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .float-call {
    left: 0; right: 0; bottom: 0; border-radius: 0; justify-content: center;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    font-size: 1.15rem; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.35);
  }
}
