:root {
  --cream: #f7f9fa;
  --paper: #ffffff;
  --sand: #edf5e2;
  --line: #d9dfe1;
  --ink: #252525;
  --brand-grey: #343434;
  --ink-soft: #44494c;
  --muted: #555b5e;
  --dark-card: #303234;
  --dark-line: #4a4d4e;
  --on-dark: #ffffff;
  --on-dark-soft: #e2e6e8;
  --blue: #00bfee;
  --blue-text: #1d6f96;
  --yellow: #ffe500;
  --green: #92ce42;
  --green-text: #3f6e12;
  --red: #c9432f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Helvetica, sans-serif;
  --text-small: 16px;
  --text-body: 18px;
  --text-lead: clamp(18px, 1.6vw, 20px);
  --text-card-title: 24px;
  --text-button: 17px;
  --pad: clamp(20px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  border-top: 6px solid var(--blue);
  border-image: linear-gradient(90deg, var(--blue) 0 33.333%, var(--yellow) 33.333% 66.666%, var(--green) 66.666%) 1;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.03em; margin: 0; line-height: 1.06; }
h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; }
h3 { font-size: var(--text-card-title); line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 7vw, 90px); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.intro { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: var(--blue-text); }
.lede { font-size: var(--text-lead); color: var(--ink-soft); max-width: 640px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-dark); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: var(--text-button); text-decoration: none; border: 2px solid transparent; }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: #414042; }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-dark); }
.btn-yellow { background: var(--yellow); color: var(--ink); font-weight: 700; }
.btn-yellow:hover { background: #ffe766; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 12px; text-decoration: none; }
.brand img { width: clamp(200px, 19vw, 238px); height: auto; aspect-ratio: 3.45; object-fit: cover; }
@media (max-width: 480px) { .brand img { width: 190px; } .header-inner { gap: 12px; } }
.contact-logo { width: min(100%, 380px); height: auto; aspect-ratio: 3.45; object-fit: cover; align-self: center; margin-bottom: 12px; border-radius: 12px; }
.foot-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-brand img { height: 36px; width: auto; }
.footer-inner { align-items: center; }
.nav { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--blue-text); }
.nav .nav-workshops { gap: 10px; white-space: nowrap; margin-left: 4px; min-height: 42px; padding: 8px 12px; border: 1px solid #d2bb00; border-radius: 12px; background: linear-gradient(120deg, #fff9c8, #fff0a0); color: var(--ink); font-size: 15px; }
.nav .nav-workshops:hover { background: #ffe979; border-color: #b79f00; }
.nav .nav-workshops[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blue); }
.nav-new { display: inline-block; padding: 4px 5px 3px; border: 1px solid var(--ink); border-radius: 5px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1; text-transform: uppercase; transform: rotate(-8deg); }
.nav .btn-dark { min-height: 42px; padding: 9px 17px; border: 1px solid var(--ink); border-radius: 12px; background: var(--ink); color: var(--on-dark); font-size: 15px; font-weight: 700; }
.nav .btn-dark:hover { background: #414042; border-color: #414042; }
.nav .btn-dark .ico { width: 18px; height: 18px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 10px; width: 48px; height: 48px; cursor: pointer; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-workshops { margin: 12px 0 0; }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero {
  color: var(--on-dark);
  background:
    linear-gradient(90deg, rgba(20, 30, 32, 0.55) 0%, rgba(20, 30, 32, 0.3) 40%, rgba(20, 30, 32, 0) 60%),
    url("hero.jpg") center bottom / cover no-repeat,
    #2b2a2c;
  border-bottom: 6px solid var(--blue);
}
.hero .lede { color: var(--on-dark-soft); }
.btn-line-light { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn-line-light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
@media (max-width: 800px) {
  .hero { background: linear-gradient(180deg, rgba(34, 35, 31, 0.72), rgba(34, 35, 31, 0.9)), url("hero.jpg") center bottom / cover no-repeat, #2b2a2c; }
}

.hero-grid > .stack { max-width: 680px; }
.hero { padding-block: clamp(72px, 10vw, 140px); }
.hero .lede { margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.portrait { border: 10px solid var(--blue); box-shadow: 12px 12px 0 var(--yellow); background: var(--paper); max-width: 340px; justify-self: start; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 800px) {
  .portrait { max-width: 220px; border-width: 8px; box-shadow: 8px 8px 0 var(--yellow); }
}

/* Help */
.help { background: var(--cream); }
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.help-item { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 3px 4px 0 var(--ink); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.help-item .area { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--ink); padding: 5px 12px; border-radius: 999px; }
.area-b { background: #cdefff; } .area-y { background: #fff1a8; } .area-g { background: #dcefc2; }
.help-item h3 { font-size: var(--text-card-title); }
.help-item .what { font-size: var(--text-small); line-height: 1.5; color: var(--ink-soft); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.help .note { margin-top: 36px; color: var(--ink-soft); }
@media (max-width: 1000px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } }

/* Paying */
.paying { background: var(--ink); color: var(--on-dark); }
.paying .kicker { color: var(--blue); }
.paying .lede { color: var(--on-dark-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.num { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); }
.n1 { background: var(--blue); } .n2 { background: var(--yellow); } .n3 { background: var(--green); } .n4 { background: var(--on-dark); }
.free { background: var(--green); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 999px; }
.step p { color: var(--on-dark-soft); font-size: var(--text-body); }
.faq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--dark-line); }
.faq dt { font-weight: 700; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--on-dark-soft); font-size: var(--text-body); }
.faq div { margin: 0; }
@media (max-width: 1000px) { .steps, .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .faq { grid-template-columns: 1fr; } }

/* How I work */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.principle { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; border-top-width: 8px; }
.principle h3 { font-size: var(--text-card-title); }
.principle-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.principle-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); }
.p-blue .principle-icon { background: #dff6fd; }
.p-yellow .principle-icon { background: #fff6c7; }
.p-green .principle-icon { background: #edf6dc; }
.principle p { color: var(--ink-soft); }
.p-blue { border-top-color: var(--blue); } .p-yellow { border-top-color: var(--yellow); } .p-green { border-top-color: var(--green); }
.ocap { display: flex; gap: 18px; align-items: center; background: var(--sand); border-radius: 16px; padding: 24px 28px; margin-top: 28px; }
.ocap svg { flex-shrink: 0; }
.how .kicker { color: var(--green-text); }
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } }

/* About */
.about { background: var(--paper); }
.about-grid { display: flow-root; max-width: 980px; }
.about-grid .portrait { float: left; width: 300px; margin: 6px 44px 20px 0; }
.about-body { display: block; }
.about-body h2 { margin-bottom: 20px; }
.about-body p { color: var(--ink-soft); font-size: var(--text-lead); margin-bottom: 18px; }
.about-body p:last-child { margin-bottom: 0; }
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.creds > div { min-width: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px 28px; }
.creds > div::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 2px; margin-bottom: 18px; background: var(--blue); }
.creds > div:nth-child(2)::before { background: var(--yellow); }
.creds > div:nth-child(3)::before { background: var(--green); }
.creds > div:nth-child(4)::before { background: var(--brand-grey); }
.creds h3 { font-size: var(--text-card-title); margin-bottom: 16px; }
.creds p { color: var(--ink-soft); font-size: var(--text-small); line-height: 1.5; }
.creds > .ocap-training { grid-column: 1 / -1; }
.creds > .ocap-training::before { background: var(--green); }
.creds > .ocap-training h3 { margin-bottom: 12px; }
@media (max-width: 700px) { .about-grid .portrait { float: none; width: 220px; margin: 0 0 32px; } }
@media (max-width: 1100px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* Visits */
.visits { background: var(--green); }
.visits .kicker { color: var(--ink); }
.visits .lede { color: var(--ink); }

/* Contact */
.contact { background: var(--ink); color: var(--on-dark); }
.contact .kicker { color: var(--green); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-grid p:not(.kicker) { color: var(--on-dark-soft); font-size: var(--text-lead); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; font-size: var(--text-body); }
.contact-links a:hover { color: var(--yellow); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding-block: 28px; font-size: 15px; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

.notfound { padding-block: 120px; display: flex; flex-direction: column; gap: 20px; }

.creds a { color: var(--blue-text); }
.creds a:hover { color: var(--ink); }

.cert-groups { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: var(--text-small); line-height: 1.5; }
.cert-groups dt { font-weight: 600; color: var(--ink); }
.cert-groups dd { margin: 0; color: var(--ink-soft); }

.btn-cta { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: var(--text-button); padding: 18px 28px; border-radius: 16px; text-align: center; box-shadow: 0 6px 0 var(--blue), 0 12px 0 var(--green); margin-bottom: 14px; }
.btn-cta:hover { background: #ffe766; transform: translateY(2px); box-shadow: 0 4px 0 var(--blue), 0 8px 0 var(--green); }
@media (prefers-reduced-motion: reduce) { .btn-cta:hover { transform: none; } }

.contact-inner { max-width: 680px; margin: 0 auto; text-align: center; align-items: center; }
.contact-inner p:not(.kicker) { color: var(--on-dark-soft); font-size: var(--text-lead); }
.contact-inner h2 { font-size: clamp(38px, 4.4vw, 56px); margin-bottom: 4px; }
.contact-inner .btn-cta { margin-top: 12px; }
.contact-inner .contact-links { justify-content: center; }


.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; align-items: end; }
.hero-grid > .stack { align-self: center; }
.why-card { background: rgba(255, 255, 255, 0.97); border: 2px solid var(--ink); color: var(--ink); border-radius: 18px; padding: 24px 26px; box-shadow: 0 6px 0 var(--blue), 0 12px 0 var(--green); margin-bottom: 12px; }
.why-card h2 { font-size: var(--text-card-title); margin-bottom: 8px; }
.why-card p { font-size: var(--text-small); line-height: 1.55; color: var(--ink-soft); }
.why-card p + p { margin-top: 14px; }
.hero { padding-bottom: clamp(56px, 6vw, 80px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.btn-ico { gap: 10px; }
.btn-ico .ico { flex-shrink: 0; }
.btn-cta.btn-ico .ico { width: 24px; height: 24px; }
.link-ico { display: inline-flex; align-items: center; gap: 8px; }
.contact-mark { width: 72px; height: auto; }

.why-quote { margin: 22px 0 0; padding: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--ink); }
.why-quote::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 18px; background: var(--yellow); }

/* Hero hover effects: sun shines, river flows, grass grows */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; pointer-events: none; }
.hero > .wrap > * { pointer-events: auto; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-fx .hit { fill: transparent; pointer-events: all; cursor: pointer; }

.fx-sun .glow { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.7); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.fx-sun .rays { fill: #fff3a3; opacity: 0; transform-box: view-box; transform-origin: 1354px 222px; transition: opacity .5s ease; pointer-events: none; }
.fx-sun:hover .glow, .hero:is(:has(.q-sun:hover), .is-sun-active) .fx-sun .glow { opacity: 1; transform: scale(1.15); }
.fx-sun:hover .rays, .hero:is(:has(.q-sun:hover), .is-sun-active) .fx-sun .rays { opacity: .85; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.fx-river .flow { opacity: 0; pointer-events: none; }
.fx-river:hover .flow, .hero:is(:has(.q-river:hover), .is-river-active) .fx-river .flow { opacity: 1; animation: flow 2.4s linear infinite; }
.fx-river:hover .f2, .hero:is(:has(.q-river:hover), .is-river-active) .fx-river .f2 { animation-duration: 3.4s; animation-delay: -1.2s; }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(2200px); } }

.fx-grass .tufts { pointer-events: none; }
.fx-grass .tuft { fill: none; stroke: #a8dc5c; stroke-width: 4; stroke-linecap: round; transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); transition: transform .5s ease; }
.fx-grass:hover .tuft, .hero:is(:has(.q-grass:hover), .is-grass-active) .fx-grass .tuft { transform: scaleY(1); animation: sway 2.6s ease-in-out .5s infinite; }
@keyframes sway { 0%, 100% { transform: scaleY(1) skewX(0deg); } 50% { transform: scaleY(1.05) skewX(-6deg); } }

@media (hover: none) { .hero-fx { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .fx-sun:hover .rays, .fx-river:hover .flow, .fx-grass:hover .tuft, .hero:is(:has(.q-grass:hover), .is-grass-active) .fx-grass .tuft { animation: none; }
}

/* Quote words light up with their part of the image */
.q { transition: color .35s ease, font-weight .35s ease; cursor: default; }
.hero:is(:has(.fx-sun:hover), .is-sun-active) .q-sun, .q-sun:hover { color: #c96a00; font-weight: 700; }
.hero:is(:has(.fx-grass:hover), .is-grass-active) .q-grass, .q-grass:hover { color: #3f7d12; font-weight: 700; }
.hero:is(:has(.fx-river:hover), .is-river-active) .q-river, .q-river:hover { color: #0a78b5; font-weight: 700; }

/* Landscape accents: reversible visual enhancement, September 2026. */
.help, .paying, .how { position: relative; }
.hill-divider { position: absolute; width: 100%; height: clamp(28px, 4vw, 56px); top: 0; left: 0; pointer-events: none; }
.hill-edge { fill: var(--green); opacity: .65; }
.hill-base { fill: var(--cream); }
.help > .hill-divider { background: var(--paper); }
.paying > .hill-divider { background: var(--cream); }
.paying .hill-base { fill: var(--ink); }
.how > .hill-divider { background: var(--ink); }
.help-item .area { display: inline-flex; gap: 8px; align-items: center; }
.service-icon { flex: 0 0 22px; }
.help, .paying { isolation: isolate; overflow: hidden; }
.help::before, .paying::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: clamp(700px, 90vw, 1320px); aspect-ratio: 1; top: -120px; right: clamp(-440px, -24vw, -180px); background: url("icon-512.png") center / contain no-repeat; filter: grayscale(1) contrast(20); mix-blend-mode: multiply; opacity: .065; }
.paying::before { top: -180px; right: auto; left: clamp(-440px, -24vw, -180px); filter: grayscale(1) contrast(20) invert(1); mix-blend-mode: screen; opacity: .035; }
.area-b .service-icon { color: var(--blue-text); }
.area-y .service-icon { color: #806600; }
.area-g .service-icon { color: var(--green-text); }
/* The connector follows the numbered reading order, horizontally or vertically. */
.steps { gap: 24px; }
.step { position: relative; background: transparent; border: 0; border-radius: 0; padding: 0 0 0 12px; }
.step-top, .step h3, .step p { position: relative; z-index: 1; }
.num { flex: 0 0 46px; border-radius: 50% 50% 8% 50%; box-shadow: 0 0 0 7px var(--ink); }
.n2 { border-radius: 50% 50% 50% 8%; }
.n3 { border-radius: 50% 8% 50% 50%; }
.n4 { background: var(--blue); border-radius: 8% 50% 50% 50%; }
.free { box-shadow: 0 0 0 7px var(--ink); }
.step:not(:last-child)::after { content: ""; position: absolute; pointer-events: none; left: 35px; top: 0; width: calc(100% + 24px); height: 46px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 46' preserveAspectRatio='none'%3E%3Cpath d='M0 23C60 -8 180 54 240 23' fill='none' stroke='%2303c4ff' stroke-opacity='.6' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding-left: 76px; min-height: 100px; gap: 10px; }
  .step-top { position: static; min-height: 0; }
  .num { position: absolute; left: 12px; top: 0; z-index: 1; }
  .free { align-self: flex-start; }
  .step:not(:last-child)::after { left: 23px; top: 46px; width: 24px; height: calc(100% - 14px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 160' preserveAspectRatio='none'%3E%3Cpath d='M12 0C-12 45 36 115 12 160' fill='none' stroke='%2303c4ff' stroke-opacity='.6' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
}

/* Content remains visible without JavaScript or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal { transition: opacity 650ms ease, transform 650ms ease; }
  .reveal-pending { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce), print {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* Close with the same land and river that welcome visitors above. */
.site-footer { min-height: 144px; display: flex; align-items: center; padding-block: 36px; color: #fff; background: #234f3e url("hero.jpg") 65% bottom / max(100%, 720px) auto no-repeat; }
.site-footer .footer-inner { width: 100%; }

/* Reuse the hero's land and water effects, aligned to the footer crop. */
.site-footer { position: relative; isolation: isolate; overflow: hidden; }
.footer-fx { position: absolute; width: max(100%, 720px); height: auto; aspect-ratio: 1774 / 887; bottom: 0; left: 65%; transform: translateX(-65%); z-index: 0; pointer-events: none; }
.footer-fx .hit { display: none; }
.site-footer::after { content: ""; position: absolute; inset: 0; background: rgba(16, 38, 31, .68); z-index: 1; pointer-events: none; }
.site-footer .footer-inner { position: relative; z-index: 2; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-footer:is(:hover, .effects-active) .tuft { transform: scaleY(1); animation: sway 2.6s ease-in-out .5s infinite; }
  .site-footer:is(:hover, .effects-active) .flow { opacity: 1; animation: flow 3.8s linear infinite; }
  .site-footer:is(:hover, .effects-active) .f2 { animation-duration: 5.2s; animation-delay: -2s; }
}
@media (prefers-reduced-motion: reduce), (hover: none), print {
  .footer-fx { display: none; }
}

/* Persistent highlights remain visible without motion when requested. */
@media (prefers-reduced-motion: reduce) {
  .hero .glow, .hero .rays, .hero .flow, .hero .tuft { animation: none !important; transition: none !important; }
}

/* Replay the small jump each time the river is entered. */
.river-fish-scene { pointer-events: none; }
.river-fish, .fish-ripple { opacity: 0; }
.fish-ripple { transform-box: fill-box; transform-origin: center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fish-jumping .river-fish { animation: fish-jump 2s linear .15s 1 both; }
  .fish-jumping .fish-ripple { animation: fish-splash .7s ease-out 2.05s 1 both; }
}
@keyframes fish-jump {
  0% { opacity: 0; transform: translate(0, 4px) rotate(-40deg); }
  8% { opacity: 1; transform: translate(8px, -15px) rotate(-35deg); }
  25% { opacity: 1; transform: translate(25px, -40px) rotate(-22deg); }
  50% { opacity: 1; transform: translate(50px, -54px) rotate(0deg); }
  75% { opacity: 1; transform: translate(75px, -40px) rotate(22deg); }
  92% { opacity: 1; transform: translate(92px, -15px) rotate(35deg); }
  100% { opacity: 0; transform: translate(100px, 4px) rotate(40deg); }
}
@keyframes fish-splash {
  0% { opacity: 0; transform: scale(.4); }
  15% { opacity: .7; }
  100% { opacity: 0; transform: scale(1.8); }
}

/* Opaque contact pills with a subtle colour change. */
.hero .actions .btn {
  background: var(--button-fill);
  border-color: var(--button-fill);
  color: var(--ink);
  opacity: 1;
  border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease;
}
.hero .actions .btn-yellow { --button-fill: var(--yellow); --button-hover: #f2c500; }
.hero .actions .btn-line-light { --button-fill: var(--paper); --button-hover: #ddf7ff; }
@media (hover: hover) {
  .hero .actions .btn:hover {
    background: var(--button-hover);
    border-color: var(--button-hover);
  }
}
.hero .actions .btn:focus-visible {
  background: var(--button-hover);
  border-color: var(--button-hover);
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .hero .actions .btn { transition: none; }
}

/* The supplied wordmarks retain their original proportions inside a close crop. */
html { scroll-padding-top: 100px; }
.hero .actions .btn { max-width: 100%; }
.contact-links a { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { padding-inline: 16px; font-size: 16px; }
}
