:root {
    --bg: #0d0d0c;
    --panel: #171714;
    --cream: #f3eee3;
    --muted: #aaa69d;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #d9b879;
    --pad: clamp(18px, 3vw, 48px);
}
* {
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background: var(--bg);
    overflow: hidden;
}
body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--cream);
}
a {
    color: inherit;
    text-decoration: none;
}
.viewport-shell {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    padding: var(--pad);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: clamp(14px, 2.2vh, 28px);
    isolation: isolate;
    background: radial-gradient(circle at 75% 12%, rgba(255, 255, 255, 0.05), transparent 28%),
        linear-gradient(135deg, #0c0c0b 0%, #121210 52%, #0b0b0a 100%);
}
.grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    z-index: -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='.85' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -2;
}
.glow-one {
    width: 34vw;
    height: 34vw;
    background: #bd8b41;
    right: -12vw;
    top: -12vw;
}
.glow-two {
    width: 26vw;
    height: 26vw;
    background: #634a2b;
    left: -14vw;
    bottom: -14vw;
}
.topbar,
.bottom-bar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--accent);
    flex: 0 0 auto;
}
.brand-copy {
    display: grid;
    line-height: 1.05;
}
.brand-copy strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.brand-copy small {
    margin-top: 5px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
}
.mail-link {
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d2cec4;
    white-space: nowrap;
}
.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: stretch;
}
.hero-copy {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 980px;
    padding: 1vh 0;
}
.eyebrow {
    margin: 0 0 clamp(10px, 1.8vh, 18px);
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
}
h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(72px, 10.4vw, 168px);
    line-height: 0.72;
    letter-spacing: -0.065em;
}
h1 span {
    color: var(--accent);
    font-style: italic;
}
.intro {
    margin: clamp(18px, 2.6vh, 30px) 0 0;
    max-width: 680px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(13px, 1.15vw, 18px);
    line-height: 1.55;
    color: #b8b4ab;
}
.cta-row {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    margin-top: clamp(20px, 3vh, 36px);
}
.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 13px 18px;
    border: 1px solid rgba(217, 184, 121, 0.55);
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.35s ease;
}
.primary-btn:hover {
    background: var(--accent);
    color: #111;
    border-color: var(--accent);
    transform: translateY(-2px);
}
.primary-btn span {
    font-size: 15px;
}
.mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #817f78;
}
.feature-card {
    position: relative;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    padding: clamp(20px, 2.2vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-index {
    font-family: Georgia, serif;
    font-size: clamp(34px, 4vw, 66px);
    color: rgba(243, 238, 227, 0.18);
    line-height: 1;
}
.surface-art {
    position: absolute;
    inset: 12% -10% 18% 12%;
    perspective: 900px;
    transform: rotate(-6deg);
}
.tile {
    position: absolute;
    border-radius: 22px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    overflow: hidden;
}
.tile:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 38%, rgba(0, 0, 0, 0.12));
}
.tile-a {
    width: 64%;
    height: 68%;
    right: 8%;
    top: 5%;
    background: linear-gradient(135deg, #d6d1c8, #aaa69d 44%, #f0ece5);
    transform: rotateY(-14deg) rotateZ(7deg);
}
.tile-b {
    width: 55%;
    height: 57%;
    left: 2%;
    bottom: 4%;
    background: linear-gradient(145deg, #6e6254, #bb9c6b 45%, #554b3d);
    transform: rotateY(17deg) rotateZ(-10deg);
}
.tile-c {
    width: 42%;
    height: 44%;
    left: 23%;
    top: 21%;
    background: linear-gradient(150deg, #272725, #54504a 55%, #b6aa92);
    transform: translateZ(80px) rotateZ(3deg);
}
.card-copy {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: 100%;
    padding-top: 20px;
}
.card-copy p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(26px, 2.5vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.card-copy p:last-child {
    color: var(--accent);
    font-style: italic;
}
.bottom-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
}
.ticker-wrap {
    overflow: hidden;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    min-width: 0;
}
.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: ticker 22s linear infinite;
    will-change: transform;
}
.ticker-track span {
    font-size: 9px;
    letter-spacing: 0.22em;
    white-space: nowrap;
    color: #7e7c75;
    padding: 0 12px;
}
.ticker-track i {
    font-style: normal;
    color: var(--accent);
}
.footer-meta {
    display: grid;
    gap: 4px;
    text-align: right;
    font-size: 8px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #77756f;
    white-space: nowrap;
}
@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .viewport-shell {
        padding: 18px;
        gap: 14px;
    }
    .hero-grid {
        grid-template-columns: 1fr 0.72fr;
        gap: 18px;
    }
    h1 {
        font-size: clamp(68px, 12vw, 104px);
    }
    .intro {
        font-size: 12px;
        max-width: 560px;
    }
    .feature-card {
        border-radius: 20px;
        padding: 18px;
    }
    .card-copy p {
        font-size: clamp(22px, 3.3vw, 30px);
    }
    .cta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-top: 20px;
    }
}

