:root {
  --ink: #050707;
  --ink-soft: #0a1010;
  --paper: #f5f8f7;
  --aqua: #51ddd6;
  --aqua-dark: #1baaa7;
  --muted: #9aabaa;
  --line: rgba(81, 221, 214, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem clamp(1.25rem, 4vw, 4.5rem);
}
.wordmark { text-decoration: none; line-height: 1; }
.wordmark span { display: block; font: 800 1.3rem/1 "Manrope", sans-serif; }
.wordmark small { display: block; margin-top: .45rem; color: var(--aqua); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-link { border-bottom: 1px solid var(--aqua); padding-bottom: .2rem; text-decoration: none; font-size: 1.08rem; font-weight: 600; }
.contact-link span { color: var(--aqua); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(25rem, 1.15fr);
  align-items: center;
  padding: 8rem clamp(1.25rem, 4vw, 4.5rem) 5rem;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hero-copy { position: relative; z-index: 2; max-width: 48rem; }
.eyebrow, .section-number { color: var(--aqua); font-size: .9rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.055em; }
h1 { margin-top: 1.1rem; font-size: clamp(3.8rem, 8vw, 8.5rem); line-height: .86; }
h1 em { color: var(--aqua); font-style: normal; }
.roles { display: flex; align-items: center; gap: .8rem; margin: 2rem 0 1.65rem; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.35rem); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.roles-prefix { color: var(--paper); white-space: nowrap; }
.roles-window { height: 1.6em; overflow: hidden; color: var(--aqua); }
.roles-list { display: flex; flex-direction: column; animation: rotateRoles 10s cubic-bezier(.76, 0, .24, 1) infinite; }
.roles-list span { height: 1.6em; white-space: nowrap; }
@keyframes rotateRoles {
  0%, 16% { transform: translateY(0); }
  21%, 37% { transform: translateY(-20%); }
  42%, 58% { transform: translateY(-40%); }
  63%, 79% { transform: translateY(-60%); }
  84%, 100% { transform: translateY(-80%); }
}
.intro { max-width: 35rem; color: #bdc9c8; font-size: clamp(1.05rem, 1.45vw, 1.25rem); }
.primary-button { display: inline-flex; gap: 1.5rem; align-items: center; margin-top: 1.4rem; border: 1px solid var(--aqua); padding: .9rem 1.2rem; color: var(--paper); text-decoration: none; transition: .25s ease; }
.primary-button span { color: var(--aqua); font-size: 1.2rem; }
.primary-button:hover, .primary-button:focus-visible { background: var(--aqua); color: var(--ink); outline: none; }
.primary-button:hover span, .primary-button:focus-visible span { color: var(--ink); transform: translateX(.25rem); }
.hero-art { position: absolute; z-index: 0; right: -4vw; top: 50%; width: min(62vw, 68rem); transform: translateY(-50%); }
.hero-art img { display: block; width: 100%; filter: drop-shadow(0 0 1.8rem rgba(81, 221, 214, .08)); animation: drift 8s ease-in-out infinite; }
.orbit { position: absolute; z-index: -1; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 55%; aspect-ratio: 1; right: 6%; top: 2%; }
.orbit-two { width: 76%; aspect-ratio: 1; right: -3%; top: -15%; }
@keyframes drift { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(-1rem,-.6rem) rotate(-1deg); } }
.scroll-cue { position: absolute; bottom: 2rem; left: clamp(1.25rem, 4vw, 4.5rem); display: flex; gap: .8rem; align-items: center; color: var(--muted); font-size: .72rem; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.scroll-cue i { display: block; width: 4rem; height: 1px; background: var(--aqua); }

.about { display: grid; grid-template-columns: .55fr 1.5fr 1fr; gap: clamp(2rem, 5vw, 6rem); padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); background: var(--paper); color: var(--ink); }
.about .section-number { margin: .5rem 0; color: var(--aqua-dark); }
.about h2 { font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: 1.05; }
.about h2 span { color: var(--aqua-dark); }
.about-copy { max-width: 32rem; padding-top: .25rem; color: #34403f; font-size: 1.08rem; }
.about-copy p:first-child { margin-top: 0; }

.services { display: grid; grid-template-columns: minmax(18rem, .75fr) 1.5fr; gap: clamp(3rem, 8vw, 10rem); padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); background: var(--ink-soft); }
.services-lead { position: sticky; top: 3rem; align-self: start; }
.services h2 { font-size: clamp(3.2rem, 6vw, 6.5rem); line-height: .92; }
.service-list article { display: grid; grid-template-columns: 3rem 1fr minmax(12rem, 1fr); gap: 1.5rem; align-items: start; border-top: 1px solid var(--line); padding: 2rem 0; }
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-list span { color: var(--aqua); font-size: .72rem; }
.service-list h3 { margin: -.25rem 0 0; font: 700 clamp(1.45rem, 2.3vw, 2.25rem)/1.2 "Manrope", sans-serif; }
.service-list p { margin: 0; color: var(--muted); }


.clients { padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); background: var(--paper); color: var(--ink); }
.clients-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.clients .section-number { margin: 0 0 .55rem; color: var(--aqua-dark); }
.clients h2 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; }
.logo-strip { display: flex; align-items: stretch; gap: 1rem; overflow-x: auto; padding: .25rem 0 1rem; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; cursor: grab; user-select: none; }
.logo-strip::-webkit-scrollbar { display: none; }
.logo-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.logo-strip img { pointer-events: none; user-select: none; }
.client-logo { flex: 0 0 clamp(10rem, 15vw, 14rem); min-height: 8rem; display: grid; place-items: center; padding: 1.25rem; border: 0; border-radius: 40px; background: #fff; scroll-snap-align: start; }
.client-logo img { display: block; max-width: 100%; max-height: 5.5rem; width: auto; height: auto; object-fit: contain; }
.carousel-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.carousel-dot { width: .6rem; height: .6rem; border: 0; border-radius: 50%; padding: 0; background: rgba(5, 7, 7, .2); cursor: pointer; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.carousel-dot[aria-current="true"] { width: 1.8rem; border-radius: 1rem; background: var(--aqua-dark); }
.carousel-dot:focus-visible { outline: 2px solid var(--aqua-dark); outline-offset: 3px; }

.closing { position: relative; overflow: hidden; padding: clamp(7rem, 12vw, 12rem) clamp(1.25rem, 6vw, 7rem); background: var(--aqua); color: var(--ink); }
.closing img { position: absolute; opacity: .17; width: min(58rem, 70vw); right: -12rem; top: 50%; transform: translateY(-50%); filter: grayscale(1) brightness(.2); }
.closing .section-number { position: relative; color: var(--ink); }
.closing h2 { position: relative; font-size: clamp(4rem, 9vw, 9rem); line-height: .88; }
.closing p { position: relative; font-size: 1.2rem; }
.closing a { position: relative; display: inline-block; border-bottom: 2px solid var(--ink); margin-top: 1.25rem; padding-bottom: .25rem; font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 700; text-decoration: none; }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem); color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
footer a { color: var(--muted); text-decoration: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: end; padding-bottom: 7rem; }
  .hero::before { background: var(--ink); }
  .hero-art { top: 34%; right: -30%; width: 105vw; opacity: .72; }
  .hero-copy { padding-top: 42vh; }
  .about { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-copy { max-width: 42rem; }
  .services { grid-template-columns: 1fr; }
  .services-lead { position: static; }
}
@media (max-width: 600px) {
  .site-header { padding-top: 1.35rem; }
  .contact-link { font-size: .8rem; }
  .hero-art { top: 6.5rem; right: 0; width: 100%; padding: 0 1.25rem; transform: none; }
  .hero-art img { width: 100%; max-height: 38vh; object-fit: contain; }
  .hero-copy { padding-top: 31vh; }
  .roles { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .service-list article { grid-template-columns: 2rem 1fr; }
  .service-list p { grid-column: 2; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .roles-list, .hero-art img { animation: none; }
  .roles-list span:not(:first-child) { display: none; }
}
