/* ==========================================================================
   RP Advertising: site styles
   One stylesheet for every page. Sections are in this order:
   1. Settings (colours, fonts)   6. Cards, results, services, process
   2. Base                        7. Packages and guarantees
   3. Layout helpers              8. Videos and galleries
   4. Buttons                     9. About, reviews, FAQ, form
   5. Header, hero, stats        10. Footer, floating buttons, cookie banner
                                 11. Animations
   ========================================================================== */

/* 1. Settings ------------------------------------------------------------ */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours. Change these to restyle the whole site. */
  --navy: #0b2a5b;
  --navy-deep: #06142e;
  --cream: #f5f5f2;        /* soft off-white used behind alternate sections */

  --white: #ffffff;
  --accent: #1d5fd6;      /* the one accent colour, used for CTA buttons */
  --accent-dark: #174db0;
  --accent-soft: #9cc0ff; /* accent for small details on dark backgrounds */
  --accent-bright: #6ea8ff; /* solid blue that stays readable on dark backgrounds */
  --ink: #0e1a2f;         /* main text */
  --muted: #55617a;       /* secondary text */
  --line: rgba(11, 42, 91, 0.12);
  --whatsapp: #25d366;
  --instagram: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(7, 26, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 26, 58, 0.18);
  --header-h: 68px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-deep); }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--white); padding: 10px 16px; z-index: 200; }
.section--navy :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-soft); }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: #dbe4f3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--navy .section-head p { color: #b9c6dd; }
.eyebrow {
  display: inline-block; margin-bottom: 0.9rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy);
}
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent-soft); }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
/* Stops wide content pushing a column off the screen on phones */
.grid > *, .two-col > *, .hero__in > *, .lead > * { min-width: 0; }
/* The CTA that closes each section */
.section-cta { margin-top: clamp(2rem, 5vw, 3rem); text-align: center; }
.section-cta small { display: block; margin-top: 0.7rem; color: var(--muted); }
.section--navy .section-cta small { color: #b9c6dd; }

/* 4. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.6em; border: 2px solid var(--accent); border-radius: 10px;
  background: var(--accent); color: var(--white);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(29, 95, 214, 0.25);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--lg { font-size: 1.1rem; padding: 1.05em 1.9em; }
.btn--sm { font-size: 0.92rem; padding: 0.7em 1.2em; box-shadow: none; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--navy); box-shadow: none; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.section--navy .btn--ghost, .hero .btn--ghost { color: var(--white); }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* 5. Header, hero, stats ------------------------------------------------- */
#site-header { min-height: var(--header-h); position: sticky; top: 0; z-index: 50; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--navy-deep); font-weight: 600; font-size: 0.97rem; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--navy-deep); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* HERO (home page). One video, shown two ways:
   - Phones and tablets: it fills the whole hero behind the text, under a navy shade.
   - Desktop (900px and wider): text on the left, the video in a portrait frame on the right.
   The still image shows straight away; the video fades in over it once it
   is playing (site.js starts it after the page has loaded). */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  padding: clamp(3.5rem, 8vw, 4.5rem) 0 clamp(5rem, 11vw, 7.5rem);
  background: var(--navy-deep); color: #e6edf9;
}
.hero__in { width: 100%; }
.hero__text { position: relative; z-index: 1; max-width: 700px; }

