/* The Home Upgrade Co. design system, v2 (1 Oct 2026).
   Loaded LAST on every page, so it wins over service.css and the per-page inline patches.
   Brand tokens are unchanged (launch/brand/homeupgrade/brand-tokens.md): terracotta, charcoal, cream,
   sage, peach, Fraunces 600 for headings, Poppins for body. What changed is layout, scale and photography.
   Rules baked in: photos above the fold, WhatsApp in the header and a sticky phone bar, all text on dark
   backgrounds is cream (#FAF4EC) at full strength, sentence case everywhere. */

@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-v38-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-v24-latin-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-v24-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-v24-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --terracotta: #A94F2C;
  --terracotta-deep: #8E4020;
  --charcoal: #35302A;
  --ink: #231F1B;
  --cream: #F8F3EA;
  --sand: #EFE6D6;
  --peach: #F0DCC8;
  --sage: #5C6B52;
  --white: #FFFFFF;
  --wa: #0F7A40;
  --wa-deep: #0B6334;
  --line: rgba(53, 48, 42, 0.14);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', 'Avenir Next', Verdana, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); background: var(--cream); color: var(--charcoal); line-height: 1.7; font-size: 1.04rem; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Small caps label that sits above headings */
.eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta-deep); margin: 0 0 18px; display: block; }
.on-dark .eyebrow, .dark .eyebrow { color: var(--cream); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; padding: 16px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; margin: 0; }
.btn-wa:hover { background: var(--wa-deep); box-shadow: 0 8px 22px rgba(15, 122, 64, 0.28); }
.btn-primary { background: var(--terracotta-deep); color: #fff; border-color: var(--terracotta-deep); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); }
.on-dark .btn-ghost, .dark .btn-ghost { color: var(--cream); border-color: var(--cream); }
.on-dark .btn-ghost:hover, .dark .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 0.93rem; }
.btn-lg { padding: 19px 36px; font-size: 1.1rem; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 244, 236, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(42, 38, 34, 0.08); }
.site-header .container { display: flex; align-items: center; gap: 20px; height: var(--header-h); max-width: 1400px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); flex: none; }
.brand img.logo { height: 30px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 1.25vw, 24px); }
.main-nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--charcoal); padding: 8px 0; position: relative; white-space: nowrap; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--charcoal); white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--terracotta); }
.header-phone:hover { color: var(--terracotta-deep); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; padding: 0; color: var(--charcoal); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }
.nav-open .nav-toggle .bars { display: none; }
.nav-open .nav-toggle .x { display: block; }

@media (max-width: 1399px) { .header-phone .num { display: none; } .header-phone { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; justify-content: center; background: var(--white); } }
@media (max-width: 1200px) {
  :root { --header-h: 68px; }
  /* backdrop-filter would make the fixed mobile menu size itself to the header, so drop it here */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }
  .site-header .container { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 10px; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--cream); margin: 0; padding: 18px var(--gutter) 120px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; padding: 18px 0; }
  .main-nav a::after { display: none; }
}
@media (max-width: 560px) {
  .header-phone { display: none; }
  .header-actions { gap: 8px; }
  .brand img.logo { height: 20px; }
  .nav-toggle { width: 42px; height: 42px; }
  .header-actions .btn-wa { padding: 10px 13px; gap: 8px; font-size: 0.88rem; }
  .header-actions .btn-wa .us { display: none; }
}
@media (max-width: 380px) { .header-actions .btn-wa span { display: none; } .header-actions .btn-wa { padding: 11px; } }

