/* Azizi Dubai LP — desert-night ink, warm sand, lagoon aqua. IBM Plex Sans (Arabic). */
:root {
    --night: oklch(0.17 0.028 255);
    --night-2: oklch(0.21 0.03 252);
    --night-3: oklch(0.26 0.032 250);
    --sand: oklch(0.95 0.014 85);
    --sand-dim: oklch(0.82 0.02 85);
    --mute: oklch(0.68 0.02 240);
    --aqua: oklch(0.78 0.09 200);
    --aqua-deep: oklch(0.62 0.1 205);
    --line: oklch(0.95 0.014 85 / 0.14);
    --wa: #22b457;
    --wa-deep: #199447;
    --radius: 16px;
    --shadow: 0 18px 60px oklch(0.1 0.02 255 / 0.5);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: none !important; transform: none !important; opacity: 1 !important; }
}

body {
    margin: 0;
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
    font-weight: 300;
    color: var(--sand);
    background: var(--night);
    line-height: 1.8;
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
    -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: 'IBM Plex Sans', system-ui, sans-serif; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--aqua); }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; background: var(--sand); color: var(--night); padding: 0.5rem 1rem; z-index: 99; }

.sec-title { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; line-height: 1.3; margin: 0 0 0.5rem; text-align: center; }
.sec-sub { color: var(--sand-dim); max-width: 62ch; margin: 0 auto 1.6rem; text-align: center; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 600; text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; padding: 0.72rem 1.6rem; transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-cta { background: var(--aqua); color: var(--night); box-shadow: 0 8px 28px oklch(0.62 0.1 205 / 0.35); }
.btn-cta:hover { background: oklch(0.84 0.085 198); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); }
.btn-ghost { background: transparent; color: var(--sand); border: 1px solid var(--line); }
.btn-line { background: transparent; color: var(--aqua); border: 1px solid oklch(0.78 0.09 200 / 0.45); }
.btn-lg { width: 100%; padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.9rem; }

/* ── top bar ── */
.top { position: fixed; top: 0; inset-inline: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem clamp(1rem, 4vw, 2.5rem); background: transparent; border-bottom: 1px solid transparent; transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease); }
.top.scrolled { background: oklch(0.17 0.028 255 / 0.88); backdrop-filter: blur(14px); border-bottom-color: var(--line); padding-block: 0.6rem; }
.brand { width: 96px; height: auto; }
.top-actions { display: flex; align-items: center; gap: 1.1rem; }
.top-phone { color: var(--sand); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.lang { color: var(--sand-dim); text-decoration: none; font-size: 0.88rem; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
@media (max-width: 700px) { .top-phone { display: none; } }

/* ── hero ── */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.17 0.028 255 / 0.55) 0%, oklch(0.17 0.028 255 / 0.72) 62%, var(--night) 100%); }
.hero-grid { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin-inline: auto; padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.kicker { color: var(--aqua); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; margin: 0 0 0.6rem; }
.hero h1 { font-size: clamp(1.9rem, 1.3rem + 3.4vw, 3.4rem); font-weight: 700; line-height: 1.22; margin: 0 0 0.7rem; text-wrap: balance; }
.hero-sub { color: var(--sand-dim); font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem); max-width: 54ch; margin: 0 0 1.1rem; }
.hero-price { display: inline-block; color: var(--sand); font-weight: 700; font-size: 1.5em; padding-inline: 0.2em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.4rem; }
.chips li { border: 1px solid var(--line); background: oklch(0.95 0.014 85 / 0.06); border-radius: 999px; padding: 0.32rem 0.95rem; font-size: 0.85rem; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero-form { background: var(--sand); color: var(--night); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); }
.hero-form h2 { margin: 0 0 0.3rem; font-size: 1.3rem; font-weight: 700; }
.hero-form > p { margin: 0 0 1rem; font-size: 0.9rem; color: oklch(0.4 0.02 250); }

