@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --color-bg: #202731;
  --color-surface: #2e3440;
  --color-surface-raised: #353f4e;
  --color-text: #eceff4;
  --color-muted: #b8c1ce;
  --color-accent: #88c0d0;
  --color-on-accent: #202731;
  --font-body: Manrope, system-ui, sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --page-gutter: clamp(24px, 4.45vw, 64px);
  --panel-padding: 32px;
  --grid-gap: 24px;
  --section-gap: 64px;
  --radius: 18px;
  --content-width: 1312px;
  --header-height: 112px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding-top: var(--header-height);
  background: var(--color-bg);
  color: var(--color-text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 6px;
}
::selection {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.container {
  width: min(calc(100% - var(--page-gutter) * 2), var(--content-width));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  z-index: 30;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-height);
  position: fixed;
  inset-block-start: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  z-index: 20;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--page-gutter));
  background: var(--color-bg);
  z-index: -1;
}
html {
  scroll-padding-top: calc(var(--header-height) + 24px);
}
#main {
  scroll-margin-top: var(--header-height);
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img {
  height: auto;
  width: 202px;
}
.primary-nav {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  font-size: 14px;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 24px;
}
.login-link {
  white-space: nowrap;
  padding-block: 12px;
}
.nav-links > a,
.header-actions > a:not(.button),
.footer-nav a {
  transition: color 0.15s;
}
.nav-links > a:hover,
.header-actions > a:not(.button):hover,
.footer-nav a:hover,
a[aria-current="page"] {
  color: var(--color-accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 500;
}
.button--pill {
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding: 14px 24px;
}
.button--pill:hover {
  background: #a5d4e0;
}
.button img,
.arrow-circle img,
.text-link img {
  flex-shrink: 0;
}
.button--pill img,
.arrow-circle img {
  filter: none;
}
.button--circle {
  gap: 24px;
  justify-content: flex-start;
  font-size: 18px;
}
.arrow-circle {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  flex-shrink: 0;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button--circle:hover .arrow-circle,
.feature-link:hover .arrow-circle {
  background: #a5d4e0;
  transform: translateX(3px);
}
.menu-toggle {
  display: none;
}
.hero {
  --hero-overlap: clamp(96px, 10vw, 144px);
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.68fr);
  gap: var(--grid-gap);
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: var(--section-gap);
}
.hero-copy {
  padding-block: 0;
  align-self: start;
  position: relative;
  z-index: 1;
}
/* The copy surfaces mask the extended portrait into a stepped silhouette. */
.hero-copy .display-heading,
.hero-copy p {
  position: relative;
}
/* Round the revealed image edges using the same 18px corner geometry. */
.hero-copy .display-heading::after,
.hero-copy p::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc(-1 * var(--radius));
  width: var(--radius);
  height: var(--radius);
  background: var(--color-bg);
  clip-path: path("M 0 0 H 18 A 18 18 0 0 0 0 18 Z");
  pointer-events: none;
}
.hero-copy .display-heading {
  width: calc(100% + var(--grid-gap));
  padding: 24px var(--grid-gap) 24px 0;
  background: var(--color-bg);
  border-bottom-right-radius: var(--radius);
}
.display-heading {
  font-size: clamp(40px, 4.75vw, 69px);
  line-height: 1.11;
  font-weight: 350;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.accent {
  color: var(--color-accent);
}
.hero-copy p {
  width: calc(285px + var(--grid-gap));
  max-width: calc(100% + var(--grid-gap));
  padding: 28px var(--grid-gap) 24px 0;
  background: var(--color-bg);
  border-bottom-right-radius: var(--radius);
  font-size: 20px;
  line-height: 1.55;
  color: var(--color-muted);
  margin-top: 0;
}
.hero-copy > .button {
  margin-top: 0;
  padding: 24px var(--grid-gap) 24px 0;
  background: var(--color-bg);
  border-bottom-right-radius: var(--radius);
}
.media-placeholder,
.media-frame {
  position: relative;
  background: var(--color-surface-raised);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  color: var(--color-muted);
}
.media-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-placeholder--hero > img {
  object-position: 65% 20%;
}
.media-placeholder span {
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.media-placeholder--hero {
  margin-left: calc(-1 * var(--hero-overlap));
  min-height: 680px;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.media-placeholder--detail {
  aspect-ratio: 0.8;
  flex: 1;
}
.media-placeholder--detail > img {
  object-position: 50% 50%;
}
.feature-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  min-height: 140px;
}
.feature-link .arrow-circle {
  width: 64px;
  height: 64px;
}
.feature-link strong {
  display: block;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.35;
}
.text-link {
  color: var(--color-accent);
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
}
.text-link img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(16%) saturate(600%)
    hue-rotate(149deg);
}

/* Separate cards share a baseline; the selected tab joins its panel. */
.services-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: var(--grid-gap);
  margin-bottom: var(--section-gap);
}
.section-intro {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
  isolation: isolate;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
}
.section-intro-copy {
  position: relative;
  width: max-content;
  max-width: calc(100% - var(--panel-padding));
}
.section-intro-copy > .section-heading {
  padding: var(--panel-padding);
  padding-bottom: var(--space-3);
  background: var(--color-surface);
  border-bottom-right-radius: var(--radius);
}
.section-heading {
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 350;
  line-height: 1.14;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.section-intro-detail {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(calc(100% - var(--panel-padding)), 300px);
  padding: 0 var(--panel-padding) var(--space-3);
  background: var(--color-surface);
  border-bottom-right-radius: var(--radius);
}
.section-intro-detail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: var(--radius);
  height: var(--radius);
  background: radial-gradient(
    circle at bottom right,
    transparent 18px,
    var(--color-surface) 18.5px
  );
  pointer-events: none;
}
.section-intro-detail > p {
  color: var(--color-muted);
  font-size: 15px;
}
.media-frame--service {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.media-frame--service > img {
  object-position: right top;
}

.tabs {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tabs-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.tabs-tab {
  min-width: 0;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  appearance: none;
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-2) 10px;
  font-size: 14px;
}
.tabs-tab > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--color-surface-raised);
}
.tabs-tab:focus-visible {
  outline-offset: -4px;
}
.tabs-tab:hover > span {
  background: #434c5e;
}
.tabs-tab[aria-selected="true"] {
  background: var(--color-surface);
}
.tabs-tab[aria-selected="true"] > span {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.tabs-tab[aria-selected="true"]::before,
.tabs-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: var(--radius);
  height: var(--radius);
  pointer-events: none;
  z-index: -1;
}
.tabs-tab[aria-selected="true"]:not(:first-child)::before {
  right: 100%;
  background: radial-gradient(
    circle at top left,
    transparent 18px,
    var(--color-surface) 18.5px
  );
}
.tabs-tab[aria-selected="true"]:not(:last-child)::after {
  left: 100%;
  background: radial-gradient(
    circle at top right,
    transparent 18px,
    var(--color-surface) 18.5px
  );
}
.tabs-panel {
  flex: 1;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--panel-padding);
}
.tabs:has(.tabs-tab:first-child[aria-selected="true"]) .tabs-panel {
  border-top-left-radius: 0;
}
.tabs:has(.tabs-tab:last-child[aria-selected="true"]) .tabs-panel {
  border-top-right-radius: 0;
}
.tabs-panel[hidden] {
  display: none;
}
.service-panel,
.service-panel-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
}
.service-panel-copy > h3 {
  color: var(--color-accent);
  font-size: 25px;
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.service-panel-copy > p {
  color: var(--color-muted);
  max-width: 48ch;
  font-size: 16px;
  margin-top: var(--space-3);
  line-height: 1.6;
}
.service-examples {
  display: grid;
  flex: 1;
  align-content: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0;
}
.service-example-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: var(--space-2);
  color: var(--color-accent);
}
.service-example-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.service-examples h4 {
  margin: 0 0 var(--space-1);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.service-examples p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}
