/* ==========================================================================
   Thercore — site styles
   Typographic system: Cormorant Garamond (display) + Jost (text).
   No uppercase transforms anywhere; hierarchy comes from scale, weight,
   tracking and space.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

ul,
ol {
    padding: 0;
    list-style: none;
}

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

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

button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
    /* Palette — built around the deep green of the Thercore mark. */
    --bone: #f7f5f0;
    --bone-warm: #f1eee6;
    --paper: #ffffff;
    --ink: #17211d;
    --ink-soft: #5d6863;
    --ink-faint: #8a938e;
    --line: #e0dcd2;
    --line-strong: #cbc5b7;

    --green: #35705f;
    --green-deep: #1c4136;
    --green-darkest: #12281f;
    --green-mid: #41aba0;
    --green-light: #8ec64e;
    --green-wash: rgba(53, 112, 95, 0.08);

    /* Type */
    --display: "Cormorant Garamond", "Adobe Caslon Pro", Garamond, Georgia,
        "Times New Roman", serif;
    --text: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Helvetica, Arial,
        sans-serif;

    /* Rhythm */
    --gutter: clamp(1.5rem, 5vw, 4.5rem);
    --shell: 1240px;
    --section-y: clamp(5.5rem, 11vw, 10.5rem);

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.6s;
}

/* --------------------------------------------------------------------------
   3. Base typography
   -------------------------------------------------------------------------- */

body {
    background: var(--bone);
    color: var(--ink);
    font-family: var(--text);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Paper grain — a whisper of texture, the way print stock reads. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.display {
    font-family: var(--display);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

h1 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0;
}

h2 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(2.1rem, 4.6vw, 3.75rem);
    line-height: 1.06;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.005em;
}

em,
.italic {
    font-style: italic;
}

/* The "eyebrow" — tracked-out lowercase in place of the usual small caps,
   underlined rather than led by a rule. */
.eyebrow {
    display: inline-block;
    font-family: var(--text);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.34em;
    line-height: 1;
    color: var(--green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.7em;
    text-decoration-color: rgba(53, 112, 95, 0.45);
}

.band .eyebrow {
    text-decoration-color: rgba(142, 198, 78, 0.5);
}

/* A full positioning sentence needs air between the letters pulled back in. */
.eyebrow--long {
    max-width: 34rem;
    letter-spacing: 0.13em;
    line-height: 1.9;
    text-underline-offset: 0.45em;
}

.lede {
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
    line-height: 1.7;
    color: var(--ink-soft);
    font-weight: 300;
}

.muted {
    color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 2;
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

/* Anchors clear the fixed header instead of hiding beneath it. */
[id] {
    scroll-margin-top: clamp(72px, 10vw, 104px);
}

.section--tight {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.rule {
    height: 1px;
    background: var(--line);
    border: 0;
    margin: 0;
}

.section-head {
    display: grid;
    gap: clamp(1.25rem, 2vw, 2rem);
    max-width: 46rem;
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--green-deep);
    color: var(--bone);
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--green-mid);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */

.btn {
    --btn-fg: var(--ink);
    --btn-bd: var(--ink);
    --btn-fill: var(--ink);
    --btn-fg-hover: var(--bone);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    padding: 1.05em 2.4em;
    font-family: var(--text);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    line-height: 1;
    color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    background: transparent;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--btn-fill);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
    color: var(--btn-fg-hover);
    border-color: var(--btn-fill);
}

.btn:hover::before,
.btn:focus-visible::before {
    transform: scaleX(1);
}

.btn--green {
    --btn-fg: var(--green-deep);
    --btn-bd: rgba(53, 112, 95, 0.4);
    --btn-fill: var(--green-deep);
    --btn-fg-hover: var(--bone);
}

.btn--light {
    --btn-fg: var(--bone);
    --btn-bd: rgba(247, 245, 240, 0.42);
    --btn-fill: var(--bone);
    --btn-fg-hover: var(--green-darkest);
}

.btn--block {
    width: 100%;
}

/* Underline that draws in from the left. */
.link-line {
    position: relative;
    display: inline-block;
    padding-bottom: 0.2em;
}

.link-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s var(--ease-out);
}

