/* ============================================================
   The Organized Space Care — COMMON STYLESHEET
   Used by all pages: index, about, contact, newsletter,
   unsubscribe, terms, privacy
   ============================================================ */

:root {
    --ink: #2B211B;
    --ink-2: #FBF7EF;
    --line: #D9CDBD;
    --line-soft: #ECE4D8;
    --paper: #FFFDFC;
    --mute: #776E64;
    --red: #C18A32;
    --chalk: #F1E7D2;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}

body.locked {
    overflow: hidden
}

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

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

::selection {
    background: var(--red);
    color: #fff
}

/* ---------------- TOP NAVBAR ---------------- */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 80px);
    z-index: 1000;
}

.topnav .brand {
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .2em;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.topnav .brand svg {
    width: 28px;
    height: 28px;
}

.navlinks {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navlinks a {
    text-decoration: none;
    color: var(--mute);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: color .3s;
}

.navlinks a:hover {
    color: var(--red);
}

.burger {
    display: none;
    width: 38px;
    height: 30px;
    border: 1px solid var(--line);
    background: none;
    cursor: pointer;
    position: relative;
}

.burger i {
    position: absolute;
    left: 9px;
    right: 9px;
    height: 1px;
    background: var(--ink);
    transition: .35s;
}

.burger i:nth-child(1) {
    top: 11px;
}

.burger i:nth-child(2) {
    top: 17px;
}

.burger.x i:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.burger.x i:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

.drawer {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--paper);
    padding: 30px 22px;
    transform: translateY(-150%);
    transition: transform .55s cubic-bezier(.76, 0, .24, 1);
    overflow-y: auto;
}

.drawer.on {
    transform: none;
}

.drawer a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-size: 28px;
    letter-spacing: -.03em;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.drawer a small {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--red);
    letter-spacing: .2em;
    vertical-align: super;
    margin-right: 10px;
}

/* ---------------- LAYOUT ---------------- */
main {
    position: relative;
    z-index: 1;
    padding-top: 70px;
}

section {
    position: relative;
    padding: 0 clamp(20px, 5vw, 80px)
}

.hair {
    height: 1px;
    background: var(--line);
    width: 100%
}

.tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--mute);
    text-transform: uppercase
}

.tag b {
    color: var(--red);
    font-weight: 400
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1)
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* ---------------- HERO (alt-hero) ---------------- */
.alt-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background-color: var(--paper);
    overflow: hidden;
    padding-top: 0px;
}

.alt-hero-visual {
    position: relative;
    height: 100%;
    background-image: url('https://i.pinimg.com/736x/55/02/e3/5502e30205e447b2856f240b04388278.jpg');
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 1;
}

.alt-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.6));
}

.alt-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(30px, 5vw, 80px) 0 clamp(20px, 4vw, 40px);
    z-index: 2;
    margin-left: -10vw;
}

.alt-hero-tag {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alt-hero-tag::after {
    content: '';
    height: 1px;
    width: 60px;
    background-color: var(--red);
}

.alt-hero-title {
    font-size: clamp(40px, 6vw, 90px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ink);
    text-transform: uppercase;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-left: 2px solid var(--red);
    padding: 20px 30px 20px 20px;
    width: fit-content;
}

.alt-hero-title span {
    display: block;
}

.alt-hero-title em {
    font-style: normal;
    -webkit-text-stroke: 1px var(--ink);
    color: transparent;
}

.alt-hero-desc {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--mute);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 40px;
    border-left: 2px solid var(--red);
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding-top: 10px;
    padding-bottom: 10px;
}

.acts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px
}

.btn {
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    padding: 14px 26px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: .35s;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 1
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform .4s cubic-bezier(.76, 0, .24, 1)
}

.btn:hover::before {
    transform: none
}

.btn:hover {
    color: var(--paper);
    border-color: var(--ink)
}

.btn.solid {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.btn.solid:hover {
    color: var(--ink);
    border-color: var(--red);
}

.btn.solid::before {
    background: var(--paper);
}

/* ---------------- ABOUT (alt-about) ---------------- */
.alt-about {
    padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 80px);
    background-color: var(--ink);
    color: var(--paper);
    border-top: none;
}

.alt-about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.alt-about-head {
    grid-column: 1 / 6;
    position: sticky;
    top: 120px;
    align-self: start;
}

.alt-about-head .tag {
    color: var(--red);
    margin-bottom: 20px;
    display: block;
}

