/*
 * Rihla — مجلة سفر
 * A warm, editorial travel-journal theme for GetSimple CMS CE.
 *
 * Structure
 *   01. Tokens
 *   02. Reset & base
 *   03. Type, kickers, buttons
 *   04. Header
 *   05. Menu overlay
 *   06. Home hero
 *   07. Page hero
 *   08. Story & entry
 *   09. Destinations
 *   10. Footer
 *   11. Utilities, motion, responsive, print
 */

/* ==========================================================================
   01. Tokens
   ========================================================================== */

:root {
    /* Paper & ink */
    --paper: #f4eee4;
    --paper-2: #ece4d7;
    --paper-3: #ded2bf;
    --ink: #191510;
    --ink-2: #4c4438;
    --ink-3: #6e6455;
    --line: rgba(25, 21, 16, 0.12);
    --line-strong: rgba(25, 21, 16, 0.2);

    /* Night */
    --night: #12100d;
    --night-2: #1b1712;
    --cream: #f7f2e8;
    --cream-2: rgba(247, 242, 232, 0.72);
    --cream-3: rgba(247, 242, 232, 0.5);
    --line-dark: rgba(247, 242, 232, 0.14);

    /* Accent */
    --accent: #c05a33;
    --accent-deep: #8f3c21;
    --accent-soft: #e09a78;
    --olive: #6b7357;

    /* Type */
    --font-display: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
    --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

    /* Layout */
    --max: 1180px;
    --max-wide: 1440px;
    --gutter: clamp(20px, 4.6vw, 56px);
    --head-h: 76px;

    /* Shape */
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;

    /* Shadows */
    --shadow-soft: 0 18px 50px -28px rgba(40, 30, 18, 0.38);
    --shadow-card: 0 30px 70px -30px rgba(10, 8, 5, 0.55);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   02. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    direction: rtl;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
video {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

figure {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
    text-wrap: balance;
}

::selection {
    background: var(--accent);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   03. Type, kickers, buttons
   ========================================================================== */

.wrap {
    width: min(100% - (var(--gutter) * 2), var(--max));
    margin-inline: auto;
}

.wrap-wide {
    width: min(100% - (var(--gutter) * 2), var(--max-wide));
    margin-inline: auto;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--accent-deep);
}

.kicker-dot {
    width: 20px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
    flex: none;
}

.kicker-en {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.02em;
    letter-spacing: 0.05em;
    color: var(--ink-3);
}

.kicker-light {
    color: var(--accent-soft);
}

.kicker-light .kicker-en {
    color: var(--cream-3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.35s;
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.btn:active {
    transform: scale(0.97, 1.02);
}

.btn-solid {
    background: var(--cream);
    color: var(--night);
    box-shadow: 0 12px 36px -18px rgba(0, 0, 0, 0.7);
}

.btn-solid:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.8);
}

.btn-ghost {
    border-color: rgba(247, 242, 232, 0.26);
    color: var(--cream);
}

.btn-ghost:hover {
    background: rgba(247, 242, 232, 0.08);
    border-color: rgba(247, 242, 232, 0.44);
    transform: translateY(-2px);
}

/* ==========================================================================
   04. Header
   ========================================================================== */

.site-head {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 100;
    color: var(--cream);
    border-bottom: 1px solid transparent;
    transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

body.is-inner .site-head,
.site-head.is-scrolled {
    background: rgba(18, 16, 13, 0.84);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    border-bottom-color: var(--line-dark);
}

.site-head.is-scrolled {
    box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.6);
}

.head-inner {
    min-height: var(--head-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 11px;
    flex: none;
    color: var(--cream);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(247, 242, 232, 0.16);
    border-radius: 50%;
    background: rgba(247, 242, 232, 0.07);
    transition: background 0.3s, border-color 0.3s;
}

.brand:hover .brand-mark {
    background: rgba(247, 242, 232, 0.12);
    border-color: rgba(247, 242, 232, 0.3);
}

.brand-mark img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.brand-text span {
    color: var(--accent-soft);
    font-weight: 500;
}

.head-nav {
    display: flex;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list > li:nth-child(n + 6) {
    display: none;
}

/* Keep the current section visible even when it is beyond the first five. */
.nav-list > li.current {
    display: block !important;
}

.nav-list .subMenu {
    display: none;
}

.nav-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(247, 242, 232, 0.72);
    white-space: nowrap;
    transition: color 0.25s, background 0.25s;
}

.nav-list a:hover {
    color: var(--cream);
    background: rgba(247, 242, 232, 0.08);
}

.nav-list > li.current > a {
    color: var(--cream);
    background: rgba(247, 242, 232, 0.1);
    font-weight: 700;
}

.head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.head-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid rgba(247, 242, 232, 0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cream);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.head-cta svg {
    width: 14px;
    height: 14px;
    opacity: 0.65;
    transition: transform 0.3s var(--ease);
}

.head-cta:hover {
    background: rgba(247, 242, 232, 0.08);
    border-color: rgba(247, 242, 232, 0.34);
}

.head-cta:hover svg {
    transform: translateY(2px);
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(247, 242, 232, 0.18);
    border-radius: 999px;
    background: transparent;
    color: var(--cream);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.menu-btn:hover {
    background: rgba(247, 242, 232, 0.08);
    border-color: rgba(247, 242, 232, 0.34);
}

.menu-btn-icon {
    width: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.menu-btn-icon i {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: width 0.35s var(--ease);
}

.menu-btn-icon i:last-child {
    width: 10px;
}

.menu-btn:hover .menu-btn-icon i:last-child {
    width: 16px;
}

/* ==========================================================================
   05. Menu overlay
   ========================================================================== */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--cream);
    background: rgba(14, 12, 10, 0.95);
    -webkit-backdrop-filter: blur(26px) saturate(130%);
    backdrop-filter: blur(26px) saturate(130%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

.menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
}

.menu-top .kicker {
    margin: 0;
}

.menu-close {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(247, 242, 232, 0.18);
    border-radius: 999px;
    background: transparent;
    color: var(--cream);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.menu-close:hover {
    background: rgba(247, 242, 232, 0.08);
    border-color: rgba(247, 242, 232, 0.34);
}

.menu-close svg {
    width: 16px;
    height: 16px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 6vw, 90px);
    align-items: start;
    padding-top: clamp(32px, 6vh, 64px);
    padding-bottom: 48px;
}

.menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: menuitem;
}

.menu-list > li {
    counter-increment: menuitem;
    border-bottom: 1px solid var(--line-dark);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

body.menu-open .menu-list > li {
    opacity: 1;
    transform: none;
}

body.menu-open .menu-list > li:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .menu-list > li:nth-child(2) { transition-delay: 0.12s; }
body.menu-open .menu-list > li:nth-child(3) { transition-delay: 0.16s; }
body.menu-open .menu-list > li:nth-child(4) { transition-delay: 0.2s; }
body.menu-open .menu-list > li:nth-child(5) { transition-delay: 0.24s; }
body.menu-open .menu-list > li:nth-child(6) { transition-delay: 0.28s; }
body.menu-open .menu-list > li:nth-child(7) { transition-delay: 0.32s; }
body.menu-open .menu-list > li:nth-child(8) { transition-delay: 0.36s; }
body.menu-open .menu-list > li:nth-child(9) { transition-delay: 0.4s; }
body.menu-open .menu-list > li:nth-child(10) { transition-delay: 0.44s; }
body.menu-open .menu-list > li:nth-child(n + 11) { transition-delay: 0.48s; }

.menu-list > li > a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: clamp(10px, 1.5vh, 17px) 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.8vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--cream);
    transition: color 0.3s, transform 0.4s var(--ease);
}

.menu-list > li > a::before {
    content: counter(menuitem, decimal-leading-zero);
    min-width: 2.2em;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--accent-soft);
}

.menu-list > li > a:hover {
    color: var(--accent-soft);
    transform: translateX(-6px);
}

.menu-list > li.current > a {
    color: var(--accent-soft);
}

.menu-list .subMenu {
    display: none;
}

.menu-side {
    position: sticky;
    top: 96px;
}

.menu-figure {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--night-2);
    box-shadow: var(--shadow-card);
}

