@font-face {
    font-family: "Instrument Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Instrument Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
    --cream: #F3EEE3;
    --cream-2: #EAE3D4;
    --cream-3: #F8F4EB;
    --ink: #1A1A17;
    --ink-2: #45423A;
    --muted: #6F6A5E;
    --green: #1C3B2E;
    --green-2: #2A5441;
    --sage: #B9C8B8;
    --sage-soft: #DCE5D9;
    --line: rgba(26, 26, 23, .14);
    --line-cream: rgba(243, 238, 227, .18);

    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --gutter: 20px;
    --header-h: 68px;
    --radius-lg: 24px;
    --radius: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

em {
    font-style: italic;
}

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

.hero :focus-visible,
.contact :focus-visible,
.site-header:not(.is-solid) :focus-visible,
.nav.is-open :focus-visible {
    outline-color: var(--sage);
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--cream);
    color: var(--green);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 500;
}

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

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.btn:active {
    transform: translateY(1px);
}

.btn-sm {
    min-height: 38px;
    padding: 0 18px;
    font-size: 14px;
}

.btn-lg {
    min-height: 56px;
    padding: 0 28px;
    font-size: 16px;
}

.btn-cream {
    background: var(--cream);
    color: var(--green);
}

.btn-cream:hover {
    background: #fff;
}

.btn-outline-cream {
    border: 1px solid rgba(243, 238, 227, .4);
    color: var(--cream);
}

.btn-outline-cream:hover {
    border-color: var(--cream);
    background: rgba(243, 238, 227, .06);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.text-link {
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
    font-weight: 500;
    color: var(--green-2);
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    transition: color .2s var(--ease);
}

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

/* Header */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    color: var(--cream);
    transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-solid {
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
}

.site-header.menu-open {
    background: transparent;
    color: var(--cream);
    box-shadow: none;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    position: relative;
    z-index: 2;
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.logo i {
    color: var(--sage);
    transition: color .3s var(--ease);
}

.site-header.is-solid:not(.menu-open) .logo i {
    color: var(--green-2);
}

.header-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-toggle {
    display: inline-flex;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 2px;
    opacity: .9;
}

.lang-toggle button {
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    opacity: .7;
    transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}

.lang-toggle button[aria-pressed="true"] {
    background: var(--cream);
    color: var(--green);
    opacity: 1;
}

.site-header.is-solid:not(.menu-open) .lang-toggle button[aria-pressed="true"] {
    background: var(--green);
    color: var(--cream);
}

.header-cta {
    display: none;
}

.site-header.is-solid:not(.menu-open) .header-cta {
    background: var(--green);
    color: var(--cream);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    padding: 8px 2px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.menu-toggle span {
    border-bottom: 1px solid currentColor;
}

.nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
    background: var(--green);
    color: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}

.nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-list a {
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.nav-list a:hover {
    color: var(--sage);
}

.nav-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero */

.hero {
    background: var(--green);
    color: var(--cream);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: calc(var(--header-h) + 40px) 0 32px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 40px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--sage);
}

.eyebrow-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.eyebrow-line::before {
    content: "";
    flex: none;
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(54px, 13vw, 120px);
    line-height: .95;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.hero-title em {
    color: var(--sage);
}

.hero-intro {
    margin-top: 28px;
    max-width: 52ch;
    font-size: 17px;
    color: rgba(243, 238, 227, .82);
}

.hero .button-row {
    margin-top: 32px;
}

.hero-portrait {
    position: relative;
    width: min(52%, 200px);
    margin-left: auto;
    margin-right: 12px;
}

.arch {
    overflow: hidden;
    border-radius: 999px 999px 14px 14px;
    background: #6d6962;
    aspect-ratio: 4 / 5;
}

.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

.sig {
    position: absolute;
    left: -44%;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--cream);
    color: var(--green);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.sig-name {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.1;
}

.hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
    border-top: 1px solid var(--line-cream);
}

.hero-facts>div {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-cream);
}

.hero-facts>div:nth-child(odd) {
    padding-right: 12px;
    border-right: 1px solid var(--line-cream);
}

.hero-facts>div:nth-child(even) {
    padding-left: 16px;
}

.hero-facts>div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.hero-facts dt {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sage);
}

.hero-facts dd {
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
}

/* Reach */

.reach {
    padding: 56px 0 8px;
}