.alt-about-head h2 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}

.alt-about-head p {
    color: #999;
    font-size: 16px;
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 20px;
}

.alt-about-body {
    grid-column: 7 / 13;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.alt-philo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alt-phi-card {
    background-color: #1a1a1a;
    padding: clamp(30px, 4vw, 50px);
    border-left: 3px solid transparent;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.alt-phi-card:hover {
    border-color: var(--red);
    transform: translateX(10px);
}

.alt-phi-card span.n {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--red);
    display: block;
    margin-bottom: 20px;
}

.alt-phi-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.alt-phi-card p {
    color: #888;
    font-size: 14.5px;
    line-height: 1.7;
}

.alt-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 4vw, 50px);
}

.alt-stat-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alt-stat-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.alt-stat-lb {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #777;
    text-transform: uppercase;
}

.alt-stat-num {
    font-size: 36px;
    font-family: var(--mono);
    color: var(--paper);
    line-height: 1;
    letter-spacing: -0.02em;
}

.alt-stat-track {
    height: 1px;
    background-color: #333;
    width: 100%;
    position: relative;
}

.alt-stat-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background-color: var(--red);
    width: 0%;
    transform: translateY(-50%);
    transition: width 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in .alt-stat-fill {
    width: var(--target);
}

/* ---------------- SERVICES ---------------- */
.services {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line)
}

.svhead {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px
}

.svhead h2 {
    font-size: clamp(28px, 4.4vw, 62px);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1
}

.svlayout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(24px, 3vw, 50px);
    margin-top: clamp(38px, 6vw, 70px);
    align-items: start
}

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

.row {
    display: grid;
    grid-template-columns: 54px 34px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 15px 6px;
    border-bottom: 1px solid var(--line-soft);
    cursor: pointer;
    transition: background .3s, padding-left .3s;
}

.row:hover {
    background: #f5f5f5;
    padding-left: 14px
}

.row.on {
    background: #f5f5f5;
    padding-left: 14px
}

.row.on .nm {
    color: var(--red)
}

.row .no {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--mute);
    letter-spacing: .1em
}

.row .ic {
    width: 22px;
    height: 22px
}

.row .ic svg {
    width: 22px;
    height: 22px;
    stroke: var(--ink);
    fill: none;
    stroke-width: 1.1
}

.row.on .ic svg {
    stroke: var(--red)
}

.nm {
    font-size: clamp(15px, 1.6vw, 20px);
    letter-spacing: -.01em
}

.row .sh {
    font-family: var(--mono);
    font-size: 10px;
    color: #777;
    letter-spacing: .1em;
    text-align: right;
    max-width: 230px
}

.plate {
    position: sticky;
    top: 90px;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 28px
}

.plate .pn {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .28em;
    color: var(--red)
}

.plate h3 {
    font-size: 26px;
    font-weight: 400;
    margin: 16px 0 14px;
    letter-spacing: -.02em;
    line-height: 1.1
}

.plate .short {
    font-size: 13.5px;
    color: #555;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line)
}

.plate .long {
    font-size: 13.5px;
    color: #333;
    margin-top: 16px
}

.plate .glyph {
    width: 64px;
    height: 64px;
    margin-bottom: 6px
}

.plate .glyph svg {
    width: 64px;
    height: 64px;
    stroke: var(--red);
    fill: none;
    stroke-width: 1
}

.plate .foot {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .2em;
    color: var(--mute);
    border-top: 1px solid var(--line);
    padding-top: 12px
}

.sheetclose {
    display: none
}

/* ---------------- METHOD ---------------- */
.method {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line)
}

.mline {
    position: relative;
    margin-top: 60px;
    padding-top: 40px
}

.mline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line)
}

.msteps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line)
}

.ms {
    background: var(--paper);
    padding: 0 clamp(10px, 1.6vw, 22px) 22px;
    position: relative
}

.ms::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 1px;
    height: 40px;
    background: var(--line)
}

.ms .d {
    position: absolute;
    top: -44px;
    left: -4px;
    width: 8px;
    height: 8px;
    border: 1px solid var(--red);
    background: var(--paper);
    transform: rotate(45deg)
}

.ms .k {
    font-family: var(--mono);
    font-size: 34px;
    color: #ccc;
    letter-spacing: -.04em;
    line-height: 1
}

.ms h4 {
    font-size: 15px;
    font-weight: 400;
    margin: 14px 0 8px
}