.menu-figure img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.menu-figure:hover img {
    transform: scale(1.03);
}

.menu-figure figcaption {
    padding: 12px 16px;
    font-size: 0.74rem;
    color: var(--cream-3);
    border-top: 1px solid var(--line-dark);
}

.menu-note {
    margin: 22px 0 10px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cream);
}

.menu-signature {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-soft);
}

.menu-foot {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 32px;
    border-top: 1px solid var(--line-dark);
    font-size: 0.76rem;
    color: var(--cream-3);
}

/* ==========================================================================
   06. Home hero
   ========================================================================== */

.hero-home {
    position: relative;
    min-height: min(100svh, 980px);
    display: flex;
    align-items: center;
    padding: clamp(140px, 17vh, 190px) 0 clamp(84px, 12vh, 120px);
    overflow: clip;
    background: var(--night);
    color: var(--cream);
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 62% at 22% 26%, rgba(192, 90, 51, 0.2), transparent 62%),
        radial-gradient(58% 58% at 82% 78%, rgba(107, 115, 87, 0.13), transparent 64%),
        linear-gradient(180deg, #12100d 0%, #17130f 58%, #12100d 100%);
}

.hero-noise,
.hero-glow,
.foot-glow,
.page-hero-glow {
    position: absolute;
    pointer-events: none;
}

