:root {
    --ink: #2B1B13;
    --slate: #493126;
    --mist: #FFF5EA;
    --teal: #E47732;
    --tealb: #F29A55;
    --sand: #F3D6B8;
    --mute: #857467;
    --line: #E8D8C9;
    --ease: cubic-bezier(.65, 0, .15, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip
}

body {
    font: 400 1rem/1.7 "Hanken Grotesk", sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: clip
}

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

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

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

button {
    cursor: pointer;
    background: none;
    border: 0
}

h1,
h2,
h3,
.d {
    font-family: "Urbanist", sans-serif;
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1.02
}

b,
strong {
    font-weight: 600
}

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

.wrap {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto
}

.sec {
    padding: clamp(70px, 9vw, 130px) 0
}

.mist {
    background: var(--mist)
}

.h2 {
    font-size: clamp(2.3rem, 5vw, 4.4rem)
}

.h2 b {
    font-weight: 600
}

.lead {
    color: var(--mute);
    max-width: 540px;
    margin-top: 20px;
    font-size: 1.08rem
}

.k {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: 22px;
    color: var(--teal)
}

.k:before {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor
}

.dk .k,
.ph .k,
.hero .k {
    color: var(--sand)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    background: var(--teal);
    color: #fff;
    font-weight: 600;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: .4s;
    z-index: 0
}

.btn:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateX(-101%);
    transition: transform .5s var(--ease);
    z-index: -1
}

.btn:hover:before {
    transform: none
}

.btn i {
    transition: .3s
}

.btn:hover i {
    transform: translateX(5px)
}

.btn.o {
    background: transparent;
    border: 1px solid currentColor
}

.btn.o:before {
    background: #fff
}

.btn.o:hover {
    color: var(--ink)
}

.btn.sd {
    background: var(--sand);
    color: var(--ink)
}

.btn.sd:hover {
    color: #fff
}

#fade {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 2600;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s
}

#fade.on {
    opacity: 1
}

/* nav */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;
    transition: .4s;
    color: #fff
}

.nav.s,
.nav.solid {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line)
}

.nr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    transition: .4s
}

.nav.s .nr {
    height: 68px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 600 1.35rem "Urbanist";
    letter-spacing: -.02em
}

.logo svg {
    width: 30px;
    height: 30px
}

.nl {
    display: flex;
    gap: 34px
}

.nl a {
    position: relative;
    font-weight: 500;
    padding: 6px 0
}

.nl a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease)
}

.nl a:hover:after,
.nl a.on:after {
    transform: none
}

.nav .btn {
    padding: 12px 24px
}

.bg {
    display: none;
    width: 44px;
    height: 44px;
    position: relative
}

.bg b {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 21px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -7px currentColor, 0 7px currentColor
}

@media(max-width:900px) {
    .nl {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: #fff;
        color: var(--ink);
        flex-direction: column;
        gap: 0;
        padding: 10px 24px 20px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .1);
        display: none
    }

    .nl.open {
        display: flex
    }

    .nl a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line)
    }

    .bg {
        display: block;
        color: inherit
    }

    .nav .btn {
        display: none
    }
}

/* hero slider */
.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    color: #fff;
    overflow: hidden;
    background: var(--ink)
}

.sl {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s
}

.sl.on {
    opacity: 1
}

.sl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 7s linear
}

.sl.on img {
    transform: scale(1)
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 25, 28, .78), rgba(20, 25, 28, .15) 65%), linear-gradient(0deg, rgba(20, 25, 28, .7), transparent 40%)
}

.hc {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: clamp(40px, 7vw, 90px)
}

.hc .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end
}

.ht {
    position: relative;
    min-height: clamp(220px, 32vw, 420px)
}

.hx {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 880px;
    opacity: 0;
    visibility: hidden
}

.hx.on {
    opacity: 1;
    visibility: visible
}

.hx h1 {
    font-size: clamp(2.8rem, 7.2vw, 7rem)
}

.ln {
    display: block;
    overflow: hidden;
    padding-bottom: .07em
}

.ln>span {
    display: block;
    transform: translateY(105%);
    transition: transform 1s var(--ease)
}

.hx.on .ln>span {
    transform: none;
    transition-delay: calc(.25s + var(--i)*.12s)
}

.hx p {
    max-width: 480px;
    margin: 22px 0 28px;
    font-size: 1.12rem;
    opacity: 0;
    transform: translateY(16px);
    transition: .9s .8s
}

.hx.on p {
    opacity: .9;
    transform: none
}

.hx .btn {
    opacity: 0;
    transition: opacity .9s 1s, background .4s
}

.hx.on .btn {
    opacity: 1
}

.dots {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 200px
}

