/* Ember — café template, ported from the original SGEnterprise Hosting
   demo (public/hosting-templates/ember) into the tradie-tier's
   schema-driven renderer. "Menu" items had a per-item photo as their main
   visual — mapped onto services[]'s optional image field, with a plain
   fallback card when unset. The order-plugin (cart/Stripe pitch) was
   dropped, no schema equivalent, same reasoning as every other port's
   non-fitting sections.
   Palette: cream / espresso / terracotta / sage
   Type: Fraunces (display, warm serif) · Manrope (body)
*/

:root {
  --cream: #faf3ea;
  --cream-2: #f3e7d8;
  --espresso: #2b1c14;
  --espresso-soft: #3d2a1e;
  --terracotta: #c1622f;
  --terracotta-deep: #a34d21;
  --sage: #7c8a63;
  --gold: #d7a34a;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }

.kicker {
  font-family: var(--body); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-deep);
  margin: 0 0 0.75rem;
}

.btn {
  display: inline-block; font-family: var(--body); font-weight: 700;
  font-size: 0.9rem; padding: 0.85rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-ghost { border-color: rgba(43,28,20,0.3); color: var(--espresso); }
.btn-ghost:hover { background: rgba(43,28,20,0.06); }

.demo-flag { background: var(--espresso); color: var(--cream-2); font-size: 0.75rem; text-align: center; padding: 0.55rem 1rem; }
.demo-flag strong { color: var(--gold); }
.demo-flag a { margin-left: 0.75rem; text-decoration: underline; color: var(--cream); }

/* nav */
/* background+blur live on ::before, not .nav itself — backdrop-filter (like
   transform/filter/will-change) on an ancestor makes it the containing block
   for any position:fixed descendant, which was hijacking .nav-links' mobile
   off-canvas panel down to .nav's own header-height box instead of the
   viewport. See northline/harbourline, which never had this on .nav and
   never had the bug. */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(43,28,20,0.08); }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(250,243,234,0.92); backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.4rem; text-decoration: none; color: var(--espresso); display: flex; align-items: center; gap: 0.6rem; }
.brand-logo { height: 2.3rem; width: auto; display: block; }
.brand-text { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--espresso); }
.brand-names { display: flex; flex-direction: column; gap: 0.05rem; }
.brand-tagline { font-family: var(--body); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.01em; color: var(--espresso-soft); opacity: 0.75; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--espresso-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-cta { background: var(--espresso); color: var(--cream) !important; padding: 0.55rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--terracotta) !important; color: #fff !important; }
.nav-toggle { display: none; }

/* hero */
.hero { position: relative; min-height: min(92vh, 780px); display: flex; align-items: flex-end; background-size: cover; background-position: center 65%; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,12,7,0.92) 0%, rgba(20,12,7,0.55) 45%, rgba(20,12,7,0.15) 75%); }
.hero-in { position: relative; padding-bottom: clamp(3rem, 8vh, 5.5rem); max-width: 640px; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 6.5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 1.1rem; }
.hero .lead { font-size: 1.125rem; max-width: 46ch; color: rgba(255,255,255,0.88); margin: 0 0 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* trust strip */
.trust { background: var(--espresso); color: var(--cream-2); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 1.6rem; gap: 1rem; }
.trust-in div { text-align: center; border-left: 1px solid rgba(243,231,216,0.14); }
.trust-in div:first-child { border-left: none; }
.trust-in b { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--gold); }
.trust-in span { font-size: 0.75rem; color: rgba(243,231,216,0.65); text-transform: uppercase; letter-spacing: 0.04em; }

/* feature band (ported from "story" — the demo used one organic-blob
   photo; adapted to a primary blob photo + small plain accent so both
   featureBand images render) */
.feature-band { padding-block: clamp(4rem, 10vw, 7rem); }
.feature-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-copy h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.1; margin: 0 0 1.1rem; }
.feature-copy p { max-width: 52ch; margin: 0 0 1rem; color: var(--espresso-soft); }
.feature-photos { position: relative; aspect-ratio: 4/5; }
.feature-photo { position: absolute; background-size: cover; background-position: center; box-shadow: 0 30px 60px -20px rgba(43,28,20,0.35); }
.feature-photo:not(.feature-photo--sm) { width: 100%; height: 100%; top: 0; left: 0; border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%; }
.feature-photo--sm { width: 40%; height: 34%; bottom: -8%; left: -8%; border-radius: 46% 54% 50% 50% / 50% 46% 54% 50%; border: 6px solid var(--cream); }

/* services (ported from "menu" — svc.image slots into the card photo,
   falling back to a plain cream card with the numeral when unset; price
   dropped, no schema equivalent) */
.services { padding-block: clamp(3rem, 8vw, 5rem); background: var(--cream-2); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto clamp(2.5rem, 6vw, 3.5rem); }
.section-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.service-card { background: var(--cream); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(43,28,20,0.35); }
.service-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.service-num-wrap { aspect-ratio: 4/3; background: var(--cream-2); display: flex; align-items: center; justify-content: center; }
.service-num { font-family: var(--display); font-weight: 500; font-size: 2.5rem; color: var(--terracotta-deep); }
.service-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 1.1rem 1.25rem 0.4rem; }
.service-card p { margin: 0 1.25rem 1.25rem; color: var(--espresso-soft); font-size: 0.9375rem; }