.hero-noise {
    inset: 0;
    opacity: 0.055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-glow {
    width: 46vw;
    height: 46vw;
    inset-inline-start: -16vw;
    top: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 90, 51, 0.2), transparent 68%);
    filter: blur(20px);
}

.hero-watermark {
    position: absolute;
    inset-inline-end: -4vw;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(17rem, 36vw, 40rem);
    font-weight: 900;
    line-height: 0.7;
    color: transparent;
    -webkit-text-stroke: 1px rgba(247, 242, 232, 0.065);
    pointer-events: none;
    user-select: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.hero-title {
    max-width: 15ch;
    font-size: clamp(2.5rem, 5.9vw, 5.7rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--cream);
}

.hero-en {
    margin: 14px 0 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.08rem, 1.5vw, 1.35rem);
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--accent-soft);
}

.hero-lead {
    max-width: 52ch;
    margin: 26px 0 0;
    font-size: 1.02rem;
    line-height: 1.95;
    color: var(--cream-2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin: 38px 0 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--cream-3);
}

.hero-note-rule {
    width: 14px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.hero-collage {
    position: relative;
    height: clamp(430px, 56vh, 600px);
    min-width: 0;
}

.hero-card {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(247, 242, 232, 0.12);
    border-radius: 20px;
    background: var(--night-2);
    box-shadow: var(--shadow-card);
    transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg)) scale(var(--scale, 1));
    transition: transform 0.7s var(--ease), border-color 0.4s;
    will-change: transform;
}

.hero-card:nth-child(1) {
    top: 0;
    inset-inline-start: 0;
    width: 57%;
    aspect-ratio: 3 / 4;
    z-index: 3;
}

.hero-card:nth-child(2) {
    top: 13%;
    inset-inline-end: 0;
    width: 52%;
    aspect-ratio: 3 / 4;
    z-index: 2;
}

.hero-card:nth-child(3) {
    bottom: 0;
    inset-inline-start: 18%;
    width: 47%;
    aspect-ratio: 4 / 5;
    z-index: 4;
}

.hero-card:hover {
    --scale: 1.025;
    border-color: rgba(247, 242, 232, 0.28);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 8, 5, 0.82), rgba(10, 8, 5, 0.08) 58%);
}

.hero-card-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
}

.hero-card:nth-child(2) .hero-card-body {
    top: 16px;
    bottom: auto;
    align-items: flex-end;
    text-align: left;
}

.hero-card:nth-child(2) .hero-card-shade {
    background: linear-gradient(to bottom, rgba(10, 8, 5, 0.72), rgba(10, 8, 5, 0.04) 56%);
}

.hero-card-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--accent-soft);
}

.hero-card-title {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--cream);
}

.hero-scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--cream-3);
}

.hero-scroll-line {
    width: 1px;
    height: 34px;
    background: rgba(247, 242, 232, 0.28);
    overflow: hidden;
    position: relative;
}

.hero-scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-soft);
    transform: translateY(-100%);
    animation: scrollLine 2.6s var(--ease) infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    45% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* ==========================================================================
   07. Page hero
   ========================================================================== */

.page-hero {
    position: relative;
    padding: clamp(142px, 16vw, 208px) 0 clamp(48px, 7vw, 86px);
    overflow: clip;
    background: var(--paper);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(58% 60% at 88% 12%, rgba(192, 90, 51, 0.1), transparent 62%),
        radial-gradient(44% 50% at 4% 96%, rgba(107, 115, 87, 0.08), transparent 66%);
}

.page-hero-glow {
    width: 30vw;
    height: 30vw;
    inset-inline-start: -8vw;
    top: 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 90, 51, 0.12), transparent 68%);
    filter: blur(18px);
}

