/* =========================================================================
   Pa.Se — Modern Home Layer
   Animations & modern visual treatment for the home page (EN + EL).
   Loaded after custom-pase.css. Everything degrades gracefully without JS
   and respects prefers-reduced-motion.
   ========================================================================= */

:root {
    --hm-ease: cubic-bezier(.22, 1, .36, 1);
    --hm-ease-back: cubic-bezier(.34, 1.56, .64, 1);
    --hm-gold-grad: linear-gradient(100deg, #b8862a 0%, #e9c46a 30%, #fff1c9 50%, #e9c46a 70%, #b8862a 100%);
}

/* ---------- Scroll progress ---------- */
.hm-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--pase-gold), #f3d58a, var(--pase-gold));
    z-index: 100000;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(201, 155, 46, .6);
}

/* ---------- Header polish ---------- */
.sticky-menu {
    background: rgba(255, 255, 255, .82) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    animation: hmSlideDown .5s var(--hm-ease);
}
@keyframes hmSlideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.main-menu ul li > a { position: relative; }
.main-menu > nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 50%; right: 50%;
    bottom: 22px;
    height: 2px;
    background: var(--pase-gold);
    transition: left .35s var(--hm-ease), right .35s var(--hm-ease);
}
.main-menu > nav > ul > li:hover > a::after,
.main-menu > nav > ul > li.active > a::after { left: 14px; right: 14px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hm-hero {
    padding: 110px 0 130px !important;
    min-height: min(92vh, 900px);
    display: flex;
    align-items: center;
    isolation: isolate;
    background: radial-gradient(120% 90% at 10% 0%, #0a2a63 0%, #00143A 45%, #000a1c 100%) !important;
}
.hm-hero::before { display: none; }
.hm-hero > .container { position: relative; z-index: 3; width: 100%; }

.hm-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hm-hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }

.hm-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    will-change: transform;
}
.hm-orb--gold  { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(201,155,46,.55), transparent 65%); animation: hmFloatA 18s ease-in-out infinite; }
.hm-orb--blue  { width: 620px; height: 620px; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(46,110,230,.45), transparent 65%); animation: hmFloatB 22s ease-in-out infinite; }
.hm-orb--teal  { width: 360px; height: 360px; left: 42%; top: 30%; background: radial-gradient(circle, rgba(120,90,220,.28), transparent 65%); animation: hmFloatC 26s ease-in-out infinite; }

@keyframes hmFloatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-80px, 60px) scale(1.12); } }
@keyframes hmFloatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(90px, -70px) scale(.92); } }
@keyframes hmFloatC { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-60px, 40px); } 66% { transform: translate(50px, -30px); } }

.hm-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    animation: hmGridPan 30s linear infinite;
}
@keyframes hmGridPan { to { background-position: 64px 64px, 64px 64px; } }

.hm-hero-spot {
    position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(201,155,46,.10), transparent 45%);
    transition: background .2s;
}

/* Badge tag with live dot */
.hm-hero .hero-badge-tag {
    display: inline-flex; align-items: center; gap: 10px;
    backdrop-filter: blur(8px);
    background: rgba(201,155,46,.10);
}
.hm-hero .hero-badge-tag::before {
    content: "";
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--pase-gold);
    box-shadow: 0 0 0 0 rgba(201,155,46,.7);
    animation: hmPing 2s infinite;
}
@keyframes hmPing { 0% { box-shadow: 0 0 0 0 rgba(201,155,46,.7); } 80%,100% { box-shadow: 0 0 0 10px rgba(201,155,46,0); } }

