:root {
  color-scheme: dark;
  --bg: #031425;
  --bg-deep: #02101e;
  --surface: #061b2d;
  --surface-raised: #092239;
  --line: rgba(126, 160, 184, 0.25);
  --line-strong: rgba(53, 198, 255, 0.42);
  --white: #f7fafc;
  --text: #d8e3ec;
  --muted: #8da3b6;
  --blue: #35c6ff;
  --blue-dark: #1099df;
  --green: #28d895;
  --green-strong: #10bc7a;
  --yellow: #f2c94c;
  --radius: 15px;
  --max: 1180px;
  font-family: Inter, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(53, 198, 255, 0.48);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 999;
  background: var(--white);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(var(--max), calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 20;
}
.brand {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand span:last-child { color: var(--muted); }
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(40, 216, 149, 0.08);
}
nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
nav a { font-size: 13px; color: var(--text); transition: color 180ms ease; }
nav a:hover { color: var(--blue); }
.availability {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.availability span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--white);
  padding: 8px;
}

main { overflow: clip; }
.hero {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 70px;
  align-items: center;
  padding: 66px 0 90px;
}
.overline {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 32px;
}
.overline span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 {
  color: var(--white);
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  font-weight: 800;
}
.hero h2 {
  color: var(--blue);
  font-size: clamp(24px, 2.15vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}
.credential {
  color: var(--yellow);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.035em;
  margin: 0 0 20px;
}
.hero-lede {
  max-width: 550px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-strong); color: #001c16; }
.button-primary:hover { background: var(--green); }
.button-secondary { border-color: var(--line-strong); background: rgba(4, 24, 41, 0.72); color: var(--white); }
.button-secondary:hover { border-color: var(--blue); }
.text-link {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
}

.portrait-stage {
  height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}
.portrait-rings {
  width: 310px;
  height: 310px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  padding: 17px;
  box-shadow: 0 0 0 22px rgba(53, 198, 255, 0.05), 0 0 0 44px rgba(53, 198, 255, 0.025);
}
.portrait-rings img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 50%;
  border: 3px solid var(--green);
}
.metric-badge {
  position: absolute;
  min-width: 176px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(4, 24, 41, 0.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}
.metric-badge::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--bg);
  left: -25px;
}
.metric-badge strong { display: block; color: var(--white); font-size: 17px; line-height: 1.1; }
.metric-badge span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.badge-one { top: 50px; right: 4px; }
.badge-two { top: 146px; right: -54px; }
.badge-three { top: 244px; right: -48px; }
.badge-four { top: 340px; right: 0; }

.proof-strip {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 27, 45, 0.76);
}
.proof-strip article {
  min-height: 112px;
  padding: 25px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.proof-strip article:last-child { border-right: 0; }
.proof-strip svg { color: var(--blue); flex: 0 0 auto; }
.proof-strip h3 { color: var(--white); margin: 0 0 4px; font-size: 15px; }
.proof-strip p { color: var(--muted); margin: 0; font-size: 12px; line-height: 1.45; }

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0 0;
}
.section-heading { max-width: 700px; margin-bottom: 38px; }
.section-heading p, .contact-copy > p:first-of-type {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin: 0 0 14px;
}
.section-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.section-heading.compact h2 { font-size: clamp(28px, 2.65vw, 38px); }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.expertise-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(6, 27, 45, 0.72);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.expertise-card:hover { border-color: var(--line-strong); background: var(--surface-raised); transform: translateY(-4px); }
.icon-shell { color: var(--blue); margin-bottom: 50px; }
.expertise-card h3 { color: var(--white); font-size: 21px; line-height: 1.25; margin: 0 0 14px; }
.expertise-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 24px; }
.expertise-card a { margin-top: auto; color: var(--blue); width: max-content; }

.case-section { padding-top: 130px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filters button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 18px;
  cursor: pointer;
  transition: 160ms ease;
}
.filters button:hover { color: var(--white); border-color: var(--blue); }
.filters button.active { color: #001b2b; border-color: var(--blue); background: var(--blue); font-weight: 800; }
.case-list { display: grid; gap: 16px; }
.case-card[hidden] { display: none; }
.case-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6, 27, 45, 0.72); overflow: hidden; }
.case-card.expanded { border-color: var(--line-strong); }
.case-summary {
  width: 100%;
  min-height: 170px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 190px 24px;
  align-items: center;
  gap: 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 24px 30px;
  cursor: pointer;
}
.case-summary:hover { background: rgba(53, 198, 255, 0.035); }
.case-icon { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blue); }
.case-copy { display: grid; gap: 7px; }
.case-copy small { color: var(--blue); font-weight: 750; }
.case-copy strong { color: var(--white); font-size: 19px; }
.case-copy > span { color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 650px; }
.case-metric { border-left: 1px solid var(--line); padding-left: 28px; }
.case-metric strong { display: block; color: var(--white); font-size: 27px; }
.case-metric span { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.case-detail { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 50px; padding: 0 30px 30px 134px; }
.case-detail > div { border-top: 1px solid var(--line); padding-top: 22px; }
.case-detail h4 { color: var(--blue); margin: 0 0 13px; }
.case-detail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.case-detail li { color: var(--muted); font-size: 13px; line-height: 1.45; padding-left: 18px; position: relative; }
.case-detail li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: 7px; }