.page-hero-word {
    position: absolute;
    inset-inline-end: -3vw;
    bottom: -5vw;
    font-family: var(--font-display);
    font-size: clamp(11rem, 27vw, 25rem);
    font-weight: 900;
    line-height: 0.7;
    color: transparent;
    -webkit-text-stroke: 1px rgba(25, 21, 16, 0.055);
    pointer-events: none;
    user-select: none;
}

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(34px, 5vw, 78px);
    align-items: center;
}

.page-hero.no-media .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
}

.page-hero-copy {
    min-width: 0;
}

.page-hero.has-media .page-hero-copy {
    max-width: 640px;
}

.page-hero-media {
    position: relative;
    z-index: 1;
    margin: 0;
}

.page-hero-media::before {
    content: "";
    position: absolute;
    inset-block: 16px -16px;
    inset-inline: 16px -16px;
    z-index: -1;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
}

.page-hero-media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: var(--paper-3);
    box-shadow: var(--shadow-card);
}

.page-hero-media figcaption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    font-size: 0.7rem;
    color: var(--ink-3);
}

.crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: clamp(26px, 4vw, 42px);
    font-size: 0.8rem;
    color: var(--ink-3);
}

.crumbs a {
    color: var(--ink-3);
    transition: color 0.25s;
}

.crumbs a:hover {
    color: var(--accent-deep);
}

.crumbs-sep {
    font-size: 0.9em;
    opacity: 0.55;
}

.crumbs-current {
    color: var(--ink);
    font-weight: 600;
}

.page-title {
    max-width: 17ch;
    font-size: clamp(2.5rem, 6.1vw, 5.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--ink);
}

.page-lead {
    max-width: 62ch;
    margin: 22px 0 0;
    font-size: clamp(1.05rem, 1.45vw, 1.24rem);
    line-height: 1.9;
    color: var(--ink-2);
}

.page-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
    max-width: 62ch;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--ink-3);
}

.page-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-strong);
}

/* ==========================================================================
   08. Story & entry
   ========================================================================== */

.story-section {
    padding: clamp(34px, 5vw, 74px) 0 clamp(70px, 10vw, 140px);
    background: var(--paper);
}

#story,
#destinations {
    scroll-margin-top: calc(var(--head-h) + 22px);
}

.entry h2,
.entry h3 {
    scroll-margin-top: calc(var(--head-h) + 28px);
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: start;
}

.story {
    grid-column: 2;
    min-width: 0;
}

.story-rail {
    grid-column: 3;
    position: sticky;
    top: calc(var(--head-h) + 34px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 152px;
    justify-self: center;
    color: var(--ink-3);
}

.rail-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--ink);
}

.rail-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.74rem;
    line-height: 1.6;
}

.rail-rule {
    width: 100%;
    height: 1px;
    background: var(--line);
}

.toc-title {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
}

.toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.toc-list li {
    counter-increment: toc;
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 10px;
    margin-bottom: 2px;
}

.toc-list a {
    display: block;
    padding: 4px 0;
    font-size: 0.73rem;
    line-height: 1.5;
    color: var(--ink-3);
    transition: color 0.25s, border-color 0.25s;
}

.toc-list a::before {
    content: counter(toc, decimal-leading-zero) " ";
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9em;
    color: var(--accent);
    opacity: 0.8;
}

.toc-list a:hover,
.toc-list a.is-active {
    color: var(--accent-deep);
}

.toc-list li:has(a.is-active) {
    border-inline-start-color: var(--accent);
}

.rail-hint {
    margin-top: 6px;
    font-size: 0.68rem;
    color: var(--ink-3);
    opacity: 0.75;
}

/* --- Content typography ------------------------------------------------ */

.entry {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.95;
    color: var(--ink-2);
}

.entry > section {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    line-height: inherit !important;
    font-family: inherit !important;
}

.entry .lang-ar,
.entry [dir="rtl"] {
    font-family: var(--font-body) !important;
}

.entry .lang-en,
.entry [dir="ltr"] {
    font-family: var(--font-serif) !important;
}

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
    font-family: var(--font-display) !important;
    color: var(--ink) !important;
    font-weight: 800;
    line-height: 1.25;
}

.entry h1 span,
.entry h2 span,
.entry h3 span,
.entry h4 span,
.entry h5 span,
.entry h6 span,
.entry p span,
.entry li span {
    color: inherit !important;
}

