/* Colours */

:root {
    --navy: #12345a;
    --navy-deep: #0b2340;
    --green: #78b900;
    --lime: #b7e34b;
    --mint: #e7f4dc;
    --sky: #e5f2f4;
    --warm: #fff6e8;
    --white: #ffffff;
    --paper: #fbfcf9;
    --text: #354052;
    --muted: #687587;
    --border: #e5e9ed;
    --shadow: 0 18px 45px rgba(11, 35, 64, 0.12);
}

/* Base */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 146px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

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

a {
    color: inherit;
}

button {
    font: inherit;
}

.container {
    width: min(1160px, 88%);
    margin: 0 auto;
}

.section {
    padding: 82px 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 100;
    padding: 10px 14px;
    color: var(--white);
    background: var(--navy);
}

.skip-link:focus {
    top: 12px;
}

/* Header and navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(18, 52, 90, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 130px;
    gap: 28px;
}

.brand img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

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

.site-nav a {
    position: relative;
    display: inline-block;
    color: var(--navy);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #83c900;
    transform: scale(1.08);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-cta {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--white);
    background: var(--navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta span {
    margin-left: 8px;
    color: var(--lime);
}

.header-cta:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

/* Shared headings */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #5e9000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.eyebrow > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.eyebrow-light {
    color: var(--lime);
}

.eyebrow-light > span {
    background: var(--lime);
}

.about-copy h2,
.section-heading h2,
.community-copy h2,
.mission-heading h2,
.closing-copy h2,
.contact-copy h2 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 30px;
}

.section-heading h2 {
    max-width: 650px;
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 390px;
    margin: 0 0 5px;
    color: var(--muted);
}

/* Buttons and links */

.button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 13px 19px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-lime {
    color: var(--navy-deep);
    background: var(--lime);
}

.button-lime:hover {
    background: var(--white);
}

.button-navy {
    color: var(--white);
    background: var(--navy);
}

.button-navy:hover {
    background: var(--green);
}

.light-link {
    color: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 92px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 78% 12%,
            rgba(120, 185, 0, 0.22),
            transparent 27%
        ),
        linear-gradient(
            118deg,
            var(--navy-deep),
            var(--navy) 72%
        );
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
}

.hero h1 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(42px, 5.4vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero h1 em {
    color: var(--lime);
    font-style: normal;
}

.hero-description {
    max-width: 530px;
    margin: 22px 0 26px;
    color: #e3eaf1;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: #e3eaf1;
    font-size: 13px;
}

.hero-note p {
    margin: 0;
    line-height: 1.45;
}

.hero-note strong {
    color: var(--white);
}

.note-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--lime);
    font-size: 20px;
    font-weight: 800;
}

.hero-visual {
    position: relative;
    padding: 0 14px 18px 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 0;
    bottom: 0;
    left: 18px;
    z-index: 0;
    border: 2px solid rgba(183, 227, 75, 0.65);
    border-radius: 28px;
    pointer-events: none;
}

.hero-photo-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    background: #dbe5e8;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.hero-photo-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.6s ease;
}

.hero-photo-frame:hover img {
    transform: scale(1.035);
}

.hero-photo-caption {
    position: absolute;
    right: -12px;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 800;
}

.caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.hero-orbit {
    display: none;
}

.hero-bottom-shape {
    position: absolute;
    right: -4%;
    bottom: -80px;
    left: -4%;
    height: 110px;
    border-radius: 50% 50% 0 0;
    background: var(--white);
}

/* Hero location */

.hero-location-badge {
    display: inline-flex;
    align-items: stretch;
    width: fit-content;
    margin-bottom: 24px;
    padding: 2px 0 2px 14px;
    border-left: 3px solid var(--lime);
}

.hero-location-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.hero-location-title {
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero-location-place {
    color: #c8ec8d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* Intro band */

.intro-band {
    position: relative;
    z-index: 2;
    padding: 12px 0 20px;
    background: var(--white);
}

.intro-band-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.intro-band p {
    margin: 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
}

.intro-band span {
    color: var(--green);
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 76px;
}

.about-visual {
    position: relative;
    padding: 0 18px 18px 0;
}

.about-visual > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

.about-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 64%;
    height: 42%;
    border-radius: 16px;
    background: var(--mint);
}

.about-sticker {
    position: absolute;
    right: -14px;
    bottom: 34px;
    z-index: 2;
    display: grid;
    width: 96px;
    height: 96px;
    place-content: center;
    border: 5px solid var(--white);
    border-radius: 50%;
    color: var(--navy);
    background: var(--lime);
    text-align: center;
    line-height: 1.2;
    transform: rotate(8deg);
}

.about-sticker span {
    font-size: 12px;
}

.about-sticker strong {
    font-size: 16px;
}

.about-copy > p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
}

