/* ==========================================================================
   components.css · peças reutilizáveis
   ========================================================================== */

/* --------------------------------------------------------------------------
   Cabeçalho (réguas finas, como a folha de rosto de um portefólio)
   -------------------------------------------------------------------------- */
.site-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background-color: var(--paper);
    background-image: var(--noise);
    border-bottom: 1px solid var(--rule);
    transition: transform .5s var(--ease);
}
.site-head.is-hidden { transform: translateY(-100%); }

.head-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 58px;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; justify-self: start; }
.brand-name { font-family: var(--f-sans); font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.brand-sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.brand:hover .brand-name { color: var(--red); }

.head-center { text-align: center; line-height: 1.1; }
.head-center strong { display: block; font-family: var(--f-sans); font-weight: 800; font-size: 16px; letter-spacing: .06em; }
.head-center span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }

.head-meta { display: flex; align-items: center; gap: 16px; justify-self: end; }
.head-clock { font-size: 12px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.head-dots { display: flex; gap: 6px; }
.head-dots i { width: 11px; height: 11px; border: 1.3px solid var(--ink); border-radius: 50%; }
.head-dots i:nth-child(2) { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.head-dots i:nth-child(3) { background: var(--ink); animation: blink 2.4s steps(2) infinite; }
@keyframes blink { 50% { background: var(--red); border-color: var(--red); } }

.head-nav { border-top: 1px solid var(--rule-soft); }
.head-nav-inner { display: flex; gap: clamp(14px, 3vw, 44px); min-height: 40px; align-items: center; }
.head-nav a {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 0;
}
.head-nav a::before, .head-nav a::after { transition: opacity .3s var(--ease), transform .3s var(--ease); opacity: 0; }
.head-nav a::before { content: "["; transform: translateX(4px); }
.head-nav a::after { content: "]"; transform: translateX(-4px); }
.head-nav a:hover::before, .head-nav a:hover::after,
.head-nav a.is-active::before, .head-nav a.is-active::after { opacity: 1; transform: none; }
.head-nav a.is-active { color: var(--red); }
.nav-n { font-size: 9px; color: var(--ink-3); }
.nav-mobile-foot { display: none; }

.menu-toggle { display: none; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.menu-toggle-icon { position: relative; width: 22px; height: 12px; }
.menu-toggle-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle-icon i:first-child { top: 2px; }
.menu-toggle-icon i:last-child { top: 9px; }
.menu-open .menu-toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .head-center, .head-dots { display: none; }
    .head-bar { grid-template-columns: 1fr auto; }
    .menu-toggle { display: inline-flex; }
    .head-clock { display: none; }
    .head-nav {
        position: fixed;
        inset: 58px 0 0 0;
        border: 0;
        background-color: var(--paper);
        background-image: var(--noise);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-block: 28px;
        clip-path: inset(0 0 100% 0);
        visibility: hidden;
        transition: clip-path .7s var(--ease-io), visibility 0s .7s;
    }
    .menu-open .head-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io); }
    .head-nav-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
    .head-nav-inner a { font-family: var(--f-hand); font-size: clamp(40px, 12vw, 64px); letter-spacing: 0; text-transform: uppercase; line-height: 1.05; gap: 14px; }
    .head-nav a::before, .head-nav a::after { display: none; }
    .nav-n { font-family: var(--f-mono); font-size: 12px; }
    .menu-open .head-nav-inner a { animation: navIn .7s var(--ease) both; }
    .menu-open .head-nav-inner a:nth-child(2) { animation-delay: .06s; }
    .menu-open .head-nav-inner a:nth-child(3) { animation-delay: .12s; }
    .menu-open .head-nav-inner a:nth-child(4) { animation-delay: .18s; }
    .menu-open .head-nav-inner a:nth-child(5) { animation-delay: .24s; }
    .nav-mobile-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--rule); padding-top: 16px; }
    .nav-mobile-foot a { font-size: 12px; letter-spacing: .06em; text-transform: none; padding: 0; }
    body.menu-open { overflow: hidden; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(24px) rotate(-2deg); } }

/* --------------------------------------------------------------------------
   Botões e ícones
   -------------------------------------------------------------------------- */