.reach-title {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.reach-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.3;
    color: var(--ink-2);
}

.reach-list li:not(:last-child)::after {
    content: "·";
    margin: 0 14px;
    color: var(--sage);
}

/* Sections */

.section {
    padding: 80px 0 0;
}

.section-tight {
    padding-top: 72px;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.section-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(44px, 9vw, 72px);
    line-height: 1;
    letter-spacing: -.02em;
}

.section-title em {
    color: var(--green-2);
}

.section-lede {
    max-width: 44ch;
    color: var(--muted);
}

.numeral {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1;
    color: var(--green-2);
}

.small-head {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Services */

.services {
    display: grid;
    border-top: 1px solid var(--line);
}

.service {
    padding: 26px 0 28px;
    border-bottom: 1px solid var(--line);
}

.service h3 {
    margin: 16px 0 10px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.08;
}

.service p {
    font-size: 15px;
    color: var(--muted);
    max-width: 40ch;
}

.network-note {
    margin-top: 28px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-3);
    font-size: 15px;
    color: var(--ink-2);
}

.network-note strong {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    color: var(--green-2);
}

/* Case studies */

.case {
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    display: grid;
    gap: 32px;
}

.case+.case,
.more {
    margin-top: 16px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.badge-green {
    background: var(--green);
    color: var(--cream);
}

.badge-sage {
    background: var(--sage);
    color: var(--green);
}

.case-title {
    margin: 16px 0 14px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(44px, 8vw, 64px);
    line-height: 1;
    letter-spacing: -.01em;
}

.case p {
    color: var(--ink-2);
    max-width: 50ch;
}

.case-note {
    margin-top: 16px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1.3;
    color: var(--green-2) !important;
}

.case-patomy {
    background: var(--cream-2);
}

.case-crewcorner {
    background: var(--green);
    color: var(--cream);
}

.case-crewcorner .case-meta {
    color: var(--sage);
}

.case-crewcorner .case-link {
    margin-top: 28px;
    color: var(--sage);
}

.case-crewcorner .case-link:hover {
    color: var(--cream);
}

.case-crewcorner p {
    color: rgba(243, 238, 227, .82);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.case-crewcorner .stats {
    border-top-color: var(--line-cream);
}

.stats dt {
    font-size: clamp(26px, 5.4vw, 36px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums;
    color: var(--green-2);
    white-space: nowrap;
}

.case-crewcorner .stats dt {
    color: var(--cream);
}

.stats dd {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

.case-crewcorner .stats dd {
    color: var(--sage);
}

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

.stats-single>div {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.stats-single dd {
    margin-top: 0;
    max-width: 30ch;
}

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

.case-small .stats-single {
    grid-template-columns: 1fr;
}

.system-map {
    align-self: center;
}

.system-label {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sage) !important;
    margin-bottom: 14px;
}

.systems {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.systems li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line-cream);
    background: rgba(243, 238, 227, .04);
}

.systems span {
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sage);
}

.systems b {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.15;
}

.systems-wide {
    grid-column: 1 / -1;
    background: rgba(185, 200, 184, .14) !important;
    border-color: rgba(185, 200, 184, .35) !important;
}

.case-flowlined {
    background: var(--cream-3);
    border: 1px solid var(--line);
}

.case-flowlined .stats {
    grid-template-columns: repeat(2, 1fr);
    align-self: end;
    margin-top: 0;
}

.case-grid {
    display: grid;
    gap: 16px;
}

.case.case-small {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--cream-3);
    border: 1px solid var(--line);
}

.case-small>p {
    margin-bottom: 28px;
}

.case-small .stats {
    margin-top: auto;
}

.case-small .text-link {
    align-self: flex-start;
    margin-top: 24px;
}

.case-small .tags {
    margin-top: auto;
}

.more-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(26, 26, 23, .22);
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    color: var(--green);
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.more-btn:hover {
    background: var(--cream-3);
    border-color: var(--green-2);
}

.more-btn .when-open,
.more-btn[aria-expanded="true"] .when-closed {
    display: none;
}

.more-btn[aria-expanded="true"] .when-open {
    display: inline;
}

.more-icon {
    position: relative;
    width: 12px;
    height: 12px;
}

.more-icon::before,
.more-icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1.5px;
    margin-top: -.75px;
    background: currentColor;
    transition: transform .25s var(--ease);
}

.more-icon::after {
    transform: rotate(90deg);
}

