:root {
  --navy: #211334;
  --navy2: #30164b;
  --purple: #6a328e;
  --gold: #e3b554;
  --gold2: #f7dda6;
  --ink: #2b2434;
  --soft: #faf7f2;
  --line: #e4dce8;
}
body {
  background: #faf7f2;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #bb77df;
  outline-offset: 4px;
}
.site-header {
  background: #211334;
}
.brand img {
  object-fit: contain;
}
.hero {
  background: #211334;
  color: #fff;
  padding: 76px 0 64px;
  overflow: hidden;
}
.hero-grid {
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.8rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
  max-width: 750px;
  color: #fff;
}
.hero-text {
  color: #e2d9e9;
  font-size: 1.06rem;
  line-height: 1.8;
}
.hero .eyebrow {
  color: #f1c96f;
  letter-spacing: 0.14em;
}
.hero-photograph {
  margin: 0;
  position: relative;
  height: 570px;
  border-radius: 180px 12px 12px 12px;
  overflow: hidden;
  background: #48275d;
}
.hero-photograph picture,
.hero-photograph img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-photograph:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, #211334df);
}
.hero-photograph figcaption {
  position: absolute;
  z-index: 1;
  bottom: 34px;
  left: 32px;
  font-size: 1.5rem;
  font-weight: 650;
  color: #fff;
}
.hero-actions {
  gap: 12px;
}
.hero .primary,
.button.primary {
  background: #e3b554;
  color: #24152e;
  border: 1px solid #e3b554;
}
.hero .secondary {
  color: #fff;
  border-color: #a98bb8;
  background: transparent;
}
.hero .quiet {
  color: #e3d6ed;
  background: transparent;
  font-size: 0.82rem;
  padding: 6px 0;
}
.hero-actions .quiet:nth-of-type(n + 4) {
  display: none;
}
.intro-strip {
  background: #e3b554;
  color: #291637;
}
.strip-grid div span {
  color: #49334b;
}
.section {
  padding: 76px 0;
}
.hero.section {
  padding: 76px 0 64px;
}
.section-label {
  color: #793a91;
}
.about h2,
.section-intro h2 {
  letter-spacing: -0.035em;
}
.about .button {
  margin-top: 16px;
}
.services {
  background: #f0e9f2;
}
.service-grid {
  gap: 20px;
}
.service-grid > article {
  padding: 0 0 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4dce8;
  border-radius: 12px;
}
.service-grid > article > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 24px;
}
.service-grid > article > h3,
.service-grid > article > p,
.service-grid > article > .service-number {
  margin-left: 24px;
  margin-right: 24px;
}
.service-number {
  display: none;
}
.image-disclosure {
  font-size: 0.8rem;
  color: #64586b;
  margin-top: 20px;
}
.credibility {
  background: #fff;
}
.credibility-status strong {
  color: #452359;
}
.site-footer,
footer {
  background: #211334;
  color: #eee5f4;
}
.connect-section {
  padding: 36px 0;
  border-top: 1px solid #70547f;
}
.connect-section h2 {
  font-size: 1.5rem;
  color: #f7dda6;
  margin-bottom: 22px;
}
.social-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-platform {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: #ffffff0b;
  border: 1px solid #715482;
  border-radius: 8px;
}
.social-platform small {
  grid-column: 2;
  color: #e9cf9a;
  font-size: 0.7rem;
}
.platform-icon {
  font-size: 1.4rem;
  font-weight: 700;
}
.connect-section > p {
  font-size: 0.8rem;
  color: #d1c1da;
  margin-top: 18px;
}
#ceoDialog {
  width: min(640px, calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  padding: 36px;
  background: #faf7f2;
  color: #2b2434;
}
dialog::backdrop {
  background: #160d24c9;
}
#closeCeo {
  float: right;
  border: 1px solid #d5c6df;
  background: #fff;
  border-radius: 6px;
  padding: 9px 13px;
  cursor: pointer;
}
#ceoTitle {
  clear: both;
  font-size: 2.4rem;
  margin: 18px 0 12px;
}
.ceo-role {
  font-weight: 600;
  color: #6a328e;
}
#ceoProfile {
  line-height: 1.8;
}
#ceoPortrait img {
  max-width: 240px;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}
