@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap");

/* ==========================================================================
   NGS — Tarik design 2: colour-blocked bento
   Compact rounded tiles in magenta, black and white. Pure HTML + CSS.
   ========================================================================== */

:root {
  --black: #0d0d0f;
  --black-2: #19191d;
  --black-3: #26262b;
  --white: #ffffff;
  --blush: #fcf0f4;
  --blush-2: #f7dde7;
  --magenta: #c21f5c;
  --magenta-hot: #e23a78;
  --magenta-deep: #8f1544;

  --on-dark: rgba(255, 255, 255, .72);
  --on-dark-2: rgba(255, 255, 255, .5);
  --on-magenta: rgba(255, 255, 255, .86);
  --ink-2: #3d3d44;

  --font: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --gap: 12px;
  --gutter: clamp(14px, 3.4vw, 40px);
  --max: 1240px;
  --header: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* small NGS triangles, used as a texture on magenta surfaces */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M10 8v16l12-8z' fill='%23fff' fill-opacity='.09'/%3E%3Cpath d='M32 30v8l6-4z' fill='%23000' fill-opacity='.08'/%3E%3C/svg%3E");
}

/* Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }

::selection { background: var(--magenta); color: var(--white); }
:focus-visible { outline: 2px solid var(--magenta-hot); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--magenta);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 10px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Type helpers */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--magenta);
  color: var(--white);
  font: 600 .7rem/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 5px; height: 10px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.kicker--black { background: var(--black); }
.kicker--white { background: var(--white); color: var(--magenta); }

.cursor { color: var(--magenta); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.tri {
  display: inline-block;
  flex: none;
  width: .5em;
  height: 1em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font: 600 .9rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.btn .tri { width: 6px; height: 12px; transition: transform .25s var(--ease); }
.btn:hover { background: var(--magenta); }
.btn:hover .tri { transform: translateX(3px); }
.btn:active { transform: scale(.97); }

.btn--magenta { background: var(--magenta); }
.btn--magenta:hover { background: var(--magenta-hot); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--black); color: var(--white); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--white); color: var(--black); box-shadow: none; }

/* Tiles: the basic building block */

.tile {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--radius);
  background: var(--blush);
  color: var(--black);
}
.tile--black { background: var(--black); color: var(--white); }
.tile--black-2 { background: var(--black-2); color: var(--white); }
.tile--magenta { background: var(--magenta) var(--pattern); color: var(--white); }
.tile--white { background: var(--white); }
.tile--photo { padding: 0; background: var(--black); }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--white);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
}

.logo { display: block; flex: none; width: 70px; color: var(--white); }
.logo svg { display: block; width: 100%; height: auto; }
.logo-tri { fill: var(--magenta-hot); }
.hero-logo { display: none; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--on-dark);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--black-3); color: var(--white); }
.nav a[aria-current="page"] { background: var(--magenta); color: var(--white); }

.header-cta { padding: 10px 16px; font-size: .84rem; }

/* Sections
   ========================================================================== */

.section { padding-block: clamp(44px, 6vw, 80px); }
.section--black { background: var(--black); color: var(--white); }
.section--magenta { background: var(--magenta) var(--pattern); color: var(--white); }
.section--blush { background: var(--blush); }

.s-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.s-head > div { display: grid; gap: 10px; }
.s-head h2,
.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px currentColor;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
.link-pill .tri { width: 5px; height: 10px; }
.link-pill:hover { background: var(--magenta); color: var(--white); box-shadow: none; }

/* Hero
   ========================================================================== */

.hero { padding-block: var(--gap) clamp(36px, 5vw, 64px); background: var(--black); }

.hero .bento {
  grid-template-areas:
    "a a a a a a a b b b b b"
    "a a a a a a a c c c c c";
  grid-template-rows: 1fr auto;
}

.hero-main {
  grid-area: a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(380px, 52vh, 520px);
  padding-block: clamp(24px, 4vw, 48px);
  padding-left: clamp(20px, 3vw, 36px);
  padding-right: clamp(18px, 2.5vw, 32px);
}
.hero-main h1 {
  margin-top: auto;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.hero-main h1 .cursor { color: var(--black); }
.hero-sub {
  margin-top: 12px;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--on-magenta);
}
.hero-sub .cursor { color: var(--black); }

