:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #1f2a2e;
  --muted: #5c6b70;
  --line: #d8dedb;
  --brand: #14989a;
  --brand-deep: #0d6f71;
  --accent: #eff9f9;
  --shadow: 0 18px 40px rgba(22, 35, 39, 0.08);
  --radius: 24px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbfa 0%, #f4f6f5 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 251, 250, 0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 42, 46, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0;
}
.brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.brand img { width: 52px; height: 52px; border-radius: 16px; box-shadow: var(--shadow); }
.brand-stack { line-height: 1.1; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.85rem; color: var(--muted); }
.nav-wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .lang-switch a {
  font-size: 0.95rem; color: var(--muted); padding: 0.45rem 0.1rem; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active, .lang-switch a.active {
  color: var(--text); border-color: var(--brand);
}
.nav-user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}

.nav-user-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid #d6d9df;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.nav-user-button:hover {
  background: #f7f9fc;
}

.nav-user-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f4c81;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  padding: 0.35rem 0;
  z-index: 50;
}

.nav-user-dropdown a {
  display: block;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.95rem;
}

.nav-user-dropdown a:hover {
  background: #f5f8fc;
  color: #0f4c81;
}

.nav-user-email {
  padding: 0.65rem 0.9rem 0.45rem;
  font-size: 0.82rem;
  color: #6b7280;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 0.25rem;
}




.lang-switch { display: flex; gap: 0.75rem; font-weight: 600; }
.hero { padding: 4.5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: start; }
.eyebrow, .badge {
  display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid rgba(20, 152, 154, 0.15);
  background: #fff; border-radius: 999px; padding: 0.5rem 0.8rem; font-size: 0.82rem;
  color: var(--brand-deep); text-transform: uppercase; letter-spacing: 0.12em;
}
.title, .section-title {
  font-family: Georgia, "Times New Roman", serif;
}
.title { font-size: clamp(2.4rem, 5vw, 4.75rem); line-height: 1.02; margin: 1rem 0 1rem; }
.lead, .section-copy, .card p, .card li, .small, .notice {
  color: var(--muted); line-height: 1.8;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: 0.95rem 1.35rem; font-weight: 600; border: 1px solid transparent; transition: 0.2s ease; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px rgba(20, 152, 154, 0.22); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { background: #fff; border-color: rgba(31, 42, 46, 0.08); color: var(--text); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-deep); }
.hero-card, .card {
  background: var(--surface); border: 1px solid rgba(31, 42, 46, 0.08);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.business-stack, .hero-cards { display: grid; gap: 1rem; }
.business-card .logo-shell img { width: 96px; height: auto; }
.business-card .bc-eyebrow { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 0.4rem; }
.business-card .bc-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; margin-bottom: 0.28rem; }
.business-card .bc-role, .business-card .bc-email, .business-card .bc-address, .business-card .bc-phone, .business-card .bc-org {
  color: var(--muted); line-height: 1.6; margin-bottom: 0.28rem; overflow-wrap: anywhere;
}
.business-card .bc-email a, .brand-link, .team-linkedin { color: var(--brand-deep); }
.business-card .badge-dot {
  width: 54px; height: 54px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--brand-deep); font-weight: 700; border: 1px solid rgba(20, 152, 154, 0.12);
}

.business-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  min-height: 280px;
}

.business-card-bg {
  position: absolute;
  inset: 0;

  background-repeat: no-repeat;

  /* smaller + controlled */
  background-size: auto 95%;

  /* THIS is the key */
  background-position: 110% center;

  pointer-events: none;
}

.business-card-content {
  position: relative;
  z-index: 1;
  width: 65%;

  padding: 3.0rem 1.4rem;
}

