/* ==========================================================================
   BARKS — Чисті приміщення
   Standalone landing page. Only the styles this page needs.
   ========================================================================== */

:root {
    --ink: #0d0f0e;
    --paper: #f2f2ed;
    --paper-2: #e8e9e3;
    --white: #fafaf6;
    --acid: #b7cf6a;
    --muted: #5f675f;
    --muted-light: #626a63;
    --line: rgba(13, 15, 14, .14);
    --line-strong: rgba(13, 15, 14, .3);
    --line-light: rgba(255, 255, 255, .14);
    --focus: #0d0f0e;

    --ease: cubic-bezier(.2, .75, .2, 1);
    --ease-out: cubic-bezier(.23, 1, .32, 1);

    --max: 1560px;
    --gutter: clamp(20px, 3.7vw, 58px);
    --header: 78px;
    --section-y: clamp(88px, 7.2vw, 132px);
    --footer: #090b0a;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 18px);
    background: var(--paper);
    overflow-x: clip;
}

body {
    margin: 0;
    overflow-x: clip;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.drawer-open,
body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--acid);
    color: var(--ink);
}

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

.hero :focus-visible,
.manufacturing :focus-visible,
.site-header:not(.is-scrolled) :focus-visible,
.section--dark :focus-visible,
.hero-strip :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible {
    outline-color: var(--acid);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 300;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--white);
    font-size: 13px;
    transform: translateY(-160%);
    transition: transform .2s var(--ease-out);
}

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

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

.section {
    padding: var(--section-y) 0;
    position: relative;
}

.section--paper2 {
    background: var(--paper-2);
}

/* TYPE ------------------------------------------------------------------ */

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

.h2 {
    font-size: clamp(34px, 3vw, 50px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.lead {
    font-size: clamp(18px, 1.35vw, 23px);
    line-height: 1.45;
    letter-spacing: -.018em;
    color: var(--muted);
}

/* BUTTONS --------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 52px;
    padding: 0 18px 0 20px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.01em;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .12s var(--ease-out);
}

.btn span[aria-hidden="true"] {
    transition: transform .25s var(--ease-out);
}

.btn--acid {
    background: var(--acid);
    border-color: var(--acid);
    color: var(--ink);
}

.btn:active {
    transform: scale(.98);
}

/* HEADER ---------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    color: var(--white);
    border-bottom: 1px solid var(--line-light);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    box-shadow: 0 1px 24px rgba(13, 15, 14, .08);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(242, 242, 237, .97);
    color: var(--ink);
    border-color: var(--line);
}

.site-header.is-scrolled::after {
    opacity: 1;
}

.header-inner {
    width: min(calc(100% - var(--gutter) * 2), var(--max));
    height: var(--header);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    width: 150px;
}

.brand-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    transition: filter .3s var(--ease);
}

.site-header.is-scrolled .brand-logo img {
    filter: brightness(0);
}

.nav {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 1.7vw, 30px);
    font-size: 14px;
    line-height: 1;
}

.nav a {
    position: relative;
    padding: 8px 0;
    opacity: .9;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease-out);
}

.nav a:hover::after,
.nav a.is-active::after {
    transform: scaleX(1);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 42px;
    padding: 0 15px;
    border: 1px solid var(--ink);
    background: var(--acid);
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .12s var(--ease-out);
}

.header-cta span {
    transition: transform .25s var(--ease-out);
}

.header-cta:active {
    transform: scale(.98);
}

.menu-btn {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
}

.menu-btn span,
.menu-btn span::before {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform .22s var(--ease-out);
}

.menu-btn span {
    top: 19px;
}

.menu-btn span::before {
    content: '';
    left: 0;
    top: 7px;
}

.menu-btn[aria-expanded="true"] span {
    transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span::before {
    transform: translateY(-7px) rotate(-90deg);
}

/* MOBILE MENU ----------------------------------------------------------- */

.mobile-menu {
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px var(--gutter) 34px;
    background: var(--ink);
    color: var(--white);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s .22s;
}

.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), visibility 0s;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: clamp(24px, 6.6vw, 34px);
    font-weight: 400;
    letter-spacing: -.035em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}

