/* ============================================================
   Penguin Plumbing & Sewer Solutions — Design System
   Direction: ground section / stratigraphy. Horizontal strata
   bands, depth markers, earth palette with a water-table teal.
   Type: Fraunces (display) / Figtree (body) / Space Mono (data)
   ============================================================ */

:root{
  --deep:#2E241D;      /* darkest stratum / primary ink */
  --umber:#43301F;
  --loam:#6E4A2A;
  --clay:#A9772F;
  --ochre:#C9A227;     /* topsoil accent */
  --ochre-lt:#E3C463;
  --sand:#E8DFCB;
  --bone:#F5F0E6;      /* page background */
  --bone-2:#FBF8F1;
  --water:#2F9C99;     /* water table teal */
  --water-d:#1E6E6C;
  --water-lt:#7FC9C6;
  --text:#26201A;
  --muted:#6B6058;
  --rule:#D9CFBA;
  --white:#fff;
  --maxw:1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bone); color:var(--text);
  font-family:'Figtree',-apple-system,'Segoe UI',sans-serif;
  font-size:17px; line-height:1.66; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
svg{ width:1.4em; height:1.4em; flex-shrink:0; }
a{ color:var(--water-d); text-decoration:none; }
a:hover{ text-decoration:underline; }
:focus-visible{ outline:3px solid var(--ochre); outline-offset:3px; }
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} *{animation-duration:.001ms!important;transition-duration:.001ms!important} }

h1,h2,h3,h4{
  font-family:'Fraunces',Georgia,serif; font-weight:600; color:var(--deep);
  line-height:1.1; margin:0 0 .5em; letter-spacing:-.01em;
}
h1{ font-size:clamp(2.3rem,3.4vw + 1rem,3.7rem); font-weight:700; }
h2{ font-size:clamp(1.75rem,1.8vw + 1rem,2.6rem); }
h3{ font-size:1.28rem; }
h4{ font-size:1.04rem; }
p{ margin:0 0 1em; }
ul,ol{ padding-left:1.15em; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 26px; }
section{ padding:80px 0; }
.lede{ font-size:1.14rem; color:var(--muted); }
.mono{ font-family:'Space Mono',monospace; }
.center{ text-align:center; }

