/* ═══════════════════════════════════════════════════════════
   EAS PRIMARY HEADER
   East Africa Safari Guides
   Child theme owned — zero dependencies
   v1.2 — real images, consolidated, final
═══════════════════════════════════════════════════════════ */

:root {
    --eas-gold:        #B8780A;
    --eas-gold-bright: #D4922E;
    --eas-dark:      #1A1A1A;
    --eas-cream:     #FAFAF5;
    --eas-text:      #2A2A2A;
    --eas-muted:     #888888;
    --eas-border:    #E8E4DE;
    --eas-font-nav:  'Jost', sans-serif;
    --eas-font-head: 'Cormorant Garamond', serif;
    --eas-ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
.eas-header *,
.eas-header *::before,
.eas-header *::after {
    box-sizing: border-box;
}

.eas-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ─── BASE ─── */
.eas-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* ─── BODY OFFSET ─── */
body:has(.eas-header) {
    padding-top: 118px; /* utility 38px + nav 80px */
}

body:has(.eas-header.is-scrolled) {
    padding-top: 80px; /* utility collapsed — nav only */
}

/* Full-bleed hero pages — hero extends under transparent nav */
body.eas-home-page:has(.eas-header.is-transparent),
body.eas-accommodation-single:has(.eas-header.is-transparent),
body.eas-dest-archive-page:has(.eas-header.is-transparent),
body.eas-journals-archive-page:has(.eas-header.is-transparent),
body.home:has(.eas-header.is-transparent),
body.single:has(.eas-header.is-transparent) {
    padding-top: 0 !important;
}

@media (max-width: 480px) {
    body {
        padding-top: 80px;
    }
}

/* ═══════════════════════════════════════════════
   UTILITY BAR
═══════════════════════════════════════════════ */

.eas-utility-bar,
.eas-top-bar {
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, height 0.35s var(--eas-ease);
    overflow: hidden;
    max-height: 48px;
}

body.scrolled .eas-utility-bar,
body.scrolled .eas-top-bar {
    opacity: 0;
    max-height: 0;
    height: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}

.eas-utility-bar {
    background: var(--eas-dark);
    height: 38px;
    overflow: hidden;
}

.eas-utility-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eas-utility-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--eas-font-nav);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--eas-gold);
}

.eas-utility-left a {
    color: var(--eas-gold-bright);
    text-decoration: none;
    transition: opacity 0.2s;
}

.eas-utility-left a:hover {
    opacity: 0.75;
}

.eas-utility-left span:not(.eas-divider) {
    color: #888;
}

.eas-divider {
    color: #333;
}

.eas-utility-right {
    font-family: var(--eas-font-nav);
    font-size: 10px;
    letter-spacing: 3px;
    color: #777;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   MAIN NAV BAR
═══════════════════════════════════════════════ */

.eas-nav-bar {
    height: 80px;
    background: var(--eas-cream);
    border-bottom: 1px solid var(--eas-border);
    transition: background 0.35s var(--eas-ease),
                border-color 0.35s var(--eas-ease),
                box-shadow 0.35s var(--eas-ease);
}

.eas-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

/* ─── LOGO ─── */
.eas-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eas-logo a {
    display: block;
    line-height: 0;
}

.eas-logo img {
    height: 58px;
    width: auto;
    max-width: min(260px, 48vw);
    transition: filter 0.35s var(--eas-ease);
}

/* ─── NAV LISTS ─── */
.eas-nav-left ul,
.eas-nav-right ul {
    display: flex;
    align-items: center;
}

.eas-nav-right ul {
    justify-content: flex-end;
}

/* ─── NAV LINKS ─── */
.eas-nav-link {
    font-family: var(--eas-font-nav);
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--eas-text);
    text-decoration: none;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    white-space: nowrap;
    transition: color 0.25s;
}

.eas-nav-link:hover {
    color: var(--eas-gold);
}

.eas-nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--eas-gold);
    transform: scaleX(0);
    transition: transform 0.3s var(--eas-ease);
}

.eas-nav-link:hover::after {
    transform: scaleX(1);
}

.eas-chevron {
    flex-shrink: 0;
    transition: transform 0.3s var(--eas-ease);
}

.eas-nav-item:hover .eas-chevron,
.eas-nav-item:focus-within .eas-chevron {
    transform: rotate(180deg);
}

