/* ==========================================================================
   Bay of Colours Painting Co. — prototype stylesheet

   1. Design tokens (colours, type, spacing) — change these first
   2. Base
   3. Layout
   4. Shared components (strip, header, buttons, footer)
   5. Home page sections
   6. About Us sections
   7. Contact Us sections
   8. Motion and utilities
   ========================================================================== */

/* 1. DESIGN TOKENS
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand colours, from the logo (docs/colourset.md) */
  --blue: #2a6de8;        /* heroes and banners */
  --blue-dark: #1a57cf;   /* testimonials band and footer: a step darker */
  --navy: #000cac;        /* headings, links, icons */
  --orange: #ef5d0f;      /* the one action colour: buttons */
  --yellow: #e9d909;      /* highlights on blue only */
  --green: #23f106;       /* thin lines and rings only */
  --red: #e61f0c;         /* headline full stops */

  /* Neutrals added for the site */
  --ink: #0b1437;         /* body text */
  --ink-soft: #4a5578;    /* secondary text */
  --sky: #e6eefc;         /* alternate section background */
  --sky-deep: #d6e3fa;
  --line: #dde6f6;
  --white: #ffffff;

  /* Type */
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fs-h1: clamp(2.5rem, 1.55rem + 4.4vw, 4.6rem);
  --fs-h2: clamp(1.95rem, 1.4rem + 2.5vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.45rem);
  --fs-lead: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* Spacing scale (8px grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  /* Page rhythm — phone values; tablet and desktop override below */
  --pad: 20px;            /* side padding */
  --section: 56px;        /* space above and below each section */
  --gap: 20px;            /* grid gap */
  --maxw: 1200px;
  --header-h: 96px;        /* header height at the top of the page */
  --header-h-small: 68px;  /* header height once the page scrolls */
  --logo: 78px;
  --logo-small: 54px;

  /* Header colours — change these three to try another header background */
  --header-bg: var(--white);
  --header-ink: var(--ink);
  --header-tint: var(--sky-deep);   /* hover and current-page pill */

  /* Shape and depth */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 55, 0.05), 0 6px 16px rgba(11, 20, 55, 0.06);
  --shadow-md: 0 2px 4px rgba(11, 20, 55, 0.05), 0 22px 48px -14px rgba(11, 20, 55, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 640px) {
  :root {
    --pad: 32px;
    --section: 80px;
    --gap: 24px;
    --header-h: 122px;
    --header-h-small: 98px;
    --logo: 104px;
    --logo-small: 85px;
  }
}
@media (min-width: 1024px) {
  :root {
    --pad: 48px;
    --section: 112px;
    --gap: 28px;
    --fs-body: 1.125rem;
  }
}

/* 2. BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-small) + 22px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--navy);
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-blue :focus-visible {
  outline-color: var(--white);
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--solid {
  fill: currentColor;
  stroke: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* 3. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: var(--section);
}
.section--sky {
  background: var(--sky);
}
.section--blue {
  background: var(--blue-dark) url("../images/pattern-tools.svg") 0 0 / 380px;
  color: var(--white);
}
.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--s-6);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
  color: var(--ink-soft);
}
.section--blue .section-head p {
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 1024px) {
  .section-head {
    margin-bottom: var(--s-7);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--s-4);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: var(--pill);
  background: var(--blue);
}
.on-blue .eyebrow {
  color: var(--white);
}
.on-blue .eyebrow::before {
  height: 2px;
  background: var(--green);
}

/* Roller-stroke underline: yellow, for headings on blue only */
.stroke {
  white-space: nowrap;
  padding-bottom: 0.06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M4 11C52 3 118 15 170 8s92-1 126 3' fill='none' stroke='%23e9d909' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat 0 100% / 100% 0.3em;
}
/* The headline full stop, echoing "CO." in the logo */
.dot {
  color: var(--red);
}