.link-line:hover::after,
.link-line:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* --------------------------------------------------------------------------
   6. Intro veil — pure CSS, so a JS failure can never trap the page.
   -------------------------------------------------------------------------- */

.veil {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bone);
    display: grid;
    place-items: center;
    pointer-events: none;
    animation: veil-lift 0.5s var(--ease-out) 1.05s forwards;
}

.veil__line {
    width: min(220px, 40vw);
    height: 1px;
    background: var(--line-strong);
    position: relative;
    overflow: hidden;
}

.veil__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
    animation: veil-draw 0.95s var(--ease-out) forwards;
}

@keyframes veil-draw {
    to {
        transform: scaleX(1);
    }
}

@keyframes veil-lift {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* --------------------------------------------------------------------------
   7. Scroll progress
   -------------------------------------------------------------------------- */

.progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 120;
    pointer-events: none;
}

.progress__bar {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--green-deep), var(--green-mid));
    transform: scaleX(0);
    transform-origin: left center;
}

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    padding-block: clamp(1.1rem, 2.2vw, 1.9rem);
    transition: padding 0.45s var(--ease), background-color 0.45s var(--ease),
        box-shadow 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}

.site-header.is-stuck {
    padding-block: 0.85rem;
    background: rgba(247, 245, 240, 0.86);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* The mark carries its wordmark inside the roundel, so it needs real size
   to stay legible. */
.brand img {
    height: clamp(58px, 6vw, 84px);
    width: auto;
    transition: height 0.45s var(--ease), opacity 0.4s var(--ease);
}

.site-header.is-stuck .brand img {
    height: clamp(48px, 4.6vw, 62px);
}

.brand:hover img {
    opacity: 0.72;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.75rem);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 2.6vw, 2.5rem);
}

.nav__link {
    position: relative;
    display: inline-block;
    padding-block: 0.35em;
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    color: var(--ink);
    transition: color 0.4s var(--ease);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.45s var(--ease-out);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-current {
    color: var(--green);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-current::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.nav__cta {
    padding: 0.85em 1.7em;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
}

/* Burger */
.burger {
    display: none;
    width: 34px;
    height: 26px;
    position: relative;
    flex-shrink: 0;
}

.burger span {
    position: absolute;
    left: 0;
    height: 1px;
    width: 100%;
    background: var(--ink);
    transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease),
        width 0.45s var(--ease-out);
}

.burger span:nth-child(1) {
    top: 7px;
}

.burger span:nth-child(2) {
    top: 14px;
    width: 70%;
}

.burger span:nth-child(3) {
    top: 21px;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: min(100svh, 900px);
    display: flex;
    align-items: center;
    padding-block: clamp(9rem, 18vw, 12rem) clamp(4rem, 8vw, 7rem);
    overflow: hidden;
}

/* Two slow-drifting washes of the brand greens, well under the type. */
.hero__aura {
    position: absolute;
    inset: -20% -10%;
    z-index: 0;
    pointer-events: none;
}

.hero__aura span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    will-change: transform;
}

.hero__aura span:nth-child(1) {
    width: 46vw;
    height: 46vw;
    top: 4%;
    right: -6%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(65, 171, 160, 0.5),
        transparent 68%
    );
    animation: drift-a 26s var(--ease) infinite alternate;
}

.hero__aura span:nth-child(2) {
    width: 38vw;
    height: 38vw;
    bottom: -10%;
    left: -4%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(142, 198, 78, 0.4),
        transparent 68%
    );
    animation: drift-b 32s var(--ease) infinite alternate;
}

.hero__aura span:nth-child(3) {
    width: 30vw;
    height: 30vw;
    top: 34%;
    left: 38%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(53, 112, 95, 0.28),
        transparent 70%
    );
    animation: drift-a 38s var(--ease) infinite alternate-reverse;
}

@keyframes drift-a {
    to {
        transform: translate3d(-6%, 8%, 0) scale(1.14);
    }
}

@keyframes drift-b {
    to {
        transform: translate3d(9%, -7%, 0) scale(1.1);
    }
}

