/* Starlink Installer Bunbury — coastal South West theme
   No scroll-reveal or opacity-0 effects: every section must render without scrolling or JavaScript.
   Palette: deep ocean teal, warm sand/cream, sunset coral (CTAs), eucalyptus green (minor).
   Type: Fraunces (display) + Work Sans (body). Mobile first. */

:root {
  --ink: #1C2B30;
  --ink-soft: #4A5A5E;
  --sand: #F7F0E4;
  --sand-deep: #EFE3CD;
  --paper: #FFFBF4;
  --ocean: #0F4C5C;
  --ocean-deep: #0A3642;
  --sea: #1F7A85;
  --foam: #DCEBE8;
  --mist: #A9CFCB;
  --coral: #B94A2C;
  --coral-hover: #9E3D22;
  --coral-soft: #F3C4AE;
  --sun: #F2B263;
  --gum: #4E7156;
  --gum-soft: #DCE6D9;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 rgba(28, 43, 48, .04), 0 14px 34px -18px rgba(15, 76, 92, .35);
  --maxw: 1140px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* the form is display:grid, so hiding it after a send needs this */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--sand);
  padding-bottom: 76px; /* room for the sticky call bar on phones */
  position: relative;
}

/* soft paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .3 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img, svg { max-width: 100%; }
svg { display: block; }

a { color: var(--ocean); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
/* coral disappears on the dark teal bands, so switch the ring to sunset gold there */
.bg-ocean :focus-visible, .site-footer :focus-visible, .callbar :focus-visible { outline-color: var(--sun); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 7.5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em.accent, .accent { font-style: italic; color: var(--coral); font-weight: 500; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ocean); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gum);
  margin-bottom: .9rem;
}
.eyebrow::before { content: "~ "; content: "~ " / ""; color: var(--coral); }
.bg-deep .eyebrow { color: #45664D; }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 38em; }
.small { font-size: .9rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px;
  padding: .8em 1.4em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn-ghost:hover { background: var(--ocean); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ocean); }
.btn-light:hover { background: var(--sun); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--mist); }
.btn-outline-light:hover { background: var(--paper); color: var(--ocean); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { background: var(--sand); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px 16px; padding-top: 14px; padding-bottom: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ocean); }
.brand-place { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.65rem; color: var(--ink); margin-top: 3px; }
.brand-sub { font-size: .7rem; font-weight: 500; letter-spacing: .01em; color: var(--ink-soft); margin-top: 5px; white-space: nowrap; }

.nav-toggle {
  display: none;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 2px solid var(--ocean);
  background: transparent; color: var(--ocean);
  font: 600 .95rem var(--font-body); cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease;
}
.nav-toggle-bars::before { top: 2px; }
.nav-toggle-bars::after { bottom: 2px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-3px) rotate(-45deg); }

.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 6px 0 4px; display: flex; flex-direction: column; gap: 2px; }
.site-nav a {
  display: block; padding: 12px 14px; border-radius: 12px;
  text-decoration: none; font-weight: 500; color: var(--ink);
}
.site-nav a:hover { background: var(--sand-deep); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ocean); background: var(--foam); }
.header-tel, .header-quote { display: none; }

.disclaimer {
  margin: 0;
  background: var(--ocean-deep);
  color: var(--foam);
  font-size: .9rem;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: .01em;
}

/* ---------- hero ---------- */
.hero { padding: 34px 0 26px; }
.hero-grid { display: grid; gap: 28px; }
.hero h1 { margin-bottom: .3em; }
.hero h1 .accent { display: block; font-size: .62em; margin-top: .25em; color: var(--coral-hover); }
.hero-hi { font-size: 1.1rem; }
.hero-welcome {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.16rem; line-height: 1.35; color: var(--ocean); max-width: 34em;
}
.price-tag {
  display: inline-flex; flex-direction: column; gap: 2px;
  margin: 6px 0 20px;
  padding: 12px 18px 12px 16px;
  border-left: 4px solid var(--coral);
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
}
.price-tag strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ocean); }
.price-tag span.small { font-size: .85rem; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li {
  font-size: .85rem; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  background: var(--gum-soft); color: #2F4A36;
}
.hero-ctas { margin-bottom: 0; }
.price-detail { margin: 16px 0 0; max-width: 36em; }
.hero .hero-hi { margin-top: 18px; }
.hero-mini { margin: 18px 0 0; font-weight: 500; }
.hero-mini a { color: var(--ocean); }
.hero-art { margin: 0; align-self: center; position: relative; }
.hero-art img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #CFE0E6; /* sky-toned frame while the photo loads */
}
.hero-art::after {
  /* postcard edge */
  content: ""; position: absolute; inset: 10px; border-radius: calc(var(--radius) - 8px);
  border: 1.5px solid rgba(255, 251, 244, .55); pointer-events: none;
}
figcaption, .caption { font-size: .8rem; color: var(--ink-soft); margin-top: 8px; font-style: italic; }
.bg-ocean figcaption { color: var(--mist); }

