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

:root {
  --navy:        #0A1628;
  --navy-mid:    #1B3A6B;
  --steel:       #4A6080;
  --steel-light: #8DA4BF;
  --cold-white:  #F8F9FB;
  --off-white:   #EEF1F5;
  --accent:      #C8A96E;
  --border:      rgba(10, 22, 40, 0.1);
  --pad-x:       4rem;
  --pad-x-sm:    1.25rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cold-white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ════════════════════════════════
   NAV
════════════════════════════════ */
#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad-x);
  border-bottom: 0.5px solid var(--border);
  position: sticky; top: 0;
  background: rgba(248,249,251,0.96);
  backdrop-filter: blur(8px);
  z-index: 200;
}

.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }

.logo-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px; font-weight: 700;
  color: var(--cold-white); letter-spacing: -0.5px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 500;
  color: var(--navy); letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-sub {
  font-size: 8px; font-weight: 500;
  letter-spacing: 0.16em; color: var(--steel);
  text-transform: uppercase; margin-top: 2px;
  white-space: nowrap;
}

.nav-right { display: flex; align-items: center; }


/* ── NAV BLUR OVERLAY ── */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 22, 40, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 198;
}
.nav-overlay.open { display: block; }

.nav-burger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--navy); transition: all 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-dropdown {
  display: none; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(248,249,251,0.98);
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(8px);
  padding: 0.5rem var(--pad-x) 1.5rem;
  z-index: 199;
}
.nav-dropdown.open { display: flex; }

.nav-dropdown a {
  font-size: 14px; font-weight: 400;
  color: var(--steel); text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.8rem 0;
  border-bottom: 0.5px solid var(--border);
  transition: color 0.2s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { color: var(--navy); }

.nav-lang-switcher {
  display: flex; align-items: center; gap: 0;
  padding-top: 1.25rem; margin-top: 0.5rem;
  border-top: 0.5px solid var(--border);
}

.lang-opt {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--steel-light); text-decoration: none;
  padding: 4px 10px 4px 0; transition: color 0.2s;
}
.lang-opt:not(:last-child)::after {
  content: '·';
  margin-left: 10px;
  color: var(--border);
}
.lang-opt:hover { color: var(--navy); }
.lang-active { color: var(--navy) !important; font-weight: 600; }


.nav-cta {
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 0.1em !important; text-transform: uppercase !important;
  color: var(--navy) !important;
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  padding: 5rem var(--pad-x) 5rem;
  border-bottom: 0.5px solid var(--border);
}

.hero-rule {
  width: 48px; height: 1.5px;
  background: var(--accent);
  margin-bottom: 2rem;
  transform-origin: left;
  animation: ruleIn 0.9s ease forwards;
}
@keyframes ruleIn {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.hero-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 400; line-height: 1.15;
  color: var(--navy); max-width: 680px;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--navy-mid); }

.hero-sub {
  font-size: 15px; font-weight: 300;
  line-height: 1.8; color: var(--steel);
  max-width: 520px; margin-bottom: 2.5rem;
}

.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 4rem; }

.btn-primary {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  background: var(--navy); color: var(--cold-white);
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s; display: inline-block;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--navy-mid); }

.btn-ghost {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.06em; color: var(--steel);
  text-decoration: none; display: flex;
  align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer;
  transition: color 0.2s; white-space: nowrap;
}
.btn-ghost span { font-size: 16px; }
.btn-ghost:hover { color: var(--navy); }

/* Stats — inline flow (no absolute positioning) */
.stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--border);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 400;
  color: var(--navy); line-height: 1;
}
.stat-label {
  font-size: 11px; font-weight: 400;
  color: var(--steel-light); letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ════════════════════════════════
   SECTIONS
════════════════════════════════ */
.section {
  padding: 5rem var(--pad-x);
  border-bottom: 0.5px solid var(--border);
}

.section-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 3rem;
}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 0 2rem 0 0;
  border-right: 0.5px solid var(--border);
}
.service-card:first-child { padding-left: 0; }
.service-card:not(:first-child) { padding-left: 2rem; }
.service-card:last-child { border-right: none; padding-right: 0; }
.service-card:hover .service-arrow { transform: translateX(4px); }

.service-num {
  font-size: 11px; font-weight: 500;
  color: var(--steel-light); letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 400;
  color: var(--navy); margin-bottom: 0.75rem; line-height: 1.3;
}
.service-desc {
  font-size: 13px; font-weight: 300;
  line-height: 1.8; color: var(--steel); margin-bottom: 1.25rem;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; padding: 3px 8px;
  border: 0.5px solid rgba(10,22,40,0.2);
  color: var(--steel);
}
.service-arrow {
  display: inline-block; font-size: 18px;
  color: var(--accent); margin-top: 1rem;
  transition: transform 0.2s;
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
.about-intro {
  max-width: 720px;
  margin-bottom: 4rem;
}
.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 400;
  color: var(--navy); line-height: 1.2; margin-bottom: 1.75rem;
}
.about-body {
  font-size: 14px; font-weight: 300;
  line-height: 1.9; color: var(--steel); margin-bottom: 1.2rem;
}
.about-body em {
  font-family: 'Playfair Display', serif;
  font-style: italic; color: var(--navy-mid);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 0.5px solid var(--border);
}

.founder-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding: 3rem 3rem 3rem 0;
  border-right: 0.5px solid var(--border);
}
.founder-card:last-child {
  border-right: none;
  padding-left: 3rem;
  padding-right: 0;
}

