/* ==========================================================================
   SWAGDEV — static site stylesheet
   Fonts: Poppins (body), Nunito (headings), Bitter (accents)
   ========================================================================== */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/bitter-600.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  --primary: #06d69f;
  --primary-dark: #04b988;
  --primary-ink: #047857;
  --primary-soft: rgba(6, 214, 159, 0.12);

  --ink: #0a0c11;
  --ink-2: #11141b;
  --ink-3: #171b23;

  --white: #ffffff;
  --surface: #f6f8f9;
  --text: #5b6169;
  --text-strong: #23262c;
  --text-light: #c9cdd4;
  --text-muted: #8c939d;

  --line: #e5e8eb;
  --line-dark: rgba(255, 255, 255, 0.1);

  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Nunito', 'Poppins', system-ui, sans-serif;
  --font-accent: 'Bitter', Georgia, 'Times New Roman', serif;

  --container: 1170px;
  --radius: 16px;
  --radius-lg: 24px;

  --header-h: 80px;
  --shadow: 0 20px 50px rgba(10, 12, 17, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}

h4 {
  font-size: 1.05rem;
}

::selection {
  background: var(--primary);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--ink);
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  transform: translateY(-110%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 72px) 0;
}

.section--light {
  background: var(--surface);
}

.section--dark {
  background: var(--ink);
  color: var(--text-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 730px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-head p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.section--dark .section-head p {
  color: var(--text-light);
}

.eyebrow {
  display: block;
  margin: 0 0 0.85rem;
  color: var(--primary-ink);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--primary);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--primary);
  color: #04140f;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(6, 214, 159, 0.28);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--ink-3);
  box-shadow: 0 12px 26px rgba(10, 12, 17, 0.24);
}

.btn--sm {
  padding: 0.7rem 1.35rem;
  font-size: 0.86rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 17, 0.9);
  border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.brand__mark {
  height: 42px;
  width: auto;
}

.brand__word {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  color: #d6dae0;
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current='page'] {
  color: var(--white);
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bar {
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 17, 0.82) 0%,
    rgba(10, 12, 17, 0.88) 55%,
    var(--ink) 100%
  );
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(64px, 10vw, 120px) 0 clamp(52px, 7vw, 88px);
  text-align: center;
}

.hero__mark {
  width: 66px;
  height: 66px;
  margin-bottom: 1.4rem;
}

.hero__logo {
  width: min(360px, 68vw);
  height: auto;
  margin-bottom: 1.6rem;
}

.hero h1 {
  max-width: 20ch;
  margin-bottom: 1.1rem;
  color: var(--white);
  font-size: clamp(2.35rem, 5.4vw, 4rem);
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 2rem;
  color: #c6ccd4;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.hero__actions {
  justify-content: center;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.2rem;
  margin: 2.8rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  color: #aeb5bf;
  font-size: 0.87rem;
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 214, 159, 0.5);
  box-shadow: var(--shadow);
}

.service-card__head {
  display: flex;
  align-items: center;
  min-height: 108px;
  padding: 1.5rem 1.75rem;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(6, 214, 159, 0.16),
      transparent 58%
    ),
    linear-gradient(140deg, #141820, var(--ink) 72%);
  border-bottom: 1px solid rgba(6, 214, 159, 0.24);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-card__icon {
  transform: translateY(-2px);
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.75rem 1.75rem;
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.45rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.service-card__link::after {
  content: '\2192';
  transition: transform 0.2s var(--ease);
}

.service-card__link:hover {
  color: var(--primary-ink);
}

.service-card__link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.media-frame {
  position: relative;
  isolation: isolate;
}

.media-frame::before {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 62%;
  height: 62%;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
}

.media-frame img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(1);
  transition: filter 0.6s var(--ease);
}

.media-frame:hover img {
  filter: grayscale(0);
}

.proof-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text-light);
  font-size: 0.96rem;
}

.proof-list li strong {
  color: var(--white);
  font-weight: 600;
}

.section:not(.section--dark) .proof-list li {
  color: var(--text);
}

.section:not(.section--dark) .proof-list li strong {
  color: var(--ink);
}

.proof-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(6, 214, 159, 0.55);
  border-radius: 50%;
  background: var(--primary-soft);
}

.proof-list li::after {
  content: '';
  position: absolute;
  left: 0.34rem;
  top: 0.52em;
  width: 0.44rem;
  height: 0.24rem;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Recent works
   -------------------------------------------------------------------------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.work {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: var(--ink-2);
  isolation: isolate;
}

.work--wide {
  grid-column: span 2;
}

.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.work::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 12, 0) 30%,
    rgba(5, 8, 12, 0.82) 100%
  );
}

