/* M'Imbarco, motion & presence (premium layer) */
:root{
  --reveal-ease:cubic-bezier(.16,1,.3,1);
  --glow-coral:0 20px 50px rgba(239,108,87,.28);
}

/* Soft paper atmosphere */
body:before{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%,rgba(220,235,241,.55),transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%,rgba(216,230,223,.4),transparent 50%);
  opacity:.9;
}
body > *{position:relative;z-index:1}

/* Hero: ken burns + content entrance */
.hero-media{
  will-change:transform;
  animation:hero-ken 22s var(--ease) infinite alternate;
}
@keyframes hero-ken{
  from{transform:scale(1.02) translate3d(0,0,0)}
  to{transform:scale(1.12) translate3d(-1.5%,1%,0)}
}
.hero-shade:after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 75% 30%,rgba(239,108,87,.18),transparent 42%);
  animation:shade-pulse 8s ease-in-out infinite alternate;
}
@keyframes shade-pulse{from{opacity:.35}to{opacity:.85}}

.hero-content > *{
  opacity:0;transform:translate3d(0,28px,0);
  animation:rise-in .9s var(--reveal-ease) forwards;
}
.hero-content .eyebrow{animation-delay:.12s}
.hero-content h1{animation-delay:.28s}
.hero-content .hero-lead{animation-delay:.42s}
.hero-content .journey-finder{animation-delay:.58s}
.hero-content .trust-line{animation-delay:.78s}
@keyframes rise-in{to{opacity:1;transform:none}}

.journey-finder fieldset{
  transition:transform .35s var(--reveal-ease),box-shadow .35s;
}
.journey-finder fieldset:focus-within{
  transform:translateY(-3px);
  box-shadow:0 28px 70px rgba(0,0,0,.28),var(--glow-coral);
}
.journey-finder label{transition:background .25s}
.journey-finder label:focus-within{background:rgba(239,108,87,.06)}

.scroll-cue{animation:cue-drift 2.4s ease-in-out infinite}
@keyframes cue-drift{
  0%,100%{opacity:.55;transform:rotate(90deg) translateX(0)}
  50%{opacity:1;transform:rotate(90deg) translateX(8px)}
}

/* Scroll reveals */
[data-reveal]{
  opacity:0;
  transform:translate3d(0,40px,0);
  transition:opacity .85s var(--reveal-ease),transform .85s var(--reveal-ease);
  transition-delay:var(--d,0s);
}
[data-reveal].is-in{
  opacity:1;
  transform:none;
}
[data-reveal="left"]{transform:translate3d(-36px,0,0)}
[data-reveal="right"]{transform:translate3d(36px,0,0)}
[data-reveal="scale"]{transform:scale(.94);transform-origin:center}
[data-reveal="left"].is-in,[data-reveal="right"].is-in,[data-reveal="scale"].is-in{transform:none}

.section-heading .eyebrow,
.page-hero .eyebrow{
  display:inline-block;
}
.is-in .eyebrow{
  animation:eyebrow-slide .7s var(--reveal-ease) both;
}
@keyframes eyebrow-slide{
  from{letter-spacing:.32em;opacity:0}
  to{letter-spacing:.17em;opacity:1}
}

/* Cards: depth & magnetic feel */
.service-card{
  transition:transform .4s var(--reveal-ease),box-shadow .4s,background .3s,border-color .3s;
}
.service-card:before{
  content:"";position:absolute;inset:auto -20% -40% auto;width:140px;height:140px;
  background:radial-gradient(circle,rgba(239,108,87,.22),transparent 70%);
  opacity:0;transition:opacity .4s;pointer-events:none;
}
.service-card:hover:before{opacity:1}
.service-card .arrow{transition:transform .3s var(--reveal-ease)}
.service-card:hover .arrow{transform:translate(4px,-4px)}
.service-featured .service-icon{animation:icon-float 3.5s ease-in-out infinite}
@keyframes icon-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

.season-card,.destination-card,.article-card>a{
  transition:transform .45s var(--reveal-ease),box-shadow .45s;
}
.season-card:hover,.destination-card:hover{
  box-shadow:0 28px 60px rgba(4,31,43,.28);
  transform:translateY(-6px);
}
.season-card-copy em{
  opacity:0;transform:translateY(8px);transition:.35s var(--reveal-ease);
}
.season-card:hover .season-card-copy em{opacity:1;transform:none}

.mood-row a{
  transition:transform .35s var(--reveal-ease),background .3s,box-shadow .35s;
}
.mood-row a:hover{
  box-shadow:inset 0 0 0 1px rgba(239,108,87,.35);
}
.mood-row a span{transition:transform .4s var(--reveal-ease),color .3s}
.mood-row a:hover span{transform:scale(1.15) rotate(-6deg);color:var(--coral-dark)}

