*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4B070;
    --gold-light: #EFE0B8;
    --gold-dim: rgba(201, 169, 110, 0.3);
    --charcoal: #0A0A0A;
    --navy: #08101E;
    --warm-dark: #111009;
    --cream: #FAF6EF;
    --text-muted: rgba(250, 246, 239, 0.55);
    --text-body: rgba(250, 246, 239, 0.82);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--charcoal);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    overflow-x: hidden;
    cursor: none;
}

@media (hover: none) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-ring {
        display: none;
    }
}

.cursor {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(201, 169, 110, 0.6);
    transition: transform 0.1s ease, width 0.3s, height 0.3s;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201, 169, 110, 0.6);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), height 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, opacity 0.4s;
}

.cursor-ring.hovering {
    width: 56px;
    height: 56px;
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.05);
}

.cursor-ring.clicking {
    width: 20px;
    height: 20px;
    border-color: var(--gold-light);
    background: rgba(201, 169, 110, 0.15);
}

.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9996;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: trailFade var(--life, 0.6s) ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) translateY(-8px);
    }
}

.cursor-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-light);
    transform: translate(-50%, -50%);
    animation: sparkleBurst var(--dur, 0.8s) ease-out forwards;
}

@keyframes sparkleBurst {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translate(var(--tx, 0px), var(--ty, 0px));
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) translate(var(--tx, 0px), var(--ty, 0px)) translateY(-20px);
    }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9000;
    opacity: 0.6;
}

/*  HEADER  */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.72) 0%,
            rgba(10, 10, 10, 0.3) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.15), transparent);
}

/*  HEADER LOGO  */
.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
    display: block;
}

/*  HEADER: desktop services pill  */
.header-services {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 9px;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.svc-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.5;
}

/*  HEADER: mobile animated service ticker  */
.mobile-services {
    display: none;
    position: relative;
    height: 20px;
    overflow: visible;
    min-width: 110px;
    flex-shrink: 0;
}

.mobile-svc {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(calc(-50% + 10px));
    font-size: 8.5px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    white-space: nowrap;
}

.mobile-svc.active::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    margin-right: 7px;
    vertical-align: middle;
    box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(201, 169, 110, 0.6);
    animation: sparkPulse 0.6s ease-out;
}

@keyframes sparkPulse {
    0% {
        transform: scale(2.5);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mobile-svc.active {
    opacity: 1;
    transform: translateY(-50%);
}

.mobile-svc.exit {
    opacity: 0;
    transform: translateY(calc(-50% - 10px));
}

/*  HERO  */
#hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(20, 16, 8, 0) 0%, rgba(8, 16, 30, 0.95) 100%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(20, 16, 8, 0) 0%, rgba(10, 8, 4, 0.95) 100%);
    animation: bgShift 20s ease-in-out infinite alternate;
}

.arch-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.12;
}

.arch-lines svg {
    width: 100%;
    height: 100%;
    animation: lineDrift 30s ease-in-out infinite alternate;
}

@keyframes lineDrift {
    0% {
        transform: scale(1.05) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(0.5deg);
    }
}

@keyframes bgShift {
    0% {
        transform: scale(1) translateX(0);
    }

    100% {
        transform: scale(1.06) translateX(-2%);
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 16, 30, 0.5) 0%, transparent 70%);
    bottom: 0;
    left: 5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(30px) scale(1.05);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 880px;
    padding: 0 24px;
}

.brand-mark {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.5em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(38px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: clamp(10px, 1.4vw, 14px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 64px;
    opacity: 0;
    animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.divider-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeIn 1.5s ease 1.8s forwards;
}

.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 2s ease 2.5s forwards;
    cursor: pointer;
}

.scroll-cue span {
    font-size: 9px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-cue .arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*  STORY SECTIONS  */
.story-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 10vw;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#section-nest {
    background: linear-gradient(135deg, #0C1828 0%, #131109 100%);
    flex-direction: row;
}

#section-nest::before {
    background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

#section-next {
    background: linear-gradient(225deg, #111111 0%, #111828 100%);
    flex-direction: row-reverse;
}

#section-next::before {
    background: radial-gradient(ellipse 50% 70% at 20% 50%, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
}

#section-craft {
    background: linear-gradient(180deg, #111111 0%, #0D0904 100%);
    flex-direction: row;
    padding: 140px 15vw;
}

.story-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 180px;
    font-weight: 300;
    color: rgba(201, 169, 110, 0.05);
    position: absolute;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

#section-nest .story-number {
    right: 8vw;
    top: 50%;
    transform: translateY(-50%);
}

#section-next .story-number {
    left: 8vw;
    top: 50%;
    transform: translateY(-50%);
}

