/* FarhadTech.com: shared styles. Serene, frosted, quietly Islamic. Inter only. */
:root {
  --bg: #edf3f0;
  --paper: rgba(255, 255, 255, 0.66);
  --paper-solid: #f8fbf9;
  --glass-border: rgba(255, 255, 255, 0.85);
  --ink: #0b3b36;
  --ink-2: #104a43;
  --teal: #1f6e62;
  --text: #25403b;
  --muted: #4f655f;
  --gold: #b08a45;
  --gold-text: #86672a;
  --gold-soft: #e3cf9f;
  --line: rgba(11, 59, 54, 0.16);
  --line-soft: rgba(11, 59, 54, 0.09);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 1px rgba(11, 59, 54, 0.04), 0 24px 48px -24px rgba(11, 59, 54, 0.28);
  --blur: blur(18px) saturate(1.4);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 56px);
  --head-h: 60px;
  --t-digital: #35618a;
  --t-food: #a9772a;
  --t-property: #4f7a5c;
  --t-saudi: #1f6e62;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' fill='none' stroke='%23b08a45' stroke-opacity='.22'%3E%3Crect x='18' y='18' width='44' height='44'/%3E%3Cpath d='M40 8 72 40 40 72 8 40Z'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 560px at 92% -6%, rgba(176, 138, 69, 0.2), transparent 62%),
    radial-gradient(1000px 700px at -8% 18%, rgba(31, 110, 98, 0.17), transparent 62%),
    radial-gradient(900px 600px at 60% 108%, rgba(31, 110, 98, 0.12), transparent 60%);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 4px; transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 300; color: var(--ink); line-height: 1.14; letter-spacing: -0.028em; margin: 0 0 0.55em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; font-weight: 400; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1.15em; max-width: 66ch; }