.entry p,
.entry li {
    font-family: var(--font-body) !important;
    color: var(--ink-2) !important;
}

.entry .lang-en p,
.entry .lang-en li,
.entry [dir="ltr"] p,
.entry [dir="ltr"] li {
    font-family: var(--font-serif) !important;
}

.entry p {
    margin: 0 0 1.45em !important;
    font-size: 1.09rem;
    line-height: 1.95;
    text-align: start !important;
}

.entry p[style*="text-align: center"],
.entry p[style*="text-align:center"] {
    text-align: center !important;
}

.entry .lang-ar > p:first-of-type {
    font-size: 1.2rem !important;
    line-height: 1.85 !important;
    color: var(--ink) !important;
}

.entry h1 {
    margin: 2.6em 0 0.7em;
    padding-top: 1.2em;
    border-top: 1px solid var(--line);
    font-size: clamp(1.8rem, 3vw, 2.45rem) !important;
    font-weight: 900;
}

.entry h2 {
    margin: 2.3em 0 0.7em;
    padding-top: 1.1em;
    border-top: 1px solid var(--line);
    font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
    font-weight: 900;
}

.entry h3 {
    margin: 1.9em 0 0.55em;
    font-size: clamp(1.2rem, 1.8vw, 1.4rem) !important;
}

.entry h4 {
    margin: 1.6em 0 0.5em;
    font-size: 1.08rem;
}

.entry a {
    color: var(--accent-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.25s;
}

.entry a:hover {
    color: var(--accent);
}

.entry strong,
.entry b {
    color: var(--ink);
    font-weight: 700;
}

.entry img {
    max-width: 100% !important;
    height: auto !important;
}

/* Preserve MonsterGallery's fixed-size grid instead of forcing height:auto. */
.entry .monsterGallery-grid img,
.entry .gallery img,
.entry [class*="monsterGallery"] img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover;
}

/* One layout for every MonsterGallery grid: 4 columns on desktop, 3 on
   tablet, 2 on mobile. The !important values override the plugin's
   per-gallery inline width/height and its unitless (invalid) gap values. */
.entry .monsterGallery-grid:not(.monsterGallery-hero) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 2.2em auto !important;
}

.entry .monsterGallery-grid:not(.monsterGallery-hero) > a {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
}

.entry .monsterGallery-grid:not(.monsterGallery-hero) > a > img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover;
}

@media (max-width: 768px) {
    .entry .monsterGallery-grid:not(.monsterGallery-hero) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .entry .monsterGallery-grid:not(.monsterGallery-hero) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.entry > img,
.entry > p > img,
.entry > section > img,
.entry > section > p > img {
    width: auto;
    max-height: 720px;
    margin: 2.2em auto;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.entry figure {
    margin: 2.4em 0;
}

.entry figure img {
    border-radius: 18px;
}

.entry figcaption {
    margin-top: 10px;
    font-size: 0.76rem;
    color: var(--ink-3);
    text-align: center;
}

.entry blockquote {
    margin: 2.3em 0;
    padding: 22px 26px;
    border-inline-start: 3px solid var(--accent);
    border-radius: 0 14px 14px 0;
    background: var(--paper-2);
    color: var(--ink);
    font-size: 1.14rem;
    line-height: 1.85;
}

.entry blockquote p {
    margin-bottom: 0 !important;
    color: var(--ink) !important;
    font-size: inherit;
}

.entry hr {
    height: 1px !important;
    margin: 3em 0 !important;
    border: 0 !important;
    background: var(--line) !important;
}

.entry ul,
.entry ol {
    margin: 0 0 1.5em;
    padding-inline-start: 1.25em;
}

.entry li {
    margin-bottom: 0.5em;
    line-height: 1.9;
}

.entry ul li::marker,
.entry ol li::marker {
    color: var(--accent);
}

.entry table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.entry th,
.entry td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: start;
}

.entry th {
    background: var(--paper-2);
    color: var(--ink);
}

.entry iframe {
    max-width: 100%;
    border: 0;
    border-radius: 16px;
}

/* --- End of story ------------------------------------------------------ */

.story-end {
    margin-top: clamp(50px, 8vw, 92px);
    padding-top: 38px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--ink-3);
}

.story-end-mark {
    width: 28px;
    height: 28px;
    margin: 0 auto 10px;
    color: var(--accent);
}

.story-end p {
    margin: 0;
    font-size: 0.82rem;
}

