/* Sorom travel folio: independent product planes on a clear reading surface. */
.marketing-home .hero {
    isolation: isolate;
    overflow: clip;
    min-height: auto;
    padding: 7.5rem 0 2.75rem;
    background: var(--cream);
    color: var(--teal);
}
.marketing-home .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
}
.marketing-home .hero-content {
    min-width: 0;
    max-width: 38rem;
    margin: 0;
    text-align: start;
    z-index: 6;
}
.marketing-home .hero :is(.hero-title, .hero-subtitle, .hero-ctas, .hero-badge) {
    animation: none;
    opacity: 1;
    transform: none;
}
.marketing-home .hero-badge {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    color: var(--terracotta-ink, #BF4D03);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .01em;
}
.marketing-home .hero-badge-dot { animation: none; background: currentColor; flex-shrink: 0; }
.marketing-home .hero .hero-title {
    color: var(--teal);
    font-size: clamp(2.8rem, 4.6vw, 4.75rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    text-wrap: balance;
    margin-bottom: 1.35rem;
}
.marketing-home .hero .hero-title em {
    color: var(--terracotta-ink, #BF4D03);
    background: none;
    -webkit-text-fill-color: currentColor;
}
.marketing-home:lang(ko) .hero .hero-title { word-break: keep-all; }
.marketing-home:lang(ar) .hero .hero-title { letter-spacing: normal; line-height: 1.25; }
/* Older page-local word wrappers must never gate the opening or break shaping. */
.marketing-home .hero-title .word,
.marketing-home .hero-title .word > span {
    display: inline;
    overflow: visible;
    margin: 0;
    padding: 0;
    line-height: inherit;
    animation: none;
    transform: none;
    will-change: auto;
}
.marketing-home .hero-subtitle {
    max-width: 42ch;
    margin: 0 0 1.75rem;
    color: #435853;
    font-size: 1.0625rem;
    line-height: 1.65;
    text-wrap: pretty;
}
.marketing-home .hero-ctas { flex-direction: row; justify-content: flex-start; gap: .75rem; }
.marketing-home .hero .btn {
    min-height: 3.25rem;
    padding: .9rem 1.5rem;
    font-size: 1rem;
    line-height: 1.3;
    max-width: 100%;
    white-space: normal;
    transition: background-color 160ms ease-out, color 160ms ease-out, transform 120ms ease-out;
    box-shadow: none;
}
.marketing-home .hero .btn-primary { background: var(--teal); color: var(--white); }
.marketing-home .hero .btn-outline { color: var(--teal); border-color: #70877b; }
.marketing-home .hero .btn:focus-visible { outline: 3px solid var(--terracotta-ink, #BF4D03); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
    .marketing-home .hero .btn-primary:hover { background: #284d47; transform: none; box-shadow: none; }
    .marketing-home .hero .btn-outline:hover { background: #e8eee7; border-color: var(--teal); }
}
.marketing-home .hero .btn:active { transform: translateY(1px); }

/* The scene is an editorial assembly, not a phone floating in a literal beach. */
.folio-scene {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1.12;
    margin: 0;
    direction: ltr;
    --folio-back-x: 0px;
    --folio-back-y: 0px;
    --folio-rear-x: 0px;
    --folio-rear-y: 0px;
    --folio-front-x: 0px;
    --folio-front-y: 0px;
    --folio-frame-x: 0px;
    --folio-frame-y: 0px;
}
.folio-scene::before {
    content: '';
    position: absolute;
    inset: 8% -4% 12% -1%;
    border-radius: 48% 48% 1.25rem 1.25rem;
    background: #dae3d8;
    z-index: -1;
}
.folio-scene .folio-destination {
    position: absolute;
    /* Widen only the backdrop; the scene and both screenshot sizes stay fixed. */
    inset: 8% -4% auto -1%;
    width: 105%;
    max-width: none;
    height: 76%;
    object-fit: cover;
    object-position: 61% center;
    border-radius: 48% 48% 1.25rem 1.25rem;
    transform: translate3d(var(--folio-back-x), var(--folio-back-y), 0);
    z-index: 0;
}
.folio-scene .folio-screen {
    position: absolute;
    transform-origin: 50% 96%;
    pointer-events: none;
}
.folio-scene .folio-screen img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    filter: drop-shadow(0 14px 15px rgba(22, 43, 37, .23));
}
.folio-screen-back {
    width: 43%;
    left: 4%;
    top: 15%;
    transform: translate(var(--folio-rear-x), var(--folio-rear-y));
    z-index: 2;
}
.folio-screen-front {
    width: 48%;
    left: 47%;
    top: 6%;
    transform: translate(var(--folio-front-x), var(--folio-front-y));
    z-index: 4;
}
.folio-frame {
    position: absolute;
    inset: 5% -7% 10% -5%;
    border: 1px solid rgba(26, 58, 58, .27);
    border-radius: 48% 48% 1.25rem 1.25rem;
    transform: translate3d(var(--folio-frame-x), var(--folio-frame-y), 0) rotate(-3deg);
    z-index: 1;
    pointer-events: none;
}
.folio-caption {
    position: absolute;
    inset: auto 0 0;
    color: #435853;
    font-family: var(--font-body);
    font-size: .8125rem;
    line-height: 1.5;
    text-align: center;
    direction: inherit;
}
[dir='rtl'] .folio-caption { direction: rtl; }
.folio-image-missing { visibility: hidden; }
.folio-scene[data-folio-assets='unavailable'] { display: none; }
.hero-layout:has(.folio-scene[data-folio-assets='unavailable']) { grid-template-columns: minmax(0, 1fr); }

/* A light opening keeps the established wordmark and navigation legible. */
.marketing-home .nav:not(.scrolled) { background: var(--cream); }
.marketing-home .nav:not(.scrolled) :is(.nav-link, .nav-menu-btn, .nav-logo) { color: var(--teal); }
.marketing-home .nav:not(.scrolled) .nav-logo-svg .logo-text { fill: #eb4e19; }
.marketing-home .nav:not(.scrolled) .nav-logo-img { filter: none; }
.marketing-home .nav:not(.scrolled) .lang-switcher-toggle { color: var(--teal); border-color: #70877b; }
.marketing-home .nav:not(.scrolled) .nav-menu-btn span { background: var(--teal); }

@media (max-width: 1100px) and (min-width: 761px) {
    .folio-frame { right: -1%; }
    .marketing-home .hero-layout { gap: 1.5rem; }
    .marketing-home .hero .hero-title { font-size: clamp(2.6rem, 4.9vw, 3.5rem); }
    .marketing-home .hero-subtitle { font-size: 1rem; }
    .marketing-home .hero .btn { font-size: .9375rem; padding-inline: 1.1rem; }
}
@media (max-width: 760px) {
    .marketing-home .hero { padding: 6.25rem 0 2rem; }
    .marketing-home .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .marketing-home .hero-content { max-width: 36rem; }
    .marketing-home .hero .hero-title { font-size: clamp(2.55rem, 7.4vw, 3.5rem); line-height: 1.1; letter-spacing: -.035em; }
    .marketing-home .hero-badge { margin-bottom: 1rem; font-size: 1rem; }
    .marketing-home .hero-subtitle { margin-bottom: 1.25rem; font-size: 1rem; }
    .marketing-home .hero-ctas { gap: .625rem; }
    .marketing-home .hero .btn { padding-inline: 1.15rem; font-size: .9375rem; }
    .folio-scene { max-width: 30rem; justify-self: center; aspect-ratio: 1 / 1.02; }
    .folio-scene::before { inset: 4% 0 13%; border-radius: 1rem 4rem 1rem 1rem; }
    .folio-scene .folio-destination { inset: 4% 0 auto; width: 100%; height: 78%; object-position: 43% 65%; border-radius: 1rem 4rem 1rem 1rem; }
    .folio-screen-back { width: 45%; left: 0; top: 12%; transform: none; }
    .folio-screen-front { width: 48%; left: 51%; top: 4%; transform: none; }
    .folio-frame { inset: 1% 1% 10% 2%; border-radius: 1rem 4rem 1rem 1rem; transform: rotate(-2deg); }
    .folio-caption { font-size: .75rem; }
}
@media (max-width: 380px) {
    .marketing-home .hero .hero-title { font-size: 2.45rem; }
    .marketing-home .hero .btn { font-size: .875rem; padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .folio-scene { --folio-back-x: 0px !important; --folio-back-y: 0px !important; --folio-rear-x: 0px !important; --folio-rear-y: 0px !important; --folio-front-x: 0px !important; --folio-front-y: 0px !important; --folio-frame-x: 0px !important; --folio-frame-y: 0px !important; }
    .marketing-home .hero .btn { transition: none; }
}
