/* ============================================================
   Sirin Space — design system
   Mood: House of Wisdom (minimal, whitespace, editorial)
   Brand: navy + gold, "The Wind beneath your Wings"
   ============================================================ */

:root {
  --navy:        #0b1c3d;
  --navy-deep:   #061225;
  --navy-soft:   #16305c;
  --gold:        #c9a24b;
  --gold-soft:   #e0c584;
  --gold-ink:    #86671b; /* deep gold for gold text on light backgrounds — meets WCAG AA */
  --paper:       #faf8f3;
  --paper-warm:  #f2ede3;
  --ink:         #1a1a1a;
  --muted:       #6c6a64;
  --line:        #e6e1d6;
  --white:       #ffffff;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --prose: 720px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p  { color: var(--muted); }
.serif { font-family: var(--font-serif); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.6rem;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-soft); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.4rem, 5vw, 3.5rem); }
.section { padding: clamp(5rem, 11vw, 9.5rem) 0; }
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.prose { max-width: var(--prose); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink); line-height: 1.55; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem clamp(1.4rem, 5vw, 3.5rem);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(11, 28, 61, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 0.85rem; padding-bottom: 0.85rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  color: rgba(255,255,255,0.82); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; position: relative; padding: 0.2rem 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold-soft); transition: width 0.3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-cta {
  border: 1px solid rgba(224,197,132,0.5); color: var(--gold-soft) !important;
  padding: 0.55rem 1.2rem !important; border-radius: 100px; letter-spacing: 0.06em;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: var(--navy-deep) !important; border-color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s var(--ease); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem; border-radius: 100px; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--ghost-light { border: 1px solid rgba(255,255,255,0.35); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy-deep); }
.arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img,
.hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,18,37,0.94) 0%, rgba(6,18,37,0.78) 45%, rgba(11,28,61,0.55) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 4rem; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  margin-top: 2rem; max-width: 46ch; font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,0.82); line-height: 1.6;
}
.hero__actions { margin-top: 2.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__wind {
  margin-top: 3.5rem; display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--gold-soft);
}
.hero__wind::before { content: ""; width: 46px; height: 1px; background: var(--gold); }
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1;
  color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; }
@keyframes cue { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   PHILOSOPHY quote block
   ============================================================ */
.philosophy { background: var(--paper); text-align: center; }
.philosophy .quote {
  font-family: var(--font-serif); font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.2; color: var(--ink); max-width: 20ch; margin: 0 auto; letter-spacing: -0.015em;
}
.philosophy .quote em { font-style: italic; color: var(--gold-ink); }
.philosophy .attribution { margin-top: 2.2rem; font-size: 0.95rem; color: var(--muted); }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--navy); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold-soft); line-height: 1; }
.stat__label { margin-top: 0.9rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 2.6rem 2.2rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(11,28,61,0.4); border-color: transparent; }
.svc__pct { font-family: var(--font-serif); font-size: 3rem; color: var(--gold-ink); line-height: 1; }
.svc h3 { margin: 1.1rem 0 0.9rem; }
.svc p { font-size: 0.96rem; }
.svc__tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc__tags span { font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); }

/* ============================================================
   SPLIT (image + text) — used for About / case studies
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; border-radius: 6px; }
.split__body h2 { margin-bottom: 1.5rem; }

/* founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.founder { background: var(--paper-warm); border-radius: 6px; overflow: hidden; }
.founder img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; }
.founder__cap { padding: 1.4rem 1.5rem; }
.founder__cap .name { font-family: var(--font-serif); font-size: 1.3rem; }
.founder__cap .role { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); margin-top: 0.3rem; }
.founder__cap p { font-size: 0.9rem; margin-top: 0.8rem; }

/* the team */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 1rem; }
.team-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(11,28,61,0.45); }
.team-card__media { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-card__media--empty { display: flex; align-items: center; justify-content: center; background: var(--navy); }
.team-card__media--empty span { font-family: var(--font-serif); font-size: 3rem; color: var(--gold-soft); }
.team-card__cap { padding: 1.1rem 1.2rem; }
.team-card__cap .role { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.team-card__cap .name { font-family: var(--font-serif); font-size: 1.15rem; margin-top: 0.25rem; }
.team-card__cap p { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.5; }

/* ============================================================
   WORK — client grid + case studies
   ============================================================ */
.work { background: var(--paper-warm); }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.client {
  background: var(--white); border-radius: 6px; padding: 1.8rem 1.5rem; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.client:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(11,28,61,0.45); }
.client .name { font-family: var(--font-serif); font-size: 1.15rem; }
.client .meta { font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; }
.client .sector { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }

/* client logo wall — grayscale, colourises on hover */
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 3rem;
  background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.logo-cell {
  background: var(--white); aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem 1.4rem;
}
.logo-cell img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: grayscale(1); opacity: 0.55;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.logo-cell:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 960px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } .logo-cell { padding: 1.1rem 1rem; } }
@media (max-width: 380px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

.case {
  margin-top: 4rem; background: var(--navy); color: var(--white); border-radius: 8px; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
}
.case__media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.case__body { padding: clamp(2.2rem, 4vw, 3.5rem); align-self: center; }
.case__body h3 { color: var(--white); margin: 0.6rem 0 1.2rem; }
.case__body p { color: rgba(255,255,255,0.78); }
.case__stats { display: flex; gap: 2.5rem; margin: 1.8rem 0; }
.case__stats b { font-family: var(--font-serif); font-size: 2rem; color: var(--gold-soft); display: block; line-height: 1; }
.case__stats small { font-size: 0.75rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }
.testi { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--gold-soft); border-left: 2px solid var(--gold); padding-left: 1.2rem; margin-top: 1.5rem; }