.work:hover img,
.work:focus-visible img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.work__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.5rem;
  color: var(--white);
}

.work__tag {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.12rem;
}

.work__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  color: #d8dde4;
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.work:hover .work__cta,
.work:focus-visible .work__cta {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(10, 12, 17, 0.94),
    rgba(10, 12, 17, 0.78)
  );
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(64px, 9vw, 108px) 0;
}

.cta__logo {
  width: min(390px, 72vw);
  height: auto;
  margin-bottom: 1.6rem;
}

.cta h2 {
  margin-bottom: 0.6rem;
  color: var(--white);
}

.cta p {
  max-width: 56ch;
  margin-bottom: 1.6rem;
  color: #c9ced6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #07090d;
  border-top: 1px solid var(--line-dark);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: clamp(48px, 7vw, 76px) 0 2.5rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 30ch;
  margin: 0;
  font-size: 0.92rem;
  color: #949ba5;
}

.footer-title {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #9aa1ab;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact a {
  display: inline-block;
  color: #d3d8df;
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-word;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact p {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: #868d97;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
  color: #818a96;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Inner page hero + breadcrumbs
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(10, 12, 17, 0.95) 0%,
    rgba(10, 12, 17, 0.7) 100%
  );
}

.page-hero__inner {
  max-width: 760px;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 84px);
}

.page-hero h1 {
  margin-bottom: 0.9rem;
  color: var(--white);
}

.page-hero p {
  max-width: 62ch;
  margin: 0;
  color: #c4cad3;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  color: #8b939e;
  font-size: 0.8rem;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: #4d545e;
}

.breadcrumbs a {
  color: #c6ccd4;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */

.service-block {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.service-block:first-of-type {
  padding-top: 0;
}

.service-block:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-block__icon {
  width: 96px;
  height: 96px;
  padding: 1.1rem;
  object-fit: contain;
  background: var(--ink);
  border: 1px solid rgba(6, 214, 159, 0.35);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(6, 214, 159, 0.08);
}

.service-block h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.service-block > div > p {
  max-width: 70ch;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.75rem;
  margin: 1.15rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  font-size: 0.94rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
  transform: rotate(-45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
}

.text-link::after {
  content: '\2192';
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--primary-ink);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Process */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process__step {
  position: relative;
  padding: 1.9rem 1.6rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.process__step::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 1.45rem;
  line-height: 1;
  counter-increment: step;
  content: '0' counter(step);
}

.process__step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.process__step p {
  margin: 0;
  color: #a8afb8;
  font-size: 0.9rem;
}

/* Why us */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.why-card {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.why-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-card__title {
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
}

.form-card__intro {
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.field label {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
}

.field label .optional {
  color: var(--text);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fbfcfc;
  border: 1px solid #d7dbe0;
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b737d;
}

.field input:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--primary-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(6, 214, 159, 0.18);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #d63637;
  box-shadow: 0 0 0 3px rgba(214, 54, 55, 0.12);
}

.field__error {
  min-height: 1rem;
  color: #b5272c;
  font-size: 0.8rem;
}

.form-actions {
  margin: 0.35rem 0 0;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.form-status[data-state='success'] {
  color: #067a53;
}

.form-status[data-state='error'] {
  color: #b5272c;
}

.form-status[data-state='info'] {
  color: var(--text-strong);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.noscript-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text);
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-card a {
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--primary-ink);
}

.contact-card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #b9c0c9;
}

.contact-card--dark h2,
.contact-card--dark h3 {
  color: var(--white);
}

.contact-card--dark a {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--ink);
  color: #b6bdc6;
  text-align: center;
}

.error-page__code {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 600;
  line-height: 0.9;
}

.error-page h1 {
  margin: 1.2rem 0 0.7rem;
  color: var(--white);
}

.error-page p {
  max-width: 48ch;
  margin: 0 auto 1.75rem;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: block;
    margin: 0;
    padding: 1.25rem 1.5rem 1.75rem;
    background: #0b0e14;
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav ul li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 1.1rem;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-frame {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), 100% - 2.25rem);
  }

  .brand__mark {
    height: 36px;
  }

  .brand__word {
    height: 26px;
  }

  .hero__mark {
    width: 56px;
    height: 56px;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work--wide {
    grid-column: span 2;
  }

  .service-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-block__icon {
    width: 76px;
    height: 76px;
  }

  .service-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .process,
  .why-grid,
  .contact-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .services-grid,
  .works-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .work--wide {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    justify-content: flex-start;
  }

  .hero__points {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    width: 100%;
  }

  .cta .btn {
    width: auto;
    min-width: 220px;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .cta,
  .form-card {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