.experience-section { padding-top: 130px; }
.experience-shell { display: grid; grid-template-columns: 80px 1fr; gap: 22px; }
.experience-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 22px; }
.experience-controls button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--blue);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.experience-controls button:disabled { opacity: 0.3; cursor: not-allowed; }
.experience-controls span { color: var(--muted); font-size: 11px; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 30px; bottom: 30px; width: 1px; background: var(--line-strong); }
.timeline button {
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 36px 54px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(6, 27, 45, 0.65);
  color: var(--text);
  padding: 18px 22px 18px 0;
  text-align: left;
  cursor: pointer;
  transition: 180ms ease;
}
.timeline button:hover, .timeline button.active { border-color: var(--line-strong); background: var(--surface-raised); }
.timeline-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--blue); justify-self: center; z-index: 1; box-shadow: 0 0 0 7px var(--surface); }
.timeline-icon { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--blue); display: grid; place-items: center; }
.timeline-copy { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr); column-gap: 32px; align-items: center; }
.timeline-copy small { color: var(--blue); font-size: 11px; font-weight: 800; }
.timeline-copy strong { color: var(--white); font-size: 16px; }
.timeline-copy em { color: var(--yellow); font-size: 12px; font-style: normal; }
.timeline-copy > span { color: var(--muted); font-size: 13px; line-height: 1.5; grid-column: 2; grid-row: 1 / span 3; }

.contact-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 128px auto 0;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-icon { width: 66px; height: 66px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--blue); margin-bottom: 25px; }
.contact-copy h2 { color: var(--white); margin: 0; font-size: 34px; line-height: 1.2; letter-spacing: -0.025em; }
.contact-lede { color: var(--muted); line-height: 1.65; margin: 18px 0 22px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 18px; }
.contact-links a { color: var(--blue); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-deep);
  color: var(--white);
  padding: 13px 14px;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: #61778a; }
.submit-button { justify-self: start; border: 0; }
.form-message { margin: 0; font-size: 13px; }
.form-message.error { color: #ff9b9b; }
.form-success { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--green); }

footer {
  width: min(var(--max), calc(100% - 48px));
  min-height: 110px;
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
footer a { color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .portrait-stage, .proof-strip, .section-heading { animation: enter 700ms both; }
  .portrait-stage { animation-delay: 90ms; }
  @keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1000px) {
  .site-header { min-height: 68px; }
  .menu-button { display: grid; place-items: center; }
  nav {
    display: none;
    position: absolute;
    top: 62px;
    right: 0;
    min-width: 230px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
  }
  nav.nav-open { display: flex; }
  nav a { padding: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; gap: 12px; }
  .portrait-stage { height: 510px; max-width: 620px; width: 100%; justify-self: center; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip article:nth-child(2) { border-right: 0; }
  .proof-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-copy { grid-template-columns: 1fr; }
  .timeline-copy > span { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .contact-section { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 700px) {
  .site-header, .hero, .proof-strip, .section, .contact-section, footer { width: min(100% - 32px, var(--max)); }
  .brand { font-size: 10px; }
  .hero { padding-top: 42px; padding-bottom: 45px; }
  .hero h1 { font-size: 46px; }
  .hero h2 { font-size: 24px; }
  .credential { font-size: 14px; }
  .portrait-stage { height: 430px; transform: scale(0.88); margin: -26px 0; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip article:last-child { border-bottom: 0; }
  .section { padding-top: 88px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 260px; }
  .icon-shell { margin-bottom: 34px; }
  .case-summary { grid-template-columns: 54px minmax(0, 1fr) 20px; gap: 14px; padding: 20px; }
  .case-icon { width: 52px; height: 52px; }
  .case-metric { grid-column: 2; border-left: 0; padding: 10px 0 0; }
  .case-detail { grid-template-columns: 1fr; gap: 20px; padding: 0 20px 24px 88px; }
  .experience-shell { grid-template-columns: 1fr; }
  .experience-controls { flex-direction: row; padding-top: 0; }
  .timeline button { grid-template-columns: 32px 44px 1fr; padding-right: 14px; }
  .timeline-icon { width: 42px; height: 42px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-section { padding: 28px 22px; }
  .form-success { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; justify-content: center; gap: 14px; }
}

@media (max-width: 480px) {
  .hero-actions .button { width: 100%; }
  .portrait-stage { transform: scale(0.72); margin: -66px 0; }
  .case-detail { padding-left: 20px; }
  .case-copy > span { display: none; }
}