.steps li{
  transition:transform .35s var(--reveal-ease),background .3s;
  border-radius:12px;padding-inline:8px;margin-inline:-8px;
}
.steps li:hover{background:rgba(255,255,255,.45);transform:translateX(6px)}
.steps li>span{transition:transform .35s,background .35s,color .35s,border-color .35s}
.steps li:hover>span{
  background:var(--coral);color:#fff;border-color:var(--coral);transform:scale(1.08);
}

.promise-list>div{transition:transform .4s var(--reveal-ease)}
.promise-list>div:hover{transform:translateY(-6px)}

.accordion details{transition:background .25s}
.accordion details[open]{background:rgba(239,108,87,.04)}
.accordion details[open] summary{color:var(--coral-dark)}

.button{
  position:relative;overflow:hidden;
  transition:transform .3s var(--reveal-ease),background .25s,box-shadow .3s;
}
.button:after{
  content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.28) 45%,transparent 70%);
  transform:translateX(-120%);transition:transform .6s var(--reveal-ease);
}
.button:hover:after{transform:translateX(120%)}

.final-cta-bg{transition:transform 1.2s var(--reveal-ease);will-change:transform}
.final-cta.is-in .final-cta-bg{transform:scale(1.06)}
.final-cta-inner > *{opacity:0;transform:translateY(20px);transition:.7s var(--reveal-ease)}
.final-cta.is-in .final-cta-inner > *{opacity:1;transform:none}
.final-cta.is-in .final-cta-inner > *:nth-child(1){transition-delay:.05s}
.final-cta.is-in .final-cta-inner > *:nth-child(2){transition-delay:.18s}
.final-cta.is-in .final-cta-inner > *:nth-child(3){transition-delay:.3s}
.final-cta.is-in .final-cta-inner > *:nth-child(4){transition-delay:.42s}

.image-note{
  animation:note-bob 4s ease-in-out infinite;
  box-shadow:0 14px 30px rgba(239,108,87,.35);
}
@keyframes note-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

.editorial-image img{transition:transform 1.1s var(--reveal-ease),filter .6s}
.editorial-band.is-in .editorial-image img{transform:scale(1.03);filter:saturate(.9)}

/* Season switch fade */
.seasonal-grid.is-switching{opacity:0;transform:translateY(12px)}
.seasonal-grid{transition:opacity .35s var(--reveal-ease),transform .35s var(--reveal-ease)}

