:root {
  --ink: #202123;
  --pink: #202123;
  --accent-dark: #202123;
  --accent-glass: rgba(32, 33, 35, 0.72);
  --accent-glass-strong: rgba(32, 33, 35, 0.88);
  --contour: #ed1558;
  --white: #fff;
  --mist: #f4f4f5;
  --line: #dedee1;
  --muted: #65666b;
  --max: 1240px;
  --radius: 2px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  background: var(--pink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 max(4vw, 24px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(32, 33, 35, 0.08);
}
.brand {
  display: block;
  width: 154px;
  margin-right: auto;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
.desktop-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.desktop-nav a,
.desktop-nav .certificates-trigger {
  position: relative;
}
.desktop-nav a:after,
.desktop-nav .certificates-trigger:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--contour);
  transition: 0.25s;
}
.desktop-nav a:hover:after,
.desktop-nav .certificates-trigger:hover:after,
.desktop-nav .certificates-trigger:focus-visible:after {
  width: 100%;
}
.certificates-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.25rem;
  font-weight: 700;
  font-size: 0.88rem;
}
.header-cta {
  background: var(--ink);
  color: #fff;
}
.header-cta:hover,
.button.primary:hover {
  background: var(--pink);
}
.menu-button,
.mobile-nav {
  display: none;
}
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 28px 5rem;
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.eyebrow {
  margin: 0 0 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pink);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 2rem;
  font-weight: 700;
}
.hero h1 span {
  color: var(--pink);
}
.hero-lead {
  max-width: 700px;
  color: #56575b;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.2rem;
}
.button.primary {
  background: var(--accent-glass-strong);
  backdrop-filter: saturate(120%) blur(8px);
  color: #fff;
  min-height: 54px;
  padding: 0 1.65rem;
  border-bottom: 3px solid var(--contour);
}
.text-link {
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  padding: 0.6rem 0;
}
.text-link span {
  color: var(--pink);
  margin-left: 0.45rem;
}
.hero-panel {
  aspect-ratio: 0.72;
  background: var(--ink);
  color: #fff;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-panel:before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  right: -105px;
  top: 23%;
}
.hero-panel:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 45px solid var(--pink);
  border-radius: 50%;
  left: -95px;
  bottom: -88px;
}
.panel-top,
.panel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #b7b7ba;
}
.panel-bottom span {
  flex-shrink: 0;
  white-space: nowrap;
}
.panel-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.035em;
  position: relative;
  z-index: 2;
}
.signal {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  top: 26%;
}
.signal-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  display: block;
}
.signal-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-glass-strong);
  display: block;
  border-radius: 50%;
  position: absolute;
  right: 26%;
  top: -4px;
  box-shadow: 0 0 0 8px rgba(32, 33, 35, 0.16);
}
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}
.proof div {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}
.proof div:last-child {
  border: 0;
}
.proof b {
  font-size: 0.95rem;
}
.proof span {
  color: var(--muted);
  font-size: 0.85rem;
}
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 28px;
}
.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.section-head .eyebrow {
  grid-column: 1/-1;
  margin-bottom: -2rem;
}
.section h2,
.contact h2 {
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0;
}
.section-head > p {
  max-width: 480px;
  color: var(--muted);
  margin: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 390px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  background: #fff;
}
.service-card > div {
  min-width: 0;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(32, 33, 35, 0.09);
  z-index: 2;
}
.service-card.featured {
  background:
    linear-gradient(var(--accent-glass), var(--accent-glass)), var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--contour);
}
.service-card.dark {
  background: var(--ink);
  color: #fff;
}
.service-card.consulting {
  grid-column: 1/-1;
  min-height: 330px;
  background: linear-gradient(120deg, #fff 58%, var(--accent-glass) 100%);
  border-bottom: 3px solid var(--contour);
}
.service-card h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.service-card p {
  max-width: 450px;
  color: var(--muted);
}
.service-card.featured p,
.service-card.dark p {
  color: rgba(255, 255, 255, 0.73);
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 2.3rem 0 0;
  border-top: 1px solid currentColor;
}
.service-card li {
  padding: 0.65rem 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
}
.approach {
  max-width: none;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) 1.25fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding-left: max(calc((100vw - var(--max)) / 2 + 28px), 28px);
  padding-right: max(calc((100vw - var(--max)) / 2 + 28px), 28px);
}
.eyebrow.light {
  color: #d7d7da;
}
.approach-intro > p:last-child {
  color: #aaaab0;
  max-width: 400px;
  margin-top: 2rem;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #494a4d;
}
.steps li {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.5rem 0;
  border-bottom: 1px solid #494a4d;
}
.steps h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.steps p {
  color: #aaaab0;
  margin: 0;
  max-width: 520px;
}
.section-head.horizontal {
  grid-template-columns: 1fr 1fr;
}
.section-head.horizontal .eyebrow {
  grid-column: auto;
  margin-bottom: 1.2rem;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.work-grid article {
  min-height: 300px;
  padding: 2rem 1.8rem;
  position: relative;
  border-right: 1px solid var(--line);
}
.work-grid article:last-child {
  border-right: 0;
}
.work-grid span {
  font-size: 0.72rem;
  color: var(--pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.work-grid h3 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 4rem 0 1rem;
}
.work-grid p {
  color: var(--muted);
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  border-top: 1px solid var(--line);
}
.about-copy .large {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.45;
  color: var(--ink);
}
.about-copy > p:not(.large) {
  color: var(--muted);
}
.about-copy .market-channel {
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 2px solid var(--contour);
}
.market-channel a {
  color: var(--ink);
  font-weight: 800;
}
.market-channel a:hover,
.market-channel a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}
.values span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.certificate-sheet {
  min-width: 0;
  margin: 0;
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
  display: grid;
  grid-template-rows: minmax(300px, 1fr) auto;
  gap: 0.85rem;
  background: #fff;
  border-bottom: 2px solid var(--contour);
  cursor: zoom-in;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.certificate-sheet:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(32, 33, 35, 0.12);
  z-index: 1;
}
.certificate-sheet:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}
.certificate-sheet img {
  width: 100%;
  height: clamp(300px, 36vh, 480px);
  object-fit: contain;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}