.hero__inner {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: end;
    grid-template-columns: minmax(0, 1fr);
}

.hero__wordmark {
    font-size: clamp(2.75rem, 8vw, 6rem);
    letter-spacing: -0.025em;
    color: var(--green-deep);
}

.hero__wordmark .thin {
    font-weight: 300;
}

.hero__tag {
    max-width: 34rem;
    font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
    line-height: 1.55;
    color: var(--ink-soft);
    font-weight: 300;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.hero__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-top: clamp(3.5rem, 8vw, 6rem);
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--ink-faint);
}

.scroll-cue__track {
    width: 1px;
    height: 46px;
    background: var(--line-strong);
    position: relative;
    overflow: hidden;
}

.scroll-cue__track::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 40%;
    background: var(--green);
    animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
    0% {
        transform: translateY(-110%);
    }
    60%,
    100% {
        transform: translateY(260%);
    }
}

/* Word-by-word reveal for the wordmark */
.reveal-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.reveal-word > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 1.05s var(--ease-out) var(--delay, 0s);
}

.is-ready .reveal-word > span {
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   10. Value index (results / quality / focus / mindset)
   -------------------------------------------------------------------------- */

.index {
    border-top: 1px solid var(--line);
}

.index__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.index__item {
    position: relative;
    padding: clamp(2rem, 3.4vw, 3.25rem) clamp(1rem, 2vw, 2rem)
        clamp(2rem, 3.4vw, 3.25rem) 0;
    border-right: 1px solid var(--line);
    transition: background-color 0.5s var(--ease);
}

.index__item:last-child {
    border-right: 0;
}

.index__item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 100%;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s var(--ease-out);
}

.index__item:hover::after {
    transform: scaleX(1);
}

.index__item:hover {
    background: var(--green-wash);
}

.index__num {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    color: var(--ink-faint);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.index__word {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--green-deep);
    margin-bottom: 0.5rem;
    transition: transform 0.5s var(--ease-out);
}

.index__item:hover .index__word {
    transform: translateX(6px);
}

.index__desc {
    display: block;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 15rem;
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.about__statement {
    font-family: var(--display);
    font-size: clamp(1.7rem, 3.1vw, 2.75rem);
    font-weight: 300;
    line-height: 1.22;
    letter-spacing: -0.012em;
    color: var(--ink);
    text-wrap: balance;
}

.about__statement em {
    color: var(--green);
}

.about__body {
    margin-top: clamp(2rem, 3.6vw, 3rem);
    max-width: 34rem;
    color: var(--ink-soft);
}

.about__body p + p {
    margin-top: 1.25rem;
}

/* Editorial figure: desaturated to sit inside the palette, colour on hover. */
.figure {
    position: relative;
    margin: 0;
}

.figure__frame {
    position: relative;
    overflow: hidden;
    background: var(--bone-warm);
}

.figure__frame img {
    width: 100%;
    height: auto;
    filter: grayscale(0.82) contrast(1.04) brightness(1.02);
    transform: scale(1.04);
    transition: filter 0.9s var(--ease), transform 1.2s var(--ease-out);
}

.figure__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--green-deep);
    mix-blend-mode: multiply;
    opacity: 0.14;
    transition: opacity 0.9s var(--ease);
    pointer-events: none;
}

.figure:hover .figure__frame img {
    filter: grayscale(0) contrast(1) brightness(1);
    transform: scale(1);
}

.figure:hover .figure__frame::after {
    opacity: 0;
}

.figure__caption {
    margin-top: 1.1rem;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */

#services {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service {
    position: relative;
    background: var(--paper);
    padding: clamp(2rem, 3.6vw, 3.25rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    transition: background-color 0.55s var(--ease);
}

.service::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--green-mid), var(--green-light));
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.65s var(--ease-out);
}

.service:hover::before,
.service:focus-within::before {
    transform: scaleY(1);
}

.service:hover {
    background: #fbfaf7;
}

