@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --ink: #f4f1ec;
    --muted: #babfbb;
    --base: #141719;
    --panel: #1e2324;
    --line: #373e3d;
    --accent: #b8e1ca;
    --accent-hover: #d4f0df;
    --width: 75rem;
    font-family: Manrope, system-ui, sans-serif;
    background: var(--base);
    color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid #94e5ba; outline-offset: 4px; }
[hidden] { display: none !important; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.3rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
p { color: var(--muted); line-height: 1.65; }
.wrap { width: min(100% - 3rem, var(--width)); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
.section-title { text-align: center; margin-bottom: clamp(1.65rem, 5vw, 3.1rem); }
.empty-state { text-align: center; padding-block: 2rem; }

.skip-link {
    position: fixed;
    z-index: 10;
    inset: 1rem auto auto 1rem;
    transform: translateY(-200%);
    background: var(--accent);
    color: #172721;
    padding: .65rem 1rem;
}
.skip-link:focus { transform: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: .55rem 1.25rem;
    border: 1px solid transparent;
    border-radius: .4rem;
    background: var(--accent);
    color: #142922;
    font-weight: 800;
    text-align: center;
}
.button:hover:not(:disabled) { background: var(--accent-hover); }
.button:disabled { opacity: .55; }
.button-small { min-height: 2.65rem; padding-inline: .95rem; }
.button-outline { background: #15192088; color: #fff; border-color: #ffffff70; }
.button-outline:hover:not(:disabled) { background: #ffffff26; }
.text-link { display: inline-block; color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: var(--accent-hover); }

.headdiv1 {
    position: sticky;
    top: 0;
    z-index: 3;
    border-bottom: 1px solid #ffffff18;
    background: #141719;
}
.headdiv1-1, .headdiv1-1-nav1 { display: flex; align-items: center; }
.headdiv1-1 { justify-content: space-between; min-height: 4.55rem; gap: 1rem; }
.headdiv1-1-nav1 { gap: clamp(.75rem, 2.5vw, 2rem); font-weight: 700; }
.headdiv1-1-nav1 > a:not(.button):hover { color: var(--accent); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; color: var(--ink); font-size: 1.35rem; font-weight: 800; letter-spacing: -.05em; }
.wordmark img { width: 3rem; height: 3rem; object-fit: contain; }
.wordmark strong { color: var(--accent); }
.headdiv1-1-button1 { display: none; }

.homediv1 { position: relative; background: #252927; }
.homediv1-1 {
    position: relative;
    isolation: isolate;
    min-height: clamp(30rem, 61vw, 43rem);
    display: grid;
    align-items: center;
    padding-block: 3rem 5.4rem;
}
.homediv1-1::after, .homediv1-1-img1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.homediv1-1-img1 { z-index: -2; object-fit: cover; object-position: center; }
.homediv1-1::after {
    content: '';
    z-index: -1;
    background: linear-gradient(93deg, #0e1215f5, #101517af 45%, #10141724 100%),
                linear-gradient(0deg, #111516ae, transparent 50%);
}
.homediv1 h1, .homediv1 h2 { max-width: 13ch; font-size: clamp(3rem, 7.3vw, 6.3rem); color: #fffaf2; }
.homediv1 p { margin-top: 1.25rem; max-width: 34ch; color: #ebebe3; font-size: clamp(1rem, 2.2vw, 1.25rem); }
.homediv1-1-1-1 { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.homediv1-2 { position: absolute; bottom: 1.05rem; left: 50%; transform: translateX(-50%); pointer-events: none; }
.homediv1-2-1 {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-left: auto;
    background: #151719df;
    border: 1px solid #ffffff40;
    border-radius: .45rem;
    padding: .2rem;
    pointer-events: auto;
}
.icon-button {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid transparent;
    border-radius: .3rem;
    background: transparent;
    color: var(--ink);
    font-size: 1.65rem;
    line-height: 1;
}
.icon-button:hover:not(:disabled) { background: #ffffff20; }
.icon-button:disabled { opacity: .35; }

.homediv2 { background: #232829; }
.homediv2-1 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: 60rem; margin-inline: auto; }
.homediv2-1-1 {
    display: grid;
    grid-template-columns: minmax(0, 25%) minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    padding: .65rem;
    border: 1px solid #41494a;
    border-radius: .65rem;
    background: var(--panel);
}
.homediv2-1-1 img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .35rem; }
.homediv2-1-1-1 { padding: clamp(.65rem, 2vw, 1.5rem); }
.homediv2-1-1-1 p { margin-block: .65rem; }

.homediv3-1 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.homediv3-1-1 {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: .55rem;
}
.homediv3-1-1-1 { display: block; }
.homediv3-1-1-1:focus-visible { outline-offset: -4px; }
.homediv3-1-1-1 img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.homediv3-1-1-2 { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1rem; }
.project-category { font-size: .875rem; font-weight: 800; color: var(--accent); margin-bottom: .55rem; }
.homediv3-1-1-2 h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.homediv3-1-1-2 .text-link { margin-top: auto; }

.homediv4 { background: #d9e5de; color: #192725; }
.homediv4 p { color: #374944; margin-block: 1rem; max-width: 46ch; }
.homediv4 a { color: #1b5141; }
.homediv4-1, .homediv5-1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 5rem); align-items: center; }
.homediv4-1-figure1 { margin: 0; }
.homediv4-1-figure1 img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .55rem; }
.homediv4-1-figure1 figcaption { margin-top: .5rem; font-size: .875rem; color: #425750; }
.homediv5 p { margin-top: 1rem; max-width: 44ch; }
.homediv5-1-form1 { display: grid; gap: .65rem; background: var(--panel); border: 1px solid var(--line); border-radius: .6rem; padding: clamp(1rem, 3vw, 1.8rem); }
.homediv5-1-form1 label { font-weight: 800; }
.homediv5-1-form1 select { width: 100%; min-height: 3rem; border: 1px solid #727c75; border-radius: .35rem; padding: .5rem .7rem; background: #171c1b; color: var(--ink); }
.homediv5-1-form1 .field-note { margin: 0; font-size: .875rem; }
.footdiv1 { background: #101213; border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footdiv1-1 { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; padding-bottom: 2rem; }
.footdiv1-1-1 p { margin-top: .65rem; max-width: 32ch; }
.footdiv1-1 h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: .75rem; }
.footdiv1-1 ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--muted); }
.footdiv1-1 li a { text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--line); }
.footdiv1-1 li a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footdiv1-2 { border-top: 1px solid var(--line); padding-block: 1.1rem; }
.footdiv1-2 p { font-size: .875rem; }

@media (max-width: 44rem) {
    .footdiv1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
    .footdiv1-1-1 { grid-column: 1 / -1; }
}

.detaildiv1 { padding-top: 2rem; }
.detaildiv1-1 { text-align: center; padding-block: clamp(2rem, 6vw, 4rem); }
.detaildiv1-1 h1 { font-size: clamp(2.85rem, 7vw, 5rem); }
.detaildiv1-1 p { max-width: 52ch; margin: 1rem auto 0; }
.detaildiv1-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: start; }
.projectdiv1 { min-width: 0; padding: clamp(.8rem, 2vw, 1.35rem); background: var(--panel); border: 1px solid var(--line); border-radius: .65rem; display: grid; gap: 1rem; }
.projectdiv1-1 h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
.projectdiv1-2 { min-width: 0; }
.projectdiv1-2-1 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: .35rem; }
.projectdiv1-2-1-button1, .projectdiv1-3 {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    background: #101514;
    border: 1px solid #424845;
    color: var(--ink);
    padding: 0;
    overflow: hidden;
}
.projectdiv1-2-1-button1 { flex: 0 0 100%; scroll-snap-align: start; }
.projectdiv1-2-1-button1:focus-visible { outline-offset: -4px; }
.projectdiv1-2-1-button1 img, .projectdiv1-3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.projectdiv1-2-2 { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: .35rem; }
.projectdiv1-3 { border-radius: .35rem; }
.projectdiv1-3 span { z-index: 1; background: #131b17ec; border: 1px solid #b8e1ca90; padding: .55rem .95rem; border-radius: .35rem; font-weight: 800; }
.projectdiv1-4 audio { display: block; width: 100%; }
.projectdiv1-5 { display: grid; gap: .5rem; justify-items: start; }

.preview { position: fixed; max-width: min(94vw, 70rem); max-height: 94vh; padding: 2.8rem .5rem .5rem; background: #121616; color: var(--ink); border: 1px solid #78867d; border-radius: .5rem; }
.preview::backdrop { background: #090c0de8; }
.preview-close { position: absolute; top: 0; right: 0; }
.preview-media img, .preview-media video { display: block; max-width: min(90vw, 66rem); max-height: 80vh; object-fit: contain; }
.preview-media video { width: min(90vw, 66rem); }
body:has(.preview[open]) { overflow: hidden; }

@media (max-width: 62rem) {
    .homediv3-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .homediv2-1-1 { grid-template-columns: minmax(0, 28%) minmax(0, 1fr); }
}

@media (max-width: 44rem) {
    .wrap { width: calc(100% - 2rem); }
    .wordmark { gap: .45rem; font-size: 1.15rem; }
    .wordmark img { width: 2.5rem; height: 2.5rem; }
    .headdiv1-1 { flex-wrap: wrap; min-height: 3.8rem; padding-block: .5rem; }
    .headdiv1-1-button1 { display: block; min-height: 2.75rem; padding-inline: .8rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: .35rem; }
    .headdiv1-1-nav1 { display: none; width: 100%; align-items: stretch; flex-direction: column; gap: .65rem; padding-block: .3rem .6rem; }
    .headdiv1-1-button1[aria-expanded="true"] + .headdiv1-1-nav1 { display: flex; }
    .headdiv1-1-nav1 > a:not(.button) { padding-block: .35rem; }
    .homediv1-1 { min-height: 32rem; }
    .homediv1-1::after { background: linear-gradient(90deg, #0e1215ee, #10151780), linear-gradient(0deg, #111516a0, transparent 70%); }
    .homediv2-1-1, .homediv4-1, .homediv5-1, .detaildiv1-2 { grid-template-columns: minmax(0, 1fr); }
    .homediv2-1-1-1 { padding: .9rem .45rem .55rem; }
}

@media (max-width: 30rem) {
    .homediv3-1 { grid-template-columns: minmax(0, 1fr); }
    .homediv1-1-1-1 .button { min-width: min(100%, 13rem); }
}

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

.draft-banner { padding: .65rem 1rem; background: #264638; text-align: center; }
.draft-banner a { text-decoration: underline; }
