/* ==========================================================================
   SAGE MARKETING LTD. — shared styles
   A playful multi-page website built with HTML, CSS, and vanilla JS.
   ========================================================================== */

/* Self-hosted variable fonts ------------------------------------------------- */
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}

/* Design tokens -------------------------------------------------------------- */
:root {
  --sun: #ffd700;
  --sun-soft: #fff2a8;
  --sky: #87ceeb;
  --sky-soft: #eaf8fd;
  --coral: #ff6f61;
  --coral-soft: #ffe5e0;
  --sage: #6fbf8b;
  --sage-soft: #e1f6e7;
  --cream: #fff8e7;
  --white: #ffffff;
  --ink: #252a34;
  --ink-soft: #3d4550;
  --muted: #59616e;
  --line: #252a34;
  --font-heading: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Trebuchet MS", sans-serif;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 42px;
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-md: 7px 7px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --section-space: clamp(3.75rem, 7vw, 6.75rem);
  --header-height: 88px;
}

/* Reset and base ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.site-footer :focus-visible {
  outline-color: var(--sun);
}

[hidden] {
  display: none !important;
}

/* Utilities ------------------------------------------------------------------ */
.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--sky {
  background: var(--sky-soft);
}

.section--coral {
  background: #ffede9;
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.section[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.9rem;
  left: 1rem;
  padding: 0.75rem 1.1rem;
  transform: translateY(-180%);
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Typography helpers --------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow--plain {
  padding-left: 0.85rem;
  background: var(--sun-soft);
}

.eyebrow-dot {
  flex: none;
  width: 0.66rem;
  height: 0.66rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.eyebrow-dot--sage {
  background: var(--sage);
}

.eyebrow-dot--sky {
  background: var(--sky);
}

.lead {
  max-width: 61ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.lead-small {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-weight: 600;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.14rem;
  border-bottom: 2px solid currentColor;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.18s ease, gap 0.18s ease;
}

.text-link svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.18s ease;
}

.text-link:hover {
  color: #a63b30;
  gap: 0.7rem;
}

.text-link:hover svg {
  transform: translateX(2px);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading h2 {
  max-width: 16ch;
  margin: 0.9rem 0 0;
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
}

.section-heading__intro {
  max-width: 42ch;
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 1rem;
}

.section-heading--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading--center h2 {
  max-width: none;
  margin-top: 1rem;
}

.section-heading--center .section-heading__intro {
  max-width: 52ch;
  margin: 1rem auto 0;
}

/* Buttons -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1.3),
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.btn svg {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-3px) rotate(-0.8deg);
  box-shadow: 0 9px 0 var(--ink);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}

.btn--primary {
  background: var(--coral);
}

.btn--yellow {
  background: var(--sun);
}

.btn--sky {
  background: var(--sky);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 6px 0 #0c0e12;
}

.btn--dark:hover {
  box-shadow: 0 9px 0 #0c0e12;
}

.btn--dark:active {
  box-shadow: 0 2px 0 #0c0e12;
}

.btn--small {
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

/* Site header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 248, 231, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  flex: none;
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease;
}

.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.04);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
}

.brand__legal {
  margin-top: 0.23rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover {
  background: var(--sun-soft);
  transform: translateY(-1px);
}

.nav-link[aria-current="page"] {
  background: var(--sun);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.nav-link--cta {
  margin-left: 0.45rem;
  padding-inline: 1rem;
  border: 3px solid var(--ink);
  background: var(--coral);
  box-shadow: 0 4px 0 var(--ink);
  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1.3),
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.nav-link--cta:hover {
  background: #ff8579;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--ink);
}

.nav-link--cta[aria-current="page"] {
  background: var(--coral);
  box-shadow: 0 4px 0 var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 5px 6px 0 var(--ink);
}

.nav-toggle-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Header — mobile navigation */
@media (max-width: 880px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
  }

  .brand__name {
    font-size: 1.35rem;
  }

  .brand__legal {
    font-size: 0.57rem;
  }

  html:not(.js) .header-inner {
    padding-block: 0.75rem;
  }

  html:not(.js) .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  html:not(.js) .nav-list {
    width: max-content;
    padding-bottom: 0.3rem;
  }

  html.js .nav-toggle {
    display: inline-flex;
  }

  html.js .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 1rem;
    left: 1rem;
    display: block;
    padding: 0.85rem;
    border: 3px solid var(--ink);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
  }

  html.js .site-header.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  html.js .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  html.js .nav-link {
    justify-content: space-between;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 1.05rem;
  }

  html.js .nav-link[aria-current="page"] {
    background: var(--sun);
  }

  html.js .nav-link--cta {
    justify-content: center;
    margin-top: 0.4rem;
    margin-left: 0;
    border-radius: 14px;
  }

  html.js .nav-open .nav-toggle {
    background: var(--coral);
  }

  html.js .nav-open .nav-toggle-icon span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  html.js .nav-open .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  html.js .nav-open .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 2rem);
  }

  .brand {
    gap: 0.5rem;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 1.22rem;
  }

  .brand__legal {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
  }

  html.js .site-nav {
    right: 0.7rem;
    left: 0.7rem;
  }
}

