/* ============================================================
   hil.st - Art-Deco Dark-Neon Design
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #0A0A14;
    color: #C0C0D0;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Urbanist', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C0C0D0;
}

h2 {
    font-weight: 700;
    font-size: clamp(24px, 3.5vw, 48px);
    margin-bottom: 0.6em;
    line-height: 1.2;
}

h3 {
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 32px);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

p {
    margin-bottom: 1em;
}

/* --- Deco Label (Poiret One) --- */
.deco-label {
    font-family: 'Poiret One', cursive;
    font-size: clamp(18px, 2vw, 28px);
    color: #D4A020;
    display: block;
    margin-bottom: 0.5em;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ============================================================
   SECTION 1: Hero
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-color: #0A0A14;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Sunburst */
.sunburst-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sunburst {
    width: 140%;
    height: 140%;
    animation: sunburstRotate 180s linear infinite;
}

@keyframes sunburstRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sunburstPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.sunburst-ray {
    fill: #D4A020;
    opacity: 0.4;
    animation: sunburstPulse 8s ease-in-out infinite;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logotype {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5.5vw, 72px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C0C0D0;
    text-shadow: 0 0 30px #D4A020, 0 0 60px rgba(212, 160, 32, 0.3);
    display: inline-block;
}

.logo-char {
    display: inline-block;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.logo-char.visible {
    opacity: 1;
    transform: scale(1.0);
}

.logo-dot {
    color: #D4A020;
}

.hero-tagline {
    font-family: 'Poiret One', cursive;
    font-size: clamp(14px, 1.5vw, 22px);
    color: #D4A020;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 1em;
    opacity: 0;
    transition: opacity 0.8s ease-out 1.2s;
}

.hero-tagline.visible {
    opacity: 0.8;
}

/* Stepped Border */
.stepped-border {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    z-index: 2;
}

.stepped-border-svg {
    width: 100%;
    height: auto;
    display: block;
}

.step-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 1.5s ease-out;
}

.step-line.drawn {
    stroke-dashoffset: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease-out 2s;
}

.scroll-indicator.visible {
    opacity: 0.5;
}

.scroll-arrow {
    display: block;
    width: 16px;
    height: 16px;
    border-right: 1.5px solid #D4A020;
    border-bottom: 1.5px solid #D4A020;
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================================================
   SECTION 2: Content Blocks
   ============================================================ */
.content-section {
    position: relative;
    padding: 120px 24px;
    background-color: #0A0A14;
}

.content-column {
    max-width: 60ch;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Art-Deco Card */
.deco-card {
    position: relative;
    padding: 48px 40px;
    background: #14141E;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.deco-card h2 {
    color: #C0C0D0;
}

.deco-card p {
    color: #C0C0D0;
    opacity: 0.85;
}

/* Stepped Corner Ornaments (3-tier concentric L-shapes) */
.deco-corners {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.corner {
    position: absolute;
    display: block;
}

/* Top-Left Corner */
.corner-tl {
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 1px solid #D4A020;
    border-left: 1px solid #D4A020;
    box-shadow:
        inset 4px -4px 0 0 #14141E,
        inset 4px -4px 0 0 #14141E;
}

.corner-tl::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 32px;
    height: 32px;
    border-top: 1px solid rgba(212, 160, 32, 0.6);
    border-left: 1px solid rgba(212, 160, 32, 0.6);
}

.corner-tl::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-top: 1px solid rgba(212, 160, 32, 0.3);
    border-left: 1px solid rgba(212, 160, 32, 0.3);
}

/* Top-Right Corner */
.corner-tr {
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-top: 1px solid #D4A020;
    border-right: 1px solid #D4A020;
}

.corner-tr::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-top: 1px solid rgba(212, 160, 32, 0.6);
    border-right: 1px solid rgba(212, 160, 32, 0.6);
}

.corner-tr::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-top: 1px solid rgba(212, 160, 32, 0.3);
    border-right: 1px solid rgba(212, 160, 32, 0.3);
}

/* Bottom-Left Corner */
.corner-bl {
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-bottom: 1px solid #D4A020;
    border-left: 1px solid #D4A020;
}

.corner-bl::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 32px;
    height: 32px;
    border-bottom: 1px solid rgba(212, 160, 32, 0.6);
    border-left: 1px solid rgba(212, 160, 32, 0.6);
}

.corner-bl::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-bottom: 1px solid rgba(212, 160, 32, 0.3);
    border-left: 1px solid rgba(212, 160, 32, 0.3);
}

/* Bottom-Right Corner */
.corner-br {
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-bottom: 1px solid #D4A020;
    border-right: 1px solid #D4A020;
}

.corner-br::before {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-bottom: 1px solid rgba(212, 160, 32, 0.6);
    border-right: 1px solid rgba(212, 160, 32, 0.6);
}

