/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --ink:        #2c2c2e;          /* soft near-black, not harsh */
  --ink-light:  #6b6b72;          /* secondary text */
  --bg:         #ffffff;
  --bg-alt:     #f4f6f9;          /* light blue-grey tint */
  --border:     #dde1e7;
  --accent:     #2f6fbb;          /* calm cornflower blue */
  --accent-hover:#1f549a;
  --accent-soft: #eaf1fb;         /* tinted background for contact */
  --body:       'Plus Jakarta Sans', sans-serif;
  --radius:     8px;
  --max:        1020px;
  --ease:       cubic-bezier(.4, 0, .2, 1);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -.01em;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light);
  transition: color .2s;
}
.nav nav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: .35rem .9rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .2s, color .2s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  padding: 5rem 2rem 4.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: auto;
  width: 100%;
}
.hero-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp .5s var(--ease) .05s forwards;
}
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp .55s var(--ease) .15s forwards;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  max-width: 54ch;
  color: var(--ink-light);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp .55s var(--ease) .25s forwards;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s;
  opacity: 0;
  animation: fadeUp .55s var(--ease) .35s forwards;
}
.btn-primary:hover { background: var(--accent-hover); }

/* hero accent bars — very subtle */
.hero-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 3rem;
  opacity: .04;
  pointer-events: none;
}
.accent-bar {
  width: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.b1 { height: 260px; }
.b2 { height: 160px; }
.b3 { height: 340px; }

/* ─── SECTIONS ───────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  max-width: var(--max);
  margin: auto;
}
.section.alt {
  max-width: 100%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.section.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

/* ─── CARDS ──────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(47, 111, 187, .08);
}
.card-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .75rem;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
}
.card p { font-size: 15px; color: var(--ink-light); line-height: 1.75; }

/* ─── VALUES ─────────────────────────────────────────── */
.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  color: var(--accent);
  font-size: 9px;
  margin-top: .55rem;
  flex-shrink: 0;
}
.value-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .3rem;
}
.value-item p { font-size: 15px; color: var(--ink-light); line-height: 1.75; }

/* ─── CONTACT ─────────────────────────────────────────── */
.contact-section {
  background: var(--accent-soft);
  border-top: 1px solid var(--border);
  color: var(--ink);
  max-width: 100%;
  padding: 5rem 2rem;
}
.contact-inner {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-section .section-label { color: var(--accent); }
.contact-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 1rem;
  line-height: 1.25;
  color: var(--ink);
}
.contact-text p {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.contact-details li {
  font-size: 14px;
  display: flex;
  gap: .75rem;
  align-items: center;
  color: var(--ink);
}
.contact-details span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 55px;
}
.contact-details a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.contact-details a:hover { color: var(--accent-hover); }

/* ─── MAILTO BLOCK ───────────────────────────────────── */
.mailto-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}
.mailto-desc {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.8;
}
.mailto-btn {
  align-self: flex-start;
  animation: none !important;
  opacity: 1 !important;
}
.form-note {
  font-size: 13px;
  color: var(--ink-light);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--bg);
  color: var(--ink-light);
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: 13px;
}
.wordmark-sm {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.footer-inner a:hover { color: var(--ink); }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-accent { display: none; }
  .nav nav a:not(.nav-cta) { display: none; }
}
