/* =====================================================================
   SWANSHELTER ROOFING: the site's own look, layered over site.css
   ---------------------------------------------------------------------
   Built from Danny's logo and his roofs:
   - the logo's roof (navy band, gold inner edge, chimney) caps the hero
     panel, and the house shape frames Danny's photo
   - services laid in courses like slates, half slates at the ends
   - slate-course texture on light and dark sections
   - the swan's water as a two-tone wave between sections
   - buttons with one corner cut at a roof pitch, no arrows, no icons
   ===================================================================== */

:root {
  --navy-950: #040c22;
  --navy-900: #06142f;
  --navy-800: #0a1f4d;
  --navy-700: #0d2a6b;
  --royal: #1565c0;
  --sky: #8cc2ff;
  --paper: #eef1f6;
  --ink: #0a1f4d;
  --muted: #4f5d73;
  --gold: #f2c14e;
  --gold-hi: #ffe08a;
  --gold-lo: #c9971c;
  --grad-gold: linear-gradient(135deg, #ffe08a 0%, #f2c14e 45%, #c9971c 100%);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Archivo', 'DM Sans', system-ui, sans-serif;
  --radius: 3px;
  --header-h: 70px;
  --notch: 14px;
  /* slate courses: staggered rows of slates, very faint */
  --slates-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='88'%3E%3Cg fill='%230d2a6b' fill-opacity='.045'%3E%3Crect x='1' y='1' width='46' height='42' rx='1.5'/%3E%3Crect x='49' y='1' width='46' height='42' rx='1.5'/%3E%3Crect x='-23' y='45' width='46' height='42' rx='1.5'/%3E%3Crect x='25' y='45' width='46' height='42' rx='1.5'/%3E%3Crect x='73' y='45' width='46' height='42' rx='1.5'/%3E%3C/g%3E%3C/svg%3E");
  --slates-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='88'%3E%3Cg fill='%23ffffff' fill-opacity='.03'%3E%3Crect x='1' y='1' width='46' height='42' rx='1.5'/%3E%3Crect x='49' y='1' width='46' height='42' rx='1.5'/%3E%3Crect x='-23' y='45' width='46' height='42' rx='1.5'/%3E%3Crect x='25' y='45' width='46' height='42' rx='1.5'/%3E%3Crect x='73' y='45' width='46' height='42' rx='1.5'/%3E%3C/g%3E%3C/svg%3E");
  --cut: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
}

/* ---------- Type ---------- */
body { font-family: var(--font); color: var(--ink); }
h1, h2, h3, .display, .h-list, .h-prose, .quiz-q, .price-range { font-family: var(--font-head); }
.display { font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; }
.display em, .h-list em, .h-prose em, .quiz-q em {
  font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--royal);
}
.sw-work .display em, .sw-steps .display em, .sw-final .display em, .steps .display em, .price-panel em, .sw-urgent em {
  background: none; color: var(--gold);
}
.eyebrow { font-family: var(--font-head); font-weight: 800; font-size: 12.5px; letter-spacing: .18em; color: var(--gold); margin-bottom: 16px; }
.eyebrow-dark { color: var(--royal); }
.sw-intro { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 40em; margin: 20px 0 0; }
.sw-intro a { color: var(--royal); font-weight: 700; }