/* Oversized watermark numeral, the way a lookbook plates its pages. */
.service__num {
    position: absolute;
    right: clamp(1rem, 2vw, 2rem);
    top: clamp(0.5rem, 1.5vw, 1rem);
    font-family: var(--display);
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 1;
    font-weight: 300;
    /* Cormorant defaults to old-style figures — "01" would read as "OI". */
    font-variant-numeric: lining-nums;
    color: var(--green);
    opacity: 0.07;
    transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
    pointer-events: none;
}

.service:hover .service__num {
    opacity: 0.14;
    transform: translateY(-6px);
}

.service__mark {
    width: 40px;
    height: 40px;
    color: var(--green);
    flex-shrink: 0;
}

.service__mark svg {
    width: 100%;
    height: 100%;
}

.service__mark svg * {
    stroke-dasharray: var(--len, 120);
    stroke-dashoffset: var(--len, 120);
    transition: stroke-dashoffset 1.1s var(--ease-out);
}

.is-visible .service__mark svg *,
.service:hover .service__mark svg * {
    stroke-dashoffset: 0;
}

.service h3 {
    color: var(--ink);
    margin-top: 0.4rem;
}

.service p {
    color: var(--ink-soft);
    font-size: 0.975rem;
    line-height: 1.7;
    max-width: 30rem;
}

/* --------------------------------------------------------------------------
   13. Marquee
   -------------------------------------------------------------------------- */

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 12%,
        #000 88%,
        transparent
    );
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 12%,
        #000 88%,
        transparent
    );
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: slide 34s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee__item {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.6rem, 3.4vw, 3rem);
    line-height: 1.1;
    color: var(--green-deep);
    padding-inline: clamp(1.25rem, 2.5vw, 2.25rem);
    opacity: 0.75;
}

.marquee__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
}

@keyframes slide {
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --------------------------------------------------------------------------
   14. Deep green band / call to action
   -------------------------------------------------------------------------- */

.band {
    position: relative;
    background: var(--green-darkest);
    color: var(--bone);
    overflow: hidden;
}

.band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            ellipse at 18% 0%,
            rgba(65, 171, 160, 0.3),
            transparent 58%
        ),
        radial-gradient(
            ellipse at 88% 100%,
            rgba(142, 198, 78, 0.22),
            transparent 55%
        );
    pointer-events: none;
}

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

.band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.band h2 {
    color: var(--bone);
}

.band p {
    color: rgba(247, 245, 240, 0.72);
    max-width: 32rem;
    margin-top: 1.25rem;
}

.band__form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    /* Sit the button on the input's baseline rule, not on the label's box. */
    align-items: flex-end;
}

.band__form .field {
    flex: 1 1 16rem;
}

/* Underlined input, no boxes — quieter, more like a printed form. */
.field {
    position: relative;
    padding-top: 1.35rem;
}

.field input,
.field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    padding: 0.55rem 0 0.7rem;
    font-family: var(--text);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink);
    border-radius: 0;
    transition: border-color 0.45s var(--ease);
}

.field textarea {
    resize: vertical;
    min-height: 7rem;
    line-height: 1.7;
}

.field label {
    position: absolute;
    left: 0;
    top: 2rem;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--ink-faint);
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.4s var(--ease-out), color 0.4s var(--ease);
}

.field input:focus,
.field textarea:focus {
    outline: 0;
    border-bottom-color: var(--green);
}

.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.75rem) scale(0.72);
    color: var(--green);
    letter-spacing: 0.14em;
}

.field input::placeholder,
.field textarea::placeholder {
    color: transparent;
}

.field__error {
    display: block;
    min-height: 1.1rem;
    margin-top: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #b4553f;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out);
}

.field.has-error input,
.field.has-error textarea {
    border-bottom-color: #b4553f;
}

.field.has-error .field__error {
    opacity: 1;
    transform: translateY(0);
}

/* Inputs sitting on the dark band */
.band .field input {
    color: var(--bone);
    border-bottom-color: rgba(247, 245, 240, 0.3);
}

.band .field label {
    color: rgba(247, 245, 240, 0.55);
}

.band .field input:focus {
    border-bottom-color: var(--green-light);
}

.band .field input:focus + label,
.band .field input:not(:placeholder-shown) + label {
    color: var(--green-light);
}