.mobile-menu.is-open nav a {
    opacity: 1;
    transform: none;
}

.mobile-menu.is-open nav a:nth-child(1) {
    transition-delay: .04s;
}

.mobile-menu.is-open nav a:nth-child(2) {
    transition-delay: .08s;
}

.mobile-menu.is-open nav a:nth-child(3) {
    transition-delay: .12s;
}

.mobile-menu.is-open nav a:nth-child(4) {
    transition-delay: .16s;
}

.mobile-menu:not(.is-open) nav a {
    transition-delay: 0s;
}

.mobile-menu nav a:first-child {
    border-top: 1px solid var(--line-light);
}

.mobile-menu nav a span:last-child {
    font-size: 18px;
    color: var(--acid);
}

.mobile-menu__foot {
    display: grid;
    gap: 6px;
    margin-top: 48px;
    font-size: 14px;
    color: #c3c9bf;
}

.mobile-menu__foot p {
    margin-top: 10px;
    font-size: 12px;
    color: #9aa294;
}

/* HERO ------------------------------------------------------------------ */

.hero {
    position: relative;
    background: var(--ink);
    color: var(--white);
    overflow: clip;
}

.hero > .shell {
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: calc(var(--header) + 28px);
    font-size: 11px;
    color: #c3c9c3;
}

.breadcrumbs a {
    text-underline-offset: 4px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span[aria-current] {
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    column-gap: clamp(52px, 9vw, 152px);
    align-items: end;
    min-height: min(640px, calc(100svh - 216px));
    padding: 110px 0 64px;
}

.hero-title {
    font-size: clamp(44px, 4.8vw, 80px);
    font-weight: 420;
    line-height: 1.04;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.hero-title__accent {
    color: #c0c6bc;
}

.hero-side {
    padding-bottom: 5px;
}

.hero-lead {
    max-width: 36ch;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.6;
    letter-spacing: -.01em;
    color: #e0e3dd;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 26px;
}

.hero-actions .btn {
    width: min(100%, 320px);
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    min-height: 44px;
    border-bottom: 1px solid rgba(255,255,255,.5);
    font-size: 13px;
}

.hero-link:hover {
    color: var(--acid);
}

.hero-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 68%;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--ink), rgba(13,15,14,.4) 35%, rgba(13,15,14,.26)), linear-gradient(0deg, rgba(13,15,14,.75), transparent 65%);
}

.hero-strip {
    position: relative;
    z-index: 2;
    background: rgba(13,15,14,.48);
    border-top: 1px solid var(--line-light);
}

.hero-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-strip a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 0 26px clamp(20px, 2.6vw, 42px);
    border-left: 1px solid var(--line-light);
}

.hero-strip a:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-strip a span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c0c6bc;
}

.hero-strip a strong {
    font-size: clamp(14px, 1.15vw, 18px);
    font-weight: 450;
    letter-spacing: -.012em;
}

/* SHARED HEADINGS ------------------------------------------------------- */

.split-head {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: start;
}

.split-head .h2 {
    max-width: 15ch;
}

.split-head .lead {
    max-width: 48ch;
    padding-top: 6px;
}

/* APPLICATIONS ---------------------------------------------------------- */

.applications .h2 {
    max-width: none;
}

.use-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(58px, 6vw, 96px);
    border-top: 1px solid var(--line);
}

.use-item {
    padding: 28px clamp(18px, 2vw, 30px) 8px 0;
    border-right: 1px solid var(--line);
}

.use-item:not(:first-child) {
    padding-left: clamp(18px, 2vw, 32px);
}

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

.use-item h3 {
    font-size: clamp(20px, 1.55vw, 26px);
    font-weight: 450;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.use-item p {
    max-width: 26ch;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

/* SYSTEM ---------------------------------------------------------------- */

.system-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(50px, 6vw, 100px);
    align-items: start;
}

.system-copy .h2 {
    max-width: none;
    margin-bottom: 44px;
}

.system-figure {
    margin: 0;
    max-width: 650px;
}

.system-figure img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.system-labels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}

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

