:root {
  color-scheme: dark;
  --ink: #151914;
  --cream: #f0ede5;
  --paper: #e7e2d7;
  --stone: #bcb5a6;
  --moss: #777b60;
  --acid: #d7dd86;
  --white: #f7f5ef;
  --muted: rgba(247, 245, 239, .58);
  --line: rgba(247, 245, 239, .18);
  --dark-line: rgba(21, 25, 20, .22);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 42px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  transition: background .35s ease, min-height .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(21, 25, 20, .92);
  backdrop-filter: blur(18px);
}
.brand,
.footer-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .26em;
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -.05em;
}
.brand-word { font-size: 12px; font-weight: 500; }
.desktop-nav { display: flex; align-items: center; gap: 36px; }
.desktop-nav a,
.language-switch,
.header-contact {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.desktop-nav a,
.language-switch { color: rgba(255,255,255,.7); transition: color .2s ease; }
.desktop-nav a:hover,
.language-switch:hover { color: #fff; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 27px; }
.language-switch { border: 0; background: none; cursor: pointer; padding: 8px 0; }
.language-divider { margin: 0 3px; opacity: .4; }
.header-contact { border-bottom: 1px solid currentColor; padding: 8px 0 5px; }
.menu-toggle { display: none; border: 0; background: none; width: 32px; height: 32px; padding: 0; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px auto; transition: transform .2s ease; }
.mobile-menu { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #1b211d;
}
.hero-media,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-media {
  background: url("/assets/hero-coast-v1.webp") center center / cover no-repeat;
  transform: scale(1.015);
  animation: hero-settle 2.2s cubic-bezier(.2,.7,.2,1) both;
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13,16,13,.86) 0%, rgba(13,16,13,.52) 39%, rgba(13,16,13,.04) 74%),
    linear-gradient(0deg, rgba(10,12,10,.75) 0%, transparent 42%),
    linear-gradient(180deg, rgba(10,12,10,.22), transparent 26%);
}
.hero-grid {
  z-index: -1;
  left: 42px;
  right: 42px;
  border-left: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, transparent 33.333%, rgba(255,255,255,.08) 33.333%, rgba(255,255,255,.08) calc(33.333% + 1px), transparent calc(33.333% + 1px), transparent 66.666%, rgba(255,255,255,.08) 66.666%, rgba(255,255,255,.08) calc(66.666% + 1px), transparent calc(66.666% + 1px));
}
.hero-content {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 136px clamp(42px, 7vw, 118px) 150px;
}
.overline {
  margin: 0 0 27px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-overline {
  padding-left: 50px;
  position: relative;
  opacity: .72;
  animation: fade-up .9s .15s ease both;
}
.hero-overline::before { content: ""; position: absolute; left: 0; top: .62em; width: 34px; height: 1px; background: currentColor; }
.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(76px, 9.7vw, 166px);
  font-weight: 400;
  letter-spacing: -.025em;
  word-spacing: .08em;
  line-height: .76;
  animation: fade-up 1.1s .22s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 span,
.hero h1 em { display: block; }
.hero h1 em { margin-left: clamp(55px, 8vw, 140px); color: var(--acid); font-style: normal; font-weight: 400; }
.hero-bottom {
  width: min(740px, 58vw);
  margin: clamp(55px, 8vh, 90px) 0 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 60px;
  align-items: end;
  animation: fade-up .9s .45s ease both;
}
.hero-intro { max-width: 420px; margin: 0; font-size: clamp(16px, 1.35vw, 21px); font-weight: 300; line-height: 1.55; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--acid); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #30362d; }
.text-link {
  display: inline-flex;
  gap: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-index {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: rgba(255,255,255,.53);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-index span:nth-child(2) { text-align: center; }
.hero-index span:last-child { text-align: right; }
.scroll-cue {
  position: absolute;
  right: 42px;
  top: 50%;
  width: 28px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--white);
  animation: scroll-dot 2s infinite;
}

.section-dark { color: var(--white); background: var(--ink); }
.section-number {
  position: absolute;
  top: 70px;
  left: 42px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
  letter-spacing: .16em;
}
.positioning {
  position: relative;
  min-height: 730px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-content: center;
  gap: 9vw;
  padding: 120px clamp(42px, 8vw, 135px);
}
.positioning-copy h2,
.geography h2,
.opportunity h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.2vw, 118px);
  font-weight: 400;
  letter-spacing: -.022em;
  word-spacing: .065em;
  line-height: .88;
}
.positioning-copy h2 { max-width: 850px; }
.positioning-body {
  align-self: end;
  max-width: 480px;
  padding-top: 150px;
  border-top: 1px solid var(--line);
}
.positioning-body p { margin: 0 0 25px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.positioning-body p:last-child { color: var(--white); }

.mandates,
.approach { padding: 130px 42px 150px; background: var(--cream); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .52fr);
  gap: 10vw;
  align-items: end;
  margin-bottom: 90px;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 6.1vw, 96px);
  font-weight: 400;
  letter-spacing: -.022em;
  word-spacing: .065em;
  line-height: .9;
}
.section-heading > p { max-width: 500px; margin: 0; font-size: 16px; line-height: 1.7; }
.mandate-list { border-top: 1px solid var(--dark-line); }
.mandate-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 38px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--dark-line);
  transition: padding .3s ease, background .3s ease;
}
.mandate-card:hover { padding-left: 22px; padding-right: 22px; background: rgba(188,181,166,.18); }
.mandate-number { align-self: start; padding-top: 10px; color: rgba(21,25,20,.5); font-size: 10px; letter-spacing: .14em; }
.mandate-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(33px, 3vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; word-spacing: .055em; }
.mandate-card p { max-width: 700px; margin: 0; color: rgba(21,25,20,.65); line-height: 1.65; }
.mandate-type {
  min-width: 145px;
  padding: 10px 12px;
  border: 1px solid var(--dark-line);
  border-radius: 30px;
  text-align: center;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.geography {
  min-height: 900px;
  position: relative;
  overflow: hidden;
  padding: 160px clamp(42px, 8vw, 135px) 100px;
}
.geography-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -20vw;
  top: -22vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,221,134,.16), transparent 66%);
  pointer-events: none;
}
.geography-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11vw; align-items: center; }
.geography-copy h2 { max-width: 780px; }
.geography-copy > p:last-child { max-width: 580px; margin: 55px 0 0 auto; color: var(--muted); font-size: 17px; line-height: 1.75; }
.region-stack { border-top: 1px solid var(--line); }
.region-stack span {
  min-height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .17em;
}
.region-stack b { color: var(--acid); font-size: 10px; font-weight: 400; }
.country-line {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 40px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-list li { min-height: 350px; padding: 28px 34px 30px 0; border-right: 1px solid var(--dark-line); }
.process-list li:not(:first-child) { padding-left: 34px; }
.process-list li:last-child { border-right: 0; }
.process-list span { font-size: 10px; letter-spacing: .12em; opacity: .52; }
.process-list h3 { margin: 90px 0 18px; font-family: var(--serif); font-size: 40px; font-weight: 400; word-spacing: .05em; }
.process-list p { max-width: 270px; margin: 0; color: rgba(21,25,20,.64); line-height: 1.7; }

.section-stone { background: var(--stone); color: var(--ink); }
.opportunity {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 10vw;
  padding: 100px clamp(42px, 8vw, 135px);
}
.opportunity-copy h2 { max-width: 850px; }
.opportunity-body { max-width: 480px; }
.opportunity-body p { margin: 0 0 50px; font-size: 17px; line-height: 1.75; }

.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 11vw;
  padding: 140px clamp(42px, 8vw, 135px) 150px;
}
.contact-intro h2 { font-size: clamp(58px, 6vw, 96px); }
.contact-intro > p:not(.overline) { max-width: 530px; margin: 45px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.direct-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 45px; font-size: 15px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  align-self: center;
}
.contact-form label { display: flex; flex-direction: column; gap: 11px; }
.contact-form label > span {
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  border-radius: 0;
  outline: 0;
  padding: 8px 0 15px;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--acid); }