.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
  }
  .split--wide-copy {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.prose > * + * {
  margin-top: var(--s-4);
}
.prose .lead {
  font-size: var(--fs-lead);
  color: var(--ink);
}
.prose p {
  color: var(--ink-soft);
}
.prose h2 + p,
.prose h2 + .lead {
  margin-top: var(--s-5);
}
.prose .btn-row {
  margin-top: var(--s-6);
}

/* 4. SHARED COMPONENTS
   ========================================================================== */

/* Five-colour strip, in logo order. The only place all colours meet. */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 6px;
}
.strip span:nth-child(1) { background: var(--navy); }
.strip span:nth-child(2) { background: var(--yellow); }
.strip span:nth-child(3) { background: var(--green); }
.strip span:nth-child(4) { background: var(--orange); }
.strip span:nth-child(5) { background: var(--red); }

/* Header */
/* The header keeps its full height reserved in the page, so nothing below
   jumps when the visible bar shrinks on scroll. The colour strip sits on the
   bar and stays on screen. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(var(--header-h) + 6px);
  pointer-events: none;
}
.header-bar {
  position: relative;
  pointer-events: auto;
  background: var(--header-bg);
  color: var(--header-ink);
  transition: box-shadow 0.3s;
}
.site-header.is-stuck .header-bar {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 20, 55, 0.35);
}
.site-header :focus-visible {
  outline-color: var(--header-ink);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}
.site-header.is-stuck .header-inner {
  height: var(--header-h-small);
}
.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}
.brand img {
  width: var(--logo);
  height: var(--logo);
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.is-stuck .brand img {
  width: var(--logo-small);
  height: var(--logo-small);
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--header-tint);
  color: var(--header-ink);
  cursor: pointer;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle .bars {
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 8px var(--pad) 24px;
  background: var(--header-bg);
  box-shadow: 0 24px 40px -20px rgba(11, 20, 55, 0.35);
}
.nav.is-open {
  display: flex;
}
.nav a {
  padding: 16px 4px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--header-ink);
  border-bottom: 1px solid var(--header-tint);
}
.site-header .header-call {
  display: none;
}
@media (min-width: 640px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .nav a {
    padding: 10px 16px;
    font-size: 1.0625rem;
    font-weight: 600;
    border: 0;
    border-radius: var(--pill);
    transition: background 0.2s, color 0.2s;
  }
  .nav a:hover,
  .nav a[aria-current="page"] {
    background: var(--header-tint);
  }
}
@media (min-width: 880px) {
  .site-header .header-call {
    display: inline-flex;
    margin-left: var(--s-2);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm {
  min-height: 46px;
  padding: 0 20px;
  font-size: 1rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.text-link .icon {
  transition: transform 0.25s var(--ease);
}
.text-link:hover .icon {
  transform: translateX(4px);
}

/* Sun rays from the logo, used behind blue heroes */
.rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-conic-gradient(
    from -4deg at var(--rx, 50%) var(--ry, 100%),
    rgba(255, 255, 255, 0.06) 0deg 5deg,
    transparent 5deg 10deg
  );
  -webkit-mask-image: radial-gradient(circle at var(--rx, 50%) var(--ry, 100%), #000 0, transparent 68%);
  mask-image: radial-gradient(circle at var(--rx, 50%) var(--ry, 100%), #000 0, transparent 68%);
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
  padding-block: 56px 64px;
}
.page-hero .rays {
  --rx: 88%;
  --ry: 110%;
}
.page-hero .container {
  position: relative;
}
.page-hero h1 {
  max-width: 15ch;
  color: var(--white);
}
.page-hero .lead {
  max-width: 34rem;
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.92);
}
.page-hero-scene {
  display: none;
}
@media (min-width: 640px) {
  .page-hero {
    padding-block: 80px 88px;
  }
  .page-hero .lead {
    max-width: min(34rem, 50%);
  }
  .page-hero-scene {
    display: block;
    position: absolute;
    right: -70px;
    bottom: -150px;
    width: 300px;
    aspect-ratio: 1;
  }
  .page-hero-scene::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 2px solid var(--green);
    border-radius: 50%;
  }
  .page-hero-scene img {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 1024px) {
  .page-hero {
    padding-block: 104px 112px;
  }
  .page-hero-scene {
    right: 4%;
    bottom: 0;
    width: clamp(330px, 35vw, 500px);
    transform: translateY(42%);
  }
}

