/* Barzinji & Co — logo palette: petrol teal + warm cream; page background eggshell */
:root {
  /* Matches the solid background in assets/logo.png */
  --colour-header-bg: #003b49;
  --colour-teal: #003b49;
  --colour-teal-dark: #002a34;
  --colour-teal-mid: #004a5a;
  --colour-cream: #fdf5e2;
  --colour-cream-muted: #e8dcc4;
  --colour-bg: #f4f1ea;
  --colour-surface: #faf7f1;
  --colour-text: #0f2429;
  --colour-text-muted: #3d545c;
  --colour-border: rgb(10 61 71 / 12%);
  --colour-accent-soft: rgb(253 245 226 / 35%);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgb(6 42 49 / 6%), 0 12px 40px rgb(6 42 49 / 8%);
  --shadow-hover: 0 8px 24px rgb(6 42 49 / 12%), 0 20px 50px rgb(6 42 49 / 10%);
  --header-h: 5rem;
  --max: 72rem;
  --space-section: clamp(4rem, 10vw, 6.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* Scroll-section reveal (GDK-style: long ease-out, lift + soft scale) */
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-reveal: 0.88s;
  --transition-fast: 0.2s var(--ease-out);
  --transition-med: 0.45s var(--ease-out);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--colour-text);
  background: var(--colour-bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--colour-teal);
  color: var(--colour-cream);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Scroll reveal — animate in only (replay each time section re-enters viewport) */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 2.5rem, 0) scale(0.97);
  transform-origin: 50% 80%;
  transition: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity var(--transition-reveal) var(--ease-reveal),
    transform var(--transition-reveal) var(--ease-reveal);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--colour-header-bg);
  border-bottom: 1px solid rgb(0 0 0 / 12%);
  transition: box-shadow var(--transition-fast), background var(--transition-fast);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgb(0 0 0 / 18%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-block: 0.5rem;
}

/* Extra inset so the logo is not flush to the viewport edge */
.site-header .header-inner {
  padding-left: clamp(1.5rem, 5vw, 3rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}

.logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.logo-mark:hover {
  opacity: 0.94;
  transform: scale(1.02);
}

/* Official logo PNG — full artwork unchanged; same header footprint as previous SVG */
.logo-img {
  display: block;
  height: clamp(3.2rem, 6.5vw, 4.75rem);
  width: auto;
  max-width: min(90vw, 24rem);
  object-fit: contain;
  object-position: left center;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
}

.site-nav a {
  position: relative;
  color: rgb(253 245 226 / 88%);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--colour-cream);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: var(--colour-cream);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--colour-cream);
  color: var(--colour-teal-dark) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(0 0 0 / 15%);
  filter: brightness(1.03);
  color: var(--colour-teal-dark) !important;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(253 245 226 / 25%);
  border-radius: var(--radius-sm);
  background: rgb(253 245 226 / 8%);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--colour-cream);
  border-radius: 1px;
  position: relative;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: linear-gradient(180deg, var(--colour-teal) 0%, var(--colour-teal-dark) 100%);
    border-bottom: 1px solid rgb(253 245 226 / 12%);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease, visibility 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgb(253 245 226 / 10%);
  }

  .site-nav li:last-child {
    border-bottom: 0;
    margin-top: 0.75rem;
  }

  .site-nav a {
    display: block;
    padding: 0.875rem 0;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 5.5rem) 0 calc(var(--space-section) + 2.5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--colour-teal-dark) 0%, var(--colour-teal) 42%, var(--colour-teal-mid) 100%);
  z-index: 0;
}

/* Fine dot grid + diagonal sheen */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgb(253 245 226 / 7%) 1px, transparent 1px),
    linear-gradient(
      125deg,
      transparent 0%,
      rgb(253 245 226 / 4%) 38%,
      transparent 62%
    );
  background-size: 28px 28px, 100% 100%;
  background-position: 0 0, 0 0;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 72% 18%, rgb(253 245 226 / 10%) 0%, transparent 52%),
    radial-gradient(ellipse 50% 45% at 8% 88%, rgb(0 42 49 / 35%) 0%, transparent 55%);
  pointer-events: none;
}

/* Decorative layer: soft orbs + thin rings (brand teal / cream) */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
}

.hero-blob--1 {
  width: min(52vw, 22rem);
  height: min(52vw, 22rem);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle at 35% 35%, rgb(253 245 226 / 22%) 0%, rgb(0 74 90 / 15%) 55%, transparent 70%);
  opacity: 0.9;
}