/* Waves ---------------------------------------------------------------------- */
.wave-sep {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: clamp(1.6rem, 4vw, 3rem);
  line-height: 0;
  pointer-events: none;
}

.wave-sep svg {
  width: 100%;
  height: clamp(44px, 7vw, 88px);
}

/* Home hero ------------------------------------------------------------------ */
.home-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 77% 22%, rgba(255, 215, 0, 0.42) 0 7.5rem, transparent 7.6rem),
    linear-gradient(180deg, #e8f7fd 0%, #eaf8fd 64%, #f3fbfe 100%);
}

.home-hero::before {
  position: absolute;
  top: 7%;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background-image: radial-gradient(rgba(37, 42, 52, 0.24) 1.8px, transparent 1.9px);
  background-size: 23px 23px;
  content: "";
  opacity: 0.42;
  transform: rotate(8deg);
  pointer-events: none;
}

.home-hero::after {
  position: absolute;
  bottom: 19%;
  left: -5.5rem;
  width: 12rem;
  height: 12rem;
  border: 3px solid var(--ink);
  border-radius: 46% 54% 61% 39% / 45% 41% 59% 55%;
  background: var(--sun);
  content: "";
  opacity: 0.65;
  transform: rotate(14deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-title {
  max-width: 11ch;
  margin: 1.15rem 0 1.35rem;
  font-size: clamp(3.35rem, 7.2vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.038em;
}

.hero-title .pop {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-inline: 0.035em;
  color: var(--ink);
}

.hero-title .pop::before {
  position: absolute;
  z-index: -1;
  inset: 8% -4% 4% -4%;
  border: 3px solid var(--ink);
  border-radius: 47% 53% 42% 58% / 57% 44% 56% 43%;
  background: var(--sun);
  content: "";
  transform: rotate(-2.5deg);
}

.hero-title .pop::after {
  position: absolute;
  top: -0.12em;
  right: -0.2em;
  width: 0.16em;
  height: 0.16em;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.hero-lead {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.55vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust li::before {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sage);
  content: "";
  box-shadow: inset 0 0 0 2px var(--white);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-art__image {
  width: min(100%, 560px);
  filter: drop-shadow(0 20px 30px rgba(37, 42, 52, 0.09));
}

.sticker {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.sticker svg {
  width: 1rem;
  height: 1rem;
}

.sticker--one {
  top: 8%;
  left: 0;
  background: var(--sun);
  transform: rotate(-7deg);
}

.sticker--two {
  right: 0;
  bottom: 10%;
  background: var(--coral);
  transform: rotate(5deg);
}

.sticker--est {
  top: 10%;
  right: 2%;
  background: var(--sun);
  transform: rotate(6deg);
}

.sticker--hello {
  right: 2%;
  bottom: 8%;
  background: var(--white);
  transform: rotate(-5deg);
}

/* Home intro ----------------------------------------------------------------- */
.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.intro-heading h2 {
  max-width: 12ch;
  margin: 1rem 0 0;
  font-size: clamp(2.25rem, 4.8vw, 4.05rem);
}

.intro-copy {
  max-width: 62ch;
  padding-top: 0.55rem;
}

.intro-copy p {
  margin-bottom: 1rem;
}

.intro-copy .lead-small {
  margin-bottom: 1.1rem;
}

.intro-copy .text-link {
  margin-top: 0.35rem;
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  padding: 0;
  list-style: none;
}

.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.value-chip:nth-child(2) {
  background: var(--sky);
}

.value-chip:nth-child(3) {
  background: var(--sun);
}

.value-chip__num {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.78rem;
}

/* Service cards -------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.2vw, 1.8rem);
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--sun-soft);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translate(-3px, -5px) rotate(-0.35deg);
  box-shadow: 11px 12px 0 var(--ink);
}

.service-card--sun {
  background: #fff1a4;
}

.service-card--sky {
  background: #ddf4fd;
}

.service-card--coral {
  background: #ffe1dc;
}

.service-card--sage {
  background: #ddf4e4;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.card-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
}

.service-card h2,
.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.3vw, 1.78rem);
  line-height: 1.1;
}

.service-card p {
  margin: 0 0 1.1rem;
  color: #3f4651;
  font-size: 0.96rem;
  line-height: 1.65;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.service-card__tags li {
  padding: 0.22rem 0.58rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.service-card .text-link {
  width: fit-content;
  margin-top: auto;
  font-size: 0.9rem;
}

.section-link-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Statistics ----------------------------------------------------------------- */
.stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
  padding: clamp(2rem, 4.5vw, 3.75rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--coral);
  color: var(--white);
}

.stats-panel::after {
  position: absolute;
  right: -3.5rem;
  bottom: -4.5rem;
  width: 13rem;
  height: 13rem;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  content: "";
  opacity: 0.13;
  pointer-events: none;
}

.stats-panel .eyebrow {
  border-color: var(--white);
  background: transparent;
  box-shadow: 3px 3px 0 var(--coral);
  color: var(--white);
}

.stats-panel h2 {
  max-width: 13ch;
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.stats-panel p {
  max-width: 40ch;
  margin: 0;
  color: #d6dde5;
  font-size: 0.98rem;
}

.stats-panel .btn {
  margin-top: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-self: center;
  margin: 0;
}

.stat {
  position: relative;
  min-height: 100%;
  padding: 1.2rem 0 0.4rem 1.2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.26);
}

.stat dt {
  margin-bottom: 0.5rem;
  color: #bec8d4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.stat dd {
  margin: 0;
  color: var(--sun);
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.05;
}

.stat dd.stat--word {
  color: var(--sky);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

/* CTA panel ------------------------------------------------------------------ */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--sun);
  box-shadow: 10px 10px 0 var(--ink);
}

.cta-panel::before {
  position: absolute;
  top: -5rem;
  right: 14%;
  width: 13rem;
  height: 13rem;
  border: 3px solid var(--ink);
  border-radius: 48% 52% 43% 57% / 55% 44% 56% 45%;
  background: rgba(255, 255, 255, 0.36);
  content: "";
  transform: rotate(18deg);
  pointer-events: none;
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 15ch;
  margin: 0.9rem 0 0.75rem;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 54ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta-panel--coral {
  background: var(--coral);
}

.cta-panel--sky {
  background: var(--sky);
}

/* Shared page hero ----------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.6rem, 5.5vw, 5rem);
  background: var(--sky-soft);
}

.page-hero::before {
  position: absolute;
  top: -7rem;
  right: -6rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background-image: radial-gradient(rgba(37, 42, 52, 0.22) 1.7px, transparent 1.8px);
  background-size: 22px 22px;
  content: "";
  opacity: 0.33;
  transform: rotate(7deg);
  pointer-events: none;
}

.page-hero--about {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 215, 0, 0.5) 0 6.5rem, transparent 6.6rem),
    linear-gradient(180deg, #eaf8fd 0%, #f3fbfe 100%);
}

.page-hero--services {
  background:
    radial-gradient(circle at 85% 75%, rgba(255, 111, 97, 0.24) 0 8rem, transparent 8.1rem),
    linear-gradient(180deg, #fff4c9 0%, #fff8e7 100%);
}

.page-hero--legal {
  background:
    radial-gradient(circle at 88% 24%, rgba(135, 206, 235, 0.4) 0 7rem, transparent 7.1rem),
    linear-gradient(180deg, #fff1bf 0%, #fff8e7 100%);
}

.page-hero--contact {
  background:
    radial-gradient(circle at 85% 22%, rgba(255, 215, 0, 0.42) 0 6.5rem, transparent 6.6rem),
    linear-gradient(180deg, #ffe9e5 0%, #fff4f0 100%);
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
}

.page-hero h1 {
  max-width: 14ch;
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.page-hero .lead {
  max-width: 58ch;
}

.page-hero .button-row {
  margin-top: 1.75rem;
}

.page-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-art img {
  width: min(100%, 530px);
  filter: drop-shadow(0 20px 28px rgba(37, 42, 52, 0.09));
}

.page-hero-art--compact img {
  width: min(100%, 480px);
}

/* Legal hero status board ---------------------------------------------------- */
.legal-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
}

.legal-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.55rem, 5.2vw, 4.35rem);
}

.status-board {
  display: grid;
  gap: 1rem;
}

.status-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.3rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: rotate(-1.2deg);
}

.status-card:nth-child(2) {
  transform: rotate(1deg);
}

.status-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-card h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-card p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
}