.hm-hero .hero-title-main {
    font-size: clamp(38px, 4.8vw, 68px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.5px;
}

/* Shimmering gold accent */
.hm-shimmer,
.hm-hero .hero-title-main .gold-accent {
    background: var(--hm-gold-grad);
    background-size: 250% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: hmShimmer 6s linear infinite;
    padding-right: .08em; /* italic overhang */
}
@keyframes hmShimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* Word-by-word reveal */
.hm-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hm-word > span { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform 1s var(--hm-ease), opacity 1s var(--hm-ease); }
.hm-ready .hm-word > span { transform: none; opacity: 1; }
/* keep gradient on word spans inside gold accent */
.hm-hero .gold-accent .hm-word > span {
    background: inherit; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    background-size: 250% 100%; animation: hmShimmer 6s linear infinite;
    background-image: var(--hm-gold-grad);
}
.hm-hero .gold-accent.hm-split { background: none; animation: none; -webkit-text-fill-color: initial; }

/* Hero intro sequence */
.hm-js .hm-intro { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--hm-ease), transform .9s var(--hm-ease); }
.hm-js .hm-ready .hm-intro { opacity: 1; transform: none; }

/* Buttons */
.hm-hero .hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hm-hero .hero-cta-group .btn { margin: 0 !important; }
.btn-hero-primary, .btn-luxury-primary, .second-header-btn .btn {
    position: relative; overflow: hidden; isolation: isolate;
    transition: transform .35s var(--hm-ease), box-shadow .35s var(--hm-ease) !important;
}
.btn-hero-primary::after, .btn-luxury-primary::after, .second-header-btn .btn::after {
    content: "";
    position: absolute; top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg);
    z-index: -1;
    animation: hmSheen 4.5s var(--hm-ease) infinite;
}
@keyframes hmSheen { 0%, 60% { left: -120%; } 100% { left: 160%; } }
.btn-hero-primary:hover { box-shadow: 0 14px 38px rgba(201,155,46,.45) !important; }
.btn-hero-secondary { backdrop-filter: blur(6px); }

/* Stats */
.hm-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 10px 44px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.1) !important;
}
.hm-hero-stats > div { margin: 0 !important; display: flex; flex-direction: column; }
.hm-hero-stats > div > span:first-child { font-size: 34px !important; font-family: 'EB Garamond', Georgia, serif; line-height: 1; letter-spacing: -.5px; }
.hm-hero-stats > div > span:first-child i { display: none; }
.hm-hero-stats > div > span:last-child { margin: 6px 0 0 !important; text-transform: uppercase; letter-spacing: 1.2px; font-size: 11.5px !important; }

/* Visual stack */
.hm-visual { position: relative; perspective: 1200px; }
.hm-visual .hero-visual-card {
    transform-style: preserve-3d;
    transition: transform .5s var(--hm-ease);
    border-radius: 24px;
    border: 1px solid rgba(201,155,46,.45);
    box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 10px rgba(255,255,255,.03);
}
.hm-visual .hero-visual-card img { height: 520px; transform: scale(1.12); animation: hmKenBurns 16s ease-in-out infinite alternate; }
@keyframes hmKenBurns { from { transform: scale(1.12) translate(0,0); } to { transform: scale(1.22) translate(-2%, -2%); } }
.hm-visual .hero-visual-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,10,28,.75));
    pointer-events: none;
}
.hm-visual .hero-float-badge { z-index: 2; border-radius: 16px; transform: translateZ(40px); background: rgba(0,14,38,.6); backdrop-filter: blur(14px) saturate(160%); }
.hm-visual .hero-float-badge .badge-icon { animation: hmPulseIcon 3s ease-in-out infinite; }
@keyframes hmPulseIcon { 0%,100% { box-shadow: 0 0 0 0 rgba(201,155,46,.5); } 50% { box-shadow: 0 0 0 12px rgba(201,155,46,0); } }