.ms p {
    font-size: 12.5px;
    color: #555;
}

.ms:hover .k {
    color: var(--red);
    transition: color .4s
}

/* ---------------- LIGHT & VOLUME ---------------- */
.light {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line)
}

.lgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(26px, 4vw, 70px);
    align-items: center;
    margin-top: 50px
}

.diagram {
    border: 1px solid var(--line);
    padding: clamp(14px, 2vw, 26px);
    background: linear-gradient(180deg, rgba(232, 85, 47, .05), transparent 60%)
}

.diagram svg {
    width: 100%;
    height: auto
}

.diagram svg .st {
    stroke: var(--line);
    stroke-width: 1;
    fill: none
}

.diagram svg .pl {
    stroke: var(--ink);
    stroke-width: 1.2;
    fill: none
}

.diagram svg .ray {
    stroke: var(--red);
    stroke-width: 1;
    stroke-dasharray: 4 5;
    opacity: .85
}

.diagram svg .sun {
    fill: var(--red)
}

.lgrid ul {
    list-style: none;
    margin-top: 18px
}

.lgrid li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 15px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 13.5px;
    color: #555;
}

.lgrid li b {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--red);
    font-weight: 400;
    letter-spacing: .2em;
    padding-top: 3px
}

/* ---------------- FAQ DOORS ---------------- */
.faq {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line)
}

.doors {
    display: flex;
    margin-top: 50px;
    border: 1px solid var(--line);
    min-height: 430px;
    overflow: hidden
}

.door {
    flex: 1;
    border-right: 1px solid var(--line);
    position: relative;
    cursor: pointer;
    transition: flex-grow .7s cubic-bezier(.76, 0, .24, 1), background .5s;
    display: flex;
    overflow: hidden;
    background: var(--paper);
}

.door:last-child {
    border-right: none
}

.door:hover {
    background: #f9f9f9;
}

.door.open {
    flex-grow: 5.2;
    background: #f9f9f9;
    cursor: default
}

.spine {
    width: 78px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-right: 1px solid transparent
}

.door.open .spine {
    border-right-color: var(--line)
}

.spine .q {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--mute);
    white-space: nowrap
}

.door.open .spine .q {
    color: var(--red)
}

.spine .k {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--red)
}

.spine .hinge {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line)
}

.dcontent {
    padding: 34px;
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity .5s .18s, transform .6s .18s;
    min-width: 300px
}

.door.open .dcontent {
    opacity: 1;
    transform: none
}

.dcontent h4 {
    font-size: clamp(19px, 2.2vw, 28px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.15;
    max-width: 20ch
}

.dcontent p {
    margin-top: 18px;
    font-size: 13.5px;
    color: #555;
    max-width: 52ch
}

.dcontent .stamp {
    margin-top: 26px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .25em;
    color: var(--mute)
}

/* ---------------- TESTIMONIALS ---------------- */
.testi {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line)
}

.quotebox {
    margin-top: 44px;
    position: relative;
    min-height: 290px
}

.qmark {
    font-size: clamp(90px, 16vw, 200px);
    line-height: .6;
    color: var(--line);
    font-family: Georgia, serif;
    position: absolute;
    top: 0;
    left: -6px;
    z-index: 0
}

.qbody {
    position: relative;
    z-index: 1;
    padding-top: clamp(30px, 5vw, 58px)
}

.qtext {
    font-size: clamp(20px, 3.2vw, 42px);
    line-height: 1.24;
    font-weight: 400;
    letter-spacing: -.025em;
    max-width: 22ch;
    min-height: 1.24em
}

.qmeta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--mute)
}

.qmeta .who {
    color: var(--ink)
}

.stars {
    color: var(--red);
    letter-spacing: .2em
}

.ruler {
    display: flex;
    margin-top: 46px;
    border-top: 1px solid var(--line)
}

.rt {
    flex: 1;
    padding: 14px 0 0;
    border-right: 1px solid var(--line-soft);
    cursor: pointer;
    position: relative;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--mute);
    transition: color .3s
}

.rt:last-child {
    border-right: none
}

.rt span {
    padding-left: 10px
}

.rt::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    height: 1px;
    width: 0;
    background: var(--red);
    transition: width .5s
}

.rt.on {
    color: var(--ink)
}

.rt.on::before {
    width: 100%
}

.rt:hover {
    color: var(--ink)
}