em, .it { font-style: normal; color: var(--gold-text); font-weight: 300; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.75; color: var(--text); }
.muted { color: var(--muted); }
.kicker { font-size: 0.95rem; font-weight: 500; color: var(--gold-text); margin: 0 0 0.9rem; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--gold); }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
section { position: relative; }
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec-sm { padding-block: clamp(40px, 6vw, 80px); }
.hair { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

.glass { background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }

/* Header: floating frosted bar */
.site-header { position: sticky; top: 0; z-index: 60; padding-top: 12px; pointer-events: none; }
.head-in { pointer-events: auto; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 12px 0 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 8px 28px -18px rgba(11, 59, 54, 0.3); transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.site-header.scrolled .head-in { background: rgba(255, 255, 255, 0.74); box-shadow: 0 14px 34px -16px rgba(11, 59, 54, 0.38); }
.brand { font-size: 1.12rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 10px; }
.brand small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.01em; font-weight: 400; display: none; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { font-size: 0.92rem; text-decoration: none; color: var(--text); padding: 9px 16px; border-radius: 999px; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.nav a:hover { background: rgba(31, 110, 98, 0.09); color: var(--ink); }
.nav a[aria-current="page"] { background: rgba(31, 110, 98, 0.13); color: var(--ink); font-weight: 500; }
.nav .nav-cta { background: var(--ink); color: #fff; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--ink-2); color: #fff; }
.nav .nav-cta[aria-current="page"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; color: var(--ink); border-radius: 999px; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.25s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 1040px) { .brand small { display: inline; } }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .head-in { padding-left: 20px; }
  .nav {
    pointer-events: auto; position: fixed; top: calc(var(--head-h) + 22px); left: var(--pad); right: var(--pad); flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(250, 253, 251, 0.9); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border); border-radius: 24px; padding: 12px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 1.1rem; padding: 14px 18px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 30px; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.005em; text-decoration: none; border-radius: 999px; border: 1px solid var(--ink); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.btn-solid { background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: #fff; box-shadow: 0 14px 28px -16px rgba(11, 59, 54, 0.7); }
.btn-solid:hover { color: #fff; box-shadow: 0 18px 34px -14px rgba(11, 59, 54, 0.8); background: linear-gradient(135deg, var(--teal), var(--ink-2)); }
.btn-line { background: rgba(255, 255, 255, 0.5); color: var(--ink); border-color: rgba(11, 59, 54, 0.22); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-line:hover { background: rgba(255, 255, 255, 0.85); border-color: var(--ink); }
.text-link { display: inline-block; font-weight: 500; color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size 0.35s var(--ease); }
.text-link:hover { background-size: 40% 1px; }

/* Imagery */
.ph { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, #d9e6e0, #c8d8d1); isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.02); transition: transform 1.2s var(--ease); }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--tint, var(--teal)) 26%, transparent), rgba(11, 59, 54, 0.12)); mix-blend-mode: multiply; pointer-events: none; }
a:hover > .ph img, .venture:hover .ph img { transform: scale(1.03); }
.r-43 { aspect-ratio: 4 / 3; } .r-32 { aspect-ratio: 3 / 2; } .r-45 { aspect-ratio: 4 / 5; } .r-169 { aspect-ratio: 16 / 9; }

/* Hero */
.hero { padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero::before { content: ""; position: absolute; right: 0; top: 0; width: min(60%, 760px); height: 100%; background-image: var(--star); -webkit-mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent); mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; }
.hero .greet { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-size: 0.92rem; color: var(--ink); margin: 0 0 1.6rem; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.hero .greet::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.hero .role { font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 500; color: var(--gold-text); margin: 0 0 1.2rem; }
.hero h1 { margin-bottom: 0.5em; }
.hero .name { display: block; font-size: 0.36em; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-bottom: 1em; }
.hero .intro { max-width: 52ch; }
.portrait-stack { position: relative; padding: 0 0 56px 0; }
.portrait { aspect-ratio: 4 / 5; width: 86%; margin-left: auto; border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow); border: 6px solid rgba(255, 255, 255, 0.75); }
.portrait::after { background: linear-gradient(180deg, transparent 55%, rgba(11, 59, 54, 0.3)); }
.portrait-stack .inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 5px solid rgba(255, 255, 255, 0.85); box-shadow: var(--shadow); border-radius: 22px; }
.portrait-stack::before { content: ""; position: absolute; right: -16px; top: 20px; width: 86%; aspect-ratio: 4 / 5; border: 1px solid var(--gold); opacity: 0.6; border-radius: 999px 999px 28px 28px; z-index: -1; }

/* Route motif */
.route { margin-top: clamp(28px, 4vw, 56px); padding: clamp(18px, 3vw, 32px) clamp(14px, 3vw, 36px) 10px; border-radius: 28px; background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.route svg { width: 100%; height: auto; overflow: visible; }
.route .path-bg { fill: none; stroke: var(--line); stroke-width: 1; }
.route .path-fg { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route.go .path-fg { animation: draw 3.4s 0.9s var(--ease) forwards; }
.route .dot { fill: #fff; stroke: var(--ink); stroke-width: 1.3; }
.route .pulse { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.route.go .pulse { animation: pulse 3.2s 4.2s ease-out infinite; }
.route .plane { fill: var(--gold); opacity: 0; }
.route.go .plane { opacity: 1; offset-rotate: auto; animation: fly 3.4s 0.9s var(--ease) forwards; }
.route text { font-family: var(--sans); font-size: 15px; fill: var(--ink); font-weight: 500; }
.route .sub { font-size: 11px; fill: var(--muted); font-weight: 400; }
.route-cap { font-size: clamp(0.98rem, 1.4vw, 1.1rem); color: var(--text); max-width: 56ch; margin: 18px auto 0; text-align: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes fly { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* Hero entrance */
.hero-in { opacity: 0; transform: translateY(20px); }
.loaded .hero-in { animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
.hero .portrait-stack { opacity: 0; transform: translateY(24px) scale(0.985); }
.loaded .hero .portrait-stack { animation: rise 1.3s 0.35s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv, .no-js .hero-in, .no-js .hero .portrait-stack { opacity: 1; transform: none; }
.no-js .route .path-fg { stroke-dashoffset: 0; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 28px; padding: 8px 12px; }
.fact { padding: 26px 24px; }
.fact + .fact { border-left: 1px solid var(--line-soft); }
.fact b { display: block; font-weight: 300; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.fact span { font-size: 0.92rem; color: var(--muted); line-height: 1.5; display: block; max-width: 22ch; }

/* Sector groups (home) */
.sector { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 64px); padding-block: clamp(26px, 3.5vw, 40px); border-top: 1px solid var(--line-soft); }
.sector:last-of-type { border-bottom: 1px solid var(--line-soft); }
.sector h3 { margin: 0; padding-left: 18px; position: relative; font-size: 1.3rem; }
.sector h3::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; background: var(--tint); transform: rotate(45deg); }
.sector-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mini { display: block; text-decoration: none; padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 1px 1px rgba(11, 59, 54, 0.03); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: rgba(255, 255, 255, 0.88); }
.mini h4 { margin: 0 0 6px; }
.mini p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.mini .where { display: block; margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.s-digital { --tint: var(--t-digital); } .s-food { --tint: var(--t-food); } .s-property { --tint: var(--t-property); } .s-saudi { --tint: var(--t-saudi); }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.split p { margin-bottom: 0; }

/* Deep band */
.deep {
  background:
    radial-gradient(800px 480px at 88% 0%, rgba(176, 138, 69, 0.3), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(63, 160, 140, 0.28), transparent 62%),
    linear-gradient(160deg, #072a27, #0d453e 58%, #0a3430);
  color: #d4e4de; overflow: hidden;
}
.deep::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--star); -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 85%); mask-image: linear-gradient(90deg, transparent 5%, #000 85%); }
.deep > .wrap { position: relative; }
.deep h2, .deep h3 { color: #fff; }
.deep .kicker, .deep em { color: var(--gold-soft); }
.deep .kicker::before { background: var(--gold-soft); }
.deep p { color: #c4d8d0; }
.approach { font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 3.5rem); line-height: 1.18; letter-spacing: -0.035em; color: #fff; max-width: 20ch; }
.approach span { display: block; }
.approach span:nth-child(2) { padding-left: clamp(0px, 4vw, 56px); color: var(--gold-soft); }
.approach span:nth-child(3) { padding-left: clamp(0px, 8vw, 112px); }
.deep .btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.deep .btn-solid { background: #fff; color: var(--ink); border-color: #fff; }

/* Closing */
.closing-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.arch { border-radius: 999px 999px 24px 24px; }

/* Page head */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(55%, 640px); background-image: var(--star); -webkit-mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent); mask-image: radial-gradient(closest-side at 70% 40%, #000, transparent); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { max-width: 54ch; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-side { position: sticky; top: calc(var(--head-h) + 36px); }
.about-side .ph { aspect-ratio: 4 / 5; box-shadow: var(--shadow); margin-bottom: 24px; border-radius: 999px 999px 24px 24px; border: 6px solid rgba(255, 255, 255, 0.75); }
.glance { margin: 0; padding: 8px 24px; list-style: none; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.glance li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.93rem; line-height: 1.5; }
.glance li:last-child { border-bottom: 0; }
.glance li span:first-child { color: var(--muted); }
.glance li span:last-child { color: var(--ink); }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child, .prose > .rv:first-child h2 { margin-top: 0; }
.prose p { font-size: 1.06rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.tags li { padding: 9px 18px; border-radius: 999px; font-size: 0.92rem; color: var(--ink); background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: background 0.25s, border-color 0.25s; }
.tags li:hover { background: #fff; border-color: var(--gold); }
.pull { font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; letter-spacing: -0.025em; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 26px; margin: 2rem 0; max-width: 28ch; }

/* Ventures page */
.sector-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(20px, 3vw, 36px); padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.sector-head h2 { margin: 0; position: relative; padding-left: 26px; }
.sector-head h2::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--tint); transform: rotate(45deg); }
.sector-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.venture { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(20px, 3vw, 36px); margin-bottom: 24px; border-radius: 32px; background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.venture:nth-of-type(even) { grid-template-columns: 1.1fr 0.9fr; }
.venture:nth-of-type(even) .v-img { order: 2; }
.v-img .ph { border-radius: 22px; }
.v-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 6px; }
.v-head h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 300; letter-spacing: -0.03em; }
.badge { display: inline-block; font-size: 0.78rem; padding: 4px 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tint) 40%, transparent); color: color-mix(in srgb, var(--tint) 80%, #000); background: color-mix(in srgb, var(--tint) 9%, #fff); line-height: 1.5; font-weight: 500; }
.badge.past { color: var(--muted); border-color: var(--line); background: rgba(255, 255, 255, 0.5); }
.v-desc { color: var(--gold-text); font-weight: 500; font-size: 1.02rem; margin: 0 0 1.2rem; }
.v-body h4 { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; margin: 1.2rem 0 0.2rem; }
.v-body p { margin-bottom: 0.7em; font-size: 1rem; }
.v-body ul { margin: 0.4rem 0 1rem; padding: 0; list-style: none; }
.v-body li { padding: 9px 0 9px 22px; position: relative; border-top: 1px solid var(--line-soft); font-size: 0.97rem; line-height: 1.6; }
.v-body li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.v-body li b { color: var(--ink); font-weight: 600; }
.ar { font-family: "Noto Naskh Arabic", "Amiri", serif; font-size: 1.8rem; color: var(--t-saudi); direction: rtl; unicode-bidi: isolate; line-height: 1.3; margin: 0 0 0.6rem; }

.table-wrap { overflow-x: auto; border-radius: 24px; padding: 8px 24px; background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.96rem; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { font-weight: 500; color: var(--gold-text); font-size: 0.88rem; padding-block: 16px 12px; }
td:first-child { font-weight: 500; color: var(--ink); }
tbody tr { transition: background 0.25s; } tbody tr:hover { background: rgba(255, 255, 255, 0.6); }

/* Timeline */
.tl { position: relative; padding: 0; margin: 0; list-style: none; }
.tl::before, .tl-fill { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-fill { background: linear-gradient(var(--gold), var(--gold-soft)); height: 0; bottom: auto; width: 1.5px; transition: height 0.2s linear; }
.tl li { position: relative; padding: 0 0 clamp(30px, 4vw, 52px) 54px; }
.tl li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 15px; height: 15px; background: var(--bg); border: 1px solid var(--gold); transform: rotate(45deg); transition: background 0.5s var(--ease); }
.tl li.in::before { background: var(--gold); }
.tl .when { display: block; font-weight: 500; color: var(--gold-text); font-size: 0.95rem; margin-bottom: 2px; }
.tl .card { padding: 22px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 1px 1px rgba(11, 59, 54, 0.03); }
.tl h3 { margin-bottom: 0.3em; }
.tl p { margin: 0; }
@media (min-width: 900px) {
  .tl::before, .tl-fill { left: 50%; }
  .tl li { width: 50%; padding: 0 56px clamp(30px, 4vw, 52px) 0; text-align: right; }
  .tl li p { margin-left: auto; }
  .tl li:nth-child(even) { margin-left: 50%; padding: 0 0 clamp(30px, 4vw, 52px) 56px; text-align: left; }
  .tl li:nth-child(even) p { margin-left: 0; }
  .tl li::before { left: auto; right: -8px; }
  .tl li:nth-child(even)::before { right: auto; left: -8px; }
}
.journey-route { margin-bottom: clamp(32px, 5vw, 56px); }

/* Vision */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.vm > div { padding: clamp(26px, 4vw, 48px); border-radius: 32px; background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.vm .big { font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checks li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line-soft); position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { display: grid; grid-template-columns: minmax(150px, 0.45fr) 1fr; gap: 12px 28px; padding: 24px 28px; border-radius: 22px; align-items: baseline; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.values h3 { margin: 0; font-size: 1.35rem; color: #fff; }
.values p { margin: 0; color: #c4d8d0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.reasons { list-style: none; padding: 0; margin: 1rem 0 2.4rem; }
.reasons li { padding: 11px 0 11px 28px; border-top: 1px solid var(--line-soft); position: relative; }
.reasons li:last-child { border-bottom: 1px solid var(--line-soft); }
.reasons li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.details { margin: 0; display: grid; gap: 14px; }
.details div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; font-size: 0.97rem; }
.details dt { color: var(--muted); } .details dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.details [hidden] { display: none; }
.form { border-radius: 32px; padding: clamp(24px, 4vw, 48px); background: var(--paper); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; appearance: none; -webkit-appearance: none; }
.field select { background: rgba(255, 255, 255, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f6e62' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(31, 110, 98, 0.14); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #a33a3a; }
.err { display: none; color: #9b2f2f; font-size: 0.85rem; margin-top: 6px; }
.field.bad .err { display: block; }
.form-ok { display: none; padding: 26px 28px; border-radius: 24px; background: var(--paper); border: 1px solid var(--gold); font-size: 1.25rem; font-weight: 300; color: var(--ink); box-shadow: var(--shadow); }
.form-ok.show { display: block; }
.hp { position: absolute; left: -9999px; }
.closing-line { font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; letter-spacing: -0.03em; color: var(--ink); max-width: 28ch; }

/* Footer */
.site-footer { background: linear-gradient(160deg, #072a27, #0d453e); color: #a9c4bb; padding-block: 56px 36px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: var(--star); opacity: 0.6; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.site-footer .wrap { position: relative; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.site-footer .brand { color: #fff; font-size: 1.5rem; font-weight: 300; }
.site-footer p { margin: 8px 0 0; font-size: 0.95rem; color: var(--gold-soft); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: flex-start; }
.foot-nav a { text-decoration: none; font-size: 0.95rem; color: #d4e4de; padding: 6px 0; }
.foot-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.copy { padding-top: 24px; font-size: 0.85rem; color: #8fb0a5; }
.copy a { text-decoration: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .closing-grid, .contact-grid, .vm, .split { grid-template-columns: 1fr; }
  .portrait-stack { max-width: 440px; margin-inline: auto; width: 100%; }
  .about-side { position: static; max-width: 440px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .sector { grid-template-columns: 1fr; gap: 16px; }
  .venture, .venture:nth-of-type(even) { grid-template-columns: 1fr; }
  .venture:nth-of-type(even) .v-img { order: 0; }
  .values li { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .btn { width: 100%; }
  .fact { padding: 20px 14px; }
  .glance li { grid-template-columns: 82px 1fr; }
  .details div { grid-template-columns: 1fr; gap: 0; }
  .sector-head { flex-direction: column; gap: 6px; }
  .portrait-stack .inset { border-width: 4px; }
  .approach span:nth-child(n) { padding-left: 0; }
  .venture { border-radius: 26px; padding: 16px; }
  .table-wrap { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .rv, .hero-in, .hero .portrait-stack { opacity: 1 !important; transform: none !important; }
  .route .path-fg { stroke-dashoffset: 0; }
  .route .plane, .route .pulse { display: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .head-in, .mini, .glass, .route, .facts, .glance, .venture, .vm > div, .form, .table-wrap, .tl .card { background: rgba(250, 253, 251, 0.94); }
}
.ph.shot img { filter: none; } .ph.shot::after { display: none; }
