:root {
    color-scheme: dark;
    --landmark-ink: #f8f3e8;
    --landmark-muted: rgba(248, 243, 232, .68);
    --landmark-glass: rgba(16, 31, 37, .42);
    --landmark-line: rgba(255, 255, 255, .2);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow: hidden; }
body { font-family: Manrope, Inter, system-ui, sans-serif; background: #122a32; color: var(--landmark-ink); }
button, a { color: inherit; font: inherit; }
button { border: 0; }

.landmark-experience {
    position: relative;
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 38%, color-mix(in srgb, var(--landmark-accent) 38%, transparent), transparent 27%),
        linear-gradient(180deg, var(--landmark-sky) 0%, color-mix(in srgb, var(--landmark-sky) 54%, var(--landmark-horizon)) 48%, var(--landmark-horizon) 100%);
    transition: background 700ms ease;
}

.landmark-experience[data-time="night"] {
    background: radial-gradient(circle at 20% 36%, rgba(103, 112, 151, .24), transparent 26%), linear-gradient(180deg, #07131f 0%, #12293a 54%, #071a20 100%);
}

.landmark-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 16, 22, .54) 0%, rgba(4, 16, 22, .12) 38%, transparent 67%, rgba(4, 16, 22, .14));
}

.landmark-experience__scene { position: absolute; inset: 0; z-index: 1; }
.landmark-experience__scene canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.landmark-experience__scene canvas:active { cursor: grabbing; }

.landmark-experience__grain {
    position: absolute;
    inset: -30%;
    z-index: 8;
    pointer-events: none;
    opacity: .1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.landmark-experience__fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #142b32;
}
.landmark-experience__fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.landmark-experience__fallback p { position: absolute; inset: auto 24px 28px; margin: 0; font-size: 13px; }

.landmark-topbar {
    position: absolute;
    z-index: 12;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: max(22px, env(safe-area-inset-top)) clamp(20px, 4vw, 64px) 20px;
}

.landmark-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.landmark-brand svg { width: 38px; height: 38px; color: var(--landmark-accent); filter: drop-shadow(0 7px 18px rgba(0, 0, 0, .16)); }
.landmark-brand strong { display: block; font-size: 13px; letter-spacing: .14em; }
.landmark-brand small { display: block; margin-top: 3px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; color: var(--landmark-muted); font-size: 8px; letter-spacing: .17em; white-space: nowrap; }
.landmark-topbar__actions { display: flex; align-items: center; gap: 8px; }

.landmark-glass-button,
.landmark-icon-button,
.landmark-time-toggle,
.landmark-weather-toggle,
.landmark-close-button {
    border: 1px solid var(--landmark-line);
    background: var(--landmark-glass);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 10px 34px rgba(1, 13, 18, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.landmark-glass-button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}
.landmark-glass-button svg { width: 17px; height: 17px; }
.landmark-glass-button:hover { background: rgba(236, 244, 241, .16); transform: translateY(-1px); }

.landmark-preview-badge {
    padding: 8px 11px;
    border-radius: 999px;
    background: #ff642e;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landmark-hero-copy {
    position: absolute;
    z-index: 5;
    left: clamp(24px, 7vw, 112px);
    top: 50%;
    width: min(520px, 42vw);
    transform: translateY(-45%);
    pointer-events: none;
}
.landmark-eyebrow {
    margin: 0 0 17px;
    color: rgba(255, 239, 218, .76);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .23em;
    line-height: 1.6;
    text-transform: uppercase;
}
.landmark-hero-copy h1 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(48px, 6.8vw, 104px);
    font-weight: 500;
    letter-spacing: -.07em;
    line-height: .88;
    text-wrap: balance;
    text-shadow: 0 8px 50px rgba(0, 0, 0, .18);
}
.landmark-intro { max-width: 440px; margin: 24px 0 0; color: var(--landmark-muted); font-size: clamp(13px, 1.25vw, 17px); line-height: 1.75; }

