:root {
    color-scheme: light;
    --ink: #15181b;
    --body: #3d444b;
    --muted: #6a727b;
    --line: #e4e7e2;
    --paper: #ffffff;
    --tint: #f3f7ea;
    --green: #7db20c;
    --green-deep: #476b00;
    --night: #12160d;
    --radius: 20px;
    --wrap: 1160px;
    --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@view-transition {
    navigation: auto;
}

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

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

body {
    background: var(--paper);
    color: var(--body);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

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

address {
    font-style: normal;
}

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

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

b, strong {
    color: var(--ink);
    font-weight: 600;
}

a {
    color: var(--green-deep);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--ink);
}

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

::selection {
    background: var(--green);
    color: var(--night);
}

.wrap {
    margin-inline: auto;
    max-width: var(--wrap);
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip {
    background: var(--ink);
    border-radius: 0 0 10px 10px;
    color: #fff;
    left: 1rem;
    padding: 0.6rem 1rem;
    position: absolute;
    top: -4rem;
    z-index: 20;
}

.skip:focus {
    color: #fff;
    top: 0;
}

/* Header */
.site-header {
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .wrap {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 4.5rem;
}

.brand img {
    height: 40px;
    width: auto;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: clamp(0.1rem, 1.2vw, 0.5rem);
}

.site-nav a {
    border-radius: 999px;
    color: var(--body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a:hover {
    background: var(--tint);
    color: var(--ink);
}

.site-nav a[aria-current="page"] {
    background: var(--ink);
    color: #fff;
}

@media (max-width: 560px) {
    .site-header .wrap {
        flex-direction: column;
        gap: 0.4rem;
        padding-block: 0.8rem 0.6rem;
    }

    .brand img {
        height: 34px;
    }

    .site-nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.7rem;
    }
}

/* Type */
.eyebrow {
    align-items: center;
    color: var(--green-deep);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 0.6rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow::before {
    background: var(--green);
    border-radius: 2px;
    content: "";
    height: 0.6rem;
    transform: rotate(45deg);
    width: 0.6rem;
}

.display {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(3rem, 7.2vw + 0.6rem, 6.6rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 0.98;
    text-wrap: balance;
}

.display em {
    color: var(--green-deep);
    font-style: italic;
}

h2 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(2.1rem, 3.2vw + 0.8rem, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.05;
    text-wrap: balance;
}

h3 {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.lede {
    color: var(--body);
    font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem);
    line-height: 1.5;
    max-width: 38em;
}

.sub {
    color: var(--muted);
    font-size: 1.05rem;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose {
    max-width: 42em;
}

/* Buttons */
.button {
    align-items: center;
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button::after {
    content: "→";
    transition: transform 0.2s ease;
}

.button:hover {
    background: var(--green-deep);
    color: #fff;
}

.button:hover::after {
    transform: translateX(3px);
}

.button[hidden] {
    display: none;
}

.link-arrow {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.link-arrow::after {
    content: " →";
}

.link-arrow:hover {
    color: var(--green-deep);
}

/* Hero */
.hero {
    overflow: hidden;
    position: relative;
}

.hero::before {
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(125, 178, 12, 0.2), transparent 60%),
        linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 4rem,
        linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 4rem 100%;
    content: "";
    inset: 0;
    mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
    opacity: 0.7;
    position: absolute;
    z-index: -1;
}

.hero .wrap {
    padding-block: clamp(4rem, 10vw, 8.5rem) clamp(3.5rem, 8vw, 6.5rem);
}

.hero .display {
    margin-top: 1.5rem;
}

.hero .lede {
    margin-top: 2rem;
    max-width: 34em;
}

.hero__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Statement band */
.statement {
    background: var(--night);
    border-radius: calc(var(--radius) + 8px);
    color: #fff;
    display: grid;
    gap: 1.5rem;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4.5rem);
    position: relative;
}

.statement::after {
    background: radial-gradient(closest-side, rgba(125, 178, 12, 0.5), transparent);
    content: "";
    height: 34rem;
    position: absolute;
    right: -12rem;
    top: -16rem;
    width: 34rem;
}

.statement p {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.4vw + 0.6rem, 3.5rem);
    letter-spacing: -0.01em;
    line-height: 1.08;
    max-width: 18em;
    position: relative;
    text-wrap: balance;
    z-index: 1;
}

.statement img {
    height: 44px;
    position: relative;
    width: 44px;
    z-index: 1;
}

.clients {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    margin-top: 1rem;
    padding-top: 1.75rem;
    position: relative;
    z-index: 1;
}

.clients li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    padding: 0.7rem 1rem 0.7rem 0;
    transition: color 0.2s ease;
}

.clients li:hover {
    color: #b7e04a;
}

@media (min-width: 900px) {
    .clients {
        grid-template-columns: repeat(6, 1fr);
    }

    .clients li {
        font-size: 1.15rem;
    }
}

/* Sections */
.section {
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section--tight {
    padding-top: 0;
}

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

.split__head > * + * {
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .split {
        gap: 5rem;
        grid-template-columns: 5fr 7fr;
    }

    .split__head {
        align-self: start;
        position: sticky;
        top: 7rem;
    }
}

/* Cards */
.bento {
    display: grid;
    gap: 1.25rem;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.card--tint {
    background: var(--tint);
    border-color: transparent;
}

.card > * + * {
    margin-top: 1rem;
}

.card .eyebrow + h2,
.card .eyebrow + h3 {
    margin-top: 1rem;
}

.card h2 {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
}

.pills {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.pills li {
    align-items: center;
    background: var(--paper);
    border-radius: 14px;
    color: var(--ink);
    display: flex;
    font-weight: 500;
    gap: 0.9rem;
    line-height: 1.3;
    padding: 0.85rem 1rem;
}

.pills li::before {
    color: var(--green-deep);
    content: counter(pill, decimal-leading-zero);
    counter-increment: pill;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.pills {
    counter-reset: pill;
}

@media (min-width: 620px) {
    .pills {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .bento {
        grid-template-columns: 7fr 5fr;
    }
}

/* News */
.section__head {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.news-cards {
    display: grid;
    gap: 1.25rem;
}

.news-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    padding: 1.75rem;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    border-color: var(--green);
    box-shadow: 0 18px 40px -24px rgba(21, 24, 27, 0.35);
    color: inherit;
    transform: translateY(-3px);
}

.news-card time,
.news-row time {
    color: var(--muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.news-card p {
    color: var(--muted);
    font-size: 0.98rem;
}

@media (min-width: 900px) {
    .news-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.news-row {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0.5rem 3rem;
    padding-block: 2rem;
}

.news-row h2 {
    font-family: var(--sans);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.news-row h2 a {
    color: var(--ink);
    text-decoration: none;
}

.news-row h2 a::after {
    color: var(--green-deep);
    content: " ↗";
}

.news-row h2 a:hover {
    color: var(--green-deep);
}

.news-row p {
    margin-top: 0.6rem;
    max-width: 44em;
}

.news-row__source {
    color: var(--green-deep);
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
    text-transform: uppercase;
}

@media (min-width: 760px) {
    .news-row {
        grid-template-columns: 11rem 1fr;
    }
}

/* Page head */
.page-head .wrap {
    padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3.5rem);
}

.page-head .display {
    font-size: clamp(3rem, 6vw + 0.6rem, 5.5rem);
    margin-top: 1.25rem;
}

.page-head .lede {
    margin-top: 1.75rem;
}

.page-head .lede + .lede {
    margin-top: 0.75rem;
}

/* Timeline */
.timeline {
    border-left: 1px solid var(--line);
    display: grid;
    gap: 2.75rem;
    margin-left: 0.35rem;
    padding-left: clamp(1.5rem, 4vw, 3rem);
}

.timeline li {
    position: relative;
}

.timeline li::before {
    background: var(--paper);
    border: 2px solid var(--green);
    border-radius: 50%;
    content: "";
    height: 0.75rem;
    left: calc(-1 * clamp(1.5rem, 4vw, 3rem) - 0.4rem);
    position: absolute;
    top: 0.7rem;
    width: 0.75rem;
}

.timeline__year {
    color: var(--green-deep);
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.timeline p + p {
    margin-top: 0.9em;
}

.timeline p {
    max-width: 40em;
}

/* Values */
.values {
    counter-reset: value;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    margin-top: 2.5rem;
}

.values li {
    background: var(--tint);
    border-radius: var(--radius);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    font-size: 1.75rem;
    gap: 2.5rem;
    line-height: 1.1;
    padding: 1.5rem;
}

.values li::before {
    color: var(--green-deep);
    content: counter(value, decimal-leading-zero);
    counter-increment: value;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-reveal {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    margin-top: 2rem;
}

.contact-reveal a {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.4rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-decoration-color: var(--green);
    text-decoration-thickness: 2px;
}

.contact-reveal small {
    color: var(--muted);
    font-size: 0.9rem;
}

.offices {
    display: grid;
    gap: 1rem;
}

.offices .card {
    padding: 1.1rem 1.4rem;
}

.offices h3 {
    font-size: 1.05rem;
}

.offices .tag {
    color: var(--muted);
    font-size: 0.85rem;
}

@media (min-width: 900px) {
    .contact-grid {
        gap: 5rem;
        grid-template-columns: 7fr 5fr;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer .wrap {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    padding-block: 2.25rem;
}

.site-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
}

.site-footer a {
    color: var(--body);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--green-deep);
}

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
    .rise {
        animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .rise:nth-child(2) { animation-delay: 0.06s; }
    .rise:nth-child(3) { animation-delay: 0.12s; }
    .rise:nth-child(4) { animation-delay: 0.18s; }

    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(14px);
        }
    }
}

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

    * {
        transition: none !important;
    }
}