.service-panel-copy > .text-link {
  margin-top: auto;
  padding-top: 0;
  font-size: 14px;
}
@media (max-width: 1100px) {
  .services-section {
    grid-template-columns: 1fr;
  }
  .section-intro {
    aspect-ratio: 3 / 2;
  }
  .media-frame--service > img {
    object-position: right bottom;
  }
  .tabs-panel {
    min-height: 300px;
  }
}
@media (max-width: 640px) {
  .service-examples {
    flex: initial;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-bottom: 0;
  }
  .tabs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1);
    overflow: visible;
    margin-bottom: var(--space-2);
  }
  .tabs-tab {
    min-width: 0;
    padding: 0;
    border-radius: var(--radius);
  }
  .tabs-tab > span {
    min-height: 48px;
  }
  .tabs-tab[aria-selected="true"] {
    background: transparent;
  }
  .tabs-tab[aria-selected="true"]::before,
  .tabs-tab[aria-selected="true"]::after {
    display: none;
  }
  .tabs .tabs-panel {
    border-radius: var(--radius);
  }
}
@media (max-width: 560px) {
  .section-intro {
    min-height: 420px;
    aspect-ratio: auto;
  }
  .media-frame--service > img {
    object-position: right top;
  }
}

/* Working relationship: shared feature items and a reusable destination card. */
.working-section {
  padding: var(--panel-padding);
  background: var(--color-surface);
  border-radius: var(--radius);
  margin-bottom: var(--section-gap);
}
.working-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
}
.feature {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
}
.feature-icon {
  color: var(--color-accent);
  display: block;
  width: 32px;
  height: 32px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.feature h3 {
  font-size: 18px;
  font-weight: 450;
  line-height: 1.4;
}
.feature p {
  color: var(--color-muted);
  font-size: 15px;
  margin-top: var(--space-1);
  max-width: 30ch;
}
.working-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: var(--grid-gap);
}
.media-frame--collaboration {
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 9;
}
.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--panel-padding);
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-on-accent);
  text-decoration: none;
}
.link-card .section-heading {
  font-size: clamp(28px, 2.5vw, 36px);
}
.conversation-prompt {
  margin: auto 0;
}
.conversation-prompt h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.conversation-prompt p {
  max-width: 30ch;
  font-size: 17px;
  line-height: 1.6;
  margin-top: var(--space-2);
}
.link-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 16px;
}
.link-card .arrow-circle {
  width: 56px;
  height: 56px;
  background: var(--color-on-accent);
}
.link-card .arrow-circle img {
  filter: invert(1);
}
.link-card:hover {
  background: #a5d4e0;
}
@media (max-width: 1000px) {
  .working-visuals {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .feature {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .working-features,
  .working-visuals {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .feature p {
    max-width: 40ch;
  }
  .media-frame--collaboration {
    min-height: 200px;
  }
  .link-card {
    min-height: 250px;
  }
}

.conversation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--section-gap);
}
.conversation-copy > p {
  max-width: 34ch;
  margin-top: var(--space-3);
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.6;
}
.conversation-copy > .button {
  margin-top: var(--space-4);
}
.media-frame--conversation {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
@media (max-width: 1000px) {
  .conversation-section {
    gap: var(--space-4);
  }
  .conversation-copy > p {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .conversation-section {
    grid-template-columns: 1fr;
  }
  .media-frame--conversation {
    min-height: 240px;
  }
}

.site-footer {
  padding-block: var(--space-6) var(--space-4);
  margin-top: var(--space-4);
  color: var(--color-muted);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-8);
  align-items: start;
}
.site-footer .brand img {
  width: 178px;
}
.footer-brand > p {
  max-width: 29ch;
  margin-top: var(--space-3);
  font-size: 15px;
  line-height: 1.65;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-text);
  background: var(--color-surface-raised);
}
.social-link svg {
  width: 22px;
  height: 22px;
}
.social-link:hover {
  color: var(--color-on-accent);
  background: var(--color-accent);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.footer-group h2 {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.footer-group a {
  display: block;
  width: fit-content;
  padding-block: 5px;
  font-size: 14px;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-6);
  font-size: 12px;
}
.site-footer small {
  font-size: inherit;
}
.footer-bottom a {
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--color-accent);
}
@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-brand > p {
    max-width: 40ch;
  }
}
@media (max-width: 560px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
.service-catalog {
  margin-bottom: var(--section-gap);
}
.service-catalog .tabs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.service-catalog .tabs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
}
.service-catalog .tabs-tab {
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  white-space: normal;
  text-align: left;
}
.service-catalog .tabs-tab::before,
.service-catalog .tabs-tab::after {
  display: none;
}
.service-catalog .tabs-tab > span {
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  min-height: 64px;
  background: transparent;
  font-size: 17px;
}
.service-catalog .tabs-tab:hover > span {
  background: var(--color-surface);
}
.service-catalog .tabs-tab[aria-selected="true"] > span {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.service-catalog .tabs .tabs-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  padding: 0;
  background: transparent;
  border-radius: 0;
  min-height: 0;
}
.service-catalog .tabs .tabs-panel[hidden] {
  display: none;
}
.service-detail-header {
  grid-column: 1 / -1;
  max-width: 680px;
}
.service-detail-header .section-heading {
  font-size: clamp(30px, 3vw, 42px);
}
.service-detail-header > p {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.65;
  margin-top: var(--space-3);
}
.service-detail-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: start;
  gap: var(--space-4);
}
.service-detail-list h3 {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
}
.service-detail-list p {
  margin-top: var(--space-1);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-muted);
}
.service-detail-visual {
  min-width: 0;
}
.service-detail-photo {
  width: 100%;
  min-height: 0;
  aspect-ratio: 21 / 8;
  max-height: 360px;
}
.service-story-photo {
  aspect-ratio: 3 / 1;
}
.service-start {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-8);
  padding-block: var(--space-6);
  margin-bottom: var(--section-gap);
}
.service-start .section-heading {
  font-size: clamp(32px, 3.5vw, 48px);
}
.service-start header > p {
  max-width: 38ch;
  font-size: 18px;
  color: var(--color-muted);
  margin-block: var(--space-3) var(--space-4);
}
.service-start-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
}
.service-start-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: var(--space-3);
}
.service-start-steps li > span {
  grid-row: span 2;
  font-size: 15px;
  color: var(--color-accent);
  padding-top: 4px;
}
.service-start-steps h3 {
  font-size: 21px;
  font-weight: 450;
}
.service-start-steps p {
  color: var(--color-muted);
  font-size: 16px;
  margin-top: var(--space-1);
  max-width: 36ch;
}
@media (max-width: 1100px) {
  .service-catalog .tabs {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: var(--space-4);
  }
  .service-catalog .tabs .tabs-panel {
    gap: var(--space-4);
  }
}
@media (max-width: 1000px) {
  .service-detail-list {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

}
@media (max-width: 900px) {
  .service-start {
    gap: var(--space-4);
  }
}
@media (max-width: 640px) {
  .service-catalog .tabs,
  .service-start {
    grid-template-columns: 1fr;
  }
  .service-catalog .tabs-list {
    gap: 0;
  }
  .service-catalog .tabs-tab > span {
    min-height: 52px;
    font-size: 16px;
    padding: var(--space-2);
  }
  .service-detail-header > p {
    font-size: 16px;
  }
  .service-detail-photo {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .service-story-photo > img {
    object-fit: contain;
  }
  .service-story-photo {
    aspect-ratio: 3 / 1;
  }
}

.legal-page {
  max-width: 840px;
  padding-top: var(--space-4);
  margin-bottom: var(--section-gap);
}
.legal-header {
  margin-bottom: var(--space-6);
}
.legal-header h1 {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 350;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.legal-header > p {
  margin-top: var(--space-2);
  font-size: 14px;
  color: var(--color-muted);
}
.legal-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-muted);
  overflow-wrap: anywhere;
}
.legal-content h2 {
  color: var(--color-text);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  margin: var(--space-6) 0 var(--space-2);
  letter-spacing: -0.02em;
}
.legal-content p,
.legal-content ul {
  margin-block: var(--space-2);
}
.legal-content ul {
  padding-left: var(--space-3);
}
.legal-content li + li {
  margin-top: var(--space-1);
}
.legal-content strong {
  color: var(--color-text);
  font-weight: 600;
}
.legal-content a {
  color: var(--color-accent);
  text-underline-offset: 4px;
}
@media (max-width: 560px) {
  .legal-content {
    font-size: 16px;
  }
  .legal-content h2 {
    font-size: 22px;
  }
}

.page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  min-height: 600px;
  margin-block: 24px 64px;
}
.services-page-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  margin-bottom: var(--section-gap);
}
.services-page-intro .display-heading {
  font-size: clamp(40px, 4.5vw, 64px);
}
.services-page-intro .button {
  font-size: 17px;
  gap: var(--space-2);
}
.page-intro-copy .display-heading {
  font-size: clamp(40px, 4.5vw, 68px);
}
.page-intro-copy p {
  max-width: 450px;
  margin-block: 32px;
  color: var(--color-muted);
  font-size: 20px;
}
.media-placeholder--page {
  min-height: 460px;
}
.page-intro-copy .button--circle {
  font-size: clamp(14px, 2.2vw, 18px);
}
@media (max-width: 1000px) {
  .site-header .brand img {
    width: 164px;
  }
  .primary-nav {
    font-size: 13px;
  }
  .nav-links {
    gap: 16px;
  }
  .header-actions {
    gap: 16px;
  }
  .site-header .button {
    white-space: nowrap;
    padding-inline: 18px;
  }
  .hero {
    grid-template-columns: 1fr 1.2fr;
  }
  .hero-aside {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .media-placeholder--detail {
    width: 100%;
    aspect-ratio: 3;
    min-height: 160px;
  }
  .feature-link {
    padding: 24px;
    justify-content: center;
  }
  .hero-copy .display-heading {
    font-size: clamp(40px, 5.8vw, 60px);
  }
  .media-placeholder--hero {
    min-height: 530px;
  }
}
@media (max-width: 760px) {
  :root {
    --section-gap: 48px;
    --panel-padding: 24px;
    --header-height: 88px;
  }
  .site-header {
    display: flex;
    min-height: 88px;
  }
  .brand img,
  .site-header .brand img {
    width: 178px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-right: -12px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: 0;
    color: var(--color-text);
    cursor: pointer;
  }
  .menu-toggle img {
    filter: invert(1);
  }
  .primary-nav {
    grid-column: auto;
    grid-template-columns: none;
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    inset-inline: 0;
    padding: 24px;
    background: var(--color-surface);
    border-radius: var(--radius);
    align-items: stretch;
    gap: 8px;
  }
  .menu-toggle[aria-expanded="true"] + .primary-nav {
    display: flex;
    flex-direction: column;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-links > a {
    padding: 12px 0;
  }
  .header-actions {
    justify-self: auto;
    margin-top: 16px;
    gap: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 32px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy .display-heading::after,
  .hero-copy p::after {
    display: none;
  }
  .hero-copy .display-heading {
    width: auto;
    padding: 0;
    background: transparent;
    font-size: clamp(43px, 8.5vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.05em;
  }
  .hero-copy p {
    width: auto;
    max-width: 340px;
    padding: 0;
    background: transparent;
    margin-top: 24px;
  }
  .hero-copy > .button {
    margin-top: 32px;
    padding: 0;
    background: transparent;
  }
  .arrow-circle {
    width: 60px;
    height: 60px;
  }
  .media-placeholder--hero {
    margin-left: 0;
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .hero-aside {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
  }
  .media-placeholder--detail {
    aspect-ratio: 1;
    min-height: 0;
  }
  .feature-link {
    padding: 0;
    display: block;
    min-height: 0;
  }
  .feature-link .arrow-circle {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  .feature-link strong {
    font-size: 16px;
  }
  .text-link {
    margin-top: 16px;
    font-size: 12px;
  }
  .page-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    margin-block: 24px 48px;
  }
  .page-intro-copy p {
    font-size: 18px;
    margin-block: 24px;
  }
  .media-placeholder--page {
    min-height: 0;
    aspect-ratio: 4/3;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Process page: open steps, one shared review surface, no nested cards. */
.process-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.process-intro-image {
  min-width: 0;
  min-height: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.process-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-8);
  padding-block: var(--space-6);
  margin-bottom: var(--space-6);
}
.process-chapter .section-heading {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: var(--space-3);
}
.process-chapter {
  align-items: center;
}
.process-chapter:nth-of-type(odd) .process-chapter-copy {
  grid-column: 2;
  grid-row: 1;
}
.process-chapter:nth-of-type(odd) .process-chapter-image {
  grid-column: 1;
  grid-row: 1;
}
.process-chapter-image {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
}
.process-chapter-copy {
  max-width: 46ch;
}
.process-chapter-copy > p {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.75;
}
.process-chapter-copy .process-outcome {
  margin-top: var(--space-3);
  color: var(--color-accent);
}
.review-section {
  background: var(--color-accent);
  color: var(--color-on-accent);
  border-radius: var(--radius);
  padding: var(--space-6);
  margin-bottom: var(--section-gap);
}
.review-section > header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-6);
  align-items: start;
}
.review-section .section-heading {
  font-size: clamp(30px, 3.5vw, 44px);
}
.review-section header > p {
  max-width: 32ch;
  font-size: 18px;
}
.review-loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  padding: 0;
  margin: var(--space-6) 0 0;
  list-style: none;
}
.review-loop h3 {
  font-size: 28px;
  font-weight: 400;
  margin-block: var(--space-2);
}
.review-loop p {
  font-size: 16px;
  max-width: 28ch;
}
.process-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding-block: var(--space-4);
  margin-bottom: var(--section-gap);
}
.process-contact p {
  max-width: 40ch;
  color: var(--color-muted);
  font-size: 18px;
  margin-bottom: var(--space-4);
}
@media (max-width: 760px) {
  .process-intro {
    grid-template-columns: 1fr;
  }
  .process-intro-image {
    min-height: 0;
  }
  .process-chapter,
  .review-section > header,
  .process-contact {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .review-section {
    padding: var(--space-4);
  }
  .review-loop {
    gap: var(--space-3);
  }
}
@media (max-width: 560px) {
  .review-loop {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .review-section {
    padding: var(--space-3);
  }
}

@media (max-width: 760px) {
  .process-chapter:nth-of-type(odd) .process-chapter-copy,
  .process-chapter:nth-of-type(odd) .process-chapter-image {
    grid-column: auto;
    grid-row: auto;
  }
  .process-chapter {
    padding-block: var(--space-3);
    margin-bottom: var(--space-4);
  }
  .process-chapter-copy > p {
    font-size: 16px;
  }
}

/* About: company introduction, founder background, and open principles. */
.about-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.about-intro-image {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
}
.team-heading {
  margin-bottom: var(--space-6);
}
.team-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-8);
  padding-block: var(--space-4);
  margin-bottom: var(--space-8);
}
.team-profile:nth-of-type(even) .team-portrait {
  grid-column: 2;
  grid-row: 1;
}
.team-profile:nth-of-type(even) .team-profile-copy {
  grid-column: 1;
  grid-row: 1;
}
.team-portrait {
  aspect-ratio: 1;
  width: 100%;
  min-width: 0;
}
.team-profile-copy {
  max-width: 48ch;
}
.team-profile .section-heading {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: var(--space-3);
}
.about-overline {
  color: var(--color-accent);
  font-size: 14px;
  margin-bottom: var(--space-2);
}
.about-credentials {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  color: var(--color-muted);
  font-size: 15px;
  display: grid;
  gap: var(--space-1);
}
.team-profile-copy > p:not(.about-overline) {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.75;
}
.team-profile-copy > p + p {
  margin-top: var(--space-3);
}
.team-profile-copy .about-lead {
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.5;
}
.team-social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.team-social > span,
.team-social > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-muted);
}
.team-social svg {
  width: 22px;
  height: 22px;
}

.about-values {
  padding-block: var(--space-4);
  margin-bottom: var(--section-gap);
}
.about-values > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.about-values > ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  padding: 0;
  margin: 0;
}
.about-values h3 {
  font-size: 25px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.about-values li > p {
  max-width: 30ch;
  color: var(--color-muted);
  font-size: 17px;
  margin-top: var(--space-2);
}
@media (max-width: 1000px) {
  .team-profile {
    gap: var(--space-4);
  }
}
@media (max-width: 760px) {
  .about-intro,
  .team-profile {
    grid-template-columns: 1fr;
  }
  .team-profile:nth-of-type(even) .team-portrait,
  .team-profile:nth-of-type(even) .team-profile-copy {
    grid-column: auto;
    grid-row: auto;
  }
  .team-portrait {
    max-width: none;
  }
  .team-profile-copy > p:not(.about-overline) {
    font-size: 16px;
  }
  .about-values > header {
    display: block;
  }
  .about-values .text-link {
    margin-top: var(--space-3);
  }
  .about-values > ul {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}
