@font-face {
    font-family: "Space Grotesk";
    src: url("/2dcf3705787fc85f1c6f9ffd5c6a8c48.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("/9a2abfe5981b1a375f50d3b6b6a70f8f.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #410807;
    --paper: #f2e4da;
    --blue: #68a7b6;
    --gutter: clamp(1rem, 5vw, 5rem);
    --line: rgb(65 8 7 / 22%);
    color: var(--ink);
    background: var(--paper);
    font-family: "Space Grotesk", system-ui, sans-serif;
}

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

body {
    margin: 0;
    font-size: clamp(1.0625rem, 1rem + .22vw, 1.2rem);
    line-height: 1.62;
}

h1, h2, h3, p { margin: 0; }
img { display: block; max-inline-size: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.shell {
    width: min(100% - var(--gutter) * 2, 78rem);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: .5rem;
    left: .5rem;
    padding: .5rem 1rem;
    background: var(--paper);
    transform: translateY(-160%);
    z-index: 5;
}

.skip-link:focus { transform: none; }

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.5rem;
    padding-block: .85rem;
}

.identity {
    display: inline-flex;
    gap: .75rem;
    align-items: center;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.25;
}

.identity img { width: 3.4rem; height: auto; }
.identity__role { display: block; font-size: .875rem; }

nav[aria-label="Page sections"] {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem clamp(.5rem, 2vw, 1.35rem);
    font-size: .9375rem;
}

nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration: none;
}

nav a:hover, nav a:focus-visible { text-decoration: underline; }

.hero { background: var(--paper); }

.hero__inner {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 5rem);
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    padding-block: clamp(3.5rem, 10vw, 9.25rem);
}

.hero h1 {
    font-size: clamp(2.75rem, 1.65rem + 5.5vw, 6.5rem);
    line-height: 1.02;
    letter-spacing: -.065em;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.hero p {
    max-width: 29ch;
    margin-top: clamp(1rem, 2.8vw, 2rem);
    font-size: clamp(1.25rem, .9rem + 1.45vw, 2rem);
    line-height: 1.38;
    letter-spacing: -.018em;
}

.hero__shape {
    aspect-ratio: 1.2;
    overflow: hidden;
}

.hero__shape::before {
    content: "";
    display: block;
    width: 97%;
    height: 65%;
    margin: 12% auto;
    border-radius: 62% 38% 57% 43% / 69% 49% 51% 31%;
    background: var(--blue);
    transform: rotate(24deg);
}

.panel {
    padding-block: clamp(2.75rem, 7vw, 6.5rem);
    overflow-wrap: anywhere;
}

.panel--now { background: #e8d7cb; }
.panel--about { background: #c8d4d4; }
.panel--work { background: #d9ead3; }
.panel--information { background: #f0c3b7; }
.panel--services { background: #ded6d4; }
.panel--contact { background: #f2bb8e; }

.panel__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    align-items: start;
    gap: clamp(1.5rem, 6vw, 6rem);
}

.panel__inner + .panel__inner { margin-top: 3rem; }

.panel h2 {
    font-size: clamp(2.05rem, 1.3rem + 3.3vw, 4.35rem);
    line-height: 1.08;
    letter-spacing: -.055em;
    font-weight: 400;
}

h3 {
    font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
    line-height: 1.3;
}

.prose { max-width: 64ch; }
.prose > * + *, .timeline-item > * + * { margin-top: 1em; }
.timeline-item + .timeline-item { padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.venture-list { padding-inline-start: 1.3em; }
.venture-list li + li { margin-top: .65em; }

.tags, .project-grid {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.tags li {
    border: 1px solid var(--line);
    border-radius: 2rem;
    padding: .23rem .72rem;
    font-size: .9375rem;
}

.project-title { margin-top: clamp(2rem, 5vw, 4rem); }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1rem;
    margin-block: 1rem 0;
}

.project {
    display: block;
    border: 1px solid var(--line);
    background: rgb(242 228 218 / 50%);
    text-decoration: none;
}

.project:hover { background: var(--paper); }
.project img { width: 100%; height: auto; }
.project > span { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; font-weight: 700; }
.contact-intro { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem); line-height: 1.4; }
.contact-email { display: inline-block; font-size: clamp(1.3rem, .9rem + 1.7vw, 2.1rem); font-weight: 700; }

.site-footer .shell {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    padding-block: 1.25rem;
    font-size: .9375rem;
}

@media (min-width: 64rem) {
    .site-header { position: sticky; top: 0; z-index: 2; }
    main, main section { scroll-margin-top: 5.5rem; }
}

@media (max-width: 48rem) {
    .site-header__inner { row-gap: .55rem; }
    nav[aria-label="Page sections"] { width: 100%; column-gap: 1rem; }
    .hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: 3.5rem; }
    .hero__shape { max-width: 15rem; width: 55%; margin-left: auto; }
    .panel__inner { grid-template-columns: minmax(0, 1fr); }
}
