/* ===== View transitions ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ===== Theme variables (light / editorial) ===== */
:root {
  --joint-bg: #FBF7F0;
  --joint-surface: #FFFFFF;
  --joint-stripe: #EEF4F2;
  --joint-tone: #0F5E5A;
  --joint-tone-hover: #0A4441;
  --joint-ink: #1A1A2A;
  --joint-muted: #4F5563;
  --joint-gold: #B8862F;
  --joint-line: #DCD5C7;
  --joint-footer: #1A1A2A;
  --joint-footer-ink: #F3EFE6;
  --joint-footer-link: #E8C27A;
  --joint-gradient: linear-gradient(135deg, #0F5E5A 0%, #1E7F78 100%);
  --joint-radius: 3px;
  --joint-shadow: 0 6px 18px rgba(26, 26, 42, 0.08);
  --joint-section-pad: 10dvh;
  --font-display: 'Playfair Display', 'Noto Nastaliq Urdu', Georgia, serif;
  --font-body: 'Lato', 'Noto Naskh Arabic', Tahoma, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--joint-bg);
  color: var(--joint-ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.85;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--joint-tone); }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.4;
  margin: 0 0 0.6em;
  color: var(--joint-ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.mob-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Header ===== */
.mob-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--joint-surface);
  border-bottom: 1px solid var(--joint-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(16px, 4vw, 56px);
}
.mob-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.mob-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--joint-ink);
}
.mob-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.mob-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.mob-burger span:not(.mob-visually-hidden) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--joint-ink);
}
.mob-main-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}
.mob-toggle-input:checked ~ .mob-main-nav { display: flex; }
.mob-main-nav a {
  padding: 10px 0;
  text-decoration: none;
  color: var(--joint-ink);
  border-bottom: 1px solid #EAE4D8;
}
.mob-main-nav a:hover,
.mob-main-nav a[aria-current="page"] { color: var(--joint-tone); }
.mob-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--joint-tone);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .mob-progress {
    animation: mob-progress-grow linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes mob-progress-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (min-width: 880px) {
  .mob-burger { display: none; }
  .mob-main-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    gap: 28px;
    padding: 0;
  }
  .mob-main-nav a { border: 0; padding: 6px 0; }
}

/* ===== Logo & icons ===== */
.mob-logo-mark { flex: 0 0 auto; }
.mob-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--joint-tone);
  margin-bottom: 12px;
}

/* ===== Reveal animations (text + clip + stagger) ===== */
.js .mob-line {
  display: block;
  animation: mob-line-rise 0.8s ease both;
}
.js .mob-line:nth-child(2) { animation-delay: 0.12s; }
.js .mob-line:nth-child(3) { animation-delay: 0.24s; }
@keyframes mob-line-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.mob-clip-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--joint-radius);
}
.mob-clip-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@supports (animation-timeline: view()) {
  .mob-clip-frame img {
    animation: mob-clip-open linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }
}
@keyframes mob-clip-open {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.js [data-mob-stagger] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-mob-stagger].is-in {
  opacity: 1;
  transform: none;
}

/* ===== Buttons (static, color-only hover) ===== */
.mob-cta-button {
  display: inline-block;
  padding: 14px 34px;
  border: 1.5px solid var(--joint-tone);
  color: var(--joint-tone);
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--joint-radius);
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.mob-cta-button:hover,
.mob-cta-button:focus-visible {
  background: var(--joint-tone);
  color: #FFFFFF;
}
.mob-btn-solid {
  background: var(--joint-tone);
  color: #FFFFFF;
}
.mob-btn-solid:hover,
.mob-btn-solid:focus-visible {
  background: var(--joint-tone-hover);
  border-color: var(--joint-tone-hover);
  color: #FFFFFF;
}
.mob-btn-gold {
  background: #E8C27A;
  border-color: #E8C27A;
  color: #1A1A2A;
}
.mob-btn-gold:hover,
.mob-btn-gold:focus-visible {
  background: #F3D9A0;
  border-color: #F3D9A0;
  color: #1A1A2A;
}
.mob-text-link {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== Layout helpers ===== */
.mob-section { padding: var(--joint-section-pad) clamp(20px, 6vw, 80px); }
.mob-section-alt { background: var(--joint-stripe); }
.mob-section-inner { max-width: 1200px; margin-inline: auto; }
.mob-split {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.mob-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--joint-tone);
  font-weight: 700;
  margin-bottom: 8px;
}
@media (min-width: 880px) {
  .mob-split { grid-template-columns: 45% 55%; }
  .mob-split.mob-split-reversed { grid-template-columns: 55% 45%; }
}