/* CSS-only typing: idea -> goal */
.typed {
  display: inline-block;
  width: 4ch;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--white);
  font-family: var(--mono);
  font-weight: 600;
  white-space: nowrap;
  animation: type 8s steps(4, end) infinite;
}
.typed::before { content: "idea"; animation: word 8s steps(1) infinite; }
@keyframes type {
  0%, 2% { width: 0; }
  10%, 42% { width: 4ch; }
  48%, 52% { width: 0; }
  60%, 92% { width: 4ch; }
  98%, 100% { width: 0; }
}
@keyframes word {
  0%, 49% { content: "idea"; }
  50%, 100% { content: "goal"; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* the logo triangle as a large mark on the magenta tile */
.hero-mark {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(20px, 3vw, 40px);
  width: clamp(80px, 12vw, 150px);
  aspect-ratio: 1 / 2;
}
.hero-mark--desktop { display: block; }
.hero-mark--mobile {
  display: none;
  right: clamp(18px, 2.5vw, 32px);
  width: min(20vw, 210px);
  aspect-ratio: 7 / 12;
  color: #e92b70;
  filter: drop-shadow(0 0 38px rgba(233, 43, 112, .28));
}
.hero-mark .solid {
  position: absolute;
  inset: 0;
  background: var(--black);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hero-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translate(14%, 4%);
}
.hero-mark--mobile svg { transform: none; }
.hero-mark--mobile .triangleColor { fill: currentColor; }
.hero-mark polyline {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.2s var(--ease) forwards .4s;
}
.hero-mark--mobile .triangleShadow {
  stroke: #59e1ff;
  stroke-width: 3;
  stroke-miterlimit: 10;
  opacity: .45;
  stroke-dasharray: 180;
  stroke-dashoffset: 0;
  vector-effect: none;
  animation: trace 4s linear infinite;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes trace { to { stroke-dashoffset: -360; } }

.hero-photo { grid-area: b; min-height: 240px; }
.hero-photo img { filter: saturate(1.15); }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(194, 31, 92, .55), transparent 60%);
}

.hero-note {
  grid-area: c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  transition: background .25s;
}
.hero-note p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.hero-note p span { color: var(--magenta-hot); }
.hero-note .arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--magenta);
  transition: transform .3s var(--ease);
}
.hero-note .arrow::before {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateY(-2px) rotate(45deg);
}
.hero-note:hover { background: var(--black-3); }
.hero-note:hover .arrow { transform: translateY(3px); }

/* Ticker strip */

.ticker {
  overflow: hidden;
  padding-block: 12px;
  background: var(--magenta) var(--pattern);
  color: var(--white);
}
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track .tri { width: 7px; height: 14px; color: var(--black); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* How we work
   ========================================================================== */

.how-text { grid-column: span 7; display: flex; flex-direction: column; gap: 14px; }
.how-text .sub {
  color: var(--magenta);
  font: 600 .8rem/1.4 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.how-text .lead {
  margin-top: auto;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.how-text p:last-child { color: var(--ink-2); }
.how-photo { grid-column: span 5; min-height: 300px; }

.next {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.next h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; }
.next p { color: var(--on-dark); }

/* Principles
   ========================================================================== */

.principles { list-style: none; }
.principle {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease);
}
.principle:hover { transform: translateY(-4px); }
.principle .icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--magenta);
}
.principle .icon::before {
  content: "";
  width: 9px; height: 18px;
  margin-left: 3px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.tile--white.principle .icon { background: var(--black); }
.principle h3 {
  margin-top: 28px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.principle p { font-size: .95rem; line-height: 1.5; }
.tile--black.principle p { color: var(--on-dark); }
.tile--white.principle p { color: var(--ink-2); }

/* About / services
   ========================================================================== */

.about .bento {
  grid-template-areas:
    "img img img img s1 s1 s1 s1 s1 s1 s1 s1"
    "img img img img s2 s2 s2 s2 s3 s3 s3 s3";
}
.about-photo { grid-area: img; min-height: 320px; }
.service { display: flex; flex-direction: column; gap: 10px; }
.service:nth-of-type(1) { grid-area: s1; }
.service:nth-of-type(2) { grid-area: s2; }
.service:nth-of-type(3) { grid-area: s3; }
.service h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
}
.service h3 .tri { width: 8px; height: 16px; color: var(--magenta); }
.tile--magenta.service h3 .tri { color: var(--black); }
.service p { font-size: .95rem; line-height: 1.55; }
.tile--black.service p { color: var(--on-dark); }
.tile--magenta.service p { color: var(--on-magenta); }
.service p, .principle p { max-width: 62ch; }

/* AI
   ========================================================================== */

.ai-lead {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.ai-lead p {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.ai-lead .btn { align-self: flex-start; }
.ai-item {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease);
}
.ai-item:hover { transform: translateY(-4px); }
.ai-item .icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--magenta);
}
.ai-item .icon::before {
  content: "";
  width: 9px; height: 18px;
  margin-left: 3px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ai-item h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.ai-item p { font-size: .93rem; line-height: 1.55; }
.tile--black-2.ai-item p { color: var(--on-dark); }
.tile--white.ai-item p { color: var(--ink-2); }

/* Partners: two marquee rows of logo pills
   ========================================================================== */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: var(--gap); }