.more-btn[aria-expanded="true"] .more-icon::after {
    transform: rotate(0deg);
}

.more:not([hidden]) {
    animation: more-in .45s var(--ease);
}

@keyframes more-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* Approach */

.principles {
    display: grid;
    border-top: 1px solid var(--line);
}

.principle {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 12px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.principle .numeral {
    grid-row: span 2;
    font-size: 28px;
    padding-top: 2px;
}

.principle h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 28px;
    line-height: 1.1;
}

.principle p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--muted);
    max-width: 44ch;
}

.approach-grid {
    display: grid;
    gap: 40px;
}

.approach-photo img {
    width: min(72%, 340px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
}

/* Experience */

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

.timeline-more {
    border-top: 0;
}

#more-experience {
    margin-top: 0;
}

.role {
    display: grid;
    gap: 8px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.role-years {
    font-size: 13px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.role h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    font-weight: 400;
}

.role-company {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.1;
}

.role-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--green-2);
}

.role-main p {
    margin-top: 6px;
    font-size: 15px;
    color: var(--ink-2);
    max-width: 60ch;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.tags li {
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.education {
    margin-top: 48px;
}

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

.edu-list li {
    display: grid;
    gap: 6px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.edu-list b {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.15;
}

.edu-list p {
    margin-top: 4px;
    font-size: 15px;
    color: var(--muted);
}

/* Toolbox */

.toolbox {
    display: grid;
    border-top: 1px solid var(--line);
}

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

.tool h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.1;
}

.tool p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--muted);
}

/* About */

.about-grid {
    display: grid;
    gap: 32px;
}

.about-photo img {
    width: min(64%, 300px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
}

.about-copy .section-title {
    margin-bottom: 24px;
}

.about-copy>p {
    max-width: 56ch;
    color: var(--ink-2);
    font-size: 17px;
}

.about-copy>p+p {
    margin-top: 16px;
}

.about-copy .small-head {
    margin: 36px 0 14px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips li {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream-3);
    font-size: 14px;
}

/* Side projects */

.fun-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    line-height: 1.2;
    color: var(--green-2);
}

.projects {
    display: grid;
    gap: 16px;
}

.project {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--cream-3);
}

.project-visual {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: var(--project-bg);
}

.project-trainmate {
    --project-bg: #13202F;
}

.project-playground {
    --project-bg: #2A1E14;
}

.project-visual img {
    position: absolute;
    top: 32px;
    left: 50%;
    width: min(48%, 240px);
    border-radius: 22px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
    transform: translateX(-50%);
    transition: transform .5s var(--ease);
}

.project:hover .project-visual img {
    transform: translateX(-50%) translateY(-6px);
}

.project-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 22px 28px;
}

.project-title {
    margin: 12px 0 10px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 7vw, 48px);
    line-height: 1;
}

.project-copy>p:not(.case-meta) {
    margin-bottom: 24px;
    color: var(--ink-2);
    max-width: 50ch;
}

.project-copy .text-link {
    align-self: flex-start;
    margin-top: auto;
}

/* Contact & footer */

.contact {
    margin-top: 96px;
    background: var(--green);
    color: var(--cream);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 80px 0 64px;
}

.contact-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(50px, 12vw, 112px);
    line-height: .98;
    letter-spacing: -.02em;
    max-width: 14ch;
    text-wrap: balance;
}

.contact-title em {
    color: var(--sage);
}

.contact-body {
    margin-top: 24px;
    max-width: 48ch;
    font-size: 17px;
    color: rgba(243, 238, 227, .82);
}

.contact .button-row {
    margin-top: 36px;
}

.contact-inner {
    display: grid;
    gap: 56px;
}

.contact-details {
    border-top: 1px solid var(--line-cream);
}

.contact-details>div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-cream);
}

.contact-details dt {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sage);
}

.contact-details dd {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.25;
}

.contact-details a:hover {
    color: var(--sage);
}

.copy-btn {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--sage);
    border-bottom: 1px solid currentColor;
    line-height: 1.3;
}

.copy-btn:hover {
    color: var(--cream);
}

.site-footer {
    background: var(--green);
    color: var(--sage);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 24px;
    padding-bottom: 32px;
    border-top: 1px solid var(--line-cream);
}

/* Reveal on scroll */

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

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

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

    .more:not([hidden]) {
        animation: none;
    }

    .nav,
    .nav.is-open {
        transition: none;
    }
}