.status-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sage-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-pill::before {
  width: 0.48rem;
  height: 0.48rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: #249b57;
  content: "";
}

/* About page ----------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.story-heading h2 {
  max-width: 12ch;
  margin: 1rem 0 0;
  font-size: clamp(2.2rem, 4.4vw, 3.55rem);
}

.mini-reg-card {
  max-width: 330px;
  margin-top: 2rem;
  padding: 1.2rem 1.25rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: rotate(-1.2deg);
}

.mini-reg-card__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mini-reg-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}

.mini-reg-card .text-link {
  font-size: 0.82rem;
}

.story-body {
  max-width: 62ch;
}

.story-body p {
  margin-bottom: 1.1rem;
}

.story-body .lead-small {
  margin-bottom: 1.25rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 36px;
  right: 9%;
  left: 9%;
  border-top: 3px dashed var(--ink);
  content: "";
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  min-width: 0;
  padding-top: 5.3rem;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.timeline-item:nth-child(2) .timeline-marker {
  background: var(--sky);
}

.timeline-item:nth-child(3) .timeline-marker {
  background: var(--coral);
}

.timeline-card {
  height: 100%;
  padding: 1.35rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.timeline-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.4rem;
}

.timeline-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.value-card {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px) rotate(-0.3deg);
  box-shadow: var(--shadow-lg);
}

.value-card:nth-child(1) {
  background: #e0f4fc;
}

.value-card:nth-child(2) {
  background: #fff2ae;
}

.value-card:nth-child(3) {
  background: #e0f5e7;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.value-icon svg {
  width: 30px;
  height: 30px;
}

.value-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
}

.value-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.footprint-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--ink);
  box-shadow: 9px 9px 0 var(--sun);
  color: var(--white);
}

.footprint-panel .eyebrow {
  border-color: var(--white);
  background: transparent;
  box-shadow: 3px 3px 0 var(--coral);
  color: var(--white);
}

.footprint-copy h2 {
  max-width: 12ch;
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.footprint-copy p {
  max-width: 45ch;
  margin: 0 0 1.2rem;
  color: #d5dde5;
  font-size: 0.96rem;
}

.footprint-panel .text-link {
  color: var(--sun);
}

.province-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.province-card {
  padding: 1.3rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--coral);
}

.province-card:nth-child(2) {
  box-shadow: 5px 5px 0 var(--sky);
}

.province-card__code {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--sun);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.province-card:nth-child(2) .province-card__code {
  background: var(--sky);
}

.province-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.province-card p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.55;
}

.province-card small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Services page -------------------------------------------------------------- */
.sticker-stack {
  position: relative;
  width: min(100%, 500px);
  height: clamp(390px, 43vw, 460px);
  margin-inline: auto;
}