.dt {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: .9rem;
    opacity: .65;
    text-align: left;
    color: #fff;
    transition: .3s
}

.dt:hover,
.dt.on {
    opacity: 1
}

.dt i {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, .3);
    position: relative;
    overflow: hidden
}

.dt i:after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--sand);
    transform: scaleX(0);
    transform-origin: left
}

.dt.on i:after {
    animation: fill 6.5s linear forwards
}

@keyframes fill {
    to {
        transform: none
    }
}

.scr {
    position: absolute;
    z-index: 2;
    right: 24px;
    top: 50%;
    writing-mode: vertical-rl;
    font-size: .8rem;
    letter-spacing: .2em;
    opacity: .7
}

@media(max-width:800px) {
    .hc .wrap {
        grid-template-columns: 1fr
    }

    .dots {
        flex-direction: row;
        min-width: 0
    }

    .dt span {
        display: none
    }

    .scr {
        display: none
    }
}

/* intro */
.in2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: center
}

.imv {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5
}

.imv img {
    width: 100%;
    height: 115%;
    object-fit: cover
}

.cv {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s var(--ease)
}

.cv.in {
    clip-path: inset(0)
}

.fl {
    position: absolute;
    right: -30px;
    bottom: 40px;
    width: 55%;
    height: 15%;
    aspect-ratio: 1;
    background: var(--teal);
    color: #fff;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2
}

.fl b {
    font: 300 clamp(3rem, 6vw, 5rem)/1 "Urbanist"
}

.ck {
    margin-top: 36px;
    display: grid;
    gap: 14px
}

.ck div {
    display: flex;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line)
}

.ck i {
    color: var(--teal);
    margin-top: 6px
}

@media(max-width:860px) {
    .in2 {
        grid-template-columns: 1fr
    }

    .fl {
        right: 0
    }
}

/* accordion */
.acc {
    display: flex;
    height: min(78vh, 720px);
    gap: 6px;
    margin-top: 50px
}

.pn {
    position: relative;
    flex: 1;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    transition: flex .9s var(--ease);
    min-width: 0
}

.pn.on {
    flex: 3.4
}

.pn>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease)
}

.pn:hover>img {
    transform: scale(1.06)
}

.pn:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 25, 28, .85), rgba(20, 25, 28, .1) 60%)
}

.pi {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 26px
}

.pi small {
    display: block;
    opacity: .8;
    margin-bottom: 6px
}

.pi h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    font-weight: 600;
    transition: font-size .6s var(--ease)
}

.pn:not(.on) .pi h3 {
    font-size: 1.25rem
}

.pl {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .8s var(--ease), opacity .6s .2s;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.pn.on .pl {
    max-height: 200px;
    opacity: 1;
    margin-top: 18px
}

.pl a {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .5);
    font-size: .86rem;
    transition: .3s
}

.pl a:hover {
    background: #fff;
    color: var(--ink)
}

@media(max-width:800px) {
    .acc {
        flex-direction: column;
        height: auto
    }

    .pn {
        flex: none;
        height: 130px;
        transition: height .8s var(--ease)
    }

    .pn.on {
        height: 420px
    }
}

/* band */
.band {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: clamp(100px, 16vw, 220px) 0
}

.band>img {
    position: absolute;
    left: 0;
    top: -15%;
    width: 100%;
    height: 130%;
    object-fit: cover
}

.band:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 28, .62)
}

.band .wrap {
    position: relative;
    z-index: 2
}

.stt {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 70px;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .35)
}

.stt b {
    display: block;
    font: 300 clamp(2.8rem, 5.6vw, 5rem)/1 "Urbanist";
    letter-spacing: -.04em
}

.stt span {
    opacity: .85
}

@media(max-width:760px) {
    .stt {
        grid-template-columns: 1fr 1fr
    }
}

/* process */
.pr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 70px;
    position: relative
}

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

.pr:after {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    height: 1px;
    width: 100%;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 2s var(--ease)
}

.pr.in:after {
    transform: none
}

.ps {
    position: relative;
    padding-top: 40px
}

.ps:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--teal)
}

.ps small {
    color: var(--teal);
    font-weight: 600
}

.ps h3 {
    font-size: 1.8rem;
    margin: 6px 0 8px;
    font-weight: 600
}

.ps p {
    color: var(--mute)
}