/* ============================================================
   PROGRAMS
   ============================================================ */
.prog__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 3rem; }
.prog {
  display: flex; gap: 1.3rem; padding: 1.7rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 6px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.prog:hover { border-color: var(--gold); transform: translateY(-3px); }
.prog__no { font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold-ink); line-height: 1; min-width: 2.4rem; }
.prog h4 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.4rem; }
.prog p { font-size: 0.88rem; }
.prog .cat { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-top: 0.7rem; display: inline-block; }

.wanted { margin-top: 3.5rem; }
.wanted__list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.wanted__list span {
  font-size: 0.85rem; padding: 0.6rem 1.1rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 100px; transition: 0.3s var(--ease);
}
.wanted__list span:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* PM showcase — client example cards with images */
.pm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
.pm-card {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pm-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.pm-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pm-card figcaption { padding: 0.85rem 0.95rem; display: flex; flex-direction: column; gap: 0.3rem; }
.pm-card figcaption b { font-size: 0.92rem; color: var(--navy); line-height: 1.3; }
.pm-card figcaption span { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .pm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pm-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SIRIN TABLE
   ============================================================ */
.table-sec { background: var(--navy-deep); color: var(--white); position: relative; overflow: hidden; }
.table-sec .split__media img { border: 1px solid rgba(255,255,255,0.1); }
.table-sec h2 { color: var(--white); }
.table-sec p { color: rgba(255,255,255,0.78); }
.table-tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.table-tags span { font-family: var(--font-serif); font-style: italic; color: var(--gold-soft); font-size: 1.05rem; }
.table-tags span:not(:last-child)::after { content: "·"; margin-left: 0.7rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { text-align: center; }
.partners__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.partners__row .p {
  padding: 1.2rem 2rem; border: 1px solid var(--line); border-radius: 6px; background: var(--white);
  font-family: var(--font-serif); font-size: 1.2rem;
}
.partners__row .p small { display: block; font-family: var(--font-sans); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.3rem; text-transform: none; }

/* ============================================================
   CONTACT / CTA
   ============================================================ */
/* where we're going · 2027 */
.future { background: var(--paper-warm); text-align: center; }
.future__inner { max-width: 46ch; margin: 0 auto; }
.future h2 { margin-bottom: 1.2rem; }
.future p { color: var(--muted); }
.future__stat { margin-top: 2.4rem; }
.future__stat b { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold-ink); display: block; line-height: 1; }
.future__stat small { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 0.6rem; }

.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); text-align: center;
}
.cta h2 { color: var(--white); max-width: 16ch; margin: 0 auto 1.4rem; }
.cta h2 em { font-style: italic; color: var(--gold-soft); }
.cta p { color: rgba(255,255,255,0.78); max-width: 46ch; margin: 0 auto; }
.cta__methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 3rem 0 2.5rem; }
.cta__method { text-align: left; }
.cta__method .k { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.cta__method .v { font-family: var(--font-serif); font-size: 1.25rem; margin-top: 0.35rem; }
.cta__method a:hover { color: var(--gold-soft); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 3rem 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem; }
.footer img { height: 34px; }
.footer .fnote { font-size: 0.82rem; }
.footer .wings { font-family: var(--font-serif); font-style: italic; color: var(--gold-soft); }

/* ============================================================
   reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue span { animation: none; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .services__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .prog__grid { grid-template-columns: 1fr; }
  .split, .svc-head { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--rev .split__media { order: 0; }
  .case { grid-template-columns: 1fr; }
  .case__media img { min-height: 240px; }
  .founders { grid-template-columns: 1fr; }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 1.6rem; padding: 2rem 2.4rem;
    transform: translateX(100%); transition: transform 0.4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.05rem; }
  .nav-toggle { display: block; z-index: 101; }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .clients__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .cta__methods { flex-direction: column; align-items: center; }
  .cta__method { text-align: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