/* ---------- Starlink recognition strip (home + installation page only, never in the header) ---------- */
.recog { border-top: 1px solid rgba(15, 76, 92, .14); border-bottom: 1px solid rgba(15, 76, 92, .14); }
.recog-in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 14px; padding-bottom: 14px; text-align: center; }
.recog-main { display: flex; align-items: center; gap: .8em; margin: 0; }
.recog-lbl { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.recog-logo { display: block; height: 40px; width: auto; }
.recog-note { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- waves ---------- */
.wave { display: block; width: 100%; height: 48px; margin: 0; }
.wave path { fill: currentColor; }
.wave.to-ocean { color: var(--ocean); }
.wave.to-paper { color: var(--paper); }
.wave.to-sand { color: var(--sand); }
.wave.to-deep { color: var(--sand-deep); }
.wave.to-night { color: var(--ocean-deep); }
.wave.on-ocean { background: var(--ocean); }
.wave.on-paper { background: var(--paper); }
.wave.on-sand { background: transparent; }
.wave.on-deep { background: var(--sand-deep); }
.wave.flip { transform: scaleX(-1); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-head { max-width: 44em; margin-bottom: 30px; }
.bg-ocean { background: var(--ocean); color: var(--paper); }
.bg-ocean h2, .bg-ocean h3 { color: var(--paper); }
.bg-ocean .lede, .bg-ocean p { color: var(--foam); }
.bg-ocean .eyebrow { color: var(--sun); }
.bg-ocean .eyebrow::before { color: var(--coral-soft); }
.bg-ocean a:not(.btn) { color: var(--sun); }
.bg-paper { background: var(--paper); }
.bg-deep { background: var(--sand-deep); }

.cards { display: grid; gap: 16px; }
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.bg-paper .card { background: var(--sand); box-shadow: none; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: 16px; background: var(--foam); color: var(--ocean);
}
.card-icon svg { width: 26px; height: 26px; }
.bg-paper .card-icon { background: var(--paper); }

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFFBF4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.bg-ocean .tick-list li::before { background-color: var(--coral); }

/* scope block (installation page) */
.section.scope-sec { padding-top: 34px; }
.scope-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 18px; }
.scope { display: grid; gap: 14px; }
.scope-col {
  background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 20px 20px 18px; border-top: 5px solid var(--gum);
}
.scope-extra { border-top-color: var(--sun); }
.scope-sep { border-top-color: var(--sea); }
.scope-col h3 { font-size: 1.12rem; margin-bottom: .55em; }
.scope-col ul { margin: 0; padding-left: 1.15em; display: grid; gap: 6px; font-size: .96rem; color: var(--ink-soft); }
.scope-col strong { color: var(--ink); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 22px 22px 80px;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  background: var(--sun); color: var(--ink);
}
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--ink-soft); }
.steps-cta { margin: 26px 0 0; }

/* split layout with illustration */
.split { display: grid; gap: 30px; align-items: center; }
.illo {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 10px;
}
.bg-ocean .illo { background: rgba(255, 251, 244, .07); }
.illo svg, .illo img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) - 8px); }
figure.illo { margin: 0; }
figure.illo figcaption { padding: 4px 8px 2px; }