.certificate-logo-sheet img {
  width: min(82%, 520px);
  margin: auto;
}
.certificate-sheet figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.certificate-sheet b {
  font-size: 0.9rem;
  line-height: 1.3;
}
.certificate-sheet small {
  color: var(--muted);
  font-size: 0.72rem;
}
.certificates-dialog {
  width: min(1240px, calc(100vw - 24px));
  height: calc(100dvh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(32, 33, 35, 0.24);
  border-bottom: 4px solid var(--contour);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 32px 100px rgba(32, 33, 35, 0.3);
  backdrop-filter: blur(20px);
}
.certificates-dialog::backdrop {
  background: rgba(32, 33, 35, 0.72);
  backdrop-filter: blur(5px);
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.dialog-bar h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.dialog-bar .eyebrow {
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.certificate-lightbox {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 18px;
  border: 0;
  background: rgba(32, 33, 35, 0.97);
  color: #fff;
  cursor: zoom-out;
}
.certificate-lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}
.certificate-lightbox::backdrop {
  background: rgba(32, 33, 35, 0.97);
}
.certificate-lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.certificate-lightbox span {
  justify-self: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  text-align: center;
}
.dialog-close {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid var(--contour);
  background: rgba(32, 33, 35, 0.1);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.contact {
  background:
    linear-gradient(var(--accent-glass-strong), var(--accent-glass-strong)),
    var(--ink);
  color: #fff;
  padding: clamp(4.5rem, 8vw, 8rem)
    max(calc((100vw - var(--max)) / 2 + 28px), 28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  border-bottom: 4px solid var(--contour);
}
.contact-title > p:last-child {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2rem;
}
.contact-panel {
  align-self: start;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: rgba(32, 33, 35, 0.2);
}
.contact-box {
  border-top: 0;
}
.contact-box > a,
.contact-box > div {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.contact-box small {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
}
.contact-box strong {
  font-size: 0.96rem;
}
.contact-box a span {
  font-size: 1.25rem;
}
.contact-box a:hover strong {
  text-decoration: underline;
}
.contact-box > div {
  align-items: start;
}
.contact-box em {
  grid-column: 2/-1;
  font-size: 0.72rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 28px;
  display: grid;
  grid-template-columns: 160px 1fr auto auto;
  align-items: center;
  gap: 2rem;
  font-size: 0.72rem;
  color: var(--muted);
}
footer img {
  width: 145px;
}
footer p {
  margin: 0;
}
footer a {
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 860px) {
  .site-header {
    height: 72px;
  }
  .brand {
    width: 132px;
  }
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-button {
    display: flex;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
  }
  .menu-button span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: 0.2s;
  }
  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  .mobile-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 24px 1.5rem;
    flex-direction: column;
  }
  .mobile-nav[hidden] {
    display: none;
  }
  .mobile-nav a {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav .certificates-trigger {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 1.1rem;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }
  .hero-panel {
    aspect-ratio: auto;
    min-height: 360px;
  }
  .proof {
    grid-template-columns: 1fr;
  }
  .proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof div:last-child {
    border-bottom: 0;
  }
  .section-head,
  .section-head.horizontal,
  .about,
  .contact,
  .approach {
    grid-template-columns: 1fr;
  }
  .section-head .eyebrow {
    grid-column: auto;
    margin-bottom: 0.8rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 260px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
  footer p {
    grid-column: 1/-1;
  }
  footer a {
    text-align: right;
  }
}
@media (max-width: 540px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 13.5vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-head {
    gap: 1.5rem;
  }
  .service-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem;
  }
  .service-card h3 {
    font-size: 1.75rem;
    line-height: 1.15;
  }
  .service-card p {
    font-size: 1rem;
    line-height: 1.65;
  }
  .service-card ul {
    margin-top: 1.75rem;
  }
  .section h2,
  .contact h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
    line-height: 1.04;
  }
  .panel-top,
  .panel-bottom {
    flex-wrap: wrap;
  }
  .approach,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }
  .contact-box > a,
  .contact-box > div {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  .contact-box strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .contact-box > a span {
    display: none;
  }
  footer {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
  }
  footer a {
    text-align: left;
  }
  .certificate-grid {
    grid-template-columns: 1fr;
  }
  .certificates-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    padding: 1rem;
    border-left: 0;
    border-right: 0;
    border-top: 0;
  }
  .certificate-sheet {
    grid-template-rows: minmax(240px, 1fr) auto;
  }
  .certificate-sheet img {
    height: min(58vh, 430px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

.header-cta:hover,
.button.primary:hover {
  background: var(--accent-dark);
}