/* ---------------- CONTACT ---------------- */
.contact {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line)
}

.sheet {
    border: 1px solid var(--line);
    margin-top: 44px;
    background: var(--paper);
}

.sheet-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .24em;
    color: var(--mute)
}

.sheet-body {
    display: grid;
    grid-template-columns: 300px 1fr
}

.coords {
    border-right: 1px solid var(--line);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px
}

.cd .k {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .24em;
    color: var(--red);
    text-transform: uppercase
}

.cd .v {
    margin-top: 8px;
    font-size: 16px
}

.cd a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: border-color .3s
}

.cd a:hover {
    border-color: var(--red)
}

.cd .s {
    font-size: 12px;
    color: var(--mute);
    margin-top: 5px
}

form.wo {
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.f {
    display: flex;
    flex-direction: column
}

.f.full {
    grid-column: 1/-1
}

.f label {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .24em;
    color: var(--mute);
    text-transform: uppercase;
    margin-bottom: 9px
}

.f input,
.f select,
.f textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    font-size: 14.5px;
    font-family: var(--sans);
    transition: border-color .3s;
}

.f select {
    appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
    background-position: calc(100% - 10px) 18px, calc(100% - 5px) 18px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 22px;
    padding-left: 10px;
}

.f select option {
    background: var(--paper);
    color: var(--ink);
    padding-left: 10px;
}

.f textarea {
    resize: vertical;
    min-height: 74px
}

.f input:focus,
.f select:focus,
.f textarea:focus {
    outline: none;
    border-bottom-color: var(--red)
}

.err {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .16em;
    color: var(--red);
    margin-top: 6px;
    height: 11px
}

.wo .sub {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 20px
}

.wo .sub .note {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .2em;
    color: var(--mute)
}

/* contact success — stamp */
.stampwrap {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
}

.stampwrap.on {
    display: flex
}

.stampcard {
    text-align: center;
    padding: 30px;
    max-width: 520px
}

.stampmark {
    display: inline-block;
    border: 3px solid var(--red);
    color: var(--red);
    padding: 14px 30px;
    font-family: var(--mono);
    font-size: clamp(20px, 4vw, 34px);
    letter-spacing: .2em;
    transform: rotate(-9deg) scale(2.4);
    opacity: 0;
}

.stampwrap.on .stampmark {
    animation: stamp .5s cubic-bezier(.2, 1.4, .4, 1) forwards
}

@keyframes stamp {
    to {
        transform: rotate(-9deg) scale(1);
        opacity: 1
    }
}

.stampcard h3 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 400;
    margin-top: 36px;
    letter-spacing: -.02em;
    opacity: 0;
    animation: none
}

.stampwrap.on .stampcard h3 {
    animation: fadeup .6s .35s forwards
}

.stampcard p {
    color: var(--mute);
    font-size: 13.5px;
    margin-top: 12px;
    opacity: 0
}

.stampwrap.on .stampcard p {
    animation: fadeup .6s .48s forwards
}

.stampcard .btn {
    margin-top: 32px;
    opacity: 0
}

.stampwrap.on .stampcard .btn {
    animation: fadeup .6s .6s forwards
}

@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ---------------- NEWSLETTER ---------------- */
.news {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line)
}

.ledger {
    border: 1px solid var(--line);
    margin-top: 40px;
    background: var(--paper);
}

.lrow {
    display: grid;
    grid-template-columns: 190px 1fr;
    border-bottom: 1px solid var(--line)
}

.lrow:last-child {
    border-bottom: none
}

.lrow .lk {
    border-right: 1px solid var(--line);
    padding: 18px 20px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .24em;
    color: var(--mute);
    text-transform: uppercase;
    display: flex;
    align-items: center
}

.lrow .lv {
    padding: 10px 20px;
    display: flex;
    align-items: center
}

.lrow input[type=text],
.lrow input[type=email],
.lrow input[type=date] {
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 0;
    font-size: 15px;
}

.lrow input:focus {
    outline: none
}

.lrow .lv:focus-within {
    background: rgba(232, 85, 47, .05)
}

.chk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer
}

.chk input {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--line);
    flex: none;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    transition: .25s
}

.chk input:checked {
    border-color: var(--red);
    background: var(--red)
}

.chk input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid var(--paper);
    border-width: 0 1.6px 1.6px 0;
    transform: rotate(45deg)
}

.chk span {
    font-size: 13px;
    color: #555;
}

.newsfoot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 22px
}

