/* ============================================================
   ANRA — The Aura of Vibe and Wisdom
   Luxury Event Management Portfolio
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --cream:       #f7f0e8;
    --cream-mid:   #e8dccf;
    --cream-dark:  #ddd0c0;
    --wine:        #6b1f3a;
    --wine-dark:   #4d1629;
    --wine-light:  #8b2b4f;
    --gold:        #c9a055;
    --gold-light:  #e4c57a;
    --dark:        #1a0d08;
    --dark-mid:    #2e1810;
    --text:        #2a1810;
    --muted:       #8a7060;

    --serif:  'Cormorant Garamond', Georgia, serif;
    --sans:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-h:   72px;
    --pad-x:   clamp(24px, 7vw, 110px);
    --pad-y:   clamp(72px, 11vw, 150px);
    --ease:    cubic-bezier(.25,.46,.45,.94);
}

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
::selection { background: var(--wine); color: var(--cream); }

/* --- Utility --- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.eyebrow.light { color: var(--gold-light); }
.eyebrow.light::before { background: var(--gold-light); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
#nav.scrolled {
    background: rgba(26, 13, 8, .96);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(201,160,85,.18);
}
.nav-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}
.nav-brand-text {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--cream);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
}
.nav-links a {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(247,240,232,.7);
    transition: color .3s;
    position: relative;
    padding-bottom: 2px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    color: var(--gold) !important;
    border: 1px solid rgba(201,160,85,.45);
    padding: 7px 20px !important;
    transition: background .3s, color .3s, border-color .3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--dark) !important;
    border-color: var(--gold) !important;
}
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--cream);
    transition: transform .3s, opacity .3s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    animation: zoomIn 9s var(--ease) forwards;
}
@keyframes zoomIn {
    to { transform: scale(1); }
}
.hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26,13,8,.25) 0%,
        rgba(26,13,8,.55) 40%,
        rgba(26,13,8,.88) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--nav-h) var(--pad-x) 0;
    max-width: min(860px, 90vw);
}
.hero-eyebrow {
    margin-bottom: 28px;
    opacity: 0;
    animation: riseUp .8s .3s var(--ease) forwards;
}
.hero-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3.8rem, 9.5vw, 8.5rem);
    line-height: .93;
    color: var(--cream);
    margin-bottom: 28px;
}
.ht-line {
    display: block;
    overflow: hidden;
}
.ht-inner {
    display: block;
    opacity: 0;
    animation: riseUp .9s var(--ease) forwards;
}
.ht-line:nth-child(1) .ht-inner { animation-delay: .5s; }
.ht-line:nth-child(2) .ht-inner { animation-delay: .65s; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
    font-size: clamp(.88rem, 1.4vw, 1.05rem);
    color: rgba(247,240,232,.65);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 40px;
    opacity: 0;
    animation: riseUp .8s .82s var(--ease) forwards;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: riseUp .8s 1s var(--ease) forwards;
}
.hero-scroll {
    position: absolute;
    right: var(--pad-x);
    bottom: 48px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s 1.5s var(--ease) forwards;
}
.hero-scroll span {
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(247,240,232,.45);
    writing-mode: vertical-lr;
}
.scroll-track {
    width: 1px;
    height: 56px;
    background: rgba(247,240,232,.15);
    overflow: hidden;
    position: relative;
}
.scroll-runner {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 45%;
    background: var(--gold);
    animation: runner 2.2s 1.6s ease infinite;
}
@keyframes runner {
    0%   { transform: translateY(-100%); opacity: 1; }
    100% { transform: translateY(320%);  opacity: 0; }
}

/* --- Shared Buttons --- */
.btn-wine {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wine);
    color: var(--cream);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 14px 34px;
    transition: background .3s, transform .25s;
}
.btn-wine:hover  { background: var(--wine-light); transform: translateY(-2px); }
.btn-wine .arrow { transition: transform .3s; }
.btn-wine:hover .arrow { transform: translateX(5px); }
.btn-outline {
    display: inline-block;
    color: var(--cream);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 13px 33px;
    border: 1px solid rgba(247,240,232,.35);
    transition: border-color .3s, transform .25s;
}
.btn-outline:hover { border-color: var(--cream); transform: translateY(-2px); }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
    padding: var(--pad-y) var(--pad-x);
    background: var(--cream);
}
.about-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 100px);
    align-items: start;
}
.about-visual { position: relative; }
.about-photo-frame {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    z-index: 2;
}
.about-photo-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .9s var(--ease);
}
.about-visual:hover .about-photo-frame img { transform: scale(1.04); }
.about-border-accent {
    position: absolute;
    top: 20px; right: -20px;
    bottom: -20px; left: 20px;
    border: 1px solid rgba(201,160,85,.55);
    z-index: 1;
    pointer-events: none;
}
.about-emblem {
    position: absolute;
    bottom: -22px;
    right: -22px;
    z-index: 3;
    width: 76px; height: 76px;
    background: var(--wine);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.about-emblem img {
    width: 100%;
    border-radius: 4px;
}
.about-text { padding-top: 40px; }
.about-text .eyebrow { margin-bottom: 22px; }
.about-name {
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 5.2rem);
    font-weight: 300;
    line-height: 1;
    color: var(--dark);
    margin-bottom: 32px;
}
.about-name em { font-style: italic; color: var(--wine); }
.about-lead {
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cream-mid);
}
.about-body {
    font-size: .92rem;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 16px;
}
.about-stats {
    display: flex;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-mid);
    gap: 0;
}
.astat { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.astat-div { width: 1px; background: var(--cream-mid); margin: 0 20px; }
.astat-num {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--wine);
    line-height: 1;
}
.astat-num sup { font-size: 1.3rem; }
.astat-label {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ============================================================
   CINEMATIC BANNER
   ============================================================ */
.cine-banner {
    position: relative;
    height: clamp(280px, 48vw, 560px);
    overflow: hidden;
}
.cine-banner img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 12s linear;
}
.cine-banner:hover img { transform: scale(1.03); }
.cine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(26,13,8,.72) 0%,
        rgba(26,13,8,.18) 65%
    );
    display: flex;
    align-items: center;
    padding: 0 var(--pad-x);
}
.cine-quote {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3.8vw, 3.2rem);
    font-style: italic;
    font-weight: 300;
    color: var(--cream);
    max-width: 560px;
    line-height: 1.4;
}
.cine-quote::before { content: '\201C'; }
.cine-quote::after  { content: '\201D'; }