/* ==========================================================================
   09. Destinations
   ========================================================================== */

.section-dest {
    position: relative;
    padding: clamp(64px, 9vw, 122px) 0;
    overflow: clip;
    background: var(--paper-2);
    border-top: 1px solid var(--line);
}

.section-dest::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(48% 50% at 96% 2%, rgba(192, 90, 51, 0.08), transparent 68%);
}

.section-dest > .wrap-wide {
    position: relative;
    z-index: 1;
}

.section-related {
    padding: clamp(56px, 8vw, 112px) 0;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.section-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 64px);
    margin-bottom: clamp(28px, 4vw, 50px);
}

.section-head-main {
    min-width: 0;
}

.section-title {
    font-size: clamp(2rem, 4.3vw, 3.55rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--ink);
}

.section-note {
    max-width: 38ch;
    margin: 0 0 6px;
    font-size: 0.94rem;
    line-height: 1.85;
    color: var(--ink-2);
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(12px, 1.7vw, 22px);
    grid-auto-flow: dense;
}

.dest-card {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    grid-column: span 6;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius);
    background: var(--paper-3);
    color: var(--cream);
    box-shadow: var(--shadow-soft);
    transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.dest-card:nth-child(n + 3) {
    grid-column: span 4;
    aspect-ratio: 4 / 5;
}

.dest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.dest-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease), filter 0.6s;
}

.dest-card:hover .dest-img {
    transform: scale(1.055);
}

.dest-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 8, 5, 0.86) 0%, rgba(10, 8, 5, 0.28) 46%, rgba(10, 8, 5, 0.04) 72%);
    transition: opacity 0.5s;
}

.dest-card:hover .dest-shade {
    opacity: 0.92;
}

.dest-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: clamp(16px, 2.2vw, 26px);
}

.dest-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--accent-soft);
}

.dest-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 2.05rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--cream);
}

.dest-card:nth-child(n + 3) .dest-title {
    font-size: clamp(1.12rem, 1.55vw, 1.45rem);
}

.dest-excerpt {
    display: -webkit-box;
    max-width: 44ch;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(247, 242, 232, 0.74);
}

.dest-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cream);
    opacity: 0.82;
    transition: opacity 0.35s, transform 0.45s var(--ease);
}

.dest-cta svg {
    width: 15px;
    height: 15px;
}

.dest-card:hover .dest-cta {
    opacity: 1;
    transform: translateX(-4px);
}

.dest-card:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 4px;
}

.dest-grid.is-compact .dest-card {
    grid-column: span 4;
    aspect-ratio: 4 / 5;
}

.dest-grid.is-compact .dest-title {
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
}

/* Fallback only for browsers without aspect-ratio; modern browsers size from width. */
@supports not (aspect-ratio: 1 / 1) {
    .hero-card {
        min-height: 280px;
    }

    .dest-card {
        min-height: 300px;
    }
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.site-foot {
    position: relative;
    padding: clamp(64px, 9vw, 112px) 0 28px;
    overflow: clip;
    background: var(--night);
    color: var(--cream);
}

.foot-glow {
    width: 42vw;
    height: 42vw;
    inset-inline-start: -12vw;
    top: -10vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 90, 51, 0.15), transparent 68%);
    filter: blur(18px);
}

.foot-watermark {
    position: absolute;
    inset-inline-end: -5vw;
    bottom: -7vw;
    font-family: var(--font-display);
    font-size: clamp(13rem, 29vw, 28rem);
    font-weight: 900;
    line-height: 0.7;
    color: transparent;
    -webkit-text-stroke: 1px rgba(247, 242, 232, 0.055);
    pointer-events: none;
    user-select: none;
}

.foot-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(34px, 6vw, 84px);
    padding-bottom: clamp(46px, 6vw, 74px);
    border-bottom: 1px solid var(--line-dark);
}

.foot-brand-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--cream);
}

.foot-brand-title span {
    color: var(--accent-soft);
    font-weight: 500;
}

.foot-note {
    max-width: 38ch;
    margin: 18px 0 22px;
    font-size: 0.96rem;
    line-height: 1.9;
    color: var(--cream-2);
}

.foot-mail {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(247, 242, 232, 0.28);
    font-size: 0.86rem;
    color: var(--cream);
    transition: border-color 0.3s, color 0.3s;
}

.foot-mail:hover {
    border-color: var(--accent-soft);
    color: var(--accent-soft);
}