.ico { width: 1.15em; height: 1.15em; flex: none; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid currentColor;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .45s var(--ease);
}
.btn::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform .45s var(--ease);
    z-index: -1;
}
.btn:hover { color: var(--paper-3); }
.btn:hover::before { transform: none; }
.btn:hover .ico { transform: translateX(3px); }
.btn .ico { transition: transform .45s var(--ease); }
.btn--ink { background: var(--ink); color: var(--paper-3); border-color: var(--ink); }
.btn--ink::before { background: var(--red); }
.btn--red { color: var(--red); }
.btn--red::before { background: var(--red); }
.is-night .btn:hover { color: var(--night); }
.is-night .btn::before { background: var(--bone); }

/* --------------------------------------------------------------------------
   Carimbos
   -------------------------------------------------------------------------- */
.stamp {
    display: inline-block;
    font-family: var(--f-sans);
    font-weight: 800;
    font-stretch: 75%;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--red);
    border: 2px solid currentColor;
    outline: 1px solid currentColor;
    outline-offset: 2px;
    padding: .42em .7em .36em;
    transform: rotate(-7deg);
    filter: url(#f-stamp);
    white-space: nowrap;
}
.stamp--concluido, .stamp--confidencial { color: var(--ink); }
.stamp--arquivado { color: var(--ink-3); }
.js .reveal .stamp { opacity: 0; transform: rotate(-7deg) scale(1.8); transition: opacity .25s ease .55s, transform .45s cubic-bezier(.3, 1.6, .5, 1) .55s; }
.js .reveal.is-in .stamp { opacity: .92; transform: rotate(-7deg) scale(1); }

/* --------------------------------------------------------------------------
   Secções numeradas (como as do relatório)
   -------------------------------------------------------------------------- */
.sec { position: relative; padding-block: var(--sec-pad); }
.sec-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 14px 28px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 18px;
    margin-bottom: clamp(36px, 5vw, 72px);
}
.sec-num {
    align-self: start;
    font-size: 13px;
    letter-spacing: .08em;
    border: 1px solid var(--rule);
    padding: 3px 9px;
}
.sec-title {
    font-family: var(--f-sans);
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
    font-size: clamp(38px, 6vw, 92px);
    line-height: .88;
    letter-spacing: -.01em;
}
.sec-title em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 400;
    font-stretch: 100%;
    text-transform: none;
    letter-spacing: -.01em;
}
.sec-meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 640px) {
    .sec-head { grid-template-columns: auto 1fr; }
    .sec-meta { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Ficha de projeto (pasta de arquivo)
   -------------------------------------------------------------------------- */
.files-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px) clamp(20px, 3vw, 44px); }
.files-grid > .file-card { grid-column: span 6; }
.files-grid--feature > .file-card:nth-child(4n+1) { grid-column: 1 / span 7; }
.files-grid--feature > .file-card:nth-child(4n+2) { grid-column: 8 / span 5; margin-top: clamp(40px, 12vw, 180px); }
.files-grid--feature > .file-card:nth-child(4n+3) { grid-column: 1 / span 5; }
.files-grid--feature > .file-card:nth-child(4n+4) { grid-column: 6 / span 7; margin-top: clamp(30px, 8vw, 120px); }
.files-grid--feature > .file-card:nth-child(4n+2) .file-media,
.files-grid--feature > .file-card:nth-child(4n+3) .file-media { aspect-ratio: 4 / 5; }
@media (max-width: 800px) {
    .files-grid > .file-card, .files-grid--feature > .file-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
}

.file-card { position: relative; padding-top: 22px; }
.file-link {
    position: relative;
    display: block;
    background-color: var(--paper-3);
    background-image: var(--noise);
    border: 1px solid var(--rule);
    padding: clamp(12px, 1.4vw, 18px);
    box-shadow: 10px 12px 0 -4px rgba(21, 20, 18, .07);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
/* separador da pasta */
.file-link::before {
    content: "";
    position: absolute;
    left: -1px; top: -23px;
    width: 42%; height: 23px;
    background: inherit;
    border: 1px solid var(--rule);
    border-bottom: 0;
    clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
}
.file-link:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 16px 22px 0 -6px rgba(21, 20, 18, .1); }

.file-tab {
    display: flex; justify-content: space-between; gap: 12px;
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    padding-bottom: 10px; margin-bottom: 14px;
    border-bottom: 1px dashed var(--rule);
}
.file-code { font-weight: 700; }
.file-cat { color: var(--ink-2); text-align: right; }

