:root {
  --ink: #080b12;
  --ink-soft: #111723;
  --ink-lift: #1a2332;
  --paper: #f3f4f6;
  --white: #ffffff;
  --blue: #4f6496;
  --blue-light: #94a9da;
  --blue-pale: #dce5f9;
  --sunset: #ef867b;
  --muted: #687284;
  --line-dark: rgba(8, 11, 18, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sunset);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 11, 18, 0.56);
  color: var(--white);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 11, 18, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.nav-shell {
  width: var(--shell);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.nav-brand {
  width: 176px;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.26));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover {
  border-color: var(--blue-light);
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 4px 0;
  background: var(--white);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-backdrop,
.process-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("../images/background.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 15, 0.98) 0%, rgba(6, 9, 15, 0.9) 43%, rgba(6, 9, 15, 0.54) 72%, rgba(6, 9, 15, 0.44) 100%),
    linear-gradient(0deg, rgba(6, 9, 15, 0.9), transparent 45%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 73% 34%, rgba(239, 134, 123, 0.16), transparent 30%);
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.15;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 5%, black 40%, transparent 100%);
}

.hero-shell {
  width: var(--shell);
  min-height: 760px;
  margin: 0 auto;
  padding: 126px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 6vw, 82px);
}

.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--display);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 1px;
  background: var(--sunset);
}

.eyebrow-dark {
  color: rgba(8, 11, 18, 0.52);
}

.hero-logo {
  width: min(320px, 64%);
  height: auto;
  margin: -8px 0 20px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
}

.hero h1,
.section-heading h2,
.work-heading h2,
.process-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 1.02;
}

.hero h1 em,
.section-heading h2 em,
.work-heading h2 em,
.process-intro h2 em,
.contact-copy h2 em {
  color: var(--blue-light);
  font-style: normal;
}

.hero-lede {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: clamp(0.94rem, 1.15vw, 1.06rem);
  line-height: 1.78;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(37, 53, 89, 0.34);
}

.button-primary:hover {
  background: #6178ad;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.button-dark:hover {
  background: var(--blue);
}