/* process (new — the original had no step-by-step section) */
.process { padding-block: clamp(4rem, 9vw, 6.5rem); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step span { display: block; font-family: var(--display); font-style: italic; font-size: 1.75rem; color: var(--terracotta); margin-bottom: 0.5rem; }
.process-step h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin: 0 0 0.4rem; }
.process-step p { margin: 0; color: var(--espresso-soft); font-size: 0.875rem; }

/* work highlight band (ported from "texture-band" — its quote styling
   reused for workHighlight's heading) */
.work { position: relative; background-size: cover; background-position: center; padding-block: clamp(4rem, 9vw, 6rem); color: #fff; text-align: center; }
.work::before { content: ''; position: absolute; inset: 0; background: rgba(43,28,20,0.72); }
.work-overlay { position: relative; max-width: 640px; margin-inline: auto; }
.work-overlay .kicker { justify-content: center; }
.work-overlay h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.3; margin: 0 0 1rem; }
.work-copy { font-size: 0.875rem; letter-spacing: 0.05em; color: var(--gold); margin: 0; }

/* portfolio gallery (ported from "gallery" — asymmetric grid adapted to
   auto-fit, since job count here varies 0-4 not a fixed 3) */
.portfolio { padding-block: clamp(4rem, 9vw, 6rem); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.portfolio-item { cursor: pointer; }
.portfolio-item:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.portfolio-photo { aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; }
.portfolio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-caption { padding: 0.9rem 0.2rem 0; }
.portfolio-caption h3 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; margin: 0 0 0.3rem; }
.portfolio-caption p { margin: 0; color: var(--espresso-soft); font-size: 0.875rem; }

.blog-teaser { padding-block: clamp(4rem, 9vw, 6rem); background: var(--cream-2); }
.blog-teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.blog-teaser-card { display: block; text-decoration: none; }
.blog-teaser-img { width: 100%; aspect-ratio: 16/10; border-radius: 18px; object-fit: cover; display: block; }
.blog-teaser-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; margin: 0.9rem 0 0.3rem; color: var(--espresso); }
.blog-teaser-card p { margin: 0; color: var(--espresso-soft); font-size: 0.875rem; }
.blog-teaser-viewall { display: inline-block; color: var(--terracotta-deep); font-weight: 600; text-decoration: none; }

.shop-teaser { padding-block: clamp(4rem, 9vw, 6rem); background: var(--cream-2); }
.shop-teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.shop-teaser-card { display: block; text-decoration: none; }
.shop-teaser-img { width: 100%; aspect-ratio: 16/10; border-radius: 18px; object-fit: cover; display: block; }
.shop-teaser-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; margin: 0.9rem 0 0.3rem; color: var(--espresso); }
.shop-teaser-card p { margin: 0; color: var(--espresso-soft); font-size: 0.875rem; }
.shop-teaser-viewall { display: inline-block; color: var(--terracotta-deep); font-weight: 600; text-decoration: none; }
.shop-teaser-card .price { margin: 0.3rem 1.25rem 0 !important; font-weight: 700; color: var(--terracotta-deep); }

.booking-teaser { padding-block: clamp(4rem, 9vw, 6rem); background: var(--cream-2); }
.booking-teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.booking-teaser-card { display: block; text-decoration: none; background: #fff; border-radius: 18px; padding: 1.5rem 1.25rem; }
.booking-teaser-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; margin: 0 0 0.3rem; color: var(--espresso); }
.booking-teaser-card .meta { margin: 0; color: var(--espresso-soft); font-size: 0.875rem; }
.booking-teaser-viewall { display: inline-block; color: var(--terracotta-deep); font-weight: 600; text-decoration: none; }

.about-teaser { padding-block: clamp(4rem, 9vw, 6rem); background: var(--cream-2); }
.about-teaser-excerpt { max-width: 640px; color: var(--espresso-soft); font-size: 0.9375rem; line-height: 1.7; margin: 0 0 1.25rem; }
.about-teaser-viewall { display: inline-block; color: var(--terracotta-deep); font-weight: 600; text-decoration: none; }

/* lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100; background: rgba(20,12,7,0.94);
  align-items: center; justify-content: center; flex-direction: column; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: min(90vw, 1100px); max-height: 78vh; object-fit: contain; border-radius: 8px; }
.lightbox-caption { color: rgba(243,231,216,0.85); font-size: 0.875rem; margin-top: 1rem; text-align: center; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: none;
  color: #fff; font-size: 2.25rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.5rem;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1);
  border: none; color: #fff; font-size: 2.5rem; line-height: 1; width: 3rem; height: 3rem;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* reviews (new — the original's only quote became workHighlight above,
   this tier needs a real grid) */