.band__note {
    flex-basis: 100%;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    color: rgba(247, 245, 240, 0.5);
    min-height: 1.2rem;
}

.band__note.is-good {
    color: var(--green-light);
}

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.contact__details {
    display: grid;
    gap: 2rem;
}

.detail {
    display: grid;
    gap: 0.35rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.detail__label {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    color: var(--ink-faint);
}

.detail__value {
    font-family: var(--display);
    font-size: clamp(1.15rem, 1.9vw, 1.5rem);
    font-weight: 400;
    font-variant-numeric: lining-nums;
    color: var(--green-deep);
    word-break: break-word;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.social {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--line-strong);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--ink);
    transition: border-color 0.45s var(--ease), color 0.45s var(--ease),
        transform 0.45s var(--ease-out), background-color 0.45s var(--ease);
}

/* Third-party brand blues and greens fight the palette, so they rest
   desaturated and come back to full colour on hover. */
.social img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: filter 0.45s var(--ease);
}

.social:hover img,
.social:focus-visible img {
    filter: none;
}

.social:hover,
.social:focus-visible {
    border-color: var(--green);
    color: var(--green-deep);
    background: var(--green-wash);
    transform: translateY(-2px);
}

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

.form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.form__status {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    min-height: 1.2rem;
}

.form__status.is-good {
    color: var(--green);
}

.form__status.is-bad {
    color: #b4553f;
}

.form.is-sent {
    opacity: 0.55;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--green-darkest);
    color: rgba(247, 245, 240, 0.62);
    padding-block: clamp(3rem, 6vw, 5rem);
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(247, 245, 240, 0.14);
}

/* The mark is a single green colour, so knocking it to white keeps one asset. */
.site-footer .brand img {
    height: 58px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.site-footer__nav a {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    color: rgba(247, 245, 240, 0.72);
    transition: color 0.4s var(--ease);
}

.site-footer__nav a:hover {
    color: var(--bone);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   17. Back to top
   -------------------------------------------------------------------------- */

.to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2.5rem);
    bottom: clamp(1rem, 3vw, 2.5rem);
    z-index: 100;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: rgba(247, 245, 240, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--green-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease-out),
        visibility 0.45s, border-color 0.4s var(--ease),
        background-color 0.4s var(--ease);
}

.to-top.is-shown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    border-color: var(--green);
    background: var(--green-deep);
    color: var(--bone);
}

/* --------------------------------------------------------------------------
   18. Reveal on scroll
   -------------------------------------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease-out) var(--delay, 0s),
        transform 0.9s var(--ease-out) var(--delay, 0s);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal="left"] {
    transform: translateX(-26px);
}

[data-reveal="right"] {
    transform: translateX(26px);
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .about__grid,
    .contact__grid,
    .band__inner {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .index__item:nth-child(2n) {
        border-right: 0;
    }

    .index__item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 860px) {
    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2.5rem;
        padding: 6rem var(--gutter) 3rem;
        background: var(--bone);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.7s var(--ease-out);
        overflow-y: auto;
    }

    .nav.is-open {
        clip-path: inset(0 0 0 0);
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav__link {
        font-family: var(--display);
        font-size: 2rem;
        letter-spacing: -0.01em;
    }

    .burger {
        position: relative;
        z-index: 2;
    }

    body.is-locked {
        overflow: hidden;
    }
}

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

    .hero__foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .service {
        padding: 2rem 1.5rem;
    }
}

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

    .index__item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-right: 0;
    }

    .index__item:last-child {
        border-bottom: 0;
    }

    .index__num {
        margin-bottom: 1rem;
    }
}

/* --------------------------------------------------------------------------
   20. Motion preferences
   -------------------------------------------------------------------------- */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal],
    .reveal-word > span {
        opacity: 1;
        transform: none;
    }

    .marquee__track {
        animation: none;
    }
}