/* Page heroes (inner) */
.page-hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%,rgba(239,108,87,.12),transparent 50%),
    radial-gradient(ellipse 60% 70% at 100% 100%,rgba(31,78,119,.1),transparent 45%),
    var(--sand);
}
.page-hero.sky{
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%,rgba(220,235,241,.9),transparent 50%),
    linear-gradient(160deg,#e8f3f7,#f4efe7);
}
.page-hero.mint{
  background:
    radial-gradient(ellipse 70% 50% at 10% 100%,rgba(216,230,223,.95),transparent 55%),
    linear-gradient(180deg,#eef6f2,#fbfaf7);
}
.page-hero.dark{
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%,rgba(239,108,87,.25),transparent 50%),
    linear-gradient(145deg,#061a2e,#0b2a4a 55%,#123f50);
}
.page-hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;
  background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0M30 60L60 30M0 30L30 0' stroke='%23082a3a' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E");
}
.page-hero.dark:before{opacity:.2;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0M30 60L60 30M0 30L30 0' stroke='%23ffffff' stroke-opacity='.08' fill='none'/%3E%3C/svg%3E")}
.page-hero .shell{position:relative;z-index:1}
.page-hero h1{
  opacity:0;transform:translateY(24px);
  animation:rise-in .85s var(--reveal-ease) .15s forwards;
}
.page-hero .page-lead{
  opacity:0;transform:translateY(18px);
  animation:rise-in .85s var(--reveal-ease) .35s forwards;
}

.info-card,.contact-form,.partner-box,.white-label-note{
  transition:transform .4s var(--reveal-ease),box-shadow .4s;
}
.info-card:hover,.contact-form:focus-within,.partner-box:focus-within{
  transform:translateY(-4px);
  box-shadow:0 26px 55px rgba(8,42,58,.12);
}

.contact-list a{transition:padding-left .3s var(--reveal-ease),color .25s,border-color .25s}
.contact-list a:hover{padding-left:8px;color:var(--coral-dark);border-color:var(--coral)}

.template-hero{position:relative;overflow:hidden}
.template-hero:before{
  content:"";position:absolute;right:-10%;top:-20%;width:55%;height:80%;
  background:radial-gradient(circle,rgba(239,108,87,.14),transparent 65%);
  pointer-events:none;animation:shade-pulse 7s ease-in-out infinite alternate;
}

/* Archive / listing heroes, same presence as page-hero */
.archive-head,.blog-head,.post-head{
  position:relative;overflow:hidden;
}
.archive-head:before,.blog-head:before,.post-head:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.4;
  background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0M30 60L60 30M0 30L30 0' stroke='%23082a3a' stroke-opacity='.06' fill='none'/%3E%3C/svg%3E");
}
.archive-head:after,.blog-head:after{
  content:"";position:absolute;right:-8%;top:-30%;width:48%;height:90%;
  background:radial-gradient(circle,rgba(239,108,87,.16),transparent 68%);
  pointer-events:none;animation:shade-pulse 7s ease-in-out infinite alternate;
}
.blog-head:before{opacity:.25;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0M30 60L60 30M0 30L30 0' stroke='%23ffffff' stroke-opacity='.08' fill='none'/%3E%3C/svg%3E")}
.blog-head:after{background:radial-gradient(circle,rgba(239,108,87,.28),transparent 68%)}
.archive-head .shell,.blog-head .shell,.post-head .shell{position:relative;z-index:1}
.archive-head h1,.blog-head h1,.post-head h1{
  opacity:0;transform:translateY(24px);
  animation:rise-in .85s var(--reveal-ease) .12s forwards;
}
.archive-head .eyebrow,.blog-head .eyebrow,.post-head .post-meta{
  opacity:0;animation:rise-in .7s var(--reveal-ease) forwards;
}
.archive-head p:last-child,.blog-head p:last-child,.post-head .lead{
  opacity:0;transform:translateY(16px);
  animation:rise-in .85s var(--reveal-ease) .32s forwards;
}

/* Photo depth on travel cards */
.season-card img{
  transition:transform 1.15s var(--reveal-ease),filter .5s;
  will-change:transform;
}
.season-card:hover img{transform:scale(1.08);filter:saturate(1.08) brightness(1.03)}
.destination-card:hover img{transform:scale(1.07)}
.destination-overlay em{transition:opacity .35s var(--reveal-ease),transform .35s var(--reveal-ease)}

.article-card img,.article-card > a img{
  transition:transform 1s var(--reveal-ease);
}
.article-card:hover img,.article-card > a:hover img{transform:scale(1.05)}

.post-cover{
  transition:transform 1.2s var(--reveal-ease),box-shadow .5s;
  box-shadow:0 24px 60px rgba(8,42,58,.16);
}
.post-cover:hover{transform:scale(1.01)}

/* Destination detail hero */
.destination-hero img{
  will-change:transform;
  animation:hero-ken 26s var(--ease) infinite alternate;
}
.destination-hero .shell > *{
  opacity:0;transform:translateY(20px);
  animation:rise-in .85s var(--reveal-ease) forwards;
}
.destination-hero .shell > *:nth-child(1){animation-delay:.1s}
.destination-hero .shell > *:nth-child(2){animation-delay:.22s}
.destination-hero .shell > *:nth-child(3){animation-delay:.36s}

.quick-nav a{
  transition:background .3s,color .25s,transform .3s var(--reveal-ease);
}
.quick-nav a:hover{
  background:rgba(239,108,87,.06);
  color:var(--coral-dark);
  transform:translateY(-2px);
}

/* Season tabs feel alive */
.season-tabs button{
  transition:background .3s,color .25s,transform .25s var(--reveal-ease),box-shadow .3s;
}
.season-tabs button:hover{color:var(--ink);transform:translateY(-1px)}
.season-tabs button[aria-selected="true"]{
  transition:background .3s,color .25s,box-shadow .35s;
}

/* Service cards, premium lift */
.service-card{position:relative;overflow:hidden}
.service-card:hover{
  transform:translateY(-7px);
  box-shadow:0 28px 55px rgba(8,42,58,.14);
  border-color:rgba(239,108,87,.35);
}
.service-featured:hover{
  box-shadow:0 32px 60px rgba(4,31,43,.35),var(--glow-coral);
}

/* Header link micro-motion (home) */
.main-nav > a,.nav-services > button{
  position:relative;
  transition:color .25s;
}
.main-nav > a:after{
  content:"";position:absolute;left:0;bottom:-2px;width:100%;height:1px;
  background:currentColor;transform:scaleX(0);transform-origin:right;
  transition:transform .28s var(--reveal-ease);
}
.main-nav > a:hover:after{transform:scaleX(1);transform-origin:left}

@media(max-width:760px){
  [data-reveal],[data-reveal="left"],[data-reveal="right"]{transform:translate3d(0,24px,0)}
  .season-card:hover,.destination-card:hover,.service-card:hover{transform:none}
  .main-nav > a:after{display:none}
}
@media(prefers-reduced-motion:reduce){
  .hero-media,.hero-shade:after,.scroll-cue,.service-featured .service-icon,.image-note,.template-hero:before,
  .archive-head:after,.blog-head:after,.destination-hero img{animation:none!important}
  .hero-content > *,.page-hero h1,.page-hero .page-lead,
  .archive-head h1,.archive-head .eyebrow,.archive-head p:last-child,
  .blog-head h1,.blog-head .eyebrow,.blog-head p:last-child,
  .post-head h1,.post-head .post-meta,.post-head .lead,
  .destination-hero .shell > *{animation:none!important;opacity:1;transform:none}
  [data-reveal]{opacity:1;transform:none;transition:none}
  .final-cta-inner > *{opacity:1;transform:none}
  body:before{display:none}
}