/* ------------------------------------------------------------------ home hero */
.hero-home { position: relative; background: var(--cream); overflow: hidden; }
.hero-home .container { max-width: 1440px; padding-right: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: clamp(28px, 4vw, 72px); align-items: stretch; min-height: min(760px, calc(100vh - var(--header-h))); }
.hero-copy { align-self: center; padding: clamp(40px, 6vw, 88px) 0; }
.hero-copy h1 { font-size: clamp(2.5rem, 4.7vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 24px; }
.hero-copy .sub { font-size: 1.14rem; color: var(--charcoal); max-width: 31em; margin: 0 0 18px; }
.hero-price { display: inline-block; font-weight: 600; margin: 4px 0 26px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-price a { color: var(--terracotta-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.reply-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--sage); }
.hero-media { position: relative; min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; border-radius: 28px 0 0 28px; }
.hero-badge { position: absolute; left: clamp(-60px, -3vw, -24px); bottom: 44px; background: var(--ink); color: var(--cream); padding: 22px 26px; border-radius: 16px; max-width: 280px; box-shadow: 0 18px 40px rgba(42, 38, 34, 0.28); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; margin-bottom: 6px; color: var(--cream); }
.hero-badge span { font-size: 0.9rem; color: var(--cream); line-height: 1.5; display: block; }

@media (max-width: 960px) {
  .hero-home .container { grid-template-columns: 1fr; padding-right: var(--gutter); gap: 0; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 3; margin: 0 calc(var(--gutter) * -1); }
  .hero-media img { border-radius: 0; }
  .hero-badge { left: var(--gutter); bottom: 16px; padding: 14px 18px; max-width: 230px; }
  .hero-badge strong { font-size: 1.05rem; }
  .hero-badge span { display: none; }
  .hero-copy { padding: 30px 0 44px; }
  .hero-copy h1 { font-size: clamp(2.15rem, 8.4vw, 2.9rem); }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ trust bar */
.trust-bar { background: var(--ink); color: var(--cream); }
.trust-bar ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 24px; }
.trust-bar li { display: flex; gap: 12px; align-items: center; font-size: 0.93rem; line-height: 1.35; font-weight: 500; color: var(--cream); }
.trust-bar svg { width: 24px; height: 24px; flex: none; color: var(--cream); }
@media (max-width: 1100px) { .trust-bar ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .trust-bar ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-bar ul { grid-template-columns: 1fr; padding: 18px 0; gap: 12px; } }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.95rem, 3.4vw, 3rem); line-height: 1.1; }
.section-head p { margin: 18px 0 0; font-size: 1.1rem; }
.section.alt { background: var(--sand); }
.section.dark, .on-dark { background: var(--ink); color: var(--cream); }
.dark h2, .dark h3, .dark p, .dark li, .dark a:not(.btn), .dark span, .dark strong { color: var(--cream); }

/* ------------------------------------------------------------------ service tiles */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: clamp(12px, 1.6vw, 22px); }
.tile { position: relative; display: block; overflow: hidden; border-radius: 22px; background: var(--charcoal); color: #fff; text-decoration: none; isolation: isolate; min-height: 260px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.6,.2,1); z-index: -2; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(26, 22, 19, 0.88) 0%, rgba(26, 22, 19, 0.45) 42%, rgba(26, 22, 19, 0) 72%); }
.tile:hover img { transform: scale(1.045); }
.tile .tile-text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.2vw, 30px); }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); color: #fff; line-height: 1.15; margin-bottom: 6px; }
.tile p { margin: 0; font-size: 0.93rem; line-height: 1.5; color: #fff; max-width: 34em; }
.tile .go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; transition: transform .25s, background .25s; }
.tile .go svg { width: 18px; height: 18px; }
.tile:hover .go { transform: rotate(-45deg); background: #fff; }
.tile-kitchen { grid-column: span 7; grid-row: span 2; }
.tile-windows, .tile-doors { grid-column: span 5; }
.tile-wardrobes, .tile-furniture, .tile-gates { grid-column: span 4; }
@media (max-width: 900px) { .tile-kitchen { grid-column: span 12; grid-row: span 1; min-height: 360px; } .tile-windows, .tile-doors { grid-column: span 6; } .tile-wardrobes, .tile-furniture, .tile-gates { grid-column: span 6; } .tile-gates { grid-column: span 12; } }
@media (max-width: 560px) { .tiles { grid-auto-rows: minmax(230px, auto); } .tile-windows, .tile-doors, .tile-wardrobes, .tile-furniture, .tile-gates { grid-column: span 12; } .tile-kitchen { min-height: 320px; } }

/* ------------------------------------------------------------------ process */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step-col { padding: 34px clamp(18px, 3vw, 44px) 12px 0; }
.step-col + .step-col { border-left: 1px solid var(--line); padding-left: clamp(18px, 3vw, 44px); }
.step-col .n { font-family: var(--serif); font-weight: 600; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 1; color: var(--terracotta); display: block; margin-bottom: 18px; letter-spacing: -0.03em; }
.step-col h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 10px; }
.step-col p { margin: 0; color: var(--charcoal); }
.steps-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 38px; }
.steps-foot p { margin: 0; color: var(--sage); font-weight: 500; }
@media (max-width: 820px) { .steps-row { grid-template-columns: 1fr; } .step-col, .step-col + .step-col { border-left: 0; padding: 28px 0 18px; border-bottom: 1px solid var(--line); } .step-col:last-child { border-bottom: 0; } }