.foot-nav-title {
    margin: 0 0 18px;
    font-size: 0.72rem;
    color: var(--cream-3);
}

.foot-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.foot-nav-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 3px 0;
    font-size: 0.88rem;
    color: var(--cream-2);
    transition: color 0.25s, transform 0.3s var(--ease);
}

.foot-nav-list a:hover {
    color: var(--cream);
    transform: translateX(-3px);
}

.foot-nav-list .current a {
    color: var(--accent-soft);
}

.foot-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 24px;
    font-size: 0.78rem;
    color: var(--cream-3);
}

.foot-credit {
    opacity: 0.8;
}

/* ==========================================================================
   11. Utilities, motion, responsive, print
   ========================================================================== */

.reading-progress {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 400;
    height: 2px;
    pointer-events: none;
}

.reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: right center;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    transition: transform 0.12s linear;
}

.skip-link {
    position: fixed;
    top: -80px;
    inset-inline-start: 16px;
    z-index: 500;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--night);
    font-size: 0.85rem;
    font-weight: 700;
    transition: top 0.3s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

.back-top {
    position: fixed;
    bottom: 22px;
    inset-inline-start: 22px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(247, 242, 232, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--ink);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease), background 0.3s;
}

.back-top svg {
    width: 18px;
    height: 18px;
}