/* Footer (with the closing call to action) */
.site-footer {
  position: relative;
  /* a step darker than the brand blue, so the logo's own blue disc shows */
  background: var(--blue-dark) url("../images/pattern-tools.svg") 0 0 / 380px;
  color: var(--white);
}
.footer-cta {
  padding-block: var(--section);
  text-align: center;
}
.footer-cta h2 {
  color: var(--white);
}
.footer-cta p {
  max-width: 34rem;
  margin: var(--s-5) auto 0;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.92);
}
.footer-cta .btn-row {
  justify-content: center;
  margin-top: var(--s-6);
}
.hairline {
  height: 2px;
  margin: 0;
  border: 0;
  background: var(--green);
}
.footer-grid {
  display: grid;
  gap: var(--s-7) var(--gap);
  padding-block: var(--s-7);
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.footer-brand img {
  width: 168px;
  height: 168px;
  flex: none;
}
.footer-brand strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.footer-brand span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.88);
}
.footer-col h3 {
  margin-bottom: var(--s-4);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-col li + li {
  margin-top: 10px;
}
.footer-col a {
  color: var(--white);
  text-decoration: none;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact .icon {
  margin-top: 0.2em;
}
.social {
  display: flex;
  gap: 12px;
}
.social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--white);
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.social a:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-3px);
}
.social .icon {
  width: 22px;
  height: 22px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px var(--s-5);
  justify-content: space-between;
  padding-block: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.7fr 1.2fr 0.9fr;
    padding-block: var(--s-8);
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-brand img {
    width: 236px;
    height: 236px;
    margin-top: -25px;
  }
}

/* Phone-only call bar */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px -12px rgba(11, 20, 55, 0.4);
}
.callbar .btn {
  width: 100%;
  min-height: 50px;
}
body {
  padding-bottom: 70px;
}
@media (min-width: 640px) {
  .callbar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* 5. HOME PAGE
   ========================================================================== */

/* Hero — the business card: blue field, green line, white type */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
  padding-block: 48px 120px;
}
.hero .rays {
  --rx: 50%;
  --ry: 78%;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
}
.hero .lead {
  max-width: 33rem;
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.93);
}
.hero .btn-row {
  margin-top: var(--s-6);
}
.hero-art {
  position: relative;
  width: min(100%, 360px);
  margin-inline: auto;
}
.hero-ring {
  position: relative;
  aspect-ratio: 1;
}
.hero-ring::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid var(--green);
  border-radius: 50%;
}
.hero-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero-badge {
  position: absolute;
  left: -5%;
  bottom: -7%;
  width: 40%;
  filter: drop-shadow(0 14px 22px rgba(0, 12, 110, 0.4));
}
@media (min-width: 640px) {
  .hero {
    padding-block: 72px 148px;
  }
  .hero-art {
    width: min(100%, 420px);
  }
}
@media (min-width: 1024px) {
  .hero {
    padding-block: 96px 176px;
  }
  .hero .rays {
    --rx: 76%;
    --ry: 50%;
  }
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 64px;
  }
  .hero-art {
    width: min(100%, 500px);
    margin-right: 0;
  }
  /* the card's green line, running off the ring to the edge of the screen */
  .hero-art::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    width: 50vw;
    height: 2px;
    background: var(--green);
  }
}

/* Trust strip, overlapping the hero */
.trust {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}
.trust-card {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.trust-item .badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
}
.trust-item .icon {
  width: 24px;
  height: 24px;
}
.trust-item strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
}
.trust-item span {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-small);
  line-height: 1.35;
  color: var(--ink-soft);
}
@media (min-width: 640px) {
  .trust-card {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
    padding: var(--s-6);
  }
}
@media (min-width: 1024px) {
  .trust-card {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: var(--s-6) var(--s-4);
  }
  .trust-item {
    padding-inline: var(--s-5);
  }
  .trust-item + .trust-item {
    border-left: 1px solid var(--line);
  }
}