#section-craft .story-number {
    right: 10vw;
    top: 50%;
    transform: translateY(-50%);
}

.story-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.section-tag {
    font-size: 9px;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.story-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.story-heading em {
    font-style: italic;
    color: var(--gold-light);
}

.story-body {
    font-size: 13px;
    line-height: 2;
    color: var(--text-body);
    letter-spacing: 0.05em;
    max-width: 440px;
}

.story-visual {
    position: absolute;
    right: 8vw;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 440px;
}

#section-next .story-visual {
    left: 8vw;
    right: auto;
}

/* Finance section */
.svc-finance-visual {
    right: 8vw;
    left: auto !important;
}

.visual-frame {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(201, 169, 110, 0.2);
    position: relative;
    overflow: hidden;
}

.visual-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
}

.visual-frame::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.visual-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1px;
    background: rgba(201, 169, 110, 0.08);
}

.visual-grid-cell {
    background: var(--charcoal);
    animation: cellPulse var(--dur, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.visual-grid-cell:nth-child(3n+1) {
    --dur: 5s;
}

.visual-grid-cell:nth-child(3n+2) {
    --dur: 7s;
    --delay: 1s;
}

.visual-grid-cell:nth-child(3n) {
    --dur: 6s;
    --delay: 2s;
}

.visual-grid-cell.accent {
    background: rgba(201, 169, 110, 0.06);
}

@keyframes cellPulse {

    0%,
    100% {
        background: #0D0C08;
    }

    50% {
        background: rgba(201, 169, 110, 0.04);
    }
}

.corner-mark {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--gold);
    border-style: solid;
    opacity: 0.5;
}

.corner-tl {
    top: 12px;
    left: 12px;
    border-width: 1px 0 0 1px;
}

.corner-br {
    bottom: 12px;
    right: 12px;
    border-width: 0 1px 1px 0;
}

/*  SERVICE VISUALS  */
.svc-realestate .visual-grid,
.svc-interiors .visual-grid,
.svc-finance .visual-grid {
    display: none;
}

.svc-svg {
    width: 100%;
    height: 100%;
    display: block;
    padding: 12px;
}

.svc-realestate {
    background: rgba(8, 16, 30, 0.6);
}

.svc-interiors {
    background: rgba(20, 14, 6, 0.6);
}

.svc-finance {
    background: rgba(6, 12, 8, 0.6);
}

/*  REVEAL  */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

.reveal-visual {
    opacity: 0;
    transform: translateX(30px) scale(0.96);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

#section-next .reveal-visual {
    transform: translateX(-30px) scale(0.96);
}

.reveal-visual.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/*  EMAIL SECTION  */
#section-join {
    background: linear-gradient(180deg, #070503 0%, #0A0A0A 100%);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

#section-join::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201, 169, 110, 0.07) 0%, transparent 70%);
    animation: joinGlow 5s ease-in-out infinite alternate;
}

@keyframes joinGlow {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.join-eyebrow {
    font-size: 9px;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 36px;
}

.join-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
}

.join-heading em {
    font-style: italic;
    color: var(--gold-light);
}

.join-sub {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 48px;
    text-transform: uppercase;
}

.email-form {
    display: flex;
    gap: 0;
    max-width: 540px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.email-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-right: none;
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 12px;
    letter-spacing: 0.2em;
    padding: 18px 20px;
    outline: none;
    transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.email-input::placeholder {
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 0.2em;
    font-size: 11px;
}

.email-input:focus {
    border-color: rgba(201, 169, 110, 0.6);
    background: rgba(201, 169, 110, 0.04);
}

.email-btn {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.9), rgba(201, 169, 110, 0.7));
    border: 1px solid rgba(201, 169, 110, 0.5);
    color: #0A0A0A;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    padding: 18px 24px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: background 0.4s, box-shadow 0.4s;
}

.email-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.email-btn:hover::before {
    opacity: 1;
}

