@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Syne:wght@600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #F9F9F9;
  --bg-dark:  #0C1526;
  --bg-card:  #FFFFFF;
  --text:     #111827;
  --muted:    #6B7280;
  --subtle:   #9CA3AF;
  --accent:   #B8922E;
  --accent-a: rgba(184,146,46,.10);
  --border:   #E5E7EB;
  --white:    #FFFFFF;
  --max-w:    1120px;
  --nav-h:    64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── HEADER / NAV ── */

header {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(249,249,249,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif; font-size: 1.125rem; font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
  display: flex; align-items: center; gap: .625rem;
}

.nav-logo-mark {
  width: 30px; height: 30px; border-radius: 4px;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: var(--accent); letter-spacing: 0;
}

.nav-links { display: flex; align-items: center; gap: 2.25rem; }

.nav-links li a {
  font-size: .875rem; font-weight: 500; color: var(--muted);
  letter-spacing: .01em; transition: color .2s;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--text); }

/* ── HERO ── */

.hero {
  background: var(--bg-dark); color: var(--white);
  padding: 7rem 2rem 6rem; position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
}

.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 2; width: 100%;
}

.hero-img {
  position: absolute; inset: 0; z-index: 1;
  object-fit: cover; width: 100%; height: 100%; opacity: .12;
}

.hero-geo {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 55%; max-width: 580px; z-index: 1; opacity: .07; pointer-events: none;
}

.hero-eyebrow {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -.03em;
  max-width: 760px; margin-bottom: 1.75rem;
}
.hero h1 .accent { color: var(--accent); }

.hero-lead {
  font-size: 1.0625rem; font-weight: 300;
  color: rgba(255,255,255,.6); max-width: 440px;
  line-height: 1.8; margin-bottom: 2.5rem;
}

/* ── BUTTONS ── */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; font-size: .875rem; font-weight: 500;
  letter-spacing: .02em; border-radius: 3px; transition: all .2s;
  cursor: pointer; border: none;
}
.btn-gold { background: var(--accent); color: var(--white); }
.btn-gold:hover { background: #9e7a24; }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75); background: transparent; }
.btn-ghost:hover { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-dark { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-dark:hover { border-color: var(--text); }

/* ── SECTIONS ── */

.section { padding: 5.5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-body  { color: rgba(255,255,255,.55); }
.section--white { background: var(--white); }

.section-label {
  display: inline-block; font-size: .6875rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .875rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.15; margin-bottom: 1.25rem; max-width: 640px;
}

.section-body { color: var(--muted); max-width: 540px; line-height: 1.85; }

/* ── SPLIT ── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── CARDS ── */

.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; padding: 2rem; transition: border-color .2s;
}
.card:hover { border-color: var(--accent); }
.card-icon { width: 36px; height: 36px; margin-bottom: 1.25rem; }
.card h3 { font-family: 'Syne', sans-serif; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .625rem; }
.card p { font-size: .9375rem; color: var(--muted); line-height: 1.75; }
.card-cta { display: inline-flex; align-items: center; gap: .375rem; margin-top: 1.25rem; font-size: .8125rem; font-weight: 500; color: var(--accent); transition: gap .2s; }
.card-cta:hover { gap: .625rem; }

/* ── PHILOSOPHY ITEMS ── */

.philosophy-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3.5rem; }
@media (max-width: 640px) { .philosophy-items { grid-template-columns: 1fr; } }

.philosophy-item { border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.philosophy-item h4 { font-family: 'Syne', sans-serif; font-size: .9375rem; font-weight: 600; margin-bottom: .5rem; color: rgba(255,255,255,.9); }
.philosophy-item p { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.75; }

/* ── PAGE HERO (inner pages) ── */

.page-hero { background: var(--bg-dark); color: var(--white); padding: 5rem 2rem 4rem; }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero .breadcrumb { font-size: .8125rem; color: rgba(255,255,255,.4); margin-bottom: 1.5rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,.7); }
.page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.025em; margin-bottom: 1rem; }
.page-hero p { font-size: 1.0625rem; color: rgba(255,255,255,.6); max-width: 540px; line-height: 1.75; }
.page-hero-badges { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

.badge {
  font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6); padding: .25rem .75rem; border-radius: 99px;
}

/* ── APPROACH PAGE ── */

.approach-block { padding: 4rem 0; border-top: 1px solid var(--border); }
.approach-block:first-child { border-top: none; }
.approach-num { font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--border); line-height: 1; margin-bottom: .5rem; }