/* Service swatches — paint chips, coloured in logo order */
.swatches {
  display: grid;
  gap: var(--gap);
}
.swatch {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.swatch:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
/* Coloured block: white icon and white heading on every colour */
.swatch-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--sw);
  color: var(--white);
}
.swatch-chip .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.9;
}
.swatch-chip h3 {
  color: var(--white);
  font-size: 1.4rem;
}
/* white needs a soft shadow to stay readable on the yellow and green blocks */
.swatch--yellow .swatch-chip .icon,
.swatch--green .swatch-chip .icon {
  filter: drop-shadow(0 1px 2px rgba(11, 20, 55, 0.5));
}
.swatch--yellow .swatch-chip h3,
.swatch--green .swatch-chip h3 {
  text-shadow: 0 1px 3px rgba(11, 20, 55, 0.5);
}
.swatch-body {
  padding: 20px 20px 24px;
}
.swatch-body p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.swatch--navy { --sw: var(--navy); }
.swatch--yellow { --sw: var(--yellow); }
.swatch--green { --sw: var(--green); }
.swatch--orange { --sw: var(--orange); }
.swatch--red { --sw: var(--red); }
.swatch--blue { --sw: var(--blue); }
@media (min-width: 640px) {
  .swatches {
    grid-template-columns: 1fr 1fr;
  }
  .swatch-chip {
    gap: 16px;
    padding: 26px 24px;
  }
  .swatch-chip .icon {
    width: 36px;
    height: 36px;
  }
  .swatch-chip h3 {
    font-size: 1.55rem;
  }
  .swatch-body {
    padding: 22px 24px 26px;
  }
}
@media (min-width: 1024px) {
  .swatches {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Before and after slider */
.compare {
  --pos: 50%;
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1032 / 1200;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  background: var(--sky-deep);
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.compare .is-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: rgba(11, 20, 55, 0.78);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.compare-tag--before { left: 16px; }
.compare-tag--after { right: 16px; }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000cac' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E")
    center / 26px no-repeat;
  box-shadow: 0 6px 18px rgba(11, 20, 55, 0.35);
  transform: translate(-50%, -50%);
}
.compare input {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare:has(input:focus-visible) {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}
.ticks {
  display: grid;
  gap: 12px;
  margin-top: var(--s-5);
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
}
.ticks .icon {
  margin-top: 0.18em;
  padding: 3px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  stroke-width: 3;
}

/* Speciality tiles */
.tiles {
  display: grid;
  gap: var(--gap);
}
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--r);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 20, 55, 0) 30%, rgba(11, 20, 55, 0.55) 62%, rgba(11, 20, 55, 0.92) 100%);
}
.tile:hover img {
  transform: scale(1.06);
}
.tile-body {
  padding: 22px;
}
.tile h3 {
  color: var(--white);
}
.tile p {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
}
@media (min-width: 640px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
  .tile {
    aspect-ratio: 4 / 5;
  }
}
@media (min-width: 1024px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .tile-body {
    padding: 28px;
  }
}

/* Work gallery */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.work {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: var(--sky-deep);
  cursor: zoom-in;
}
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work:hover img {
  transform: scale(1.07);
}
.work-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(11, 20, 55, 0.88));
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .work-grid {
    gap: 20px;
  }
  .work {
    border-radius: var(--r);
  }
  .work-cap {
    padding: 48px 18px 16px;
    font-size: 0.9375rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .work:hover .work-cap,
  .work:focus-visible .work-cap {
    opacity: 1;
    transform: none;
  }
}

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(7, 12, 40, 0.95);
  color: var(--white);
}
.lightbox::backdrop {
  background: rgba(7, 12, 40, 0.95);
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox figure {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: min(92vw, 1100px);
}
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--r-sm);
}
.lightbox figcaption {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(7, 12, 40, 0.6);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lb-btn:hover {
  background: var(--white);
  color: var(--ink);
}
.lb-btn .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; bottom: 16px; }
.lb-next { right: 12px; bottom: 16px; }
.lightbox :focus-visible {
  outline-color: var(--white);
}
@media (min-width: 900px) {
  .lb-prev { left: 24px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-next { right: 24px; top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* Testimonials */
.quotes {
  display: grid;
  gap: var(--gap);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(4px);
}
.stars {
  display: flex;
  gap: 4px;
  color: var(--yellow);
}
.stars .icon {
  width: 22px;
  height: 22px;
}
.quote blockquote {
  font-size: 1.125rem;
  line-height: 1.55;
}
.quote footer {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  line-height: 1.3;
}
.quote footer strong {
  display: block;
  font-weight: 700;
}
.quote footer span {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.85);
}
.sample-note {
  margin-top: var(--s-6);
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 300;
}
@media (min-width: 640px) {
  .quotes {
    grid-template-columns: 1fr 1fr;
  }
  .quotes > :last-child {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
  .quotes > :last-child {
    grid-column: auto;
  }
  .quote {
    padding: 32px;
  }
}

/* Framed photo with caption chip (Meet Jef, About) */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

/* 6. ABOUT US
   ========================================================================== */

.byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-4);
  padding: 8px 18px 8px 8px;
  border-radius: var(--pill);
  background: var(--sky);
  color: var(--navy);
  font-size: var(--fs-small);
  font-weight: 700;
}
.byline img {
  width: 34px;
  height: 34px;
}
.frame--portrait {
  max-width: 460px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}
.life {
  margin-top: var(--s-7);
}
.life h3 {
  margin-bottom: var(--s-5);
}
.life-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.life-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s var(--ease);
}
.life-grid li:hover img {
  transform: scale(1.03) rotate(-1deg);
}
@media (min-width: 640px) {
  .life-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .life {
    margin-top: var(--s-8);
  }
  .life-grid {
    gap: 20px;
  }
  .life-grid img {
    border-radius: var(--r);
  }
}