.careers-page .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}
.careers-page .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.careers-page .brand small {
  display: block;
}
.careers-main {
  padding: 80px 0;
  min-height: 75vh;
}
.careers-main h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.careers-main > p {
  max-width: 650px;
  line-height: 1.7;
}
#vacancies {
  margin-top: 44px;
}
.vacancy-card {
  padding: 32px;
  margin: 24px 0;
  background: #fff;
  border: 1px solid #e4dce8;
  border-radius: 12px;
}
.vacancy-card h2 {
  font-size: 1.6rem;
}
.vacancy-meta {
  color: #6a328e;
}
.vacancy-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.vacancy-card .button {
  display: inline-block;
  margin-top: 16px;
}
.careers-page footer {
  padding: 32px 0;
}
@media (min-width: 1000px) {
  .nav-links {
    gap: 17px;
    font-size: 0.82rem;
  }
  .header-cta {
    font-size: 0.78rem;
    padding: 12px;
  }
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-photograph {
    height: 400px;
    border-radius: 80px 12px 12px 12px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .header-cta {
    display: none;
  }
  .hero h1 {
    max-width: 700px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }
  .hero.section {
    padding: 44px 0;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-photograph {
    height: 300px;
    border-radius: 70px 10px 10px 10px;
  }
  .hero-photograph figcaption {
    font-size: 1.2rem;
    left: 22px;
    bottom: 24px;
  }
  .hero-actions .button {
    padding: 13px 15px;
  }
  .hero-stats {
    gap: 14px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-grid > article > img {
    aspect-ratio: 16/9;
  }
  .social-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .social-platform {
    padding: 12px;
    gap: 6px;
    font-size: 0.9rem;
  }
  .social-platform small {
    font-size: 0.64rem;
  }
  #ceoDialog {
    padding: 24px;
  }
  .careers-main {
    padding: 48px 0;
  }
  .vacancy-card {
    padding: 22px;
  }
  .careers-page .nav-links.open {
    display: flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.contact .hero-actions .button.secondary,
.contact .hero-actions .button.quiet {
  color: #542a6e;
  background: #fff;
  border: 1px solid #c8b6d5;
}
.body-copy p,
.service-card p,
.section-intro > p {
  color: #62596b;
}
#vacancyPreview {
  margin-top: 24px;
  border-top: 1px solid #d5c6df;
}
#vacancyDialog {
  max-height: 90dvh;
  overflow: auto;
}
.careers-page .brand {
  color: #fff;
}
.careers-page .brand small {
  color: #e3d6ed;
}

.ceo-profile-layout {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
#ceoDialog {
  width: min(850px, calc(100% - 32px));
}
#ceoPortrait:empty {
  display: none;
}
.ceo-profile-layout:has(#ceoPortrait:empty) {
  grid-template-columns: 1fr;
}
#ceoPortrait img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0;
  object-fit: contain;
}
#ceoProfile p {
  margin: 0 0 16px;
}
.social-platform small {
  max-width: 180px;
}
@media (max-width: 1100px) {
  .menu-button {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid #ffffff33;
    border-radius: 16px;
    background: var(--navy2);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px;
  }
}
@media (max-width: 640px) {
  .ceo-profile-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #ceoPortrait img {
    max-width: 160px;
    margin: 0 auto;
  }
  #ceoDialog {
    max-height: 90dvh;
  }
}
.site-header .container { width: min(1360px, calc(100% - 32px)); } .site-header .brand, .header-cta { flex-shrink: 0; } .nav-links a, .header-cta { white-space: nowrap; } @media (max-width: 1280px) { .menu-button { display: block; } .header-cta { display: none; } .nav-links { position: absolute; left: 16px; right: 16px; top: 84px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid #ffffff33; border-radius: 16px; background: var(--navy2); } .nav-links.open { display: flex; } .nav-links a { padding: 12px; } }