/* ============================================================
   PROJECTS
   ============================================================ */
#projects {
    padding: var(--pad-y) 0;
    background: var(--cream);
}
.projects-intro {
    padding: 0 var(--pad-x);
    max-width: 1380px;
    margin: 0 auto clamp(48px, 7vw, 80px);
}
.projects-intro .eyebrow { margin-bottom: 18px; }
.section-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.02;
    color: var(--dark);
}
.section-title em { font-style: italic; color: var(--wine); }
.section-title.light { color: var(--cream); }
.section-title.light em { color: var(--gold-light); }

.projects-stack {
    display: flex;
    flex-direction: column;
}
.proj {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}
.proj.flip { direction: rtl; }
.proj.flip > * { direction: ltr; }

.proj-img {
    position: relative;
    overflow: hidden;
}
.proj-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}
.proj:hover .proj-img img { transform: scale(1.05); }
.proj-img-shade {
    position: absolute;
    inset: 0;
    background: rgba(26,13,8,.18);
    transition: opacity .4s;
}
.proj:hover .proj-img-shade { opacity: 0; }

.proj-info {
    background: var(--cream-dark);
    padding: clamp(40px, 6vw, 80px);
    display: flex;
    align-items: flex-start;
    gap: 28px;
    position: relative;
    overflow: hidden;
}
.proj-num {
    font-family: var(--serif);
    font-size: 4.5rem;
    font-weight: 300;
    color: rgba(107,31,58,.22);
    line-height: 1;
    flex-shrink: 0;
    padding-top: 4px;
    transition: color .4s;
}
.proj:hover .proj-num { color: rgba(107,31,58,.5); }
.proj-body { display: flex; flex-direction: column; gap: 8px; }
.proj-body h3 {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.15;
}
.proj-loc {
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--cream-mid);
}
.proj-desc {
    font-size: .9rem;
    line-height: 1.82;
    color: var(--muted);
    margin-top: 6px;
}

