﻿@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap');

:root {
    --ink: #202522;
    --stone: #6c756f;
    --soft: #f4f6f3;
    --paper: #fbfcfa;
    --line: #e4e9e5;
    --accent: #c38b36;
    --evergreen: #245b48
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65
}

.wrap {
    width: min(1160px, calc(100% - 48px));
    margin: auto
}

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

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fbfcfaf2;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line)
}

.navin {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Mono', monospace;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .1em
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain
}

.links {
    display: flex;
    align-items: center;
    gap: 29px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em
}

.links a {
    color: #5e6861;
    position: relative
}

.links a:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: .2s
}

.links a:hover:after,
.links .active:after {
    width: 100%
}

.links .active {
    color: var(--ink)
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    line-height: 1.08
}

h1,
h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: -.045em
}

h1 {
    font-size: clamp(3.2rem, 6.5vw, 6.25rem)
}

h2 {
    font-size: clamp(2.15rem, 4vw, 3.7rem)
}

h3 {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.02em
}

.eyebrow,
.number,
.tag {
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    letter-spacing: .12em;
    font-weight: 500;
    color: var(--evergreen);
    text-transform: uppercase
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--ink);
    color: #fff;
    border-radius: 0;
    padding: 15px 21px;
    font-size: .79rem;
    font-weight: 600;
    letter-spacing: .03em
}

.button:after {
    content: '↗';
    font-size: 1rem
}

.button:hover {
    background: var(--evergreen)
}

.hero {
    padding: 158px 0 134px;
    background: var(--paper);
    position: relative;
    overflow: hidden
}

.hero:before {
    content: '';
    position: absolute;
    width: 72vw;
    height: 72vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(ellipse at center, #d8ede4 0%, #eef5f0 38%, transparent 70%);
    border-radius: 50%;
    right: -28vw;
    top: -28vw;
    z-index: 0;
    opacity: .7
}

.hero:after {
    content: '';
    position: absolute;
    width: 52vw;
    height: 52vw;
    max-width: 720px;
    max-height: 720px;
    border: 1px solid #c8ddd2;
    border-radius: 50%;
    right: -18vw;
    top: -20vw;
    z-index: 0
}

.hero .wrap {
    position: relative;
    z-index: 1
}

.hero h1 {
    max-width: 890px;
    margin: 24px 0 24px
}

.hero h1:after {
    content: '';
    display: inline-block;
    width: .55em;
    height: .55em;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 0 .03em .13em
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.hero .eyebrow:before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--evergreen);
    flex-shrink: 0
}

.lead {
    max-width: 570px;
    color: var(--stone);
    font-size: 1.1rem;
    margin: 0 0 32px
}

.pagehead {
    padding: 118px 0 95px;
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.pagehead h1 {
    max-width: 900px;
    margin: 17px 0
}

.pagehead p {
    max-width: 620px;
    color: var(--stone);
    font-size: 1.06rem;
    margin: 0
}

.section {
    padding: 115px 0
}

.white {
    background: #fff
}

.soft,
.partner-band {
    background: var(--soft)
}

.section-copy,
.about-intro {
    max-width: 680px;
    color: var(--stone);
    font-size: 1.04rem;
    margin: 19px 0 0
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .8fr;
    gap: 12vw;
    align-items: center
}

.statement {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.32;
    padding: 0;
    border: 0
}

.statement:before {
    content: '“';
    display: block;
    color: var(--accent);
    font-size: 4rem;
    line-height: .45
}

.list {
    list-style: none;
    margin: 30px 0 0;
    padding: 0
}

.list li {
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
    color: var(--stone)
}

.list li:before {
    content: '→';
    color: var(--accent);
    margin-right: 12px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.card {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 33px 30px;
    min-height: 250px
}

.card:hover {
    background: #fff
}

.card h3 {
    margin: 26px 0 10px
}

.card p,
.project p {
    margin: 0;
    color: var(--stone);
    font-size: .92rem
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 42px
}

.fact {
    background: #fff;
    padding: 29px
}

.fact strong {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    display: block
}

.fact span {
    display: block;
    color: var(--stone);
    font-size: .88rem;
    margin-top: 6px
}

.partner-band {
    padding: 110px 0
}

.partners {
    display: flex;
    gap: 0;
    margin-top: 40px;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)
}

.partners-track {
    display: flex;
    gap: 64px;
    align-items: center;
    animation: marquee 22s linear infinite;
    white-space: nowrap;
    flex-shrink: 0
}

.partners:hover .partners-track {
    animation-play-state: paused
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0
}

.partner img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .6;
    transition: filter .3s, opacity .3s
}

