/* =========================================================
   SEVYNORA — VERSION 4
   Warm architectural / editorial atmosphere
   ========================================================= */

:root {
    --cream: #eee7de;
    --paper: #e6ddd2;
    --sand: #d5c8b8;
    --stone: #9c8f80;
    --taupe: #766b5f;
    --charcoal: #292622;
    --shadow: rgba(57, 48, 40, 0.15);
    --shadow-deep: rgba(44, 37, 31, 0.23);
    --ease-luxury: cubic-bezier(.2, .75, .2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    background: var(--cream);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    color: var(--charcoal);
    font-family: "Inter", sans-serif;
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   LIVING BACKGROUND
   ========================================================= */

.scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 47% 42%, rgba(255, 250, 242, .75), transparent 30%),
        linear-gradient(135deg, #eee7de 0%, #ded3c6 47%, #d1c4b4 100%);
}

.scene__base {
    position: absolute;
    inset: -4%;
    background:
        radial-gradient(ellipse at 18% 20%, rgba(255,255,255,.34), transparent 32%),
        radial-gradient(ellipse at 82% 74%, rgba(109,94,78,.10), transparent 40%),
        linear-gradient(120deg, rgba(255,255,255,.12), transparent 42%);
    transform: translate3d(0,0,0);
}

/* Subtle plaster-like texture without an external image */
.scene__base::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        repeating-linear-gradient(92deg, rgba(91,79,67,.045) 0 1px, transparent 1px 7px),
        repeating-linear-gradient(7deg, rgba(255,255,255,.055) 0 1px, transparent 1px 11px);
    mix-blend-mode: multiply;
}

/* =========================================================
   ARCHITECTURAL FORMS
   ========================================================= */

.architecture {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    transition: none;
}

.architecture--left {
    width: 62vw;
    height: 118vh;
    left: -35vw;
    top: -10vh;
    border-radius: 0 48% 48% 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.22), transparent 55%),
        linear-gradient(115deg, #d8cbbd, #c7b8a8);
    box-shadow:
        34px 42px 70px rgba(79,67,55,.11),
        inset -18px 0 42px rgba(89,76,62,.10);
    transform: translate3d(var(--arch-x, 0px), var(--arch-y, 0px), 0);
}

.architecture--right {
    width: 48vw;
    height: 92vh;
    right: -25vw;
    bottom: -22vh;
    border-radius: 48% 0 0 0;
    background:
        linear-gradient(125deg, rgba(255,255,255,.22), transparent 50%),
        linear-gradient(145deg, #d9cfc3, #bcae9e);
    box-shadow:
        -30px -28px 75px rgba(67,57,48,.12),
        inset 20px 20px 50px rgba(255,255,255,.08);
    transform: translate3d(var(--arch-x, 0px), var(--arch-y, 0px), 0);
}

.architecture--arch {
    width: min(52vw, 760px);
    height: min(74vh, 760px);
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 48% 48% 0 0;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(255,255,255,.20), transparent 58%),
        linear-gradient(145deg, rgba(255,255,255,.06), rgba(105,91,76,.08));
    box-shadow:
        inset 18px 10px 45px rgba(255,255,255,.10),
        20px 30px 80px rgba(63,53,44,.08);
    transform:
        translate3d(calc(-50% + var(--arch-x, 0px)), calc(-50% + var(--arch-y, 0px)), 0);
}

/* =========================================================
   MOVING LIGHT
   ========================================================= */

.light {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    will-change: transform;
    transition: none;
}

.light--main {
    width: 65vw;
    height: 65vw;
    max-width: 950px;
    max-height: 950px;
    left: 14%;
    top: -20%;
    background: radial-gradient(circle, rgba(255,248,235,.58) 0%, rgba(244,229,208,.24) 33%, transparent 68%);
    animation: sunlight 55s ease-in-out infinite alternate;
}

.light--soft {
    width: 52vw;
    height: 52vw;
    right: -12%;
    bottom: -28%;
    background: radial-gradient(circle, rgba(175,155,132,.18), transparent 68%);
    filter: blur(110px);
    animation: softLight 75s ease-in-out infinite alternate;
}