.marquee ul {
  display: flex;
  gap: var(--gap);
  width: max-content;
  list-style: none;
  animation: ticker 45s linear infinite;
}
.marquee--reverse ul { animation-direction: reverse; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  background: var(--white);
}
.marquee img { width: auto; height: 44px; max-width: 110px; object-fit: contain; }
/* Keep newly added partner wordmarks in the same #778c9e blue-grey as the rest. */
.marquee img[src$="/cloudit.png"],
.marquee img[src$="/port-neo.svg"],
.marquee img[src$="/codecta.png"] {
  filter: brightness(0) saturate(100%) invert(42.2%) sepia(50.7%) saturate(576.3%) hue-rotate(165.9deg) brightness(147.2%) contrast(19.3%);
}
.marquee li.invert-logo img { max-width: 130px; }
.marquee span {
  max-width: 18ch;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Contact
   ========================================================================== */

.contact .bento { align-items: stretch; }
.contact-info { grid-column: span 5; display: flex; flex-direction: column; gap: 18px; padding-bottom: 0; }
.contact-info address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.5;
}
.contact-info address strong { display: block; font-weight: 700; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--black);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.contact-links a:hover { background: var(--white); color: var(--magenta); }
.contact-city {
  margin: auto calc(-1 * clamp(20px, 2.6vw, 32px)) 0;
  aspect-ratio: 16 / 7;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
}
.contact-city img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: .85; }

.form { grid-column: span 7; }
.form h3 { margin-bottom: 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form .field { margin-bottom: 12px; }
.form label {
  display: block;
  margin-bottom: 6px;
  color: var(--on-dark);
  font: 600 .7rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form input,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--black-3);
  border-radius: var(--radius-sm);
  background: var(--black-2);
  color: var(--white);
  font: 400 1rem/1.4 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--on-dark-2); }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--magenta-hot);
  box-shadow: 0 0 0 3px rgba(226, 58, 120, .25);
}
.form .send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.form .note { color: var(--on-dark-2); font-size: .78rem; }

/* Footer
   ========================================================================== */

.site-footer { background: var(--black); color: var(--white); padding-top: clamp(40px, 5vw, 64px); }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 32px clamp(24px, 4vw, 56px);
}
.foot-brand .logo { width: 110px; }
.foot-brand p { margin-top: 14px; color: var(--on-dark); font-size: .9rem; }
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}
.spec dt {
  color: var(--magenta-hot);
  font: 600 .66rem/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.spec dd { margin-top: 3px; font-size: .88rem; font-weight: 500; line-height: 1.4; }
.foot-nav { display: grid; gap: 4px; list-style: none; align-content: start; }
.foot-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--on-dark);
  font-weight: 500;
  text-decoration: none;
}
.foot-nav .tri { width: 5px; height: 10px; color: var(--magenta-hot); }
.foot-nav a:hover { color: var(--white); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 40px;
  padding-block: 18px 22px;
  border-top: 1px solid var(--black-3);
  color: var(--on-dark-2);
  font: 500 .72rem/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Sub pages
   ========================================================================== */

.page-hero { padding-block: clamp(28px, 4vw, 48px); background: var(--magenta) var(--pattern); color: var(--white); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  list-style: none;
}
.crumbs li {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
  font: 600 .7rem/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.crumbs li[aria-current] { background: var(--black); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.page-hero h1 .cursor { color: var(--black); }
.page-hero .sub { margin-top: 12px; color: var(--on-magenta); font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: 600 .72rem/1.2 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: var(--gap);
  align-items: start;
}

.side { position: sticky; top: calc(var(--header) + 12px); }
.side h2 { margin-bottom: 12px; font: 600 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--magenta-hot); }

/* Job ad */

.job-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.job-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.job-block h2 .tri { width: 7px; height: 14px; color: var(--magenta); }
.job-block ul { display: grid; gap: 6px; list-style: none; }
.job-block li {
  position: relative;
  padding-left: 16px;
  font-size: .93rem;
  line-height: 1.5;
}
.job-block li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}
.job-block li ul { margin-top: 6px; }
.job-block li li { color: var(--ink-2); font-size: .88rem; }
.job-block li li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--magenta); }
.job-block--wide { grid-column: 1 / -1; }