/* Mission */

.mission-section {
    padding: 64px 0;
    color: var(--white);
    background:
        radial-gradient(
            circle at 8% 100%,
            rgba(183, 227, 75, 0.18),
            transparent 26%
        ),
        var(--navy);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.mission-heading h2 {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--white);
}

.mission-copy p {
    margin: 0 0 22px;
    color: #e3eaf1;
}

/* Services */

.services-section {
    background: var(--paper);
}

.service-list {
    position: relative;
    isolation: isolate;
    border-top: 1px solid var(--border);
}

.service-list::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 0;
    width: 275px;
    height: 320px;
    transform: translateY(-50%);
    background:
        url("images/c4u-logo.jpg")
        center / contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.service-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 52px 1fr 1.1fr 28px;
    align-items: center;
    gap: 22px;
    padding: 22px 8px;
    border-bottom: 1px solid var(--border);
}

.service-index {
    color: #6d9b13;
    font-size: 13px;
    font-weight: 800;
}

.service-title h3 {
    margin: 0;
    color: var(--navy);
    font-size: 19px;
}

.service-title p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.service-detail {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.service-arrow {
    color: var(--green);
    font-size: 21px;
    transition: transform 0.2s ease;
}

/* Day services */

.day-services {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 38px;
    margin-top: 42px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid #dce9ce;
    border-radius: 18px;
    background:
        linear-gradient(
            125deg,
            #edf7df 0%,
            #e7f3f4 55%,
            #fff0df 100%
        );
}

.day-services-image {
    overflow: hidden;
    border-radius: 13px;
}

.day-services-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 12px 30px rgba(25, 53, 107, 0.16);
    transition: transform 0.5s ease;
}

.day-services-image:hover img {
    transform: scale(1.04);
}

.day-services-copy {
    position: relative;
    z-index: 1;
}

.day-services-copy h3 {
    margin: 0 0 8px;
    color: #19356b;
    font-size: 30px;
}

.day-services-copy h3::after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    margin-top: 12px;
    border-radius: 10px;
    background: #83c900;
}

.day-services-copy > p:not(.eyebrow) {
    max-width: 520px;
    color: #53667e;
}

.day-services-mark {
    position: absolute;
    right: 28px;
    bottom: 12px;
    color: #83c900;
    font-size: clamp(64px, 8vw, 110px);
    font-weight: 900;
    line-height: 1;
    opacity: 0.2;
}

/* Community */

.community-section {
    overflow: hidden;
    background: var(--warm);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.community-copy > p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 22px;
    color: var(--muted);
}

.community-art {
    position: relative;
    padding: 24px;
    border-radius: 48% 48% 18px 18px;
    background: var(--lime);
}

.community-art img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 40% 40% 14px 14px;
    background: var(--white);
}

.art-label {
    position: absolute;
    right: -20px;
    bottom: 30px;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--white);
    background: var(--navy);
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 800;
}

/* C4U values */

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

.values-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
}

.values-list {
    display: grid;
    align-content: start;
}

.value-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 14px;
    border: 0;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding 0.2s ease;
}

.value-tab > span {
    color: #7c9a4a;
    font-size: 12px;
    font-weight: 800;
}

.value-tab b {
    margin-left: auto;
    color: var(--green);
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.value-tab:hover,
.value-tab.active {
    padding-left: 20px;
    color: var(--navy-deep);
    background: var(--mint);
}

.value-tab.active b {
    transform: rotate(45deg);
}

.value-panel {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--navy);
}

.value-panel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.value-panel-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px;
    color: var(--white);
    background:
        linear-gradient(
            transparent,
            rgba(11, 35, 64, 0.96) 35%
        );
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.value-panel.switching .value-panel-image {
    animation: valueFadeIn 0.45s ease both;
}

.value-panel.switching .value-panel-copy {
    animation: valueFadeIn 0.5s ease 0.08s both;
}

@keyframes valueFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-panel-copy h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 30px;
}

.value-panel-copy p:last-child {
    max-width: 470px;
    margin: 0;
    color: #e4ebf2;
}

/* Closing section */

.closing-section {
    padding: 72px 0;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.closing-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 60px;
}

.closing-copy h2 {
    color: var(--white);
}

.closing-copy > p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 24px;
    color: #e3eaf1;
}

.closing-image {
    position: relative;
    padding: 0 14px 14px 0;
}

.closing-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border: 5px solid var(--white);
    border-radius: 18px;
}

/* Gallery */

.gallery-section {
    padding: 64px 0;
    background: var(--paper);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 22px;
}

.gallery-heading h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 30px;
    line-height: 1.15;
}