.hero-blob--2 {
  width: min(42vw, 16rem);
  height: min(42vw, 16rem);
  bottom: 8%;
  left: -10%;
  background: radial-gradient(circle at 60% 60%, rgb(0 59 73 / 45%) 0%, rgb(0 42 49 / 20%) 50%, transparent 72%);
  opacity: 0.85;
}

.hero-blob--3 {
  width: min(28vw, 11rem);
  height: min(28vw, 11rem);
  top: 42%;
  right: 6%;
  background: radial-gradient(circle, rgb(232 212 176 / 18%) 0%, transparent 68%);
  opacity: 0.75;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(253 245 226 / 14%);
}

.hero-ring--1 {
  width: min(70vw, 28rem);
  height: min(70vw, 28rem);
  top: -18%;
  right: -20%;
  opacity: 0.55;
}

.hero-ring--2 {
  width: min(45vw, 14rem);
  height: min(45vw, 14rem);
  bottom: -5%;
  left: -8%;
  border-color: rgb(0 42 49 / 35%);
  opacity: 0.65;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-blob--1,
  .hero-blob--2,
  .hero-blob--3 {
    animation: hero-blob-drift 22s ease-in-out infinite;
  }

  .hero-blob--2 {
    animation-duration: 26s;
    animation-delay: -4s;
  }

  .hero-blob--3 {
    animation-duration: 18s;
    animation-delay: -8s;
  }

  .hero-ring--1,
  .hero-ring--2 {
    animation: hero-ring-pulse 14s ease-in-out infinite;
  }

  .hero-ring--2 {
    animation-duration: 18s;
    animation-delay: -6s;
  }
}

@keyframes hero-blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(2%, -1.5%) scale(1.03);
  }

  66% {
    transform: translate(-1.5%, 2%) scale(0.98);
  }
}

@keyframes hero-ring-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.02);
  }
}

/* Blend hero into About section — long multi-stop fade (teal → eggshell → surface) */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(6rem, 20vw, 12rem);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 52%,
    rgb(0 59 73 / 6%) 64%,
    rgb(0 59 73 / 11%) 74%,
    rgb(244 241 234 / 0.28) 84%,
    rgb(250 247 241 / 0.82) 94%,
    var(--colour-surface) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: min(100% - 1.25rem, var(--max));
}

.hero-inner {
  --hero-bevel: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(1.35rem, 4vw, 2.15rem) clamp(1.15rem, 3vw, 2.5rem) clamp(1.6rem, 3.5vw, 2.2rem);
  padding-left: clamp(1.65rem, 4vw, 2.5rem);
  border-radius: 0;
  isolation: isolate;
  overflow: hidden;
  /* Bevel top-right — sharp editorial cut */
  clip-path: polygon(
    0 0,
    calc(100% - var(--hero-bevel)) 0,
    100% var(--hero-bevel),
    100% 100%,
    0 100%
  );
  background:
    linear-gradient(105deg, rgb(253 245 226 / 7%) 0%, transparent 46%),
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 13px,
      rgb(0 42 49 / 7%) 13px,
      rgb(0 42 49 / 7%) 14px
    ),
    linear-gradient(
      148deg,
      rgb(0 42 49 / 42%) 0%,
      rgb(0 59 73 / 20%) 46%,
      rgb(0 24 30 / 62%) 100%
    );
  border: 1px solid rgb(253 245 226 / 18%);
  box-shadow:
    6px 6px 0 rgb(232 212 176 / 14%),
    12px 12px 0 rgb(0 0 0 / 24%),
    0 1px 0 rgb(253 245 226 / 14%) inset,
    0 32px 64px rgb(0 0 0 / 22%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Hard left rail */
.hero-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  z-index: 1;
  background: linear-gradient(
    180deg,
    var(--colour-cream) 0%,
    var(--colour-cream-muted) 42%,
    rgb(0 30 38 / 95%) 100%
  );
  pointer-events: none;
}

/* Diagonal highlight on bevel */
.hero-inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(40%, 12rem);
  height: min(40%, 12rem);
  background: linear-gradient(
    225deg,
    rgb(253 245 226 / 18%) 0%,
    rgb(253 245 226 / 4%) 38%,
    transparent 62%
  );
  pointer-events: none;
  z-index: 1;
}

/* Continuous ambient motion behind intro copy (full panel, brand palette) */
.hero-inner-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 70% at 15% 35%, rgb(253 245 226 / 16%) 0%, transparent 52%),
    radial-gradient(ellipse 75% 60% at 88% 72%, rgb(0 74 90 / 42%) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 50% 50%, rgb(232 212 176 / 10%) 0%, transparent 60%),
    linear-gradient(
      118deg,
      var(--colour-teal-dark) 0%,
      var(--colour-teal-mid) 35%,
      var(--colour-teal) 65%,
      rgb(0 30 38 / 95%) 100%
    );
  background-size:
    180% 180%,
    180% 180%,
    140% 140%,
    280% 280%;
  background-position:
    0% 50%,
    100% 50%,
    50% 50%,
    0% 50%;
  opacity: 0.58;
}