.partner img:hover {
    filter: none;
    opacity: 1
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px
}

.project {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    overflow: hidden
}

.placeholder {
    height: 190px;
    background: linear-gradient(135deg, #e8eee9, #d4e1da);
    display: flex;
    align-items: flex-end;
    padding: 19px;
    color: #587264;
    font-family: 'DM Mono', monospace;
    font-size: .65rem;
    letter-spacing: .12em
}

.project-img {
    height: 220px;
    overflow: hidden;
    background: #e8eee9
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease
}

.project:hover .project-img img {
    transform: scale(1.04)
}

.project-body {
    padding: 28px
}

.project h3 {
    margin: 17px 0 10px;
    font-family: 'Fraunces', serif;
    font-size: 1.45rem
}

.stack {
    margin-top: 18px;
    color: var(--evergreen);
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    letter-spacing: .06em
}

.principles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 50px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.principle {
    padding: 33px;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #fff
}

.principle h3 {
    margin: 20px 0 9px;
    font-family: 'Fraunces', serif;
    font-size: 1.55rem
}

.principle p {
    color: var(--stone);
    margin: 0
}

.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 45px
}

.person {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden
}

.person-photo {
    height: 320px;
    background: linear-gradient(145deg, #dbe7df, #f2f5f2);
    position: relative
}

.person-photo:after {
    content: 'TEAM IMAGE';
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: #6f887a;
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    letter-spacing: .1em
}

.person-photo--img:after {
    display: none
}

.person-photo--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.person-info {
    padding: 17px 0
}

.person-info h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem
}

.person-info p {
    color: var(--stone);
    font-size: .86rem;
    margin: 3px 0 0
}

.contactbox {
    border-radius: 0;
    background: var(--ink);
    color: #fff;
    padding: 64px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px
}

.contactbox h2 {
    color: #fff
}

.contactbox p {
    color: #b7c1bb
}

.contact-list {
    display: grid;
    gap: 9px
}

.contact-list a,
.contact-list div {
    border: 0;
    border-bottom: 1px solid #ffffff2a;
    border-radius: 0;
    background: transparent;
    padding: 14px 0
}

.footer {
    background: #111814;
    color: #8fa898
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 88px 0 64px;
    align-items: start
}

.footer-col-brand {}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Mono', monospace;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .1em;
    color: #fff;
    margin-bottom: 18px
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain
}

.footer-tagline {
    color: #8fa898;
    font-size: .9rem;
    line-height: 1.65;
    margin: 0 0 10px;
    max-width: 300px
}

.footer-sub {
    font-family: 'DM Mono', monospace;
    font-size: .64rem;
    letter-spacing: .1em;
    color: var(--evergreen);
    text-transform: uppercase;
    margin: 0
}

.footer-col h3 {
    font-family: 'DM Mono', monospace;
    font-size: .63rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ffffff15
}

.footer-col a {
    display: block;
    margin: 0 0 11px;
    font-size: .88rem;
    color: #8fa898;
    transition: color .15s
}

.footer-col a:hover {
    color: #fff
}

.footer-col p {
    font-size: .88rem;
    color: #8fa898;
    line-height: 1.7;
    margin: 0 0 16px
}

.footer-badge {
    display: inline-block;
    border: 1px solid #ffffff25;
    padding: 5px 10px;
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    letter-spacing: .08em;
    color: #6a7d72;
    border-radius: 2px
}

.footer-divider {
    border: none;
    border-top: 1px solid #ffffff0f;
    margin: 0
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 24px;
    font-family: 'DM Mono', monospace;
    font-size: .63rem;
    letter-spacing: .05em;
    color: #4e5e54
}

/* ── Stats band ── */
.stats-band {
    background: var(--ink);
    padding: 72px 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-left: 1px solid #ffffff15
}

.stat {
    border-right: 1px solid #ffffff15;
    padding: 40px 36px;
    text-align: center
}

.stat strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    font-weight: 600;
    color: #fff;
    line-height: 1;
    letter-spacing: -.04em
}

.stat span {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6a8070;
    margin-top: 10px
}