@media(max-width:860px) {
    .pr {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:520px) {
    .pr {
        grid-template-columns: 1fr
    }
}

/* gallery */
.ga {
    columns: 3;
    column-gap: 16px;
    margin-top: 50px
}

.gi {
    break-inside: avoid;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    display: block;
    width: 100%
}

.gi img {
    width: 100%;
    transition: transform 1.2s var(--ease)
}

.gi:hover img {
    transform: scale(1.07)
}

.gi span {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 40px 18px 16px;
    color: #fff;
    background: linear-gradient(0deg, rgba(20, 25, 28, .8), transparent);
    transform: translateY(100%);
    transition: transform .6s var(--ease);
    text-align: left
}

.gi:hover span {
    transform: none
}

@media(max-width:800px) {
    .ga {
        columns: 2
    }
}

@media(max-width:520px) {
    .ga {
        columns: 1
    }
}

.lb {
    position: fixed;
    inset: 0;
    z-index: 2800;
    background: rgba(10, 13, 15, .94);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .4s
}

.lb.on {
    opacity: 1;
    visibility: visible
}

.lb img {
    max-height: 86vh;
    max-width: 90vw;
    transform: scale(.92);
    transition: transform .5s var(--ease)
}

.lb.on img {
    transform: none
}

.lb button {
    position: absolute;
    color: #fff;
    font-size: 1.6rem;
    width: 56px;
    height: 56px
}

.lc {
    top: 16px;
    right: 16px
}

.lp {
    left: 16px;
    top: 50%
}

.ln2 {
    right: 16px;
    top: 50%
}

/* quote */
.qt {
    text-align: center;
    max-width: 900px;
    margin: 0 auto
}

.qt blockquote {
    font: 300 clamp(1.9rem, 4.2vw, 3.5rem)/1.12 "Urbanist";
    letter-spacing: -.03em;
    margin: 20px 0 26px
}

.qt .st {
    color: var(--teal);
    letter-spacing: .3em
}

.cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: clamp(90px, 13vw, 180px) 0
}

.cta>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cta:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 28, .66)
}

.cta .wrap {
    position: relative;
    z-index: 2
}

.cta h2 {
    font-size: clamp(2.6rem, 7vw, 6.4rem);
    max-width: 1000px;
    margin: 0 auto 34px
}

/* page head */
.ph {
    position: relative;
    min-height: 66vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    background: var(--ink)
}

.ph>img {
    position: absolute;
    left: 0;
    top: -12%;
    width: 100%;
    height: 124%;
    object-fit: cover;
    animation: kbp 12s ease-out both
}

@keyframes kbp {
    from {
        transform: scale(1.1)
    }
}

.ph:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 25, 28, .85), rgba(20, 25, 28, .25))
}

.ph .wrap {
    position: relative;
    z-index: 2;
    padding: 160px 0 64px
}

.ph h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    max-width: 1000px
}

.ph h1 b {
    font-weight: 600
}

.ph p {
    max-width: 540px;
    margin-top: 18px;
    font-size: 1.12rem;
    opacity: .9
}

.cr {
    font-size: .9rem;
    opacity: .85;
    margin-bottom: 20px
}

.cr span {
    margin: 0 10px
}

.g3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.vc {
    background: #fff;
    padding: 44px 34px;
    transition: .5s
}

.vc:hover {
    background: var(--teal);
    color: #fff
}

.vc:hover p {
    color: rgba(255, 255, 255, .8)
}

.vc i {
    font-size: 1.6rem;
    color: var(--teal);
    margin-bottom: 60px;
    display: block;
    transition: .5s
}

.vc:hover i {
    color: var(--sand);
    transform: translateY(-6px)
}

.vc h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px
}

.vc p {
    color: var(--mute);
    transition: .5s
}

@media(max-width:860px) {
    .g3 {
        grid-template-columns: 1fr
    }
}

/* services */
.tb {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    margin-bottom: 46px
}

.tb button {
    padding: 16px 0;
    font-weight: 600;
    color: var(--mute);
    position: relative
}

.tb button.on {
    color: var(--ink)
}

.tb button:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transition: .4s var(--ease)
}

.tb button.on:after {
    transform: none
}

.sg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.sv {
    background: #fff;
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    transition: .5s;
    animation: pop .6s both
}

@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(24px)
    }
}

.sv:hover {
    background: var(--ink);
    color: #fff
}

.sv i {
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: auto;
    transition: .5s
}

.sv:hover i {
    color: var(--sand);
    transform: scale(1.2) translateX(8px)
}

.sv small {
    color: var(--teal);
    font-weight: 600;
    margin-top: 30px
}

.sv h3 {
    font-size: 1.65rem;
    font-weight: 600;
    margin: 4px 0 10px
}

.sv p {
    color: var(--mute);
    font-size: .95rem
}

.sv:hover p {
    color: rgba(255, 255, 255, .75)
}

.sv a {
    margin-top: 20px;
    font-weight: 600
}

.sv a:hover {
    text-decoration: underline
}

@media(max-width:960px) {
    .sg {
        grid-template-columns: 1fr 1fr
    }
}

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

/* forms */
.fs {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(30px, 6vw, 90px)
}