/* Rotating rings behind the card */
.hm-ring {
    position: absolute; z-index: -1;
    left: 50%; top: 50%;
    width: 128%; aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(201,155,46,.28);
    transform: translate(-50%,-50%);
    animation: hmSpin 60s linear infinite;
}
.hm-ring--2 { width: 105%; border: 1px solid rgba(255,255,255,.06); animation-duration: 40s; animation-direction: reverse; }
.hm-ring::before {
    content: ""; position: absolute; top: -5px; left: 50%;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--pase-gold); box-shadow: 0 0 18px 4px rgba(201,155,46,.7);
}
@keyframes hmSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Floating chips */
.hm-chip {
    position: absolute; z-index: 4;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    color: var(--pase-navy);
    box-shadow: 0 18px 40px rgba(0,0,0,.3);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px; font-weight: 700; line-height: 1.2;
    white-space: nowrap;
    animation: hmBob 6s ease-in-out infinite;
}
.hm-chip small { display: block; font-weight: 600; font-size: 11px; color: var(--pase-text-muted); }
.hm-chip .hm-chip-ico {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--pase-gold), #e6c15f);
    color: #fff; font-size: 16px;
}
.hm-chip--a { top: 34px; left: -48px; }
.hm-chip--b { top: 42%; right: -38px; animation-delay: -2s; }
.hm-chip--c { top: -22px; right: 36px; animation-delay: -4s; padding: 9px 16px; gap: 8px; font-size: 12px; letter-spacing: 1.5px; background: var(--pase-navy); color: #fff; border: 1px solid var(--pase-gold-border); }
.hm-chip--c i { color: var(--pase-gold); font-size: 15px; }
@keyframes hmBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Scroll cue */
.hm-scroll-cue {
    position: absolute; left: 50%; bottom: 28px; z-index: 3;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 14px;
}
.hm-scroll-cue::before {
    content: ""; position: absolute; left: 50%; top: 8px;
    width: 4px; height: 8px; margin-left: -2px;
    background: var(--pase-gold); border-radius: 2px;
    animation: hmScrollDot 1.8s var(--hm-ease) infinite;
}
@keyframes hmScrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================================
   MARQUEE STRIP
   ========================================================================= */
.hm-marquee {
    position: relative;
    background: var(--pase-navy-deep);
    border-top: 1px solid rgba(201,155,46,.25);
    border-bottom: 1px solid rgba(201,155,46,.25);
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hm-marquee-track { display: flex; width: max-content; animation: hmMarquee 40s linear infinite; }
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
.hm-marquee-track span {
    display: inline-flex; align-items: center; gap: 22px;
    padding-right: 22px;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 26px; font-style: italic;
    color: rgba(255,255,255,.82);
    white-space: nowrap;
}
.hm-marquee-track span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--pase-gold); }
@keyframes hmMarquee { to { transform: translateX(-50%); } }

/* =========================================================================
   SCROLL REVEAL (applied by JS, only when html.hm-js)
   ========================================================================= */
.hm-js [data-hm-reveal] {
    opacity: 0;
    transition: opacity 1s var(--hm-ease), transform 1s var(--hm-ease), filter 1s var(--hm-ease);
    transition-delay: var(--hm-delay, 0s);
    will-change: opacity, transform;
}
.hm-js [data-hm-reveal="up"]    { transform: translateY(48px); }
.hm-js [data-hm-reveal="left"]  { transform: translateX(-60px); }
.hm-js [data-hm-reveal="right"] { transform: translateX(60px); }
.hm-js [data-hm-reveal="zoom"]  { transform: scale(.9); filter: blur(6px); }
.hm-js [data-hm-reveal="clip"]  { clip-path: inset(0 0 100% 0 round 16px); transform: scale(1.04); transition-property: clip-path, transform, opacity; }
.hm-js [data-hm-reveal].hm-in   { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0 round 16px); }

/* Section titles: animated underline */
.section-title > span {
    position: relative;
    display: inline-block;
}
.hm-js .section-title > span::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pase-gold), transparent);
    transform: scaleX(0);
    transition: transform 1.1s var(--hm-ease) .3s;
}
.hm-js .section-title.hm-in > span::after,
.hm-js .hm-in .section-title > span::after { transform: scaleX(1); }

/* Gold italic accents in h2 get shimmer */
.section-title h2 span[style*="italic"],
.cta-area h2 span { background: var(--hm-gold-grad); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hmShimmer 7s linear infinite; padding-right: .08em; }

/* =========================================================================
   CARDS — tilt, glare, spotlight
   ========================================================================= */