.system-list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0 25px;
    border-top: 1px solid var(--line);
}

.system-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.system-num {
    font-size: 11px;
    color: var(--muted-light);
    padding-top: 5px;
}

.system-list h3 {
    font-size: clamp(19px, 1.5vw, 23px);
    font-weight: 450;
    line-height: 1.15;
    letter-spacing: -.028em;
    margin-bottom: 9px;
}

.system-list p {
    max-width: 56ch;
    font-size: 14px;
    line-height: 1.52;
    color: var(--muted);
}

/* MATERIALS ------------------------------------------------------------- */

.split-head--materials {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
}

.split-head--materials .h2 {
    max-width: 17ch;
}

.materials-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: start;
    margin-top: clamp(44px, 5vw, 72px);
}

.materials-media {
    position: sticky;
    top: calc(var(--header) + 28px);
    margin: 0;
}

.material-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
    aspect-ratio: 1 / 1;
}

.materials-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.materials-media figcaption {
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    color: var(--muted);
}

.materials-list {
    min-width: 0;
    border-top: 1px solid var(--line);
}

.mat-item {
    border-bottom: 1px solid var(--line);
}

.mat-head {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 24px;
    align-items: center;
    gap: clamp(16px, 1.7vw, 28px);
    width: 100%;
    padding: 21px 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.mat-swatch {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex: none;
}

.mat-title {
    font-size: clamp(18px, 1.6vw, 24px);
    font-weight: 450;
    letter-spacing: -.028em;
    line-height: 1.25;
    transition: color .2s var(--ease);
}

.mat-icon {
    position: relative;
    width: 18px;
    height: 18px;
    color: var(--ink);
}

.mat-icon::before,
.mat-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 1px;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
}

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

.mat-item[data-open="true"] .mat-icon::after {
    transform: rotate(90deg) scaleX(0);
    opacity: 0;
}

.mat-panel {
    display: grid;
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .3s var(--ease-out), visibility 0s;
}

.mat-item[data-open="false"] .mat-panel {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .3s var(--ease-out), visibility 0s .3s;
}

.mat-panel__inner {
    overflow: hidden;
}

.mat-panel p {
    max-width: 76ch;
    padding: 2px 0 26px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--muted);
}

/* REQUIREMENTS ---------------------------------------------------------- */

.section--dark {
    background: var(--ink);
    color: var(--white);
}

.req-grid {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    gap: clamp(50px, 6vw, 108px);
    align-items: start;
}

.req-intro .h2 {
    max-width: 14ch;
    font-size: clamp(34px, 3vw, 50px);
    line-height: 1.04;
}

.req-rule {
    display: block;
    width: 48px;
    height: 1px;
    margin: 20px 0;
    background: rgba(255, 254, 255, .62);
}

.req-lead {
    max-width: 34ch;
    margin-top: clamp(28px, 3vw, 44px);
    font-size: 15px;
    line-height: 1.55;
    color: #b6bcb6;
}

.req-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 52px);
    row-gap: clamp(34px, 3.4vw, 52px);
    padding-top: clamp(6px, 1vw, 16px);
}

.req-item {
    border-top: 1px solid rgba(255, 254, 255, .25);
    padding-top: 18px;
}

.req-item h3 {
    font-size: clamp(17px, 1.3vw, 20px);
    font-weight: 450;
    letter-spacing: -.022em;
    line-height: 1.2;
    margin-bottom: 9px;
    color: var(--white);
}

.req-item p {
    max-width: 33ch;
    font-size: 14px;
    line-height: 1.5;
    color: #9fa69f;
}

/* WHY ------------------------------------------------------------------- */

.why .h2 {
    max-width: 10ch;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 3vw, 54px);
    margin-top: clamp(36px, 4vw, 60px);
}

.why-item {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.why-item h3 {
    font-size: clamp(19px, 1.5vw, 23px);
    font-weight: 450;
    letter-spacing: -.028em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.why-item p {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.52;
    color: var(--muted);
}

/* MANUFACTURING --------------------------------------------------------- */

.manufacturing {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    background: var(--ink);
    color: var(--white);
}

.manufacturing-media {
    position: relative;
    min-height: 640px;
    overflow: hidden;
}

.manufacturing-media > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% center;
}

.manufacturing-media::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(13,15,14,.7));
}