/* ============================================================
   SUCCESS STORIES (PORTFOLIO)
   ============================================================ */
#success {
    padding: var(--pad-y) var(--pad-x);
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
#success::after {
    content: 'ANRA';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: clamp(10rem, 22vw, 24rem);
    font-weight: 300;
    color: rgba(247,240,232,.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}
.success-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(48px, 8vw, 100px);
    align-items: start;
    position: relative;
    z-index: 1;
}
.success-col-left {
    position: sticky;
    top: 110px;
}
.success-col-left .eyebrow { margin-bottom: 20px; }
.success-list {
    display: flex;
    flex-direction: column;
}
.sitem {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(247,240,232,.07);
    transition: padding-left .3s var(--ease), border-bottom-color .3s;
    cursor: default;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease),
                padding-left .3s var(--ease), border-bottom-color .3s;
}
.sitem.is-vis { opacity: 1; transform: none; }
.sitem:hover {
    padding-left: 14px;
    border-bottom-color: rgba(201,160,85,.28);
}
.snum {
    font-family: var(--serif);
    font-size: .95rem;
    color: var(--gold);
    opacity: .55;
    width: 26px;
    flex-shrink: 0;
}
.sname {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.9vw, 1.45rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.4;
}
.sname em { font-style: italic; color: var(--gold-light); opacity: .85; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
    padding: var(--pad-y) var(--pad-x);
    background: var(--cream);
}
.contact-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: clamp(48px, 8vw, 100px);
    align-items: start;
}
.contact-left .eyebrow { margin-bottom: 22px; }
.contact-title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 24px;
}
.contact-title em { font-style: italic; color: var(--wine); }
.contact-blurb {
    font-size: .92rem;
    line-height: 1.82;
    color: var(--muted);
    margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.cdetail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cream-mid);
}
.cdetail-label {
    font-size: .67rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}
.cdetail-val {
    font-size: .9rem;
    color: var(--text);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.fgroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fgroup label {
    font-size: .67rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}
.fgroup input,
.fgroup textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-dark);
    padding: 10px 0;
    font-family: var(--sans);
    font-size: .92rem;
    color: var(--text);
    outline: none;
    resize: none;
    transition: border-color .3s;
    width: 100%;
}
.fgroup input::placeholder,
.fgroup textarea::placeholder { color: rgba(42,24,16,.3); }
.fgroup input:focus,
.fgroup textarea:focus { border-bottom-color: var(--wine); }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background: var(--dark-mid);
    padding: 48px var(--pad-x);
    border-top: 1px solid rgba(201,160,85,.12);
}
.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 32px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(247,240,232,.06);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo {
    width: 34px; height: 34px;
    object-fit: contain;
    border-radius: 4px;
}
.footer-brand-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: .12em;
    color: var(--cream);
}
.footer-brand-sub {
    font-size: .67rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .65;
}
.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.footer-nav a {
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(247,240,232,.45);
    transition: color .3s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-copy {
    font-size: .72rem;
    color: rgba(247,240,232,.3);
    text-align: center;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-vis {
    opacity: 1;
    transform: none;
}
@keyframes riseUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .about-wrap    { grid-template-columns: 1fr; }
    .about-visual  { max-width: 380px; }
    .about-text    { padding-top: 0; }
    .proj, .proj.flip { grid-template-columns: 1fr; direction: ltr; min-height: auto; }
    .proj-img      { aspect-ratio: 16/9; }
    .success-wrap  { grid-template-columns: 1fr; }
    .success-col-left { position: static; }
    .contact-wrap  { grid-template-columns: 1fr; }
    .frow          { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h); left: 0; right: 0; bottom: 0;
        background: rgba(26,13,8,.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px var(--pad-x);
        gap: 28px;
        border-top: 1px solid rgba(201,160,85,.15);
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1rem; letter-spacing: .1em; color: var(--cream); }
    .nav-cta { border: none !important; padding: 0 !important; }
    .nav-burger { display: flex; }
    .hero-btns { flex-direction: column; align-items: flex-start; }
    .footer-top { flex-direction: column; align-items: flex-start; }
}