.sticker-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(68%, 265px);
  min-height: 178px;
  padding: 1.55rem 1.35rem 1.25rem;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.sticker-note::before {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 2px 2px 0 var(--ink);
  content: "";
  transform: translateX(-50%);
}

.sticker-note small {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sticker-note strong {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.02;
}

.sticker-note svg {
  width: 34px;
  height: 34px;
  align-self: flex-end;
}

.sticker-note--sun {
  top: 0;
  left: 0;
  background: var(--sun);
  transform: rotate(-7deg);
}

.sticker-note--sky {
  top: 30%;
  right: 0;
  background: var(--sky);
  transform: rotate(5deg);
}

.sticker-note--coral {
  bottom: 0;
  left: 16%;
  background: var(--coral);
  transform: rotate(-2deg);
}

.service-grid--detailed {
  align-items: stretch;
}

.service-grid--detailed .service-card {
  min-height: 100%;
  padding: clamp(1.55rem, 2.6vw, 2.2rem);
  border-radius: var(--radius-lg);
}

.feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.2rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
  color: #3f4651;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.feature-list li::before {
  position: absolute;
  top: 0.38rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.feature-list li::after {
  position: absolute;
  top: 0.59rem;
  left: 0.29rem;
  width: 0.34rem;
  height: 0.18rem;
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  content: "";
  transform: rotate(-45deg);
}

.extra-services {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--ink);
  box-shadow: 9px 9px 0 var(--sky);
  color: var(--white);
}

