/* Fonts are hosted with the site so every visitor sees the same thing:
   Outfit for titles (as on the current Chuffin' Chimney site), Inter for body text. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --pink: #ff028d;
  --apple: #a6d957;
  --accent: #4d4d52;
  --accent-light: #d4d4d8;
  --ink: #17151a;
  --muted: #64646a;
  --line: #e4e4e4;
  --blush: #f4f4f4;
  --soft: #f4f4f4;
  --white: #ffffff;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(23, 21, 26, .10);
}

body.palette-kingfisher {
  --pink: #ea4d83;
  --apple: #62b3b6;
}

body.palette-balanced {
  --pink: #f42a88;
  --apple: #3fa9ad;
  --blush: #f6fbfb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 1.125rem/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; background: var(--ink); color: white; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0; color: var(--apple); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
/* Same gap between an eyebrow and its heading everywhere (about 0.75rem). Grid layouts already add their own gap. */
.eyebrow + h1, .eyebrow + h2 { margin-top: .75rem; }
.section-head > .eyebrow + h2, .hero-copy > .eyebrow + h1, .page-hero-copy > .eyebrow + h1, .contact-summary > .eyebrow + h1, .listing-panel > .eyebrow + h2, .recognition-band > .eyebrow + h2 { margin-top: -1rem; }
h1, h2, h3 { margin: 0; font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
h1 { max-width: 900px; font-size: clamp(2.65rem, 7vw, 5.9rem); overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(2rem, 4.4vw, 3.55rem); line-height: 1.15; }
h3 { font-size: 1.3rem; } /* one size for every small heading (cards, steps, rows) */
p { margin: 0; }
/* One rule for the gap between a title and the text under it. Grid layouts (section-head, heroes) use their own gap instead. */
h1 + p, h2 + p, h2 + .detail-stack, h2 + .content-grid, h2 + .steps, h2 + .faq-list { margin-top: 2rem; }
.section-head > h2 + p, .page-hero-copy > h1 + p, .hero-copy > h1 + p, .contact-summary > h1 + p, .recognition-band h2 + p { margin-top: 0; }
/* Type scale: one body size for every paragraph, bullet, card and note. Only the intro under each page title is larger. */
.lede { max-width: 720px; color: var(--muted); }
.lede + .lede, p + .detail-stack, p + .tick-list { margin-top: 1.5rem; }
.hero-copy .lede, .page-hero-copy .lede, .contact-summary .lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-head { display: grid; gap: 2rem; max-width: 980px; margin-bottom: 3rem; }
.section-head .lede { max-width: none; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .55rem; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.15rem; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: .96rem; font-weight: 750;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,21,26,.18); }
.button.pink { border-color: var(--pink); background: var(--pink); color: var(--ink); }
.button.ghost { background: transparent; color: var(--ink); }
.text-link { color: var(--pink); font-weight: 760; text-decoration-thickness: 2px; }
.section-head > .button { width: fit-content; justify-self: start; margin-top: .55rem; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 112px; padding-block: .7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 145px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; }
.desktop-nav a { font-size: .95rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.desktop-nav a:not(.button):hover, .desktop-nav a:not(.button)[aria-current="page"] { color: var(--pink); }
.menu-toggle { display: none; border: 0; background: transparent; padding: .55rem; font: inherit; font-weight: 800; }
.menu-icon { position: relative; display: block; width: 25px; height: 16px; border-block: 2px solid currentColor; }
.menu-icon::after { content: ""; position: absolute; left: 0; top: 5px; width: 25px; border-top: 2px solid currentColor; }
.mobile-nav { display: none; }

.hero { padding-block: clamp(4.5rem, 9vw, 8rem); overflow: hidden; background: linear-gradient(135deg, var(--blush) 0%, var(--soft) 100%); }
.hero .eyebrow, .page-hero .eyebrow, .contact-hero .eyebrow { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 2rem; }
.hero-copy h1 { max-width: none; font-size: clamp(2.65rem, 5.4vw, 4.8rem); }
.hero-copy h1 em, .page-hero-copy h1 em, .contact-summary h1 em { color: var(--pink); font-style: normal; }
.keep-together { white-space: nowrap; }
.hero-image-wrap { position: relative; }
.hero-image { width: 100%; aspect-ratio: 4 / 5; border-radius: 160px 160px 24px 24px; object-fit: cover; box-shadow: var(--shadow); }
.hero-note {
  position: absolute; right: -1rem; bottom: 2rem; width: min(250px, 70%); padding: 1rem 1.1rem;
  border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow);
  font-size: .9rem; font-weight: 700; line-height: 1.4;
}
.hero-note strong { display: block; color: var(--pink); font-size: 1.45rem; }
.hero-note.top-left { right: auto; bottom: auto; left: -1rem; top: 2rem; }