@media (max-width: 680px) {
    .viewport-shell {
        height: 100svh;
        min-height: 100svh;
        max-height: 100svh;
        padding: 14px;
        gap: 9px;
    }
    .mail-link {
        display: none;
    }
    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
    .brand-copy strong {
        font-size: 12px;
    }
    .brand-copy small {
        font-size: 7px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 10px;
    }
    .hero-copy {
        justify-content: center;
        padding: 0;
    }
    .eyebrow {
        font-size: 8px;
        margin-bottom: 9px;
    }
    h1 {
        font-size: clamp(58px, 18vw, 98px);
        line-height: 0.76;
    }
    .intro {
        font-size: clamp(10.5px, 3vw, 13px);
        line-height: 1.42;
        margin-top: 14px;
        max-width: 92%;
    }
    .cta-row {
        margin-top: 14px;
        gap: 9px;
    }
    .primary-btn {
        padding: 10px 14px;
        font-size: 8px;
    }
    .mini-meta {
        font-size: 7px;
        gap: 5px 10px;
    }
    .feature-card {
        min-height: 118px;
        max-height: 23svh;
        border-radius: 16px;
        padding: 12px 14px;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: end;
        gap: 12px;
    }
    .card-index {
        font-size: 26px;
        align-self: start;
    }
    .surface-art {
        inset: 4% -2% 2% 38%;
        transform: rotate(-5deg) scale(0.9);
    }
    .tile {
        border-radius: 12px;
    }
    .card-copy {
        padding: 0;
        align-self: end;
        grid-column: 1/-1;
    }
    .card-copy p {
        font-size: clamp(18px, 5vw, 24px);
        display: inline;
    }
    .card-copy p:first-child:after {
        content: " ";
    }
    .bottom-bar {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .ticker-wrap {
        padding-top: 6px;
    }
    .ticker-track span {
        font-size: 6.5px;
        padding: 0 8px;
    }
    .footer-meta {
        grid-template-columns: 1fr 1fr;
        display: grid;
        text-align: left;
        font-size: 6.5px;
        white-space: normal;
        gap: 8px;
    }
    .footer-meta span:last-child {
        text-align: right;
    }
}

@media (max-height: 650px) and (min-width: 681px) {
    .viewport-shell {
        padding: 16px 24px;
        gap: 10px;
    }
    .brand-mark {
        width: 34px;
        height: 34px;
    }
    h1 {
        font-size: clamp(60px, 9vw, 110px);
    }
    .intro {
        margin-top: 12px;
        font-size: 12px;
        line-height: 1.4;
    }
    .cta-row {
        margin-top: 14px;
    }
    .feature-card {
        padding: 18px;
    }
    .card-copy p {
        font-size: 28px;
    }
    .ticker-wrap {
        padding-top: 6px;
    }
}

@media (max-height: 560px) {
    .eyebrow {
        display: none;
    }
    .intro {
        font-size: 10.5px;
        line-height: 1.35;
        max-width: 600px;
    }
    .mini-meta {
        display: none;
    }
    .feature-card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
    .primary-btn {
        transition: none;
    }
}
