:root {
  --ink: #1d1d1f;
  --muted: #6b4a54;
  --line: #e6cfd6;
  --gray: #f6e9ec;
  --navy: #2a0812;
  --navy-2: #6a1430;
  --accent: #ecc0ca;
  --accent-deep: #7b1e3a;
  --accent-soft: #f7dde2;
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", "Arial Hebrew", "Geeza Pro", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(1080px, 100% - 44px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 44px); }
.center { text-align: center; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(42, 8, 18, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: #f5f5f7; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-inner { width: min(1080px, 100% - 32px); margin-inline: auto; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .12em; font-size: 14px; }
.brand { direction: ltr; letter-spacing: .18em; font-size: 15px; }
.brand .mark { width: 26px; height: 26px; color: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 13px; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 2px; }
.lang button { font: inherit; font-size: 12px; color: #f5f5f7; background: none; border: 0; border-radius: 999px; padding: 4px 10px; cursor: pointer; opacity: .75; min-width: 34px; }
.lang button.active { background: #f5f5f7; color: var(--navy); opacity: 1; font-weight: 600; }
.menu-btn { display: none; width: 36px; height: 36px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; inset-inline: 9px; height: 1.5px; background: #f5f5f7; transition: transform .25s; }
.menu-btn span:first-child { top: 14px; }
.menu-btn span:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Type ---------- */
h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.2; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
[dir="rtl"] .eyebrow { letter-spacing: .04em; }
.accent { color: var(--accent) !important; }
.lead { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.35; color: rgba(245,245,247,.8); max-width: 680px; margin-inline: auto; }
.sub { font-size: clamp(18px, 2vw, 22px); color: var(--muted); margin-top: 18px; max-width: 720px; }
.center .sub { margin-inline: auto; }
.big-text { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.4; color: var(--muted); margin-top: 26px; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(ellipse 90% 70% at 50% 30%, rgba(255,255,255,.08) 0%, transparent 60%), linear-gradient(transparent 60%, rgba(0,0,0,.35)), var(--navy); color: #f5f5f7; text-align: center; padding: 110px 22px 110px; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-logo { display: flex; align-items: center; gap: 22px; margin-bottom: 40px; color: var(--accent); animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero-logo .mark { width: clamp(84px, 13vw, 124px); height: auto; }
.hero-logo span { font-size: clamp(54px, 9vw, 84px); font-weight: 600; letter-spacing: .16em; line-height: 1; color: #f5f5f7; margin-right: -.16em; }
.hero h1 { margin-bottom: 20px; animation: rise 1.2s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead, .hero .cta-row, .hero .eyebrow { animation: rise 1.2s .2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.cta-row { display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 17px; border: 0; cursor: pointer; }
.btn-primary { background: var(--accent-deep); color: #fff; padding: 12px 26px; border-radius: 999px; font-weight: 600; transition: background .2s, transform .2s; }
.btn-primary:hover { background: #96284a; transform: scale(1.02); }
.btn-link { color: var(--accent-soft); }
.btn-link:hover span { text-decoration: underline; }
.chev { width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); display: inline-block; }
[dir="rtl"] .chev { transform: rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.white { background: #fdf8f9; }
.gray { background: var(--gray); }
.dark { background: var(--navy); color: #f5f5f7; }
.dark .sub { color: rgba(245,245,247,.65); }
.head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 860px; }
.head.center { margin-inline: auto; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: clamp(56px, 8vw, 96px); text-align: center; }
.stats div { padding: 0 12px; border-inline-start: 1px solid var(--line); }
.stats div:first-child { border: 0; }
.stats strong { display: block; font-size: clamp(44px, 7vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats span { display: block; color: var(--muted); font-size: 16px; margin-top: 6px; }

/* ---------- Services ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.card-wide { grid-column: 1 / -1; }
.card-dark { background: linear-gradient(135deg, var(--navy-2), var(--navy) 70%); color: #f5f5f7; }
.card .num { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent-deep); margin-bottom: 18px; text-transform: uppercase; }
.card h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.card-dark h3 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; }
.card p:last-child { color: var(--muted); font-size: 17px; max-width: 640px; }
.card-dark p:last-child { color: rgba(245,245,247,.72); font-size: 19px; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sectors div { background: rgba(123,30,58,.07); border-radius: var(--radius); padding: 44px 20px; text-align: center; font-size: clamp(18px, 2vw, 22px); font-weight: 600; }

/* ---------- Why ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.pillars div { border-top: 1px solid rgba(236,192,202,.4); padding-top: 24px; }
.pillars h3 { font-size: 24px; margin-bottom: 10px; }
.pillars p { color: rgba(245,245,247,.68); font-size: 17px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.role { color: var(--muted); font-size: 19px; margin-top: 10px; }
blockquote { margin-top: 36px; padding-inline-start: 20px; border-inline-start: 3px solid var(--accent-deep); font-size: clamp(20px, 2.3vw, 26px); line-height: 1.35; font-weight: 600; }
.founder-bio p { font-size: 18px; color: #424245; }
.founder-bio p + p { margin-top: 18px; }

/* ---------- Contact ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgba(123,30,58,.18); }
.form-end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: 15px; }
.contact-details { margin-top: 40px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 17px; color: var(--muted); }
.contact-details a { color: var(--ink); border-bottom: 1px solid var(--accent-deep); }

/* ---------- Footer ---------- */
.footer { background: #f3e2e7; border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 12px; color: var(--muted); }
.footer p + p { margin-top: 6px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .hero * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links { position: fixed; inset: 52px 0 auto 0; background: rgba(42,8,18,.97); flex-direction: column; gap: 0; padding: 8px 24px 20px; font-size: 20px; font-weight: 600; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); opacity: 1; }
  .founder { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bento, .pillars, .form { grid-template-columns: 1fr; }
  .pillars { gap: 32px; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .stats div { border: 0; }
  .lang button { padding: 4px 8px; min-width: 30px; }
}

/* Buttons on the dark hero */
.hero .btn-primary { background: #fff; color: var(--accent-deep); }
.hero .btn-primary:hover { background: var(--accent-soft); }

/* ---------- Logo silhouette behind the content ---------- */
/* Fixed, positioned above section backgrounds (z-index 0) but below the content (z-index 1). */
.ghost { position: fixed; z-index: 0; top: 50%; left: 50%; width: min(130vmin, 1100px); aspect-ratio: 1; margin: calc(min(130vmin, 1100px) / -2) 0 0 calc(min(130vmin, 1100px) / -2); pointer-events: none; color: #7b1e3a; opacity: .07; transition: color .8s ease, opacity .8s ease; will-change: transform; }
.ghost svg { width: 100%; height: 100%; }
.ghost.on-dark { color: #f3c9d3; opacity: .06; }
.hero > *, .section > *, .footer > * { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }
@media (max-width: 640px) { .ghost { width: 150vmin; margin: -75vmin 0 0 -75vmin; } }

/* ---------- Embossed 3D silhouette ---------- */
/* A light edge on the top-left and a soft shadow on the bottom-right make the mark look raised from the page. */
.ghost { opacity: 1; color: inherit; }
.ghost svg { position: absolute; inset: 0; transition: opacity .8s ease; }
.g-light { filter: drop-shadow(-5px -5px 6px rgba(255,255,255,.85)) drop-shadow(9px 12px 14px rgba(95,18,44,.16)); }
.g-dark { opacity: 0; filter: drop-shadow(-4px -4px 6px rgba(255,200,215,.18)) drop-shadow(10px 14px 18px rgba(0,0,0,.45)); }
.ghost.on-dark .g-light { opacity: 0; }
.ghost.on-dark .g-dark { opacity: 1; }

/* ---------- Burgundy that lightens toward the edges ---------- */
.hero { background:
  radial-gradient(ellipse 70% 60% at 50% 45%, rgba(10,0,4,.35) 0%, transparent 70%),
  radial-gradient(ellipse 130% 115% at 50% 50%, transparent 50%, rgba(214,120,150,.30) 100%),
  var(--navy); }
.dark { background-image: radial-gradient(ellipse 125% 110% at 50% 50%, transparent 45%, rgba(214,120,150,.24) 100%); }
.card-dark { background: radial-gradient(ellipse 120% 140% at 40% 50%, #2e0814 0%, #571229 50%, #9c3c5b 100%); }
.btn-primary { background: radial-gradient(ellipse 90% 140% at 50% 50%, #6a1430 35%, #b0506e 100%); }
.btn-primary:hover { background: radial-gradient(ellipse 90% 140% at 50% 50%, #7b1e3a 30%, #c2627f 100%); }
.nav { background: linear-gradient(90deg, rgba(120,36,64,.88), rgba(42,8,18,.82) 28%, rgba(42,8,18,.82) 72%, rgba(120,36,64,.88)); }

/* ---------- Shelyx astrolabe mark + name (mark left, name right, sized to the type) ---------- */
.mark { stroke-width: 2.8; --mark2: #e08aa4; }
.mark .m2 { stroke: var(--mark2); }
.mark .m2f { fill: var(--mark2); }
.mark .ecl { stroke-width: 2; }
.brand { gap: 9px; font-size: 19px; letter-spacing: .01em; font-weight: 600; }
.brand .mark { width: auto; height: 1.4em; color: #f5e3e8; stroke-width: 4.4; }
.brand .mark .ecl { stroke-width: 3.2; }
.hero-logo { gap: .3em; font-size: clamp(50px, 8.5vw, 80px); color: #f5e3e8; }
.hero-logo .mark { width: auto; height: 1.3em; }
.hero-logo span { font-size: 1em; letter-spacing: .01em; margin-right: 0; }

/* ---------- Opportunity section: three pillars ---------- */
.pillars-3 { grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .pillars-3 { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Founder: leadership-style card (photo, LinkedIn badge, name, role) + bio ---------- */
.founder { grid-template-columns: minmax(240px, 320px) 1fr; align-items: start; margin-top: 8px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.team-photo { position: relative; aspect-ratio: 1; background: radial-gradient(ellipse at 30% 25%, #9c3c5b, #571229 55%, #2e0814); display: grid; place-items: center; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-initials { font-size: 64px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.88); direction: ltr; }
.team-linkedin { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: transform .2s; }
.team-linkedin:hover { transform: scale(1.08); }
.team-linkedin svg { width: 22px; height: 22px; }
.team-info { padding: 16px 18px 18px; }
.team-info h3 { font-size: 18px; letter-spacing: 0; }
.team-info p { font-size: 15px; color: var(--muted); margin-top: 2px; }
.founder-bio blockquote { margin-top: 0; margin-bottom: 28px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .team-card { max-width: 340px; } }
.team-photo-link { position: absolute; inset: 0; }
.team-photo-link img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.team-card:hover .team-photo-link img { transform: scale(1.03); }
.founder-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 17px; font-weight: 600; color: var(--accent-deep); }
.founder-more:hover span { text-decoration: underline; }

/* ---------- Metallic 3D logo (light from the top-left, cast shadow bottom-right) ---------- */
.hero-logo .mark, .brand .mark { stroke: url(#lg-main); --mark2: url(#lg-pink); }
.hero-logo .mark circle[fill="currentColor"], .brand .mark circle[fill="currentColor"] { fill: url(#lg-main); }
.hero-logo .mark-g { filter: url(#lg-bevel); }
.brand .mark-g { filter: url(#lg-bevel-sm); }
.hero-logo span, .brand span {
  background: linear-gradient(160deg, #ffffff 0%, #f0cdd7 50%, #c48a9d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-logo span { filter: drop-shadow(1px 2px 2px rgba(0,0,0,.55)); }
.brand span { filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }

/* ---------- Logo story ---------- */
.logo-story { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.logo-art { display: grid; place-items: center; }
.logo-art img { width: 100%; max-width: 240px; height: auto; filter: drop-shadow(6px 10px 18px rgba(95,18,44,.18)); }
.logo-text { font-size: 18px; color: #424245; margin-top: 18px; max-width: 640px; }
#logo-story h2 { margin-bottom: 4px; }
@media (max-width: 860px) { .logo-story { grid-template-columns: 1fr; } .logo-art img { max-width: 150px; } }

/* ---------- Phones, tablets and foldables ---------- */
html { -webkit-tap-highlight-color: transparent; }
/* Notch / Dynamic Island / home indicator: keep content inside the safe area. */
.nav { padding-top: env(safe-area-inset-top); }
.nav-inner, .wrap, .wrap.narrow { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
@media (max-width: 860px) { .nav-links { inset: calc(52px + env(safe-area-inset-top)) 0 auto 0; max-height: calc(100svh - 52px - env(safe-area-inset-top)); overflow-y: auto; } }

/* Hover lifts only where there is a mouse; on touch screens they stick after a tap. */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; }
  .team-card:hover .team-photo-link img { transform: none; }
}

/* Comfortable touch targets. */
.menu-btn { width: 44px; height: 44px; }
.menu-btn span { inset-inline: 13px; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
@media (pointer: coarse) { .lang button { min-height: 32px; } }

/* Small phones and folded cover screens (Galaxy Z Fold, Surface Duo single screen). */
@media (max-width: 380px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .brand span { display: none; }
  .lang button { padding: 4px 6px; min-width: 28px; font-size: 11px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero { padding-inline: 16px; }
  .hero-logo { font-size: 42px; }
  .card { padding: 24px; }
}

/* Phones in landscape: the opening screen should not be taller than the screen. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(80px + env(safe-area-inset-top)); padding-bottom: 60px; }
  .hero-logo { font-size: 40px; margin-bottom: 20px; }
}


/* ---------- Logo story: bold closing phrase ---------- */
.logo-text strong { color: var(--ink); font-weight: 700; }

/* ---------- Founder photo: soft burgundy glow at the LinkedIn corner on hover ---------- */
.team-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 100% 100%, rgba(123,30,58,.62) 0%, rgba(123,30,58,.32) 22%, rgba(123,30,58,0) 48%);
  opacity: 0; transition: opacity .45s ease;
}
[dir="rtl"] .team-photo::after { background: radial-gradient(circle at 0% 100%, rgba(123,30,58,.62) 0%, rgba(123,30,58,.32) 22%, rgba(123,30,58,0) 48%); }
.team-linkedin { z-index: 2; }
@media (hover: hover) { .team-card:hover .team-photo::after { opacity: 1; } }