.promises {
  display: grid;
  gap: var(--gap);
}
.promise {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
/* one logo colour per card, as on the contact cards */
.promise:nth-child(1) { --c: var(--orange); }
.promise:nth-child(2) { --c: var(--red); }
.promise:nth-child(3) { --c: var(--blue); }
.promise h3 {
  color: var(--c);
}
.promise-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--s-5);
  border-radius: 50%;
  background: var(--c);
  color: var(--white);
}
.promise-icon .icon {
  width: 24px;
  height: 24px;
}
.promise p {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--ink-soft);
}
@media (min-width: 1024px) {
  .promises {
    grid-template-columns: repeat(3, 1fr);
  }
  .promise {
    padding: 36px 32px;
  }
}

.collage {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  padding: 7% 7% 9% 0;
}
.collage .art {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  border: 6px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.collage .art--one {
  top: 0;
  right: 0;
}
.collage .art--two {
  right: 16%;
  bottom: 0;
  width: 28%;
}

/* 7. CONTACT US
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--s-8);
  }
}
.contact-cards {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.contact-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
/* one logo colour per card */
.contact-card:nth-child(1) { --c: var(--orange); }
.contact-card:nth-child(2) { --c: var(--red); }
.contact-card:nth-child(3) { --c: var(--blue); }
a.contact-card:hover {
  box-shadow: var(--shadow-md);
}
.contact-card .badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--c);
  color: var(--white);
}
.contact-card .icon {
  width: 26px;
  height: 26px;
}
.contact-card small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-card strong {
  display: block;
  margin-top: 2px;
  font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c);
  overflow-wrap: anywhere;
}
.note {
  display: flex;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding: 22px;
  border-radius: var(--r);
  background: var(--sky);
}
.note img {
  width: 52px;
  height: 52px;
  flex: none;
}
.note p {
  font-size: 1rem;
  color: var(--ink);
}
.note cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}

.form-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.form-card h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem);
}
.form-card > p {
  margin-top: 10px;
  color: var(--ink-soft);
}
.form {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-5);
}
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
}
.field label .opt {
  font-weight: 400;
  color: var(--ink-soft);
}
.req {
  color: var(--red);
  font-weight: 700;
}
.form-hint {
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 31, 12, 0.14);
}
.field-error {
  margin-top: 6px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #c41a0a;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid #c5d2ea;
  border-radius: var(--r-sm);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(42, 109, 232, 0.22);
}
.form .btn {
  width: 100%;
  margin-top: var(--s-2);
}
.form-status {
  display: none;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  border-radius: var(--r-sm);
  background: var(--sky);
  font-size: 1rem;
  font-weight: 600;
}
.form-status.is-shown {
  display: block;
}
@media (min-width: 640px) {
  .form-card {
    padding: 40px;
  }
  .form {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
  }
  .field--full,
  .form .btn,
  .form-status {
    grid-column: 1 / -1;
  }
  .form .btn {
    width: auto;
    justify-self: start;
  }
}
.map {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  background: var(--sky-deep);
}
.map iframe {
  width: 100%;
  height: 340px;
  border: 0;
}
@media (min-width: 1024px) {
  .map iframe {
    height: 460px;
  }
}

/* 8. MOTION AND UTILITIES
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
