/* ============================================================
   Veluno — the velvet hour
   ============================================================ */

:root {
    --bg: #0b1220;
    --bg-soft: #121a2b;
    --ink: #e8eef4;
    --moon: #d7e2ec;
    --muted: #9aa8b8;
    --copper: #e0b56a;
    --copper-deep: #8c6a32;
    --petal: #c45c6a;
    --glass: #3e6b5a;
    --line: rgba(224, 181, 106, 0.22);
    --surface: rgba(14, 20, 34, 0.62);
    --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
    --font-body: "Figtree", "Avenir Next", system-ui, sans-serif;
    --header-height: 78px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

.container {
    width: min(1140px, 90vw);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 200;
    padding: 10px 18px;
    background: var(--copper);
    color: var(--bg);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
}

.grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    opacity: 0.09;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.footer {
    position: relative;
    z-index: 1;
}

/* ---------- header ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
}

.navbar {
    width: min(1140px, 90vw);
    margin-inline: auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    border-radius: 50%;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    position: relative;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #d5dde6;
    text-shadow: 0 1px 12px rgba(11, 18, 32, 0.55);
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 1px;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--moon);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 1.5px;
    border-radius: 2px;
    background: var(--moon);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- type bits ---------- */

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 14px;
}

.section-heading {
    max-width: 640px;
    margin-bottom: 88px;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.12;
    margin-bottom: 16px;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 36px) 0 56px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 114%;
    object-fit: cover;
    will-change: transform;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 18, 32, 0.58) 0%, rgba(11, 18, 32, 0.22) 46%, rgba(11, 18, 32, 0.08) 100%),
        linear-gradient(180deg, rgba(11, 18, 32, 0.42) 0%, rgba(11, 18, 32, 0.08) 36%, rgba(11, 18, 32, 0.55) 100%);
}

.hero-stage {
    width: min(1140px, 90vw);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    gap: 48px;
}

.plaque {
    max-width: 560px;
    padding: 42px 44px 40px;
    border: 1px solid var(--line);
    border-radius: 180px 180px 40px 180px;
    background: rgba(11, 18, 32, 0.46);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px rgba(215, 226, 236, 0.04), 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(56px, 9vw, 108px);
    line-height: 0.86;
    letter-spacing: -0.03em;
    color: var(--moon);
    margin-bottom: 10px;
}

.hero-lede {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 500;
    color: var(--copper);
    margin-bottom: 18px;
}

.hero-copy {
    color: #c5d0db;
    max-width: 42ch;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.copper-btn,
.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.copper-btn {
    background: linear-gradient(180deg, #f0d08a, var(--copper) 55%, #b8893d);
    color: #1a1408;
    box-shadow: 0 10px 28px rgba(224, 181, 106, 0.28);
}

.copper-btn:hover,
.copper-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(224, 181, 106, 0.38);
}

.glass-btn {
    border: 1px solid var(--line);
    color: var(--moon);
    background: rgba(11, 18, 32, 0.35);
}

.glass-btn:hover,
.glass-btn:focus-visible {
    border-color: rgba(224, 181, 106, 0.55);
    transform: translateY(-2px);
}

.moon-dial {
    justify-self: end;
    text-align: center;
}

.dial-svg {
    width: 196px;
    height: 196px;
    display: block;
    margin-inline: auto;
    filter: drop-shadow(0 0 18px rgba(224, 181, 106, 0.18));
}

.dial-ring {
    fill: none;
    stroke: rgba(224, 181, 106, 0.55);
    stroke-width: 1.2;
}

.dial-ring.thin {
    stroke: rgba(215, 226, 236, 0.22);
    stroke-dasharray: 3 7;
}

.dial-ticks line {
    stroke: var(--copper);
    stroke-width: 1.4;
}

.dial-crescent {
    fill: rgba(215, 226, 236, 0.86);
}

.dial-core {
    fill: var(--copper);
}

.dial-caption {
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- hours ---------- */

.hours {
    padding: 140px 0 40px;
}

.hour-row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
    margin-bottom: clamp(96px, 12vw, 168px);
}

.hour-row-flip .glass-plate {
    order: 2;
}

.hour-row-flip .hour-copy {
    order: 1;
}

.glass-plate {
    position: relative;
    margin: 0;
}

.glass-plate::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
    border: 1px solid rgba(224, 181, 106, 0.28);
    pointer-events: none;
}

.glass-plate img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
    border: 1.5px solid rgba(224, 181, 106, 0.62);
    box-shadow:
        0 0 0 8px rgba(224, 181, 106, 0.06),
        0 28px 70px rgba(0, 0, 0, 0.45);
    transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.hour-row:hover .glass-plate img {
    transform: scale(1.03);
}