.apply h2 { margin: 12px 0 10px; font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.apply p { color: var(--on-dark); font-size: .95rem; }
.apply .btn { width: 100%; justify-content: space-between; margin-top: 18px; padding: 14px 18px; }
.apply dl { display: grid; gap: 8px; margin-top: 18px; }
.apply dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--black-2); font-size: .85rem; }
.apply dt { color: var(--on-dark-2); }
.apply dd { font-weight: 600; text-align: right; }

/* Scroll reveal (progressive)
   ========================================================================== */

@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(28px) scale(.98); }
    to { opacity: 1; transform: none; }
  }
}

/* Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .ai-lead { grid-column: 1 / -1; }
  .ai-item { grid-column: span 4; }
  .principle { grid-column: span 6; }
  .principle h3 { margin-top: 16px; }
  .header-cta { display: none; }
}

@media (max-width: 860px) {
  :root { --header: 104px; }

  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 10px; min-height: 0; }
  .nav {
    order: 3;
    width: calc(100% + 2 * var(--gutter));
    margin: 8px calc(-1 * var(--gutter)) 0;
    padding: 0 var(--gutter) 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { background: var(--black-2); }

  .hero .bento {
    grid-template-areas: "a" "b" "c";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero-main { min-height: 360px; }
  .hero-photo { aspect-ratio: 16 / 9; min-height: 0; }

  .how-text, .how-photo { grid-column: 1 / -1; }
  .how-photo { min-height: 0; aspect-ratio: 16 / 9; }

  .about .bento {
    grid-template-areas: "img img" "s1 s1" "s2 s3";
    grid-template-columns: 1fr 1fr;
  }
  .about-photo { min-height: 0; aspect-ratio: 16 / 9; }

  .contact-info, .form { grid-column: 1 / -1; }
  .ai-lead { grid-column: 1 / -1; }
  .ai-item { grid-column: span 4; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  .split { grid-template-columns: 1fr; }
  .side { position: relative; top: 0; }
}

@media (max-width: 600px) {
  :root { --radius: 16px; }

  .principle, .ai-item { grid-column: 1 / -1; }
  .about .bento { grid-template-areas: "img" "s1" "s2" "s3"; grid-template-columns: 1fr; }
  .hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand mark"
      "title mark"
      "sub mark"
      "actions actions";
    column-gap: 10px;
    align-content: end;
    min-height: 400px;
    padding-top: 12px;
    padding-bottom: 36px;
  }
  .hero-main > .kicker {
    display: none;
  }
  .site-header .logo { display: none; }
  .nav { margin-top: 0; }
  .hero-logo {
    display: flex;
    align-items: center;
    grid-area: brand;
    justify-self: start;
    width: 112px;
    margin: 0 0 30px -8px;
    color: var(--white);
  }
  .hero-logo svg { display: block; width: 100%; height: auto; }
  .hero-logo svg path {
    stroke: var(--black);
    stroke-width: 1.5px;
    stroke-linejoin: round;
    paint-order: stroke fill;
    vector-effect: non-scaling-stroke;
  }
  .hero-logo svg .logo-tri {
    fill: var(--black);
    stroke: none;
  }
  .hero-mark--mobile { display: none; }
  .hero-mark--desktop {
    display: block;
    grid-area: mark;
    position: relative;
    top: auto;
    right: auto;
    align-self: start;
    justify-self: end;
    width: clamp(92px, 30vw, 132px);
    margin: 0;
    aspect-ratio: 1 / 2;
    transform: translate(-16px, -14px);
  }
  .hero-main h1 { grid-area: title; margin-top: 0; }
  .hero-sub { grid-area: sub; }
  .hero-actions { grid-area: actions; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .form .row2 { grid-template-columns: 1fr; }
  .job-blocks { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .s-head { align-items: flex-start; }
}

@media (max-width: 380px) {
  .hero-main { column-gap: 4px; }
  .hero-main h1 { font-size: 2.25rem; }
  .hero-logo { width: 96px; margin-bottom: 24px; margin-left: -6px; }
  .hero-mark--desktop {
    width: 29vw;
    transform: translate(-12px, -10px);
  }
}

/* Motion preferences */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .typed, .typed::before { width: 4ch; animation: none !important; }
  .hero-mark polyline { stroke-dashoffset: 0; }
  .reveal { animation: none !important; }
  .marquee ul { flex-wrap: wrap; width: auto; }
}