.manufacturing-logo {
    position: absolute;
    z-index: 1;
    left: var(--gutter);
    bottom: 42px;
    width: clamp(180px, 22vw, 340px);
    height: auto;
    filter: brightness(0) invert(1);
}

.manufacturing-copy {
    align-self: center;
    padding: clamp(48px, 5.2vw, 88px) var(--gutter) clamp(48px, 5.2vw, 88px) clamp(36px, 5vw, 80px);
}

.manufacturing-copy .h2 {
    max-width: 16ch;
    margin-bottom: 32px;
}

.manufacturing-copy .h2 span {
    color: var(--acid);
}

.manufacturing-copy p {
    max-width: 43ch;
    font-size: 15px;
    line-height: 1.6;
    color: #b6bcb6;
}

.manufacturing-copy .manufacturing-lead {
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(20px, 1.6vw, 25px);
    line-height: 1.35;
    letter-spacing: -.02em;
}

.manufacturing-process {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 24px 0;
    margin: 24px 0 32px;
    border-block: 1px solid var(--line-light);
    font-size: 12px;
    color: #d1d6cd;
}

.manufacturing-copy .btn {
    min-width: 240px;
}

/* CTA ------------------------------------------------------------------- */

.cta {
    background: var(--paper-2);
    padding: var(--section-y) 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(50px, 7vw, 124px);
    align-items: start;
}

.cta-copy .h2 {
    max-width: none;
}

.cta-lead {
    max-width: 38ch;
    margin-top: clamp(26px, 3vw, 42px);
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.lead-form {
    padding-top: clamp(4px, 1vw, 16px);
}

.field {
    position: relative;
    display: block;
    border-bottom: 1px solid rgba(49, 56, 51, .38);
    transition: border-color .2s var(--ease);
}

.field:focus-within {
    border-color: var(--ink);
}

.field input {
    width: 100%;
    height: 62px;
    padding: 19px 0 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    letter-spacing: -.01em;
    outline: none;
}

.field span {
    position: absolute;
    left: 0;
    top: 21px;
    font-size: 15px;
    color: var(--muted);
    pointer-events: none;
    transform-origin: left top;
    transition: transform .18s var(--ease-out), color .18s var(--ease);
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span {
    transform: translateY(-17px) scale(.64);
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}

.field.is-invalid {
    border-color: #9c4a3c;
}

.field.is-invalid span {
    color: #9c4a3c;
}

.btn--submit {
    width: 100%;
    margin-top: 30px;
    min-height: 56px;
}

.form-status {
    min-height: 18px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--ink);
}

.form-status.is-error {
    color: #8f3f32;
}

/* PROJECT DRAWER -------------------------------------------------------- */

.project-drawer {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: transparent;
    color: var(--ink);
}

.project-drawer::backdrop {
    background: rgba(5, 7, 6, .56);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 1;
    transition: opacity 280ms var(--ease-out);
}

.drawer-panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(520px, 100%);
    padding: clamp(28px, 4vw, 64px);
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    background: var(--paper);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(0);
    transition: transform 280ms var(--ease-out);
}

.project-drawer.is-closing .drawer-panel {
    transform: translateX(100%);
}

.project-drawer.is-closing::backdrop {
    opacity: 0;
}

@starting-style {
    .project-drawer[open] .drawer-panel { transform: translateX(100%); }
    .project-drawer[open]::backdrop { opacity: 0; }
}

