:root {
  --black: #050505;
  --black-soft: #0d0d0d;
  --yellow: #ffea00;
  --white: #ffffff;
  --text: #111111;
  --muted: #5a5a5a;
  --soft: #f1f1f1;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  --container: 1830px;
  --gutter: clamp(1rem, 3vw, 3.25rem);
  --header-offset: 0px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  background: var(--yellow);
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--text);
  background: var(--white);
  font-family: "century-gothic", sans-serif;
  font-size: clamp(1rem, 0.25vw + 0.94rem, 1.125rem);
  line-height: 1.55;
}
main { flex: 1 0 auto; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
body.is-ready .site-header,
body.is-ready .hero h1,
body.is-ready .hero-copy,
body.is-ready .hero-side-image,
body.is-ready .action-card,
body.is-ready .feature-copy,
body.is-ready .feature figure,
body.is-ready .service-card,
body.is-ready .help-grid article,
body.is-ready .split-copy > div,
body.is-ready .cta-copy,
body.is-ready .footer-grid > *,
body.is-ready .footer-bottom > * {
  animation: fadeUp 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
body.is-ready .site-header { animation-delay: 70ms; }
body.is-ready .hero h1 { animation-delay: 140ms; }
body.is-ready .hero-copy { animation-delay: 220ms; }
body.is-ready .hero-side-image { animation-delay: 300ms; }
body.is-ready .quick-actions .action-card:nth-child(1) { animation-delay: 320ms; }
body.is-ready .quick-actions .action-card:nth-child(2) { animation-delay: 420ms; }
body.is-ready .quick-actions .action-card:nth-child(3) { animation-delay: 520ms; }
body.is-ready .split-copy > div { animation-delay: 80ms; }
body.is-ready .cta-copy { animation-delay: 80ms; }
body.is-ready .footer-grid > * { animation-delay: 80ms; }
body.is-ready .footer-bottom > * { animation-delay: 120ms; }
body.is-ready .action-card,
body.is-ready .service-card,
body.is-ready .help-grid article,
body.is-ready .feature-copy,
body.is-ready .feature figure {
  animation-delay: calc(var(--reveal-order, 0) * 90ms);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;

}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "century-gothic", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(2.35rem, 4.1vw, 4rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 1.4rem;
}
h2 { font-size: clamp(1.7rem, 2.2vw, 2rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: clamp(1.08rem, 1vw, 1.55rem); font-weight: 700; margin-bottom: 0.8rem; }
p { max-width: 72ch; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--white);
  min-height: 44px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.45rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 138px; height: auto; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  font-size: 0.86rem;
  font-weight: 700;
}
.primary-nav a {
  color: var(--white);
  text-decoration: none;
  transition: color 180ms ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--yellow); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--yellow);
  border-radius: 999px;
}

.hero-image {
  background: var(--black);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: clamp(260px, 34vw, 590px);
  object-fit: cover;
  animation: heroZoom 30s ease-in-out infinite;
}

.hero {
  padding-block: clamp(2rem, 4vw, 4.6rem) clamp(2.5rem, 5vw, 5.8rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.78fr);
  gap: clamp(2rem, 6vw, 3rem);
  align-items: start;
}
.hero-grid > h1 {
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 0;
}
.eyebrow { font-weight: 800; color: var(--black); margin-bottom: 0.75rem; }
.eyebrow,
.primary-nav,
.btn,
.action-card,
.service-body h3,
.help-grid h3,
.quote-title,
.footer strong {
  font-family: "century-gothic", sans-serif;
}
.hero-copy > p:not(.eyebrow) { color: #202020; font-size: clamp(1rem, 0.35vw + 0.92rem, 1.15rem); }
.quick-actions {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
  margin-top: clamp(1.6rem, 3vw, 3rem);
}
.action-card {
  flex: 0 1 190px;
  min-height: 136px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.5rem;
  padding: 1.2rem 1rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  /* box-shadow: var(--shadow); */
  transition: transform 180ms ease, filter 180ms ease;
}
.action-card:hover, .action-card:focus-visible { transform: translateY(-4px); filter: brightness(0.98); }
.action-card svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-side-image img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 672 / 428;
  object-fit: cover;
}
.hero-side-image { margin: 0; }