/* Tablet */

@media (min-width: 640px) {
    :root {
        --gutter: 32px;
    }

    .services,
    .principles {
        grid-template-columns: 1fr 1fr;
    }

    .service:nth-child(odd),
    .principle:nth-child(odd) {
        padding-right: 24px;
        border-right: 1px solid var(--line);
    }

    .service:nth-child(even),
    .principle:nth-child(even) {
        padding-left: 24px;
    }

    .toolbox {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
    }

    .case {
        padding: 40px;
    }

    .role {
        grid-template-columns: 150px 1fr;
        column-gap: 24px;
    }

    .role .tags {
        grid-column: 2;
    }

    .edu-list li {
        grid-template-columns: 150px 1fr;
        column-gap: 24px;
    }

    .hero-portrait {
        width: 240px;
    }

    .sig {
        left: -80px;
    }
}

/* Desktop */

@media (min-width: 960px) {
    :root {
        --header-h: 80px;
        --radius-lg: 28px;
    }

    .nav {
        position: static;
        flex-direction: row;
        padding: 0;
        background: none;
        color: inherit;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        margin-left: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: 28px;
    }

    .nav-list a {
        font-family: var(--sans);
        font-size: 14px;
        line-height: 1;
        opacity: .85;
        transition: opacity .2s var(--ease);
    }

    .nav-list a:hover {
        color: inherit;
        opacity: 1;
    }

    .nav-footer,
    .menu-toggle {
        display: none;
    }

    .header-cta {
        display: inline-flex;
    }

    .hero {
        padding: calc(var(--header-h) + 72px) 0 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr 300px;
        gap: 80px;
        align-items: end;
    }

    .hero-portrait {
        width: 300px;
        margin: 0;
    }

    .sig {
        left: -56px;
        bottom: 32px;
    }

    .hero-facts {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 72px;
    }

    .hero-facts>div,
    .hero-facts>div:nth-child(odd),
    .hero-facts>div:nth-child(even) {
        padding: 22px 24px;
        border-bottom: 0;
        border-right: 1px solid var(--line-cream);
    }

    .hero-facts>div:first-child {
        padding-left: 0;
    }

    .hero-facts>div:last-child {
        border-right: 0;
    }

    .reach {
        padding-top: 72px;
    }

    .reach-list {
        font-size: 30px;
    }

    .section {
        padding-top: 120px;
    }

    .section-tight {
        padding-top: 104px;
    }

    .section-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 32px;
        margin-bottom: 44px;
    }

    .section-lede {
        text-align: right;
    }

    .services {
        grid-template-columns: repeat(4, 1fr);
    }

    .service,
    .service:nth-child(odd),
    .service:nth-child(even) {
        padding: 28px 24px 32px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .service:first-child {
        padding-left: 0;
    }

    .service:last-child {
        border-right: 0;
        padding-right: 0;
    }

    .case {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        padding: 56px;
    }

    .case-patomy {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr 300px;
        gap: 64px;
        align-items: start;
    }

    .approach-photo img {
        width: 100%;
    }

    .case-grid,
    .projects {
        grid-template-columns: 1fr 1fr;
    }

    .fun-quote {
        font-size: 30px;
    }

    .project-copy {
        padding: 32px 40px 40px;
    }

    .case-small {
        padding: 44px;
    }

    .principle {
        padding: 36px 0;
    }

    .principle:nth-child(odd) {
        padding-right: 40px;
    }

    .principle:nth-child(even) {
        padding-left: 40px;
    }

    .principle h3 {
        font-size: 34px;
    }

    .role {
        grid-template-columns: 170px 1fr 280px;
        align-items: baseline;
        padding: 26px 0;
    }

    .role .tags {
        grid-column: auto;
        justify-content: flex-end;
        margin-top: 0;
    }

    .edu-list li {
        grid-template-columns: 170px 1fr;
    }

    .toolbox {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 48px;
    }

    .about-grid {
        grid-template-columns: 300px 1fr;
        gap: 96px;
        align-items: start;
    }

    .about-photo {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }

    .about-photo img {
        width: 100%;
    }

    .contact {
        margin-top: 140px;
        padding: 120px 0 88px;
    }

    .contact-inner {
        grid-template-columns: 1fr 360px;
        gap: 96px;
        align-items: end;
    }
}
