/* ==========================================================
   City Gate — Qatari Diyar
   ========================================================== */

:root {
    --forest-900: #0c221c;
    --forest-700: #183a30;
    --forest-600: #1f4a3d;
    --forest-500: #2e6a56;
    --sand-600: #b08a4f;
    --sand-500: #c6a46c;
    --sand-300: #e2cda6;
    --sand-100: #f4ece0;
    --ivory: #faf7f2;
    --white: #ffffff;
    --ink: #17211d;
    --muted: #5d6a64;
    --line: #e7dfd1;
    --whatsapp: #25d366;

    --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    --font-latin: 'Playfair Display', Georgia, serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(12, 34, 28, .06);
    --shadow: 0 18px 40px -18px rgba(12, 34, 28, .28);
    --shadow-lg: 0 30px 60px -25px rgba(12, 34, 28, .45);
    --ease: cubic-bezier(.22, .61, .36, 1);

    --header-h: 68px;
    --container: 1200px;
    --gutter: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink);
    background: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 50px;
    padding: .75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--sm {
    min-height: 42px;
    padding: .55rem 1.15rem;
    font-size: .92rem;
}

.btn--sm .icon {
    width: 18px;
    height: 18px;
}

.btn--gold {
    background: var(--sand-500);
    color: var(--forest-900);
    box-shadow: 0 14px 30px -12px rgba(198, 164, 108, .8);
}

.btn--gold:hover {
    background: var(--sand-300);
}

.btn--outline-light {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .45);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--white);
}

.btn--ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .28);
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--forest-900);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn--whatsapp:hover {
    background: #1ebe5a;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--sand-600);
    margin-bottom: .75rem;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}

.eyebrow--light {
    color: var(--sand-300);
}

.section-title {
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--forest-900);
    margin-bottom: 1.25rem;
}

.section-title--light {
    color: var(--white);
}

.sub-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--forest-600);
    margin-bottom: .75rem;
}

.lead {
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--forest-700);
    margin-bottom: 1rem;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

.section-head .eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    color: var(--white);
}

/* Blur lives on a pseudo-element: backdrop-filter on .header itself would
   become the containing block of the fixed mobile drawer. */
.header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(12, 34, 28, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .4);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.header.is-scrolled::before,
body.menu-open .header::before {
    opacity: 1;
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    position: relative;
    z-index: 2;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand__text strong {
    font-size: 1.05rem;
    font-weight: 700;
}

.brand__text small {
    font-family: var(--font-latin);
    font-size: .78rem;
    color: var(--sand-300);
    letter-spacing: .5px;
}

/* Mobile nav drawer */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 340px);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    background: var(--forest-900);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    z-index: 1;
}

.nav.is-open {
    transform: translateX(0);
}

.nav__links a {
    display: block;
    padding: .95rem 0;
    font-size: 1.08rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: color .25s;
}

.nav__links a:hover,
.nav__links a.is-active {
    color: var(--sand-500);
}

.nav__actions {
    display: grid;
    gap: .75rem;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(5, 15, 12, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
}

.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.menu-toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .25);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .3s;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    overflow: hidden;
    background: var(--forest-900);
}

.hero__bg,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% center;
}

