:root {
  color-scheme: light;
  --blue: #0002e6;
  --blue-dark: #0001bc;
  --paper: #f9f9f7;
  --white: #fff;
  --ink: #121419;
  --muted: #535660;
  --line: #d9d9df;
  --grid: #dfe0f6;
  --shell: 76rem;
  --gutter: clamp(1.25rem, 4.1vw, 4.5rem);
  --heading: Inter, Arial, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 1rem/1.55 var(--body); background: var(--paper); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { color: var(--white); background: var(--blue); }
section[id] { scroll-margin-top: 1rem; }
.shell { width: min(var(--shell), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 5.1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  white-space: nowrap;
  color: var(--blue);
  font: 750 1.37rem/1 var(--heading);
  letter-spacing: -.05em;
}

.mark {
  --mark-color: var(--blue);
  display: inline-block;
  position: relative;
  flex: none;
  width: 1.65rem;
  aspect-ratio: 528 / 514;
}
.mark i { position: absolute; inset: 0; background: var(--mark-color); }
.mark i:nth-child(1) {
  clip-path: polygon(0 0, 75.38% 0, 75.38% 31.2%, 31.98% 31.2%, 31.98% 50.1%, 8.52% 50.1%, 8.52% 63.7%, 0 63.7%);
}
.mark i:nth-child(2) {
  clip-path: polygon(0 66.8%, 11.36% 66.8%, 11.36% 53.2%, 31.98% 53.2%, 31.98% 69.98%, 62.88% 69.98%, 62.88% 83.9%, 49.81% 83.9%, 49.81% 100%, 0 100%);
}
.mark i:nth-child(3) {
  clip-path: polygon(78.22% 10.92%, 100% 10.92%, 100% 100%, 52.84% 100%, 52.84% 86.94%, 65.72% 86.94%, 65.72% 34.31%, 78.22% 34.31%);
}
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.2vw, 2.8rem); }
.nav a { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--blue); }
.header-action { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: .65rem 1.1rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 170ms ease, color 170ms ease, border-color 170ms ease;
}
.button-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--blue); }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.text-link {
  color: var(--blue);
  width: fit-content;
  font-size: .94rem;
  font-weight: 700;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 5vw, 5.1rem);
  padding-block: clamp(4rem, 7.2vw, 7rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
}
.bullet { flex: none; width: .45rem; height: .45rem; background: currentColor; }
h1, h2, h3, h4 { font-family: var(--heading); }
h1 {
  margin-top: 1.25rem;
  font-size: clamp(3.3rem, 5.65vw, 5.55rem);
  font-weight: 740;
  letter-spacing: -.075em;
  line-height: .99;
  text-wrap: balance;
}
.brand-period { color: var(--blue); }
.hero-lede {
  max-width: 29rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.35rem; margin-top: 1.9rem; }
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1.04;
  isolation: isolate;
  border: 1px solid var(--grid);
  background: #f2f2fb;
}
.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
}
.art-plan {
  position: relative;
  display: grid;
  place-items: center;
  width: 75%;
  height: 75%;
  outline: 1px dashed #bdbfec;
}
.art-corner {
  position: absolute;
  width: .52rem;
  height: .52rem;
  background: var(--blue);
}
.art-corner:nth-child(1) { top: -.26rem; left: -.26rem; }
.art-corner:nth-child(2) { top: -.26rem; right: -.26rem; }
.art-corner:nth-child(3) { bottom: -.26rem; right: -.26rem; }
.art-corner:nth-child(4) { bottom: -.26rem; left: -.26rem; }
.mark-large { width: 74%; }
.mark-large i { transition: transform 260ms ease; }
@media (hover: hover) {
  .hero-art:hover .mark-large i:nth-child(1) { transform: translate(-2%, -2%); }
  .hero-art:hover .mark-large i:nth-child(2) { transform: translate(-2%, 2%); }
  .hero-art:hover .mark-large i:nth-child(3) { transform: translate(2%, 0); }
}