/* ------------------------------------------------------------------ cost and spec */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { position: relative; }
.split-media .main-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.split h2 { font-size: clamp(1.95rem, 3.2vw, 2.9rem); line-height: 1.1; margin-bottom: 22px; }
.price-big { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.025em; color: var(--terracotta-deep); margin: 0 0 6px; }
.price-sub { margin: 0 0 24px; color: var(--sage); font-weight: 500; }
.spec-list { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 148px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; line-height: 1.5; }
.spec-list strong { font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .spec-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ------------------------------------------------------------------ work strip */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.work-grid figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--sage); line-height: 1.45; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ extension band */
.ext-band { background: var(--terracotta-deep); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.ext-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 48px; }
.ext-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); color: #fff; max-width: 17em; line-height: 1.15; }
.ext-band p { margin: 10px 0 0; color: #fff; max-width: 38em; }
.ext-band .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ext-band .btn:hover { background: #fff; }

/* ------------------------------------------------------------------ faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid h2 { font-size: clamp(1.95rem, 3.2vw, 2.8rem); line-height: 1.1; margin-bottom: 18px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--charcoal); display: grid; place-items: center; font-family: var(--sans); font-size: 1.3rem; line-height: 1; transition: transform .25s, background .25s, color .25s; }
.faq-list details[open] summary::after { content: '\2212'; background: var(--charcoal); color: var(--cream); }
.faq-list .ans { padding: 0 0 24px; max-width: 46em; }
.faq-list .ans p { margin: 0 0 12px; }
.faq-list .ans a { color: var(--terracotta-deep); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sticky { position: static; } }

/* ------------------------------------------------------------------ final cta */
.final-cta { background: var(--ink); color: var(--cream); padding: clamp(64px, 9vw, 120px) 0; }
.final-cta .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.final-cta h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; color: var(--cream); margin-bottom: 20px; }
.final-cta p { color: var(--cream); max-width: 34em; margin: 0 0 28px; font-size: 1.1rem; }
.final-cta .qr { background: #fff; padding: 16px; border-radius: 20px; text-align: center; width: 220px; }
.final-cta .qr img { width: 100%; height: auto; border-radius: 6px; }
.final-cta .qr span { display: block; margin-top: 10px; font-size: 0.84rem; line-height: 1.35; color: var(--charcoal); font-weight: 500; }
.final-cta .meta { margin-top: 22px; font-size: 0.95rem; }
.final-cta .meta a { color: var(--cream); font-weight: 600; }
@media (max-width: 820px) { .final-cta .container { grid-template-columns: 1fr; } .final-cta .qr { display: none; } }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--cream); border-top: 1px solid rgba(250, 244, 236, 0.14); text-align: left; padding: 0; font-size: 0.9rem; }
.site-footer a { color: var(--cream); }
.footer-top { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 5vw, 56px); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand img.logo { height: 34px; }
.footer-brand p { margin: 0 0 14px; line-height: 1.6; color: var(--cream); }
.footer-brand .btn { margin: 6px 0 18px; }
.footer-brand .contact-lines a { display: block; font-weight: 600; text-decoration: none; margin-bottom: 4px; }
.footer-brand .contact-lines a:hover { text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 34px 28px; }
.fcol h2 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--cream); margin: 0 0 14px; line-height: 1.3; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fcol a { text-decoration: none; font-size: 0.88rem; line-height: 1.4; color: var(--cream); }
.fcol a:hover, .fcol a:focus-visible { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(250, 244, 236, 0.18); padding: 24px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 0.84rem; }
.footer-base p { margin: 0; color: var(--cream); }
.footer-base a { text-decoration: none; margin-left: 18px; }
.footer-base a:first-child { margin-left: 0; }
.footer-base a:hover { text-decoration: underline; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ mobile sticky bar */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 244, 236, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(42, 38, 34, 0.1); }
  .mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: 0.98rem; }
  .mobile-bar .btn-call { background: var(--ink); color: var(--cream); flex: 0 0 38%; }
  body { padding-bottom: 76px; }
}