.offer-editorial-card,
.service-photo-card,
.destination-card,
.single-testimonial-pase,
.value-card {
    position: relative;
    transition: opacity 1s var(--hm-ease) var(--hm-delay, 0s), transform .7s var(--hm-ease) var(--hm-delay, 0s), box-shadow .5s var(--hm-ease), border-color .5s !important;
    transform-style: preserve-3d;
}
.hm-tilt { will-change: transform; }
.hm-tilt:hover { box-shadow: 0 30px 60px rgba(0,20,58,.18) !important; }

/* Cursor-following spotlight border */
.hm-spot::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(201,155,46,.9), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
    z-index: 5;
}
.hm-spot::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--sx, 50%) var(--sy, 50%), rgba(201,155,46,.08), transparent 55%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
    z-index: 1;
}
.hm-spot:hover::before, .hm-spot:hover::after { opacity: 1; }

/* Image zoom polish */
.offer-editorial-card .card-photo img,
.service-photo-card .card-thumb img,
.destination-card .dest-img img { transition: transform 1.2s var(--hm-ease) !important; }
.offer-editorial-card:hover .card-photo img,
.service-photo-card:hover .card-thumb img,
.destination-card:hover .dest-img img { transform: scale(1.09) !important; }

/* Service card: badge slide + arrow nudge */
.service-photo-card .card-link i { transition: transform .35s var(--hm-ease); }
.service-photo-card:hover .card-link i,
.destination-card:hover .card-link i { transform: translateX(6px); }

/* Offer list items cascade */
.hm-js .offer-editorial-card .card-content ul li { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--hm-ease), transform .6s var(--hm-ease); }
.hm-js .offer-editorial-card.hm-in .card-content ul li { opacity: 1; transform: none; }
.offer-editorial-card .card-content ul li i { transition: transform .4s var(--hm-ease-back); }
.offer-editorial-card .card-content ul li:hover i { transform: scale(1.3) rotate(-10deg); }

/* Value cards: icon morph */
.value-card > .mb-20 > span { transition: transform .6s var(--hm-ease-back), background .4s, color .4s, box-shadow .4s; }
.value-card:hover > .mb-20 > span {
    transform: translateY(-6px) rotate(-8deg) scale(1.08);
    background: var(--pase-gold) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(201,155,46,.4);
}

/* Counters */
.single-counter { transition: transform .5s var(--hm-ease), box-shadow .5s var(--hm-ease) !important; }
.single-counter:hover { transform: translateY(-6px); }
.single-counter i { transition: transform .6s var(--hm-ease-back); }
.single-counter:hover i { transform: scale(1.2) rotate(-8deg); }

/* Portrait: animated frame */
.hm-portrait { position: relative; display: inline-block; }
.hm-portrait::before {
    content: "";
    position: absolute; inset: -16px 16px 16px -16px;
    border: 2px solid var(--pase-gold);
    border-radius: 16px;
    z-index: -1;
    transition: inset .8s var(--hm-ease);
}
.hm-portrait:hover::before { inset: -22px 22px 22px -22px; }
.hm-portrait::after {
    content: "";
    position: absolute; right: -30px; top: -30px;
    width: 120px; height: 120px;
    background-image: radial-gradient(var(--pase-gold) 1.6px, transparent 1.6px);
    background-size: 14px 14px;
    opacity: .5;
    z-index: -1;
    animation: hmBob 7s ease-in-out infinite;
}

/* Quote card */
.pase-quote-card { position: relative; overflow: hidden; }
.pase-quote-card::after {
    content: "";
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pase-gold), transparent);
    transform: scaleY(0); transform-origin: top;
    transition: transform 1.2s var(--hm-ease) .4s;
}
.hm-in .pase-quote-card::after, .pase-quote-card.hm-in::after { transform: scaleY(1); }

/* Testimonials: glass on warm bg */
.single-testimonial-pase { overflow: hidden; }
.single-testimonial-pase .fa-quote-left { transition: transform .6s var(--hm-ease-back); display: inline-block; }
.single-testimonial-pase:hover .fa-quote-left { transform: scale(1.25) rotate(-8deg); }
.single-testimonial-pase .author-img { transition: transform .5s var(--hm-ease-back); }
.single-testimonial-pase:hover .author-img { transform: scale(1.1); }