/* ─── NAV CTA — site-wide ghost default (gold on hover only) ─── */
.eas-header .eas-nav-bar .eas-cta-btn {
    font-family: var(--eas-font-nav);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--eas-text);
    text-decoration: none;
    padding: 11px 22px;
    border: 1px solid var(--eas-text);
    margin-left: 8px;
    display: inline-block;
    white-space: nowrap;
    background: var(--eas-cream);
    transition: all 0.25s var(--eas-ease);
}

.eas-header .eas-nav-bar .eas-cta-btn:hover {
    background: var(--eas-gold);
    border-color: var(--eas-gold);
    color: #fff;
}

/* Solid nav pages (destinations, offers, etc.) — match nav bar surface */
.eas-header:not(.is-transparent) .eas-nav-bar .eas-cta-btn {
    background: var(--eas-cream);
    color: var(--eas-text);
    border-color: var(--eas-text);
}

/* ═══════════════════════════════════════════════
   CART INDICATOR — persistent, site-wide
   (Closeout Addendum v1.3, item 1; promoted to live
   2026-08-10 as part of Part A, Experience launch).
   Two DOM instances (desktop inside .eas-nav-right,
   mobile a sibling of the hamburger) share this one
   set of rules — same pattern already used for the
   mega-panel nav/mobile drawer duplication elsewhere
   in this file.
═══════════════════════════════════════════════ */
.eas-cart-indicator {
    position: relative;
    display: flex;
    align-items: center;
}

.eas-cart-indicator--mobile {
    display: none;
}

/* Wrapper around [cart-mobile][hamburger] — display:contents at desktop
   means it takes no part in .eas-nav-inner's grid layout at all, so both
   children's own default display:none values are what actually govern
   desktop visibility (identical to how .eas-mobile-toggle worked alone,
   pre-cart). Becomes a real flex box only <=1024px, see below. */
.eas-nav-mobile-actions {
    display: contents;
}

.eas-cart-indicator__toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin-left: 2px;
    background: none;
    border: none;
    color: var(--eas-text);
    cursor: pointer;
    transition: color 0.25s;
}

.eas-cart-indicator__toggle:hover {
    color: var(--eas-gold);
}

.eas-cart-indicator__toggle:focus {
    outline: none;
}

.eas-cart-indicator__toggle:focus-visible {
    outline: 2px solid var(--eas-gold);
    outline-offset: 2px;
}

.eas-cart-indicator__count {
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--eas-font-nav);
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: var(--eas-gold);
    border-radius: 50%;
}

.eas-cart-indicator.has-items .eas-cart-indicator__count {
    display: flex;
}

.eas-cart-indicator__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 300px;
    max-width: calc(100vw - 32px);
    max-height: 360px;
    overflow-y: auto;
    background: var(--eas-cream);
    border: 1px solid var(--eas-border);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--eas-ease), transform 0.2s var(--eas-ease), visibility 0.2s;
    z-index: 20;
}

.eas-cart-indicator.is-open .eas-cart-indicator__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eas-cart-indicator .eas-cart-panel__label,
.eas-cart-indicator .eas-cart-panel__empty {
    margin: 0 0 10px;
}

.eas-header.is-transparent .eas-cart-indicator__toggle {
    color: #fff;
}

.eas-header.is-transparent .eas-cart-indicator__toggle:hover {
    color: var(--eas-gold);
}

.eas-header.is-scrolled .eas-cart-indicator__toggle {
    color: var(--eas-text);
}

/* ═══════════════════════════════════════════════
   TRANSPARENT STATE — homepage hero overlay
═══════════════════════════════════════════════ */

/* Utility bar stays visible in transparent state (matches homepage) */
.eas-header.is-transparent .eas-utility-bar {
    height: 38px;
    min-height: 38px;
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
    background: #1A1A1A;
}

.eas-header.is-transparent .eas-utility-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1200px) {
    .eas-header.is-transparent .eas-utility-inner {
        padding: 0 40px;
    }
}

.eas-header.is-transparent .eas-utility-left {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #C8BFA8;
}

.eas-header.is-transparent .eas-utility-left a {
    color: #E8C06A !important;
    font-weight: 400;
}

.eas-header.is-transparent .eas-utility-left span:not(.eas-divider) {
    color: #C8BFA8 !important;
}