/* ---------- strata bands: the structural device ---------- */
.band-top{ background:var(--bone-2); }
.band-1{ background:var(--sand); }
.band-2{ background:var(--clay); color:#F6ECDC; }
.band-3{ background:var(--umber); color:#E4D8C6; }
.band-deep{ background:var(--deep); color:#DCD1C2; }
.band-2 h2,.band-2 h3,.band-2 h4,
.band-3 h2,.band-3 h3,.band-3 h4,
.band-deep h2,.band-deep h3,.band-deep h4{ color:var(--bone); }
.band-2 .lede,.band-3 .lede,.band-deep .lede{ color:rgba(245,240,230,.76); }

/* stratum divider: thin layered rule */
.strata-rule{ height:9px; display:block; background:linear-gradient(
  180deg, var(--ochre) 0 3px, var(--clay) 3px 6px, var(--loam) 6px 9px); }

/* subtle sediment texture */
.sediment{
  background-image:repeating-linear-gradient(
    180deg, rgba(46,36,29,.045) 0 1px, transparent 1px 9px);
}

/* ---------- depth label ---------- */
.depth{
  font-family:'Space Mono',monospace; font-size:.72rem; letter-spacing:.15em;
  text-transform:uppercase; color:var(--loam);
  display:inline-flex; align-items:center; gap:11px; margin-bottom:16px;
}
.depth::before{
  content:""; width:9px; height:9px; border-radius:50%;
  background:var(--water); box-shadow:0 0 0 4px rgba(47,156,153,.22); flex:none;
}
.band-2 .depth,.band-3 .depth,.band-deep .depth{ color:var(--ochre-lt); }
.shead{ max-width:730px; margin-bottom:46px; }
.shead.center{ margin-left:auto; margin-right:auto; text-align:center; }
.shead.center .depth{ justify-content:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:'Figtree',sans-serif; font-weight:700; font-size:1rem;
  padding:15px 28px; border:2px solid var(--deep); background:var(--deep); color:var(--bone);
  border-radius:999px; cursor:pointer; transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.btn:hover{ text-decoration:none; background:var(--loam); border-color:var(--loam); }
.btn-water{ background:var(--water); border-color:var(--water); color:#08302F; }
.btn-water:hover{ background:var(--water-d); border-color:var(--water-d); color:var(--bone); }
.btn-ochre{ background:var(--ochre); border-color:var(--ochre); color:var(--deep); }
.btn-ochre:hover{ background:var(--ochre-lt); border-color:var(--ochre-lt); }
.btn-out{ background:transparent; color:var(--deep); }
.btn-out:hover{ background:var(--deep); color:var(--bone); }
.btn-out-l{ background:transparent; color:var(--bone); border-color:rgba(245,240,230,.55); }
.btn-out-l:hover{ background:rgba(245,240,230,.14); border-color:var(--bone); }
.btn-sm{ padding:10px 18px; font-size:.87rem; }
.btn-block{ width:100%; }

/* ---------- topbar ---------- */
.topbar{ background:var(--deep); color:#C3B6A6; font-family:'Space Mono',monospace; font-size:.75rem; }
.topbar .container{ display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; padding-top:10px; padding-bottom:10px; }
.topbar div{ overflow-wrap:anywhere; min-width:0; }
.topbar a{ color:var(--ochre-lt); }

/* ---------- header ---------- */
.site-header{ background:var(--bone-2); border-bottom:1px solid var(--rule); position:sticky; top:0; z-index:60; }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:13px; padding-bottom:13px; }
.brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.brand img{ height:52px; width:auto; }
.bw strong{ display:block; font-family:'Fraunces',serif; font-weight:700; font-size:1.14rem; color:var(--deep); line-height:1.08; }
.bw span{ display:block; font-family:'Space Mono',monospace; font-size:.63rem; letter-spacing:.16em; text-transform:uppercase; color:var(--water-d); margin-top:4px; }
.mainnav ul{ list-style:none; display:flex; gap:28px; margin:0; padding:0; }
.mainnav a{ color:var(--deep); font-weight:600; font-size:.98rem; padding-bottom:5px; border-bottom:2px solid transparent; }
.mainnav a:hover{ text-decoration:none; border-bottom-color:var(--ochre); }
.mainnav a[aria-current="page"]{ border-bottom-color:var(--water); }
.navcta{ display:flex; align-items:center; gap:11px; }
.navtoggle{ display:none; background:var(--deep); border:none; width:46px; height:40px; border-radius:999px; cursor:pointer; align-items:center; justify-content:center; }
.navtoggle span,.navtoggle span::before,.navtoggle span::after{ content:""; display:block; width:19px; height:2px; background:var(--bone); position:relative; }
.navtoggle span::before{ position:absolute; top:-6px; }
.navtoggle span::after{ position:absolute; top:6px; }
.callicon{ display:none; padding:12px; }
.callicon svg{ width:18px; height:18px; }

.hasdrop{ position:relative; }
.mainnav .drop{
  display:none; position:absolute; top:calc(100% + 14px); left:-16px; background:var(--bone-2);
  border:1px solid var(--rule); border-top:4px solid var(--ochre); border-radius:12px;
  box-shadow:0 20px 44px -20px rgba(46,36,29,.45); padding:9px; min-width:310px;
  list-style:none; margin:0; flex-direction:column;
}
.mainnav .hasdrop:hover .drop,.mainnav .hasdrop:focus-within .drop{ display:flex; }
.mainnav .drop a{ display:block; padding:10px 14px; border-bottom:none; font-weight:500; font-size:.95rem; border-radius:7px; }
.mainnav .drop a:hover{ background:var(--sand); }

/* ---------- hero ---------- */
.hero{ padding:66px 0 0; }
.hero-grid{ display:grid; grid-template-columns:1.04fr .96fr; gap:52px; align-items:center; }
.hero .lede{ max-width:50ch; }
.hero-actions{ display:flex; gap:15px; flex-wrap:wrap; margin-top:30px; }
.hero-note{ font-family:'Space Mono',monospace; font-size:.76rem; color:var(--muted); margin-top:22px; }
.section-svg{ width:100%; height:auto; border-radius:14px; overflow:hidden; display:block; }

/* ---------- depth strip ---------- */
.dstrip{ background:var(--deep); color:var(--bone); }
.dstrip .container{ display:grid; grid-template-columns:repeat(4,1fr); }
.dstrip div{ padding:26px 20px; border-right:1px solid rgba(245,240,230,.14); }
.dstrip div:last-child{ border-right:none; }
.dstrip b{ display:block; font-family:'Fraunces',serif; font-size:1.85rem; color:var(--ochre); line-height:1.08; }
.dstrip span{ font-family:'Space Mono',monospace; font-size:.7rem; letter-spacing:.11em; text-transform:uppercase; color:#B6A897; }

/* ---------- layout ---------- */
.grid{ display:grid; gap:26px; }
.g2{ grid-template-columns:repeat(2,1fr); }
.g3{ grid-template-columns:repeat(3,1fr); }
.g4{ grid-template-columns:repeat(4,1fr); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }

.card{ background:var(--bone-2); border:1px solid var(--rule); border-radius:14px; padding:28px; }
.card-solid{ background:var(--white); border:1px solid var(--rule); border-radius:14px; padding:28px; }
.card-on-dark{ background:rgba(245,240,230,.07); border:1px solid rgba(245,240,230,.18); border-radius:14px; padding:28px; }

/* ---------- service cards: layered top edge ---------- */
.svc{
  background:var(--bone-2); border:1px solid var(--rule); border-radius:14px;
  padding:0; overflow:hidden; display:flex; flex-direction:column;
  transition:transform .16s ease, box-shadow .16s ease;
}
.svc:hover{ transform:translateY(-3px); box-shadow:0 18px 34px -22px rgba(46,36,29,.5); }
.svc .layers{ height:7px; background:linear-gradient(90deg,var(--ochre) 0 33%,var(--clay) 33% 66%,var(--loam) 66% 100%); }
.svc .in{ padding:26px; display:flex; flex-direction:column; gap:11px; flex:1; }
.svc .hd{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.svc .hd .n{ font-family:'Space Mono',monospace; font-size:.71rem; letter-spacing:.13em; color:var(--muted); }
.svc .hd svg{ width:27px; height:27px; color:var(--water-d); }
.svc h3{ margin:0; font-size:1.2rem; }
.svc h3 a{ color:var(--deep); }
.svc p{ margin:0; color:var(--muted); font-size:.98rem; }
.svc .more{ margin-top:auto; font-weight:700; font-size:.9rem; color:var(--water-d); }

/* ---------- process: descending steps ---------- */
.dig{ display:grid; gap:0; }
.dig .st{
  display:grid; grid-template-columns:120px 1fr; gap:26px; align-items:start;
  padding:26px 0; border-top:1px solid var(--rule);
}
.dig .st:last-child{ border-bottom:1px solid var(--rule); }
.dig .st .mk{ font-family:'Space Mono',monospace; font-size:.76rem; letter-spacing:.12em; color:var(--water-d); padding-top:4px; }
.dig .st h3{ margin:0 0 7px; font-size:1.14rem; }
.dig .st p{ margin:0; color:var(--muted); }
.band-3 .dig .st,.band-deep .dig .st{ border-color:rgba(245,240,230,.18); }
.band-3 .dig .st .mk,.band-deep .dig .st .mk{ color:var(--ochre-lt); }
.band-3 .dig .st p,.band-deep .dig .st p{ color:rgba(245,240,230,.72); }

/* ---------- checklist ---------- */
.checks{ list-style:none; padding:0; margin:0; display:grid; gap:13px; }
.checks li{ display:flex; gap:12px; align-items:flex-start; }
.checks li svg{ width:20px; height:20px; margin-top:4px; color:var(--water); }

/* ---------- scope ---------- */
.scope{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.scope > div{ border-radius:14px; padding:30px; }
.scope .inc{ background:#E4F0EE; border:1px solid #B9DAD7; }
.scope .exc{ background:#F6EBD6; border:1px solid #E2C994; }
.scope h4{ margin-bottom:17px; font-family:'Space Mono',monospace; font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; }
.scope .inc h4{ color:var(--water-d); }
.scope .exc h4{ color:#8A6412; }
.scope ul{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.scope li{ display:flex; gap:11px; font-size:.98rem; line-height:1.52; }
.scope .inc li::before{ content:"●"; color:var(--water); font-size:.62rem; line-height:2.1; }
.scope .exc li::before{ content:"○"; color:#B08517; font-size:.62rem; line-height:2.1; }

/* ---------- gallery ---------- */
.gal{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:18px; }
.gal figure{ margin:0; position:relative; border-radius:12px; overflow:hidden; background:var(--deep); }
.gal img{ width:100%; height:215px; object-fit:cover; }
.gal figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:10px 14px;
  background:linear-gradient(0deg,rgba(46,36,29,.93),rgba(46,36,29,0));
  color:#EFE6D8; font-family:'Space Mono',monospace; font-size:.71rem; line-height:1.4;
}

/* ---------- symptoms ---------- */
.symp{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.symp div{
  display:flex; gap:13px; background:rgba(245,240,230,.08); border-radius:10px;
  border-left:4px solid var(--ochre); padding:15px 19px; font-size:.98rem;
}
.symp b{ font-family:'Space Mono',monospace; color:var(--ochre-lt); font-size:.76rem; flex:none; }

/* ---------- FAQ ---------- */
.faq{ max-width:860px; margin:0 auto; }
.faq details{ background:var(--bone-2); border:1px solid var(--rule); border-radius:12px; margin-bottom:13px; }
.faq summary{
  cursor:pointer; list-style:none; padding:20px 24px; display:flex; justify-content:space-between; gap:18px;
  align-items:center; font-family:'Fraunces',serif; font-weight:600; font-size:1.06rem; color:var(--deep);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-family:'Space Mono',monospace; font-size:1.35rem; color:var(--water-d); flex:none; line-height:1; }
.faq details[open]{ border-color:var(--water); }
.faq details[open] summary::after{ content:"−"; }
.faq details p{ margin:0; padding:0 24px 24px; color:var(--muted); max-width:74ch; }

/* ---------- reviews ---------- */
.rev{ background:var(--bone-2); border:1px solid var(--rule); border-radius:14px; padding:28px; }
.rev .st{ color:var(--ochre); letter-spacing:3px; font-size:.9rem; display:block; margin-bottom:11px; }
.rev .who{ font-family:'Fraunces',serif; font-weight:600; color:var(--deep); font-size:.97rem; }
.rev .who span{ display:block; font-family:'Space Mono',monospace; font-size:.72rem; color:var(--muted); margin-top:3px; }

/* ---------- contact ---------- */
.ccard{ background:var(--bone-2); border:1px solid var(--rule); border-radius:14px; padding:26px; display:flex; gap:16px; }
.ccard > div{ min-width:0; }
.ccard p,.ccard a,.ccard h4{ overflow-wrap:anywhere; }
.ccard svg{ width:27px; height:27px; color:var(--water-d); flex:none; }
.ccard h4{ margin:0 0 5px; }
.ccard p{ margin:0; }
.ccard .sub{ font-size:.86rem; color:var(--muted); margin-top:5px; }
.mapbox{ border-radius:14px; overflow:hidden; border:1px solid var(--rule); }
.mapbox iframe{ width:100%; height:440px; border:0; display:block; }

/* ---------- CTA ---------- */
.cta{ text-align:center; padding:12px 0; }
.cta h2{ color:var(--bone); }
.cta p{ color:rgba(245,240,230,.78); max-width:58ch; margin:0 auto 26px; }
.cta-actions{ display:flex; gap:15px; justify-content:center; flex-wrap:wrap; }

/* ---------- breadcrumb ---------- */
.crumb{ font-family:'Space Mono',monospace; font-size:.73rem; color:var(--muted); padding:18px 0 0; }
.crumb a{ color:var(--muted); }
.crumb i{ font-style:normal; margin:0 8px; color:var(--rule); }

/* ---------- footer ---------- */
.site-footer{ background:var(--deep); color:#B6A897; }
.site-footer .container{ padding-top:56px; }
.fgrid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:38px; padding-bottom:38px; }
.fbrand{ display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.fbrand img{ height:52px; }
.fbrand strong{ font-family:'Fraunces',serif; color:var(--bone); font-size:1.06rem; line-height:1.18; }
.site-footer h5{ font-family:'Space Mono',monospace; font-size:.71rem; letter-spacing:.15em; text-transform:uppercase; color:var(--ochre); margin:0 0 16px; }
.site-footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:11px; }
.site-footer li{ overflow-wrap:anywhere; }
.site-footer a{ color:#B6A897; }
.site-footer a:hover{ color:var(--bone); }
.fbot{ border-top:1px solid rgba(245,240,230,.14); padding:20px 0 30px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.8rem; color:#8C7F71; }

/* ---------- mobile ---------- */
.mcall{ display:none; }
.mpanel{ display:none; position:fixed; inset:0; background:var(--bone); z-index:100; padding:20px 24px; overflow-y:auto; }
.mpanel.open{ display:block; }
.mpanel .top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; }
.mpanel ul{ list-style:none; padding:0; margin:0; }
.mpanel a{ display:block; padding:15px 4px; border-bottom:1px solid var(--rule); font-family:'Fraunces',serif; font-weight:600; font-size:1.12rem; color:var(--deep); }

@media (max-width:1000px){
  .hero-grid,.two-col{ grid-template-columns:1fr; }
  .g3,.g4,.dstrip .container,.fgrid{ grid-template-columns:repeat(2,1fr); }
  .dstrip div:nth-child(2n){ border-right:none; }
}
@media (max-width:760px){
  .mainnav ul,.navcta .btn-out{ display:none; }
  .navtoggle{ display:flex; }
  .callicon{ display:inline-flex; }
  .callfull{ display:none; }
  .g2,.g3,.g4,.scope,.symp,.dstrip .container,.fgrid{ grid-template-columns:1fr; }
  .dig .st{ grid-template-columns:1fr; gap:8px; }
  .dstrip div{ border-right:none; border-bottom:1px solid rgba(245,240,230,.14); }
  .dstrip div:last-child{ border-bottom:none; }
  section{ padding:56px 0; }
  body{ padding-bottom:68px; }
  .brand img{ height:42px; }
  .bw strong{ font-size:1rem; }
  .bw span{ display:none; }
  .mcall{ display:flex; position:fixed; bottom:0; left:0; right:0; z-index:70; background:var(--deep); padding:10px 14px; }
}