.hero-inner-ambient::after {
  content: "";
  position: absolute;
  inset: -50% -80%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgb(253 245 226 / 9%) 48%,
    rgb(253 245 226 / 16%) 50%,
    rgb(253 245 226 / 7%) 52%,
    transparent 62%
  );
  transform: translateX(-18%) rotate(-12deg);
  animation: hero-ambient-sweep 11s ease-in-out infinite;
}

.hero-inner > :not(.hero-inner-ambient):not(.hero-inner-calc) {
  position: relative;
  z-index: 2;
}

/* Decorative calculator — behind copy, brand colours */
.hero-inner-calc {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: min(58%, 17.5rem);
  max-height: 78%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
}

.hero-inner-calc-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgb(0 0 0 / 25%));
  transform-origin: 70% 90%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner-calc-svg {
    animation: hero-calc-float 10s ease-in-out infinite;
  }

  /* Third & fourth <rect> in SVG are the screen accent lines */
  .hero-inner-calc-svg rect.calc-display-line:nth-of-type(3) {
    animation: hero-calc-display 4s ease-in-out infinite;
  }

  .hero-inner-calc-svg rect.calc-display-line:nth-of-type(4) {
    animation: hero-calc-display 4s ease-in-out infinite 0.35s;
  }

  .hero-inner-calc .calc-key {
    animation: hero-calc-key 2.8s ease-in-out infinite;
  }

  .hero-inner-calc .calc-key:nth-child(1) {
    animation-delay: 0s;
  }

  .hero-inner-calc .calc-key:nth-child(2) {
    animation-delay: 0.18s;
  }

  .hero-inner-calc .calc-key:nth-child(3) {
    animation-delay: 0.36s;
  }

  .hero-inner-calc .calc-key:nth-child(4) {
    animation-delay: 0.54s;
  }

  .hero-inner-calc .calc-key:nth-child(5) {
    animation-delay: 0.72s;
  }

  .hero-inner-calc .calc-key:nth-child(6) {
    animation-delay: 0.9s;
  }

  .hero-inner-calc .calc-key:nth-child(7) {
    animation-delay: 1.08s;
  }

  .hero-inner-calc .calc-key:nth-child(8) {
    animation-delay: 1.26s;
  }

  .hero-inner-calc .calc-key:nth-child(9) {
    animation-delay: 1.44s;
  }

  .hero-inner-calc .calc-key:nth-child(10) {
    animation-delay: 1.62s;
  }

  .hero-inner-calc .calc-key:nth-child(11) {
    animation-delay: 1.8s;
  }

  .hero-inner-calc .calc-key:nth-child(12) {
    animation-delay: 1.98s;
  }

  .hero-inner-calc .calc-key:nth-child(13) {
    animation-delay: 2.16s;
  }

  .hero-inner-calc .calc-key:nth-child(14) {
    animation-delay: 2.34s;
  }
}

@keyframes hero-calc-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-6px) rotate(-4deg);
  }
}