.eas-header.is-transparent .eas-utility-right {
    color: #C8BFA8;
    font-size: 11px;
    letter-spacing: 2.5px;
    opacity: 1;
}

.eas-header.is-transparent .eas-divider {
    color: #888888 !important;
}

.eas-header.is-transparent .eas-nav-bar {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

.eas-header.is-transparent .eas-nav-link {
    color: #fff !important;
}

.eas-header.is-transparent .eas-nav-link:hover {
    color: var(--eas-gold) !important;
}

.eas-header.is-transparent .eas-nav-link::after {
    background: rgba(255, 255, 255, 0.6);
}

.eas-header.is-transparent .eas-logo img {
    filter: brightness(0) invert(1);
}

.eas-header.is-transparent .eas-cta-btn {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
}

.eas-header.is-transparent .eas-cta-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #fff !important;
    color: #fff !important;
}

.eas-header.is-transparent .eas-chevron {
    color: #fff;
}

.eas-header.is-transparent .eas-mobile-toggle span {
    background: #fff;
}

/* ─── SCROLLED STATE ─── */
.eas-header.is-scrolled .eas-utility-bar {
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.eas-header.is-scrolled .eas-nav-bar {
    background: var(--eas-cream) !important;
    border-bottom: 1px solid var(--eas-border) !important;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.eas-header.is-scrolled .eas-nav-link {
    color: var(--eas-text) !important;
}

.eas-header.is-scrolled .eas-nav-link:hover {
    color: var(--eas-gold) !important;
}

.eas-header.is-scrolled .eas-nav-link::after {
    background: var(--eas-gold);
}

.eas-header.is-scrolled .eas-logo img {
    filter: none !important;
}

.eas-header.is-scrolled .eas-chevron {
    color: var(--eas-text);
}

.eas-header.is-scrolled .eas-mobile-toggle span {
    background: var(--eas-text);
}

.eas-header.is-scrolled .eas-cta-btn {
    background: var(--eas-cream) !important;
    color: var(--eas-text) !important;
    border-color: var(--eas-text) !important;
}

/* ═══════════════════════════════════════════════
   PANEL-OPEN STATE (brief §1)
   Header is solid parchment while any panel is open, so panel + header read as
   one surface over the transparent hero. Chained with .is-transparent to beat
   the transparent-state !important rules by specificity.
═══════════════════════════════════════════════ */
.eas-header.panel-open .eas-nav-bar,
.eas-header.is-transparent.panel-open .eas-nav-bar {
    background: var(--eas-cream) !important;
    border-bottom: 1px solid var(--eas-border) !important;
    box-shadow: 0 1px 0 rgba(88, 71, 56, 0.14) !important;
}

.eas-header.panel-open .eas-nav-link,
.eas-header.is-transparent.panel-open .eas-nav-link {
    color: var(--eas-text) !important;
}

.eas-header.panel-open .eas-nav-link:hover,
.eas-header.is-transparent.panel-open .eas-nav-link:hover {
    color: var(--eas-gold) !important;
}

.eas-header.panel-open .eas-nav-link::after {
    background: var(--eas-gold);
}

.eas-header.panel-open .eas-logo img,
.eas-header.is-transparent.panel-open .eas-logo img {
    filter: none !important;
}

.eas-header.panel-open .eas-chevron,
.eas-header.is-transparent.panel-open .eas-chevron {
    color: var(--eas-text);
}

.eas-header.panel-open .eas-cta-btn,
.eas-header.is-transparent.panel-open .eas-cta-btn {
    background: var(--eas-cream) !important;
    color: var(--eas-text) !important;
    border-color: var(--eas-text) !important;
}

/* ═══════════════════════════════════════════════
   NAV PANELS — full-width light parchment (PANEL LAW, brief §1)
   Safaris by Traveler · The Migration · Destinations · Group Departures
   Panels are self-contained (own colours/fonts) — independent of header state.
═══════════════════════════════════════════════ */

/* Nav items span the full nav-bar height so hover reaches the panel (no dead gap) */
.eas-header .eas-nav-left ul,
.eas-header .eas-nav-right ul {
    height: 100%;
}

/* Nav items are NOT the positioning context — full-width panels resolve against
   .eas-header (position:fixed) so they span the viewport, flush under the header. */
.eas-nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

/* ─── LIVE DOT (The Migration) — 10px amber, 9px pulse ring, 2.4s (brief §3) ─── */
.eas-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C9963C;
    display: inline-block;
    flex-shrink: 0;
    animation: eas-live-pulse 2.4s ease-in-out infinite;
}

@keyframes eas-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 150, 60, 0.55); }
    50%      { box-shadow: 0 0 0 9px rgba(201, 150, 60, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .eas-live-dot { animation: none; }
}

/* ─── BASE PANEL — full-width light parchment, flush under header (PANEL LAW §1) ─── */
.eas-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #F5F0E8;
    border-top: 1px solid rgba(88, 71, 56, 0.16);
    border-bottom: 2px solid var(--eas-gold);
    box-shadow: 0 30px 50px -28px rgba(28, 26, 20, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.22s var(--eas-ease), transform 0.22s var(--eas-ease);
    z-index: 9998;
}

.eas-nav-item:hover > .eas-panel,
.eas-nav-item:focus-within > .eas-panel,
.eas-nav-item.is-open > .eas-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .eas-panel { transition: none; }
}