.contact-form textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.contact-form select { color-scheme: dark; }
.contact-form ::placeholder { color: rgba(255,255,255,.36); }
.form-wide { grid-column: 1 / -1; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 12px; }
.form-footer p { max-width: 390px; margin: 0; color: rgba(255,255,255,.42); font-size: 10px; line-height: 1.6; }
.form-footer .button { flex: 0 0 auto; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border: 1px solid var(--line); font-size: 13px; }
.form-status.success { border-color: var(--acid); color: var(--acid); }
.form-status.error { border-color: #ce826f; color: #efad9b; }

.site-footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 42px;
  color: var(--ink);
  background: var(--acid);
}
.site-footer > p { margin: 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { opacity: .3; transform: scale(1.07); } to { opacity: 1; transform: scale(1.015); } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 38px); } }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .desktop-nav,
  .header-contact { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 100px 30px 40px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { font-family: var(--serif); font-size: 52px; line-height: 1; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-grid { left: 24px; right: 24px; }
  .hero-content { padding-left: 40px; padding-right: 40px; }
  .hero-bottom { width: min(760px, 90vw); }
  .hero-index { left: 24px; right: 24px; }
  .scroll-cue { display: none; }
  .positioning,
  .opportunity,
  .contact,
  .geography-layout { grid-template-columns: 1fr; }
  .positioning { gap: 65px; }
  .positioning-body { padding-top: 45px; max-width: 620px; }
  .section-heading { grid-template-columns: 1fr; gap: 45px; }
  .section-heading > p { margin-left: auto; }
  .geography { min-height: auto; padding-bottom: 160px; }
  .geography-layout { gap: 80px; }
  .region-stack { max-width: 700px; margin-left: auto; width: 100%; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid var(--dark-line); }
  .opportunity-body { margin-left: auto; }
  .contact { gap: 90px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 14px; }
  .site-header { min-height: 70px; padding: 0 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .header-actions { gap: 18px; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(13,16,13,.82), rgba(13,16,13,.24)), linear-gradient(0deg, rgba(10,12,10,.84), transparent 60%); }
  .hero-grid { left: 18px; right: 18px; background: none; }
  .hero-content { justify-content: flex-end; padding: 120px 22px 132px; }
  .hero h1 { font-size: clamp(65px, 21vw, 98px); line-height: .8; }
  .hero h1 em { margin-left: 8vw; }
  html[data-lang="ru"] .hero h1 { font-size: clamp(52px, 14.5vw, 62px); line-height: .84; }
  html[data-lang="ru"] .hero h1 em { margin-left: 3vw; }
  .hero-overline { margin-bottom: 20px; }
  .hero-bottom { width: 100%; grid-template-columns: 1fr; gap: 34px; margin-top: 42px; }
  .hero-intro { font-size: 15px; max-width: 340px; }
  .hero-cta { flex-direction: row; align-items: center; gap: 22px; }
  .button { min-height: 52px; padding: 0 17px; gap: 20px; }
  .text-link { gap: 14px; font-size: 9px; }
  .hero-index { left: 22px; right: 22px; bottom: 24px; grid-template-columns: 1fr 1fr; }
  .hero-index span:nth-child(2) { text-align: right; }
  .hero-index span:last-child { display: none; }
  .section-number { top: 36px; left: 22px; }
  .positioning { min-height: auto; padding: 105px 22px 95px; }
  .positioning-copy h2,
  .geography h2,
  .opportunity h2,
  .contact h2 { font-size: clamp(53px, 15vw, 75px); }
  .positioning-body { padding-top: 35px; }
  .mandates,
  .approach { padding: 92px 22px 100px; }
  .section-heading { margin-bottom: 58px; }
  .section-heading h2 { font-size: clamp(51px, 14vw, 70px); }
  .section-heading > p { font-size: 14px; }
  .mandate-card { grid-template-columns: 32px 1fr; gap: 15px; padding: 30px 0; }
  .mandate-card:hover { padding-left: 0; padding-right: 0; }
  .mandate-card h3 { font-size: 35px; }
  .mandate-card p { font-size: 13px; }
  .mandate-type { display: none; }
  .geography { padding: 115px 22px 145px; }
  .geography-layout { gap: 65px; }
  .geography-copy > p:last-child { margin-top: 40px; font-size: 14px; }
  .region-stack span { min-height: 78px; font-size: 10px; }
  .country-line { left: 22px; right: 22px; bottom: 32px; gap: 16px; overflow: hidden; justify-content: flex-start; white-space: nowrap; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li,
  .process-list li:not(:first-child) { min-height: auto; padding: 28px 0 36px; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .process-list h3 { margin: 50px 0 12px; }
  .opportunity { min-height: auto; padding: 100px 22px; gap: 65px; }
  .opportunity-body p { font-size: 14px; }
  .contact { padding: 105px 22px 100px; gap: 75px; }
  .contact-form { grid-template-columns: 1fr; gap: 26px; }
  .form-wide { grid-column: 1; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .site-footer { min-height: 220px; grid-template-columns: 1fr; align-content: center; padding: 40px 22px; }
  .footer-right { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