/* ------------------------------------------------------------------ reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Overrides for pages that still load site-links.css (footer grid and related-links chips) */
.site-footer .footnav { border: 0; padding: 0; }
.site-footer .fgrid { max-width: none; margin: 0; }
.site-footer .fcol, .site-footer .fcol li, .site-footer .fcol a { min-width: 0; overflow-wrap: anywhere; }
.site-footer .fcol ul { padding: 0; margin: 0; }
.site-footer .fcol li { margin: 0; padding: 0; width: auto; }
.site-footer .fcol a { opacity: 1; }

/* Footer: the kitchens column has 22 links, so it takes two columns */
@media (min-width: 901px) {
  .site-footer .fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer .fcol:first-child { grid-column: span 2; }
  .site-footer .fcol:first-child ul { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(11, auto); column-gap: 28px; }
}
.split { align-items: start; }
.split-media { position: sticky; top: calc(var(--header-h) + 28px); }
@media (max-width: 900px) { .split-media { position: static; } }
.ext-band p { margin-top: 14px; }


/* =====================================================================
   Legacy page layer: restyles the existing service, guide and county pages to match the new
   design. Scoped to body:not(.home) so the homepage is untouched.
   ===================================================================== */
body:not(.home) .wrap { max-width: 980px; padding-left: var(--gutter); padding-right: var(--gutter); margin-left: auto; margin-right: auto; }
body:not(.home) section { padding: clamp(44px, 6vw, 84px) 0; }
body:not(.home) h1 { font-size: clamp(2.1rem, 3.9vw, 3.5rem); line-height: 1.06; letter-spacing: -0.022em; }
body:not(.home) h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); line-height: 1.13; }
body:not(.home) h3 { line-height: 1.22; }
:where(body:not(.home) .wrap, body:not(.home) article) > h2 { margin-top: 1.5em; margin-bottom: 0.5em; }
body:not(.home) section > .wrap > h2:first-child, body:not(.home) .wrap > h2:first-child { margin-top: 0; }
body:not(.home) p:not([class]) { margin-bottom: 1em; }
body:not(.home) main a:not([class]), body:not(.home) article a:not([class]) { color: var(--terracotta-deep); text-underline-offset: 3px; }
/* Dark sections keep cream links */
body:not(.home) .dark a:not([class]), body:not(.home) .site-footer a { color: var(--cream); }
body:not(.home) figure img, body:not(.home) .gallery .shot, body:not(.home) .gallery img { border-radius: 18px; }
body:not(.home) .anchor-link { display: inline-flex; align-items: center; padding: 15px 28px; border-radius: 999px; background: var(--terracotta-deep); color: #fff; border: 0; text-decoration: none; font-weight: 600; }
body:not(.home) .anchor-link:hover { background: var(--ink); }
body:not(.home) .capsule { background: var(--sand); border-left: 4px solid var(--terracotta); border-radius: 0 14px 14px 0; }
body:not(.home) .peach, body:not(.home) .cta-end, body:not(.home) .cta-mid { background: var(--sand); }
body:not(.home) .band { background: var(--white); }
body:not(.home) .reassure .tick { background: var(--sage); }

/* Hero: photo first. Image on one side, words on the other, wide like the homepage. */
body:not(.home) section.wrap.hero { max-width: 1280px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 84px); align-items: center; text-align: left; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(40px, 5vw, 80px); }
body:not(.home) section.wrap.hero > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
body:not(.home) section.wrap.hero:not(:has(> img)) { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
body:not(.home) .hero .sub { color: var(--charcoal); font-size: 1.12rem; max-width: 34em; margin-left: 0; margin-right: 0; }
body:not(.home) .hero .btn { padding: 15px 26px; }
@media (max-width: 860px) {
  body:not(.home) section.wrap.hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 0; }
  body:not(.home) section.wrap.hero > img { aspect-ratio: 16 / 10; border-radius: 0 0 22px 22px; margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); max-width: none; }
  body:not(.home) .hero .trust-strip { display: flex; }
  body:not(.home) .hero .wa-qr { display: none; }
}
/* Legacy mobile-only helper buttons are redundant now that the header and sticky bar carry WhatsApp */
body:not(.home) .hero .btn.mobile-only { display: none; }