.dark-panel,
.cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}
/* .dark-panel { padding-block: clamp(3rem, 5vw, 6.6rem); } */
.dark-panel p, .cta-section p { color: rgba(255, 255, 255, 0.88); }
.split-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 1fr;
  align-items: center;
  gap: clamp(3rem, 10vw, 12rem);
}
.dark-panel-image { position: relative; margin: 0; }
.dark-panel-image .panel-mark {
  display: block;
  width: min(100%, 420px);
  margin-left: auto;
  opacity: 0;
  transition: opacity 300ms ease;
}

.section {
  padding-block: clamp(3rem, 5vw, 4rem);
  overflow: clip;
}
.section-soft { background: var(--soft); }
.section-heading { margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.section-heading.centred { text-align: center; }
.section-heading.centred p { margin-inline: auto; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 3rem);
}
.service-card {
  overflow: hidden;
  border-radius: 13px;
  color: var(--white);
  background: var(--black);
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  aspect-ratio: 1.88 / 1;
  object-fit: cover;
}
.service-body {
  padding: clamp(1.2rem, 2vw, 2rem);
  min-height: 172px;
}
.service-body h3 {
  display: inline-block;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 234, 0, 0.7);
  margin-bottom: 0.95rem;
}
.service-body p { color: rgba(255, 255, 255, 0.82); font-size: 0.96rem; }

.help {
  background: var(--yellow);
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.3vw, 3rem);
}
.help-grid article {
  background: var(--white);
  border-radius: 13px;
  padding: clamp(1.5rem, 2vw, 2.35rem);
  min-height: 250px;
  /* box-shadow: 0 12px 36px rgba(0,0,0,0.08); */
}
.help-grid h3 { text-align: center; font-size: clamp(1rem, 0.7vw, 1.28rem); }
.help-grid p { color: #222; }
.button-row { margin-top: clamp(1.6rem, 3vw, 3rem); }
.centred { text-align: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-black { background: var(--black); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--black); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 7rem);
}
.feature figure { margin: 0; }
.feature img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 1.95 / 0.9;
  object-fit: cover;
}
.feature-copy h2 { font-size: clamp(1.7rem, 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.025em; }
.feature-copy p { color: #222; }

@keyframes heroZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0) scale(0.97);
  transition: opacity 850ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.reveal-from-left { transform: translate3d(-72px, 0, 0) scale(0.97); }
.reveal.reveal-from-right { transform: translate3d(72px, 0, 0) scale(0.97); }
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body.is-ready .reveal { animation: none; }
body.is-ready .hero-image img.reveal { animation: heroZoom 30s ease-in-out infinite; }

.service-card img.reveal,
.service-card img.reveal.is-visible {
  transform: none;
}
.service-card img.reveal {
  transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1) 850ms;
}

/* .cta-section { padding-block: clamp(3.5rem, 6vw, 7rem); } */
.cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 10vw, 12rem);
}
.cta-copy { max-width: 880px; }
.cta-image { position: relative; margin: 0; }
.cta-image .panel-mark {
  display: block;
  width: min(100%, 420px);
  margin-left: auto;
  opacity: 0;
  transition: opacity 300ms ease;
}

.panel-mark use {
  fill: transparent;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
}
.panel-mark-final {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 420px);
  opacity: 0;
  filter: brightness(0) invert(1);
}

.split-copy > div.is-visible + .dark-panel-image .panel-mark,
.cta-copy.is-visible + .cta-image .panel-mark {
  opacity: 0.2;
}
.split-copy > div.is-visible + .dark-panel-image .panel-mark use,
.cta-copy.is-visible + .cta-image .panel-mark use {
  animation: drawPanelMark 2.8s ease-in-out forwards;
}
.split-copy > div.is-visible + .dark-panel-image .panel-mark,
.cta-copy.is-visible + .cta-image .panel-mark {
  animation: hideDrawnPanelMark 400ms ease 2.8s forwards;
}
.split-copy > div.is-visible + .dark-panel-image .panel-mark-final,
.cta-copy.is-visible + .cta-image .panel-mark-final {
  animation: showFinalPanelMark 500ms ease 2.75s forwards;
}