/* ── form ── */
.hp-field { position: absolute; inset-inline-start: -9999px; }
.ff { margin-bottom: 0.85rem; }
.ff label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; }
.ff input, .ff select { width: 100%; font: inherit; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1.5px solid oklch(0.75 0.02 250 / 0.5); background: #fff; color: var(--night); }
.ff input:focus, .ff select:focus { outline: 2px solid var(--aqua-deep); border-color: transparent; }
.ff input.invalid { border-color: oklch(0.55 0.2 25); }
.form-err { color: oklch(0.55 0.2 25); font-size: 0.85rem; margin: 0 0 0.6rem; }
.privacy { font-size: 0.75rem; color: oklch(0.45 0.02 250); margin: 0.6rem 0 0; text-align: center; }
.final .ff label { color: var(--night); }

/* ── why band ── */
.why { padding: clamp(2.2rem, 5vw, 3.6rem) 0 1rem; }
.why-grid { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.why-grid li { background: var(--night); padding: 1.3rem 1.2rem; display: flex; flex-direction: column; gap: 0.15rem; }
.why-grid strong { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 700; color: var(--aqua); }
.why-grid span { color: var(--sand-dim); font-size: 0.88rem; line-height: 1.55; }

/* ── projects ── */
.projects { padding: clamp(2.4rem, 6vw, 4rem) 0 1rem; }
.pgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.proj { background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.proj:hover { transform: translateY(-4px); border-color: oklch(0.78 0.09 200 / 0.4); box-shadow: 0 22px 60px oklch(0.1 0.02 255 / 0.45); }
.proj.pj-hide { display: none; }
.span12 { grid-column: span 12; }
.span7 { grid-column: span 7; }
.span5 { grid-column: span 5; }
.span6 { grid-column: span 6; }
.proj.split { display: grid; grid-template-columns: 1.18fr 1fr; }
.proj.split .pj-media { height: 100%; }
.proj.split .pj-track { height: 100%; }
.proj.split .pj-media img { height: 100%; aspect-ratio: auto; min-height: 340px; }
.proj.split.rsplit .pj-media { order: 2; }
.proj.split.rsplit .pj-body { order: 1; }
.pj-media { position: relative; }
.pj-media img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: scale 0.6s var(--ease); }
.proj:hover .pj-media img { scale: 1.04; }
.pj-offers { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pj-offers span { background: oklch(0.55 0.19 25); color: #fff; font-size: 0.78rem; font-weight: 700; border-radius: 8px; padding: 0.28rem 0.7rem; box-shadow: 0 4px 16px oklch(0.2 0.05 25 / 0.4); }
.pj-tag { position: absolute; bottom: 12px; inset-inline-start: 12px; background: oklch(0.17 0.028 255 / 0.75); backdrop-filter: blur(6px); color: var(--aqua); font-size: 0.8rem; font-weight: 600; border-radius: 999px; padding: 0.3rem 0.9rem; }
.pj-body { padding: clamp(1.1rem, 2.5vw, 1.5rem); display: flex; flex-direction: column; flex: 1; }
.pj-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.pj-from { text-align: center; background: oklch(0.78 0.09 200 / 0.1); border: 1px solid oklch(0.78 0.09 200 / 0.3); border-radius: 12px; padding: 0.45rem 0.85rem; white-space: nowrap; }
.pj-from span { display: block; font-size: 0.66rem; color: var(--mute); line-height: 1.2; }
.pj-from b { font-size: 1.22rem; font-weight: 700; color: var(--aqua); line-height: 1.25; }
.pj-from i { font-style: normal; font-size: 0.7rem; color: var(--sand-dim); margin-inline-start: 2px; }
.pj-body h3 { margin: 0; font-size: 1.35rem; font-weight: 700; }
.pj-en { margin: 0.1rem 0 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.03em; color: var(--mute); }
.pj-loc { margin: 0.45rem 0 0; color: var(--aqua); font-size: 0.9rem; font-weight: 500; }
.pj-note { margin: 0.55rem 0 0.9rem; color: var(--sand-dim); font-size: 0.92rem; line-height: 1.75; }
.pj-prices { width: 100%; border-collapse: collapse; margin-bottom: 0.9rem; }
.pj-prices td { padding: 0.42rem 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.pj-prices td:last-child { text-align: end; }
.pj-prices td span { color: var(--mute); font-size: 0.8rem; }
.pj-prices strong { font-weight: 700; font-size: 1.02rem; }
.pj-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-bottom: 1rem; color: var(--sand-dim); font-size: 0.85rem; }
.pj-meta b { color: var(--sand); font-weight: 600; }
.pj-ctas { margin-top: auto; display: flex; gap: 0.6rem; }
.pj-ctas .btn { flex: 1; }

/* ── dev / faq / final ── */
.dev { position: relative; padding: clamp(2.8rem, 7vw, 5rem) 0; overflow: hidden; }
.dev-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.dev::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, oklch(0.16 0.03 255 / 0.55) 26%, oklch(0.16 0.03 255 / 0.48) 68%, var(--night) 100%); }
.dev .wrap { position: relative; z-index: 2; }
.dev .sec-title { text-shadow: 0 2px 18px oklch(0.1 0.02 255 / 0.6); }
.dev-body { max-width: 75ch; color: var(--sand); text-shadow: 0 1px 12px oklch(0.1 0.02 255 / 0.7); }
.faq { padding: clamp(1.8rem, 4vw, 3rem) clamp(1rem, 4vw, 2.5rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 0.95rem 0.2rem; list-style-position: inside; }
.faq summary:hover { color: var(--aqua); }
.faq p { margin: 0 0 1rem; padding: 0 1.4rem; color: var(--sand-dim); max-width: 75ch; }

.final { background: var(--night-2); border-block: 1px solid var(--line); padding: clamp(2.2rem, 5vw, 3.6rem) 0; margin-top: 1.5rem; }
.final-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.final h2 { font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 700; margin: 0 0 0.5rem; }
.final > .wrap > div > p { color: var(--sand-dim); margin: 0 0 1.2rem; }
.final-form { background: var(--sand); color: var(--night); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.7rem); box-shadow: var(--shadow); }

.foot { padding: 1.8rem 0 5.4rem; }
.foot p { color: var(--mute); font-size: 0.8rem; max-width: 90ch; margin: 0 0 0.5rem; }
.foot a { color: var(--sand-dim); }

/* ── sticky bar ── */
.stickybar { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.stickybar a { display: flex; align-items: center; justify-content: center; padding: 0.9rem 0.5rem; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.sb-call { background: var(--night-2); color: var(--sand); }
.sb-wa { background: var(--wa); color: #fff; }
.sb-form { background: var(--aqua); color: var(--night); }
@media (max-width: 900px) { .stickybar { display: grid; } }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .pgrid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .final-grid { grid-template-columns: 1fr; }
    .proj.featured .pj-media img { aspect-ratio: 5 / 3; }
}

/* ── thanks page ── */
.thanks-page { display: grid; place-items: center; min-height: 100vh; padding: 1.5rem; }
.thanks { text-align: center; max-width: 480px; }
.thanks .check { width: 74px; height: 74px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--wa); color: #fff; font-size: 2.1rem; display: grid; place-items: center; }
.thanks h1 { font-size: 1.6rem; font-weight: 700; margin: 0 0 0.6rem; }
.thanks p { color: var(--sand-dim); margin: 0 0 1.4rem; }
.thanks-actions { display: grid; gap: 0.7rem; }
.thanks-call { margin-top: 1.2rem; }
.thanks-call a { color: var(--sand); font-weight: 600; text-decoration: none; }

/* ── project media slider ── */
.pj-slider { overflow: hidden; }
.pj-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.pj-track::-webkit-scrollbar { display: none; }
.pj-track img { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.sl-btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 40px; height: 40px; border: 1px solid oklch(0.95 0.014 85 / 0.3); border-radius: 999px; background: oklch(0.17 0.028 255 / 0.55); backdrop-filter: blur(8px); color: var(--sand); font-size: 1.45rem; line-height: 1; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity 0.3s var(--ease), background 0.3s var(--ease); }
.pj-slider:hover .sl-btn, .pj-slider:focus-within .sl-btn { opacity: 1; }
.sl-btn:hover { background: oklch(0.17 0.028 255 / 0.85); }
.sl-prev { inset-inline-start: 10px; }
.sl-next { inset-inline-end: 10px; }
html[dir="rtl"] .sl-btn { transform: scaleX(-1); translate: 0 -50%; }
.sl-dots { position: absolute; bottom: 12px; inset-inline-end: 14px; z-index: 3; display: flex; gap: 5px; }
.sl-dots i { width: 7px; height: 7px; border-radius: 999px; background: oklch(0.95 0.014 85 / 0.45); transition: width 0.3s var(--ease), background 0.3s var(--ease); }
.sl-dots i.on { width: 20px; background: var(--aqua); }
@media (max-width: 900px) { .sl-btn { opacity: 1; width: 34px; height: 34px; } }

/* ── developer stats ── */
.dev-stats { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dev-stats li { background: oklch(0.16 0.03 255 / 0.52); backdrop-filter: blur(12px); border: 1px solid oklch(0.95 0.014 85 / 0.18); border-radius: 14px; padding: 1.25rem 1.2rem; display: flex; flex-direction: column; gap: 0.15rem; }
.dev-stats strong { font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.9rem); font-weight: 700; color: var(--aqua); }
.dev-stats span { color: var(--sand-dim); font-size: 0.86rem; line-height: 1.55; }
@media (max-width: 900px) { .dev-stats { grid-template-columns: repeat(2, 1fr); } }

/* ── project filters ── */
.pfilters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: -0.4rem 0 1.6rem; }
.pfilters .pf { font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--sand-dim); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 1.1rem; cursor: pointer; transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease); }
.pfilters .pf:hover { color: var(--sand); border-color: oklch(0.78 0.09 200 / 0.4); }
.pfilters .pf.on { background: var(--aqua); border-color: var(--aqua); color: var(--night); }
@keyframes pj-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.proj.pj-show { animation: pj-in 0.45s var(--ease); }
@media (max-width: 900px) {
    .span12, .span7, .span5, .span6 { grid-column: span 12; }
    .proj.split { grid-template-columns: 1fr; }
    .proj.split .pj-media img { min-height: 0; aspect-ratio: 5 / 3; height: auto; }
    .proj.split.rsplit .pj-media { order: 0; }
    .proj.split.rsplit .pj-body { order: 1; }
}

/* ── photo-band sections ── */
.band { position: relative; overflow: hidden; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band > .wrap, .band > .pgrid { position: relative; z-index: 2; }
.why.band { padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.why.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, oklch(0.16 0.03 255 / 0.6) 35%, oklch(0.16 0.03 255 / 0.55) 70%, var(--night) 100%); }
.why-grid { gap: 12px; background: transparent; border: 0; }
.why-grid li { background: oklch(0.16 0.03 255 / 0.52); backdrop-filter: blur(12px); border: 1px solid oklch(0.95 0.014 85 / 0.18); border-radius: 14px; }
.projects.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, oklch(0.16 0.03 255 / 0.82) 20%, oklch(0.16 0.03 255 / 0.86) 80%, var(--night) 100%); }
.projects.band .band-bg { object-position: center top; }
.faq.band { padding: clamp(2.4rem, 6vw, 4rem) 0; }
.faq.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, oklch(0.16 0.03 255 / 0.58) 40%, oklch(0.16 0.03 255 / 0.66) 100%); }
.faq details { background: oklch(0.16 0.03 255 / 0.55); backdrop-filter: blur(10px); border: 1px solid oklch(0.95 0.014 85 / 0.14); border-radius: 12px; margin-bottom: 0.6rem; padding-inline: 0.9rem; }
.faq summary { padding-block: 0.85rem; }