.email-btn:hover {
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.3), 0 0 60px rgba(201, 169, 110, 0.1);
}

.form-note {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 20px;
}

/*  LEGACY / FOOTER  */
#section-legacy {
    min-height: 100vh;
    background: linear-gradient(180deg, #0A0A0A 0%, #060401 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 32px;
    position: relative;
    overflow: hidden;
}

#section-legacy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 40% 40% at 50% 50%, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
}

.legacy-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 169, 110, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 169, 110, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 80%);
}

.legacy-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 5.5vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    max-width: 760px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.legacy-heading em {
    font-style: italic;
    color: var(--gold-light);
}

.gold-underline {
    display: block;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.gold-underline.active {
    width: 200px;
}

.legacy-sub {
    font-size: 10px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.ornament-hr {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 60px auto;
    max-width: 400px;
    opacity: 0.5;
}

.ornament-hr::before {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.ornament-hr::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, transparent, var(--gold));
}

.ornament-diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--gold);
    border-radius: 50%;
    animation: particleFloat var(--dur) ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
    opacity: 0;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0);
    }
}

/*  FOOTER LOGO  */
.footer-logo-wrap {
    margin: 0 auto 32px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: clamp(48px, 8vw, 90px);
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    filter: brightness(0.9) sepia(0.1);
    transition: opacity 0.4s, filter 0.4s;
}

.footer-logo:hover {
    opacity: 1;
    filter: brightness(1.05) sepia(0);
}

/*  INSTAGRAM  */
.insta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 36px;
    transition: color 0.35s;
    position: relative;
    z-index: 2;
}

.insta-link:hover {
    color: var(--gold);
}

.insta-icon {
    width: 18px;
    height: 18px;
    color: inherit;
    transition: color 0.35s, filter 0.35s;
}

.insta-link:hover .insta-icon {
    filter: drop-shadow(0 0 4px rgba(201, 169, 110, 0.6));
}

/*  TOAST  */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.3);
    backdrop-filter: blur(20px);
    color: var(--cream);
    font-size: 11px;
    letter-spacing: 0.2em;
    padding: 16px 28px;
    z-index: 9999;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

[data-parallax] {
    will-change: transform;
}

/* RESPONSIVE */

/*  Tablet landscape & small desktop (max 1024px)  */
@media (max-width: 1024px) {
    .story-visual {
        width: 260px;
        height: 340px;
        right: 4vw;
    }

    #section-next .story-visual {
        left: 4vw;
    }

    .story-section {
        padding: 100px 6vw;
    }

    #section-craft {
        padding: 100px 8vw;
    }

    .story-number {
        font-size: 140px;
    }
}

/*  Tablet portrait (max 768px)  */
@media (max-width: 768px) {

    /* Header */
    .site-header {
        padding: 20px 24px;
    }

    /* Show mobile ticker, hide desktop services */
    .desktop-services {
        display: none;
    }

    .mobile-services {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .header-logo {
        height: 28px;
    }

    /* Hero */
    .brand-mark {
        font-size: 8px;
        letter-spacing: 0.35em;
        margin-bottom: 36px;
    }

    .hero-sub {
        font-size: 9px;
        letter-spacing: 0.2em;
        margin-bottom: 48px;
    }

    .divider-line {
        height: 40px;
        margin-bottom: 32px;
    }

    .scroll-cue {
        bottom: 28px;
    }

    /* stacked vertically */
    .story-section {
        flex-direction: column !important;
        align-items: flex-start;
        padding: 100px 7vw 80px;
        min-height: auto;
    }

    #section-craft {
        padding: 80px 7vw;
    }

    .story-number {
        font-size: 100px;
        opacity: 0.04;
        right: 4vw;
        left: auto;
        top: 20px;
        transform: none;
    }

    #section-next .story-number {
        left: auto;
        right: 4vw;
    }

    .story-content {
        max-width: 100%;
        width: 100%;
    }

    .story-body {
        max-width: 100%;
        font-size: 13px;
    }

    #section-craft .story-content {
        max-width: 100%;
    }

    .story-visual {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100%;
        height: 220px;
        margin-top: 40px;
        display: block;
    }

    .svc-finance-visual {
        right: auto !important;
        left: auto !important;
    }

    /* Email section */
    #section-join {
        padding: 80px 24px;
    }

    .email-form {
        flex-direction: column;
        max-width: 400px;
    }

    .email-input {
        border-right: 1px solid rgba(201, 169, 110, 0.25);
        border-bottom: none;
    }

    .email-btn {
        padding: 16px 24px;
        letter-spacing: 0.3em;
    }

    .join-sub {
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    /* Legacy */
    #section-legacy {
        padding: 80px 24px;
        min-height: auto;
    }

    .footer-logo {
        height: clamp(40px, 10vw, 64px);
    }
}

