/* Nawat Venture Studio — public site
   Tokens follow Brand Guidelines 1.0: charcoal / ivory / copper / sand / slate,
   DejaVu Serif for display, DejaVu Sans for text. */

@font-face { font-family: "Nawat Serif"; src: url("../fonts/dejavu-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nawat Sans"; src: url("../fonts/dejavu-sans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nawat Sans"; src: url("../fonts/dejavu-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --charcoal: #151A1B;
  --charcoal-2: #1D2425;
  --ivory: #F4F0E8;
  --copper: #B88963;
  --sand: #D9CAB8;
  --slate: #64706D;
  --line-dark: rgba(244, 240, 232, .14);
  --line-light: rgba(21, 26, 27, .14);
  --serif: "Nawat Serif", Georgia, "Times New Roman", serif;
  --sans: "Nawat Sans", Arial, "Segoe UI", Tahoma, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lang-ar body, body.lang-ar { line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
::selection { background: var(--sand); color: var(--charcoal); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
[hidden] { display: none !important; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ivory); color: var(--charcoal); padding: 10px 16px; }
.skip:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.muted { color: var(--slate); }
.small { font-size: 14px; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 .4em; }
.lang-ar .display { font-family: var(--sans); letter-spacing: 0; line-height: 1.35; }
.h-xxl { font-size: clamp(38px, 5.4vw, 64px); }
.h-xl  { font-size: clamp(32px, 4.2vw, 52px); }
.h-lg  { font-size: clamp(28px, 3.2vw, 40px); }
.h-md  { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 1.6em 0 .5em; }
.lang-ar .h-md { font-family: var(--sans); font-weight: 700; font-size: 22px; }
.h-md:first-child { margin-top: 0; }
.h-sm  { font-size: 20px; font-weight: 700; margin: 0 0 .5em; line-height: 1.35; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 62ch; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin: 0 0 18px; display: block; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: 15px; }
.section-ivory .eyebrow, .section-sand .eyebrow { color: #8A6242; } /* darker copper for contrast on light */
.prose p { margin: 0 0 1.1em; max-width: 68ch; }
.prose .lead { margin-bottom: 1em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border: 1px solid transparent; border-radius: var(--radius);
  font: 700 15px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-dark { background: var(--charcoal); color: var(--ivory); }
.btn-dark:hover { background: #2a3233; }
.btn-light { background: var(--ivory); color: var(--charcoal); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { border-color: rgba(244, 240, 232, .4); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--charcoal); color: var(--ivory); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand img { width: 180px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav ul a { text-decoration: none; font-size: 15px; color: rgba(244, 240, 232, .82); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--ivory); border-bottom-color: var(--copper); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-link { font-size: 15px; text-decoration: none; color: var(--sand); }
.lang-link:hover { color: var(--ivory); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); width: 44px; height: 44px; cursor: pointer; padding: 0; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: auto; transition: transform .3s var(--ease); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-ivory { background: var(--ivory); color: var(--charcoal); }
.section-sand { background: var(--sand); color: var(--charcoal); }
.section-dark { background: var(--charcoal); color: var(--ivory); }
.muted-light { color: rgba(244, 240, 232, .72); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.row-head .lead { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ---------- hero ---------- */
.hero { background: var(--charcoal); color: var(--ivory); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 7fr 4fr; align-items: center; min-height: min(78vh, 760px); gap: 40px; padding-top: 64px; padding-bottom: 80px; }
.hero-title { font-size: clamp(44px, 7vw, 92px); line-height: 1.04; max-width: 11ch; }
.lang-ar .hero-title { line-height: 1.3; max-width: 13ch; }
.hero-text { font-size: clamp(18px, 1.7vw, 22px); color: rgba(244, 240, 232, .78); max-width: 52ch; margin: 28px 0 0; }

/* "The opening": a single vertical gap of warm light — the brand's graphic device */
.hero-opening { position: relative; height: min(64vh, 600px); display: flex; justify-content: center; }
.hero-opening .slit {
  width: 18px; height: 100%;
  background: linear-gradient(180deg, rgba(184,137,99,0) 0%, rgba(217,202,184,.35) 18%, #F4DDBF 52%, #D9A777 78%, rgba(184,137,99,.2) 100%);
  box-shadow: 0 0 60px 12px rgba(184, 137, 99, .28), 0 0 160px 40px rgba(184, 137, 99, .12);
  transform-origin: center; animation: open 1.4s var(--ease) .2s both;
}
.hero-opening .seed {
  position: absolute; bottom: -2%; width: 240px; height: 120px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(217, 167, 119, .42) 0%, rgba(184, 137, 99, 0) 70%);
  animation: fade .4s ease .9s both;
}
@keyframes open { from { transform: scaleX(.1); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.opening-mini { display: block; width: 2px; height: 56px; background: var(--copper); margin: 0 0 28px; }
.center .opening-mini { margin-inline: auto; }

/* ---------- approach ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.step { padding: 34px 28px 8px 0; position: relative; }
.lang-ar .step { padding: 34px 0 8px 28px; }
.step::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 48px; height: 2px; background: var(--copper); }
.step-num { font-family: var(--serif); font-size: 15px; color: var(--copper); display: block; margin-bottom: 26px; }
.step-title { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 12px; }
.lang-ar .step-title { font-family: var(--sans); font-weight: 700; font-size: 24px; }
.step p { color: rgba(244, 240, 232, .72); margin: 0; font-size: 16px; }

/* ---------- stats ---------- */
.stats-band { padding: 56px 0; border-bottom: 1px solid var(--line-light); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.stat-value { display: block; font-family: var(--serif); font-size: 52px; line-height: 1; }
.stat-label { display: block; margin-top: 10px; color: var(--slate); }

/* ---------- ventures ---------- */
.venture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.venture-card { background: #fff; border: 1px solid var(--line-light); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.section-sand .venture-card { background: var(--ivory); }
.venture-card:hover { border-color: var(--charcoal); }
.vc-link { display: flex; flex-direction: column; height: 100%; padding: 28px; text-decoration: none; min-height: 280px; }
.vc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.vc-logo { max-height: 44px; max-width: 140px; object-fit: contain; }
.vc-initial { width: 48px; height: 48px; display: grid; place-items: center; background: var(--charcoal); color: var(--ivory); font-family: var(--serif); font-size: 22px; }
.vc-name { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 10px; line-height: 1.2; }
.lang-ar .vc-name { font-family: var(--sans); font-weight: 700; font-size: 24px; }
.vc-tagline { margin: 0; color: #3b4344; }
.vc-foot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.vc-arrow { font-size: 20px; transition: transform .3s var(--ease); }
.lang-ar .vc-arrow { transform: scaleX(-1); }
.venture-card:hover .vc-arrow { transform: translateX(4px); }
.lang-ar .venture-card:hover .vc-arrow { transform: scaleX(-1) translateX(4px); }

/* status always carries a written label, never colour alone */
.phase-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; border-radius: 99px; color: var(--slate); }
.lang-ar .phase-tag { letter-spacing: 0; font-size: 13px; }
.phase-build, .phase-launch { color: var(--charcoal); }
.phase-launch { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 18px; border: 1px solid var(--line-light); border-radius: 99px; text-decoration: none; font-size: 15px; }
.chip:hover { border-color: var(--charcoal); }
.chip.is-on { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.empty-note { border: 1px dashed rgba(21, 26, 27, .3); padding: 48px; max-width: 720px; }
.empty-note p { margin: 0 0 16px; font-size: 19px; }
.empty-note p:last-child { margin-bottom: 0; }

/* ---------- share an idea ---------- */
.idea-lines { list-style: none; padding: 0; margin: 32px 0 0; }
.idea-lines li { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); padding: 14px 0; border-top: 1px solid rgba(21, 26, 27, .2); }
.lang-ar .idea-lines li { font-family: var(--sans); }
.idea-lines li:last-child { border-bottom: 1px solid rgba(21, 26, 27, .2); }

.cta-band .lead { margin: 0 auto 32px; }

/* ---------- inner pages ---------- */
.page-head { background: var(--charcoal); color: var(--ivory); padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.page-head .lead { margin-bottom: 0; }
.page-head .btn { margin-top: 24px; }
.crumbs { margin: 0 0 28px; font-size: 15px; }
.crumbs a { color: var(--sand); text-decoration: none; }
.crumbs a:hover { color: var(--ivory); }
.vh-row { display: flex; gap: 32px; align-items: center; }
.vh-logo { width: 104px; height: 104px; object-fit: contain; background: var(--ivory); padding: 14px; flex: none; }
.cover-wrap { background: linear-gradient(var(--charcoal) 50%, var(--ivory) 50%); }
.cover { width: 100%; max-height: 560px; object-fit: cover; }

.venture-body { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts { border-top: 2px solid var(--charcoal); padding-top: 24px; position: sticky; top: 110px; }
.facts dl { margin: 0 0 24px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-top: 20px; }
.lang-ar .facts dt { letter-spacing: 0; }
.facts dd { margin: 8px 0 0; }
.phase-track { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 0; }
.phase-track li { padding: 10px 0 10px 22px; position: relative; color: var(--slate); border-inline-start: 2px solid var(--line-light); padding-inline-start: 20px; padding-inline-end: 0; }
.phase-track li.done { color: var(--charcoal); border-color: var(--charcoal); }
.phase-track li.now { color: var(--charcoal); font-weight: 700; border-color: var(--copper); }
.phase-track li.now::after { content: " ●"; color: var(--copper); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.news-card a { text-decoration: none; display: block; }
.news-card img, .news-ph { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; margin-bottom: 18px; background: var(--sand); display: block; }
.news-ph { background: linear-gradient(90deg, var(--charcoal) 0 48%, #D9A777 48% 52%, var(--charcoal) 52%); }
.news-card time { font-size: 14px; color: var(--slate); display: block; margin-bottom: 8px; }
.news-card p { color: #3b4344; margin: 0 0 12px; }
.news-card .more { font-weight: 700; font-size: 15px; }
.news-card a:hover h2 { text-decoration: underline; }
.article-body { font-size: 18px; }

/* ---------- forms ---------- */
.form-layout { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.req { color: #8A6242; }
.hint { margin: -4px 0 0; font-size: 14px; color: var(--slate); }
input[type=text], input:not([type]), input[type=email], input[type=tel], select, textarea {
  width: 100%; font: 16px/1.5 var(--sans); color: var(--charcoal); background: #fff;
  border: 1px solid rgba(21, 26, 27, .28); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--copper); outline-offset: 0; border-color: var(--charcoal); }
[aria-invalid="true"] { border-color: #A3412F !important; box-shadow: 0 0 0 1px #A3412F; }
label.check[aria-invalid="true"] { box-shadow: none; color: #A3412F; }
input[type=file] { font: 15px var(--sans); padding: 10px 0; }
.radio-row { display: flex; gap: 24px; min-height: 48px; align-items: center; }
.radio-row label { font-weight: 400; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.check input, .radio-row input { width: 20px; height: 20px; accent-color: var(--charcoal); flex: none; margin: 2px 0 0; }
.rule { border: 0; border-top: 1px solid var(--line-light); margin: 8px 0; }
.form .btn { justify-self: start; }
.side-card { background: var(--sand); padding: 32px; position: sticky; top: 110px; }
.next-steps { padding-inline-start: 20px; margin: 0; display: grid; gap: 12px; }
.notice { padding: 16px 20px; margin-bottom: 24px; border-inline-start: 3px solid; background: #fff; }
.notice-ok { border-color: #3F6B4E; }
.notice-err { border-color: #A3412F; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding: 80px 0 32px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 40px; }
.footer-brand img { width: 200px; margin-bottom: 20px; }
.footer-name { margin: 0; font-weight: 700; }
.site-footer .muted { color: rgba(244, 240, 232, .62); margin: 4px 0 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a, .footer-brand a { text-decoration: none; color: rgba(244, 240, 232, .82); }
.footer-col a:hover, .footer-brand a:hover { color: var(--ivory); text-decoration: underline; }
.footer-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); margin: 0 0 10px; }
.lang-ar .footer-label { letter-spacing: 0; }
.footer-col p { margin: 0 0 22px; }
.inline-list { display: flex !important; gap: 18px !important; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: rgba(244, 240, 232, .55); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(244, 240, 232, .7); text-decoration: none; }
.footer-bottom a:hover { color: var(--ivory); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav ul { gap: 20px; }
  .venture-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 84px 0 0 0; background: var(--charcoal); flex-direction: column; align-items: stretch;
    padding: 24px var(--gutter) 40px; gap: 24px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .lang-link { padding: 8px 0; font-size: 18px; }
  .nav-open { overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; }
  .hero-opening { position: absolute; inset-inline-end: 8%; top: 0; height: 100%; opacity: .5; pointer-events: none; }
  .hero { position: relative; }
  .hero-copy { position: relative; z-index: 1; }
  .split, .venture-body, .form-layout { grid-template-columns: 1fr; }
  .facts, .side-card { position: static; }
  .row-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .site-nav { inset: 72px 0 0 0; }
  .brand img { width: 160px; }
  .venture-grid, .news-grid, .steps, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .step { padding-inline-end: 0; }
  .vh-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .empty-note, .side-card { padding: 28px 22px; }
  .btn-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