.agree {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .14em;
    color: var(--mute);
    max-width: 62ch;
    line-height: 1.9
}

/* newsletter success — bottom ticker */
.ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 420;
    background: var(--ink);
    color: var(--paper);
    transform: translateY(101%);
    transition: transform .6s cubic-bezier(.76, 0, .24, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 4vw, 50px);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ticker.on {
    transform: none
}

.ticker .x {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 7px 14px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--paper);
}

.ticker .dotpulse {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    animation: pulse 1.2s infinite
}

@keyframes pulse {
    50% {
        opacity: .25
    }
}

/* ---------------- UNSUBSCRIBE PAGE ---------------- */
.unsub-page {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line);
    min-height: 60vh;
}

.unsub-page-card {
    border: 1px solid var(--line);
    max-width: 560px;
    margin: 44px auto 0;
    background: var(--paper);
}

.unsub-page-card .h {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .26em;
    color: var(--mute);
}

.unsub-page-card .b {
    padding: 26px 24px;
}

.unsub-page-card h4 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -.02em;
}

.unsub-page-card .b > p {
    font-size: 13px;
    color: #555;
    margin-top: 10px;
}

.unsub-page-card .acts2 {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* unsubscribe success — struck-through typography */
.ustate {
    display: none;
    padding: 44px 24px 30px;
    text-align: left;
}

.ustate.on {
    display: block;
}

.strike {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 400;
    letter-spacing: -.02em;
    position: relative;
    display: inline-block;
    word-break: break-all;
}

.strike::after {
    content: "";
    position: absolute;
    left: 0;
    top: 52%;
    height: 1px;
    background: var(--red);
    width: 0;
    animation: strike .7s .15s cubic-bezier(.76, 0, .24, 1) forwards;
}

@keyframes strike {
    to {
        width: 100%;
    }
}

.ustate .sub2 {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--mute);
    margin-top: 20px;
    opacity: 0;
    animation: fadeup .5s .7s forwards;
}

/* ---------------- FOOTER ---------------- */
footer {
    border-top: 1px solid var(--line);
    padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 80px) 26px;
    position: relative;
    z-index: 1;
}

.fgrid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(20px, 3vw, 48px);
}

.fcol h5 {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .26em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.fcol ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.fcol a,
.fcol button {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: color .3s;
}

.fcol a:hover,
.fcol button:hover {
    color: var(--ink);
}

.fbrand h4 {
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--ink);
    margin-top: 15px;
    margin-bottom: 15px;
}

.fbrand p {
    font-size: 13px;
    color: #555;
    max-width: 32ch;
}

.wordmark {
    margin-top: clamp(46px, 7vw, 80px);
    font-size: clamp(42px, 15.5vw, 230px);
    line-height: .8;
    letter-spacing: -.05em;
    text-transform: uppercase;
    -webkit-text-stroke: 1px var(--line);
    color: transparent;
    white-space: nowrap;
    overflow: hidden;
}

.fbot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 34px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .2em;
    color: var(--mute);
}

/* ---------------- LEGAL DOC PAGES (terms, privacy) ---------------- */
.docpage {
    padding-top: clamp(70px, 10vh, 130px);
    padding-bottom: clamp(70px, 10vh, 130px);
    border-top: 1px solid var(--line);
}

.docpage-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.docpage-head {
    margin-bottom: 44px;
}

.docpage-head .tag {
    display: block;
    margin-bottom: 18px;
}

.docpage-head h1 {
    font-size: clamp(28px, 4.4vw, 62px);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1;
}

.docpage-card {
    border: 1px solid var(--line);
    background: var(--paper);
}