/* Mini feature */
.mini-points { display: grid; gap: 14px; margin: 22px 0 26px; }
.mini-point { display: flex; gap: 14px; align-items: flex-start; }
.mini-point .dot {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(242, 178, 99, .18); color: var(--sun);
}
.mini-point .dot svg { width: 22px; height: 22px; }
.mini-point strong { display: block; color: var(--paper); font-weight: 600; }
.mini-point span { color: var(--foam); font-size: .98rem; }

/* mounts */
.mounts { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.mount {
  background: var(--paper); border-radius: var(--radius); padding: 20px 16px; text-align: left;
  box-shadow: var(--shadow);
}
.mount svg { width: 64px; height: 64px; margin-bottom: 10px; }
.mount h3 { font-size: 1.12rem; margin-bottom: .25em; }
.mount p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.bg-paper .mount { background: var(--sand); box-shadow: none; }

/* towns */
.towns { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li {
  padding: 4px 10px; border-radius: 6px;
  background: rgba(15, 76, 92, .07);
  font-size: .95rem; font-weight: 500;
}
.towns li.hub { color: var(--ocean); font-weight: 600; }

.town-groups { display: grid; gap: 16px; }
.town-group h3 { font-size: 1.15rem; margin-bottom: .6em; }
.town-group .towns { margin-bottom: 0; }
.town-group p { font-size: .95rem; color: var(--ink-soft); }

/* also-do card */
.also {
  display: grid; gap: 18px; align-items: center;
  background: var(--paper);
  border: 2px dashed var(--mist);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.also-photo { display: block; width: 100%; max-width: 240px; border-radius: var(--radius-sm); overflow: hidden; background: var(--foam); }
.also-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.also h2 { font-size: 1.5rem; margin-bottom: .3em; }
.also p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0 20px;
}
.bg-paper .faq details { background: var(--sand); box-shadow: none; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; content: "+" / ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-body); font-size: 1.2rem; line-height: 1;
  background: var(--foam); color: var(--ocean);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; content: "–" / ""; background: var(--coral); color: #fff; }
.faq details > div { padding: 0 0 18px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* compare */
.compare { display: grid; gap: 18px; }
.compare .card { display: flex; flex-direction: column; }
.compare .card img { display: block; width: 100%; height: auto; margin-bottom: 16px; border-radius: 16px; background: var(--foam); }
.side-stack { display: grid; gap: 16px; }
.card-photo {
  display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  margin: -24px -22px 18px; border-radius: var(--radius) var(--radius) 0 0; background: var(--foam);
}
.compare .tag {
  align-self: flex-start;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--gum-soft); color: #2F4A36; margin-bottom: 10px;
}
.compare ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.compare li { margin-bottom: .35em; }

/* price factors */
.factors { display: grid; gap: 14px; }
.factor { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); padding: 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.bg-paper .factor { background: var(--sand); box-shadow: none; }
.factor .num { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--coral); line-height: 1; width: 1.4em; }
.factor h3 { font-size: 1.08rem; margin-bottom: .2em; }
.factor p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.note {
  background: var(--gum-soft); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .95rem; color: #2F4A36;
}

/* page intro (inner pages) */
.page-intro { padding: 40px 0 10px; }
.page-intro h1 { font-size: clamp(2rem, 6.5vw, 3.3rem); }

/* final CTA */
.cta-band { text-align: left; }
.cta-band h2 { max-width: 16em; }
.cta-band .price-inline { color: var(--sun); font-weight: 600; }

/* contact */
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.45rem; }
.contact-card .big, .talk-card .big {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.8rem;
  color: var(--ocean); text-decoration: none; margin: 4px 0 12px;
}