.hero__shade {
    background:
        linear-gradient(to top, rgba(12, 34, 28, .92) 0%, rgba(12, 34, 28, .5) 50%, rgba(12, 34, 28, .15) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
}

.hero__content {
    max-width: 640px;
    animation: rise 1s var(--ease) both;
}

.hero__title {
    font-size: clamp(2.4rem, 1.6rem + 4.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: .35rem;
}

.hero__latin {
    font-family: var(--font-latin);
    font-style: italic;
    font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem);
    color: var(--sand-300);
    margin-bottom: 1.25rem;
}

.hero__desc {
    font-size: clamp(1rem, .95rem + .3vw, 1.18rem);
    color: rgba(255, 255, 255, .85);
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.hero__price {
    display: inline-flex;
    flex-direction: column;
    gap: .15rem;
    padding: .9rem 1.4rem;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(226, 205, 166, .35);
    background: rgba(12, 34, 28, .45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero__price span {
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
}

.hero__price strong {
    font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
    font-weight: 700;
    color: var(--sand-500);
    line-height: 1.2;
}

.hero__price small {
    font-size: .55em;
    color: var(--white);
    font-weight: 500;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ---------- Facts strip ---------- */
.facts {
    position: relative;
    z-index: 5;
    margin-top: -2.5rem;
}

.facts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.fact {
    background: var(--white);
    padding: 1.1rem .5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    box-shadow: var(--shadow);
}

.fact:first-child { border-radius: 0 var(--radius) var(--radius) 0; }
.fact:last-child { border-radius: var(--radius) 0 0 var(--radius); }
.fact + .fact { border-right: 1px solid var(--line); }

.fact__label {
    font-size: .82rem;
    color: var(--muted);
}

.fact__value {
    font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem);
    font-weight: 700;
    color: var(--forest-700);
    line-height: 1.3;
}

.fact__value small {
    font-size: .55em;
    font-weight: 500;
    color: var(--sand-600);
}

/* ---------- Sections ---------- */
.section {
    padding: 4.5rem 0;
}

.section--tint {
    background: var(--sand-100);
}

.split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.split__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.media-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(12, 34, 28, .85);
    color: var(--sand-300);
    font-size: .9rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.split__body p {
    color: var(--muted);
}

.split__body p + p {
    margin-top: .25rem;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 2rem;
}

.stat {
    padding: 1.1rem .5rem;
    text-align: center;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
    font-weight: 700;
    color: var(--forest-600);
    line-height: 1.3;
}

.stat span {
    font-size: .85rem;
    color: var(--muted);
}

/* Units */
.units {
    display: grid;
    gap: 1.5rem;
}

.unit {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.unit:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.unit__media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.unit__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.unit:hover .unit__media img {
    transform: scale(1.06);
}

.unit__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.unit__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--forest-900);
    margin-bottom: .75rem;
}

.unit__list {
    display: grid;
    gap: .5rem;
    margin-bottom: 1.5rem;
    font-size: .95rem;
    color: var(--muted);
}

.unit__list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.unit__list .icon {
    width: 18px;
    height: 18px;
    margin-top: .3rem;
    color: var(--sand-600);
}

.unit__list strong {
    color: var(--forest-700);
    font-weight: 600;
    margin-inline: .2rem;
}

.unit__price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
}

.unit__price span {
    font-size: .85rem;
    color: var(--muted);
}

.unit__price strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--forest-700);
}

.unit__price small {
    font-size: .7em;
    font-weight: 500;
    color: var(--sand-600);
}

.unit--featured {
    background: var(--forest-900);
    border-color: var(--forest-900);
}

.unit--featured .unit__title { color: var(--white); }
.unit--featured .unit__list { color: rgba(255, 255, 255, .72); }
.unit--featured .unit__list strong,
.unit--featured .unit__price strong { color: var(--sand-300); }
.unit--featured .unit__list .icon { color: var(--sand-500); }
.unit--featured .unit__price { border-top-color: rgba(255, 255, 255, .15); }
.unit--featured .unit__price span { color: rgba(255, 255, 255, .6); }

.unit__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--sand-500);
    color: var(--forest-900);
    font-size: .82rem;
    font-weight: 700;
}

/* Location features */
.features {
    display: grid;
    gap: .75rem;
    margin-top: 1.75rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 600;
    color: var(--forest-700);
    transition: border-color .3s, transform .3s var(--ease);
}

.feature:hover {
    border-color: var(--sand-500);
    transform: translateX(-4px);
}

.feature__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--sand-100);
    color: var(--sand-600);
}

/* Developer */
.developer {
    position: relative;
    background: var(--forest-900);
    color: var(--white);
    overflow: hidden;
}

.developer::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    top: -220px;
    left: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 164, 108, .18), transparent 70%);
    pointer-events: none;
}

.developer__inner {
    position: relative;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.developer__logo {
    width: 160px;
    margin-inline: auto;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.developer__logo img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 10px);
}

.developer__body p {
    color: rgba(255, 255, 255, .75);
}

.achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin-top: 2rem;
}

.achievement {
    padding: 1.1rem .75rem;
    text-align: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}

.achievement strong {
    display: block;
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
    font-weight: 700;
    color: var(--sand-500);
    line-height: 1.3;
    direction: ltr;
}