.final.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, oklch(0.16 0.03 255 / 0.62) 30%, oklch(0.16 0.03 255 / 0.68) 100%); }
.final.band > .final-grid { position: relative; z-index: 2; }
.final.band h2, .final.band p { text-shadow: 0 1px 14px oklch(0.1 0.02 255 / 0.7); }

/* mobile: clear the fixed transparent header + tighter brand */
@media (max-width: 900px) {
    .hero-grid { padding-top: 5.6rem; }
    .brand { width: 74px; }
    .top { padding-inline: 1rem; }
    .top .btn-sm { padding: 0.45rem 0.95rem; font-size: 0.84rem; }
    .sb-form { font-size: 0.88rem; }
}

/* ── retail units ── */
.retail { padding: clamp(2.4rem, 6vw, 4rem) 0 0.8rem; }
.rt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rt-card { background: var(--night-2); border: 1px solid var(--line); border-radius: 18px; padding: 0 0 1.2rem; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.rt-media { margin: 0 0 0.9rem; }
.rt-media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; transition: scale 0.5s var(--ease); }
.rt-card:hover .rt-media img { scale: 1.05; }
.rt-card h3, .rt-card .rt-loc, .rt-card .rt-price, .rt-card .rt-meta, .rt-card .btn { margin-inline: 1.1rem; }
.rt-card:hover { transform: translateY(-3px); border-color: oklch(0.78 0.09 200 / 0.4); }
.rt-card h3 { margin: 0 0 0.15rem; font-size: 1.08rem; font-weight: 700; }
.rt-loc { margin: 0 0 0.7rem; color: var(--aqua); font-size: 0.82rem; font-weight: 500; }
.rt-price { margin: 0 0 0.5rem; }
.rt-price span { font-size: 0.74rem; color: var(--mute); }
.rt-price b { font-size: 1.35rem; font-weight: 700; color: var(--aqua); }
.rt-price i { font-style: normal; font-size: 0.76rem; color: var(--sand-dim); }
.rt-meta { margin: 0 0 1rem; color: var(--sand-dim); font-size: 0.82rem; line-height: 1.8; }
.rt-meta b { color: var(--sand); font-weight: 600; }
.rt-card .btn { margin-top: auto; }
@media (max-width: 900px) {
    .rt-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; }
    .rt-grid::-webkit-scrollbar { display: none; }
    .rt-card { flex: 0 0 78%; scroll-snap-align: center; }
}