.extra-services::after {
  position: absolute;
  top: -3.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  border: 3px solid var(--white);
  border-radius: 45% 55% 52% 48% / 53% 47% 53% 47%;
  content: "";
  opacity: 0.16;
  transform: rotate(15deg);
}

.extra-services h2 {
  max-width: 12ch;
  margin: 0.85rem 0 0.7rem;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.extra-services p {
  max-width: 40ch;
  margin: 0;
  color: #d5dde5;
  font-size: 0.94rem;
}

.extra-services .eyebrow {
  border-color: var(--white);
  background: transparent;
  box-shadow: 3px 3px 0 var(--coral);
  color: var(--white);
}

.extra-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.extra-chips li {
  padding: 0.55rem 0.8rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 1.35rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.process-step:nth-child(2) {
  background: #fff8d5;
}

.process-step:nth-child(3) {
  background: #e3f6fd;
}

.process-step:nth-child(4) {
  background: #e2f6e8;
}

.process-step__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
}

.process-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Legal page ----------------------------------------------------------------- */
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: start;
}

.legal-main {
  display: grid;
  gap: clamp(1.8rem, 3.5vw, 2.5rem);
  min-width: 0;
}

.clipboard {
  position: relative;
  padding: clamp(1.6rem, 3.2vw, 2.8rem);
  padding-top: clamp(2.4rem, 4vw, 3.25rem);
  border: 3px solid var(--ink);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--sky);
}

.clipboard--bc {
  box-shadow: 9px 9px 0 var(--sun);
}

.clipboard::before {
  position: absolute;
  top: -17px;
  left: 50%;
  width: 108px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--sun);
  box-shadow: 3px 3px 0 var(--ink);
  content: "";
  transform: translateX(-50%);
}

