:root {
  color-scheme: light;
  --navy: #11182b;
  --coral: #ff7046;
  --milk: #f8f8f3;
  --white: #fff;
  --slate: #46505e;
  --ink-line: #c9cbc7;
  --side: clamp(22px, 5vw, 88px);
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--navy);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
::selection { background: var(--coral); color: var(--navy); }
section[id] { scroll-margin-top: 1rem; }
.shell { width: min(100% - 2 * var(--side), 1320px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: var(--side);
  top: 8px;
  z-index: 2;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--ink-line); }
.masthead-inner, .footer-inner, .main-nav, .brand {
  display: flex;
  align-items: center;
}
.masthead-inner, .footer-inner { justify-content: space-between; }
.masthead-inner { min-height: 84px; gap: 24px; }
.brand {
  width: fit-content;
  gap: 10px;
  text-decoration: none;
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1;
}
.brand img { display: block; width: 34px; height: 34px; }
.main-nav { gap: clamp(24px, 3.2vw, 56px); }
.main-nav a, .to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
}
.main-nav a:hover, .to-top:hover { text-decoration: underline; text-underline-offset: .3em; }
.main-nav .nav-contact {
  gap: 22px;
  padding: 0 16px;
  border: 1px solid var(--navy);
}
.nav-contact span { font-size: 19px; line-height: 1; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4.8vw, 84px);
  padding-block: clamp(46px, 4.6vw, 74px) clamp(56px, 5.2vw, 84px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 clamp(11px, 1vw, 14px)/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .055em;
}
.eyebrow span { display: block; width: 31px; height: 3px; background: var(--coral); }
.hero h1 {
  margin: clamp(24px, 2.45vw, 38px) 0 clamp(22px, 2vw, 31px);
  font-size: clamp(50px, 6.15vw, 96px);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.067em;
}
.period { color: var(--coral); }
.hero-description, .section-intro p, .contact p {
  font-size: clamp(17px, 1.34vw, 21px);
  line-height: 1.5;
}
.hero-description {
  color: var(--slate);
  max-width: 43ch;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 53px;
  padding: 12px 19px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}
.button-dark { margin-top: 28px; background: var(--navy); color: var(--white); }
.button-dark span { color: var(--coral); font-size: 23px; line-height: 1; }
.button-dark:hover { background: #293348; }
.button-dark:focus-visible { outline-color: var(--navy); }
.hero-visual { aspect-ratio: 1; overflow: hidden; background: #e8e5df; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }

.solutions { background: var(--navy); color: var(--milk); }
.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(35px, 5.8vw, 96px);
  padding-block: clamp(74px, 7.2vw, 116px);
}
h2 {
  font-size: clamp(40px, 4.1vw, 67px);
  line-height: 1.04;
  font-weight: 560;
  letter-spacing: -.058em;
}
.section-intro p { max-width: 33ch; margin-top: 24px; color: #c8ced6; }
.service-list details { border-top: 1px solid #646976; }
.service-list details:last-child { border-bottom: 1px solid #646976; }
.service-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px 20px 0;
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.25;
  letter-spacing: -.032em;
}
.service-list summary::-webkit-details-marker { display: none; }
.toggle {
  position: relative;
  display: block;
  width: 26px; height: 26px;
  flex: none;
}
.toggle::before, .toggle::after {
  content: "";
  position: absolute; top: 50%; left: 4px;
  width: 18px; height: 2px;
  background: var(--coral);
}
.toggle::after { transform: rotate(90deg); }
details[open] .toggle::after { display: none; }
.service-list summary:hover { color: var(--coral); }
.service-body { max-width: 60ch; padding: 0 30px 26px 0; }
.service-body > p:first-child { font-size: 16px; line-height: 1.65; color: #d3d7df; }
.example { margin-top: 19px; padding-left: 12px; border-left: 2px solid var(--coral); font-size: 14px; }
.example span {
  display: block;
  margin-bottom: 3px;
  color: #fda888;
  font: 12px/1.3 var(--mono);
}

.approach { padding-block: clamp(70px, 7vw, 112px); }
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(35px, 4.4vw, 66px);
  gap: clamp(22px, 3.6vw, 63px);
}
.steps li { counter-increment: step; border-top: 1px solid var(--ink-line); padding-top: 19px; }
.steps li::before { content: counter(step, decimal-leading-zero); color: #984020; font: 500 15px/1.3 var(--mono); }
.steps h3 { margin-top: 22px; font-size: clamp(22px, 1.85vw, 30px); letter-spacing: -.04em; font-weight: 600; line-height: 1.18; }
.steps p { margin-top: 12px; color: var(--slate); font-size: 16px; line-height: 1.6; max-width: 37ch; }

.contact { background: var(--coral); }
.contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(58px, 6.4vw, 98px);
}
.contact p { max-width: 41ch; margin-top: 24px; }
.email {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding-bottom: 7px;
  border-bottom: 2px solid currentColor;
  text-decoration: none;
  font-size: clamp(27px, 3.2vw, 51px);
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: 1.2;
  white-space: nowrap;
}
.email:hover { border-bottom-style: dashed; }
.footer-inner { min-height: 94px; }
.footer-inner .brand { font-size: 25px; }
.footer-inner .brand img { width: 25px; height: 25px; }
.to-top { gap: 10px; }
.to-top span { font-size: 20px; }

@media (max-width: 980px) {
  .hero { gap: 26px; }
  .hero h1 { font-size: clamp(47px, 6.1vw, 60px); }
  .solutions-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; }
  h2 { font-size: clamp(36px, 4.1vw, 44px); }
}
@media (max-width: 760px) {
  .masthead-inner { min-height: 70px; gap: 12px; }
  .brand { font-size: 27px; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 14px; }
  .main-nav .nav-contact { gap: 10px; padding-inline: 10px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 39px 42px; }
  .hero h1 { font-size: clamp(43px, 10.45vw, 76px); margin-block: 22px; }
  .hero-description { max-width: 43ch; }
  .hero-visual { width: 100%; aspect-ratio: 1.38; }
  .hero-visual img { object-position: center 57%; }
  .button-dark { margin-top: 22px; }
  .solutions-layout { grid-template-columns: 1fr; gap: 31px; padding-block: 55px; }
  h2 { font-size: clamp(36px, 7.1vw, 48px); }
  .section-intro p { margin-top: 14px; }
  .service-body { padding-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; gap: 8px 14px; }
  .steps li::before { grid-row: span 2; padding-top: 4px; }
  .steps h3, .steps p { margin: 0; }
  .steps p { grid-column: 2; max-width: 50ch; }
  .contact-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 540px) {
  .masthead-inner { flex-wrap: wrap; gap: 0; padding-top: 16px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 6px; margin-block: 5px 2px; }
  .main-nav .nav-contact { border: 0; padding: 0; }
  .main-nav a { font-size: 14px; }
  .contact p { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