/* ===== Index hero (editorial split) ===== */
.mob-hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 78dvh;
  overflow: clip;
}
.mob-hero-stripe {
  background: var(--joint-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4dvh 6vw;
  min-height: 200px;
}
.mob-stripe-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  margin: 0;
}
.mob-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60dvh;
  color: #FFFFFF;
  overflow: clip;
}
.mob-hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mob-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 40, 40, 0.86), rgba(10, 40, 40, 0.55));
  z-index: 0;
  pointer-events: none;
}
.mob-hero-copy {
  position: relative;
  z-index: 1;
  padding: 8dvh clamp(20px, 5vw, 64px);
  max-width: 720px;
}
.mob-hero-copy h1,
.mob-hero-copy h1 .mob-line { color: #FFFFFF; }
.mob-hero-sub {
  font-size: 1.1rem;
  color: #F3EFE6;
  max-width: 560px;
  margin-top: 8px;
}
.mob-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}
@media (min-width: 880px) {
  .mob-hero-split { grid-template-columns: 32% 68%; }
  .mob-hero-stripe { padding: 6dvh 2vw; }
}

/* ===== Inner page intro ===== */
.mob-page-intro {
  padding: 8dvh clamp(20px, 6vw, 80px) 5dvh;
  background: var(--joint-stripe);
  border-bottom: 1px solid var(--joint-line);
}
.mob-page-intro h1 { color: var(--joint-ink); }
.mob-intro-sub {
  color: var(--joint-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0;
}

/* ===== Pull quote ===== */
.mob-pull-quote {
  background: var(--joint-stripe);
  padding: 6dvh clamp(20px, 6vw, 80px);
  text-align: center;
  border-top: 1px solid var(--joint-line);
}
.mob-pull-quote blockquote {
  margin: 0 auto;
  max-width: 960px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.6;
  color: var(--joint-tone);
}
.mob-pull-quote blockquote p { margin: 0; }
.mob-pull-quote blockquote p::before {
  content: "“";
  font-size: 2em;
  vertical-align: -0.3em;
  margin-inline-end: 0.1em;
  opacity: 0.4;
}
.mob-pull-quote blockquote p::after {
  content: "”";
  font-size: 2em;
  vertical-align: -0.3em;
  margin-inline-start: 0.1em;
  opacity: 0.4;
}

/* ===== Feature magazine grid ===== */
.mob-feature-grid {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}
.mob-feature-big {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #FFFFFF;
  border-radius: var(--joint-radius);
  display: flex;
  align-items: flex-end;
}
.mob-feature-big > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mob-feature-big::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 40, 40, 0.9), rgba(10, 40, 40, 0.25));
  z-index: 0;
  pointer-events: none;
}
.mob-feature-big-copy {
  position: relative;
  z-index: 1;
  padding: 28px;
}
.mob-feature-big-copy h3 { color: #FFFFFF; font-size: 1.6rem; }
.mob-feature-big-copy p { color: #F3EFE6; margin: 0; }
.mob-feature-small {
  background: var(--joint-surface);
  padding: 28px;
  border-top: 3px solid var(--joint-gold);
  box-shadow: var(--joint-shadow);
  border-radius: var(--joint-radius);
}
.mob-feature-small p { color: var(--joint-muted); margin: 0; }
@media (min-width: 880px) {
  .mob-feature-grid { grid-template-columns: 1fr 1fr; }
  .mob-feature-big { grid-row: span 2; }
}

/* ===== Steps ===== */
.mob-step-row {
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.mob-step {
  position: relative;
  padding: 32px 28px;
  overflow: hidden;
}
.mob-step-body { position: relative; z-index: 1; }
.mob-step p { color: var(--joint-muted); margin: 0; }
.mob-step + .mob-step { border-top: 1px solid var(--joint-line); }
.mob-step-num {
  position: absolute;
  top: -10px;
  inset-inline-end: 16px;
  z-index: 0;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  opacity: 0.07;
  color: var(--joint-tone);
  pointer-events: none;
  user-select: none;
}
@media (min-width: 880px) {
  .mob-step-row { grid-template-columns: repeat(3, 1fr); }
  .mob-step + .mob-step {
    border-top: 0;
    border-inline-start: 1px solid var(--joint-line);
  }
}

/* ===== CTA strip ===== */
.mob-cta-strip {
  background: #F3ECDD;
  text-align: center;
  padding: 10dvh clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--joint-line);
  border-bottom: 1px solid var(--joint-line);
}
.mob-cta-strip p { color: var(--joint-muted); max-width: 640px; margin: 0 auto 24px; }

/* ===== Expert stats ===== */
.mob-stats-wrap { padding: 6dvh clamp(20px, 6vw, 80px) 0; }
.mob-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--joint-tone);
  border-bottom: 1px solid var(--joint-line);
  background: var(--joint-surface);
}
.mob-stat-cell {
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mob-stat-cell + .mob-stat-cell { border-inline-start: 1px solid var(--joint-line); }
.mob-stat-figure {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--joint-tone);
  line-height: 1.1;
}
.mob-stat-label { color: var(--joint-muted); font-size: 0.95rem; }
@media (min-width: 880px) {
  .mob-stat-row { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Icon list ===== */
.mob-icon-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 18px;
}
.mob-icon-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.mob-icon-list .mob-icon { margin-bottom: 0; }

/* ===== Reserve info cards ===== */
.mob-info-row { display: grid; gap: 24px; }
.mob-info-card {
  background: var(--joint-surface);
  border-top: 3px solid var(--joint-gold);
  padding: 28px;
  box-shadow: var(--joint-shadow);
  border-radius: var(--joint-radius);
}
.mob-info-card p { color: var(--joint-muted); }
.mob-num-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.mob-num-list li {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mob-num-badge {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}
.mob-badge-teal { background: #0F5E5A; }
.mob-badge-amber { background: #8A5A12; }
.mob-badge-indigo { background: #3D4A7A; }
.mob-badge-plum { background: #6B3A6E; }
@media (min-width: 880px) {
  .mob-info-row { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Form ===== */
.mob-form-wrap {
  max-width: 700px;
  margin-inline: auto;
  background: var(--joint-surface);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--joint-radius);
  box-shadow: var(--joint-shadow);
  border: 1px solid #E5DED0;
}
.mob-form-wrap h2 { margin-bottom: 20px; }
.mob-field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.mob-field label { font-weight: 700; }
.mob-field input,
.mob-field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #B9B2A3;
  border-radius: var(--joint-radius);
  background: #FFFFFF;
  color: var(--joint-ink);
}
.mob-field input:focus,
.mob-field textarea:focus {
  outline: 3px solid #9DD3CC;
  outline-offset: 2px;
}
.mob-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.mob-consent input {
  margin-top: 8px;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--joint-tone);
}
.mob-submit {
  font: inherit;
  font-weight: 700;
  width: 100%;
  padding: 14px 34px;
  border: 0;
  border-radius: var(--joint-radius);
  background: var(--joint-tone);
  color: #FFFFFF;
  cursor: pointer;
}
.mob-submit:hover,
.mob-submit:focus-visible { background: var(--joint-tone-hover); }
.mob-contact-address {
  font-style: normal;
  margin-top: 20px;
  text-align: center;
  color: var(--joint-muted);
}

/* ===== FAQ ===== */
.mob-faq-list {
  max-width: 820px;
  margin: 24px auto 0;
}
.mob-faq-list details {
  border-bottom: 1px solid var(--joint-line);
  padding: 18px 0;
}
.mob-faq-list summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--joint-ink);
}
.mob-faq-list p {
  margin: 10px 0 0;
  color: var(--joint-muted);
}

/* ===== Thank page ===== */
.mob-thank-wrap { padding: 12dvh clamp(20px, 6vw, 80px); }
.mob-thank-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.mob-thank-copy p { color: var(--joint-muted); }
.mob-thank-copy .mob-cta-button { margin-top: 12px; }
.mob-thank-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--joint-radius);
}
.mob-thank-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
@media (min-width: 880px) {
  .mob-thank-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Legal pages ===== */
.mob-legal {
  min-height: 100vh;
  padding: 10dvh clamp(20px, 6vw, 80px);
}
.mob-legal-body {
  max-width: 860px;
  margin-inline: auto;
}
.mob-legal-body h1 { margin-bottom: 0.8em; }
.mob-legal-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.mob-legal-body p { color: var(--joint-ink); }
.mob-legal-body section { scroll-margin-top: 100px; }

/* ===== Cookie banner (index) ===== */
.mob-cookie-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--joint-footer);
  color: var(--joint-footer-ink);
  padding: 18px clamp(16px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
}
.mob-cookie-bar p { margin: 0; flex: 1 1 320px; }
.mob-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mob-cookie-actions button {
  font: inherit;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--joint-radius);
  cursor: pointer;
  border: 1.5px solid #E8C27A;
  background: transparent;
  color: #F3EFE6;
}
.mob-cookie-actions button.mob-cookie-accept {
  background: #E8C27A;
  color: #1A1A2A;
}
.mob-cookie-actions button:hover,
.mob-cookie-actions button:focus-visible {
  background: #F3D9A0;
  color: #1A1A2A;
  border-color: #F3D9A0;
}

/* ===== Footer ===== */
.mob-site-footer {
  background: var(--joint-footer);
  color: var(--joint-footer-ink);
  padding: 6dvh clamp(20px, 6vw, 80px) 3dvh;
}
.mob-footer-top {
  display: grid;
  gap: 24px;
  max-width: 1200px;
  margin-inline: auto;
}
.mob-footer-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #F3EFE6;
  text-decoration: none;
}
.mob-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
}
.mob-footer-links a {
  color: var(--joint-footer-link);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mob-disclaimer {
  max-width: 1200px;
  margin: 4dvh auto 0;
  padding-top: 20px;
  border-top: 1px solid #3A3A4E;
  font-size: 0.92rem;
  color: #E4DED2;
}
.mob-disclaimer p { margin: 0 0 6px; }
@media (min-width: 880px) {
  .mob-footer-top { grid-template-columns: 1.4fr 1fr; align-items: center; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
}