.section { padding-block: clamp(3.5rem, 6.3vw, 6rem); }
.services { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(1.45rem, 3.2vw, 2.75rem); }
h2 {
  margin-top: .65rem;
  font-size: clamp(2.4rem, 5.15vw, 4.4rem);
  font-weight: 735;
  line-height: 1.02;
  letter-spacing: -.065em;
}
.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.service-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: .75rem .5rem;
  text-align: center;
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.3;
  font-weight: 700;
  background: var(--paper);
}
.service-tabs a:hover { color: var(--blue); background: #f2f2fb; }
.service-tabs a[aria-selected="true"] { color: var(--white); background: var(--blue); }
.service-tabs a:focus-visible { outline-offset: -4px; }
.service-tabs a[aria-selected="true"]:focus-visible { outline-color: var(--white); }

.service-content {
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--white);
}
.service-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 14rem;
  scroll-margin-top: 1rem;
}
.service-panel + .service-panel { border-top: 1px solid var(--line); }
.service-main, .service-aside { padding: clamp(1.35rem, 3.3vw, 2.5rem); }
.service-main h3 {
  font-size: clamp(1.4rem, 2.55vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.service-main p { margin-block: .85rem 1.15rem; max-width: 35rem; color: var(--muted); }
.service-aside { border-left: 1px solid var(--line); background: #f6f6fc; }
.service-aside h4 { font-size: 1.05rem; margin-bottom: .75rem; }
.service-aside ul { display: grid; gap: .65rem; padding-left: 1.1rem; color: var(--muted); }
.service-aside li::marker { color: var(--blue); }

.process { background: var(--blue); color: var(--white); }
.process .eyebrow { color: #ddddff; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; list-style: none; }
.steps li {
  position: relative;
  border-top: 1px solid #7779fb;
  padding: 1.25rem clamp(.85rem, 2.5vw, 2rem) 0 0;
}
.steps li::before { content: ""; position: absolute; width: .47rem; height: .47rem; top: -.25rem; left: 0; background: var(--white); }
.steps h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.02em; }
.steps p { margin-top: .65rem; max-width: 16rem; color: #e5e5ff; }

.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); }
.brief-intro > p:last-child { max-width: 24rem; margin-top: 1.15rem; color: var(--muted); }
.brief-form { display: grid; justify-items: start; align-content: start; gap: 1rem; }
.field { width: 100%; display: grid; gap: .38rem; }
.field label { font-size: .94rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 3.05rem;
  border: 1px solid #aeb0bc;
  border-radius: 2px;
  padding: .7rem .8rem;
  background: var(--white);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input::placeholder, .field textarea::placeholder { color: #666a75; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.1rem; }
.select-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: 1rem;
  top: calc(50% - .27rem);
  width: .44rem;
  height: .44rem;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-note { font-size: .88rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { color: var(--blue); font-size: .9rem; font-weight: 650; }

.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; min-height: 5.25rem; padding-block: 1rem; }
.footer p { color: var(--muted); font-size: .9rem; }

@media (max-width: 64rem) {
  h1 { font-size: clamp(3.1rem, 6.1vw, 4.6rem); }
}
@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.2rem; }
  .hero-art { max-height: 24rem; aspect-ratio: 1.32; }
  .art-plan { width: min(75%, 24rem); height: 75%; }
  .mark-large { width: auto; height: 77%; }
  h1 { font-size: clamp(3.2rem, 10.2vw, 5rem); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 0; }
  .brief { grid-template-columns: 1fr; }
}

@media (max-width: 34rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: .65rem; padding-block: .9rem .75rem; }
  .header-action { grid-column: 2; grid-row: 1; min-height: 2.5rem; padding-inline: .7rem; }
  .nav { grid-column: 1 / -1; grid-row: 2; }
  .nav a { display: inline-flex; align-items: center; min-height: 2rem; }
  .wordmark { font-size: 1.28rem; gap: .5rem; }
  .mark:not(.mark-large) { width: 1.45rem; }
  h1 { font-size: clamp(2.68rem, 10.2vw, 3.75rem); }
  .hero { padding-block: 2.6rem; gap: 2rem; }
  .hero-art { aspect-ratio: 1.24; }
  .hero-actions { margin-top: 1.4rem; }
  .service-tabs a { font-size: .875rem; padding-inline: .3rem; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel + .service-panel { border-top: 1px solid var(--line); }
  .service-aside { border-top: 1px solid var(--line); border-left: 0; }
  .steps h3 { font-size: 1.05rem; }
  .steps p { font-size: .94rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero-art .mark-large i { transform: none !important; }
}