/* ── Why grid ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 52px
}

.why-item {
    padding: 0
}

.why-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, color .3s ease
}

.why-icon svg {
    width: 100%;
    height: 100%;
    display: block
}

.why-item:hover .why-icon {
    transform: scale(1.1);
    color: var(--evergreen)
}

.why-num {
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .12em;
    color: var(--evergreen);
    display: block;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

.why-item h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    margin: 0 0 10px
}

.why-item p {
    color: var(--stone);
    font-size: .92rem;
    margin: 0;
    line-height: 1.65
}

/* ── Section header row ── */
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px
}

.section-header-row h2 {
    margin: 8px 0 0
}

.link-arrow {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--evergreen);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 1px solid var(--evergreen);
    padding-bottom: 2px;
    flex-shrink: 0
}

.link-arrow:hover {
    color: var(--ink);
    border-color: var(--ink)
}

/* ── Home projects (3-col) ── */
.home-projects {
    grid-template-columns: repeat(3, 1fr)
}

/* ── CTA band ── */
.cta-band {
    background: var(--evergreen);
    padding: 110px 0
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center
}

.cta-eyebrow {
    color: #7ab89a
}

.cta-heading {
    color: #fff;
    max-width: 600px;
    margin: 14px 0 0
}

.cta-copy {
    color: #a8d4bc;
    font-size: 1.05rem;
    margin: 16px 0 0;
    max-width: 520px
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start
}

.button--light {
    background: #fff;
    color: var(--evergreen)
}

.button--light:hover {
    background: var(--soft);
    color: var(--evergreen)
}

.cta-link {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    letter-spacing: .08em;
    color: #a8d4bc;
    border-bottom: 1px solid #a8d4bc55;
    padding-bottom: 2px
}

.cta-link:hover {
    color: #fff;
    border-color: #fff
}

/* ── Contact form ── */
.form-section {
    background: #fff
}

.form-wrap {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 80px;
    align-items: start
}

.form-intro h2 {
    margin: 14px 0 0
}

.form-intro .section-copy {
    margin-top: 16px
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.form-group label {
    font-family: 'DM Mono', monospace;
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--stone)
}

.form-group label span {
    color: var(--accent)
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: .95rem;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 13px 16px;
    outline: none;
    transition: border-color .2s, background .2s;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c756f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--evergreen);
    background: #fff
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6
}

.input-error {
    border-color: #c0392b !important;
    background: #fff9f9 !important
}

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

.form-note {
    font-family: 'DM Mono', monospace;
    font-size: .63rem;
    letter-spacing: .06em;
    color: var(--stone);
    margin: 0
}

.form-submit {
    cursor: pointer;
    border: none
}

.form-submit:disabled {
    opacity: .6;
    cursor: not-allowed
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eaf4ee;
    border: 1px solid #b5d9c0;
    padding: 18px 22px;
    color: var(--evergreen);
    font-weight: 600;
    font-size: .95rem
}

.form-success-msg {
    display: none;
    background: #eaf4ee;
    border: 1px solid #b5d9c0;
    padding: 18px 22px;
    color: var(--evergreen);
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 8px
}

.form-error-msg {
    display: none;
    background: #fdf0f0;
    border: 1px solid #e8b4b4;
    padding: 14px 18px;
    color: #9b2c2c;
    font-size: .88rem;
    margin-bottom: 8px
}

.form-error-msg:not(:empty) {
    display: block
}

.field-error {
    font-size: .75rem;
    color: #c0392b;
    font-family: 'DM Mono', monospace;
    margin-top: 3px;
    min-height: 1em
}

/* ── Testimonials ── */
.testimonials-band {
    background: var(--soft)
}

/* slider shell */
.testimonials-slider {
    margin-top: 56px;
    position: relative
}

.testimonials-track-wrap {
    overflow: hidden
}

.testimonials-track {
    display: flex;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1)
}

.testimonial {
    margin: 0;
    padding: 48px 0 0;
    border-top: 2px solid var(--ink);
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box
}

.testimonial-quote p {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    line-height: 1.55;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -.02em;
    max-width: 820px
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px
}

.testimonial-author-line {
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.testimonial-name {
    font-style: normal;
    font-weight: 700;
    font-size: .88rem;
    color: var(--ink);
    letter-spacing: -.01em
}

.testimonial-role {
    font-family: 'DM Mono', monospace;
    font-size: .63rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--stone)
}