@keyframes sunlight {
    0% {
        transform: translate3d(-3%, 2%, 0) scale(.98);
    }
    50% {
        transform: translate3d(8%, 7%, 0) scale(1.04);
    }
    100% {
        transform: translate3d(1%, 13%, 0) scale(1.01);
    }
}

@keyframes softLight {
    0% {
        transform: translate3d(4%, -2%, 0) scale(.96);
    }
    100% {
        transform: translate3d(-8%, -9%, 0) scale(1.08);
    }
}

/* =========================================================
   TRANSLUCENT LINEN / SILK
   ========================================================= */

.fabric {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    transition: none;
}

.fabric::before,
.fabric::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 46% 54% 58% 42%;
}

.fabric::before {
    background:
        linear-gradient(106deg,
            transparent 0%,
            rgba(255,255,255,.28) 28%,
            rgba(255,255,255,.07) 44%,
            transparent 58%,
            rgba(112,96,80,.08) 78%,
            transparent 100%);
    clip-path: polygon(12% 0, 82% 0, 100% 100%, 0 100%);
}

.fabric::after {
    background:
        repeating-linear-gradient(101deg,
            transparent 0 18px,
            rgba(255,255,255,.035) 19px,
            transparent 21px 42px);
    opacity: .8;
}

.fabric--back {
    transform: rotate(-8deg) translate3d(0,0,0);
    animation: linenBack 65s ease-in-out infinite alternate;
}

.fabric--front {
    left: 36vw;
    top: -38vh;
    opacity: .13;
    transform: rotate(9deg) translate3d(0,0,0);
    animation: linenFront 85s ease-in-out infinite alternate;
}

@keyframes linenBack {
    0% {
        transform: rotate(-8deg) translate3d(-2%, 1%, 0) scale(1);
    }
    100% {
        transform: rotate(-5.5deg) translate3d(5%, -2%, 0) scale(1.045);
    }
}

@keyframes linenFront {
    0% {
        transform: rotate(9deg) translate3d(2%, -1%, 0) scale(1);
    }
    100% {
        transform: rotate(5deg) translate3d(-5%, 4%, 0) scale(1.06);
    }
}

/* =========================================================
   GRAIN + VIGNETTE
   ========================================================= */

.grain {
    position: absolute;
    inset: -50%;
    z-index: 8;
    pointer-events: none;
    opacity: .055;
    background-image:
        repeating-radial-gradient(circle at 20% 30%, rgba(30,25,21,.8) 0 1px, transparent 1px 4px),
        repeating-radial-gradient(circle at 80% 70%, rgba(255,255,255,.7) 0 1px, transparent 1px 5px);
    background-size: 7px 7px, 11px 11px;
    mix-blend-mode: soft-light;
    animation: grainMove .55s steps(2) infinite;
}

@keyframes grainMove {
    0% { transform: translate3d(0,0,0); }
    25% { transform: translate3d(2%, -1%, 0); }
    50% { transform: translate3d(-1%, 2%, 0); }
    75% { transform: translate3d(1%, 1%, 0); }
    100% { transform: translate3d(-2%, -1%, 0); }
}

.vignette {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 42%, rgba(72,60,48,.10) 100%);
}

/* =========================================================
   DUST
   ========================================================= */

.dust {
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    overflow: hidden;
}

.dust-particle {
    position: absolute;
    display: block;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: rgba(255, 250, 240, var(--opacity));
    filter: blur(var(--blur));
    animation: dustFloat var(--duration) linear var(--delay) infinite;
}

@keyframes dustFloat {
    0% {
        transform: translate3d(0, 8vh, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    48% {
        transform: translate3d(var(--drift), -45vh, 0) rotate(180deg);
    }
    82% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate3d(calc(var(--drift) * -0.65), -105vh, 0) rotate(360deg);
        opacity: 0;
    }
}

/* =========================================================
   HERO
   ========================================================= */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding-top:40px;
}
.hero__content {
    width: min(760px, 92vw);
    text-align: center;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    animation: contentEnter 2.2s var(--ease-luxury) both;
}