@keyframes drawPanelMark { to { stroke-dashoffset: 0; } }
@keyframes hideDrawnPanelMark { to { opacity: 0; } }
@keyframes showFinalPanelMark { to { opacity: 0.2; } }
.cta-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.footer {
  background: var(--yellow);
  color: var(--black);
  padding-block: clamp(2.4rem, 4vw, 4.5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(130px, 1fr));
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: start;
}
.footer-brand img {
  width: 148px;
  height: auto;
  margin-bottom: 1.2rem;
}
.footer p { margin-bottom: 0; }
.footer address, .footer-grid > div:not(.footer-brand) {
  font-style: normal;
  display: grid;
  gap: 0.18rem;
  font-size: 0.95rem;
}
.footer strong { margin-bottom: 0.35rem; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover, .footer a:focus-visible { text-decoration: underline; }
.footer-bottom {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(130px, 1fr));
  gap: clamp(1.5rem, 3vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 5rem);
  font-size: 0.86rem;
}
.footer-bottom p:nth-child(2) { grid-column: 4; }
.footer-bottom p:last-child { grid-column: 5; }

@media (max-width: 1100px) {
  :root { --container: 960px; }
  .dark-panel { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
  .cta-section { padding-block: clamp(3rem, 7vw, 5rem); }
  .dark-panel .split-copy > div {
    position: relative;
    z-index: 1;
  }
  .dark-panel-image {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: clamp(-6rem, -5vw, -2rem);
    width: min(111vw, 500px);
    transform: translateY(-38%);
    pointer-events: none;
  }
  .dark-panel-image .panel-mark,
  .dark-panel-image .panel-mark-final { width: 100%; }
  .cta-content { grid-template-columns: 1fr; }
  .cta-copy {
    position: relative;
    z-index: 1;
  }
  .cta-image {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: clamp(-6rem, -5vw, -2rem);
    width: min(92vw, 500px);
    transform: translateY(-38%);
    pointer-events: none;
  }
  .cta-image .panel-mark,
  .cta-image .panel-mark-final { width: 100%; }
  .hero-grid,
  .feature-grid,
  .split-copy { grid-template-columns: 1fr; }
  .feature-grid .feature-copy { order: 1; }
  .feature-grid figure { order: 2; }
  .hero-side-image { max-width: 650px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom p:nth-child(2),
  .footer-bottom p:last-child { grid-column: auto; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  h1 { max-width: 12ch; }
  .dark-panel-image,
  .cta-image { transform: translateY(-50%); }
  .header-inner { min-height: 55px; }
  .brand img { width: 125px; }
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: absolute;
    inset: 100% var(--gutter) auto var(--gutter);
    display: grid;
    gap: 0;
    padding: 0.7rem;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .primary-nav a { padding: 0.8rem 0.9rem; border-radius: 10px; }
  .primary-nav a:hover, .primary-nav a:focus-visible { background: rgba(255,255,255,0.06); }
  .hero-image img { height: 250px; }
  .hero { padding-block: 2.2rem 3rem; }
  .quick-actions { display: grid; grid-template-columns: 1fr; }
  .action-card { min-height: 94px; grid-template-columns: auto 1fr; place-items: center start; text-align: left; justify-content: start; padding-inline: 1.25rem; }
  .action-card svg { width: 34px; height: 34px; }
  .cta-content { grid-template-columns: 1fr; }
  .service-grid, .help-grid { grid-template-columns: 1fr; }
  .help-grid article { min-height: auto; }
  .help-grid h3 { text-align: left; }
  .feature-grid--image-right figure { order: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal.reveal-from-left,
  .reveal.reveal-from-right,
  .reveal.reveal-from-neutral {
    opacity: 1;
    transform: none;
  }
}