.trust-strip { border-block: 1px solid var(--line); background: var(--soft); }
.trust-inner { padding-block: 1.45rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
.trust-label { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.trust-logos { display: flex; align-items: center; justify-content: space-around; gap: clamp(1rem, 4vw, 3rem); min-width: 0; }
.trust-logos img { width: auto; max-width: 128px; height: 42px; min-width: 0; flex: 0 1 auto; object-fit: contain; filter: grayscale(1); opacity: .58; mix-blend-mode: multiply; }
.trust-logos img:nth-child(3) { height: 30px; }
.trust-logos img:nth-child(5) { height: 48px; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience-card {
  min-height: 330px; padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: white;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.audience-card:hover { transform: translateY(-5px); border-color: var(--pink); box-shadow: var(--shadow); }
.card-number { margin-bottom: 1rem; color: var(--pink); font-size: .8rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.audience-card h3 { margin-bottom: .8rem; }
.audience-card p { flex: 1; margin-bottom: 1.35rem; color: var(--muted); }

.story-section { background: var(--ink); color: white; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.story-section .eyebrow { color: var(--apple); }
.eyebrow.apple { color: var(--apple); } /* used on the thank-you page */
.story-section .lede { color: #d4d4d8; }
.story-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); align-self: start; }
.story-photo.tall { aspect-ratio: 4 / 5; }
.proof-grid.stack { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.proof-grid.stack .proof { padding: 1.4rem 0; }
.photo-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-self: start; }
.photo-grid-2 img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.photos-first .photo-grid-2 { align-self: start; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.proof { padding: 1.4rem; border-top: 1px solid #55555a; }
.proof strong { display: block; font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif; color: var(--pink); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.proof span { display: block; margin-top: .8rem; color: #d4d4d8; }
.proof-grid.light { margin-top: 1rem; }
.proof-grid.side { margin-top: 0; gap: .5rem; align-self: start; }
.proof-grid.side .proof { padding: 1.2rem .6rem 0 0; }
.proof-grid.side .proof strong { font-size: clamp(2rem, 3vw, 2.6rem); }
.split.photo-third { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.story-photo.square { aspect-ratio: 1; }
.proof-grid.light .proof { border-top-color: var(--line); }
.proof-grid.light .proof span { color: var(--muted); }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
blockquote { margin: 0; padding: 1.6rem; border-radius: var(--radius); background: var(--blush); display: flex; flex-direction: column; }
.quote-grid blockquote { margin-top: 0; }
blockquote + blockquote { margin-top: 1rem; }
.quote-grid blockquote + blockquote { margin-top: 0; }
.section-soft blockquote { background: white; border: 1px solid var(--line); }

blockquote footer { margin-top: auto; padding-top: 1.25rem; color: var(--muted); font-size: .9rem; }

.cta-band { margin-bottom: clamp(4rem, 8vw, 7rem); }
.section-soft + .cta-band { padding-top: clamp(4rem, 8vw, 7rem); } /* breathing room when the pink box follows a grey section */
.cta-inner {
  padding: clamp(2rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1fr; justify-items: start; gap: 1.6rem;
  border-radius: 28px; background: var(--pink); color: white;
}
.cta-inner p { margin-top: 2rem; max-width: 640px; color: white; font-weight: 600; }
.cta-inner .button { border-color: white; background: white; color: var(--ink); }
.cta-inner .button.ghost { background: transparent; color: white; }
.cta-inner .button-row { margin-top: 0; }

.page-hero { padding-block: clamp(4.5rem, 9vw, 8rem); background: linear-gradient(135deg, var(--blush) 0%, var(--soft) 100%); }
/* Inner page heroes use the same layout, title size and arched photo as the Home hero. */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-copy { display: grid; gap: 2rem; }
.page-hero h1, .contact-summary h1 { max-width: none; font-size: clamp(2.65rem, 5.4vw, 4.8rem); }
.page-hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 160px 160px 24px 24px; box-shadow: var(--shadow); }
.mini-nav { display: flex; flex-wrap: wrap; gap: .55rem; }
.mini-nav a { padding: .4rem .75rem; border: 1px solid #dcdcdc; border-radius: 999px; background: white; font-size: .88rem; font-weight: 700; text-decoration: none; }
.mini-nav a:hover { border-color: var(--pink); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature { padding: 1.55rem; border: 1px solid var(--line); border-radius: 18px; }
.feature h3 { margin-bottom: .65rem; }
.feature p { color: var(--muted); }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { counter-increment: steps; padding: 1.4rem 1.2rem; border-top: 3px solid var(--pink); background: var(--soft); }
.step::before { content: "0" counter(steps); display: block; margin-bottom: 1.2rem; color: var(--apple); font-weight: 850; }
.step p { margin-top: 1rem; color: var(--muted); }
.photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.5rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.photo-strip.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
/* Heading-only left column: one third for the heading, two thirds for the text. */
.split.thirds, .story-grid.thirds { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); } /* was 1:2; Emma Johnston, 10 November: equal halves, so text stops running across */
.tick-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.tick-list li { position: relative; padding-left: 1.8rem; color: var(--muted); }
.story-section .tick-list li { color: #d4d4d8; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--pink); }
.tick-list li::after { content: ""; position: absolute; left: 0; top: .3rem; width: 1.1rem; height: 1.1rem; background: white; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .7rem no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .7rem no-repeat; }
.tick-list.two-col { grid-template-columns: 1fr 1fr; gap: .6rem 2.5rem; }
.notice { padding: 1.2rem 1.3rem; border-left: 4px solid var(--pink); background: var(--soft); color: var(--muted); }
.recognition { padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.recognition span { color: var(--apple); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.recognition p { margin-top: .45rem; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.content-grid.numbered { counter-reset: cards; gap: 1.75rem; }
.content-grid.numbered .content-card { counter-increment: cards; padding: 1.9rem 1.75rem; }
.content-grid.numbered .content-card::before { content: "0" counter(cards); display: block; margin-bottom: 1rem; color: var(--apple); font-size: .8rem; font-weight: 850; letter-spacing: .1em; }
.content-card { padding: 1.55rem; border-top: 3px solid var(--pink); background: white; }
.content-card h3 { margin-bottom: 1rem; }
.content-grid.plain .content-card { padding: 0; border-top: 0; background: transparent; }
.content-card p { color: var(--muted); }
.content-card .tick-list { margin-top: 1rem; }
.content-grid.four { grid-template-columns: repeat(4, 1fr); }
.story-section .content-card { color: var(--ink); }
.story-section .content-card h3 { color: var(--ink); }
.story-section .section-head h2, .story-section .section-head .lede { color: white; }
.recognition-band { max-width: 820px; margin-inline: auto; text-align: center; display: grid; gap: 2rem; justify-items: center; }
.recognition-band h2 { font-size: clamp(2.4rem, 5vw, 4rem); }

.detail-stack { display: grid; gap: 1rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem clamp(2rem, 5vw, 4rem); }
h2 + .detail-grid, p + .detail-grid { margin-top: 2rem; }
.detail-row { padding: .2rem 0 .2rem 1.25rem; border-left: 3px solid var(--pink); }
.detail-row h3 { margin-bottom: .8rem; }
.detail-row p { color: var(--muted); }
.image-slot {
  min-height: 310px; padding: 1.5rem; display: flex; align-items: flex-end;
  border: 1px dashed #b5b5b9; border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23,21,26,.02), rgba(23,21,26,.05)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(23,21,26,.025) 18px 19px);
  color: var(--muted);
}
.image-slot span { max-width: 280px; font-size: .86rem; font-weight: 720; line-height: 1.45; }
.image-slot strong { display: block; margin-bottom: .25rem; color: var(--ink); font-size: 1rem; }
.image-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; }
.image-pair .image-slot:last-child { min-height: 240px; margin-top: 4rem; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.package { padding: 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.package.featured { border-color: var(--pink); box-shadow: 0 12px 30px rgba(23,21,26,.08); }
.package-label { display: block; margin-bottom: .8rem; color: var(--pink); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.package p { margin-top: .65rem; color: var(--muted); }
/* Case-study photo galleries and floor plans */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.plan { margin: 2.5rem 0 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.plan img { width: 100%; height: auto; }
.plan figcaption { margin-top: 1rem; color: var(--muted); }
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.15rem 2.5rem 1.15rem 0; cursor: pointer; font-weight: 760; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .35rem; top: 1rem; color: var(--pink); font-size: 1.45rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 0 1.25rem; color: var(--muted); }
.aside-card { padding: clamp(1.5rem, 4vw, 2.2rem); border-radius: var(--radius); background: var(--ink); color: white; }
.aside-card h3 { margin-bottom: .8rem; }
.aside-card p { color: #d4d4d8; }
.aside-card .button { margin-top: 1.25rem; }
.kicker-note { margin-top: 1rem; color: var(--muted); }
.kicker-note a, .detail-row a, .faq-list a, .notice a { color: var(--ink); font-weight: 700; }
.lede a { color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lede a:hover { color: var(--ink); }
.section-soft { background: var(--soft); }
.image-slot.wide { min-height: 220px; }
.form-note { padding: 1rem 1.1rem; border-left: 4px solid var(--apple); background: var(--soft); color: var(--muted); }
.contact-summary .form-note { margin-top: 3rem; font-size: .9rem; } /* smaller because it is an aside */
.form-hidden { display: none; }
.listing-panel { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; justify-items: start; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.listing-panel p { max-width: 640px; color: var(--muted); }

.contact-page-section { padding-block: clamp(3rem, 7vw, 6rem); background: linear-gradient(135deg, var(--blush) 0%, var(--soft) 100%); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-summary { display: grid; gap: 1rem; padding-top: 1rem; }
.contact-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list a { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); align-items: center; gap: .8rem; font-weight: 720; text-decoration: none; }
.contact-list a:hover { color: var(--pink); }
.contact-list a span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-list .contact-icon { width: 1.35rem; height: 1.35rem; background: var(--pink); }
.contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.contact-form h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 48px; padding: .72rem .85rem; border: 1px solid #cdcdd1; border-radius: 10px;
  background: white; color: var(--ink); font: inherit;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(166,217,87,.45); border-color: #86bd30; }
.contact-form .button { width: fit-content; cursor: pointer; }
.form-help { color: var(--muted); font-size: .84rem; }
.contact-icon { width: 1.6rem; height: 1.6rem; background: var(--apple); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon-link { display: inline-flex; align-items: center; gap: .55rem; }
.icon-link::before { content: ""; width: 1rem; height: 1rem; flex: 0 0 auto; background: var(--apple); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.phone-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M22 16.92v3a2 2 0 0 1-2.18 2A19.79 19.79 0 0 1 3.09 5.18 2 2 0 0 1 5.08 3h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.69 2.8a2 2 0 0 1-.45 2.11L9.05 10.9a16 16 0 0 0 6.05 6.05l1.27-1.27a2 2 0 0 1 2.11-.45c.9.33 1.84.56 2.8.69A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E"); }
.mobile-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 18h6' fill='none' stroke='black' stroke-linecap='round' stroke-width='2'/%3E%3C/svg%3E"); }
.email-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m22 7-10 7L2 7' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E"); }
.policy { max-width: 800px; }
.policy h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.policy p, .policy ul { color: var(--muted); }
.policy p { margin-top: .75rem; }
.policy ul { padding-left: 1.25rem; }

.site-footer { padding-block: 4rem 1.6rem; background: var(--ink); color: white; font-size: 1rem; }
/* Columns 2-4 are only as wide as their contents, 60px apart; column 1 takes the rest. */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, max-content); gap: 2.5rem 60px; }
.footer-brand { padding-right: 20px; }
.footer-brand img { width: 190px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 520px; margin-top: 1rem; color: #cfcfd3; text-wrap: pretty; }
.footer-title { margin-bottom: .85rem; color: var(--pink); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-links a { color: #ececee; text-decoration: none; }
.footer-links a:hover { color: var(--apple); text-decoration: none; }
.certificate-link { display: inline-block; margin-top: .8rem; color: white; font-size: .88rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid #3b3b3f; color: #a8a8ac; font-size: .82rem; }

@media (min-width: 921px) {
  .hero-copy, .page-hero-copy { padding-right: 25px; }
  .hero-image-wrap, .page-hero-grid > img { width: calc(100% - 25px); justify-self: end; }
}

/* The menu switches to the mobile version at 920px, as in v17. */
@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .65rem; }
  .mobile-nav {
    position: fixed; inset: 112px 0 0; padding: 1.25rem; background: white;
    flex-direction: column; gap: .3rem; overflow-y: auto;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 1rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 750; text-decoration: none; }
  .mobile-nav a:not(.button)[aria-current="page"] { color: var(--pink); }
  .mobile-nav .button { margin-top: .8rem; border-bottom: 2px solid var(--pink); }
  .mobile-nav .button:hover { transform: none; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { max-width: 540px; }
  .hero-image, .page-hero img { aspect-ratio: 5 / 4; border-radius: var(--radius); }
  .page-hero img { max-width: 540px; }
  .audience-grid, .quote-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .audience-card { min-height: 250px; }
  .story-grid, .split, .image-pair, .split.thirds, .story-grid.thirds { grid-template-columns: 1fr; }
  .image-pair .image-slot:last-child { margin-top: 0; }
  .content-grid, .content-grid.four, .package-grid, .detail-grid { grid-template-columns: 1fr; }
  .tick-list.two-col { grid-template-columns: 1fr; }
  .photos-first .photo-grid-2 { order: 2; }
  .photo-grid-2.six img:nth-child(n+5) { display: none; }
  .photo-strip.four { grid-template-columns: 1fr 1fr; }
  .story-photo.tall { aspect-ratio: 4 / 3; }
  .split.photo-third { grid-template-columns: 1fr; }
  .story-photo.square { max-width: 320px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { padding-right: 0; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 1.35rem), var(--max)); }
  .header-inner { min-height: 94px; padding-block: .65rem; }
  .brand img { width: 120px; }
  .mobile-nav { inset-block-start: 94px; }
  .hero-copy h1, .page-hero h1, .contact-summary h1 { max-width: none; font-size: clamp(2.35rem, 11.5vw, 3.45rem); }
  .trust-inner { grid-template-columns: 1fr; gap: .8rem; }
  .trust-logos { justify-content: space-between; gap: .6rem; }
  .trust-logos img { max-width: 72px; height: 30px; }
  .trust-logos img:nth-child(5) { height: 34px; }
  .feature-grid, .proof-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .hero-note { right: .5rem; bottom: .5rem; }
  .hero-note.top-left { left: .5rem; top: .5rem; }
}

@media (max-width: 360px) {
  .hero-copy h1, .page-hero h1, .contact-summary h1 { font-size: 2.15rem; }
}

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

/* "Message the team" bubble (assets/chat.js) */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-launcher {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: inline-flex; align-items: center; gap: .6rem;
  min-height: 56px; padding: .8rem 1.2rem; border: 0; border-radius: 999px; background: var(--pink); color: var(--ink);
  box-shadow: var(--shadow); font: inherit; font-size: .96rem; font-weight: 750; cursor: pointer;
}
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher-icon { width: 1.4rem; height: 1.4rem; background: currentColor; -webkit-mask: var(--chat-icon) center / contain no-repeat; mask: var(--chat-icon) center / contain no-repeat;
  --chat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12Z'/%3E%3C/svg%3E"); }
body.menu-open .chat-launcher, body.chat-open .chat-launcher { display: none; }
.chat-panel {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 41; width: min(380px, calc(100vw - 2.5rem)); max-height: min(640px, calc(100vh - 2.5rem));
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); font-size: 1rem;
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: var(--ink); color: white; }
.chat-title { font-family: Outfit, Inter, sans-serif; font-size: 1.2rem; font-weight: 700; }
.chat-sub { color: #d4d4d8; font-size: .88rem; }
.chat-close { border: 0; background: transparent; color: white; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: grid; gap: .7rem; align-content: start; }
.chat-bubble { max-width: 88%; padding: .7rem .9rem; border-radius: 16px 16px 16px 4px; background: var(--soft); }
.chat-bubble a { color: var(--ink); font-weight: 700; }
.chat-me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--pink); color: var(--ink); font-weight: 600; }
.chat-chips, .chat-results, .chat-thread { display: flex; flex-wrap: wrap; gap: .45rem; }
.chat-thread { flex-direction: column; }
.chat-chip { padding: .45rem .8rem; border: 1px solid var(--pink); border-radius: 999px; background: white; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; text-align: left; }
.chat-chip:hover { background: var(--pink); }
.chat-search input, .chat-form input, .chat-form textarea { width: 100%; padding: .6rem .75rem; border: 1px solid #cdcdd1; border-radius: 10px; font: inherit; }
.chat-form { display: grid; gap: .5rem; padding: .9rem; border-radius: 16px; background: var(--soft); }
.chat-foot { padding: .8rem 1.1rem; border-top: 1px solid var(--line); }
.chat-foot[hidden] { display: none; }
.chat-foot .button { width: 100%; cursor: pointer; }
.chat-form[hidden] { display: none; }
.chat-form-title { font-weight: 750; }
.chat-form .button { width: 100%; cursor: pointer; }
.chat-small { color: var(--muted); font-size: .82rem; }
@media (max-width: 600px) {
  .chat-launcher { right: .75rem; bottom: .75rem; }
  .chat-launcher-label { display: none; }
  .chat-launcher { width: 56px; padding: 0; justify-content: center; }
  .chat-panel { right: 0; bottom: 0; width: 100vw; max-height: 88vh; border-radius: var(--radius) var(--radius) 0 0; }
}

/* Cookie choice (assets/consent.js) */
.cookie-banner {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 42; width: min(460px, calc(100vw - 2.5rem));
  display: grid; gap: .9rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: white; box-shadow: var(--shadow); font-size: 1rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--ink); font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .button { min-height: 44px; padding: .55rem 1.1rem; cursor: pointer; }
@media (max-width: 600px) {
  .cookie-banner { left: 0; bottom: 0; width: 100vw; border-radius: var(--radius) var(--radius) 0 0; }
  body.cookie-open .chat-launcher { display: none; }
}