.testimonial-org {
    font-family: 'DM Mono', monospace;
    font-size: .63rem;
    letter-spacing: .05em;
    color: var(--evergreen)
}

/* slider controls */
.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

.testimonials-dots {
    display: flex;
    gap: 6px;
    align-items: center
}

.testimonials-dot {
    width: 20px;
    height: 2px;
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, width .2s
}

.testimonials-dot.active {
    background: var(--ink);
    width: 32px
}

.testimonials-dot:hover:not(.active) {
    background: var(--stone)
}

.testimonials-arrows {
    display: flex;
    gap: 0
}

.testimonials-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-left: none;
    background: transparent;
    color: var(--stone);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, background .2s, border-color .2s
}

.testimonials-arrow:first-child {
    border-left: 1px solid var(--line)
}

.testimonials-arrow:hover {
    color: var(--ink);
    background: var(--soft)
}

.testimonials-arrow:disabled {
    opacity: .3;
    cursor: not-allowed
}

.testimonials-arrow svg {
    width: 16px;
    height: 16px;
    display: block
}

/* hide controls when only one slide */
.testimonials-slider[data-count="1"] .testimonials-controls {
    display: none
}

/* ── Animations ── */
@media(prefers-reduced-motion:no-preference) {
    body {
        animation: pageFade .4s ease both
    }

    @keyframes pageFade {
        from {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }

    .hero .eyebrow {
        animation: heroIn .6s .1s ease both
    }

    .hero h1 {
        animation: heroIn .7s .22s ease both
    }

    .hero .lead {
        animation: heroIn .7s .38s ease both
    }

    .hero .button {
        animation: heroIn .6s .52s ease both
    }

    @keyframes heroIn {
        from {
            opacity: 0;
            transform: translateY(22px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }

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

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

    .reveal-left {
        opacity: 0;
        transform: translateX(-28px);
        transition: opacity .6s ease, transform .6s ease
    }

    .reveal-left.visible {
        opacity: 1;
        transform: none
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(28px);
        transition: opacity .6s ease, transform .6s ease
    }

    .reveal-right.visible {
        opacity: 1;
        transform: none
    }

    .card {
        transition: background .2s, transform .22s ease, box-shadow .22s ease
    }

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px #0000000d
    }

    .project {
        transition: transform .25s ease, box-shadow .25s ease
    }

    .project:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 36px #00000012
    }

    .why-item {
        transition: transform .22s ease
    }

    .why-item:hover {
        transform: translateY(-4px)
    }

    .button {
        transition: background .2s, transform .15s ease
    }

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

    .person {
        transition: transform .22s ease
    }

    .person:hover {
        transform: translateY(-4px)
    }
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 38px;
    height: 38px;
    flex-shrink: 0
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .25s
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: var(--paper);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -8px 0 40px #0000001a
}

.mobile-nav[aria-hidden="false"] {
    transform: translateX(0)
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 68px;
    border-bottom: 1px solid var(--line)
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--stone);
    padding: 6px;
    line-height: 1
}

.mobile-nav-close:hover {
    color: var(--ink)
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
    overflow-y: auto
}

.mobile-nav-links a {
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone);
    border-bottom: 1px solid var(--line);
    transition: color .15s, background .15s
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--ink);
    background: var(--soft)
}

.mobile-nav-links a.active {
    border-left: 3px solid var(--accent);
    padding-left: 25px
}