.file-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.file-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.06) brightness(.98);
    transition: filter .9s var(--ease), transform 1.4s var(--ease);
}
.file-link:hover .file-media img { filter: grayscale(0) contrast(1); transform: scale(1.045); }
.file-stamp { position: absolute; right: 14px; top: 16px; background: rgba(244, 241, 233, .82); }
.file-missing {
    height: 100%;
    display: grid; place-content: center; justify-items: center; gap: 6px;
    background: repeating-linear-gradient(-45deg, transparent 0 11px, var(--rule-soft) 11px 12px);
}
.file-missing-code { font-family: var(--f-hand); font-size: clamp(34px, 5vw, 64px); color: var(--ink-3); line-height: 1; }

.file-body { padding-top: 18px; }
.file-title {
    font-family: var(--f-sans);
    font-weight: 800;
    font-stretch: 70%;
    text-transform: uppercase;
    font-size: clamp(30px, 3.6vw, 54px);
    line-height: .9;
}
.file-sub { margin-top: 10px; font-size: 14px; color: var(--ink-2); max-width: 52ch; }
.file-meta {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    margin-top: 16px; padding-top: 12px;
    border-top: 1px solid var(--rule);
}
.file-meta dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.file-meta dd { font-size: 13px; line-height: 1.35; margin-top: 2px; }
.file-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.file-open .ico { transition: transform .45s var(--ease); }
.file-link:hover .file-open { color: var(--red); }
.file-link:hover .file-open .ico { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   Faixa em movimento
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; padding-block: 20px; border-block: 1px solid var(--rule); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--f-sc); font-size: clamp(22px, 3vw, 42px); line-height: 1; }
.marquee-item::after { content: "✳"; font-family: var(--f-sans); font-size: .6em; color: var(--red); margin-inline: .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Selo
   -------------------------------------------------------------------------- */
.seal { width: 140px; height: 140px; overflow: visible; }
.seal-text { font-family: var(--f-sc); font-size: 13.5px; letter-spacing: .06em; fill: currentColor; }
.seal-mono { font-family: var(--f-serif); font-size: 46px; fill: currentColor; }
.seal-est { font-family: var(--f-mono); font-size: 9px; letter-spacing: .22em; fill: currentColor; }
.seal-ring { transform-box: view-box; transform-origin: 100px 100px; animation: spin 48s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Separadores / filtros [ ... ]
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tab { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 0; color: var(--ink-2); transition: color .3s; }
.tab::before { content: "["; opacity: 0; transition: opacity .3s; }
.tab::after { content: "]"; opacity: 0; transition: opacity .3s; }
.tab:hover, .tab.is-active { color: var(--ink); }
.tab:hover::before, .tab:hover::after, .tab.is-active::before, .tab.is-active::after { opacity: 1; }
.tab sup { font-size: 9px; color: var(--red); top: -.6em; }

/* --------------------------------------------------------------------------
   Formulários
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field-hint { font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.field input, .field textarea, .field select {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    padding: 10px 2px;
    font-family: var(--f-mono);
    font-size: 16px;
    outline: none;
    transition: border-color .3s, background-color .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--red); background-color: rgba(21, 20, 18, .035); }
.field textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 32px;
    padding-top: 4px;
    background-image: repeating-linear-gradient(transparent 0 31px, var(--rule-soft) 31px 32px);
    background-attachment: local;
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input {
    appearance: none; -webkit-appearance: none;
    flex: none;
    width: 19px; height: 19px;
    margin: 1px 0 0;
    border: 1.5px solid var(--ink);
    background: transparent;
    display: grid; place-items: center;
    cursor: pointer;
}
.check input::after { content: "✕"; font-family: var(--f-hand); font-size: 19px; line-height: 1; color: var(--red); transform: scale(0) rotate(-20deg); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.check input:checked::after { transform: scale(1) rotate(-6deg); }

.flash { padding: 12px 16px; border: 1px solid currentColor; font-size: 14px; line-height: 1.5; }
.flash--error { color: var(--red); background: rgba(179, 38, 30, .06); }
.flash--ok { color: var(--ink); background: rgba(21, 20, 18, .04); }
.flash--ok::before { content: "✓ "; font-weight: 700; }

/* --------------------------------------------------------------------------
   Preloader: contagem de película
   -------------------------------------------------------------------------- */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.loader {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-content: center; justify-items: center; gap: 26px;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
html:not(.js) .loader, .seen .loader { display: none; }
.loader-leader { position: relative; width: min(52vw, 250px); aspect-ratio: 1; animation: flicker .14s steps(2) infinite; }
.leader-svg { width: 100%; height: 100%; fill: none; stroke: var(--bone); stroke-width: 1; }
.leader-sweep {
    position: absolute; inset: 11%;
    border-radius: 50%;
    background: conic-gradient(rgba(220, 210, 188, .26) var(--sweep), transparent 0);
    animation: sweep .62s linear infinite;
}
.leader-num { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--f-serif); font-size: clamp(88px, 18vw, 150px); line-height: 1; }
.loader-text { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.loader-dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
.loader-meta { font-family: var(--f-sc); font-size: 12px; letter-spacing: .12em; color: var(--bone-2); text-align: center; padding-inline: 20px; }
@keyframes sweep { to { --sweep: 360deg; } }
@keyframes flicker { 50% { opacity: .9; } }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* --------------------------------------------------------------------------
   Cortina de transição entre páginas
   -------------------------------------------------------------------------- */
.curtain {
    position: fixed; inset: 0; z-index: 190;
    display: grid; place-items: center;
    background: var(--ink);
    color: var(--paper);
    transform: translateY(100%);
    pointer-events: none;
}
.curtain.is-active { transform: translateY(0); transition: transform .55s var(--ease-io); pointer-events: auto; }
.from-nav .curtain { transform: translateY(0); }
.curtain.is-leaving { transform: translateY(-100%); transition: transform .8s var(--ease-io); }
.curtain-inner { display: grid; gap: 10px; text-align: center; }
.curtain-label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.curtain-code { font-family: var(--f-hand); font-size: clamp(44px, 9vw, 110px); line-height: 1; }

/* --------------------------------------------------------------------------
   Cursor
   -------------------------------------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 180; pointer-events: none; display: none; will-change: transform; }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } }
.cursor-ring {
    position: absolute;
    width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border: 1.5px solid var(--red);
    border-radius: 50%;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s;
}
.cursor.is-hover .cursor-ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(179, 38, 30, .07); }
.cursor.is-down .cursor-ring { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.cursor-label {
    position: absolute; left: 44px; top: 30px;
    white-space: nowrap;
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    background: var(--red); color: var(--paper-3);
    padding: 4px 8px 3px;
    opacity: 0; transform: translateY(6px) rotate(-3deg);
    transition: opacity .25s, transform .35s var(--ease);
}
.cursor.is-hover .cursor-label:not(:empty) { opacity: 1; transform: rotate(-3deg); }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    width: 100vw; height: 100vh; height: 100dvh;
    max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0;
    background: rgba(13, 12, 11, .97);
    color: var(--bone);
}
.lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: auto minmax(0, 1fr); }
.lightbox::backdrop { background: transparent; }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.lb-close { color: var(--bone); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.lb-close:hover, .lb-nav:hover { color: var(--red); }
.lb-nav { font-size: 30px; color: var(--bone); align-self: center; justify-self: center; width: 64px; height: 64px; }
.lb-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding-bottom: 18px; }
.lb-media { min-height: 0; display: grid; place-items: center; }
.lb-media img, .lb-media video { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); animation: lbIn .6s var(--ease); }
.lb-caption { text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 18px; padding: 14px 10px 0; }
.lb-caption small { display: block; font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); margin-top: 6px; }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
@media (max-width: 640px) {
    .lightbox[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; }
    .lb-nav { width: 44px; font-size: 24px; }
}

/* --------------------------------------------------------------------------
   Rodapé (cinema)
   -------------------------------------------------------------------------- */
.site-foot { padding-top: clamp(64px, 9vw, 130px); padding-bottom: 36px; overflow: hidden; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
.foot-script { font-family: var(--f-script); font-size: clamp(90px, 16vw, 250px); line-height: .8; color: var(--bone); margin-left: -.05em; padding-top: .15em; }
.foot-seal { width: clamp(110px, 12vw, 170px); height: auto; color: var(--bone); flex: none; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding-block: 36px; }
.foot-h { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); margin-bottom: 14px; }
.foot-col li { list-style: none; font-size: 15px; line-height: 1.9; }
.foot-col a { display: inline-flex; align-items: center; gap: 8px; }
.foot-col a:hover { color: var(--red); }
.foot-code { font-size: 11px; color: var(--bone-2); letter-spacing: .1em; }
.foot-muted { color: var(--bone-2); }
.foot-bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.foot-top-link:hover { color: var(--red); }
.foot-legal { margin-top: 22px; font-family: var(--f-sc); font-size: 12px; line-height: 1.6; color: var(--bone-2); text-align: center; max-width: 80ch; margin-inline: auto; }
@media (max-width: 760px) {
    .foot-grid { grid-template-columns: 1fr; gap: 26px; }
    .foot-top { flex-direction: column-reverse; align-items: flex-start; }
}