.gallery-heading > p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.gallery-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--sky);
}

.gallery-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-photo:hover img {
    transform: scale(1.04);
}

.gallery-photo figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

/* Contact */

.contact-section {
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(
            circle at 8% 100%,
            rgba(183, 227, 75, 0.15),
            transparent 25%
        ),
        var(--navy-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.contact-copy h2 {
    color: var(--white);
}

.contact-copy > p {
    max-width: 440px;
    color: #dfe7ee;
}

.contact-brand-images {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.contact-ndis-badge {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
}

.contact-logo {
    width: 118px;
    height: 76px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
}

.contact-details {
    display: grid;
    gap: 10px;
}

.contact-person {
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.contact-person:hover {
    transform: translateX(4px);
    border-color: var(--lime);
    background: rgba(183, 227, 75, 0.12);
}

.owner-card {
    grid-template-columns: 42px 1fr;
}

.contact-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: #385333;
    background: var(--lime);
}

.contact-info strong,
.contact-info a {
    display: block;
}

.contact-info strong {
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-info a {
    margin-top: 4px;
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info a:hover {
    color: var(--lime);
}

.contact-person small {
    display: block;
    color: var(--lime);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.contact-arrow {
    color: var(--lime);
}

/* SVG icons */

.site-icon,
.resource-emoji svg,
.contact-icon svg,
.contact-arrow svg,
.resource-link svg {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.resource-emoji svg *,
.contact-icon svg *,
.contact-arrow svg *,
.resource-link svg * {
    fill: none;
    stroke: currentColor;
}

.resource-emoji svg {
    width: 25px;
    height: 25px;
}

.contact-arrow svg,
.resource-link svg {
    width: 18px;
    height: 18px;
}

.instagram-icon svg .instagram-dot {
    fill: currentColor;
    stroke: none;
}

/* NDIS resource cards */

.resources-section {
    background: var(--paper);
}

.resources-section .section-heading > div > p:last-child {
    max-width: 640px;
    margin: 16px 0 0;
    color: var(--muted);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.resource-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 340px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid #e1e9d9;
    border-radius: 20px;
    background:
        linear-gradient(
            150deg,
            var(--white) 45%,
            #f4f9ec 100%
        );
    box-shadow: 0 12px 30px rgba(11, 35, 64, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.resource-card::before {
    content: "";
    position: absolute;
    top: -68px;
    right: -62px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(183, 227, 75, 0.20),
            rgba(183, 227, 75, 0) 70%
        );
    pointer-events: none;
}

.resource-card:hover {
    transform: translateY(-6px);
    border-color: rgba(120, 185, 0, 0.55);
    box-shadow: 0 20px 42px rgba(11, 35, 64, 0.12);
}

.resource-emoji {
    position: relative;
    z-index: 1;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid #e1edce;
    border-radius: 17px;
    color: #648f44;
    background: var(--mint);
}

.resource-label {
    position: relative;
    z-index: 1;
    margin: 22px 0 8px;
    color: #648f14;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.resource-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.25;
}

.resource-card > p:not(.resource-label) {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.resource-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.resource-link:visited,
.resource-link:hover,
.resource-link:focus-visible,
.resource-link:active {
    color: var(--navy);
}

.resource-link > span {
    color: inherit;
    transition: transform 0.2s ease;
}

.resource-link .resource-link-text {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.resource-link:hover > span:not(.resource-link-text),
.resource-link:focus-visible > span:not(.resource-link-text) {
    transform: translate(3px, -3px);
}

.resource-link:focus-visible {
    outline: 3px solid rgba(120, 185, 0, 0.35);
    outline-offset: 4px;
    border-radius: 3px;
}

.resource-card:nth-child(2) {
    transition-delay: 0.08s;
}

.resource-card:nth-child(3) {
    transition-delay: 0.16s;
}

/* Enquiry page */

.enquiry-page {
    min-height: 100vh;
    padding: 10px 0 72px;
    background:
        radial-gradient(
            circle at top left,
            rgba(183, 227, 75, 0.12),
            transparent 35%
        ),
        #f7faf4;
}

.enquiry-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 42px;
}

.enquiry-topbar img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.enquiry-back {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.enquiry-back:hover {
    color: var(--green);
}

.enquiry-card {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #e4ecd9;
    border-top: 4px solid var(--lime);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(11, 35, 64, 0.09);
}

.enquiry-card h1 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.1;
}

.enquiry-intro {
    margin: 0 0 28px;
    color: var(--muted);
}

.enquiry-form {
    display: grid;
    gap: 18px;
}

.enquiry-field {
    display: grid;
    gap: 7px;
}

.enquiry-field label {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5dfd0;
    border-radius: 10px;
    color: var(--text);
    background: var(--white);
    font: inherit;
}

.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus {
    outline: 3px solid rgba(120, 185, 0, 0.16);
    border-color: var(--green);
}

.enquiry-field textarea {
    min-height: 150px;
    resize: vertical;
}

.enquiry-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.enquiry-submit {
    justify-self: start;
    cursor: pointer;
}

/* Footer */

.site-footer {
    padding: 18px 0;
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-inner img {
    width: 100px;
    height: 56px;
    object-fit: contain;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

/* Reveal on scroll */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-row:nth-child(2) {
    transition-delay: 0.08s;
}

.service-row:nth-child(3) {
    transition-delay: 0.16s;
}

.service-row:nth-child(4) {
    transition-delay: 0.24s;
}

/* Tablet */

@media (max-width: 850px) {
    .header-cta {
        display: none;
    }

    .hero-grid,
    .about-grid,
    .mission-grid,
    .community-grid,
    .closing-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 48px;
    }

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

    .hero-visual {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .mission-grid,
    .community-grid,
    .closing-grid,
    .contact-grid {
        gap: 34px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 14px;
    }

    .day-services {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 22px;
    }

    .values-layout {
        grid-template-columns: 1fr;
    }

    .value-panel {
        min-height: 320px;
    }

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

/* Mobile */

@media (max-width: 680px) {
    html {
        scroll-padding-top: 112px;
    }

    .container {
        width: 90%;
    }

    .header-inner {
        position: relative;
        min-height: 96px;
    }

    .brand img {
        width: 84px;
        height: 84px;
    }

    .menu-toggle {
        display: grid;
        gap: 5px;
        padding: 9px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        border-radius: 3px;
        background: var(--navy);
    }

    /* Dropdown with a gentle opening motion */

    .site-nav {
        position: absolute;
        top: 100%;
        right: -5.5%;
        left: -5.5%;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        width: auto;
        height: auto;
        max-height: calc(100vh - 110px);
        max-height: calc(100dvh - 110px);
        overflow-y: auto;

        gap: 8px;
        padding: 18px 6%;
        background: var(--white);
        box-shadow: 0 14px 25px rgba(11, 35, 64, 0.10);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s;
    }

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

    .site-nav a {
        display: block;
        padding: 13px 16px;
        color: var(--navy);
        background: transparent;
        font-size: 17px;
        font-weight: 700;
        text-decoration: none;

        text-shadow:
            0 0 3px rgba(120, 185, 0, 0.45),
            0 0 7px rgba(183, 227, 75, 0.35);

        transition: none;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible,
    .site-nav a:active {
        color: var(--navy);
        transform: none;
    }

    .site-nav a::after {
        display: none;
    }

    .hero {
        padding: 56px 0 76px;
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 56px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-photo-frame {
        border-width: 5px;
        border-radius: 20px;
    }

    .hero-visual::before {
        top: 10px;
        left: 10px;
        border-radius: 24px;
    }

    .hero-photo-caption {
        right: -5px;
        font-size: 10px;
    }

    .intro-band-inner {
        gap: 10px;
    }

    .intro-band p {
        font-size: 12px;
    }

    .section {
        padding: 60px 0;
    }

    .about-grid {
        gap: 34px;
    }

    .about-sticker {
        right: -5px;
        width: 78px;
        height: 78px;
    }

    .mission-section,
    .contact-section {
        padding: 54px 0;
    }

    .service-list::after {
        width: 170px;
        height: 220px;
        opacity: 0.035;
    }

    .service-row {
        grid-template-columns: 34px 1fr 22px;
        gap: 12px;
        padding: 17px 3px;
    }

    .service-detail {
        grid-column: 2 / 3;
        margin-top: -6px;
    }

    .service-title h3 {
        font-size: 16px;
    }

    .service-title p,
    .service-detail {
        font-size: 12px;
    }

    .day-services {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .day-services-mark {
        right: 15px;
        bottom: 12px;
        font-size: 80px;
    }

    .community-art {
        padding: 16px;
    }

    .art-label {
        right: -6px;
    }

    .value-panel {
        min-height: 280px;
    }

    .value-panel-copy {
        padding: 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo img {
        height: 240px;
    }

    .resource-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .resource-card {
        min-height: 0;
        padding: 23px;
    }

    .resource-card:nth-child(2),
    .resource-card:nth-child(3) {
        transition-delay: 0s;
    }

    .enquiry-page {
        padding: 6px 0 48px;
    }

    .enquiry-topbar {
        margin-bottom: 26px;
    }

    .enquiry-topbar img {
        width: 84px;
        height: 84px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Respect reduced-motion preferences */

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .value-panel.switching .value-panel-image,
    .value-panel.switching .value-panel-copy {
        animation: none;
    }
}