/* ── TECH STACK ── */

.tech-stack-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tech-tag { background: var(--accent-a); color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: .3125rem .75rem; border-radius: 3px; border: 1px solid rgba(184,146,46,.2); }

/* ── CAREERS ── */

.roles-list { margin-top: 3rem; }
.role-card {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--border);
  color: var(--text); transition: padding-left .25s;
}
.role-card:first-child { border-top: 1px solid var(--border); }
.role-card:hover { padding-left: .75rem; }
.role-name { font-family: 'Syne', sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: .25rem; }
.role-meta-badges { display: flex; gap: .625rem; flex-wrap: wrap; margin-top: .4rem; }
.role-meta-badges .badge { background: var(--bg); border-color: var(--border); color: var(--muted); }
.role-arrow { flex-shrink: 0; color: var(--muted); transition: color .2s, transform .2s; }
.role-card:hover .role-arrow { color: var(--accent); transform: translateX(4px); }

/* ── ROLE DETAIL ── */

.role-detail-content {
  max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start;
}
@media (max-width: 768px) { .role-detail-content { grid-template-columns: 1fr; gap: 2.5rem; } }

.role-section { margin-bottom: 2.5rem; }
.role-section h2 { font-family: 'Syne', sans-serif; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.role-section ul { display: flex; flex-direction: column; gap: .5rem; }
.role-section ul li { font-size: .9375rem; color: var(--muted); padding-left: 1.25rem; position: relative; line-height: 1.7; }
.role-section ul li::before { content: "–"; position: absolute; left: 0; color: var(--accent); }
.role-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }
.role-sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 1.75rem; }
.role-sidebar-box h3 { font-family: 'Syne', sans-serif; font-size: .9375rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.role-sidebar-box p { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }

/* ── CONTACT ── */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; padding-top: 4rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; } }
.contact-email-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.contact-email-link { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: color .2s; }
.contact-email-link:hover { color: var(--accent); }
.contact-note { margin-top: 2.5rem; background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 1.5rem; border-radius: 0 4px 4px 0; }
.contact-note p { font-size: .9375rem; color: var(--muted); line-height: 1.75; }

/* ── 404 ── */

.page-404-wrap { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; text-align: center; }
.page-404-inner { max-width: 480px; }
.error-num { font-family: 'Syne', sans-serif; font-size: clamp(5rem, 15vw, 8rem); font-weight: 800; line-height: 1; color: var(--border); margin-bottom: 1rem; }
.page-404-inner h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .75rem; }
.page-404-inner p { color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }

/* ── FOOTER ── */

footer { background: var(--bg-dark); color: rgba(255,255,255,.4); padding: 3rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: .5rem; }
.footer-brand .mark { width: 24px; height: 24px; background: var(--accent); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: .625rem; font-weight: 800; color: var(--white); }
.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav a { font-size: .8125rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-nav a:hover { color: rgba(255,255,255,.75); }
.footer-bottom { margin-top: 1.75rem; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.25); }
.footer-tagline { font-size: .6875rem; color: rgba(255,255,255,.2); text-align: right; max-width: 320px; line-height: 1.5; }

/* ── IMAGES ── */

.img-hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: 4px; }
.img-section { width: 100%; object-fit: cover; border-radius: 4px; }

/* ── RESPONSIVE NAV ── */

@media (max-width: 640px) {
  .nav-links { gap: 1.25rem; }
  .nav-links li:nth-child(n+3) { display: none; }
  .hero { padding: 5rem 1.25rem 4rem; }
  .section { padding: 3.5rem 1.25rem; }
}