.contact-layout { display: grid; gap: 24px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #7D7565;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ocean); outline: 3px solid var(--ocean); outline-offset: 1px; }
.field ::placeholder { color: var(--ink-soft); opacity: 1; }
.field-row { display: grid; gap: 16px; }
.form-title { font-size: 1.6rem; margin-bottom: .3em; }
.form-intro { margin-bottom: 14px; }
.aside-title { font-size: 1.35rem; }
.req { font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.field-err { margin: 0; color: #9E3D22; font-size: .88rem; font-weight: 600; }
.field input[aria-invalid="true"] { border-color: #9E3D22; }

/* tap-pill questions (real radio buttons, so they work without JavaScript) */
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.q legend .hint { display: block; margin-top: 2px; font-size: .85rem; font-weight: 400; color: var(--ink-soft); }
.lede a[href^="tel:"], .form-intro a[href^="tel:"] { white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; }
.pill input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.pill span {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 46px; padding: 9px 16px;
  border: 1.5px solid #7D7565; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-weight: 500; font-size: .98rem; line-height: 1.25; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pill:hover span { border-color: var(--ocean); }
.pill input:checked + span { background: var(--ocean); border-color: var(--ocean); color: var(--paper); }
.pill input:checked + span::before { content: "\2713"; content: "\2713" / ""; font-weight: 700; }
.pill input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.mount-note { margin: 0; }

/* honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.send-row .btn { min-width: 12em; }
.btn[disabled] { cursor: progress; transform: none; background: var(--coral-hover); }
.send-status { margin: 0; font-weight: 500; color: var(--ink); }
.text-instead { margin: 0; }
.privacy-note { margin: 0; }
.form-error {
  background: #FBE9E1; border: 1.5px solid var(--coral);
  border-radius: var(--radius-sm); padding: 16px 16px 14px;
}
.form-error p { margin: 0 0 12px; color: var(--ink); }
.done-panel { border-top: 5px solid var(--gum); }
.done-panel h2 { font-size: 1.6rem; }
.done-panel .photo-tips { margin-bottom: 16px; }
.done-photos { margin: 0; }
.photo-tips { counter-reset: tip; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.photo-tips li { counter-increment: tip; position: relative; padding-left: 40px; }
.photo-tips li::before {
  content: counter(tip); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font-weight: 600; font-size: .9rem;
}

/* NBN / opinion band */
.nbn { display: grid; gap: 26px; align-items: center; }
.pullquote {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.pullquote::before {
  content: "\201C"; position: absolute; top: -18px; left: 20px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--coral);
}
.pullquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 4.2vw, 2rem); line-height: 1.25; color: var(--ocean); margin-bottom: .6em;
}
.pullquote footer { font-size: .9rem; color: var(--ink-soft); }
.roof-types { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roof-types li { padding: 7px 14px; border-radius: 999px; background: var(--gum-soft); color: #2F4A36; font-weight: 500; font-size: .92rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ocean-deep); color: var(--foam); padding: 44px 0 30px; font-size: .92rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; gap: 26px; margin-bottom: 26px; }
.footer-brand { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--paper); margin-bottom: .3em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
/* comfortable tap targets for footer links on phones */
.site-footer nav ul { gap: 0; }
.site-footer li a, .site-footer p a { display: inline-block; padding: 11px 0; min-width: 44px; }
.more-link { display: inline-block; padding: 12px 0; }
.site-footer h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: .8em; }
.legal { border-top: 1px solid rgba(220, 235, 232, .2); padding-top: 20px; font-size: .82rem; color: var(--mist); }
.legal p { margin-bottom: .6em; }

/* ---------- sticky call bar (phones) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 54, 66, .96);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1.02rem;
}
.callbar svg { width: 20px; height: 20px; }
.callbar .cb-quote { background: var(--coral); color: #fff; }
.callbar .cb-call { background: var(--paper); color: var(--ocean); }
.callbar .cb-text { background: transparent; color: var(--paper); border: 2px solid var(--mist); }
body.no-callbar { padding-bottom: 0; } /* contact page: the form is the action, so no bar over it */

/* ---------- motion ---------- */

/* the little satellite in the logo drifts along its orbit */
.brand-mark .bm-sat { transform-box: view-box; transform-origin: 24px 56px; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- small phones: keep the logo and Menu button on one line ---------- */
@media (max-width: 419px) {
  .header-inner { column-gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-place { font-size: 1.5rem; }
  .nav-toggle { padding: 0 12px; }
  .recog-logo { height: 34px; }
}

/* ---------- smallest phones (320px) and large-text settings ---------- */
@media (max-width: 359px) {
  .header-inner { column-gap: 8px; padding-left: 16px; padding-right: 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-place { font-size: 1.3rem; }
  .brand-sub { font-size: .64rem; letter-spacing: 0; }
  .js .nav-toggle { padding: 0 9px; gap: 6px; }
  .recog-logo { height: 30px; }
  .callbar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .callbar a { font-size: .95rem; gap: 6px; }
}

/* phones: the hard-rule disclaimer as a light strip, not a dark warning bar; Send enquiry thumb-width */
@media (max-width: 639px) {
  .disclaimer {
    background: var(--sand-deep); color: var(--ink); font-size: .8rem; line-height: 1.35;
    padding: 6px 14px; border-bottom: 1px solid rgba(15, 76, 92, .14);
  }
  .send-row .btn { width: 100%; }
}

/* keep keyboard focus clear of the sticky call bar */
@media (max-width: 879px) {
  html { scroll-padding-bottom: 96px; }
}

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .cards.cols-2, .cards.cols-3 { grid-template-columns: 1fr 1fr; }
  .mounts { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .also { grid-template-columns: auto 1fr auto; }
  .also-photo { width: 208px; }
  .scope { grid-template-columns: 1fr 1fr; }
  .recog-in { flex-direction: row; justify-content: center; gap: 22px; }
  .recog-note { padding-left: 22px; border-left: 1px solid rgba(15, 76, 92, .2); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .town-groups { grid-template-columns: 1fr 1fr; }
  .factors { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 880px) {
  body { padding-bottom: 0; font-size: 1.08rem; }
  .callbar { display: none; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; flex-basis: auto; margin-left: auto; }
  .site-nav ul { flex-direction: row; gap: 4px; padding: 0; }
  .site-nav a { padding: 10px 14px; }
  .nav-quote { display: none; } /* the coral header button stands in for it on desktop */
  .header-tel {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
    font-weight: 600; color: var(--ocean); text-decoration: none; white-space: nowrap;
  }
  .header-tel svg { width: 18px; height: 18px; flex: none; }
  .header-tel:hover { color: var(--coral); }
  .header-quote { display: inline-flex; min-height: 46px; padding: .6em 1.3em; white-space: nowrap; }
  .header-inner { flex-wrap: nowrap; padding-top: 18px; padding-bottom: 16px; }

  /* hero: the photo fills the band; the copy sits on a cream panel so text and buttons keep full contrast */
  .hero { position: relative; display: flex; align-items: center; min-height: 560px; padding: 40px 0; overflow: hidden; }
  .hero-grid { display: block; }
  .hero-copy {
    position: relative; z-index: 1; max-width: min(650px, 58%);
    padding: 30px 34px 26px; border-radius: var(--radius);
    background: rgba(255, 251, 244, .94);
    box-shadow: 0 24px 60px -30px rgba(10, 54, 66, .6);
  }
  .hero h1 { font-size: clamp(2.2rem, 3vw, 2.65rem); }
  .hero-copy .lede { font-size: 1.05rem; }
  .hero .price-tag { margin-bottom: 16px; }
  .hero .trust { margin-top: 14px; }
  .hero-mini { margin-top: 12px; }
  .hero .price-detail { margin-top: 14px; }
  .hero .hero-hi { margin-top: 14px; }
  .hero-art { position: absolute; inset: 0; z-index: 0; align-self: stretch; justify-self: stretch; } /* stretch: newer engines apply align-self to absolute boxes */
  .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 45%; border-radius: 0; box-shadow: none; } /* the dish sits in the right third; the panel covers the left */
  .hero-art::after { display: none; }
  .scope { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 84px 0; }
  .wave { height: 70px; }
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 82px 24px 26px; }
  .steps li::before { top: 24px; left: 24px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 2; }
  .mounts { grid-template-columns: repeat(4, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; }
  .nbn { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .faq.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
}

@media (min-width: 880px) and (max-height: 820px) {
  .hero-welcome { display: none; }
}

/* 880–1039px: four menu links, the phone number and the quote button don't fit on one line,
   so the header phone shows just its icon here (the number stays in the link for screen readers) */
@media (min-width: 880px) and (max-width: 1039px) {
  .site-nav a { padding: 10px 10px; }
  .header-tel { justify-content: center; min-width: 44px; padding: 0; }
  .header-tel span {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}

/* footer "Other work I do": one item is a link (with a full-size tap target), so give the plain items the same height */
.site-footer .footer-other { gap: 0; }
.footer-other li { min-height: 44px; display: flex; align-items: center; }
.footer-other li a { padding: 11px 0; }
