@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --charcoal: #1E2A35;
  --slate: #2E3F4F;
  --teal: #2A8C8C;
  --teal-light: #3DAFAF;
  --teal-muted: rgba(42,140,140,0.12);
  --off-white: #F5F7F8;
  --white: #FFFFFF;
  --text-primary: #1E2A35;
  --text-secondary: #4A5D6E;
  --text-muted: #7A8F9E;
  --border: rgba(30,42,53,0.1);
  --border-teal: rgba(42,140,140,0.25);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.wordmark span { color: var(--teal-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-light); }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal) !important;
  background: var(--teal-light);
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,140,140,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,140,140,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--teal-light);
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--teal-light); }
.btn-ghost::after { content: '→'; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--border-teal); }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.corridor-badge {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
}
.corridor-badge span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.corridor-badge strong {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* SECTIONS COMMON */
section { padding: 6rem 0; }
section.bg-off { background: var(--off-white); }
section.bg-dark { background: var(--charcoal); }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--teal);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3.5rem;
}
.section-sub.light { color: rgba(255,255,255,0.6); }

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  transition: background 0.25s;
  position: relative;
}
.service-card:hover { background: var(--off-white); }

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--teal-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  background: var(--teal-muted);
  color: var(--teal);
}

/* WHY RJN */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-points { display: flex; flex-direction: column; gap: 1.75rem; }

.why-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--teal-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
}

.why-point h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.why-point p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.why-visual {
  background: var(--charcoal);
  border-radius: 12px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.why-visual::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,140,140,0.15) 0%, transparent 70%);
}

.corridor-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.corridor-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.corridor-node.active {
  border-color: var(--border-teal);
  background: rgba(42,140,140,0.08);
}

.node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.corridor-node.active .node-dot { background: var(--teal-light); }

.node-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.corridor-node.active .node-label { color: var(--white); }

.node-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.1rem;
}
.corridor-node.active .node-sub { color: var(--teal-light); }

.corridor-line {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  margin-left: 2.1rem;
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.industry-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.25s, transform 0.25s;
}
.industry-item:hover {
  border-color: var(--border-teal);
  transform: translateY(-3px);
}

.industry-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  background: var(--teal-muted);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.industry-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  border-color: var(--border-teal);
  box-shadow: 0 4px 24px rgba(42,140,140,0.08);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--teal-light);
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.team-creds {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* CLIENTS */
.clients-strip {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.client-logo-placeholder {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.client-logo-placeholder:hover { opacity: 1; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-office h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}

.contact-office p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.contact-office a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.contact-office a:hover { color: var(--teal-light); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group select option { background: var(--charcoal); }

.btn-submit {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--teal-light); }

/* FOOTER */
footer {
  background: #141E27;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--teal-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal-light); }

/* MOBILE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* FADE IN ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