/* The video (and the still image underneath it) */
.hero__bg { position: absolute; inset: 0; }
/* object-position chooses which part of the clip shows when it is cropped.
   Centred, so phones trim the top and bottom evenly (Robert, 14 Oct 2026) */
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__video { opacity: 0; transition: opacity 0.8s ease; }
.hero__video.is-playing { opacity: 1; }
/* Neutral dark shade over the video so the text on top stays readable (not navy: it tinted the footage blue on phones) */
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.58) 55%, rgba(0, 0, 0, 0.8)); }
.hero__credit { position: absolute; z-index: 1; right: 20px; bottom: 14px; margin: 0; font-size: 0.75rem; color: #b4c2dc; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }

/* The text */
.hero .eyebrow { margin-bottom: 1.1rem; font-size: 0.68rem; letter-spacing: 0.14em; }
.hero .eyebrow::before { display: none; }
.hero h1 { margin-bottom: 1.1rem; color: var(--white); font-size: clamp(2.25rem, 5.2vw + 1rem, 4.6rem); line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.hero__more { white-space: nowrap; }
.hero__sub { max-width: 35em; margin: 0; text-wrap: pretty; font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem); color: #d5deee; }
.hero__actions { display: flex; flex-direction: column; gap: 6px; margin-top: 1.9rem; }
.hero__actions .btn { min-height: 52px; }
.hero__note { margin: 1rem 0 0; font-size: 0.9rem; color: #b4c2dc; }
/* "See our work": a plain link beside the button, so there is only one button */
.hero__link { display: inline-flex; align-items: center; justify-content: center; gap: 0.45em; min-height: 48px; padding: 0 0.4em; color: var(--white); font-weight: 600; text-decoration: none; }
.hero__link span { transition: transform 0.2s ease; }
.hero__link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero__link:hover span { transform: translateX(4px); }

/* Phones: the hero is only as tall as its text, so the results below peek
   into the first screen. The margins here set the gaps between the pieces. */
@media (max-width: 799px) {
  .hero { padding: 2.25rem 0 3.4rem; }
  .hero .eyebrow { margin-bottom: 1.4rem; font-size: 0.68rem; letter-spacing: 0.11em; line-height: 1.9; }
  .eyebrow__dot { display: none; }
  .eyebrow__place { display: block; color: #c3cfe4; }
  /* Big three-line headline: as large as fits "More customers" on one line */
  .hero h1 { margin-bottom: 1.1rem; font-size: clamp(2.25rem, 11.4vw, 3.4rem); line-height: 1.04; }
  .hero__sub { font-size: 1.2rem; text-wrap: balance; } /* balance = no single word left on the last line */
  .hero__actions { margin-top: 1.8rem; }
  .hero__note { margin-top: 0.9rem; font-size: 0.95rem; }
}
/* Phones: the button and "See our work" under it, a little narrower than
   the full width of the screen */
@media (max-width: 639px) {
  .hero__actions { max-width: 300px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 640px) {
  .hero .eyebrow { font-size: 0.78rem; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
}

/* Desktop: text on the left, the video in a portrait frame on the right */
@media (min-width: 900px) {
  .hero { background: radial-gradient(900px 520px at 82% 18%, #10306a 0%, transparent 62%), linear-gradient(180deg, #050f24, var(--navy-deep)); }
  .hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); }
  .hero__bg { position: relative; inset: auto; justify-self: end; width: clamp(250px, 22vw, 300px); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14); }
  .hero__poster, .hero__video { object-position: 50% 50%; }
  /* Only a soft shade at the bottom of the frame, behind the caption */
  .hero__bg::after { background: linear-gradient(0deg, rgba(5, 15, 36, 0.7), transparent 24%); }
  .hero__credit { right: auto; left: 16px; bottom: 13px; color: #dbe4f3; }
}

/* Smaller hero used on inner pages */
.page-hero { background: var(--navy-deep); color: #c9d5ea; padding: clamp(2.5rem, 6vw, 4.5rem) 0; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

.stats { background: var(--white); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; text-align: center; }
.stat__num { display: block; font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 800px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.clients { padding: 1.6rem 0; text-align: center; }
.clients p { margin: 0 0 0.9rem; font-size: 0.92rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.clients ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.clients li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-weight: 600; font-size: 0.92rem; color: var(--navy-deep); }

/* 6. Cards, results, services, process ----------------------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.section--white .card { background: var(--cream); }

.result__tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.result__big { display: block; margin: 0.5rem 0 0.1rem; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.result__what { display: block; font-weight: 600; color: var(--navy-deep); margin-bottom: 1rem; }
.result ul { border-top: 1px solid var(--line); padding-top: 1rem; }
.result li, .ticks li { position: relative; padding-left: 1.6em; margin-bottom: 0.45em; color: var(--ink); font-size: 0.98rem; }
.result li::before, .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.result a { display: inline-block; margin-top: 0.8rem; font-weight: 700; }

.service__icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 12px; background: var(--navy); color: var(--accent-soft); }
.service__icon svg { width: 22px; height: 22px; }

.process { counter-reset: step; }
.process .card { position: relative; padding-top: 3.6rem; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.process .card p { color: #b9c6dd; }
.process .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 1.4rem; left: 1.6rem; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 800;
}

.two-col { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.ticks--lg li { font-size: 1.05rem; margin-bottom: 0.7em; }

/* 7. Packages and guarantees --------------------------------------------- */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan--popular { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 6px; background: var(--navy); color: var(--white); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.plan .plan__price { margin: 0.4rem 0 0.2rem; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1.1; }
.plan__price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
/* "Book a free 15-minute call" button under the package cards */
.plans__cta { margin: 1.8rem 0 0; text-align: center; }
.plan__spend { font-size: 0.92rem; font-weight: 600; color: var(--navy-deep) !important; }
.plan .ticks { margin: 1rem 0 1.5rem; flex: 1; }
.note { margin: 1.5rem auto 0; max-width: 760px; padding: 1rem 1.2rem; border-left: 4px solid var(--navy); border-radius: var(--radius-sm); background: var(--white); font-size: 0.98rem; }
.section--white .note { background: var(--cream); }
.addons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 1.5rem; }
.addons li { padding: 8px 16px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 0.95rem; }
.section--white .addons li { background: var(--cream); }

.badges { display: grid; gap: 14px; }
@media (min-width: 640px) { .badges { grid-template-columns: repeat(2, 1fr); } }
.badge { display: flex; gap: 14px; padding: 1.1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.badge svg { flex: none; width: 40px; height: 40px; color: var(--accent); }
.badge h3 { margin: 0 0 4px; font-size: 1rem; }
.badge p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

/* 8. Videos and galleries ------------------------------------------------ */
/* Video tile: thumbnail first, then our own MP4 fades in over it once it is
   playing (so there is never a black flash). */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer;
}
.video img, .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video img { transition: transform 0.4s ease; }
.video:hover img { transform: scale(1.04); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease;
}
.video:hover .video__play { transform: translate(-50%, -50%) scale(1.1); }
.video__play svg { width: 24px; height: 24px; margin-left: 3px; }
.video__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); color: #fff; font-size: 0.88rem; font-weight: 600; text-align: left; }
.video video { opacity: 0; transition: opacity 0.5s ease; background: transparent; }
.video.is-playing video { opacity: 1; }
.video.is-playing .video__play, .video.is-playing .video__label { display: none; }
/* Small speaker badge: shows whether sound is on */
.video__sound { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: none; place-items: center; border-radius: 50%; background: rgba(6, 20, 46, 0.55); color: #fff; backdrop-filter: blur(6px); transition: background-color 0.2s, transform 0.2s; }
.video__sound svg { width: 17px; height: 17px; }
.video.is-playing .video__sound { display: grid; }
.video:hover .video__sound { transform: scale(1.1); }
.video.has-sound .video__sound { background: var(--accent); }

/* Vertical videos: swipeable row on phones, grid on bigger screens */
.video-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 0 -20px; -webkit-overflow-scrolling: touch; }
.video-rail > * { scroll-snap-align: center; }
@media (min-width: 560px) { .video-rail { grid-auto-columns: 34%; } }
@media (min-width: 900px) {
  .video-rail { grid-auto-flow: row; grid-template-columns: repeat(var(--n, 5), 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; }
}
/* One or two videos inside a case study (Luxx) */
.video-pair { grid-auto-columns: calc((100% - 14px * (var(--n, 2) - 1)) / var(--n, 2)); margin: 0; padding: 0; }
@media (min-width: 900px) { .video-pair { grid-template-columns: repeat(var(--n, 2), 1fr); } }
.swipe-hint { text-align: center; font-size: 0.85rem; color: var(--muted); margin: 0.3rem 0 0; }
.section--navy .swipe-hint { color: #a9b8d3; }
@media (min-width: 900px) { .swipe-hint { display: none; } }

.shots { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); }
.shots--wide { grid-template-columns: 1fr; }
@media (min-width: 800px) { .shots--wide { grid-template-columns: 1fr 1fr; } }

/* Luxx case study */
/* Case study numbers: light tiles with a blue top line, navy numbers */
.case-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1.6rem 0 0.5rem; }
@media (min-width: 700px) { .case-meta { grid-template-columns: repeat(4, 1fr); } }
.case-meta div { padding: 1.1rem 0.8rem 1rem; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--cream); text-align: center; }
.case-meta strong { display: block; font-size: clamp(1.6rem, 6vw, 1.95rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.case-meta span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.case-sub { color: var(--muted); font-weight: 600; }
/* Hidden part of the case study, opened by the "Read the full case study" button */
.case-more:not([hidden]) { animation: case-open 0.4s ease both; }
@keyframes case-open { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.case-toggle { margin-top: 2rem; text-align: center; }
.case-video { max-width: 280px; margin: 0 auto; }
.case-video .video-pair { --n: 1; }
.case-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 1.4rem; }
.case-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) { .case-more:not([hidden]) { animation: none; } }
.case-block { margin-top: 2.2rem; }
.case-block h3 { font-size: 1.35rem; }

/* 9. About, reviews, FAQ, form ------------------------------------------- */
.photo { position: relative; aspect-ratio: 4 / 5; max-width: 500px; width: 100%; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* Shown until assets/robert.jpg exists */
.photo.is-empty img { display: none; }
/* Name label over the bottom of a photo */
.photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.7rem 0.55rem; color: #fff; font-size: 0.78rem; line-height: 1.25; background: linear-gradient(to top, rgba(6, 18, 43, 0.85), rgba(6, 18, 43, 0)); }
.photo-caption strong { display: block; font-size: 0.9rem; font-weight: 700; }
.photo.is-empty .photo-caption { display: none; }
@media (min-width: 800px) {
  .photo-caption { padding: 2.5rem 1.2rem 1rem; font-size: 0.95rem; }
  .photo-caption strong { font-size: 1.15rem; }
}
.photo.is-empty::after { content: "Photo of Robert coming soon"; position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; color: #b9c6dd; font-weight: 600; background: linear-gradient(160deg, #0f2f66, var(--navy-deep)); }

.review { display: flex; flex-direction: column; gap: 0.8rem; }
.review__stars { color: #d99a00; letter-spacing: 2px; }
.review__name { font-weight: 700; color: var(--navy-deep); }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: 1.05rem; color: var(--navy-deep); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 600; transition: transform 0.25s ease, background-color 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--white); }
/* While an answer is sliding closed, the icon turns back straight away */
.faq details[open].is-closing summary::after { transform: none; background: var(--navy); }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 65ch; }

.lead { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .lead { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; } }
.lead__intro p { color: #c9d5ea; font-size: 1.1rem; }
.lead__contact { margin-top: 1.5rem; display: grid; gap: 10px; }
.lead__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; text-decoration: none; }
.lead__contact a:hover { color: var(--accent-soft); }
.lead__contact svg { width: 20px; height: 20px; color: var(--accent-soft); flex: none; }

.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 2.2rem); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-size: 0.92rem; font-weight: 700; color: var(--navy-deep); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 0.8em 0.9em; border: 1.5px solid #cfd6e4; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; /* 16px stops iPhones zooming in */
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 42, 91, 0.15); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__consent { margin: 1rem 0; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.form__after { margin: 0.8rem 0 0; text-align: center; font-size: 0.88rem; color: var(--muted); }
.form__error { margin: 1rem 0 0; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: #fdecec; color: #8a1c1c; font-size: 0.95rem; }
/* The thank-you page has no sticky consultation bar: they have just enquired. */
body[data-page="thanks"] .cta-bar { display: none; }
.hp { position: absolute; left: -9999px; } /* spam trap, hidden from real people */

.contact-list { display: grid; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--navy-deep); transition: transform 0.2s, box-shadow 0.2s; }
.contact-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-list svg { width: 24px; height: 24px; color: var(--navy); flex: none; }
.contact-list small { display: block; font-weight: 500; color: var(--muted); }

/* Legal pages */
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.3em; }

/* 10. Footer, floating buttons, cookie banner ---------------------------- */
.site-footer { background: var(--navy-deep); color: #b9c6dd; padding: 3rem 0 1.5rem; font-size: 0.95rem; }
.site-footer a { color: #dbe4f3; text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 0.9rem; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer__brand { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 0.88rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #dbe4f3; cursor: pointer; }
.link-btn:hover { color: var(--accent-soft); }

/* Sticky "Get a Free Consultation" bar, phones only */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(7, 26, 58, 0.1); transition: transform 0.3s ease; }
.cta-bar .btn { flex: 1; padding: 0.85em 1em; }
.cta-bar__call { flex: none !important; width: 52px; padding: 0 !important; background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: none; }
.cta-bar__call svg { width: 20px; height: 20px; }
.cta-bar__ig, .cta-bar__ig:hover { background: var(--instagram); border-color: transparent; }
.cta-bar__ig svg { width: 24px; height: 24px; }
.cta-bar__wa, .cta-bar__wa:hover { background: #25d366; border-color: transparent; } /* WhatsApp green */
.cta-bar__wa svg { width: 22px; height: 22px; }
.cta-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 799px) { body { padding-bottom: 74px; } }
@media (min-width: 800px) { .cta-bar { display: none; } }

/* Floating Instagram DM button (desktop only) */
.ig { position: fixed; right: 16px; bottom: 20px; z-index: 41; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--instagram); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease, opacity 0.3s ease, visibility 0.3s; }
.ig:hover { transform: scale(1.08); }
/* Hidden at the top of the page; site.js shows it once the visitor scrolls down */
.ig.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
.ig svg { width: 28px; height: 28px; }
/* Phones: no floating circle. Instagram is a button in the sticky bar instead. */
@media (max-width: 799px) { .ig { display: none; } }

.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin: 0 auto; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 0.92rem; }
.cookie p { margin: 0 0 0.9rem; color: var(--ink); }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { flex: 1; box-shadow: none; padding: 0.7em 1em; background: var(--navy); border-color: var(--navy); color: var(--white); }
.cookie__actions .btn:hover { background: var(--navy-deep); }

/* 11. Animations --------------------------------------------------------- */
/* Fade and slide in on scroll. Only active when JavaScript is running. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* 12. Extra animations (added in version 1.3) ---------------------------- */
/* Everything here is switched off for visitors who ask for reduced motion
   (see the rule at the very end of this file). */

/* Hero text and video rise in one after another when the page opens */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.js .hero__text > *, .js .page-hero .container > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero__text > :nth-child(2), .js .page-hero .container > :nth-child(2) { animation-delay: 0.08s; }
.js .hero__text > :nth-child(3), .js .page-hero .container > :nth-child(3) { animation-delay: 0.16s; }
.js .hero__text > :nth-child(4), .js .page-hero .container > :nth-child(4) { animation-delay: 0.24s; }
.js .hero__text > :nth-child(5) { animation-delay: 0.32s; }
@media (min-width: 900px) { .js .hero__bg { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; } }
/* Pulsing ring around the play button */
.video__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.7); opacity: 0; } }

.section { overflow-x: clip; }
/* Smoother scroll-in, with cards arriving one after another */
.js .reveal { transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .grid > .reveal:nth-child(2), .js .badges > .reveal:nth-child(2), .js .shots > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .grid > .reveal:nth-child(3), .js .badges > .reveal:nth-child(3), .js .shots > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .grid > .reveal:nth-child(4), .js .badges > .reveal:nth-child(4), .js .shots > .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .badges > .reveal:nth-child(5) { transition-delay: 0.32s; }
.js .badges > .reveal:nth-child(6) { transition-delay: 0.4s; }
.js .grid > .reveal:nth-child(5) { transition-delay: 0.32s; }
.js .grid > .reveal:nth-child(6) { transition-delay: 0.4s; }
.js .grid > .reveal:nth-child(n+7) { transition-delay: 0.2s; }
/* Screenshots and ads zoom in slightly */
.js .shot.reveal { transform: scale(0.94); }
.js .shot.reveal.is-in { transform: none; }
/* Side-by-side blocks slide in from the left and right (bigger screens only) */
@media (min-width: 900px) {
  .js .two-col > .reveal:first-child, .js .lead > .reveal:first-child { transform: translateX(-36px); }
  .js .two-col > .reveal:last-child, .js .lead > .reveal:last-child { transform: translateX(36px); }
  .js .two-col > .reveal.is-in, .js .lead > .reveal.is-in { transform: none; }
}
/* Once a card has arrived, hovering reacts straight away */
.js .reveal.is-done { transition-delay: 0s !important; transition-duration: 0.25s; }

/* Light sweeping across buttons on hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s ease; pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }

/* Small touches on hover */
.service__icon { transition: transform 0.3s ease; }
.card:hover .service__icon { transform: rotate(-6deg) scale(1.1); }
.badge { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.badge svg { transition: transform 0.3s ease; }
.badge:hover svg { transform: scale(1.12); }
.process .card::before { transition: transform 0.3s ease; }
.process .card:hover::before { transform: scale(1.15); }
.shot img { transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.03); }

/* FAQ answers fade in when opened */
.faq details[open] p { animation: faq-fade 0.45s ease both; }
.faq details.is-closing p { opacity: 0; transition: opacity 0.2s ease; }
@keyframes faq-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Header gets a shadow once you start scrolling */
.site-header { transition: box-shadow 0.3s ease; }
#site-header.is-scrolled .site-header { box-shadow: 0 6px 24px rgba(6, 20, 46, 0.12); }

/* Client names scroll past slowly (switched on by site.js) */
.clients .container { overflow: hidden; }
/* site.js moves the bands, so they can be dragged sideways. touch-action keeps
   normal up and down page scrolling working when a finger starts on a band. */
.clients ul.is-marquee { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; will-change: transform; }
.clients ul.is-marquee.is-dragging { cursor: grabbing; }
.clients ul.is-marquee.is-reverse { margin-top: 10px; }
.clients ul.is-marquee li { margin-right: 10px; white-space: nowrap; }
.clients .container:has(.is-marquee) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .shot.reveal, .js .two-col > .reveal, .js .lead > .reveal { opacity: 1; transform: none; }
}

/* 13. Design polish (added in version 1.4) -------------------------------- */
/* Cooler off-white, a brighter blue with a soft gradient, and more depth. */
:root {
  --cream: #f4f6fa;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #93bbff;
  --line: rgba(11, 42, 91, 0.1);
  --shadow: 0 12px 32px rgba(6, 20, 46, 0.08);
  --shadow-lg: 0 30px 70px rgba(6, 20, 46, 0.22);
}

/* Frosted glass header */
.site-header { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(170%) blur(14px); backdrop-filter: saturate(170%) blur(14px); }
@media (max-width: 959px) { .nav { background: #fff; } }

/* Thin bar at the very top that fills as you scroll down the page */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), #7fb0ff); pointer-events: none; }

/* Buttons: gentle gradient and glow */
.btn:not(.btn--ghost):not(.cta-bar__call) { border-color: transparent; background: linear-gradient(135deg, #3b7bf6, #1d4ed8) border-box; box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32); }
.btn:not(.btn--ghost):not(.cta-bar__call):hover { box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45); filter: brightness(1.07); }
.cookie__actions .btn:not(.btn--ghost) { background: var(--navy); box-shadow: none; }

/* Dark sections, page headers and footer: the same soft blue glow, top right,
   as the desktop home hero. */
.page-hero, .section--navy { position: relative; overflow: hidden; }
.page-hero > .container, .section--navy > .container { position: relative; z-index: 1; }
.page-hero, .section--navy, .site-footer { background: radial-gradient(900px 520px at 82% 18%, #10306a 0%, transparent 62%), linear-gradient(180deg, #050f24, var(--navy-deep)); }
/* The enquiry form section: a touch lighter than the other dark sections. */
#consultation { background: radial-gradient(900px 520px at 82% 18%, #15387a 0%, transparent 62%), linear-gradient(180deg, #081a3a, #0a1f45); }

/* Small line before the labels above headings */
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 2px; margin-right: 10px; vertical-align: middle; background: currentColor; opacity: 0.55; }

/* Stats sit in a floating card that overlaps the section above */
@media (min-width: 800px) {
  .stats { position: relative; z-index: 2; margin-top: -3.4rem; padding: 0 20px; background: transparent; border: 0; }
  .stats__grid { max-width: 1120px; padding: 2rem 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); }
  .stats__grid > div + div { border-left: 1px solid var(--line); }
  .clients { padding-top: 2.4rem; }
}
.stat__num, .result__big { background: linear-gradient(135deg, var(--navy-deep) 20%, var(--accent) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cards: a soft light follows the mouse, and the edge picks up the accent */
.card { position: relative; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.35s ease; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(37, 99, 235, 0.12), transparent 60%); }
.card:hover::after { opacity: 1; }
.card:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 18px 40px rgba(6, 20, 46, 0.1); }
.process .card { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.process .card:hover { border-color: rgba(147, 187, 255, 0.5); }
.process .card::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(147, 187, 255, 0.16), transparent 60%); }
.plan--popular { border-color: var(--accent); box-shadow: 0 24px 60px rgba(37, 99, 235, 0.18); }
.plan__badge { background: linear-gradient(135deg, #3b7bf6, #1d4ed8); }
@media (min-width: 960px) { .plan--popular { transform: scale(1.03); } .js .plan--popular.reveal.is-in { transform: scale(1.03); } .plan--popular:hover { transform: scale(1.03) translateY(-4px); } }
/* Service icons match the guarantee badges: a plain blue icon, no dark box (Robert, 15 Oct 2026) */
.service__icon { background: none; color: var(--accent); box-shadow: none; place-items: start; }

/* The form gets more depth */
.form { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35); }
.video { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25); }

.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(147, 187, 255, 0.6), transparent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .progress { display: none; }
}

/* 14. Hero headline: the last word changes every few seconds ---------------- */
/* All the words sit on top of each other in one spot, so the space for the
   longest word is always reserved and nothing moves when the word changes. */
.rotate { display: inline-grid; justify-items: start; color: var(--accent-bright); }
.rotate > span { grid-area: 1 / 1; }
.rotate__size { visibility: hidden; }
.rotate__word { transition: opacity 0.4s ease, transform 0.4s ease; }
.rotate__word.is-out { opacity: 0; transform: translateY(0.3em); }

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

/* 15. Shorter, phone-first layout (added in version 1.11) ------------------ */
/* The home page is built to be read on a phone in a few swipes. */
@media (max-width: 799px) {
  .section { padding: 3rem 0; }
  .section-head { margin-bottom: 1.4rem; }
  .section-head p { font-size: 1rem; }
  h2 { font-size: 1.6rem; }
  .page-hero { padding: 2.25rem 0; }
  .page-hero p { font-size: 1rem; }
}

/* Stats: 2x2 with smaller numbers on phones */
@media (max-width: 799px) {
  .stats { padding: 1.25rem 0; }
  .stats__grid { gap: 1rem 0.75rem; }
  .stat__num { font-size: 1.5rem; }
  .stat__label { margin-top: 2px; font-size: 0.78rem; }
  .clients { padding: 1.1rem 0; }
}

/* Results: cards you swipe through on phones, a grid of three on desktop.
   Each card is 85% of the screen wide so the next one peeks in. */
.results-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(85vw, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.results-rail::-webkit-scrollbar, .video-rail::-webkit-scrollbar { display: none; }
.video-rail { scrollbar-width: none; }
.results-rail > * { scroll-snap-align: start; }
.results-rail .card { padding: 1.25rem; }
.results-rail .card:hover { transform: none; }
.results-rail h3 { margin: 0.35rem 0 0; font-size: 1.05rem; }
.results-rail .result__what { margin-bottom: 0; }
@media (min-width: 900px) {
  .results-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
  .results-rail .card { padding: 1.6rem; }
}
/* Results page: results grouped under small headings, compact cards with
   a "See details" toggle so every result is visible without swiping */
.results-group + .results-group { margin-top: 2.4rem; }
.results-group__title { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.results-group .grid { gap: 14px; }
.result--compact { padding: 1.15rem 1.25rem; }
.result--compact h3 { margin: 0.3rem 0 0.4rem; font-size: 1.15rem; }
.result__line { margin: 0; }
.result--compact .result__big { display: inline-block; margin: 0 0.35rem 0 0; font-size: 2.1rem; vertical-align: -0.12em; }
.result--compact .result__what { display: inline; margin: 0; }
.result-more { margin-top: 0.8rem; }
.result-more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.result-more summary::-webkit-details-marker { display: none; }
.result-more summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease; }
.result-more[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.result-more ul { margin-top: 0.7rem; padding-top: 0.8rem; }
.result-more a { margin-top: 0.3rem; }
/* Results page "Ads that brought in the leads": swipe on phones, a row of three on bigger screens */
.shots--rail { max-width: 940px; margin: 0 auto; }
@media (max-width: 799px) {
  .shots--rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shots--rail::-webkit-scrollbar { display: none; }
  .shots--rail > * { scroll-snap-align: start; }
}
/* Dots under the cards show which one you are on (phones only) */
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 2px; }
.dots span { width: 7px; height: 7px; border-radius: 4px; background: rgba(11, 42, 91, 0.2); transition: width 0.25s ease, background-color 0.25s ease; }
.dots span.is-on { width: 18px; background: var(--accent); }
@media (min-width: 900px) { .dots { display: none; } }

/* Small "see more" link that closes a section */
.more-link { margin: 1.1rem 0 0; text-align: center; font-size: 0.98rem; font-weight: 700; }
.more-link a { text-decoration: none; }
.more-link a:hover { text-decoration: underline; text-underline-offset: 4px; }
.section--navy .more-link a { color: var(--white); }

/* Work page: every video in a grid */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .video-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* Services: four small tiles, two by two */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 760px; margin: 0 auto; }
.tile { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.tile .service__icon { width: 34px; height: 34px; margin-bottom: 0.6rem; }
.tile .service__icon svg { width: 34px; height: 34px; }
.tile h3 { margin: 0 0 2px; font-size: 1rem; }
.tile p { margin: 0; font-size: 0.85rem; line-height: 1.35; color: var(--muted); }
@media (min-width: 800px) { .tiles { gap: 18px; } .tile { padding: 1.4rem; } .tile h3 { font-size: 1.1rem; } .tile p { font-size: 0.95rem; } }

/* About: small photo beside a few short lines */
/* The photo sets the height; the heading lines up with its top and the link with its bottom */
.about-mini { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.about-mini > div:last-child { display: flex; flex-direction: column; }
.about-mini .photo { max-width: none; margin: 0; aspect-ratio: 2 / 3; border-radius: 10px; box-shadow: var(--shadow); }
.about-mini .photo.is-empty::after { content: "Photo"; font-size: 0.78rem; }
.about-mini h2 { margin-top: -0.12em; font-size: 1.3rem; }
.about-mini p { margin-bottom: 0.5em; font-size: 0.98rem; }
.about-mini .more-link { margin-top: auto; margin-bottom: 0; padding-top: 0.7rem; line-height: 1; text-align: left; }
@media (min-width: 800px) {
  .about-mini { grid-template-columns: 440px minmax(0, 1fr); gap: 3.5rem; max-width: 1040px; }
  .about-mini .photo { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
  .about-mini .photo.is-empty::after { content: "Photo of Robert coming soon"; font-size: 1rem; }
  .about-mini h2 { font-size: 2.4rem; }
  .about-mini p { font-size: 1.15rem; }
}

/* Guarantees: two columns, on phones too (six badges = three rows) */
.badges { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 639px) {
  .badge { flex-direction: column; gap: 8px; padding: 0.9rem; }
  .badge svg { width: 30px; height: 30px; }
  .badge h3 { font-size: 0.95rem; }
  .badge p { font-size: 0.84rem; }
}

/* FAQ and form, tighter on phones */
@media (max-width: 799px) {
  .faq summary { padding: 0.95rem 0; font-size: 1rem; }
  .faq details p { margin-bottom: 1rem; font-size: 0.98rem; }
  .lead { gap: 1.5rem; }
  .lead__contact { margin-top: 1rem; }
}

/* FAQ: the extra questions stay hidden until "More questions" is pressed
   (without JavaScript they simply all show) */
.js .faq__more:not(.is-open) { display: none; }
.more-btn { padding: 6px 4px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.more-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Videos sit one pixel past each edge of their tile, so no thin line of the
   thumbnail or background can show along the bottom. */
.video video { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }

/* Hero: the button, the "See our work" link and the note under them appear
   straight away instead of waiting their turn in the opening animation. */
.js .hero__text > .hero__actions, .js .hero__text > .hero__note { animation-duration: 0.3s; animation-delay: 0s; }

/* The closing call to action on the inner pages */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 620px; margin: 0 auto 1.4rem; }
.cta-band p { margin: 0 0 0.8rem; }
.cta-band small { color: #b9c6dd; }

/* Sticky bar on phones: the full button text on one line */
.cta-bar { gap: 8px; }
.cta-bar .btn { padding: 0.85em 0.6em; font-size: 0.98rem; white-space: nowrap; }
.cta-bar__call { width: 48px; }

/* Footer: two columns on phones so it stays short */
@media (max-width: 799px) {
  .site-footer { padding: 2.2rem 0 1.2rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .site-footer__bottom { margin-top: 1.6rem; }
}
.site-footer li { overflow-wrap: anywhere; }

/* Contact page on phones: heading, subheading, then the form straight away.
   The form's own intro is hidden here (the page heading already says it, and
   the phone, WhatsApp and email links are listed under the form). */
@media (max-width: 959px) {
  [data-page="contact"] .page-hero { padding: 1.6rem 0 1.2rem; }
  [data-page="contact"] .page-hero p { font-size: 1rem; }
  [data-page="contact"] #consultation { padding-top: 0.4rem; }
  [data-page="contact"] .lead__intro .eyebrow, [data-page="contact"] .lead__intro h2 { display: none; }
  [data-page="contact"] .lead__robert { margin: 0; font-size: 1rem; text-align: center; }
}
/* Contact page: the form sits close under the page heading */
[data-page="contact"] #consultation { padding-top: 0.4rem; }

/* Form section: the form comes first, then the phone, WhatsApp and email
   links under it. On the Contact page those links are hidden here because
   the "Other ways to reach us" list just below already has them. */
.lead__robert { margin: 0.9rem 0 0; color: #c9d5ea; font-size: 1.1rem; }
.lead__contact { margin-top: 0; }
[data-page="contact"] .lead__contact { display: none; }
@media (min-width: 960px) {
  /* Wide screens: the form on the left, the heading and links on the right */
  .lead { grid-template-columns: 1.15fr 0.85fr; grid-template-areas: "form intro" "form contact"; grid-template-rows: auto 1fr; row-gap: 1.5rem; }
  .lead__intro { grid-area: intro; }
  .lead > .form { grid-area: form; }
  .lead__contact { grid-area: contact; align-self: start; }
}
.field__hint { display: block; margin-top: 5px; font-size: 0.82rem; color: var(--muted); }
/* Less empty space under the form */
#consultation { padding-bottom: clamp(2rem, 5vw, 3.5rem); }

/* Footer on phones: compact. Each group is one short block with its links
   in a row (wrapping when needed) instead of one link per line. */
@media (max-width: 799px) {
  .site-footer { padding: 1.8rem 0 1rem; font-size: 0.92rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .site-footer__brand { font-size: 1.1rem; margin-bottom: 0.3rem; }
  .site-footer__grid p { margin: 0; }
  .site-footer h2 { margin-bottom: 0.4rem; font-size: 0.72rem; }
  .site-footer ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
  .site-footer li { margin: 0; }
  .site-footer__bottom { margin-top: 1.2rem; padding-top: 0.9rem; gap: 4px 16px; font-size: 0.82rem; }
}
.site-footer__email { white-space: nowrap; }

/* ==========================================================================
   SERVICES PAGE (version 1.24)
   ========================================================================== */
/* Top of page: left-aligned headline, buttons, then three proof numbers */
.svc-hero { text-align: left; padding: 2.4rem 0 2rem; }
.svc-hero h1 { margin-bottom: 0.8rem; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.svc-hero p { margin: 0; max-width: 34em; font-size: 1.1rem; color: #d5deee; }
.svc-hero__actions { display: flex; flex-direction: column; gap: 6px; max-width: 320px; margin-top: 1.6rem; }
.svc-hero__actions .btn { min-height: 52px; }
.svc-hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; max-width: 640px; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.svc-hero__num { display: block; font-size: clamp(1.45rem, 6.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; }
.svc-hero__label { display: block; margin-top: 4px; font-size: 0.8rem; line-height: 1.3; color: #b4c2dc; }
@media (min-width: 640px) {
  .svc-hero { padding: 4rem 0 3rem; }
  .svc-hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 28px; max-width: none; }
  .svc-hero__label { font-size: 0.9rem; }
}

/* Services: three groups. Phones stack them; wide screens put Content and
   Websites on the left and the bigger Ads group on the right. */
.svc-groups { display: grid; gap: 16px; }
.svc-group { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.svc-group .service__icon { width: 30px; height: 30px; margin-bottom: 0; place-items: center; }
.svc-group .service__icon svg { width: 28px; height: 28px; }
.svc-group h3 { margin: 0; font-size: 1.25rem; }
.svc-list { grid-column: 1 / -1; margin-top: 1rem; }
.svc-list li { padding: 0.8rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.svc-list li:first-child { padding-top: 0; border-top: 0; }
.svc-list li:last-child { padding-bottom: 0; }
.svc-list strong { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--navy-deep); }
@media (min-width: 960px) {
  .svc-groups { grid-template-columns: 1fr 2fr; grid-template-areas: "content ads" "web ads"; gap: 20px; }
  .svc-group:nth-child(1) { grid-area: content; }
  .svc-group--ads { grid-area: ads; align-content: start; }
  .svc-group:nth-child(3) { grid-area: web; }
  .svc-group--ads .svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .svc-group--ads .svc-list li:nth-child(2) { padding-top: 0; border-top: 0; }
  .svc-group--ads .svc-list li:nth-last-child(2) { padding-bottom: 0; }
}

/* Packages: tabs on phones and tablets show one package at a time.
   Without JavaScript all three simply stack. */
.plan-tabs { display: none; }
@media (max-width: 959px) {
  .js .plan-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 520px; margin: 0 auto 1.2rem; padding: 5px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
  .plan-tabs button { min-height: 52px; padding: 0.55rem 0.4rem; border: 0; border-radius: var(--radius-sm); background: transparent; font: inherit; font-weight: 700; line-height: 1.2; color: var(--muted); cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
  .plan-tabs button small { display: block; margin-top: 2px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.03em; white-space: nowrap; text-transform: uppercase; color: var(--accent); }
  .plan-tabs button[aria-selected="true"] { background: var(--white); color: var(--navy-deep); box-shadow: 0 4px 14px rgba(7, 26, 58, 0.1); }
  .js [data-tabs] .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .js [data-tabs] .plan:not(.is-active) { display: none; }
  .js [data-tabs] .plan__badge { display: none; } /* the tab already says "Most popular" */
  .js [data-tabs] .plan:hover { transform: none; }
  .js [data-tabs] .plan .ticks { margin-bottom: 0; }
}

/* Ad spend note and add-ons in one box under the packages */
.extras { max-width: 760px; margin: 1.4rem auto 0; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.extras p { margin: 0 0 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.extras h3 { margin: 0 0 0.35rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.extras li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; font-size: 0.95rem; }
.extras li strong { white-space: nowrap; color: var(--navy); }
@media (max-width: 959px) { .extras { max-width: 520px; } }

/* How it works: numbered timeline (down on phones, across on wide screens) */
.steps { counter-reset: step; max-width: 720px; margin: 0 auto; padding: 0; list-style: none; }
.steps li { position: relative; padding: 0 0 1.8rem 3.6rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 800;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.2);
}
.steps li::after { content: ""; position: absolute; left: 19px; top: 52px; bottom: 8px; width: 2px; background: rgba(156, 192, 255, 0.3); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 0.4rem 0 0.35rem; font-size: 1.15rem; }
.steps p { margin: 0; color: #b9c6dd; }
@media (min-width: 900px) {
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; max-width: none; }
  .steps li { padding: 4rem 0 0; }
  .steps li::after, .steps li:last-child::after { display: block; left: 58px; right: -1.5rem; top: 19px; bottom: auto; width: auto; height: 2px; }
  .steps li:last-child::after { display: none; }
}

/* Who we help (tags) and why paid ads work */
.svc-why { align-items: start; gap: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 1.1rem; }
.chips li { padding: 8px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; color: var(--navy-deep); }
.svc-why__note { margin: 0; color: var(--muted); }

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

/* White top of page (Services and Results): heading, smaller buttons and a stats row */
.svc-top { padding-top: clamp(2.2rem, 6vw, 4rem); }
.svc-top h1 { font-size: clamp(2rem, 7.5vw, 3rem); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.svc-top__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 24px; margin-top: 1.4rem; }
.svc-top__link { display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: none; }
.svc-top__link:hover { text-decoration: underline; text-underline-offset: 5px; }
.svc-top__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3rem); padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.svc-top__stats .stat__num { font-size: clamp(1.5rem, 6.5vw, 2.4rem); }
.svc-top__stats .stat__label { font-size: clamp(0.78rem, 2.8vw, 0.9rem); }
.svc-top__stats--4 { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.75rem; max-width: 900px; }
@media (min-width: 800px) { .svc-top__stats--4 { grid-template-columns: repeat(4, 1fr); } }

/* WORK PAGE (18 Nov 2026): client name and result line under each video,
   and the "Why they work" cards */
.work-video { margin: 0 0 10px; }
.work-video .video__label { display: none; } /* the name sits under the video instead */
.work-video figcaption { padding: 8px 2px 0; line-height: 1.3; }
.work-video figcaption strong { display: block; font-size: 0.92rem; color: var(--navy); }
.work-video figcaption span { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.work-point h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.work-point p { margin: 0; color: var(--muted); }
#why .more-link { margin-top: 2rem; }

/* ==========================================================================
   24 Nov 2026 (v1.31): wider desktop layout, even grids, contact page gaps,
   light colours kept in dark mode
   ========================================================================== */

/* Always show the site in its light colours. Without this, Chrome on Android
   ("auto dark mode") and some phone browsers recolour the page themselves,
   which can make text hard to read. Phones in dark mode still get a light site. */
:root { color-scheme: only light; }

/* Wider on desktop so pages don't feel narrow on big screens */
@media (min-width: 1200px) {
  .container { max-width: 1240px; }
  .container--narrow:not(.prose) { max-width: 1000px; }
  .section-head { max-width: 800px; }
  .faq { max-width: 1000px; }
}
@media (min-width: 960px) {
  /* Guarantees: 3 across (6 badges = 2 even rows) */
  .badges { grid-template-columns: repeat(3, 1fr); max-width: none; }
  /* Home "What we do": the 4 tiles in one row across the page */
  .tiles { grid-template-columns: repeat(4, 1fr); max-width: none; }
  /* Number rows under the white page tops */
  .svc-top__stats { max-width: 1000px; }
  .svc-top__stats--4 { max-width: 1100px; grid-template-columns: repeat(4, 1fr); }
}
[data-page="services"] .svc-who { max-width: 1000px; }

/* Services: Results and FAQ share the same background, so no double gap */
[data-page="services"] #faq { padding-top: 0; }

/* Results page: a group with only one card (Bookings and sales) uses the
   full width instead of leaving an empty spot beside it */
@media (min-width: 640px) {
  .results-group .grid > :only-child { grid-column: 1 / -1; }
}

/* Work page grid: 2 across on phones, 4 across from tablets up. With the
   "Your business next?" tile that is 8 tiles, so every row is full. */
@media (min-width: 640px) and (max-width: 959px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
.work-end { margin: 0 0 10px; display: flex; }
.work-end__in { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.6rem; padding: 1.2rem; aspect-ratio: 9 / 16; border-radius: var(--radius); background: var(--navy-deep) radial-gradient(120% 70% at 100% 0%, rgba(59, 123, 246, 0.35), transparent 60%); color: #c9d5ea; text-align: center; }
.work-end__title { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 800; line-height: 1.15; color: var(--white); }
.work-end__text { margin: 0 0 0.4rem; font-size: 0.9rem; }
.work-end .btn { padding: 0.75em 1.2em; font-size: 0.95rem; }

/* Form section on desktop: the heading and links on the right sit in the
   middle of the form's height, so there's no big empty gap under them */
@media (min-width: 960px) {
  .lead { grid-template-areas: "form ." "form intro" "form contact" "form ."; grid-template-rows: 1fr auto auto 1fr; align-items: start; }
}

/* Contact page: less white space between the page heading and the form,
   and the form no longer touches the top edge of the navy section */
[data-page="contact"] .svc-top { padding-bottom: clamp(1.2rem, 3vw, 2rem); }
[data-page="contact"] .svc-top .section-head { margin-bottom: 0; }
@media (min-width: 960px) { [data-page="contact"] #consultation { padding-top: 3.5rem; } }
.field[hidden] { display: none; }
/* Work grid: columns always the same width, end tile the same height as a video */
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.work-end { align-self: start; }
@media (max-width: 639px) { .work-end__in { padding: 0.8rem; } .work-end .btn { padding: 0.7em 0.9em; font-size: 0.88rem; white-space: nowrap; } }

/* 24 Nov 2026 (Robert): Work page end tile is white, not navy */
.work-end__in { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--muted); }
.work-end__title { color: var(--navy-deep); }

/* 24 Nov 2026 (Robert): Services "Ads and leads" icon and heading centred in their box on desktop */
@media (min-width: 960px) {
  .svc-group--ads { grid-template-columns: 1fr auto auto 1fr; }
  .svc-group--ads > .service__icon { grid-column: 2; }
  .svc-group--ads > h3 { grid-column: 3; }
  .svc-group--ads > .svc-list { grid-column: 1 / -1; }
}

/* 24 Nov 2026 (Robert): Home About on desktop: smaller photo, and the heading,
   line and "More about us" sit together in the middle beside it (no empty
   space under the line) */
@media (min-width: 800px) {
  .about-mini { grid-template-columns: 380px minmax(0, 1fr); align-items: center; }
  .about-mini .photo { aspect-ratio: 4 / 5; }
  .about-mini > div:last-child { display: block; }
  .about-mini .more-link { margin-top: 1.4rem; padding-top: 0; }
}

/* 24 Nov 2026 (Robert): Services on phones: smaller gap between "See all results" and the FAQ */
@media (max-width: 799px) { [data-page="services"] #results { padding-bottom: 1.6rem; } }

/* 24 Nov 2026 (Robert): Contact page on phones. "You'll deal directly with
   Robert..." moves up into the white top under the first line (same colour),
   so the navy section starts straight with the form. Desktop is unchanged. */
.contact-robert { display: none; }
@media (max-width: 959px) {
  [data-page="contact"] .contact-robert { display: block; margin-top: 0.6rem; }
  [data-page="contact"] .lead__intro { display: none; }
  [data-page="contact"] #consultation { padding-top: 1.5rem; }
}
/* Contact on phones: one line only ("Fill in the short form and Robert will get back to you within 24 hours.") */
@media (max-width: 959px) {
  [data-page="contact"] .contact-desktop { display: none; }
  [data-page="contact"] .contact-robert { margin-top: 0; }
}