@keyframes hero-calc-display {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes hero-calc-key {
  0%,
  100% {
    fill: rgb(253 245 226 / 0.18);
    stroke: rgb(253 245 226 / 0.1);
  }

  35% {
    fill: rgb(253 245 226 / 0.52);
    stroke: rgb(253 245 226 / 0.28);
  }

  70% {
    fill: rgb(232 212 176 / 0.35);
    stroke: rgb(253 245 226 / 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner-calc-svg {
    animation: none;
    transform: rotate(-6deg);
  }

  .hero-inner-calc-svg rect.calc-display-line,
  .hero-inner-calc .calc-key {
    animation: none !important;
  }
}

@media (max-width: 520px) {
  .hero-inner-calc {
    width: min(48%, 10rem);
    right: -6%;
    bottom: -4%;
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner-ambient {
    animation: hero-ambient-drift 24s ease-in-out infinite;
  }
}

@keyframes hero-ambient-drift {
  0%,
  100% {
    background-position:
      0% 40%,
      100% 58%,
      45% 55%,
      0% 50%;
  }

  33% {
    background-position:
      85% 20%,
      15% 80%,
      60% 40%,
      70% 30%;
  }

  66% {
    background-position:
      40% 90%,
      60% 15%,
      55% 65%,
      35% 75%;
  }
}

@keyframes hero-ambient-sweep {
  0%,
  100% {
    transform: translateX(-22%) rotate(-12deg);
  }

  50% {
    transform: translateX(18%) rotate(-12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner-ambient,
  .hero-inner-ambient::after {
    animation: none !important;
  }

  .hero-inner-ambient {
    background-position: 50% 50%, 50% 50%, 50% 50%, 40% 50%;
    opacity: 0.5;
  }

  .hero-inner-ambient::after {
    opacity: 0;
  }
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(253 245 226 / 88%);
  border-left: 3px solid var(--colour-cream);
  background: linear-gradient(90deg, rgb(0 42 49 / 45%) 0%, transparent 88%);
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--colour-cream), rgb(253 245 226 / 15%));
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  line-height: 1.12;
  padding-bottom: 0.14em;
  letter-spacing: -0.035em;
  background: linear-gradient(
    165deg,
    var(--colour-cream) 0%,
    rgb(253 245 226 / 92%) 55%,
    rgb(232 212 176 / 88%) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgb(0 0 0 / 14%));
}

@supports not (background-clip: text) {
  .hero h1 {
    color: var(--colour-cream);
    -webkit-text-fill-color: var(--colour-cream);
    background: none;
    filter: drop-shadow(0 2px 20px rgb(0 0 0 / 14%));
  }
}

.lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: rgb(253 245 226 / 88%);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--colour-cream);
  color: var(--colour-teal-dark);
  box-shadow: 0 2px 12px rgb(0 0 0 / 12%);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  filter: brightness(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--colour-cream);
  box-shadow: inset 0 0 0 1.5px rgb(253 245 226 / 45%);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgb(253 245 226 / 10%);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section:nth-of-type(even) {
  background: var(--colour-surface);
}

.section-title {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--colour-teal-dark);
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--colour-text-muted);
  font-weight: 400;
}

.prose {
  margin: 0 0 1rem;
  color: var(--colour-text-muted);
  font-weight: 400;
}

.prose:last-child {
  margin-bottom: 0;
}

.small-print {
  font-size: 0.875rem;
  margin-top: 1.25rem !important;
}

.grid-2 {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* About stats */
.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-list li {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgb(253 245 226 / 55%) 0%, rgb(10 61 71 / 6%) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--colour-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.stat-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgb(10 61 71 / 18%);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  font-weight: 400;
}

/* Service cards */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.55rem 1.5rem 1.65rem;
  background: var(--colour-bg);
  border-radius: var(--radius);
  border: 1px solid var(--colour-border);
  box-shadow: 0 1px 0 rgb(255 255 255 / 80%) inset;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-fast);
}

.section-services .card {
  background: var(--colour-surface);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgb(10 61 71 / 16%);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--colour-text-muted);
  line-height: 1.55;
  font-weight: 400;
}

/* Pop heading — gradient + underline shimmer (team, about stats, services, buttons) */
.team-name,
.stat-list .stat-value,
.section-services .card h3,
.btn .pop-heading {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  padding: 0.2em 0.45em;
  border-radius: var(--radius-sm);
  z-index: 0;
  margin: 0;
  background: linear-gradient(
    115deg,
    var(--colour-teal-dark) 0%,
    var(--colour-teal) 42%,
    var(--colour-teal-mid) 58%,
    #9a7b52 85%,
    var(--colour-teal-dark) 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / 45%));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.stat-list .stat-value {
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 0.2em 0;
  box-sizing: border-box;
}

.stat-list .stat-label {
  display: block;
}

.section-services .card h3 {
  margin: 0 0 0.5rem;
}

.btn .pop-heading {
  font-size: inherit;
  font-weight: 700;
  padding: 0.05em 0;
  line-height: 1.35;
}

.btn-ghost .pop-heading {
  background: linear-gradient(
    115deg,
    var(--colour-cream) 0%,
    rgb(255 252 244 / 98%) 38%,
    var(--colour-cream-muted) 65%,
    rgb(184 149 110 / 92%) 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgb(0 0 0 / 15%));
}

.team-name::after,
.stat-list .stat-value::after,
.section-services .card h3::after,
.btn .pop-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--colour-teal-mid),
    var(--colour-cream-muted),
    var(--colour-teal-mid),
    transparent
  );
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.95;
  transition: transform var(--transition-med);
}

.team-row:hover .team-name,
.stat-list li:hover .stat-value,
.section-services .card:hover h3 {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 2px 6px rgb(0 59 73 / 18%)) drop-shadow(0 0 14px rgb(0 74 90 / 22%));
  animation: pop-heading-shimmer 1.15s ease-in-out 2;
}