.hero-proof {
  max-width: 640px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-proof div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-proof strong {
  color: var(--sunset);
  font-family: var(--display);
  font-size: 0.65rem;
}

.hero-proof span {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  min-height: 450px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(8, 11, 18, 0.67);
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.panel-top,
.panel-footer {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--display);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.panel-top span:last-child {
  margin-left: auto;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77d596;
  box-shadow: 0 0 0 4px rgba(119, 213, 150, 0.13);
}

.panel-main {
  flex: 1;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
}

.panel-number {
  margin: 0 0 42px;
  color: var(--sunset);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.panel-main h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.45vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.panel-main ul {
  margin: auto 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
  display: grid;
  gap: 13px;
}

.panel-main li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.77rem;
  line-height: 1.45;
}

.panel-main li i {
  color: var(--blue-light);
}

.panel-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  justify-content: space-between;
}

.scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 34px;
  color: rgba(255, 255, 255, 0.36);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.scroll-cue i {
  width: 40px;
  height: 1px;
  background: currentColor;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.service-intro,
.contact-section {
  padding: clamp(76px, 8vw, 110px) 0;
  background: var(--paper);
}

.section-heading {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -24px;
}

.section-heading h2,
.work-heading h2,
.contact-copy h2 {
  font-size: clamp(2.65rem, 4.4vw, 4.4rem);
  line-height: 1.03;
}

.section-heading h2 em,
.contact-copy h2 em {
  color: var(--blue);
}

.section-heading > p:last-child,
.work-heading > p,
.contact-copy > p:not(.eyebrow) {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 410px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(28, 38, 57, 0.1);
}

.service-card-dark {
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
}

.service-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.1rem;
}

.service-card-dark .service-icon {
  border-color: var(--line-light);
  color: var(--blue-light);
}

.service-number {
  margin: 36px 0 12px;
  color: var(--sunset);
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.service-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.service-card > p:not(.service-number) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.service-card-dark > p:not(.service-number) {
  color: rgba(255, 255, 255, 0.58);
}

.service-card ul {
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  display: grid;
  gap: 10px;
  font-family: var(--display);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card-dark ul {
  border-color: var(--line-light);
  color: rgba(255, 255, 255, 0.72);
}

.service-card li::before {
  content: "—";
  margin-right: 9px;
  color: var(--blue);
}

.service-card-dark li::before {
  color: var(--blue-light);
}

.needs-strip {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--blue);
  color: var(--white);
}

.needs-track {
  width: max-content;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
  animation: ticker 26s linear infinite;
}

.needs-track span {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.needs-track i {
  color: var(--sunset);
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.work-section {
  padding: clamp(76px, 8vw, 110px) 0;
  background: var(--ink);
  color: var(--white);
}

.work-heading {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: 54px;
}

.work-heading h2 em {
  color: var(--sunset);
}

.work-heading > p {
  color: rgba(255, 255, 255, 0.55);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  color: var(--white);
  text-decoration: none;
}

.portfolio-card-live {
  background: linear-gradient(150deg, #291420, #111827 70%);
  transition: border-color 180ms ease, transform 180ms ease;
}

.portfolio-card-live:hover {
  border-color: rgba(239, 134, 123, 0.72);
  transform: translateY(-4px);
}

.portfolio-visual {
  position: relative;
  height: 166px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #111827;
}

.portfolio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  transition: transform 280ms ease;
}

.portfolio-visual--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 48px 24px 28px;
}

.portfolio-visual--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 48%);
  pointer-events: none;
}

.portfolio-visual--brand img {
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 118px;
  object-fit: contain;
  object-position: center;
}

.portfolio-visual--lynx {
  background: radial-gradient(circle at 80% 18%, rgba(41, 190, 215, 0.28), transparent 42%), #edf9fc;
}

.portfolio-visual--lynx img {
  width: min(100%, 270px);
}

.portfolio-visual--bidshark {
  background: radial-gradient(circle at 15% 12%, rgba(50, 214, 219, 0.22), transparent 44%), #eafcff;
}

.portfolio-visual--bidshark img {
  max-height: 156px;
}

.portfolio-visual--uo {
  gap: 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(179, 209, 199, 0.18), transparent 32%),
    linear-gradient(135deg, #32141d, #102a2a);
}

.portfolio-visual--uo img {
  max-height: 112px;
}

.portfolio-brand-name {
  position: relative;
  color: #f0dfb7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.portfolio-card-live:hover .portfolio-visual img {
  transform: scale(1.035);
}

.portfolio-visual i {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(8, 11, 18, 0.7);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}

.portfolio-copy {
  flex: 1;
  padding: 24px;
}

.portfolio-copy p {
  margin: 0 0 12px;
  color: var(--blue-light);
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.portfolio-copy > span {
  display: block;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  line-height: 1.7;
}

.portfolio-slot {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.025);
}

.portfolio-slot-mark {
  min-height: 166px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 300;
}

.portfolio-slot .portfolio-copy p {
  color: var(--sunset);
}

.portfolio-slot .portfolio-copy h3,
.portfolio-slot .portfolio-copy > span {
  color: rgba(255, 255, 255, 0.38);
}

.capability-row {
  margin-top: 18px;
  padding: 24px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.capability-row p {
  margin: 0;
  display: grid;
  gap: 6px;
}

.capability-row strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-row span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
  line-height: 1.55;
}

.process-section {
  position: relative;
  padding: clamp(76px, 8vw, 110px) 0;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.process-backdrop {
  background-position: center 54%;
}

.process-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(8, 11, 18, 0.9);
}

.process-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(79, 100, 150, 0.25), transparent 45%);
}

.process-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  align-items: start;
  gap: clamp(70px, 10vw, 140px);
}

.process-intro {
  position: sticky;
  top: 128px;
}