.achievement span {
    font-size: .88rem;
    color: rgba(255, 255, 255, .7);
}

/* Contact */
.contact-cards {
    display: grid;
    gap: 1rem;
    max-width: 980px;
    margin-inline: auto;
}

.contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon label"
        "icon value";
    column-gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--sand-500);
}

.contact-card__icon {
    grid-area: icon;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--forest-900);
    color: var(--sand-300);
}

.contact-card__icon .icon {
    width: 24px;
    height: 24px;
}

.contact-card--whatsapp .contact-card__icon {
    background: var(--whatsapp);
    color: var(--white);
}

.contact-card__label {
    grid-area: label;
    font-size: .88rem;
    color: var(--muted);
    align-self: end;
}

.contact-card__value {
    grid-area: value;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--forest-900);
    align-self: start;
    text-align: right;
    word-break: break-word;
}

/* ---------- Footer ---------- */
.footer {
    background: #081814;
    color: rgba(255, 255, 255, .7);
    padding-top: 3.5rem;
    font-size: .95rem;
}

.footer__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.brand--footer {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: .9rem;
}

.footer ul {
    display: grid;
    gap: .45rem;
}

.footer a {
    transition: color .25s;
}

.footer a:hover {
    color: var(--sand-500);
}

.footer__bottom {
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
}

/* ---------- Quick contact ---------- */
.quick-contact {
    position: fixed;
    left: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.quick-contact__btn {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform .3s var(--ease);
}

.quick-contact__btn:hover {
    transform: scale(1.08);
}

.quick-contact__btn .icon {
    width: 24px;
    height: 24px;
}

.quick-contact__btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.quick-contact__btn--call { background: var(--forest-700); }
.quick-contact__btn--whatsapp { background: var(--whatsapp); }

.quick-contact__btn--whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: .7; }
    80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Reveal animation ---------- */
.js .reveal {
    opacity: 0;
    translate: 0 24px;
    transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .35s;
}

.js .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

/* ==========================================================
   Breakpoints
   ========================================================== */
@media (min-width: 560px) {
    .units {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .fact {
        padding: 1.5rem 1rem;
    }

    .fact__label {
        font-size: .92rem;
    }
}

@media (min-width: 768px) {
    :root {
        --gutter: 32px;
    }

    .section {
        padding: 6rem 0;
    }

    .hero__shade {
        background:
            linear-gradient(to left, rgba(12, 34, 28, .85) 0%, rgba(12, 34, 28, .45) 45%, rgba(12, 34, 28, 0) 75%),
            linear-gradient(to top, rgba(12, 34, 28, .6) 0%, transparent 35%);
    }

    .hero__inner {
        padding-bottom: 7.5rem;
    }

    .facts {
        margin-top: -3.5rem;
    }

    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "icon"
            "label"
            "value";
        justify-items: center;
        text-align: center;
        row-gap: .35rem;
        padding: 2rem 1.25rem;
    }

    .contact-card__icon {
        margin-bottom: .6rem;
    }

    .contact-card__value {
        text-align: center;
    }

    .quick-contact {
        left: 1.5rem;
        bottom: 1.5rem;
    }

    .quick-contact__btn {
        width: 56px;
        height: 56px;
    }
}

@media (min-width: 992px) {
    :root {
        --header-h: 84px;
    }

    .split {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
    }

    .split--reverse .split__media {
        order: 2;
    }

    .units {
        grid-template-columns: repeat(4, 1fr);
    }

    .developer__inner {
        grid-template-columns: 240px 1fr;
        gap: 4rem;
    }

    .developer__logo {
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1100px) {
    .menu-toggle,
    .nav-backdrop {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        padding: 0;
        background: none;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        transform: none;
        overflow: visible;
    }

    .nav__links {
        display: flex;
        gap: 1.75rem;
    }

    .nav__links a {
        position: relative;
        padding: .4rem 0;
        font-size: .98rem;
        border: 0;
    }

    .nav__links a::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 0;
        height: 1px;
        background: var(--sand-500);
        transition: width .3s var(--ease);
    }

    .nav__links a:hover::after,
    .nav__links a.is-active::after {
        width: 100%;
    }

    .nav__actions {
        display: flex;
        gap: .6rem;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}