.btn:hover .pop-heading,
.btn:focus-visible .pop-heading {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 2px 6px rgb(0 59 73 / 18%)) drop-shadow(0 0 14px rgb(0 74 90 / 22%));
  animation: pop-heading-shimmer 1.15s ease-in-out 2;
}

.btn-ghost:hover .pop-heading,
.btn-ghost:focus-visible .pop-heading {
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 18%)) drop-shadow(0 0 12px rgb(253 245 226 / 22%));
}

.team-row:hover .team-name::after,
.stat-list li:hover .stat-value::after,
.section-services .card:hover h3::after,
.btn:hover .pop-heading::after,
.btn:focus-visible .pop-heading::after {
  transform: scaleX(1);
}

@keyframes pop-heading-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-row:hover .team-name,
  .stat-list li:hover .stat-value,
  .section-services .card:hover h3,
  .btn:hover .pop-heading,
  .btn:focus-visible .pop-heading {
    transform: none;
    animation: none;
  }
}

/* Team — grid, max 3 per row */
.team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
  width: 100%;
}

@media (min-width: 520px) {
  .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .team-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  min-height: 5.5rem;
  border: 1px solid var(--colour-border);
  border-radius: var(--radius);
  background: var(--colour-surface);
  box-shadow: var(--shadow);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.team-row:hover {
  border-color: rgb(0 59 73 / 22%);
  box-shadow: var(--shadow-hover);
}

.team-role {
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

/* Google reviews — summary + link */
.reviews-summary {
  margin-top: 0.5rem;
  max-width: min(56rem, 100%);
  margin-inline: auto;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--colour-surface);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.reviews-rating-line {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--colour-text-muted);
  font-weight: 400;
}

.reviews-rating-line strong {
  color: var(--colour-teal-dark);
  font-weight: 600;
}

.reviews-google-link {
  margin: 1.25rem 0 0;
  text-align: center;
}

.reviews-google-link a {
  font-weight: 600;
  color: var(--colour-teal);
  text-decoration: none;
}

.reviews-google-link a:hover,
.reviews-google-link a:focus-visible {
  text-decoration: underline;
  color: var(--colour-teal-dark);
}

/* Contact */
.contact-details {
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--colour-text-muted);
  line-height: 1.75;
  font-weight: 400;
}

.contact-details a {
  color: var(--colour-teal);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--colour-teal-dark);
  text-decoration: underline;
}

.map-link {
  margin-top: 0.75rem;
}

.contact-form {
  padding: 1.85rem;
  background: var(--colour-surface);
  border-radius: var(--radius);
  border: 1px solid var(--colour-border);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition-med);
}

.contact-form:focus-within {
  box-shadow: var(--shadow-hover);
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--colour-text);
}

.optional {
  font-weight: 400;
  color: var(--colour-text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-sm);
  background: var(--colour-bg);
  color: var(--colour-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgb(10 61 71 / 22%);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--colour-teal);
  box-shadow: 0 0 0 3px rgb(10 61 71 / 12%);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form {
  position: relative;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--colour-text-muted);
  line-height: 1.5;
  font-weight: 400;
}

.form-note a {
  color: var(--colour-teal);
  font-weight: 600;
}

.contact-grid {
  align-items: stretch;
}

/* Footer */
.site-footer {
  padding: 2.25rem 0;
  border-top: 1px solid rgb(253 245 226 / 12%);
  background: linear-gradient(180deg, var(--colour-teal) 0%, var(--colour-teal-dark) 100%);
  color: rgb(253 245 226 / 90%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--colour-cream);
}

.footer-address {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgb(253 245 226 / 78%);
  font-weight: 400;
  max-width: 26rem;
}

.footer-meta {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: rgb(253 245 226 / 72%);
  font-weight: 400;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  color: rgb(253 245 226 / 88%);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--colour-cream);
  text-decoration: underline;
}

/* Legal page */
.page-legal .legal-main {
  padding: clamp(2rem, 5vw, 3rem) 0 var(--space-section);
}

.legal-wrap {
  max-width: 48rem;
}

.legal-doc {
  background: var(--colour-surface);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--colour-border);
  box-shadow: var(--shadow);
}

.legal-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--colour-teal-dark);
}

.legal-lead {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--colour-text);
  font-weight: 600;
}

.legal-doc .legal-lead + .legal-lead {
  margin-bottom: 1.5rem;
}

.legal-doc h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--colour-teal);
}

.legal-doc p {
  margin: 0 0 1rem;
  color: var(--colour-text-muted);
  font-weight: 400;
}

.legal-doc a {
  color: var(--colour-teal);
  font-weight: 600;
}