@keyframes contentEnter {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.eyebrow {
    margin-bottom: 26px;
    color: rgba(63, 54, 46, .55);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .42em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 28px;
    color: #2d2925;
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(64px, 10vw, 122px);
    font-weight: 300;
    line-height: .9;
    letter-spacing: .15em;
     text-shadow: 0 1px 18px rgba(255,255,255,.18);
}

.subtitle {
    margin-bottom: 58px;
    color: rgba(70, 61, 52, .68);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .10em;
}

/* =========================================================
   EMAIL FORM
   ========================================================= */

.notify {
    width: min(490px, 100%);
    margin: 0 auto;
}

.notify__field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(75, 65, 55, .17);
    border-radius: 999px;
    background: rgba(250, 247, 241, .35);
    box-shadow:
        0 20px 55px rgba(74, 62, 50, .08),
        inset 0 1px 0 rgba(255,255,255,.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform .6s var(--ease-luxury),
        border-color .6s ease,
        background .6s ease,
        box-shadow .6s ease;
}

.notify__field:focus-within {
    transform: translateY(-3px);
    border-color: rgba(58, 49, 41, .32);
    background: rgba(250,247,241,.50);
    box-shadow:
        0 26px 65px rgba(74, 62, 50, .12),
        inset 0 1px 0 rgba(255,255,255,.6);
}

input {
    min-width: 0;
    flex: 1;
    height: 48px;
    padding: 0 22px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .07em;
}

input::placeholder {
    color: rgba(76, 67, 58, .54);
}

button {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 24px;
    border: 1px solid var(--charcoal);
    border-radius: 999px;
    background: var(--charcoal);
    color: #f8f4ed;
    cursor: pointer;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .20em;
    text-transform: uppercase;
    transition:
        transform .5s var(--ease-luxury),
        background .5s ease,
        color .5s ease,
        box-shadow .5s ease;
}

button span {
    display: inline-block;
    margin-left: 6px;
    transition: transform .5s var(--ease-luxury);
}

button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--charcoal);
    box-shadow: 0 10px 25px rgba(55,46,39,.08);
}

button:hover span {
    transform: translateX(4px);
}

button:active {
    transform: translateY(0);
}

/* =========================================================
   SUCCESS
   ========================================================= */

.success {
    display: none;
    margin-top: 24px;
    color: rgba(70,61,52,.68);
    font-size: 12px;
    letter-spacing: .08em;
    opacity: 0;
    transform: translateY(5px);
}

.success.is-visible {
    display: block;
    animation: successIn .8s var(--ease-luxury) forwards;
}

@keyframes successIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.footer a {
    color: rgba(67,58,50,.56);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .34em;
    text-decoration: none;
    transition: color .4s ease, transform .4s var(--ease-luxury);
}

.footer a:hover {
    color: var(--charcoal);
    transform: translateY(-2px);
}

.footer span {
    color: rgba(103,91,78,.45);
    font-size: 10px;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .hero {
        padding: 30px 18px 100px;
    }

    .eyebrow {
        margin-bottom: 22px;
        font-size: 8px;
        letter-spacing: .34em;
    }

    h1 {
        margin-bottom: 22px;
        font-size: clamp(47px, 14vw, 78px);
        letter-spacing: .10em;
        text-indent: .10em;
    }

    .subtitle {
        margin-bottom: 44px;
        font-size: 13px;
        letter-spacing: .07em;
    }

    .notify__field {
        gap: 5px;
        padding: 5px;
    }

    input {
        height: 45px;
        padding: 0 14px;
        font-size: 12px;
    }

    button {
        height: 45px;
        padding: 0 16px;
        font-size: 8px;
        letter-spacing: .13em;
    }

    .architecture--left {
        width: 100vw;
        left: -68vw;
    }

    .architecture--right {
        width: 90vw;
        right: -62vw;
    }

    .architecture--arch {
        width: 95vw;
        height: 65vh;
    }

    .fabric {
        width: 130vw;
        left: -15vw;
    }

    .fabric--front {
        left: 20vw;
    }

    .footer {
        bottom: 23px;
        gap: 12px;
    }

    .footer a {
        font-size: 7px;
        letter-spacing: .24em;
    }
}
