/* ALINA CHOPRA — EDITORIAL HEADER */

:root {
    --ac-paper: #f6efe6;
    --ac-ink: #260d18;
    --ac-copper: #c79b73;
}

.ac-header,
.ac-header * {
    box-sizing: border-box;
}

.ac-header {
    --ac-header-bg: #260d18;
    --ac-header-text: #f6efe6;
    --ac-header-accent: #c79b73;

    position: relative;
    z-index: 1000;
    width: 100%;
    color: var(--ac-header-text);
    background: var(--ac-header-bg);
    font-family: Arial, Helvetica, sans-serif;
}

.ac-header--sticky {
    position: sticky;
    top: 0;
}

.ac-header a {
    color: inherit;
    text-decoration: none;
}

.ac-header button {
    font: inherit;
    cursor: pointer;
}

.ac-header__inner {
    max-width: 1600px;
    min-height: 94px;
    padding: 0 clamp(20px, 4vw, 76px);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

/* BRAND */

.ac-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.ac-brand__mark {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ac-header-accent);
    color: var(--ac-header-accent);
    font-family: Georgia, serif;
    font-size: 20px;
    letter-spacing: -3px;
    padding-right: 3px;
    transform: rotate(-5deg);
    transition: transform .45s ease, background .45s ease;
}

.ac-brand:hover .ac-brand__mark {
    transform: rotate(0deg);
    background: rgba(199,155,115,.12);
}

.ac-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ac-brand__identity {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ac-brand__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2vw, 32px);
    letter-spacing: -.045em;
    line-height: 1;
    white-space: nowrap;
}

.ac-brand__tagline {
    font-size: 9px;
    letter-spacing: .34em;
    color: var(--ac-header-accent);
}

/* DESKTOP NAVIGATION */

.ac-desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 35px);
}

.ac-desktop-nav a {
    position: relative;
    padding: 12px 0;
    font-size: 12px;
    letter-spacing: .06em;
    white-space: nowrap;
    opacity: .82;
    transition: opacity .25s ease;
}

.ac-desktop-nav a:hover,
.ac-desktop-nav a:focus-visible {
    opacity: 1;
}

.ac-desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 1px;
    background: var(--ac-header-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s ease;
}

.ac-desktop-nav a:hover::after,
.ac-desktop-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* HEADER ACTIONS */

.ac-header__actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.ac-location {
    position: relative;
}

.ac-location__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    white-space: nowrap;
}

.ac-location__symbol {
    color: var(--ac-header-accent);
    font-size: 17px;
}

.ac-location__chevron {
    color: var(--ac-header-accent);
    font-size: 18px;
    transition: transform .3s ease;
}

.ac-location__trigger[aria-expanded="true"] .ac-location__chevron {
    transform: rotate(180deg);
}

.ac-location__panel {
    position: absolute;
    top: calc(100% + 24px);
    right: 0;
    width: 310px;
    padding: 26px;
    background: #f6efe6;
    color: #260d18;
    border: 1px solid rgba(38,13,24,.12);
    box-shadow: 0 25px 65px rgba(0,0,0,.18);
}

.ac-location__panel[hidden],
.ac-mobile-panel[hidden] {
    display: none !important;
}

.ac-location__eyebrow {
    margin-bottom: 17px;
    color: #996c50;
    font-size: 10px;
    letter-spacing: .2em;
}

.ac-location__panel a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(38,13,24,.12);
    font-family: Georgia, serif;
    font-size: 18px;
    transition: padding .25s ease, color .25s ease;
}

.ac-location__panel a:hover {
    padding-left: 6px;
    color: #a76c46;
}

.ac-header__contact {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 14px 17px;
    background: var(--ac-header-accent);
    color: #260d18 !important;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .3s ease, transform .3s ease;
}

.ac-header__contact:hover {
    background: #e2b994;
    transform: translateY(-2px);
}

/* MOBILE MENU */

.ac-menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
    color: inherit;
}

.ac-menu-toggle span {
    width: 19px;
    height: 1px;
    background: currentColor;
}

.ac-mobile-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    padding: 25px;
    background: var(--ac-header-bg);
    color: var(--ac-header-text);
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
}

.ac-mobile-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ac-header-accent);
    font-size: 10px;
    letter-spacing: .2em;
    margin-bottom: 25px;
}

.ac-mobile-panel__close {
    border: 0;
    background: transparent;
    color: inherit;
}

.ac-mobile-panel nav {
    display: flex;
    flex-direction: column;
}

.ac-mobile-panel nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-family: Georgia, serif;
    font-size: clamp(28px, 7vw, 43px);
    letter-spacing: -.04em;
}

.ac-mobile-panel nav a span {
    color: var(--ac-header-accent);
    font-family: Arial, sans-serif;
    font-size: 20px;
}

.ac-mobile-panel__locations {
    margin-top: 28px;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--ac-header-accent);
}