.plate-label {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    padding: 6px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(11, 18, 32, 0.86);
    color: var(--copper);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hour-latin {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--petal);
    font-size: 18px;
    margin-bottom: 8px;
}

.hour-copy h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.18;
    margin-bottom: 14px;
}

.hour-copy > p:not(.hour-latin) {
    color: var(--muted);
    max-width: 44ch;
    margin-bottom: 22px;
}

.specimen-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.specimen-list li {
    color: var(--muted);
    font-size: 15px;
    padding-left: 14px;
    border-left: 1px solid rgba(224, 181, 106, 0.35);
}

.specimen-list span {
    display: block;
    color: var(--moon);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---------- about ---------- */

.about {
    padding: 40px 0 130px;
}

.about-layout {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
    border: 1px solid var(--line);
    border-radius: 200px 200px 28px 200px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.about-layout h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 42px);
    margin-bottom: 18px;
}

.about-lede {
    color: #c5d0db;
    font-size: 18px;
}

/* ---------- contact ---------- */

.contact {
    position: relative;
    padding: 130px 0 150px;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.contact-glow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.contact-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 18, 32, 0.28) 46%, var(--bg) 100%);
}

.contact-layout .section-heading {
    margin-bottom: 36px;
}

.contact-plate {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 560px;
    padding: 24px 28px;
    border-radius: 999px;
    border: 1px solid rgba(224, 181, 106, 0.4);
    background: rgba(11, 18, 32, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-plate:hover,
.contact-plate:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(224, 181, 106, 0.75);
    box-shadow: 0 18px 50px rgba(224, 181, 106, 0.16);
}

.contact-orb {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 32%, #f4e4b8, var(--copper) 46%, #6d4e1d);
    box-shadow: 0 0 22px rgba(224, 181, 106, 0.5);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-mail {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(16px, 2.2vw, 22px);
    overflow-wrap: anywhere;
}

.contact-arrow {
    margin-left: auto;
    color: var(--copper);
    font-size: 22px;
    transition: transform 0.3s ease;
}

.contact-plate:hover .contact-arrow {
    transform: translateX(6px);
}

/* ---------- footer ---------- */

.footer {
    border-top: 1px solid var(--line);
    padding: 52px 0;
    background: rgba(8, 12, 22, 0.92);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.footer-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    width: fit-content;
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: var(--copper);
}

.footer-contact {
    color: var(--muted);
    font-size: 14px;
}

.footer-contact a {
    border-bottom: 1px solid rgba(224, 181, 106, 0.45);
}

.footer-contact p + p {
    margin-top: 10px;
}

/* ---------- reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- legal ---------- */

.legal-main {
    padding: calc(var(--header-height) + 64px) 0 110px;
}

.legal-body {
    max-width: 760px;
}

.legal-body h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-body h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    margin: 40px 0 12px;
}

.legal-body h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    margin: 24px 0 8px;
    color: var(--copper);
}

.legal-body p,
.legal-body li {
    color: #c5d0db;
    font-size: 16px;
}

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

.legal-body ul,
.legal-body ol {
    padding-left: 22px;
    margin-top: 10px;
}

.legal-body li + li {
    margin-top: 8px;
}

.legal-body a {
    color: var(--copper);
    text-decoration: none;
    border-bottom: 1px solid rgba(224, 181, 106, 0.45);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
    .hero-stage {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .moon-dial {
        justify-self: start;
    }

    .dial-svg {
        width: 132px;
        height: 132px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 18px 6vw 26px;
        background: rgba(11, 18, 32, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    .nav-menu.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 17px;
    }

    .hero {
        align-items: flex-end;
        min-height: 100svh;
        overflow: hidden;
    }

    .moon-dial {
        display: none;
    }

    .plaque {
        padding: 24px 22px 22px;
        border-radius: 36px 36px 20px 80px;
        max-width: none;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-copy {
        margin-bottom: 20px;
    }

    .hour-row,
    .hour-row-flip {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hour-row-flip .glass-plate,
    .hour-row-flip .hour-copy {
        order: 0;
    }

    .hours {
        padding-top: 96px;
    }

    .section-heading {
        margin-bottom: 52px;
    }

    .about-layout {
        border-radius: 28px;
    }

    .contact-plate {
        border-radius: 24px;
        align-items: flex-start;
    }

    .contact-arrow {
        display: none;
    }

    .contact-orb {
        width: 34px;
        height: 34px;
    }

    .contact-mail {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

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

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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