.section { padding: 3rem 0; }
.section-head {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.3rem;
}
.section-kicker { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-deep); }
.section-title { font-size: clamp(1.9rem, 3vw, 3rem); margin: 0.35rem 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.4rem; }
.card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; margin: 0.2rem 0 0.6rem; }
.band {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
  border-top: 1px solid rgba(31, 42, 46, 0.06); border-bottom: 1px solid rgba(31, 42, 46, 0.06);
}
.downloads .card { display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; }
.kv, .login-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kv .item { padding: 1rem; border-radius: 18px; background: #fff; border: 1px solid rgba(31, 42, 46, 0.08); }
.form-shell { padding: 1.5rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field input, .field textarea {
  width: 100%; padding: 0.95rem 1rem; border: 1px solid rgba(31, 42, 46, 0.12);
  border-radius: 16px; font: inherit; background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.footer { padding: 2rem 0 3rem; color: var(--muted); }
.footer-card {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem;
  background: #fff; border: 1px solid rgba(31, 42, 46, 0.08); border-radius: 20px; box-shadow: var(--shadow);
}
.team-grid .team-card { padding: 0; overflow: hidden; }
.team-media { display: flex; align-items: center; justify-content: center; height: 260px; background: linear-gradient(180deg, #f4f6f5, #eef2f1); }
.team-media img { max-width: 92%; max-height: 92%; }
.team-body { padding: 1.2rem 1.3rem 1.4rem; }
.team-head { display: flex; align-items: start; justify-content: space-between; gap: 0.75rem; }
.team-linkedin {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--accent);
  border: 1px solid rgba(20, 152, 154, 0.12); transition: 0.2s ease;
}
.team-linkedin:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.team-linkedin svg { width: 18px; height: 18px; fill: currentColor; }
.team-bio-long[hidden] { display: none; }
.team-bio-long { margin-top: 0.6rem; border-top: 1px solid rgba(31, 42, 46, 0.08); padding-top: 0.8rem; }
.card.highlight { background: var(--brand-deep); color: #fff; border-color: transparent; }
.card.highlight h3 { color: #fff; }
.card.highlight p, .card.highlight li, .card.highlight .small { color: rgba(255, 255, 255, 0.88); }
.card.highlight .btn.btn-secondary {
  background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.22);
}
.card.subtle { background: var(--accent); border-color: rgba(20, 152, 154, 0.12); }
.card.outline { background: #fff; border: 1.5px solid var(--brand); }
.philosophy-card { overflow: hidden; padding: 0; }
.philosophy-card-media img { width: 100%; height: 220px; object-fit: cover; }
.philosophy-card-body { padding: 1.2rem 1.2rem 0.6rem; }
.philosophy-card-actions { padding: 0 1.2rem 1.2rem; }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .grid-3, .grid-2, .kv, .login-shell { grid-template-columns: 1fr; }
  .section-head, .footer-card, .header-inner { display: block; }
  .nav-wrap { margin-top: 1rem; justify-content: flex-start; }
  .nav { justify-content: flex-start; margin-top: 0.5rem; }
}
@media (max-width: 700px) {
  .business-card {
    min-height: auto;
  }

  .business-card-bg {
    opacity: 0.18;
    background-size: cover;
    background-position: center right;
  }

  .business-card-content {
    width: 100%;
    padding: 1.5rem;
  }
  .password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }

  .password-input-wrap input {
    width: 100%;
    padding-right: 2.75rem; /* make room for the icon */
  }

  .toggle-password {
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: currentColor;
    opacity: 0.45;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
  }


  .toggle-password:hover {
    opacity: 0.85;
  }

  .toggle-password svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;  /* inherits your text color — monochrome */
    display: block;
    pointer-events: none;
  }

  .forgot-password-link {
    font-size: 0.85rem;
    opacity: 0.65;
    text-decoration: none;
    align-self: center;
    transition: opacity 0.15s ease;
  }
  .forgot-password-link {
    margin-top: 0.5rem;
  }
  .forgot-password-link:hover {
    opacity: 1;
    text-decoration: underline;
  }
  .forgot-password-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
  }
  [data-footer-dev] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid currentColor;
    opacity: 0.5;
  }
}