:root {
  --bg: #f6f3ee;
  --paper: #ffffff;
  --ink: #101820;
  --muted: #526071;
  --line: #d8d1c7;
  --accent: #9c7444;
  --accent-dark: #73512d;
  --navy: #111c2c;
  --navy-soft: #1a2a42;
  --white: #ffffff;
  --shadow: 0 28px 60px rgba(16, 24, 32, 0.10);
  --radius: 18px;
  --container: 1180px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-appearance: none;
  appearance: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, 0.96);
  border-bottom: 1px solid rgba(216, 209, 199, 0.9);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 178px;
  max-width: 46vw;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  background: var(--paper);
}

.lang-btn {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  transition: background 160ms ease, color 160ms ease;
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--white);
}

.section-pad {
  padding: 104px 0;
}

.hero {
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.inverse {
  color: #d5b382;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 860px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 780;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--ink);
  color: var(--white);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
}

.btn.large {
  min-height: 58px;
  padding-inline: 28px;
}

.hero-panel {
  position: relative;
  padding: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-topline {
  height: 4px;
  width: 100%;
  margin-bottom: 28px;
  background: var(--accent);
  border-radius: 4px;
}

.panel-kicker {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.hero-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-muted {
  background: #ebe6dd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: 72px;
}

.section-copy p,
.section-heading p,
.thesis-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.section-copy p {
  margin-bottom: 22px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.section-heading.wide {
  max-width: 820px;
  margin-bottom: 46px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 344px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-index {
  margin-bottom: auto;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .section-heading p {
  color: #c5ceda;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.process-stack {
  display: grid;
  gap: 14px;
}

.process-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.process-item span {
  color: #d5b382;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-item h3 {
  color: var(--white);
}

.process-item p {
  margin-bottom: 0;
  color: #c5ceda;
}

.thesis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
  gap: 48px;
  align-items: stretch;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  min-height: 320px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.metric-card p {
  margin-bottom: 18px;
  color: #d5b382;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.contact h2,
.contact p {
  max-width: 680px;
}

.legal {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.legal h2 {
  margin-bottom: 28px;
}

.legal-text {
  max-width: 980px;
  color: #394552;
  font-size: 14px;
  line-height: 1.72;
}

.legal-text p {
  margin-bottom: 18px;
}

.legal-text p:last-child {
  margin-bottom: 0;
}

.is-hidden {
  display: none !important;
}

.site-footer {
  padding: 28px 0 calc(28px + var(--safe-bottom));
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner a {
  font-weight: 740;
}

@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .header-inner {
    min-height: 70px;
  }

  .nav {
    display: none;
  }

  .section-pad {
    padding: 78px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .process-layout,
  .thesis,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-panel {
    padding: 28px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 260px;
  }

  .contact-inner {
    align-items: start;
  }

  .contact-inner .btn {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header-inner {
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 16px;
  }

  .language-switch {
    padding: 3px;
  }

  .lang-btn {
    min-width: 38px;
    height: 32px;
    font-size: 12px;
  }

  .section-pad {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    min-height: 54px;
  }

  .hero-panel,
  .card,
  .process-item,
  .metric-card {
    border-radius: 14px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }

  .metric-card {
    min-height: 260px;
    padding: 28px;
  }

  .contact-inner .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
}

.about-teaser .section-heading {
  max-width: 820px;
}

.about-teaser .section-heading p:last-child {
  margin-bottom: 0;
}

.about-link {
  white-space: nowrap;
}



.team-section {
  border-top: 1px solid var(--line);
}

.team-list {
  display: grid;
  gap: 22px;
}

.team-member {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.photo-placeholder {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ded8cf;
  border: 1px solid #cbc2b7;
  border-radius: 14px;
  overflow: hidden;
}

.photo-placeholder span {
  color: #7b7268;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-member-copy {
  align-self: center;
}

.member-role {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-member-copy h2 {
  margin-bottom: 22px;
}

.team-member-copy p:not(.member-role) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
  margin-bottom: 18px;
}

.team-member-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .team-member {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .photo-placeholder {
    min-height: 360px;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-link {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 142px;
    max-width: 42vw;
  }

  .team-member {
    padding: 22px;
    border-radius: 14px;
  }

  .photo-placeholder {
    min-height: 300px;
  }

  .team-member-copy p:not(.member-role) {
    font-size: 16px;
  }

  .about-link {
    width: 100%;
  }
}


.team-direct {
  padding: 72px 0 38px;
  border-bottom: 1px solid var(--line);
}

.team-direct-heading {
  max-width: 860px;
}

.team-direct-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.team-direct-heading p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.team-section-first {
  padding-top: 56px;
}

@media (max-width: 640px) {
  .team-direct {
    padding: 52px 0 30px;
  }

  .team-direct-heading h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .team-section-first {
    padding-top: 42px;
  }
}


.photo-placeholder.has-photo {
  background: #f3efe8;
  padding: 0;
  border: 1px solid #cbc2b7;
}

.team-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .team-photo {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .team-photo {
    min-height: 300px;
  }
}

/* Header / footer navigation update */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-email {
  width: fit-content;
  font-weight: 740;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 26px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(246, 243, 238, 0.98);
  }

  .header-language-switch {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-menu {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 49;
    display: block;
    overflow-y: auto;
    padding: 22px 0 calc(34px + var(--safe-bottom));
    background: rgba(246, 243, 238, 0.99);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-inner {
    display: grid;
    gap: 24px;
  }

  .mobile-nav {
    display: grid;
    gap: 8px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(216, 209, 199, 0.9);
    color: var(--ink);
    font-size: 22px;
    font-weight: 760;
    letter-spacing: -0.035em;
  }

  .mobile-language-switch {
    width: fit-content;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 12px 22px;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header-inner {
    min-height: 68px;
  }

  .mobile-menu {
    top: 68px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav {
    display: grid;
    gap: 12px;
  }

  .footer-nav a {
    font-size: 15px;
  }
}

@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