.landmark-stats { display: flex; gap: 0; margin-top: 30px; }
.landmark-stats div { min-width: 112px; padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, .22); }
.landmark-stats div:first-child { padding-left: 0; border-left: 0; }
.landmark-stats strong { display: block; font-size: clamp(20px, 2vw, 30px); font-weight: 600; letter-spacing: -.04em; }
.landmark-stats span { display: block; margin-top: 4px; color: var(--landmark-muted); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.landmark-interaction-hint {
    position: absolute;
    z-index: 9;
    left: 50%;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
    letter-spacing: .08em;
    pointer-events: none;
}
.landmark-mouse { position: relative; width: 17px; height: 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 10px; }
.landmark-mouse i { position: absolute; top: 5px; left: 7px; width: 2px; height: 5px; border-radius: 2px; background: #fff; animation: landmark-scroll 1.7s ease-in-out infinite; }
@keyframes landmark-scroll { 0%, 100% { opacity: .25; transform: translateY(0); } 45% { opacity: 1; transform: translateY(4px); } }

.landmark-scene-controls { position: absolute; z-index: 12; right: clamp(20px, 4vw, 64px); bottom: max(25px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; }
.landmark-icon-button { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.landmark-icon-button:hover { background: rgba(236, 244, 241, .16); transform: rotate(-10deg); }
.landmark-icon-button svg { width: 18px; height: 18px; }
.landmark-time-toggle { display: flex; padding: 4px; border-radius: 999px; }
.landmark-time-toggle button,
.landmark-weather-toggle button { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: transparent; color: rgba(255,255,255,.6); cursor: pointer; font-size: 9px; font-weight: 700; transition: color 180ms ease, background 180ms ease; }
.landmark-time-toggle button svg { width: 16px; height: 16px; }
.landmark-time-toggle button.is-active,
.landmark-weather-toggle button.is-active { background: rgba(255,255,255,.16); color: #fff; }
.landmark-weather-toggle { display: flex; padding: 4px; border-radius: 999px; }
.landmark-weather-toggle i { min-width: 12px; font-size: 14px; font-style: normal; line-height: 1; text-align: center; }

.landmark-footer-note { position: absolute; z-index: 4; left: clamp(20px, 4vw, 64px); bottom: max(28px, env(safe-area-inset-bottom)); display: flex; gap: 18px; color: rgba(255,255,255,.42); font-size: 7px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.landmark-info-panel {
    position: absolute;
    z-index: 22;
    top: 0;
    right: 0;
    width: min(480px, 100%);
    height: 100svh;
    padding: max(78px, calc(env(safe-area-inset-top) + 58px)) clamp(26px, 4vw, 54px) max(36px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: rgba(9, 22, 28, .88);
    border-left: 1px solid rgba(255,255,255,.15);
    box-shadow: -30px 0 80px rgba(0,0,0,.28);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 420ms cubic-bezier(.22,.8,.25,1), visibility 420ms;
}
.landmark-info-panel.is-open { transform: translateX(0); visibility: visible; }
.landmark-close-button { position: absolute; top: max(22px, env(safe-area-inset-top)); right: 24px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; cursor: pointer; }
.landmark-close-button svg { width: 20px; height: 20px; }
.landmark-info-panel h2 { margin: 0 48px 18px 0; font-size: clamp(34px, 4vw, 54px); font-weight: 500; letter-spacing: -.055em; line-height: 1; text-wrap: balance; }
.landmark-info-panel__address { margin: -5px 0 22px; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.6; }
.landmark-info-panel__description { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.75; }
.landmark-info-panel__description p { margin: 0 0 13px; }
.landmark-reference-card { position: relative; margin: 26px 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.05); }
.landmark-reference-card img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.landmark-reference-card figcaption { padding: 10px 13px; color: rgba(255,255,255,.55); font-size: 9px; }

.landmark-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 26px; }
.landmark-gallery a { position: relative; min-height: 118px; overflow: hidden; border-radius: 14px; text-decoration: none; }
.landmark-gallery img { width: 100%; height: 100%; min-height: 118px; object-fit: cover; transition: transform 280ms ease; }
.landmark-gallery a:hover img { transform: scale(1.035); }
.landmark-gallery span { position: absolute; inset: auto 0 0; padding: 24px 10px 9px; background: linear-gradient(transparent, rgba(0,0,0,.78)); font-size: 9px; }
.landmark-gallery small { display: block; margin-top: 3px; color: rgba(255,255,255,.6); }

.landmark-facts { margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.landmark-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.landmark-facts dt { color: rgba(255,255,255,.48); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.landmark-facts dd { margin: 0; font-size: 12px; font-weight: 700; text-align: right; }
.landmark-info-panel__map-link { display: flex; justify-content: space-between; margin-top: 26px; padding: 14px 17px; border: 1px solid color-mix(in srgb, var(--landmark-accent) 62%, #fff); border-radius: 14px; background: color-mix(in srgb, var(--landmark-accent) 18%, transparent); color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }

.landmark-scrim { position: absolute; inset: 0; z-index: 20; background: rgba(1,8,12,.42); opacity: 0; cursor: pointer; transition: opacity 250ms ease; }
.landmark-scrim.is-open { opacity: 1; }

@media (max-width: 780px) {
    .landmark-topbar { padding-inline: 17px; }
    .landmark-brand small { max-width: 130px; }
    .landmark-glass-button span { display: none; }
    .landmark-glass-button { width: 40px; justify-content: center; padding-inline: 0; }
    .landmark-preview-badge { display: none; }
    .landmark-hero-copy { left: 22px; top: auto; bottom: 122px; width: calc(100% - 44px); transform: none; }
    .landmark-hero-copy h1 { max-width: 92%; font-size: clamp(42px, 14vw, 68px); }
    .landmark-intro { max-width: 88%; margin-top: 17px; font-size: 12px; line-height: 1.6; }
    .landmark-stats { margin-top: 20px; }
    .landmark-stats div { min-width: 0; flex: 1; padding-inline: 11px; }
    .landmark-stats strong { font-size: 20px; }
    .landmark-stats span { font-size: 7px; letter-spacing: .08em; }
    .landmark-interaction-hint, .landmark-footer-note { display: none; }
    .landmark-scene-controls { right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); }
    .landmark-time-toggle span { display: none; }
    .landmark-time-toggle button,
    .landmark-weather-toggle button { padding: 8px; }
    .landmark-weather-toggle span { display: none; }
    .landmark-weather-toggle { max-width: calc(100vw - 132px); overflow-x: auto; scrollbar-width: none; }
    .landmark-weather-toggle::-webkit-scrollbar { display: none; }
    .landmark-info-panel { width: 100%; padding-inline: 24px; border-left: 0; }
}

@media (max-height: 650px) and (orientation: landscape) {
    .landmark-hero-copy { top: 52%; width: 44vw; }
    .landmark-hero-copy h1 { font-size: 52px; }
    .landmark-intro { margin-top: 14px; font-size: 11px; }
    .landmark-stats { margin-top: 14px; }
    .landmark-interaction-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