.founder-portrait {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; object-position: top;
  border-radius: 2px; filter: grayscale(10%); display: block;
}
.founder-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 500;
  color: var(--navy); margin-bottom: 3px;
}
.founder-role {
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
}

.credentials { display: flex; flex-direction: column; }
.cred-item {
  padding: 0.6rem 0;
  border-top: 0.5px solid var(--border);
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 0.75rem;
}
.cred-item:last-child { border-bottom: 0.5px solid var(--border); }
.cred-label {
  font-size: 10px; font-weight: 500;
  color: var(--navy); letter-spacing: 0.04em; flex-shrink: 0;
}
.cred-val {
  font-size: 10px; font-weight: 300;
  color: var(--steel); text-align: right;
}

/* ════════════════════════════════
   APPROACH
════════════════════════════════ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.approach-item {
  padding-right: 2.5rem;
  border-right: 0.5px solid var(--border);
}
.approach-item:last-child { border-right: none; padding-right: 0; }
.approach-item:not(:first-child) { padding-left: 2.5rem; }

.approach-letter {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 400;
  color: var(--off-white); line-height: 1; margin-bottom: 0.75rem;
}
.approach-title {
  font-size: 13px; font-weight: 600;
  color: var(--navy); margin-bottom: 0.5rem; letter-spacing: 0.04em;
}
.approach-text {
  font-size: 12px; font-weight: 300;
  line-height: 1.8; color: var(--steel);
}

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
.contact-section { background: var(--navy); }
.contact-section .section-label { color: rgba(255,255,255,0.3); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 400;
  line-height: 1.15; margin-bottom: 1.5rem;
  color: var(--cold-white);
}
.contact-sub {
  font-size: 14px; font-weight: 300;
  line-height: 1.8; color: var(--steel-light);
}
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-line {
  font-size: 12px; font-weight: 300;
  color: var(--steel-light); display: flex; gap: 1rem;
}
.contact-line strong { color: var(--cold-white); font-weight: 400; min-width: 60px; }

.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.15);
  color: var(--cold-white);
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 300;
  padding: 0.85rem 1rem;
  outline: none; width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none; border-radius: 0;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(255,255,255,0.4); }
.contact-form textarea { height: 110px; resize: none; }

.btn-submit {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.9rem; background: var(--accent);
  color: var(--navy); border: none; cursor: pointer;
  transition: opacity 0.2s; width: 100%;
  font-family: 'Inter', sans-serif;
}
.btn-submit:hover { opacity: 0.88; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-msg {
  font-size: 12px; font-weight: 400;
  min-height: 18px; letter-spacing: 0.04em;
}
.form-msg.success { color: #7ECBA1; }
.form-msg.error   { color: #F09595; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  padding: 2rem var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 0.5px solid var(--border);
}
.footer-copy, .footer-reg {
  font-size: 11px; color: var(--steel-light); letter-spacing: 0.06em;
}

/* ════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
════════════════════════════════ */
@media (max-width: 900px) {
  :root { --pad-x: 2rem; }

  /* Hero */
  .hero { padding: 3.5rem var(--pad-x-sm); }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .stats { gap: 2rem; }
  .stat-num { font-size: 26px; }

  /* Section */
  .section { padding: 3.5rem var(--pad-x-sm); }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card {
    padding: 1.75rem 0;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .service-card:first-child { padding-top: 0; }
  .service-card:last-child { border-bottom: none; padding-bottom: 0; }
  .service-card:not(:first-child) { padding-left: 0; }

  /* Founders */
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card {
    grid-template-columns: 90px 1fr;
    gap: 1.25rem;
    padding: 2rem 0;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .founder-card:last-child { border-bottom: none; padding-left: 0; }

  /* Approach */
  .approach-grid { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .approach-item {
    padding: 0 1.25rem 2rem 0;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .approach-item:nth-child(odd) { padding-right: 1.25rem; }
  .approach-item:nth-child(even) { padding-left: 1.25rem; padding-right: 0; }
  .approach-item:not(:first-child) { padding-left: 0; }
  .approach-item:nth-child(n+3) { padding-top: 2rem; }
  .approach-item:last-child,
  .approach-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-title { font-size: 28px; }

  /* Footer */
  footer { padding: 1.5rem var(--pad-x-sm); flex-direction: column; gap: 0.4rem; text-align: center; }

  /* Nav dropdown padding */
  .nav-dropdown { padding: 0.5rem var(--pad-x-sm) 1.5rem; }
}

/* ════════════════════════════════
   RESPONSIVE — MOBILE (≤480px)
════════════════════════════════ */
@media (max-width: 480px) {
  .logo-sub { display: none; }

  .hero { padding: 2.5rem var(--pad-x-sm) 3rem; }
  .hero h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .btn-primary { width: 100%; text-align: center; }
  .stats { gap: 1.5rem; }
  .stat-num { font-size: 22px; }

  .section { padding: 2.5rem var(--pad-x-sm); }
  .section-label { margin-bottom: 2rem; }

  .about-title { font-size: 24px; }
  .about-intro { margin-bottom: 2rem; }

  .founder-card { grid-template-columns: 80px 1fr; gap: 1rem; padding: 1.5rem 0; }
  .founder-name { font-size: 15px; }

  .approach-grid { grid-template-columns: 1fr; }
  .approach-item {
    padding: 1.5rem 0 !important;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .approach-item:last-child { border-bottom: none; }
  .approach-letter { font-size: 36px; }

  .contact-title { font-size: 24px; }
  .contact-grid { gap: 2rem; }
}