.sd {
    position: sticky;
    top: 110px;
    align-self: start
}

.sd .imv {
    aspect-ratio: 3/4;
    margin-bottom: 30px
}

.sd .ct div {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.sd .ct i {
    color: var(--teal);
    margin-top: 6px;
    width: 20px
}

form.f .fg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px
}

.fd {
    display: flex;
    flex-direction: column;
    gap: 4px
}

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

label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--slate)
}

input,
select,
textarea {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #aab4b6;
    background: transparent;
    width: 100%;
    border-radius: 0;
    transition: .3s
}

textarea {
    min-height: 110px;
    resize: vertical
}

input:focus,
select:focus,
textarea:focus {
    outline: 0;
    border-color: var(--teal);
    box-shadow: 0 1px 0 var(--teal)
}

.chk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 400;
    color: var(--mute)
}

.chk input {
    width: 20px;
    accent-color: var(--teal);
    margin-top: 4px
}

form.f .btn {
    margin-top: 34px
}

.ok {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--mist);
    border-left: 3px solid var(--teal)
}

.ok.show {
    display: block
}

@media(max-width:900px) {
    .fs {
        grid-template-columns: 1fr
    }

    .sd {
        position: static
    }

    .sd .imv {
        aspect-ratio: 16/9
    }

    form.f .fg {
        grid-template-columns: 1fr
    }
}

.full-bg {
    position: relative;
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden
}

.full-bg>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kbp 14s ease-out both
}

.full-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 28, .55)
}

.gl {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(28px, 5vw, 52px);
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
    animation: pop 1s .2s both
}

.gl h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 12px
}

.gl h1 b {
    font-weight: 600
}

.gl>p {
    color: var(--mute);
    margin-bottom: 30px
}

.gl .fg {
    grid-template-columns: 1fr !important
}

.toast {
    position: fixed;
    right: 20px;
    top: 100px;
    z-index: 3000;
    max-width: 340px;
    padding: 16px 20px;
    background: var(--ink);
    color: #fff;
    border-left: 4px solid var(--sand);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    animation: pop .4s both;
    transition: .3s
}

.toast.err {
    border-color: #e06a5a
}

.faq {
    max-width: 880px;
    margin: 50px auto 0;
    border-top: 1px solid var(--line)
}

.fq {
    border-bottom: 1px solid var(--line)
}

.fq button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
    text-align: left;
    font: 600 1.35rem/1.2 "Urbanist"
}

.fq button i {
    color: var(--teal);
    transition: .4s
}

.fq.open button i {
    transform: rotate(45deg)
}

.fq div {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s
}

.fq.open div {
    grid-template-rows: 1fr
}

.fq p {
    overflow: hidden;
    color: var(--mute)
}

.fq.open p {
    padding-bottom: 26px
}

.lg {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start
}

.toc {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line)
}

.toc a {
    padding: 9px 20px;
    color: var(--mute);
    font-size: .92rem;
    margin-left: -1px;
    border-left: 2px solid transparent;
    transition: .3s
}

.toc a:hover {
    color: var(--ink)
}

.toc a.on {
    border-color: var(--teal);
    color: var(--ink);
    font-weight: 600
}

.legal {
    max-width: 760px
}

.legal h2 {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 46px 0 12px;
    scroll-margin-top: 110px
}

.legal h2:first-of-type {
    margin-top: 0
}

.legal p {
    color: #3a464a
}

.legal p+p {
    margin-top: 12px
}

.legal ul {
    padding-left: 22px;
    margin: 10px 0;
    color: #3a464a
}

.legal a {
    text-decoration: underline
}

@media(max-width:900px) {
    .lg {
        grid-template-columns: 1fr
    }

    .toc {
        display: none
    }
}

footer {
    background: var(--ink);
    color: #fff;
    padding: 90px 0 30px
}

.fgd {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px
}

footer h4 {
    font: 600 .85rem "Hanken Grotesk";
    color: var(--sand);
    margin-bottom: 16px;
    letter-spacing: .06em
}

footer a {
    display: block;
    color: rgba(255, 255, 255, .7);
    padding: 4px 0;
    transition: .3s
}

footer a:hover {
    color: #fff;
    padding-left: 6px
}

.fb {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 70px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .55);
    font-size: .9rem
}

@media(max-width:800px) {
    .fgd {
        grid-template-columns: 1fr 1fr
    }
}

[data-r] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1s, transform 1s var(--ease);
    transition-delay: var(--d, 0s)
}

[data-r].in {
    opacity: 1;
    transform: none
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    [data-r],
    .hx p,
    .hx .btn {
        opacity: 1 !important;
        transform: none !important
    }

    .ln>span {
        transform: none !important
    }

    .cv {
        clip-path: none
    }
}