.corner-br::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-bottom: 1px solid rgba(212, 160, 32, 0.3);
    border-right: 1px solid rgba(212, 160, 32, 0.3);
}

/* Corner brightness on hover */
.deco-card:hover .corner,
.deco-card:hover .corner::before,
.deco-card:hover .corner::after {
    border-color: #E8C040;
}

.deco-card:hover .corner::before {
    border-color: rgba(232, 192, 64, 0.7);
}

.deco-card:hover .corner::after {
    border-color: rgba(232, 192, 64, 0.4);
}

/* ============================================================
   SECTION 3: Marble Band
   ============================================================ */
.marble-section {
    position: relative;
    padding: 120px 24px;
    overflow: hidden;
    /* Marble texture via layered gradients */
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74, 74, 84, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(74, 74, 84, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(42, 42, 52, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 30%, rgba(74, 74, 84, 0.15) 0%, transparent 45%),
        linear-gradient(35deg, transparent 40%, rgba(74, 74, 84, 0.08) 40.5%, transparent 41%),
        linear-gradient(155deg, transparent 45%, rgba(74, 74, 84, 0.06) 45.5%, transparent 46%),
        linear-gradient(60deg, transparent 55%, rgba(74, 74, 84, 0.05) 55.3%, transparent 55.6%),
        linear-gradient(120deg, transparent 30%, rgba(74, 74, 84, 0.04) 30.3%, transparent 30.6%),
        #2A2A34;
    /* Marble veining accent: #4A4A54 */
    border-top: 1px solid #4A4A54;
    border-bottom: 1px solid #4A4A54;
}

.organic-blob {
    position: absolute;
    border-radius: 40% 60% 50% 40%;
    background: #2A1A3A;
    opacity: 0.12;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 400px;
    top: -100px;
    left: -150px;
    animation: blobFloat1 20s ease-in-out infinite;
}

.blob-2 {
    width: 600px;
    height: 500px;
    bottom: -200px;
    right: -200px;
    border-radius: 50% 40% 60% 45%;
    animation: blobFloat2 25s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 20px) rotate(5deg); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -30px) rotate(-3deg); }
}

.marble-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    /* Art-deco geometric overlays */
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 80px,
            rgba(212, 160, 32, 0.03) 80px,
            rgba(212, 160, 32, 0.03) 81px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(212, 160, 32, 0.03) 80px,
            rgba(212, 160, 32, 0.03) 81px
        );
}

.marble-content {
    position: relative;
    z-index: 2;
    max-width: 60ch;
    margin: 0 auto;
    text-align: center;
}

.deco-divider-top,
.deco-divider-bottom {
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A020, transparent);
    margin: 0 auto 40px;
    width: 60%;
    opacity: 0.6;
}

.deco-divider-bottom {
    margin: 40px auto 0;
}

.featured-statement {
    padding: 40px 0;
}

.statement-text {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 3vw, 36px);
    line-height: 1.5;
    color: #C0C0D0;
    letter-spacing: 0.02em;
    text-transform: none;
}