.eas-panel-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 52px 60px 56px;
}

/* ─── SAFARIS BY TRAVELER — editorial list + one 4:5 crossfade image ─── */
.eas-trav-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 6vw;
    align-items: start;
}

.eas-trav-q {
    font-family: var(--eas-font-nav);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--eas-gold);
    font-weight: 500;
    margin-bottom: 16px;
}

/* Row sizing fixed 2026-07-15 — built for 4 rows, Friends made a 5th and pushed
   the panel taller than the visible viewport on common laptop screens (row
   bottom edge landed past the fold, confirmed via screenshot at 1366x660
   content height). Font-size + padding trimmed so all 5 rows fit without
   scrolling on realistic viewports, while staying legible and on the same
   parchment/gold editorial language as the Destinations panel. */
.eas-trav-row {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(88, 71, 56, 0.14);
    text-decoration: none;
    transition: border-color 0.2s;
}

.eas-trav-row:hover {
    border-bottom-color: var(--eas-gold);
}

.eas-trav-name {
    font-family: var(--eas-font-head);
    font-weight: 300;
    font-size: 26px;
    line-height: 1.1;
    color: #1C1A14;
    min-width: 155px;
    transition: color 0.2s;
}

.eas-trav-row:hover .eas-trav-name {
    color: var(--eas-gold);
}

.eas-trav-tag {
    font-family: var(--eas-font-nav);
    font-weight: 300;
    font-size: 12.5px;
    line-height: 1.45;
    color: #584738;
}

.eas-trav-img {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
    max-height: 430px;
    overflow: hidden;
    background: #CEC1A8;
    justify-self: end;
}

.eas-trav-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.eas-trav-face.is-on {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .eas-trav-face { transition: none; }
}

.eas-trav-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 14px 18px;
    background: linear-gradient(transparent, rgba(28, 26, 20, 0.55));
    color: #F5F0E8;
    font-family: var(--eas-font-nav);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ─── THE MIGRATION — light, two columns ─── */
.eas-mig-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.eas-mig-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--eas-font-nav);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--eas-gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.eas-mig-line {
    font-family: var(--eas-font-head);
    font-weight: 300;
    font-size: 34px;
    line-height: 1.25;
    color: #1C1A14;
    margin-bottom: 20px;
}

.eas-mig-cta {
    display: inline-block;
    font-family: var(--eas-font-nav);
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--eas-gold);
    border-bottom: 1px solid rgba(184, 120, 10, 0.4);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
}

.eas-mig-cta:hover {
    color: #1C1A14;
    border-bottom-color: #1C1A14;
}

.eas-mig-months {
    display: flex;
    border-top: 1px solid rgba(88, 71, 56, 0.16);
    border-bottom: 1px solid rgba(88, 71, 56, 0.16);
}

.eas-mig-months span {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-family: var(--eas-font-nav);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: #B59E7D;
}

.eas-mig-months span.is-now {
    background: var(--eas-gold);
    color: #F5F0E8;
    font-weight: 500;
}

.eas-mig-note {
    font-family: var(--eas-font-nav);
    font-weight: 300;
    font-size: 12.5px;
    line-height: 1.55;
    color: #584738;
    margin: 14px 0 0;
}