/* ---------- Buttons: roof-pitch corner, no arrows ---------- */
.btn {
  clip-path: var(--cut); border-radius: 0; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: .01em;
  box-shadow: none; transition: transform .45s var(--ease), background-position .7s var(--ease), background-color .45s var(--ease), color .45s var(--ease);
}
.btn::after { display: none; }
.btn > span:first-child { padding: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-gold, .btn-terra { background: var(--grad-gold); background-size: 180% 100%; background-position: 0 0; color: var(--navy-900); box-shadow: none; }
.btn-gold:hover, .btn-terra:hover { background-position: 100% 0; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy-700); padding-right: 28px; box-shadow: none; }
.btn-light:hover { background: var(--gold-hi); }
.btn-navy, .btn-slate { background: var(--navy-700); color: #fff; padding-right: 28px; box-shadow: none; }
.btn-navy:hover, .btn-slate:hover { background: var(--royal); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-wa { background: #25d366; color: #04341a; box-shadow: none; }
.btn-sub { font-family: var(--font); font-weight: 500; font-size: 15px; color: inherit; opacity: .78; }
.btn-light .btn-sub { color: var(--royal); opacity: 1; }
.btn-sm { --notch: 10px; min-height: 46px; padding: 0 20px; font-size: 15px; }
.trust-line { font-size: 14.5px; gap: 6px 22px; color: var(--muted); }
.dev-note { border-radius: 0; }

/* ---------- Top line + header: white, with the full-colour logo ---------- */
.sw-topline { display: none; background: var(--navy-900); color: rgba(255,255,255,.78); font-size: 14px; }
.sw-topline-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.sw-topline-right { display: flex; gap: 24px; }
.sw-topline a { color: var(--gold-hi); text-decoration: none; font-weight: 700; }
@media (min-width: 1020px) { .sw-topline { display: block; } }

.site-header.sw-header {
  position: sticky; top: 0; inset: auto; height: var(--header-h); background: #fff; color: var(--navy-700);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 16px 34px -26px rgba(6,20,47,.55);
}
.sw-brand { display: flex; flex-direction: row; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.sw-brand img { width: auto; height: 44px; }
.sw-brand-text { display: flex; flex-direction: column; line-height: 1; }
.sw-brand-name { font-family: var(--font-head); font-weight: 900; font-size: 21px; letter-spacing: .01em; text-transform: uppercase; color: var(--navy-700); }
.sw-brand-sub { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .46em; text-transform: uppercase; color: var(--royal); margin-top: 5px; }
.sw-header .header-phone { flex-direction: column; line-height: 1.15; font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--navy-700); }
.sw-header .header-phone span { font-family: var(--font); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.sw-header .menu-toggle { background: var(--navy-700); color: #fff; border-radius: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); font-family: var(--font-head); font-weight: 800; padding: 12px 18px; }
.sw-header .main-nav { background: var(--slates-dark), var(--navy-800); }
.sw-header .main-nav a { font-family: var(--font-head); font-weight: 900; }
.sw-header .main-nav .nav-estimate-mobile { border-radius: 0; clip-path: var(--cut); }
.sw-header .main-nav .nav-call-mobile { font-size: 19px; font-weight: 700; margin-top: 14px; color: var(--gold-hi); }
@media (min-width: 1180px) {
  :root { --header-h: 84px; }
  .sw-brand img { height: 52px; }
  .sw-brand-name { font-size: 24px; }
  .sw-header .main-nav { background: none; gap: 30px; margin-left: 24px; }
  .sw-header .main-nav a { color: var(--navy-700); font-weight: 700; font-size: 15.5px; opacity: 1; }
  .sw-header .main-nav a:hover { color: var(--royal); }
  .sw-header .main-nav .nav-call-mobile { display: none; }
  .sw-header .header-cta { margin-left: 18px; }
}

/* ---------- Hero: the photo as it is, words in a house-shaped panel ---------- */
.sw-hero { position: relative; background: var(--slates-light), var(--paper); }
.sw-hero-photo { position: relative; height: 56svh; min-height: 320px; max-height: 620px; overflow: hidden; background: var(--navy-800); }
.sw-hero-img { width: 100%; height: 100%; object-fit: cover; }
.sw-hero--home .sw-hero-img { animation: sw-drift 30s var(--ease) both; }
@keyframes sw-drift { from { transform: scale(1.07); } to { transform: none; } }
.sw-hero-wrap { position: relative; z-index: 2; margin-top: -74px; }
.sw-house { position: relative; max-width: 640px; color: var(--ink); filter: drop-shadow(0 30px 40px rgba(6,20,47,.28)); }
.sw-roof { display: block; width: 100%; height: 74px; margin-bottom: -1px; }
.sw-house-body { background: #fff; padding: 2px 22px 30px; }
.sw-house .eyebrow { color: var(--royal); margin-bottom: 12px; }
.sw-house .display { color: var(--navy-700); font-size: clamp(32px, 8vw, 52px); }
.sw-house .display-xl { font-size: clamp(40px, 10.5vw, 68px); line-height: .98; }
.sw-house .lede { color: var(--muted); margin-top: 16px; font-size: clamp(17px, 2.2vw, 19px); }
.sw-house .btn-row { margin-top: 26px; }
.sw-hero--page { padding-bottom: 8px; }

/* Home: royal blue base with the emergency call beside the house */
.sw-hero--home { background: var(--slates-dark), var(--royal); color: #fff; padding-bottom: 96px; }
.sw-urgent { padding-top: 44px; }
.sw-urgent p { color: rgba(255,255,255,.86); max-width: 30em; margin-top: 16px; }
.sw-urgent-number { display: inline-block; font-family: var(--font-head); font-weight: 900; font-size: clamp(40px, 9vw, 62px); line-height: 1; letter-spacing: -0.01em; color: #fff; text-decoration: none; transition: color .4s; }
.sw-urgent-number:hover { color: var(--gold-hi); }
.sw-urgent .btn-row { margin-top: 22px; }

@media (min-width: 1020px) {
  .sw-hero-photo { height: 62vh; max-height: 700px; min-height: 460px; }
  .sw-hero-wrap { margin-top: -250px; }
  .sw-roof { height: 104px; }
  .sw-house-body { padding: 4px 48px 46px; }
  .sw-hero--home .sw-hero-photo { height: 86vh; max-height: 880px; min-height: 600px; }
  .sw-hero--home .sw-hero-wrap { margin-top: -340px; display: grid; grid-template-columns: 640px 1fr; gap: 72px; align-items: start; }
  .sw-hero--home .sw-urgent { padding-top: 392px; }
  .sw-hero--home { padding-bottom: 120px; }
}

/* ---------- Sections + the swan's water ---------- */
.sw-section { position: relative; padding: 96px 0 88px; }
@media (min-width: 1020px) { .sw-section { padding: 156px 0 132px; } }
.sw-wave { position: absolute; left: 0; top: -1px; width: 100%; height: clamp(26px, 4.6vw, 66px); display: block; pointer-events: none; z-index: 1; }
.sw-head { max-width: 780px; margin-bottom: 52px; }
.sw-center { justify-content: center; margin-top: 48px; }

/* ---------- Services laid like slates ---------- */
.sw-services { background: var(--slates-light), var(--paper); }
.slates { display: grid; gap: 12px; }
.slate {
  --rough: polygon(0 0, 100% 0, 100% 98.4%, 93% 99.7%, 81% 98.5%, 68% 99.8%, 55% 98.7%, 41% 99.7%, 27% 98.4%, 13% 99.6%, 0 98.7%);
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: #fff; overflow: hidden;
  background: radial-gradient(130% 80% at 0% 0%, rgba(255,255,255,.08), rgba(255,255,255,0) 55%), linear-gradient(160deg, #303b4c 0%, #212a36 100%);
  clip-path: var(--rough); transition: transform .7s var(--ease);
}
.slate:hover { transform: translateY(-6px); }
.slate-urgent { background: radial-gradient(130% 80% at 0% 0%, rgba(255,255,255,.12), rgba(255,255,255,0) 55%), linear-gradient(160deg, var(--royal) 0%, var(--navy-700) 100%); }
.slate-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #1b232e; }
.slate-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.slate:hover .slate-img img { transform: scale(1.05); }
.slate-text { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 28px; flex: 1; }
.slate-flag { align-self: flex-start; background: var(--grad-gold); color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); margin-bottom: 6px; }
.slate-name { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.15; }
.slate-lede { color: rgba(255,255,255,.74); font-size: 15.5px; line-height: 1.5; }
.slate-price { margin-top: auto; padding-top: 12px; color: var(--gold); font-weight: 700; font-size: 14.5px; }
.slate-half { display: none; }
@media (max-width: 639px) {
  .slate { flex-direction: row; min-height: 150px; }
  .slate-img { width: 36%; flex: none; aspect-ratio: auto; }
  .slate-text { padding: 16px 16px 20px; }
  .slate-name { font-size: 19px; }
  .slate-lede { font-size: 14.5px; }
  .slates > a:nth-of-type(odd) { margin-right: 18px; }
  .slates > a:nth-of-type(even) { margin-left: 18px; }
}
@media (min-width: 640px) { .slates { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 1020px) {
  .slates { grid-template-columns: repeat(4, 1fr); }
  .slates-bond { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .slates-bond > a { grid-column: span 2; }
  .slates-bond .slate-half { display: block; clip-path: var(--rough); background: radial-gradient(130% 80% at 0% 0%, rgba(255,255,255,.06), rgba(255,255,255,0) 55%), linear-gradient(160deg, #2a3443 0%, #1d2530 100%); }
  .slates-bond .slate-half::after { content: ''; position: absolute; inset: 0; background: var(--slates-dark); }
}

/* ---------- What can you see? picker ---------- */
.sw-picker { background: #fff; }
.sw-picker-grid { display: grid; gap: 40px; }
.sw-picks { display: grid; gap: 10px; }
.sw-pick {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; text-decoration: none;
  background: var(--paper); color: var(--navy-700); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.sw-pick:first-child { background: var(--grad-gold); color: var(--navy-900); }
.sw-pick:hover { background: var(--navy-700); color: #fff; transform: translateY(-3px); }
.sw-pick-t { font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.sw-pick-d { font-size: 15px; color: var(--muted); transition: color .45s; }
.sw-pick:first-child .sw-pick-d { color: rgba(6,20,47,.75); }
.sw-pick:hover .sw-pick-d { color: rgba(255,255,255,.78); }
@media (min-width: 640px) { .sw-picks { grid-template-columns: 1fr 1fr; } .sw-pick:last-child { grid-column: 1 / -1; } }
@media (min-width: 1020px) { .sw-picker-grid { grid-template-columns: 5fr 7fr; gap: 88px; align-items: center; } }

/* ---------- Danny's recent roofs ---------- */
.sw-work { background: var(--slates-dark), var(--navy-900); color: #fff; }
.sw-work .display { color: #fff; }
.sw-work .sw-intro { color: rgba(255,255,255,.75); }
.sw-wall { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
.sw-wall-item { position: relative; margin: 0; overflow: hidden; background: var(--navy-800); }
.sw-wall-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.sw-wall-item:hover img { transform: scale(1.04); }
.sw-wall-item figcaption { position: absolute; left: 0; bottom: 0; max-width: 88%; background: rgba(6,20,47,.88); color: #fff; font-size: 13px; line-height: 1.4; padding: 8px 12px; }
.w-big { grid-column: span 2; grid-row: span 2; }
.w-tall { grid-row: span 2; }
.w-wide { grid-column: span 2; }
@media (min-width: 1020px) { .sw-wall { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; } .sw-wall-item figcaption { font-size: 14px; } }

/* ---------- Meet Danny ---------- */
.sw-danny { background: var(--slates-light), var(--paper); }
.sw-danny-grid { display: grid; gap: 52px; }
.sw-danny-photo {
  --house: polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%);
  margin: 0; padding-top: 14px; background: var(--grad-gold); clip-path: var(--house); align-self: start;
}
.sw-danny-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: var(--house); }
.sw-big { font-size: 21px; line-height: 1.5; color: var(--navy-700); font-weight: 500; margin-top: 22px; }
.sw-danny-copy > p { color: var(--muted); }
.sw-danny-copy > .sw-big { color: var(--navy-700); }
.sw-reasons { display: grid; gap: 28px 40px; margin: 40px 0 12px; }
.sw-reason h3 { font-weight: 800; font-size: 20px; color: var(--navy-700); margin-bottom: 8px; }
.sw-reason p { color: var(--muted); font-size: 16px; margin: 0; }
@media (min-width: 640px) { .sw-reasons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) {
  .sw-danny-grid { grid-template-columns: 5fr 7fr; gap: 96px; }
  .sw-danny-photo { position: sticky; top: calc(var(--header-h) + 36px); }
}

/* ---------- How a job runs ---------- */
.sw-steps { background: var(--slates-dark), radial-gradient(80% 70% at 100% 0%, rgba(21,101,192,.45), rgba(21,101,192,0) 70%), var(--navy-900); color: #fff; }
.sw-steps .display { color: #fff; }
.sw-steps .sw-intro { color: rgba(255,255,255,.75); }
.sw-steps-grid { display: grid; gap: 48px; }
.sw-step-list { display: grid; gap: 14px; }
.sw-step-list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 26px 24px;
  background: rgba(255,255,255,.045); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.sw-step-n { font-family: var(--font-head); font-weight: 900; font-size: 60px; line-height: .85; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-step-list h3 { font-weight: 800; font-size: 21px; margin: 4px 0 8px; }
.sw-step-list p { color: rgba(255,255,255,.76); margin: 0; font-size: 16.5px; }
@media (min-width: 1020px) {
  .sw-steps-grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .sw-steps-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .sw-step-list li { grid-template-columns: 88px 1fr; padding: 32px 34px; }
  .sw-step-n { font-size: 76px; }
}

/* ---------- Questions ---------- */
.sw-faq { background: #fff; }
.sw-faq-grid { display: grid; gap: 40px; }
.sw-faq-list details { background: var(--paper); margin-bottom: 10px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); transition: background-color .45s var(--ease), color .45s var(--ease); }
.sw-faq-list details[open] { background: var(--navy-700); color: #fff; }
.sw-faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 22px 64px 22px 24px; font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.sw-faq-list summary::-webkit-details-marker { display: none; }
.sw-faq-list summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-family: var(--font); font-size: 30px; font-weight: 400; color: var(--royal); transition: transform .45s var(--ease), color .45s; }
.sw-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--gold); }
.sw-faq-list details p { padding: 0 24px 24px; margin: 0; color: rgba(255,255,255,.84); }
@media (min-width: 1020px) { .sw-faq-grid { grid-template-columns: 4fr 7fr; gap: 88px; } }

/* ---------- Closing band: the full logo beside the call to action ---------- */
.sw-final {
  position: relative; color: #fff; padding: 110px 0 104px;
  background: var(--slates-dark), radial-gradient(90% 120% at 100% 0%, rgba(21,101,192,.85) 0%, rgba(21,101,192,0) 60%), var(--navy-800);
}
.sw-final-inner { display: grid; gap: 36px; align-items: center; }
.sw-final-logo { width: min(250px, 66%); height: auto; }
.sw-final .display { color: #fff; }
.sw-final-copy > p { color: rgba(255,255,255,.84); font-size: 18px; max-width: 34em; margin-top: 18px; }
.sw-final-wa { margin-top: 18px; font-size: 16px !important; }
.sw-final-wa a { color: var(--gold-hi); font-weight: 700; }
@media (min-width: 1020px) { .sw-final { padding: 150px 0 140px; } .sw-final-inner { grid-template-columns: minmax(0, 820px); } }

/* ---------- Footer ---------- */
.sw-footer { background: var(--slates-dark), var(--navy-950); padding: 84px 0 120px; }
.sw-footer .footer-mark { display: none; }
.sw-footer-top { display: grid; gap: 44px; }
.sw-footer .footer-logo { width: 220px; margin-bottom: 20px; }
.sw-footer a { color: rgba(255,255,255,.86); text-decoration: none; transition: color .3s; }
.sw-footer a:hover { color: var(--gold-hi); }
.sw-footer .footer-h { font-family: var(--font-head); color: var(--gold); letter-spacing: .16em; }
.sw-footer-phone a { font-family: var(--font-head); font-weight: 900; font-size: 30px; color: #fff; }
.sw-footer-list li { padding: 5px 0; }
.sw-footer .footer-hours { margin-top: 18px; }
@media (min-width: 760px) { .sw-footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sw-footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ---------- Round floating buttons: WhatsApp and call ---------- */
.sw-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(40px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.sw-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.sw-float a { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 16px 32px -10px rgba(6,20,47,.6); transition: transform .4s var(--ease); }
.sw-float a:hover { transform: scale(1.06); }
.sw-float svg { width: 28px; height: 28px; }
.sw-float-wa { background: #25d366; color: #fff; }
.sw-float-call { background: var(--grad-gold); color: var(--navy-900); }
@media (min-width: 1020px) { .sw-float { right: 28px; bottom: 28px; } }

/* ---------- Inner pages ---------- */
.section-head .display { max-width: 14em; }
.steps { background: var(--slates-dark), radial-gradient(80% 70% at 100% 0%, rgba(21,101,192,.45), rgba(21,101,192,0) 70%), var(--navy-900); }
.step-fill { display: none; }
.step { border-radius: 0; background: rgba(255,255,255,.045); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.step-num { font-family: var(--font-head); }
.services { background: var(--slates-light), var(--paper); }
.more-services { background: var(--slates-light), var(--paper); }
.tick-list li::before, .sign-list li::before { display: none; }
.tick-list li, .sign-list li { padding: 14px 18px; margin-bottom: 8px; background: var(--paper); font-size: 16.5px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.sign-list li { background: #fff; box-shadow: inset 4px 0 0 var(--gold); }
.price-panel { border-radius: 0; background: var(--slates-dark), var(--navy-800); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); box-shadow: none; }
.photo-row img, .owner-photo img, .g-item, .contact-form, .quiz-option, .tier, .area-card { border-radius: 0; }
.owner-photo img { object-position: 28% 40%; }
.filters button { border-radius: 0; font-family: var(--font-head); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.filters button[aria-pressed="true"] { background: var(--navy-700); }
.contact-top { background: var(--slates-light), var(--paper); }
.contact-form { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.contact-form input, .contact-form textarea, .quiz-form input { border-radius: 0; }
.quiz-page { padding-top: 40px; }
.quiz-option { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }

@media (prefers-reduced-motion: reduce) {
  .sw-hero--home .sw-hero-img { animation: none; }
  .slate, .slate-img img, .sw-pick, .sw-wall-item img, .btn, .sw-float { transition: none; }
}

/* fixes after the first look */
.sw-footer-phone a { white-space: nowrap; font-size: 28px; }
@media (min-width: 1020px) { .sw-urgent-number { font-size: clamp(40px, 3.9vw, 56px); } }
.price-panel .price-range { font-size: clamp(36px, 4vw, 48px); font-weight: 900; color: #fff; margin: 6px 0 14px; }
.price-panel .price-label { font-family: var(--font-head); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; color: var(--gold); }
.step-num { display: block; width: auto; height: auto; border-radius: 0; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; font-size: 52px; line-height: .9; margin-bottom: 14px; }
.dev-note { display: none !important; }

/* ---------- Ask Danny: question box that sends on WhatsApp ---------- */
.sw-float.chat-open { opacity: 1; transform: none; pointer-events: auto; }
.sw-chat-hint {
  position: absolute; right: 74px; bottom: 9px; white-space: nowrap; border: 0; cursor: pointer;
  background: #fff; color: var(--navy-700); font-family: var(--font-head); font-weight: 800; font-size: 14.5px;
  padding: 12px 16px; box-shadow: 0 14px 30px -12px rgba(6,20,47,.45);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.sw-float.chat-open .sw-chat-hint { display: none; }
.sw-chat {
  position: fixed; right: 16px; bottom: calc(160px + env(safe-area-inset-bottom)); z-index: 45;
  width: min(360px, calc(100vw - 32px)); background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -18px rgba(6,20,47,.55);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.sw-chat[hidden] { display: none; }
.sw-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--slates-dark), var(--navy-800); color: #fff; }
.sw-chat-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.sw-chat-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.sw-chat-sub { margin: 2px 0 0; font-size: 13px; color: rgba(255,255,255,.75); }
.sw-chat-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; padding: 0 4px; align-self: flex-start; }
.sw-chat-form { padding: 16px 18px 18px; }
.sw-chat-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sw-chat-form textarea { width: 100%; border: 0; background: var(--paper); padding: 12px 14px; font: inherit; font-size: 16px; resize: vertical; min-height: 104px; color: var(--ink); }
.sw-chat-form textarea:focus { outline: 2px solid var(--royal); outline-offset: 0; }
.sw-chat-form .btn { width: 100%; margin-top: 12px; }
.sw-chat-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.sw-chat-note a { color: var(--royal); font-weight: 700; }
@media (min-width: 1020px) { .sw-chat { right: 28px; bottom: 176px; } }
@media (max-width: 380px) { .sw-chat-hint { display: none; } }

/* Phone menu: hidden by clipping instead of sliding off to the right,
   so the closed menu never makes the page wider than the phone */
@media (max-width: 1179px) {
  .sw-header .main-nav { transform: none; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s linear .45s; }
  .sw-header .main-nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .45s var(--ease); }
}
.sw-chat-hint { bottom: 81px; }
.sw-credit { margin-left: 16px; color: rgba(255,255,255,.6); } .sw-credit a { color: var(--gold-hi) !important; font-weight: 700; margin: 0 !important; }

/* ---------- Danny's own logo, exactly as he supplied it ----------
   It is navy on white, so it is never recoloured: in the header it sits on
   white, and on the dark closing band and footer it sits straight on the background,
   with nothing behind it: fully transparent. */
.sw-brand img { height: 58px; width: auto; }
@media (min-width: 1020px) { .sw-brand img { height: 74px; } }
.sw-final-logo, .sw-footer .footer-logo { background: none; padding: 0; filter: none; }
.sw-footer .footer-logo { width: 240px; }

.form-wa { margin-top: 14px; display: inline-flex; }

/* =====================================================================
   PHONE CLEAN-UP (23 Nov 2026): no jumps, no cut edges, tighter rhythm
   ===================================================================== */
/* 'hidden' on body stopped the sticky header sticking; 'clip' still stops sideways scroll but lets it stick */
body { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 1019px) {
  /* header stays put on phones: no hiding and popping back while scrolling */
  .site-header.sw-header, .site-header.sw-header.is-hidden { transform: none; transition: box-shadow .3s; }
  /* calmer reveals: short, quick, no stagger, so nothing appears to jump in */
  .js .reveal { transform: translateY(10px); transition: opacity .55s ease-out, transform .55s ease-out; transition-delay: 0s; }
  .js .reveal.is-in { transform: none; }
  /* tighter section rhythm */
  .sw-section { padding: 72px 0 64px; }
  .sw-head { margin-bottom: 32px; }
  .sw-hero--home { padding-bottom: 72px; }
  .sw-final { padding: 84px 0 80px; }
  .sw-footer { padding: 64px 0 112px; }
  /* service cards: straight, even column with clean edges */
  .slates > a:nth-of-type(odd), .slates > a:nth-of-type(even) { margin: 0; }
  .slate { clip-path: none; }
  .slate:hover { transform: none; }
  /* steps and FAQ panels a little tighter */
  .sw-step-list li { padding: 22px 20px; grid-template-columns: 52px 1fr; gap: 14px; }
  .sw-step-n { font-size: 48px; }
}
@media (max-width: 639px) {
  .slate { min-height: 0; }
  .slate-img { width: 34%; }
  .sw-wall { grid-auto-rows: 150px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .js .reveal { transform: none; transition: none; } }
.site-header.sw-header { inset: auto; top: 0; left: 0; right: 0; }
@media (max-width: 639px) { .sw-chat-hint { display: none; } }