/*  Mobile large (max 480px)  */
@media (max-width: 480px) {

    /* Header */
    .site-header {
        padding: 16px 20px;
    }

    .header-logo {
        height: 24px;
    }

    /* Hero */
    #hero {
        height: 100svh;
    }

    .hero-content {
        padding: 0 20px;
    }

    .brand-mark {
        font-size: 7.5px;
        letter-spacing: 0.3em;
        margin-bottom: 28px;
    }

    .hero-headline {
        font-size: clamp(32px, 10vw, 44px);
        margin-bottom: 20px;
    }

    .hero-sub {
        font-size: 8.5px;
        letter-spacing: 0.18em;
        margin-bottom: 36px;
    }

    .divider-line {
        height: 32px;
        margin-bottom: 24px;
    }

    .scroll-cue {
        bottom: 24px;
    }

    .scroll-cue .arrow {
        height: 28px;
    }

    .scroll-cue span {
        font-size: 8px;
    }

    /* Orbs */
    .orb-1 {
        width: 280px;
        height: 280px;
    }

    .orb-2 {
        width: 220px;
        height: 220px;
    }

    /* Story sections */
    .story-section {
        padding: 90px 6vw 60px;
    }

    #section-craft {
        padding: 70px 6vw 60px;
    }

    .section-tag {
        font-size: 8px;
        letter-spacing: 0.4em;
        gap: 12px;
        margin-bottom: 20px;
    }

    .section-tag::before {
        width: 28px;
    }

    .story-heading {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 20px;
    }

    .story-body {
        font-size: 12.5px;
        line-height: 1.9;
        letter-spacing: 0.03em;
    }

    .story-number {
        font-size: 72px;
    }

    .story-visual {
        height: 180px;
        margin-top: 32px;
    }

    /* Email */
    #section-join {
        padding: 70px 20px;
        min-height: auto;
    }

    .join-eyebrow {
        font-size: 8px;
        letter-spacing: 0.4em;
        margin-bottom: 24px;
    }

    .join-heading {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 16px;
    }

    .join-sub {
        font-size: 9px;
        letter-spacing: 0.12em;
        margin-bottom: 36px;
    }

    .email-form {
        max-width: 100%;
    }

    .email-input {
        padding: 16px 18px;
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .email-input::placeholder {
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .email-btn {
        padding: 16px 20px;
        font-size: 8.5px;
        letter-spacing: 0.25em;
    }

    .form-note {
        font-size: 9px;
    }

    /* Legacy */
    #section-legacy {
        padding: 70px 20px;
        min-height: auto;
    }

    .legacy-heading {
        font-size: clamp(26px, 7vw, 40px);
        margin-bottom: 36px;
    }

    .legacy-sub {
        font-size: 9px;
        letter-spacing: 0.3em;
    }

    .ornament-hr {
        max-width: 260px;
        margin: 40px auto;
    }

    .footer-logo {
        height: clamp(36px, 11vw, 54px);
    }

    .insta-link {
        font-size: 9px;
        letter-spacing: 0.15em;
    }

    /* Toast */
    .toast {
        font-size: 10px;
        padding: 14px 20px;
        letter-spacing: 0.12em;
        white-space: normal;
        max-width: 85vw;
    }
}

/*  Mobile small (max 360px)  */
@media (max-width: 360px) {
    .hero-headline {
        font-size: 28px;
    }

    .brand-mark {
        font-size: 7px;
        letter-spacing: 0.22em;
    }

    .story-heading {
        font-size: 26px;
    }

    .story-body {
        font-size: 12px;
    }

    .join-heading {
        font-size: 26px;
    }

    .legacy-heading {
        font-size: 24px;
    }

    .email-btn {
        font-size: 7.5px;
        letter-spacing: 0.18em;
        padding: 14px 16px;
    }
}