.ac-mobile-panel__locations > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.ac-mobile-panel__locations a {
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.22);
    color: var(--ac-header-text);
    font-size: 12px;
    letter-spacing: 0;
}

.ac-mobile-panel__contact {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    padding: 17px;
    background: var(--ac-header-accent);
    color: #260d18 !important;
    font-weight: 700;
}

/* ENTRANCE ANIMATION */

@keyframes ac-header-enter {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ac-header--animated .ac-header__inner {
    animation: ac-header-enter .65s ease both;
}

/* RESPONSIVE */

@media (max-width: 1250px) {
    .ac-desktop-nav {
        gap: 15px;
    }

    .ac-header__inner {
        gap: 18px;
    }

    .ac-location {
        display: none;
    }
}

@media (max-width: 950px) {
    .ac-header__inner {
        min-height: 74px;
        padding: 0 20px;
    }

    .ac-desktop-nav {
        display: none;
    }

    .ac-menu-toggle {
        display: flex;
    }

    .ac-brand__mark {
        width: 43px;
        height: 43px;
    }
}

@media (max-width: 480px) {
    .ac-brand__name {
        font-size: 23px;
    }

    .ac-brand__tagline {
        font-size: 8px;
    }

    .ac-header__contact {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ac-header *,
    .ac-header *::before,
    .ac-header *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ==================================================
   ALINA CHOPRA — EMERALD NEBULA GLASS EDITION
   ================================================== */

/* Floating glass location dropdown */

.ac-location__panel {
    top: calc(100% + 20px);
    right: -30px;
    width: 440px;
    max-width: calc(100vw - 32px);
    padding: 30px;
    overflow: hidden;

    color: #f4fffc;
    background: linear-gradient(
        135deg,
        rgba(12, 55, 69, .94),
        rgba(44, 35, 91, .94)
    );

    border: 1px solid rgba(120, 240, 205, .30);
    border-radius: 22px;

    box-shadow:
        0 25px 75px rgba(0, 10, 25, .40),
        inset 0 1px 0 rgba(255, 255, 255, .13);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.ac-location__panel::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    top: -130px;
    right: -80px;
    border-radius: 50%;
    background: rgba(120, 240, 205, .12);
    filter: blur(45px);
    pointer-events: none;
}

.ac-location__eyebrow {
    position: relative;
    margin-bottom: 22px;
    color: #78f0cd;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .20em;
}

/* Location tiles */

.ac-location__panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ac-location__eyebrow {
    grid-column: 1 / -1;
}

.ac-location__panel a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 78px;
    padding: 16px;

    color: #f4fffc;
    background: rgba(255, 255, 255, .055);

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.25;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.ac-location__panel a span {
    display: none;
}

.ac-location__panel a:hover,
.ac-location__panel a:focus-visible {
    padding-left: 16px;
    color: #ffffff;
    background: rgba(120, 240, 205, .13);
    border-color: rgba(120, 240, 205, .65);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(120, 240, 205, .10);
}

/* Dropdown entrance */

@keyframes ac-glass-reveal {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ac-header--animated .ac-location__panel:not([hidden]) {
    animation: ac-glass-reveal .32s cubic-bezier(.2,.8,.2,1) both;
}

/* Signature glass CTA */

.ac-header__contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 46px;
    padding: 13px 23px;

    color: #f4fffc !important;
    background: linear-gradient(
        115deg,
        #155d6b 0%,
        #453477 100%
    );

    border: 1px solid rgba(120, 240, 205, .75);
    border-radius: 999px;

    box-shadow:
        0 4px 22px rgba(69, 52, 119, .20),
        inset 0 1px 0 rgba(255,255,255,.15);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* Remove the old arrow */

.ac-header__contact > span:last-child {
    display: none;
}

/* Animated light sweep */

.ac-header__contact::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.28),
        transparent
    );

    transform: rotate(25deg);
    transition: left .65s ease;
}

.ac-header__contact:hover::before {
    left: 140%;
}

.ac-header__contact:hover {
    background: linear-gradient(115deg, #155d6b, #453477);
    border-color: #78f0cd;
    transform: translateY(-2px);

    box-shadow:
        0 9px 32px rgba(120, 240, 205, .20),
        0 0 0 3px rgba(120, 240, 205, .07);
}

/* Accessibility */

.ac-header__contact:focus-visible,
.ac-location__trigger:focus-visible,
.ac-location__panel a:focus-visible {
    outline: 2px solid #78f0cd;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .ac-header__contact,
    .ac-header__contact::before,
    .ac-location__panel a {
        transition: none !important;
    }

    .ac-header--animated .ac-location__panel:not([hidden]) {
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .ac-location__panel {
        width: calc(100vw - 32px);
        padding: 18px;
        gap: 9px;
    }

    .ac-location__panel a {
        min-height: 65px;
        padding: 12px;
        font-size: 15px;
    }
}