.clipboard--bc::before {
  background: var(--sky);
}

.clipboard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  margin-bottom: 0.4rem;
}

.clipboard h2,
.clipboard h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.9vw, 2.2rem);
}

.clipboard__note {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.registry-table {
  width: 100%;
  margin-top: 1.3rem;
  border-collapse: collapse;
  text-align: left;
}

.registry-table caption {
  text-align: left;
}

.registry-table th,
.registry-table td {
  padding: 0.95rem 1rem;
  border-top: 2px dashed #c9d0d9;
  vertical-align: top;
  font-size: 0.97rem;
  line-height: 1.55;
}

.registry-table th {
  width: 43%;
  color: #3d4550;
  font-weight: 800;
}

.registry-table td {
  color: var(--ink);
  font-weight: 800;
}

.registry-table tr:first-child th,
.registry-table tr:first-child td {
  border-top: 2px solid var(--ink);
}

.registry-table tr:nth-child(even) {
  background: #fffbf1;
}

.registry-table .registry-emphasis td {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: grid;
  gap: 1.2rem;
}

.aside-card {
  padding: 1.35rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.aside-card--cream {
  background: var(--cream);
}

.aside-card--dark {
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--coral);
  color: var(--white);
}

.aside-card h2 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.aside-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.aside-card--dark p {
  color: #d4dce4;
}

.registry-links {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.registry-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.registry-link:hover {
  background: var(--sun);
  transform: translateX(2px);
}

.registry-link svg {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
}

.aside-card__meta {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 2px dashed rgba(255, 255, 255, 0.28);
  color: #d4dce4;
  font-size: 0.78rem;
  line-height: 1.6;
}

.aside-card__meta strong {
  color: var(--sun);
}

.legal-disclaimer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  background: #fff3c7;
  box-shadow: var(--shadow-md);
}

.disclaimer-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--coral);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  transform: rotate(-3deg);
}

.legal-disclaimer h2 {
  margin: 0.15rem 0 0.55rem;
  font-size: 1.45rem;
}