.process-intro h2 {
  font-size: clamp(2.65rem, 4.4vw, 4.4rem);
  line-height: 1.03;
}

.process-intro > p:not(.eyebrow) {
  max-width: 490px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.8;
}

.text-link {
  width: fit-content;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.process-list > li > span {
  color: var(--sunset);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
}

.process-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.process-list p {
  max-width: 52ch;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.75;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: start;
  gap: clamp(70px, 9vw, 130px);
}

.contact-copy h2 em {
  color: var(--blue);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 28px;
}

.contact-details {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 18px;
}

.contact-details a,
.contact-details > div {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.contact-details span,
.contact-form label > span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: 0.84rem;
  font-weight: 600;
}

.contact-details a strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 70px rgba(22, 35, 60, 0.1);
}

.contact-form-status {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 45, 57, 0.24);
  border-radius: 10px;
  background: rgba(148, 45, 57, 0.08);
  color: #7b2330;
  font-size: 0.78rem;
  line-height: 1.55;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: rgba(8, 11, 18, 0.6);
}

.contact-form small {
  color: rgba(8, 11, 18, 0.38);
  font-size: inherit;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: #f8f9fb;
  color: var(--ink);
  font: 500 0.86rem/1.4 var(--body);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 54px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 152px;
  padding: 15px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #99a0ac;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(79, 100, 150, 0.1);
}

.form-message {
  margin-top: 16px;
}

.form-submit {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.form-submit p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

.site-footer {
  padding: 76px 0 28px;
  background: #05070b;
  color: var(--white);
}

.footer-shell {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.footer-brand img {
  width: 230px;
  height: auto;
}

.footer-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.footer-nav > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--display);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    gap: 48px;
  }

  .service-card {
    padding: 27px;
  }

  .process-shell,
  .contact-shell {
    gap: 65px;
  }
}

@media (max-width: 840px) {
  :root {
    --shell: min(700px, calc(100vw - 34px));
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 38px 24px;
    background: rgba(8, 11, 18, 0.985);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links > a:not(.nav-cta) {
    padding: 18px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--display);
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .nav-cta {
    margin-top: 24px;
    justify-content: center;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero-shell {
    padding-top: 132px;
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .hero-panel {
    min-height: 480px;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .work-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading .eyebrow {
    margin-bottom: -5px;
  }

  .section-heading > p:last-child,
  .work-heading > p {
    max-width: 540px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 430px;
  }

  .process-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .process-intro {
    position: static;
  }

  .contact-copy {
    max-width: 620px;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100vw - 30px);
    --radius: 17px;
  }

  .site-header {
    height: 72px;
  }

  .nav-brand {
    width: 148px;
    height: 56px;
  }

  .nav-links {
    top: 72px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(6, 9, 15, 0.96), rgba(6, 9, 15, 0.72));
  }

  .hero-shell {
    padding: 118px 0 82px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .hero-logo {
    width: 84%;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.55rem);
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 0.9rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-proof span br {
    display: none;
  }

  .hero-panel {
    min-height: 450px;
  }

  .panel-main {
    padding: 29px 24px;
  }

  .panel-main h2 {
    font-size: 1.9rem;
  }

  .panel-top,
  .panel-footer {
    padding-inline: 20px;
  }

  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-intro,
  .work-section,
  .process-section,
  .contact-section {
    padding: 82px 0;
  }

  .section-heading h2,
  .work-heading h2,
  .contact-copy h2,
  .process-intro h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.15rem);
  }

  .service-card {
    min-height: 360px;
    padding: 25px;
  }

  .needs-track {
    min-height: 60px;
  }

  .portfolio-grid,
  .capability-row {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: 340px;
    grid-column: auto;
  }

  .portfolio-visual,
  .portfolio-slot-mark {
    height: 140px;
    min-height: 140px;
  }

  .capability-row {
    gap: 18px;
  }

  .process-list li {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit .button {
    width: 100%;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-bottom {
    grid-column: auto;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .needs-track {
    animation: none;
  }
}