/* ── enriched developer band (2nd paragraph + facts list) ── */
.dev-body-2 { max-width: 78ch; color: var(--sand-dim); margin: 0.9rem 0 0; text-shadow: 0 1px 12px oklch(0.1 0.02 255 / 0.7); }
.dev-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem 1.8rem; }
.dev-points li { position: relative; padding-inline-start: 1.5rem; color: var(--sand-dim); font-size: 0.92rem; line-height: 1.7; text-shadow: 0 1px 10px oklch(0.1 0.02 255 / 0.6); }
.dev-points li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 999px; background: var(--aqua); }
@media (max-width: 700px) { .dev-points { grid-template-columns: 1fr; } }

/* ── subtle "read more" link on project cards ── */
.pj-more { margin: 0.65rem 0 0; text-align: center; }
.pj-more a { color: var(--mute); font-size: 0.82rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.pj-more a:hover { color: var(--aqua); border-color: oklch(0.78 0.09 200 / 0.4); }

/* ── project detail pages ── */
.crumbs { font-size: 0.8rem; color: var(--mute); margin: 0 0 0.6rem; }
.crumbs a { color: var(--sand-dim); text-decoration: none; }
.crumbs a:hover { color: var(--aqua); }
.crumbs span { color: var(--mute); }
.pp { padding: clamp(2rem, 5vw, 3.4rem) 0; border-bottom: 1px solid var(--line); }
.pp-prose p { color: var(--sand-dim); max-width: 80ch; margin: 0 0 1rem; }
.pp-points { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem 1.8rem; }
.pp-points li { position: relative; padding-inline-start: 1.4rem; color: var(--sand-dim); font-size: 0.92rem; line-height: 1.7; }
.pp-points li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.72em; width: 7px; height: 7px; border-radius: 999px; background: var(--aqua-deep); }
.pp-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.pp-list li { background: var(--night-2); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.9rem; color: var(--sand-dim); }
.pp-prices { width: 100%; max-width: 540px; border-collapse: collapse; margin: 1rem 0 0; }
.pp-prices td { padding: 0.5rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.pp-prices td:last-child { text-align: end; }
.pp-prices strong { color: var(--aqua); font-weight: 700; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.1rem; color: var(--sand-dim); font-size: 0.9rem; }
.pp-meta b { color: var(--sand); font-weight: 600; }
.pp-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.pp-links a { border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 1.05rem; font-size: 0.85rem; color: var(--sand-dim); text-decoration: none; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.pp-links a:hover { color: var(--aqua); border-color: oklch(0.78 0.09 200 / 0.4); }
@media (max-width: 700px) { .pp-points, .pp-list { grid-template-columns: 1fr; } }

/* project-page sections as full-bleed image bands (readable navy overlay) */
.pp.band { border-bottom: 1px solid var(--line); }
.pp.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.03 255 / 0.84) 0%, oklch(0.16 0.03 255 / 0.72) 45%, oklch(0.16 0.03 255 / 0.85) 100%); }
.pp.band > .wrap { position: relative; z-index: 2; }
.pp.band .sec-title { text-shadow: 0 2px 18px oklch(0.1 0.02 255 / 0.65); }
.pp.band .pp-prose p, .pp.band .pp-points li, .pp.band .pp-meta { text-shadow: 0 1px 12px oklch(0.1 0.02 255 / 0.6); }
.pp.band .pp-list li { background: oklch(0.16 0.03 255 / 0.55); backdrop-filter: blur(10px); border-color: oklch(0.95 0.014 85 / 0.16); }
.pp.band .pp-prices td { border-bottom-color: oklch(0.95 0.014 85 / 0.2); }

/* ── contact modal (popup form) ── */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: oklch(0.12 0.02 255 / 0.72); backdrop-filter: blur(4px); animation: m-fade 0.25s var(--ease); }
.modal-panel { position: relative; z-index: 2; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; background: var(--sand); color: var(--night); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); animation: m-pop 0.35s var(--ease); }
.modal-panel h2 { margin: 0 0 0.3rem; font-size: 1.3rem; font-weight: 700; text-align: center; }
.modal-sub { margin: 0 0 1rem; font-size: 0.9rem; color: oklch(0.4 0.02 250); text-align: center; }
.modal-x { position: absolute; top: 6px; inset-inline-end: 12px; background: transparent; border: 0; font-size: 1.9rem; line-height: 1; color: oklch(0.5 0.02 250); cursor: pointer; padding: 0.2rem 0.5rem; }
.modal-x:hover { color: var(--night); }
.modal .ff label { color: var(--night); }
@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes m-pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
    .modal { align-items: flex-end; padding: 0; }
    .modal-panel { max-width: none; border-radius: 20px 20px 0 0; max-height: 94vh; animation: m-sheet 0.38s var(--ease); }
    @keyframes m-sheet { from { transform: translateY(100%); } to { transform: none; } }
}