.legal-disclaimer p {
  max-width: 75ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal-disclaimer p + p {
  margin-top: 0.65rem;
}

.legal-disclaimer .text-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.legal-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.legal-cta p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

/* Contact page --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-form-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--sky);
}

.contact-form-card::before {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 134px;
  height: 30px;
  border: 2px solid var(--ink);
  background: rgba(255, 215, 0, 0.78);
  content: "";
  transform: translateX(-50%) rotate(-1.5deg);
}

.contact-form-card h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.9rem, 3.3vw, 2.55rem);
}

.contact-form-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.4rem 0 1.6rem;
  padding: 0.85rem 0.95rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff7d3;
  font-size: 0.86rem;
  line-height: 1.55;
}

.demo-note svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.08rem;
}

.demo-note strong {
  display: block;
  margin-bottom: 0.1rem;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.required-mark {
  color: #ad372b;
  font-size: 0.78rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.form-field textarea {
  min-height: 156px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #737b87;
  opacity: 1;
}

.form-field input:hover,
.form-field textarea:hover {
  background: #fffdf7;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  background: var(--white);
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--sun);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #a12f24;
}

.form-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.form-status {
  margin: 0.35rem 0 0;
  padding: 0.9rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.contact-side {
  display: grid;
  gap: 1.35rem;
}

.contact-card {
  padding: 1.5rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-card--sun {
  background: var(--sun);
}

.contact-card--sky {
  background: var(--sky-soft);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.1rem;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.contact-card__icon svg {
  width: 28px;
  height: 28px;
}

.contact-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.contact-card p {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card .text-link {
  margin-top: 0.35rem;
  font-size: 0.86rem;
}

.contact-side-note {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 2px dashed var(--ink);
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.registry-pair {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.contact-card .form-helper {
  margin-top: 0.8rem;
}

.contact-form-card[id],
#contact-form {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* Site footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--cream);
}

.footer-wave {
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: clamp(46px, 7vw, 78px);
}

.footer-main {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.62fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.footer-brand .brand {
  width: fit-content;
  color: var(--white);
}

.footer-brand .brand__mark {
  width: 54px;
  height: 54px;
}

.footer-brand .brand__name {
  color: var(--white);
}

.footer-brand .brand__legal {
  color: #c5ced8;
}

.footer-tagline {
  max-width: 34ch;
  margin: 1.15rem 0 1.2rem;
  color: #c9d2dc;
  font-size: 0.93rem;
  line-height: 1.7;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border: 2px solid #fff8e7;
  border-radius: 999px;
  color: var(--sun);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-badge::before {
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.footer-col h2 {
  margin: 0 0 1rem;
  color: var(--sun);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 30px;
  color: #eef2f6;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.footer-links a:hover {
  color: var(--sun);
  transform: translateX(3px);
}

.footer-links a[aria-current="page"] {
  color: var(--sun);
}

.footer-legal-summary {
  margin: 0 0 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--sun);
  color: #cbd4de;
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-legal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sun);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.footer-legal-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.18s ease;
}

.footer-legal-link:hover svg {
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.16);
  padding-block: 1.15rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  color: #bdc7d2;
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-bottom-inner p {
  margin: 0;
}

.footer-bottom-inner p:last-child {
  color: #aeb9c5;
}

/* Animation ------------------------------------------------------------------ */
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes soft-wiggle {
  0%,
  100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(-4deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art__image,
  .page-hero-art img {
    animation: floaty 7s ease-in-out infinite;
  }

  .sticker--one {
    animation: soft-wiggle 6s ease-in-out infinite;
  }

  .sticker-note--sun {
    animation: soft-wiggle 7s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive layout ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .header-inner {
    gap: 1rem;
  }

  .nav-list {
    gap: 0.08rem;
  }

  .nav-link {
    padding-inline: 0.65rem;
    font-size: 0.9rem;
  }

  .nav-link--cta {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(3.15rem, 7vw, 4.6rem);
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card:last-child {
    grid-column: 1 / -1;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid,
  .legal-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-title {
    max-width: 10ch;
    font-size: clamp(3.2rem, 10vw, 5.2rem);
  }

  .hero-art {
    max-width: 560px;
    margin: 0.6rem auto 0;
  }

  .page-hero-grid {
    gap: 1.5rem;
  }

  .page-hero-art {
    max-width: 520px;
    margin-inline: auto;
  }

  .page-hero-art--compact {
    max-width: 440px;
  }

  .legal-hero-grid {
    gap: 2rem;
  }

  .status-board {
    max-width: 640px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout,
  .story-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .intro-copy {
    padding-top: 0;
  }

  .story-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 2rem;
    align-items: end;
  }

  .story-heading .eyebrow {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .mini-reg-card {
    margin-top: 0;
    align-self: end;
  }

  .stats-panel,
  .footprint-panel,
  .cta-panel,
  .extra-services {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    max-width: 640px;
  }

  .cta-actions {
    margin-top: 0.25rem;
  }

  .sticker-stack {
    max-width: 500px;
  }
}

@media (max-width: 800px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 35px;
    right: auto;
    border-top: 0;
    border-left: 3px dashed var(--ink);
  }

  .timeline-item {
    padding-top: 0;
    padding-left: 5.2rem;
  }

  .timeline-marker {
    width: 58px;
    height: 58px;
    font-size: 1.05rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--legal {
    grid-column: 1 / -1;
  }

  .footer-legal-summary {
    max-width: 66ch;
  }
}

@media (max-width: 720px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .value-card:last-child {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat {
    padding-left: 0.8rem;
  }

  .legal-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-grid--detailed .service-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .story-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .mini-reg-card {
    max-width: 100%;
    margin-top: 0.5rem;
  }

  .province-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --section-space: clamp(3rem, 9vw, 4.5rem);
  }

  .container {
    width: calc(100% - 2rem);
  }

  .hero-title {
    font-size: clamp(2.9rem, 14vw, 4.3rem);
  }

  .page-hero h1,
  .legal-hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.45rem);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .button-row .btn {
    flex: 1 1 auto;
  }

  .sticker {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
  }

  .sticker--one {
    left: -0.25rem;
  }

  .sticker--two {
    right: -0.25rem;
  }

  .stats-panel {
    box-shadow: 6px 6px 0 var(--coral);
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 1rem;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .stat dt {
    margin: 0;
  }

  .stat dd {
    text-align: right;
  }

  .cta-panel {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .page-hero .button-row .btn {
    flex: 1 1 100%;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .clipboard {
    padding: 1.3rem;
    padding-top: 2.35rem;
    box-shadow: 6px 6px 0 var(--sky);
  }

  .clipboard--bc {
    box-shadow: 6px 6px 0 var(--sun);
  }

  .registry-table,
  .registry-table tbody,
  .registry-table tr,
  .registry-table th,
  .registry-table td {
    display: block;
    width: 100%;
  }

  .registry-table tr {
    padding: 0.9rem 0;
    border-top: 2px dashed #c9d0d9;
  }

  .registry-table tr:first-child {
    border-top: 2px solid var(--ink);
  }

  .registry-table th,
  .registry-table td {
    padding: 0.15rem 0;
    border: 0;
    background: transparent;
  }

  .registry-table th {
    color: var(--muted);
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .registry-table td {
    font-size: 0.98rem;
  }

  .registry-table tr:nth-child(even) {
    background: transparent;
  }

  .registry-table .registry-emphasis td {
    font-size: 1.18rem;
  }

  .legal-disclaimer {
    grid-template-columns: minmax(0, 1fr);
    box-shadow: 5px 5px 0 var(--ink);
  }

  .disclaimer-icon {
    width: 50px;
    height: 50px;
  }

  .contact-form-card {
    box-shadow: 6px 6px 0 var(--sky);
  }

  .form-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-brand,
  .footer-col--legal {
    grid-column: auto;
  }

  .footer-bottom-inner {
    display: block;
  }

  .footer-bottom-inner p + p {
    margin-top: 0.35rem;
  }
}

@media (max-width: 460px) {
  body {
    font-size: 1rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 1.12rem;
  }

  .brand__legal {
    font-size: 0.48rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .sticker--one,
  .sticker--two {
    display: none;
  }

  .value-chips {
    display: grid;
    gap: 0.6rem;
  }

  .value-chip {
    width: 100%;
  }

  .sticker-stack {
    height: 350px;
  }

  .sticker-note {
    width: 74%;
    min-height: 152px;
    padding: 1.25rem 1.05rem 1rem;
  }

  .sticker-note strong {
    font-size: 1.4rem;
  }

  .contact-form-card {
    padding: 1.25rem;
  }

  .demo-note {
    font-size: 0.82rem;
  }

  .footer-brand .brand__mark {
    width: 48px;
    height: 48px;
  }
}

/* Print — keep the legal information clean and professional ------------------ */
@media print {
  html,
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .page-hero .button-row,
  .legal-cta,
  .legal-aside,
  .wave-sep,
  .legal-disclaimer .text-link {
    display: none !important;
  }

  .page-hero {
    padding: 0 0 1.5rem;
    background: none;
  }

  .container {
    width: 100%;
  }

  .page-hero h1 {
    color: #000;
    font-size: 2rem;
  }

  .legal-grid {
    display: block;
  }

  .clipboard,
  .legal-disclaimer {
    break-inside: avoid;
    border: 1px solid #000;
    box-shadow: none;
  }

  .clipboard::before,
  .legal-disclaimer .disclaimer-icon {
    display: none;
  }

  .legal-main {
    display: block;
  }

  .clipboard + .clipboard {
    margin-top: 1.5rem;
  }

  .registry-table tr:nth-child(even) {
    background: #f2f2f2;
  }
}