.back-top:hover {
    background: var(--cream);
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

[hidden] {
    display: none !important;
}

/* --- Reveal on scroll -------------------------------------------------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--i, 0) * 65ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* --- Hero entrance ----------------------------------------------------- */

@keyframes heroIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCardIn {
    from { opacity: 0; translate: 0 38px; }
    to { opacity: 1; translate: 0 0; }
}

.js [data-hero] {
    opacity: 0;
    animation: heroIn 0.95s var(--ease) both;
}

.js [data-hero="0"] { animation-delay: 0.1s; }
.js [data-hero="1"] { animation-delay: 0.2s; }
.js [data-hero="2"] { animation-delay: 0.32s; }
.js [data-hero="3"] { animation-delay: 0.44s; }
.js [data-hero="4"] { animation-delay: 0.56s; }
.js [data-hero="5"] { animation-delay: 0.68s; }

.js .hero-card {
    opacity: 0;
    animation: heroCardIn 1.05s var(--ease) both;
    animation-delay: var(--delay, 0.15s);
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 1200px) {
    .nav-list > li:nth-child(n + 5) {
        display: none;
    }

    .hero-inner {
        gap: clamp(28px, 4vw, 52px);
    }
}

@media (max-width: 1100px) {
    .nav-list > li:nth-child(n + 4) {
        display: none;
    }

    .story-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .story {
        grid-column: 1;
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .story-rail {
        display: none;
    }
}

@media (max-width: 980px) {
    .head-nav {
        display: none;
    }

    .head-cta {
        display: none;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 680px;
    }

    /* Keep the visual collage closer to the first screen on stacked layouts. */
    .hero-lead,
    .page-lead {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .hero-collage {
        height: clamp(340px, 52vw, 460px);
        width: min(100%, 620px);
        margin-top: 18px;
    }

    .hero-card:nth-child(1) {
        width: 50%;
    }

    .hero-card:nth-child(2) {
        width: 46%;
    }

    .hero-card:nth-child(3) {
        width: 42%;
        inset-inline-start: 24%;
    }

    .page-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-hero.has-media .page-hero-copy {
        max-width: none;
    }

    .page-hero-media {
        max-width: 640px;
    }

    .menu-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .menu-side {
        display: none;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-note {
        max-width: 52ch;
    }

    .foot-top {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    :root {
        --head-h: 66px;
        --gutter: 18px;
    }

    body {
        font-size: 16px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-mark img {
        width: 30px;
        height: 30px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .hero-home {
        min-height: auto;
        padding-top: 128px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9.2vw, 3.4rem);
        max-width: none;
    }

    .hero-lead {
        font-size: 0.98rem;
        line-height: 1.9;
        -webkit-line-clamp: 3;
    }

    .page-lead {
        -webkit-line-clamp: 3;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .hero-note {
        margin-top: 28px;
    }

    .hero-collage {
        height: clamp(300px, 78vw, 420px);
    }

    .hero-card {
        border-radius: 16px;
    }

    .hero-card:nth-child(1) {
        width: 55%;
    }

    .hero-card:nth-child(2) {
        width: 50%;
        top: 9%;
    }

    .hero-card:nth-child(3) {
        width: 46%;
        inset-inline-start: 20%;
    }

    .hero-scroll {
        display: none;
    }

    .page-hero {
        padding-top: 126px;
    }

    .page-title {
        font-size: clamp(2.2rem, 9vw, 3.3rem);
        max-width: none;
    }

    .page-hero-media img {
        aspect-ratio: 4 / 3;
    }

    .page-hero-word {
        font-size: 44vw;
        bottom: -4vw;
    }

    .entry p {
        font-size: 1.04rem;
        line-height: 1.9;
    }

    .entry .lang-ar > p:first-of-type {
        font-size: 1.12rem;
    }

    .entry h2 {
        font-size: 1.42rem;
    }

    .entry h1 {
        font-size: 1.7rem;
    }

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

    .dest-card,
    .dest-card:nth-child(n + 3),
    .dest-grid.is-compact .dest-card {
        grid-column: span 1;
        aspect-ratio: 4 / 5;
    }

    .dest-card:nth-child(1) {
        grid-column: span 2;
        aspect-ratio: 16 / 11;
    }

    .dest-title,
    .dest-card:nth-child(n + 3) .dest-title {
        font-size: 1.18rem;
    }

    .dest-excerpt {
        display: none;
    }

    .section-head {
        gap: 16px;
    }

    .section-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    .menu-top {
        padding-top: 18px;
    }

    .menu-list > li > a {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        gap: 12px;
    }

    .menu-list > li > a::before {
        min-width: 1.9em;
        font-size: 0.72rem;
    }

    .menu-foot {
        flex-direction: column;
        gap: 6px;
    }

    .foot-nav-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px 18px;
    }

    .foot-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-top {
        bottom: 16px;
        inset-inline-start: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .kicker {
        gap: 8px;
        font-size: 0.72rem;
    }

    .kicker-dot {
        width: 12px;
    }

    .menu-btn {
        padding: 0 12px;
    }

    .menu-btn-label {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-collage {
        height: 320px;
    }

    .hero-card:nth-child(1) {
        width: 58%;
    }

    .hero-card:nth-child(2) {
        width: 52%;
    }

    .hero-card:nth-child(3) {
        width: 48%;
    }

    .dest-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dest-card,
    .dest-card:nth-child(1),
    .dest-card:nth-child(n + 3),
    .dest-grid.is-compact .dest-card {
        grid-column: span 1;
        aspect-ratio: 4 / 5;
    }

    .dest-card:nth-child(1) {
        aspect-ratio: 16 / 11;
    }

    .foot-brand h2 {
        font-size: 2.4rem;
    }
}

/* --- Reduced motion ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-scroll-line::after {
        display: none;
    }

    .js [data-reveal],
    .js [data-hero],
    .js .hero-card {
        opacity: 1 !important;
        transform: none !important;
        translate: none !important;
    }

    .hero-card {
        transform: rotate(var(--rot, 0deg)) !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .site-head,
    body.is-inner .site-head,
    .site-head.is-scrolled,
    .menu-overlay {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--night);
    }

    .back-top {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--cream);
    }
}

@media (prefers-contrast: more) {
    body.is-inner .site-head,
    .site-head.is-scrolled {
        background: var(--night);
        border-bottom-color: var(--cream-3);
    }

    .dest-shade {
        background: linear-gradient(to top, #0a0805 0%, rgba(10, 8, 5, 0.65) 60%, rgba(10, 8, 5, 0.2) 100%);
    }
}

/* --- Print ------------------------------------------------------------- */

@media print {
    body {
        background: #fff;
        color: #000;
        font-size: 11.5pt;
    }

    body::before,
    .site-head,
    .menu-overlay,
    .reading-progress,
    .back-top,
    .hero-home,
    .hero-page,
    .page-hero,
    .section-dest,
    .section-related,
    .site-foot,
    .story-rail,
    .story-end,
    .skip-link {
        display: none !important;
    }

    .story-section {
        padding: 0;
    }

    .story-layout {
        display: block;
    }

    .story {
        width: 100%;
    }

    .entry p,
    .entry li {
        color: #000 !important;
    }

    .entry h1,
    .entry h2,
    .entry h3 {
        color: #000 !important;
        break-after: avoid;
    }

    .entry img {
        box-shadow: none;
        break-inside: avoid;
    }

    .entry a {
        color: #000;
        text-decoration: underline;
    }
}