/* ─── DESTINATIONS — serif circuits ─── */
.eas-dest-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 30px;
}

.eas-dest-head .t {
    font-family: var(--eas-font-nav);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--eas-gold);
    font-weight: 500;
}

.eas-dest-head .soon {
    font-family: var(--eas-font-nav);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #B59E7D;
}

.eas-dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.eas-circuit-col h5 {
    font-family: var(--eas-font-head);
    font-weight: 300;
    font-size: 31px;
    line-height: 1.05;
    margin: 0 0 4px;
}

.eas-circuit-col h5 a {
    color: #1C1A14;
    text-decoration: none;
    transition: color 0.15s;
}

.eas-circuit-col h5 a:hover {
    color: var(--eas-gold);
}

.eas-circuit-desc {
    font-family: var(--eas-font-nav);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--eas-gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.eas-circuit-parks {
    display: block;
    font-family: var(--eas-font-nav);
    font-weight: 300;
    font-size: 14px;
    color: #584738;
    padding: 6px 0;
    line-height: 1.7;
}

/* Each destination resolves to its own eas_destination permalink (fixed
   2026-07-15) — only linked when a real post exists. */
.eas-circuit-park-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.eas-circuit-park-link:hover {
    color: var(--eas-gold);
}

/* No eas_destination post yet — shown for context, not a fake link. */
.eas-circuit-park-text {
    color: #584738;
    opacity: 0.5;
}

.eas-circuit-park-sep {
    color: #584738;
    opacity: 0.45;
}

/* ═══════════════════════════════════════════════
   MOBILE TOGGLE
═══════════════════════════════════════════════ */

.eas-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    justify-self: end;
}

.eas-mobile-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--eas-text);
    transition: all 0.3s var(--eas-ease);
}

.eas-mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.eas-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.eas-mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Burger lines: ink when the drawer is open (over parchment), even on hero pages (§7) */
.eas-mobile-toggle.is-open span {
    background: var(--eas-text) !important;
}

/* ═══════════════════════════════════════════════
   MOBILE DRAWER — light parchment, accordion (brief §7)
═══════════════════════════════════════════════ */

.eas-mobile-overlay {
    position: fixed;
    inset: 0;
    background: #F5F0E8;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--eas-ease),
                visibility 0.4s var(--eas-ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.eas-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.eas-mobile-inner {
    padding: 70px 30px 90px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.eas-mobile-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #584738;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.2s;
    z-index: 100000;
}

.eas-mobile-close:hover {
    color: var(--eas-gold);
}

.eas-mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Accordion group */
.eas-m-group {
    border-bottom: 1px solid rgba(88, 71, 56, 0.16);
}

.eas-m-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 2px;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--eas-font-nav);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    color: #2C3424;
}

.eas-m-plus {
    font-family: var(--eas-font-head);
    font-size: 26px;
    font-weight: 300;
    color: var(--eas-gold);
    line-height: 1;
    width: 20px;
    text-align: center;
    transition: transform 0.25s var(--eas-ease);
}

.eas-m-group.is-open .eas-m-toggle {
    color: var(--eas-gold);
}

.eas-m-group.is-open .eas-m-plus {
    transform: rotate(45deg);
}

.eas-m-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--eas-ease);
}

.eas-m-group.is-open .eas-m-sub {
    max-height: 900px;
}

.eas-m-sub-inner {
    padding: 0 2px 24px;
}

.eas-m-item {
    display: block;
    padding: 11px 0;
    min-height: 44px;
    text-decoration: none;
}

.eas-m-item .t {
    display: block;
    font-family: var(--eas-font-head);
    font-weight: 300;
    font-size: 23px;
    color: #1C1A14;
    line-height: 1.1;
}

.eas-m-item .d {
    display: block;
    font-family: var(--eas-font-nav);
    font-size: 12.5px;
    color: #584738;
    margin-top: 3px;
    line-height: 1.45;
}

.eas-m-mig-live {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--eas-font-nav);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--eas-gold);
    font-weight: 500;
    padding-bottom: 12px;
}

.eas-m-soon {
    display: block;
    font-family: var(--eas-font-nav);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #B59E7D;
    padding: 8px 0 0;
}