/* Factory section (dark): text left, photos right */
.factory-split { align-items: center; }
.factory-split .spec-list { border-top-color: rgba(248, 243, 234, 0.25); }
.factory-split .spec-list li { border-bottom-color: rgba(248, 243, 234, 0.25); }
.factory-split .spec-list strong, .factory-split .spec-list span { color: var(--cream); }
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.factory-grid figure { margin: 0; }
.factory-grid figure.wide { grid-column: 1 / -1; }
.factory-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.factory-grid figure.wide img { aspect-ratio: 16 / 9; }
.factory-grid figcaption { margin-top: 8px; font-size: 0.86rem; line-height: 1.4; color: var(--cream); }

/* WhatsApp button text is always white, including inside the footer where links default to cream */
.btn-wa, .site-footer a.btn-wa, .site-footer .footer-brand a.btn-wa { color: #fff; }

/* Footer headings and text must not pick up the legacy page heading sizes */
body:not(.home) .site-footer .fcol h2 { font-family: var(--sans); font-size: 0.72rem; line-height: 1.3; letter-spacing: 0.16em; margin: 0 0 14px; }
body:not(.home) .site-footer .footer-brand p { margin: 0 0 14px; }
body:not(.home) .site-footer .footer-base p { margin: 0; }

/* Google reviews link (trust bar and footer) */
.trust-bar li a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.trust-bar li a:hover { text-decoration-thickness: 2px; }
.trust-bar li svg { color: var(--cream); }
.site-footer .reviews-link, body:not(.home) .site-footer .reviews-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.site-footer .reviews-link svg { width: 16px; height: 16px; flex: none; color: var(--cream); }
.site-footer .contact-lines a.reviews-link { margin-bottom: 0; }

/* ------------------------------------------------------------------ home hero film (3 Oct 2026) */
/* Full-bleed Higgsfield design visual behind the copy on desktop; on phones the film sits on top
   (4:5) and the copy follows on cream, photo first as before. Text on the film is cream at full
   strength (rule 3). The "Design visual" note stays visible: this is not a fitted job. */
.hero-film { position: relative; background: var(--ink); overflow: hidden; }
.hero-film-media { position: absolute; inset: 0; }
.hero-film-media img, .hero-film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film-video { opacity: 0; transition: opacity .6s ease; }
.hero-film-video.is-on { opacity: 1; }
.hero-film-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(35, 31, 27, 0.86) 0%, rgba(35, 31, 27, 0.62) 32%, rgba(35, 31, 27, 0.12) 56%, rgba(35, 31, 27, 0) 68%),
              linear-gradient(0deg, rgba(35, 31, 27, 0.55) 0%, rgba(35, 31, 27, 0) 26%); }