@media print {
    .site-header,
    .to-top,
    .veil,
    .progress,
    .marquee {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   21. Process — an accordion, so the page stays quiet until asked
   -------------------------------------------------------------------------- */

.steps {
    border-top: 1px solid var(--line);
    counter-reset: step;
}

.step {
    border-bottom: 1px solid var(--line);
}

.step__head {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    width: 100%;
    padding: clamp(1.5rem, 3vw, 2.25rem) 0;
    text-align: left;
    color: var(--ink);
    transition: color 0.45s var(--ease);
}

.step__head:hover,
.step.is-open .step__head {
    color: var(--green-deep);
}

.step__num {
    flex-shrink: 0;
    width: 2.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    color: var(--ink-faint);
    transition: color 0.45s var(--ease);
}

.step.is-open .step__num {
    color: var(--green);
}

.step__title {
    flex: 1;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* A plus that becomes a minus, drawn from two rules so it can rotate. */
.step__sign {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.step__sign::before,
.step__sign::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto 0;
    height: 1px;
    background: currentColor;
    transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease);
}

.step__sign::after {
    transform: rotate(90deg);
}

.step.is-open .step__sign::after {
    transform: rotate(0deg);
    opacity: 0;
}

.step__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s var(--ease-out);
}

.step.is-open .step__body {
    grid-template-rows: 1fr;
}

.step__body > div {
    overflow: hidden;
}

.step__body p {
    max-width: 42rem;
    padding: 0 0 clamp(1.75rem, 3vw, 2.5rem) calc(2.5rem + clamp(1rem, 3vw, 2.5rem));
    color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   22. People
   -------------------------------------------------------------------------- */

#people {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.person {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--line);
    background: var(--bone);
}

.person__name {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--green-deep);
}

.person__role {
    display: block;
    margin-top: 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    color: var(--ink-faint);
}

.person__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.person p {
    color: var(--ink-soft);
}

.person p + p {
    margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   23. Consent
   -------------------------------------------------------------------------- */

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.75rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--ink-soft);
    cursor: pointer;
}

.consent input {
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    border: 1px solid var(--line-strong);
    background: transparent;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.consent input::after {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 1px solid var(--bone);
    border-bottom: 1px solid var(--bone);
    transform: rotate(-45deg) scale(0);
    transition: transform 0.35s var(--ease-out);
}

.consent input:checked {
    background: var(--green-deep);
    border-color: var(--green-deep);
}

.consent input:checked::after {
    transform: rotate(-45deg) scale(1);
}

.consent.has-error input {
    border-color: #b4553f;
}

/* --------------------------------------------------------------------------
   24. Message panel
   -------------------------------------------------------------------------- */

.chat {
    position: fixed;
    right: clamp(1rem, 3vw, 2.5rem);
    bottom: clamp(1rem, 3vw, 2.5rem);
    z-index: 130;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.chat__launcher {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.5rem;
    background: var(--green-deep);
    color: var(--bone);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    box-shadow: 0 10px 30px rgba(18, 40, 31, 0.22);
    transition: background-color 0.45s var(--ease), transform 0.45s var(--ease-out);
}

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

.chat__launcher svg {
    width: 16px;
    height: 16px;
}

.chat__panel {
    width: min(360px, calc(100vw - 2rem));
    max-height: min(560px, calc(100vh - 8rem));
    overflow-y: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(18, 40, 31, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out),
        visibility 0.4s;
}

.chat.is-open .chat__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.chat__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1.25rem;
    background: var(--green-darkest);
    color: var(--bone);
}

.chat__title {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.2;
}

.chat__sub {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(247, 245, 240, 0.66);
}

.chat__close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: rgba(247, 245, 240, 0.7);
    font-size: 1.4rem;
    line-height: 1;
    transition: color 0.4s var(--ease);
}

.chat__close:hover {
    color: var(--bone);
}

.chat__body {
    padding: 1.5rem;
}

.chat__hello {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.chat__channels {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.chat__channel {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--ink);
    transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
        transform 0.4s var(--ease-out);
}

.chat__channel img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.chat__channel:hover {
    border-color: var(--green);
    background: var(--green-wash);
    transform: translateX(3px);
}

.chat__or {
    margin: 1.5rem 0 0.25rem;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--ink-faint);
}

.chat__form .field {
    padding-top: 1.15rem;
}

.chat__form .field label {
    top: 1.75rem;
    font-size: 0.88rem;
}