.statement-cite {
    display: block;
    margin-top: 1.5em;
    font-family: 'Poiret One', cursive;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #D4A020;
    font-style: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ============================================================
   SECTION 4: Milestones
   ============================================================ */
.milestones-section {
    position: relative;
    padding: 120px 24px;
    background-color: #0A0A14;
}

.section-heading {
    text-align: center;
    margin-bottom: 80px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 56px);
    color: #C0C0D0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.milestones-stack {
    max-width: 60ch;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.milestone-card {
    position: relative;
    padding: 48px 40px;
    background: #14141E;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.milestone-card h3 {
    color: #C0C0D0;
}

.milestone-card p {
    color: #C0C0D0;
    opacity: 0.85;
}

.milestone-year {
    font-family: 'Poiret One', cursive;
    font-size: clamp(18px, 2vw, 28px);
    color: #D4A020;
    display: block;
    margin-bottom: 0.3em;
    letter-spacing: 0.15em;
}

/* Milestone Corner Variations */
.milestone-corners {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Style A: Standard deco corners */
.milestone-style-a .corner-tl,
.milestone-style-a .corner-tr,
.milestone-style-a .corner-bl,
.milestone-style-a .corner-br {
    width: 36px;
    height: 36px;
}

/* Style B: Wider corners */
.milestone-style-b .corner-tl,
.milestone-style-b .corner-tr,
.milestone-style-b .corner-bl,
.milestone-style-b .corner-br {
    width: 48px;
    height: 28px;
}

/* Style C: Taller corners */
.milestone-style-c .corner-tl,
.milestone-style-c .corner-tr,
.milestone-style-c .corner-bl,
.milestone-style-c .corner-br {
    width: 28px;
    height: 48px;
}

/* Style D: Square corners */
.milestone-style-d .corner-tl,
.milestone-style-d .corner-tr,
.milestone-style-d .corner-bl,
.milestone-style-d .corner-br {
    width: 44px;
    height: 44px;
}

/* Re-apply corner borders for milestone cards */
.milestone-corners .corner-tl {
    top: 0; left: 0;
    border-top: 1px solid #D4A020;
    border-left: 1px solid #D4A020;
}
.milestone-corners .corner-tr {
    top: 0; right: 0;
    border-top: 1px solid #D4A020;
    border-right: 1px solid #D4A020;
}
.milestone-corners .corner-bl {
    bottom: 0; left: 0;
    border-bottom: 1px solid #D4A020;
    border-left: 1px solid #D4A020;
}
.milestone-corners .corner-br {
    bottom: 0; right: 0;
    border-bottom: 1px solid #D4A020;
    border-right: 1px solid #D4A020;
}

/* Milestone corner pseudo-elements for 2nd and 3rd tier */
.milestone-corners .corner-tl::before {
    content: '';
    position: absolute;
    top: 4px; left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-top: 1px solid rgba(212, 160, 32, 0.5);
    border-left: 1px solid rgba(212, 160, 32, 0.5);
}
.milestone-corners .corner-tl::after {
    content: '';
    position: absolute;
    top: 8px; left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-top: 1px solid rgba(212, 160, 32, 0.25);
    border-left: 1px solid rgba(212, 160, 32, 0.25);
}

.milestone-corners .corner-tr::before {
    content: '';
    position: absolute;
    top: 4px; right: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-top: 1px solid rgba(212, 160, 32, 0.5);
    border-right: 1px solid rgba(212, 160, 32, 0.5);
}
.milestone-corners .corner-tr::after {
    content: '';
    position: absolute;
    top: 8px; right: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-top: 1px solid rgba(212, 160, 32, 0.25);
    border-right: 1px solid rgba(212, 160, 32, 0.25);
}

.milestone-corners .corner-bl::before {
    content: '';
    position: absolute;
    bottom: 4px; left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-bottom: 1px solid rgba(212, 160, 32, 0.5);
    border-left: 1px solid rgba(212, 160, 32, 0.5);
}
.milestone-corners .corner-bl::after {
    content: '';
    position: absolute;
    bottom: 8px; left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-bottom: 1px solid rgba(212, 160, 32, 0.25);
    border-left: 1px solid rgba(212, 160, 32, 0.25);
}

.milestone-corners .corner-br::before {
    content: '';
    position: absolute;
    bottom: 4px; right: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-bottom: 1px solid rgba(212, 160, 32, 0.5);
    border-right: 1px solid rgba(212, 160, 32, 0.5);
}
.milestone-corners .corner-br::after {
    content: '';
    position: absolute;
    bottom: 8px; right: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-bottom: 1px solid rgba(212, 160, 32, 0.25);
    border-right: 1px solid rgba(212, 160, 32, 0.25);
}

/* Hover: brighten milestone corners */
.milestone-card:hover .milestone-corners .corner {
    border-color: #E8C040;
}
.milestone-card:hover .milestone-corners .corner::before {
    border-color: rgba(232, 192, 64, 0.7);
}
.milestone-card:hover .milestone-corners .corner::after {
    border-color: rgba(232, 192, 64, 0.4);
}

/* ============================================================
   ZOOM-FOCUS INTERACTION
   ============================================================ */
.zoom-target {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, box-shadow 0.3s ease-out;
}

.zoom-target.zoom-active {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(212, 160, 32, 0.1);
    z-index: 10;
}

.zoom-target.zoom-dimmed {
    opacity: 0.6;
}

/* Scroll-in animation */
.zoom-target {
    opacity: 0;
    transform: scale(0.97);
}

.zoom-target.scroll-visible {
    opacity: 1;
    transform: scale(1.0);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    padding: 60px 24px 40px;
    background-color: #0A0A14;
    text-align: center;
}

.footer-stepped-border {
    width: min(80%, 600px);
    margin: 0 auto 40px;
}

.footer-stepped-border .stepped-border-svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-stepped-border .step-line {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-link {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A020;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-link:hover {
    color: #E8C040;
    text-shadow: 0 0 12px rgba(232, 192, 64, 0.4);
}

.footer-brand {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C0C0D0;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(212, 160, 32, 0.2);
}

.footer-sunburst {
    width: min(60%, 400px);
    margin: 0 auto;
    opacity: 0.5;
}

.footer-sunburst-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .content-section {
        padding: 80px 16px;
    }

    .content-column {
        gap: 60px;
    }

    .deco-card,
    .milestone-card {
        padding: 32px 24px;
    }

    .milestones-section {
        padding: 80px 16px;
    }

    .marble-section {
        padding: 80px 16px;
    }

    .footer-nav {
        gap: 16px;
    }

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

@media (max-width: 480px) {
    .deco-card,
    .milestone-card {
        padding: 24px 18px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}