.hero-film .container { position: relative; z-index: 2; max-width: 1440px; display: flex; align-items: center; min-height: min(860px, calc(100svh - var(--header-h))); }
.hero-film .hero-copy { max-width: 620px; padding: clamp(48px, 7vw, 104px) 0; }
.hero-film .hero-copy h1, .hero-film .hero-copy .sub, .hero-film .reply-note, .hero-film .hero-price { color: var(--cream); }
.hero-film .eyebrow { color: var(--cream); }
.hero-film .hero-price { border-color: rgba(248, 243, 234, 0.32); }
.hero-film .hero-price a { color: var(--cream); }
.hero-film .btn-ghost { color: var(--cream); border-color: var(--cream); }
.hero-film .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.hero-film .hero-badge { left: auto; right: var(--gutter); bottom: 44px; z-index: 3; }
.hero-film-note { position: absolute; z-index: 3; top: 18px; right: var(--gutter); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); background: rgba(35, 31, 27, 0.55); padding: 6px 12px; border-radius: 999px; }
.hero-film-btn { display: none; position: absolute; z-index: 3; left: var(--gutter); bottom: 22px; align-items: center; gap: 8px; font: 600 0.8rem/1 var(--sans); color: var(--cream); background: rgba(35, 31, 27, 0.6); border: 1px solid rgba(248, 243, 234, 0.4); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.hero-film-btn:hover { border-color: var(--cream); }
.js .hero-film.has-video .hero-film-btn { display: inline-flex; }

@media (max-width: 960px) {
  .hero-film { background: var(--cream); }
  .hero-film-media { position: relative; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; }
  .hero-film-shade { background: linear-gradient(0deg, rgba(35, 31, 27, 0.45) 0%, rgba(35, 31, 27, 0) 30%); }
  .hero-film .container { min-height: 0; display: block; }
  .hero-film .hero-copy { max-width: none; padding: 30px 0 44px; }
  .hero-film .hero-copy h1 { color: var(--ink); }
  .hero-film .hero-copy .sub { color: var(--charcoal); }
  .hero-film .reply-note { color: var(--sage); }
  .hero-film .hero-price { color: var(--charcoal); border-color: var(--line); }
  .hero-film .hero-price a { color: var(--terracotta-deep); }
  .hero-film .eyebrow { color: var(--terracotta-deep); }
  .hero-film .btn-ghost { color: var(--charcoal); border-color: var(--charcoal); }
  .hero-film .btn-ghost:hover { background: var(--charcoal); color: var(--cream); }
  .hero-film .hero-badge { left: var(--gutter); right: auto; bottom: 16px; padding: 14px 18px; max-width: 230px; }
  .hero-film .hero-badge strong { font-size: 1.05rem; }
  .hero-film .hero-badge span { display: none; }
  .hero-film-btn { left: auto; right: var(--gutter); bottom: 16px; }
  .hero-film-note { top: 12px; }
}

/* ------------------------------------------------------------------ design visuals (3 Oct 2026) */
/* AI design visuals are always labelled; real job and factory photos keep their own captions. */
.visuals-note { margin: 16px 0 0; font-size: 0.86rem; color: var(--sage); }
.visuals-note a { color: var(--terracotta-deep); }
.visual-fig { position: relative; margin: 0; }
.visual-tag { position: absolute; top: 14px; right: 14px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); background: rgba(35, 31, 27, 0.6); padding: 5px 11px; border-radius: 999px; }
/* Real phone photos: a gentle warm grade so they sit with the visuals. Photos, not filters, are the fix long term. */
.work-grid img, .factory-grid img { filter: saturate(0.9) contrast(1.05) sepia(0.08) brightness(1.02); }
/* Legacy split hero with a labelled design visual: the figure stands in for the bare > img */
body:not(.home) section.wrap.hero.has-visual { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-width: 1280px; }
body:not(.home) section.wrap.hero > .hero-visual { position: relative; margin: 0; }
body:not(.home) section.wrap.hero > .hero-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.hero-visual .visual-tag { left: 14px; right: auto; }
@media (max-width: 860px) {
  body:not(.home) section.wrap.hero.has-visual { grid-template-columns: minmax(0, 1fr); }
  body:not(.home) section.wrap.hero > .hero-visual { margin: 0 calc(var(--gutter) * -1); }
  body:not(.home) section.wrap.hero > .hero-visual img { aspect-ratio: 16 / 10; border-radius: 0 0 22px 22px; }
}