.chat__form .btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.95em 1.5em;
}

.chat__note {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--ink-soft);
    min-height: 1rem;
}

.chat__note.is-good {
    color: var(--green);
}

.chat__note.is-bad {
    color: #b4553f;
}

/* The chat owns the bottom-right corner, so the scroll button steps aside. */
.to-top {
    right: auto;
    left: clamp(1rem, 3vw, 2.5rem);
}

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

@media (max-width: 560px) {
    .chat__launcher span {
        display: none;
    }

    .chat__launcher {
        padding: 1rem;
    }

    .step__body p {
        padding-left: 0;
    }
}

/* --------------------------------------------------------------------------
   25. Hero: brand line above a keyword-carrying headline
   -------------------------------------------------------------------------- */

/* The roundel in the header already carries the brand, so here it is only a
   quiet signature above the headline. */
.hero__brand {
    margin-top: 1.5rem;
    font-family: var(--display);
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.32em;
    color: var(--green);
}

.hero__headline {
    max-width: 20ch;
    margin-top: 1.1rem;
    font-family: var(--display);
    font-size: clamp(2.4rem, 5.4vw, 4.5rem);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -0.022em;
    color: var(--green-deep);
    text-wrap: balance;
}

.hero__tag {
    margin-top: 1.75rem;
}

.hero__assurance {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    padding: 0.7rem 1.1rem 0.7rem 0.8rem;
    border: 1px solid rgba(53, 112, 95, 0.28);
    background: var(--green-wash);
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--green-deep);
}

.hero__assurance-mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--green);
}

.hero__assurance-mark svg {
    width: 100%;
    height: 100%;
}

.form__assurance {
    margin-top: 1.75rem;
    padding-left: 1rem;
    border-left: 2px solid var(--green);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--green-deep);
}

/* --------------------------------------------------------------------------
   26. Specialisms
   -------------------------------------------------------------------------- */

.specialisms {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

.specialisms h3 {
    color: var(--ink);
    margin-bottom: 1.75rem;
}

.specialisms__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.specialisms__list li {
    padding: 0.6rem 1.15rem;
    border: 1px solid var(--line-strong);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    transition: border-color 0.45s var(--ease), color 0.45s var(--ease),
        background-color 0.45s var(--ease), transform 0.45s var(--ease-out);
}

.specialisms__list li:hover {
    border-color: var(--green);
    background: var(--green-wash);
    color: var(--green-deep);
    transform: translateY(-2px);
}

.specialisms__note {
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    max-width: 46rem;
}

/* --------------------------------------------------------------------------
   27. Talent network — replaces the stock photograph
   -------------------------------------------------------------------------- */

.talent {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: linear-gradient(160deg, var(--paper), var(--bone-warm));
    border: 1px solid var(--line);
    overflow: hidden;
}

.talent__svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.talent__links line {
    stroke: var(--line-strong);
    stroke-width: 1;
    opacity: 0.55;
}

.talent__node {
    cursor: pointer;
    /* Each figure breathes on its own clock, so the group never pulses in sync. */
    animation: float 7s var(--ease) infinite alternate;
    animation-delay: calc(var(--i) * -0.62s);
}

.talent__head,
.talent__body {
    stroke: var(--ink-faint);
    stroke-width: 1.4;
    fill: none;
    stroke-linecap: round;
    transition: stroke 0.55s var(--ease), stroke-width 0.55s var(--ease);
}

.talent__ring {
    fill: none;
    stroke: var(--green);
    stroke-width: 1;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0.55);
    transition: opacity 0.6s var(--ease), transform 0.7s var(--ease-out);
}

.talent__node.is-on .talent__head,
.talent__node.is-on .talent__body,
.talent__node:hover .talent__head,
.talent__node:hover .talent__body {
    stroke: var(--green-deep);
    stroke-width: 1.9;
}

.talent__node.is-on .talent__ring,
.talent__node:hover .talent__ring {
    opacity: 0.75;
    transform: scale(1);
}

@keyframes float {
    to {
        transform: translateY(-7px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .talent__node {
        animation: none;
    }
}
