:root {
  --bg: #fafafa;
  --bg-alt: #f2f3f5;
  --text: #111111;
  --text-muted: #5b6472;
  --border: #e4e6ea;
  --accent: #093454;
  --accent-hover: #0b4473;
  --radius: 6px;
  --max-w: 1080px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter);
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__logo {
  height: 32px;
  width: auto;
}

.nav__wordmark { font-size: 16px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav__links a:hover { color: var(--accent); }

.lang-switcher { position: relative; }

.lang-switcher__trigger {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.04em;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lang-switcher__trigger:hover,
.lang-switcher__trigger[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switcher__chevron {
  transition: transform 0.15s ease;
}

.lang-switcher__trigger[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  min-width: 160px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 30;
}

.lang-switcher__menu[hidden] { display: none; }

.lang-switcher__menu li { margin: 0; }

.lang-switcher__menu a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 5px;
  transition: background 0.1s ease, color 0.1s ease;
}

.lang-switcher__menu a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

.lang-switcher__menu a[aria-current="true"] {
  color: var(--accent);
  font-weight: 600;
}

/* ----- Hero ----- */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--border);
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 24px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 14ch;
}

.hero__lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 40px;
}

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ----- Sections ----- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.section--alt { background: var(--bg-alt); }

.section__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 16px;
}

.section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 22ch;
}

.section__lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 56px;
}

/* ----- Team ----- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.team__card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.team__card:hover { border-color: var(--accent); }

.team__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.team__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.team__name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.team__name a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.team__name a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.team__socials {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.team__socials a {
  color: var(--text-muted);
  display: inline-flex;
  transition: color 0.15s ease, transform 0.15s ease;
}

.team__socials a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.team__role {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.team__sep {
  color: var(--border);
}

.team__age {
  color: var(--text-muted);
}

.team__bio {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.team__email {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.team__email:hover {
  border-bottom-color: var(--accent);
}

/* ----- Services ----- */
.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.services__item h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  padding-top: 20px;
  border-top: 1px solid var(--accent);
  display: inline-block;
}

.services__item p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ----- Work ----- */
.work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.work__card {
  display: block;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.work__card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--text);
}

.work__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}

.work__name {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.work__status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(9, 52, 84, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.work__desc {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.work__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* ----- Contact ----- */
.contact {
  text-align: center;
}

.contact .section__title,
.contact .section__lede {
  margin-left: auto;
  margin-right: auto;
}

.contact__email {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
}

.contact__email:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ----- Footer ----- */
.footer {
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__tag { font-style: italic; }

/* ----- Responsive ----- */
@media (max-width: 720px) {
  .nav { padding: 14px 20px; }
  .nav__wordmark { display: none; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 14px; }
  .hero { padding: 80px 0 64px; }
  .section { padding: 72px 0; }
  .section__lede { margin-bottom: 40px; }
  .team__card, .work__card { padding: 24px; }
}

@media (max-width: 520px) {
  .nav__links a:not(.lang-toggle) { display: none; }
  .nav__links a[href="#contact"] { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
