:root {
  color-scheme: light;
  --navy: #081c2f;
  --navy-2: #0d2942;
  --ink: #102638;
  --muted: #5f7080;
  --cyan: #00c7c7;
  --cyan-dark: #007f85;
  --blue: #1d6fff;
  --paper: #f5f8f9;
  --white: #ffffff;
  --line: #dbe4e8;
  --shadow: 0 22px 60px rgba(8, 28, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  width: min(1240px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

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

.desktop-nav a {
  color: #445867;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--navy);
}

.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.button-outline {
  border-color: #b7c5cd;
  background: var(--white);
}

.button-outline:hover {
  border-color: var(--navy);
}

.button-primary {
  color: var(--navy);
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(0, 199, 199, 0.22);
}

.button-primary:hover {
  background: #15d9d5;
  box-shadow: 0 16px 34px rgba(0, 199, 199, 0.3);
}

.button-secondary {
  border-color: #9fb1be;
  background: var(--white);
  color: var(--navy);
}

.button-full {
  width: 100%;
}

.hero {
  min-height: 680px;
  padding: 76px max(40px, calc((100vw - 1240px) / 2)) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.78fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
  color: var(--white);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 78% 22%, rgba(0, 199, 199, 0.13), transparent 30%),
    linear-gradient(118deg, var(--navy) 0%, #0a2238 58%, #0d304a 100%);
}

.hero::after {
  content: "";
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  position: absolute;
  right: -170px;
  bottom: -235px;
}

.hero-copy,
.hero-portrait {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow.light {
  color: var(--cyan);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 750px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 5.6vw, 5.6rem);
  line-height: 0.99;
}

h1 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-lead {
  max-width: 690px;
  margin: 0 0 32px;
  color: #c9d8e2;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.text-link.dark {
  color: var(--navy);
  border-color: #9fb0ba;
}

.trust-row {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #b9cad5;
  font-size: 12px;
}

.hero-portrait {
  max-width: 500px;
  margin-left: auto;
  padding: 0 0 44px 30px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px 20px 64px 20px;
  background: var(--white);
  box-shadow: 0 34px 75px rgba(0, 0, 0, 0.24);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(8, 28, 47, 0.05);
}

.portrait-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.portrait-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 34px 26px 22px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(0deg, rgba(8, 28, 47, 0.96), rgba(8, 28, 47, 0));
}

.portrait-caption strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
}

.portrait-caption span {
  margin-top: 3px;
  color: #c8d8e1;
  font-size: 13px;
}

.portrait-principle {
  max-width: 335px;
  padding: 18px 20px;
  position: absolute;
  right: -24px;
  bottom: 0;
  z-index: 3;
  border-left: 4px solid var(--cyan);
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.portrait-principle span {
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portrait-principle p {
  margin: 5px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.signal-strip {
  width: min(1120px, calc(100% - 40px));
  margin: -26px auto 0;
  min-height: 74px;
  padding: 18px 28px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.signal-strip p {
  margin: 0;
  color: #405767;
  font-size: 13px;
  font-weight: 700;
}

.signal-strip span {
  color: var(--cyan-dark);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}

.section-heading h2,
.principle h2,
.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.08;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.problem-card {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.problem-card:hover {
  z-index: 1;
  background: var(--paper);
  transform: translateY(-4px);
}

.problem-card.featured {
  background: #eafcfc;
}

.card-number {
  margin-bottom: 38px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
}

.problem-card h3 {
  margin-bottom: 14px;
  font-size: 1.26rem;
  line-height: 1.28;
}

.problem-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.problem-card small {
  margin-top: auto;
  color: #506676;
  font-size: 12px;
  font-weight: 700;
}

.principle {
  padding: 90px max(40px, calc((100vw - 1160px) / 2));
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: end;
  color: var(--white);
  background: var(--blue);
}

.principle h2 {
  margin-bottom: 0;
}

.principle > p {
  margin: 0;
  color: #e3edff;
  font-size: 1.05rem;
}

.method-heading {
  margin-bottom: 58px;
}

.method-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
}

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

.lens-stack article {
  padding: 25px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.lens-stack span {
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lens-stack h3 {
  margin: 7px 0 4px;
  font-size: 1.14rem;
}

.lens-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 4px 0 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  position: relative;
}

.steps li:not(:last-child)::before {
  content: "";
  width: 1px;
  position: absolute;
  top: 46px;
  bottom: 3px;
  left: 23px;
  background: var(--line);
}

.steps > li > span {
  width: 48px;
  height: 48px;
  border: 1px solid #bed0d9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
}

.steps strong {
  display: block;
  padding-top: 3px;
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
}

.steps p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cases {
  width: auto;
  padding-left: max(40px, calc((100vw - 1160px) / 2));
  padding-right: max(40px, calc((100vw - 1160px) / 2));
  background: var(--paper);
}

.case-list {
  border-top: 1px solid #bdcbd2;
}

.case-list button {
  width: 100%;
  padding: 25px 4px;
  border: 0;
  border-bottom: 1px solid #bdcbd2;
  display: grid;
  grid-template-columns: 0.75fr 1fr 40px;
  align-items: center;
  gap: 30px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.case-list button:hover span {
  color: var(--blue);
}

.case-list span {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.case-list small {
  color: var(--muted);
  font-size: 14px;
}

.case-list b {
  font-size: 1.2rem;
  text-align: right;
}

.profile {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-identity h2 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.profile-photo {
  width: 130px;
  height: 154px;
  flex: 0 0 130px;
  overflow: hidden;
  border-radius: 18px 18px 44px 18px;
  background: var(--paper);
  box-shadow: 16px 18px 0 #dff7f7;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% 24%;
}

.role {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.profile-copy > p {
  margin-top: 0;
  color: #405664;
  font-size: 1.05rem;
}

blockquote {
  margin: 30px 0;
  padding-left: 20px;
  border-left: 3px solid var(--cyan);
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.35;
}

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

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

.format-grid article {
  min-height: 325px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.format-grid article:nth-child(2) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.format-grid > article > span {
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
}

.format-grid article:nth-child(2) > span {
  color: var(--cyan);
}

.format-grid h3 {
  margin: 38px 0 14px;
  font-size: 1.45rem;
}

.format-grid p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.format-grid article:nth-child(2) p {
  color: #c0d0db;
}

.format-grid strong {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.5;
}

.contact {
  padding: 100px max(40px, calc((100vw - 1160px) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 86%, rgba(29, 111, 255, 0.26), transparent 30%),
    var(--navy);
}

.contact-copy > p:not(.eyebrow) {
  color: #bdced8;
  font-size: 1.05rem;
}

.contact-note {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  color: #cbd9e1;
}

.contact-note > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--cyan);
  font-weight: 800;
}

.contact-note p {
  margin: 0;
  font-size: 14px;
}

.booking-card {
  padding: 32px;
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.booking-label {
  margin: 0 0 8px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.booking-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.booking-details {
  margin: 28px 0;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.booking-details > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.booking-details > div > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #dff7f7;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.booking-details p {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.booking-details strong {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.booking-details small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.booking-helper {
  margin: 12px 0 0;
  color: #748692;
  font-size: 12px;
  text-align: center;
}

footer {
  min-height: 170px;
  padding: 40px max(40px, calc((100vw - 1160px) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
}

footer p,
footer > a {
  color: var(--muted);
  font-size: 13px;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent {
  width: min(720px, calc(100% - 32px));
  padding: 20px;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: var(--white);
  background: rgba(8, 28, 47, 0.97);
  box-shadow: 0 22px 60px rgba(8, 28, 47, 0.3);
}

.analytics-consent strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.analytics-consent p {
  margin: 0;
  color: #cbd9e1;
  font-size: 13px;
  line-height: 1.5;
}

.analytics-consent-actions {
  display: flex;
  gap: 9px;
}

.consent-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.consent-decline {
  border-color: #6d8291;
  color: #dce8ed;
  background: transparent;
}

.consent-accept {
  color: var(--navy);
  background: var(--cyan);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 70px;
  }

  .hero-portrait {
    max-width: 650px;
    margin: 0 auto;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle,
  .method-layout,
  .profile,
  .contact {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .profile-identity {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 28px, 1240px);
    min-height: 74px;
  }

  .brand-text small,
  .site-header > .button {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 64px 20px 76px;
  }

  h1 {
    font-size: clamp(2.75rem, 13.5vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .hero-portrait {
    width: min(100%, 500px);
    padding: 0 10px 68px 0;
  }

  .portrait-frame {
    border-radius: 16px 16px 46px 16px;
  }

  .portrait-principle {
    right: 0;
    bottom: 0;
    max-width: calc(100% - 28px);
  }

  .signal-strip {
    margin-top: 0;
    width: 100%;
    padding: 20px;
    border-radius: 0;
    overflow-x: auto;
    justify-content: flex-start;
    white-space: nowrap;
    box-shadow: none;
  }

  .section {
    width: min(100% - 40px, 1160px);
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .principle h2,
  .contact h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .problem-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 270px;
  }

  .principle,
  .cases,
  .contact {
    padding: 74px 20px;
  }

  .case-list button {
    grid-template-columns: 1fr 30px;
    gap: 8px;
  }

  .case-list small {
    grid-column: 1;
  }

  .case-list b {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .profile-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-photo {
    width: 112px;
    height: 132px;
    flex-basis: 132px;
  }

  .booking-card {
    padding: 22px;
  }

  footer {
    padding: 44px 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .analytics-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .analytics-consent-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .consent-button {
    width: 100%;
  }
}

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

  .button,
  .problem-card {
    transition: none;
  }
}