.mobile-nav-footer {
    padding: 24px 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.mobile-nav-footer a {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    letter-spacing: .05em;
    color: var(--stone)
}

.mobile-nav-footer a:hover {
    color: var(--ink)
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #00000055;
    z-index: 99;
    backdrop-filter: blur(2px)
}

.nav-overlay.active {
    display: block
}

@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 48px
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .team {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .projects {
        grid-template-columns: repeat(2, 1fr)
    }

    .home-projects {
        grid-template-columns: repeat(2, 1fr)
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .form-wrap {
        grid-template-columns: 1fr;
        gap: 40px
    }
}

@media(max-width:760px) {
    .wrap {
        width: calc(100% - 34px)
    }

    .navin {
        min-height: 64px
    }

    .links {
        display: none
    }

    .burger {
        display: flex
    }

    .hero {
        padding: 76px 0 64px
    }

    .hero:before,
    .hero:after {
        display: none
    }

    .hero h1 {
        margin: 14px 0 18px;
        font-size: clamp(2.4rem, 9vw, 3.8rem)
    }

    .lead {
        font-size: .98rem;
        margin-bottom: 24px
    }

    .button {
        padding: 13px 18px;
        font-size: .76rem;
        width: 100%;
        justify-content: center
    }

    .pagehead {
        padding: 64px 0 52px
    }

    .pagehead h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin: 12px 0
    }

    .pagehead p {
        font-size: .96rem
    }

    .section {
        padding: 60px 0
    }

    .partner-band {
        padding: 60px 0
    }

    .stats-band {
        padding: 0
    }

    .eyebrow {
        font-size: .63rem
    }

    .h2,
    .section h2 {
        font-size: clamp(1.7rem, 6vw, 2.4rem)
    }

    .split {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .split>div:last-child {
        order: -1
    }

    .statement {
        font-size: 1.55rem
    }

    .statement:before {
        font-size: 2.8rem
    }

    .section-copy,
    .about-intro {
        font-size: .97rem;
        margin-top: 14px
    }

    .list {
        margin-top: 20px
    }

    .list li {
        padding: 10px 0;
        font-size: .92rem
    }

    .cards {
        grid-template-columns: 1fr;
        border: 0;
        margin-top: 28px
    }

    .card {
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 24px 20px;
        margin-bottom: 12px;
        min-height: 0
    }

    .card:last-child {
        margin-bottom: 0
    }

    .facts {
        grid-template-columns: 1fr;
        gap: 12px;
        background: transparent;
        margin-top: 28px
    }

    .fact {
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 6px
    }

    .principles {
        grid-template-columns: 1fr;
        border: 0;
        margin-top: 32px
    }

    .principle {
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 24px 20px;
        margin-bottom: 12px
    }

    .principle:last-child {
        margin-bottom: 0
    }

    .principle h3 {
        font-size: 1.3rem;
        margin: 14px 0 7px
    }

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

    .stat {
        padding: 28px 16px;
        border: 1px solid #ffffff15
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 28px
    }

    .home-projects {
        grid-template-columns: 1fr
    }

    .projects {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px
    }

    .project-img {
        height: 190px
    }

    .project-body {
        padding: 20px
    }

    .project h3 {
        font-size: 1.2rem;
        margin: 12px 0 8px
    }

    .stack {
        font-size: .63rem;
        margin-top: 12px
    }

    .cta-band {
        padding: 64px 0
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .testimonial {
        padding: 28px 0 0;
        gap: 24px
    }

    .testimonial-quote p {
        font-size: 1.05rem
    }

    .testimonials-controls {
        margin-top: 28px;
        padding-top: 18px
    }

    .testimonials-arrow {
        width: 40px;
        height: 40px
    }

    .cta-heading {
        font-size: clamp(1.6rem, 6vw, 2.2rem)
    }

    .cta-copy {
        font-size: .95rem
    }

    .cta-actions {
        flex-direction: column;
        width: 100%
    }

    .cta-actions .button {
        width: 100%;
        justify-content: center
    }

    .team {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 32px
    }

    .person-photo {
        height: 240px
    }

    .person-info {
        padding: 12px 0
    }

    .person-info h3 {
        font-size: 1.1rem
    }

    .contactbox {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 22px
    }

    .contactbox h2 {
        font-size: 1.7rem
    }

    .contact-list a,
    .contact-list div {
        padding: 11px 0;
        font-size: .9rem
    }

    .form-wrap {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .form-bottom {
        flex-direction: column;
        align-items: stretch
    }

    .form-bottom .button {
        width: 100%;
        justify-content: center
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 48px 0 36px
    }

    .footer-col h3 {
        margin-bottom: 12px
    }

    .footer-col p,
    .footer-col a {
        font-size: .84rem
    }

    .footer-bottom {
        display: block;
        padding: 14px 0 18px
    }

    .footer-bottom span+span {
        display: block;
        margin-top: 6px
    }
}

@media(max-width:480px) {
    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem)
    }

    h2 {
        font-size: clamp(1.6rem, 7vw, 2rem)
    }

    .hero {
        padding: 56px 0 50px
    }

    .stats {
        grid-template-columns: 1fr
    }

    .team {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .contactbox {
        padding: 28px 18px
    }

    .form-wrap {
        gap: 24px
    }

    .brand {
        font-size: .78rem
    }

    .why-item h3 {
        font-size: 1.1rem
    }

    .why-item p {
        font-size: .88rem
    }
}