.drawer-close {
    position: absolute;
    top: 18px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.drawer-logo {
    width: 118px;
    height: auto;
    filter: brightness(0);
}

.drawer-panel h2 {
    max-width: 11ch;
    margin: 58px 0 20px;
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.drawer-intro {
    max-width: 38ch;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.drawer-form {
    margin-top: 32px;
}

.drawer-field {
    display: block;
    margin-top: 22px;
    color: var(--muted);
}

.drawer-field span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.drawer-field input,
.drawer-field textarea {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 12px 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    resize: vertical;
}

.drawer-field input:focus-visible,
.drawer-field textarea:focus-visible {
    outline: none;
    border-bottom-color: var(--ink);
    box-shadow: 0 1px 0 var(--ink);
}

.drawer-field textarea {
    min-height: 72px;
    max-height: 200px;
}

.drawer-field:focus-within {
    color: var(--ink);
}

.drawer-field.is-invalid {
    color: #8f3f32;
}

.drawer-field.is-invalid input {
    border-color: #8f3f32;
}

.drawer-direct {
    display: grid;
    gap: 6px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.drawer-direct a:first-child {
    font-size: 22px;
    letter-spacing: -.03em;
}

.drawer-direct a:last-child {
    width: fit-content;
    font-size: 14px;
    color: var(--muted);
}

.form-status:empty {
    display: none;
}

.btn--submit:disabled {
    opacity: .65;
    cursor: wait;
}

@media (hover: hover) and (pointer: fine) {
    .drawer-close:hover {
        background: var(--ink);
        color: var(--white);
    }
}

@media (max-width: 760px) {
    .drawer-panel { padding: 28px 20px max(28px, env(safe-area-inset-bottom)); }
    .drawer-panel h2 { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .drawer-panel,
    .project-drawer::backdrop { transition: none; }
}

/* FOOTER ---------------------------------------------------------------- */

.site-footer {
    padding: 58px 0 26px;
    background: var(--footer);
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr) minmax(0, .75fr);
    gap: clamp(36px, 5vw, 86px);
}

.brand-logo--footer {
    width: 150px;
}

.brand-logo--footer img {
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 34ch;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
    color: #949b95;
}

.footer-contacts {
    display: grid;
    gap: 3px;
    margin-top: 20px;
    font-size: 13px;
    color: #cbd0cb;
}

.footer-contacts a {
    width: fit-content;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
}

.footer-nav__title {
    margin: 0 0 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9fa69f;
}

.footer-nav a {
    line-height: 1.5;
    color: #cbd0cb;
    transition: color .2s var(--ease);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid var(--line-light);
    font-size: 11px;
    color: #9fa69f;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

/* HOVER (pointer only) -------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
    .btn--acid:hover {
        background: var(--white);
        border-color: var(--white);
        color: var(--ink);
    }

    .btn:hover span[aria-hidden="true"] {
        transform: translate(4px, -4px);
    }

    .header-cta:hover {
        background: var(--ink);
        border-color: var(--ink);
        color: var(--white);
    }

    .header-cta:hover span {
        transform: translate(3px, -3px);
    }

    .hero-strip a:hover {
        background: rgba(255, 255, 255, .05);
    }

    .mat-head:hover .mat-title {
        color: var(--muted);
    }

    .footer-contacts a:hover,
    .footer-nav a:hover,
    .footer-legal a:hover {
        color: var(--acid);
    }

    .breadcrumbs a:hover {
        color: var(--white);
    }
}

/* MOTION ---------------------------------------------------------------- */

.js .hero-copy,
.js .hero-side {
    animation: hero-enter .7s var(--ease-out) both;
}

.js .hero-side {
    animation-delay: .1s;
}

@keyframes hero-enter {
    from { opacity: .4; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.js [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 45ms + 40ms);
}

.js [data-reveal-group].is-in > * {
    opacity: 1;
    transform: none;
}

/* RESPONSIVE ------------------------------------------------------------ */

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: 150px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .brand-logo {
        width: 136px;
    }

    .nav {
        gap: 18px;
        font-size: 12.5px;
    }

    .header-cta {
        gap: 18px;
        padding: 0 14px;
        font-size: 13px;
    }

    .hero-grid {
        gap: 44px;
    }

    .system-grid,
    .req-grid,
    .cta-grid {
        gap: 56px;
    }
}

@media (max-width: 1080px) {
    :root {
        --header: 78px;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: clamp(34px, 5vw, 54px);
        padding-top: clamp(38px, 5vw, 58px);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        min-height: 570px;
        gap: 40px;
        padding: 100px 0 56px;
    }

    .hero-title {
        font-size: clamp(44px, 5.6vw, 60px);
    }

    .materials-layout {
        gap: 36px;
    }

    .manufacturing-media {
        min-height: 610px;
    }

    .split-head,
    .split-head--materials {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .split-head .lead {
        padding-top: 0;
    }

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

    .use-item {
        border-top: 1px solid var(--line);
        padding-top: 24px;
        padding-bottom: 26px;
    }

    .use-item:nth-child(odd) {
        padding-left: 0;
        border-right: 1px solid var(--line);
    }

    .use-item:nth-child(even) {
        padding-left: clamp(18px, 3vw, 32px);
        border-right: 0;
    }

    .system-grid,
    .req-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: clamp(40px, 6vw, 64px);
    }

    .system-figure {
        max-width: 620px;
    }

    .system-list {
        padding-top: 0;
    }

    .req-list {
        padding-top: 0;
    }

    .cta-grid {
        gap: 42px;
    }

    .lead-form {
        max-width: 660px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    :root {
        --header: 72px;
        --section-y: clamp(70px, 12vw, 96px);
    }

    .header-cta {
        display: none;
    }

    .brand-logo {
        width: 126px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 30px;
        padding: 96px 0 40px;
    }

    .hero-title {
        max-width: 14ch;
        font-size: clamp(40px, 7.8vw, 58px);
    }

    .hero-lead {
        max-width: 40ch;
    }

    .hero-media {
        width: 100%;
    }

    .hero-media::after {
        background: linear-gradient(90deg, rgba(13,15,14,.86), rgba(13,15,14,.5)), linear-gradient(0deg, var(--ink), transparent);
    }

    .hero-strip__grid {
        grid-template-columns: 1fr;
    }

    .materials-layout,
    .manufacturing {
        grid-template-columns: 1fr;
    }

    .materials-media {
        position: static;
    }

    .material-stage {
        min-height: 0;
        aspect-ratio: 4 / 3;
        max-height: 380px;
    }

    .manufacturing-media {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .manufacturing-copy {
        padding: 48px var(--gutter) 56px;
    }

    .hero-strip a,
    .hero-strip a:first-child {
        padding: 18px 0;
        border-left: 0;
        border-top: 1px solid var(--line-light);
    }

    .hero-strip a:first-child {
        border-top: 0;
    }

    .use-grid {
        grid-template-columns: 1fr;
        margin-top: 46px;
    }

    .use-item,
    .use-item:nth-child(odd),
    .use-item:nth-child(even) {
        padding: 22px 0 24px;
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .use-num {
        margin-bottom: 18px;
    }

    .req-list {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

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

    .why-item {
        padding-top: 16px;
    }

    .why-num {
        margin-bottom: 16px;
    }

    .mat-head {
        grid-template-columns: 64px minmax(0, 1fr) 20px;
        gap: 14px;
        padding: 18px 0;
    }

    .mat-swatch {
        width: 64px;
        height: 64px;
    }

    .mat-panel p {
        padding-bottom: 22px;
        font-size: 14px;
    }

    .system-labels {
        padding-left: 6%;
        font-size: 11px;
        letter-spacing: .09em;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 430px) {
    .breadcrumbs {
        padding-top: calc(var(--header) + 22px);
        font-size: 11px;
        gap: 6px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .field input {
        height: 58px;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 8px 16px;
    }
}

/* REDUCED MOTION -------------------------------------------------------- */

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

    .js .hero-copy,
    .js .hero-side,
    .js .hero-eyebrow,
    .js .hero-lead,
    .js .hero-actions,
    .js .hero-media,
    .js [data-reveal],
    .js [data-reveal-group] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .mat-panel,
    .mat-item[data-open="false"] .mat-panel {
        transition: none;
    }

    .btn,
    .header-cta,
    .site-header::after,
    .nav a::after,
    .menu-btn span,
    .menu-btn span::before,
    .mobile-menu,
    .mobile-menu nav a,
    .field span,
    .mat-icon::before,
    .mat-icon::after {
        transition: none;
    }
}