.docpage-card-head {
    padding: 18px clamp(16px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.docpage-card-head h3 {
    font-size: clamp(16px, 2.4vw, 24px);
    font-weight: 400;
    letter-spacing: -.01em;
}

.docpage-card-head .meta {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .2em;
    color: var(--mute);
}

.docpage-body {
    padding: clamp(18px, 3vw, 34px);
    columns: 2;
    column-gap: 34px;
}

.docpage-body .sec {
    break-inside: avoid;
    margin-bottom: 24px;
    padding-left: 40px;
    position: relative;
}

.docpage-body .sec i {
    position: absolute;
    left: 0;
    top: 2px;
    font-style: normal;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--red);
}

.docpage-body h4 {
    font-size: 14.5px;
    font-weight: 400;
    margin-bottom: 7px;
}

.docpage-body p {
    font-size: 12.5px;
    color: #555;
    line-height: 1.75;
}

.docpage-back {
    text-align: center;
    margin-top: 40px;
}

/* ---------------- RESPONSIVE ---------------- */
@media(max-width:1080px) {
    .svlayout {
        grid-template-columns: 1fr
    }

    .plate {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 450;
        transform: translateY(101%);
        transition: transform .55s cubic-bezier(.76, 0, .24, 1);
        max-height: 82vh;
        overflow-y: auto;
        border: none;
        border-top: 1px solid var(--red)
    }

    .plate.up {
        transform: none
    }

    .sheetclose {
        display: block;
        position: absolute;
        top: 14px;
        right: 14px
    }

    .alt-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px
    }

    .msteps {
        grid-template-columns: repeat(2, 1fr)
    }

    .lgrid {
        grid-template-columns: 1fr
    }

    .sheet-body {
        grid-template-columns: 1fr
    }

    .coords {
        border-right: none;
        border-bottom: 1px solid var(--line);
        flex-direction: row;
        flex-wrap: wrap;
        gap: 26px
    }

    .cd {
        min-width: 200px
    }

    .fgrid {
        grid-template-columns: 1fr 1fr
    }

    .docpage-body {
        columns: 1
    }
}

@media(max-width:960px) {
    .alt-hero {
        grid-template-columns: 1fr;
        grid-template-rows: 50vh auto;
        min-height: auto;
    }

    .alt-hero-visual {
        clip-path: none;
    }

    .alt-hero-content {
        margin-left: 0;
        padding: 60px clamp(20px, 5vw, 40px);
        background: var(--paper);
    }

    .alt-hero-title {
        background: transparent;
        backdrop-filter: none;
        padding: 0 0 0 20px;
    }

    .alt-hero-desc {
        background: transparent;
        backdrop-filter: none;
    }

    .alt-about-grid {
        grid-template-columns: 1fr;
    }

    .alt-about-head {
        grid-column: 1 / -1;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .alt-about-body {
        grid-column: 1 / -1;
        gap: 60px;
    }
}

@media(max-width:860px) {
    .topnav {
        height: 60px;
    }

    main {
        padding-top: 60px;
    }

    .drawer {
        top: 60px;
    }

    .navlinks {
        display: none;
    }

    .topnav .cta-btn {
        display: none;
    }

    .burger {
        display: block;
    }

    .alt-hero {
        padding-top: 40px;
    }

    .doors {
        flex-direction: column;
        min-height: 0
    }

    .door {
        border-right: none;
        border-bottom: 1px solid var(--line);
        flex-direction: column
    }

    .door:last-child {
        border-bottom: none
    }

    .spine {
        width: 100%;
        flex-direction: row;
        padding: 16px 18px;
        gap: 14px;
        border-right: none !important
    }

    .door.open .spine {
        border-bottom: 1px solid var(--line)
    }

    .spine .q {
        writing-mode: horizontal-tb;
        transform: none;
        white-space: normal;
        text-align: left;
        flex: 1
    }

    .spine .hinge {
        display: none
    }

    .dcontent {
        min-width: 0;
        padding: 0 18px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .5s ease, padding .4s, opacity .4s;
        opacity: 0
    }

    .door.open .dcontent {
        max-height: 520px;
        padding: 22px 18px 28px;
        opacity: 1
    }

    .door.open {
        flex-grow: 1
    }

    .row {
        grid-template-columns: 44px 26px 1fr;
        gap: 12px
    }

    .row .sh {
        display: none
    }

    form.wo {
        grid-template-columns: 1fr
    }

    .lrow {
        grid-template-columns: 1fr
    }

    .lrow .lk {
        border-right: none;
        border-bottom: 1px solid var(--line-soft);
        padding: 12px 16px
    }

    .fgrid {
        grid-template-columns: 1fr
    }

    .msteps {
        grid-template-columns: 1fr
    }

    .ms {
        padding: 18px
    }

    .ms::before,
    .ms .d {
        display: none
    }

    .qmeta {
        gap: 14px
    }
}

@media(max-width:600px) {
    .alt-stats {
        grid-template-columns: 1fr;
    }

    .alt-phi-card:hover {
        transform: none;
    }
}

@media(max-width:480px) {
    .wordmark {
        font-size: 18vw
    }

    .stampmark {
        padding: 10px 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}