.reviews { padding-block: clamp(4rem, 9vw, 6rem); background: var(--cream-2); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--cream); border-radius: 18px; padding: 1.75rem; }
.review-stars { color: var(--terracotta); letter-spacing: 0.15em; font-size: 1rem; margin-bottom: 0.9rem; }
.review-quote { margin: 0 0 1rem; font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.review-by { margin: 0; font-size: 0.8125rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--espresso-soft); opacity: 0.75; }
.review-card--placeholder { border: 1px dashed rgba(43,28,20,0.25); }
.review-tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--terracotta-deep); background: rgba(163,77,33,0.1);
  border-radius: 999px; padding: 0.25rem 0.65rem; margin-bottom: 0.9rem;
}

/* contact / web-enquiry form (new — reuses the demo's own pill button
   radius on the inputs too) */
.contact-enquiry { padding-block: clamp(4rem, 9vw, 6.5rem); }
.contact-enquiry .section-head p { max-width: 48ch; color: var(--espresso-soft); }
.enquiry-form { display: grid; gap: 0.9rem; max-width: 560px; margin-inline: auto; }
.enquiry-form input, .enquiry-form textarea {
  width: 100%; padding: 0.85rem 1.2rem; border: 1px solid rgba(43,28,20,0.16); border-radius: 999px;
  background: #fff; color: var(--espresso); font-family: var(--body); font-size: 0.9375rem;
}
.enquiry-form textarea { border-radius: 20px; min-height: 100px; resize: vertical; }
.enquiry-form-label { font-size: 0.8125rem; color: var(--espresso-soft); opacity: 0.7; margin: -0.35rem 0 -0.5rem; }
.enquiry-form button { justify-self: center; margin-top: 0.25rem; }
.enquiry-form-note { font-size: 0.8125rem; color: var(--espresso-soft); margin: 0.25rem 0 0; text-align: center; }

/* cta (ported from "visit") */
.cta { position: relative; background-size: cover; background-position: center; color: #fff; }
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(20,12,7,0.82); }
.cta-in { position: relative; padding-block: clamp(4rem, 9vw, 6rem); text-align: center; }
.cta h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 0.75rem; }
.cta p { color: rgba(255,255,255,0.78); margin: 0 0 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* footer */
.site-footer { background: var(--espresso); color: rgba(243,231,216,0.6); }
.footer-in { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-block: 1.5rem; font-size: 0.8125rem; }
.site-footer .footer-in > span > a { color: inherit; text-decoration: underline; }
.site-footer .footer-in > span > a:hover { color: var(--gold); }
.footer-credit a { color: var(--gold); text-decoration: underline; }
.referral-strip { background: var(--gold); }
.referral-strip-logo { height: 26px; width: auto; display: block; }
.referral-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 1.5rem; padding: 1rem var(--gutter); text-align: center; }
.referral-strip-text { color: var(--espresso); font-weight: 600; }
.referral-strip-cta { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--espresso); color: var(--gold); font-weight: 700; padding: 0.5rem 1.15rem; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: opacity .15s; }
.referral-strip-cta:hover { opacity: 0.82; }

/* responsive */
@media (max-width: 860px) {
  .feature-in { grid-template-columns: 1fr; }
  .feature-photos { order: -1; width: 100%; max-width: 320px; margin-inline: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 64px 0 0 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; padding: 2rem var(--gutter);
    gap: 1.5rem; transform: translateX(100%); transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: block; width: 34px; height: 24px; position: relative; background: none; border: none; cursor: pointer; }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--espresso); }
  .nav-toggle::before { top: 0; }
  .nav-toggle span { top: 11px; }
  .nav-toggle::after { bottom: 0; }
  .trust-in { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

.logo-bar { text-align: center; padding: 1.5rem 1rem; }
.logo-bar img { max-height: 4.5rem; width: auto; display: inline-block; }
.footer-social { display: flex; align-items: center; gap: 0.9rem; }
.footer-social a { color: inherit; display: inline-flex; opacity: 0.85; }
.footer-social a:hover { opacity: 1; }

.hero-logo-wrap { position: absolute; top: 1.5rem; left: 0; right: 0; z-index: 2; pointer-events: none; }
.hero-logo-wrap a { pointer-events: auto; display: inline-block; }
.hero-logo { max-height: 5.25rem; width: auto; display: block; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4)); }

/* FAQ accordion — native <details>/<summary>, no JS needed */
.faq { padding-block: clamp(4rem, 9vw, 6.5rem); background: var(--cream-2); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--cream); border-radius: 18px; padding: 0 1.5rem; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--espresso); }
.faq-icon { flex: none; position: relative; width: 1.1rem; height: 1.1rem; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; inset: 0; margin: auto; background: var(--terracotta); border-radius: 2px; }
.faq-icon::before { width: 100%; height: 2px; }
.faq-icon::after { width: 2px; height: 100%; transition: opacity 0.15s ease; }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-a { margin: 0 0 1.25rem; color: var(--espresso-soft); font-size: 0.9375rem; line-height: 1.6; }

/* The hero is the one place .kicker sits on a dark scrim instead of a light
   section background, and every template used the same dark accent for both —
   so the hero kicker was near-invisible over its own photo. Scoped override:
   light sections keep the accent colour, the hero gets something legible. */
.hero .kicker { color: rgba(255,255,255,0.92); }