.eas-m-plain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 2px;
    min-height: 44px;
    font-family: var(--eas-font-nav);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2C3424;
    text-decoration: none;
    border-bottom: 1px solid rgba(88, 71, 56, 0.16);
    transition: color 0.2s;
}

.eas-m-plain:hover {
    color: var(--eas-gold);
}

.eas-header .eas-m-begin {
    display: block;
    text-align: center;
    margin: 30px 2px 0;
    padding: 16px;
    background: var(--eas-gold);
    color: #F5F0E8;
    font-family: var(--eas-font-nav);
    font-size: 12.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s;
}

.eas-header .eas-m-begin:hover {
    background: #9A6408;
}

.eas-mobile-footer {
    padding-top: 28px;
    border-top: 1px solid rgba(88, 71, 56, 0.16);
    margin-top: 24px;
}

.eas-mobile-footer p {
    font-family: var(--eas-font-nav);
    font-size: 13px;
    color: #584738;
    letter-spacing: 0.5px;
    margin: 5px 0;
}

.eas-mobile-footer a {
    color: #584738;
    text-decoration: none;
    transition: color 0.2s;
}

.eas-mobile-footer a:hover {
    color: var(--eas-gold);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .eas-utility-inner,
    .eas-nav-inner {
        padding: 0 40px;
    }

    .eas-nav-link {
        padding: 10px 10px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .eas-cta-btn {
        padding: 10px 16px;
        font-size: 9.5px;
    }
}

@media (max-width: 1024px) {
    .eas-nav-left,
    .eas-nav-right {
        display: none;
    }

    .eas-mobile-toggle {
        display: flex;
    }

    .eas-nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 20px;
    }

    .eas-logo {
        flex: 1 1 auto;
        justify-content: flex-start;
        min-width: 0;
        padding-left: 4px;
    }

    .eas-logo a {
        display: block;
        padding-left: 8px;
    }

    .eas-logo img {
        height: 54px;
        width: auto;
        max-width: min(220px, 56vw);
        object-fit: contain;
        object-position: left center;
    }

    .eas-mobile-toggle {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .eas-utility-inner {
        padding: 0 16px;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        row-gap: 2px;
        column-gap: 10px;
        height: auto;
        min-height: 38px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .eas-utility-left {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 10px;
        letter-spacing: 1px;
        gap: 6px;
    }

    .eas-utility-right {
        flex: 0 0 100%;
        font-size: 8px;
        letter-spacing: 2px;
        line-height: 1.35;
        text-align: center;
    }

    .eas-utility-bar {
        height: auto;
    }
}

/* Cart mobile actions — placed after the shared 1024px block above so its
   .eas-mobile-toggle override (wrapper now owns the right-pin auto margin,
   not the button itself) wins the cascade at equal specificity. Base
   (desktop) state is display:contents (declared alongside the rest of the
   cart-indicator base rules above) — this block only handles <=1024px.
   Promoted to live 2026-08-10 as part of Part A, Experience launch. */
@media (max-width: 1024px) {
    .eas-nav-mobile-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .eas-nav-mobile-actions .eas-mobile-toggle {
        margin-left: 0;
    }

    .eas-cart-indicator--mobile {
        display: flex;
        /* Pre-promotion QA fix — was position:relative (inherited from the
           base .eas-cart-indicator rule), making this 36px-tall wrapper the
           panel's containing block. top:calc(100% + 12px) then measured from
           THIS box, not the real header (80px-118px depending on scroll /
           utility-bar state) — the panel always started ~10px inside the
           header, overlapping the logo/tagline text underneath it (same
           cream-on-cream color, so it read as a garbled overlap rather than
           two obviously separate panels). Removing position here makes
           .eas-header (position:fixed) the panel's containing block instead,
           so top:100% always clears the REAL header height in every state,
           with no hardcoded pixel guess. */
        position: static;
    }

    .eas-cart-indicator--mobile .eas-cart-indicator__panel {
        top: calc(100% + 10px);
        right: 16px;
        left: auto;
        width: min(300px, calc(100vw - 24px));
        z-index: 10000;
        box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.45);
    }
}

@media (max-width: 480px) {
    .eas-utility-bar {
        display: none;
    }

    .eas-mobile-inner {
        padding: 70px 22px 80px;
    }

    .eas-m-item .t {
        font-size: 21px;
    }
}