/* Section decorative blobs on light sections */
.hm-deco { position: relative; overflow: hidden; }
.hm-deco::before {
    content: "";
    position: absolute;
    width: 460px; height: 460px;
    right: -160px; top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,155,46,.14), transparent 65%);
    animation: hmFloatA 20s ease-in-out infinite;
    pointer-events: none;
}
.hm-deco > .container { position: relative; z-index: 1; }

/* =========================================================================
   CTA
   ========================================================================= */
.hm-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 110px 0 !important;
    background: linear-gradient(120deg, #000a1c, #00204f, #000E26, #0b2b62) !important;
    background-size: 300% 300% !important;
    animation: hmGradient 16s ease infinite;
}
@keyframes hmGradient { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hm-cta::before, .hm-cta::after {
    content: "";
    position: absolute; z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
}
.hm-cta::before { width: 420px; height: 420px; left: -100px; top: -200px; background: rgba(201,155,46,.28); animation: hmFloatB 18s ease-in-out infinite; }
.hm-cta::after  { width: 380px; height: 380px; right: -80px; bottom: -220px; background: rgba(46,110,230,.3); animation: hmFloatA 20s ease-in-out infinite; }
.hm-cta h2 { font-size: clamp(32px, 4vw, 52px) !important; }
.hm-cta .btn-luxury-primary { padding: 18px 34px !important; font-size: 16px !important; }

/* Magnetic buttons */
.hm-magnetic { transition: transform .35s var(--hm-ease) !important; }

/* Back-to-top from scrollUp plugin */
#scrollUp { transition: transform .4s var(--hm-ease-back) !important; }
#scrollUp:hover { transform: translateY(-5px) scale(1.08); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1199px) {
    .hm-chip--a { left: -16px; }
    .hm-chip--b { right: -10px; }
}
@media (max-width: 991px) {
    .hm-hero { padding: 70px 0 110px !important; min-height: 0; }
    .hm-visual { max-width: 520px; margin: 30px auto 0; }
    .hm-visual .hero-visual-card img { height: 380px; }
    .hm-chip--a { left: 0; }
    .hm-chip--b { right: 0; }
    .hm-orb--gold { width: 360px; height: 360px; }
}
@media (max-width: 575px) {
    .hm-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
    .hm-hero-stats > div > span:first-child { font-size: 26px !important; }
    .hm-hero-stats > div > span:last-child { font-size: 10px !important; letter-spacing: .6px; }
    .hm-chip { font-size: 12px; padding: 8px 12px 8px 8px; }
    .hm-chip .hm-chip-ico { width: 30px; height: 30px; font-size: 14px; }
    .hm-chip--b { display: none; }
    .hm-visual .hero-visual-card img { height: 320px; }
    .hm-marquee-track span { font-size: 20px; }
    .hm-scroll-cue { display: none; }
    .hm-portrait::before { inset: -10px 10px 10px -10px; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .hm-js [data-hm-reveal], .hm-intro, .hm-word > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
    .hm-hero-bg canvas { display: none; }
}

/* =========================================================================
   Portrait name tag (About block)
   ========================================================================= */
.hm-portrait { isolation: isolate; }
.hm-portrait img { display: block; }
.hm-name-tag {
    position: absolute;
    left: 18px; right: 18px; bottom: 18px;
    z-index: 2;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 3px;
    padding: 14px 18px 14px 20px;
    text-align: left;
    background: rgba(0, 20, 58, .78);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--pase-gold-border);
    border-left: 3px solid var(--pase-gold);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 14, 38, .35);
}
.hm-name-tag .hm-name {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 22px; font-weight: 700; line-height: 1.1;
    color: #fff;
}
.hm-name-tag .hm-role {
    font-family: 'Open Sans', sans-serif;
    font-size: 11.5px; font-weight: 700; line-height: 1.35;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--pase-gold);
}
@media (max-width: 575px) {
    .hm-name-tag { left: 12px; right: 12px; bottom: 12px; padding: 11px 14px; }
    .hm-name-tag .hm-name { font-size: 19px; }
    .hm-name-tag .hm-role { font-size: 10.5px; letter-spacing: .8px; }
}
