:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #a0a0a8;
  --link: #5d9cf5;
  --hover: #dbe9ff;
  --max: 1200px;
  --preview-width: 550px;
  --preview-gap: 96px;

  --text: 16px;
  --leading: 32px;
  --radius: 16px;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, system-ui, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--text);
  line-height: var(--leading);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--link);
  text-decoration: none;
  border-radius: 10px;
  padding: 0;
  display: inline-block;
  font-weight: 500;
  transition: color 0.18s ease;
}

.pill-link {
  position: relative;
  padding: 4px;
  margin: 0;
  width: auto;
}

.pill-button {
  display: inline-block;
  background: none;
  border: none;
  font: inherit;
  color: var(--link);
  cursor: pointer;
  font-weight: 500;
  padding: 4px;
}

.pill-button:focus-visible {
  outline: none;
}

.pill-link.copy-success {
  color: #a1c349;
}

.pill-link.copy-highlight {
  color: #a1c349;
}

.pill-inline {
  margin-left: 2px;
  margin-right: 2px;
}

.inline-pill {
  margin-left: 2px;
  margin-right: 2px;
}


.pill-link::before,
.text-link::before {
  content: "";
  position: absolute;
  inset: 2px -2px;
  border-radius: 3px;
  background: rgba(93, 156, 245, 0.12);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: -1;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pill-link:hover::before,
.pill-link:focus-visible::before,
.text-link:hover::before,
.text-link:focus-visible::before {
  opacity: 1;
}

.pill-link:hover:not(.copy-highlight),
.pill-link:focus-visible:not(.copy-highlight) {
  color: var(--link);
}

.pill-link:focus-visible {
  outline: none;
}

.pill-link.copy-highlight:hover,
.pill-link.copy-highlight:focus-visible {
  color: #a1c349;
}

.pill-link.copy-disabled:not(.copy-highlight)::before,
.pill-link.copy-disabled:not(.copy-highlight):hover::before,
.pill-link.copy-disabled:not(.copy-highlight):focus-visible::before {
  opacity: 0;
}

.pill-link.copy-highlight::before {
  background: rgba(161, 195, 73, 0.2);
  opacity: 1;
}

.pill-button:disabled {
  cursor: default;
}

.nav-static {
  pointer-events: none;
  cursor: default;
}

.subtitle a {
  color: var(--link);
}
.page {
  max-width: var(--max);
  width: min(var(--max), calc(100% - 500px));
  margin: 0 auto;
  padding: 88px 40px 72px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.page > * + * {
  margin-top: 24px;
}

.page > .hero {
  margin-top: 24px;
}

.page > .hero + * {
  margin-top: 32px;
}

.home-page .page > .hero + .hero-work {
  margin-top: 24px;
}

.home-page .page > .hero-work + .site-footer {
  margin-top: 0;
}

.home-page .page {
  padding-bottom: 0;
}

.hero-work {
  display: block;
  width: 100%;
  margin: 0 auto 0;
  position: relative;
}

.preview-column {
  display: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 10px;
  transform: translateY(-220%);
}

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

.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;
}

.avatar {
  display: grid;
  width: fit-content;
  margin-bottom: 0;
}

.avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  transition: box-shadow 0.18s ease;
  display: block;
}

.avatar-link:hover .avatar-img,
.avatar-link:focus-visible .avatar-img {
  box-shadow: 0 0 0 4px var(--hover);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.hero-text h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0;
  color: var(--fg);
  font-size: 16px;
  padding: 2px 0;
}

.subtitle .pill-link {
  margin-left: 0;
  margin-right: 0;
  line-height: 1.2;
}

.subtitle a {
  color: var(--link);
}

.hero-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
  font-size: 16px;
}

.hero-nav .pill-link,
.hero-nav .pill-button {
  line-height: 1.2;
}

.work {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 0;
}

.projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.projects li {
  position: relative;
}

.about {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  margin-bottom: 0;
  line-height: var(--leading);
}

.about h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.section-subtitle {
  margin: 0;
  color: var(--fg);
  font-weight: 400;
}

.case-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.caps-strong,
.text-highlight {
  background: rgba(93, 156, 245, 0.12);
  padding: 0 2px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: inherit;
}

.text-link {
  position: relative;
  color: var(--link);
  padding: 0;
  display: inline-block;
}

.case-divider {
  border: 0;
  border-top: 1px solid #e6eaed;
  width: 100%;
  margin: 24px 0;
}

.case-list {
  margin: 0;
  padding-left: 18px;
}

.case-list li + li {
  margin-top: 8px;
}

.about > * + * {
  margin-top: 8px;
}

.about .paragraph-break {
  display: block;
  height: 0;
  margin-top: 32px;
}

.about .paragraph-break + p {
  margin-top: 0;
}

.about > .case-divider {
  margin-top: 24px;
}

.about h2 + * {
  margin-top: 24px;
}

.about h2 + .section-subtitle {
  margin-top: 2px;
}

.about .section-subtitle + * {
  margin-top: 24px;
}

.about .case-video + * {
  margin-top: 24px;
}

.case-image {
  width: 93.75%;
  max-width: 675px;
  border-radius: 15px;
  display: block;
  margin: 16px auto;
}

.about img {
  margin: 16px auto;
  display: block;
  width: 93.75%;
  max-width: 675px;
  border-radius: 12px;
}

.about img + * {
  margin-top: 16px;
}

.case-video {
  width: 75%;
  max-width: 540px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f6;
  margin: 0 auto;
}

.case-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.about p {
  margin: 0;
  line-height: var(--leading);
}

.about a {
  line-height: inherit;
}

.connect-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.connect {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 20px;
}

.connect h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field span {
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6eaed;
  background: #f2f5f7;
  font: inherit;
  color: inherit;
}

.field textarea {
  height: 132px;
  min-height: 132px;
  resize: none;
}

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

.connect button {
  align-self: flex-start;
  padding: 10px 18px;
  background: #5d9cf5;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}

.connect button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.connect button:not(:disabled):hover,
.connect button:not(:disabled):focus-visible {
  background: #4f8fe8;
  outline: none;
}

.field-message + .connect button,
.field-message + button {
  margin-top: 16px;
}

.lock-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.25;
  filter: grayscale(1);
  position: relative;
  top: 1px;
  left: -2px;
}

.about-page .hero-nav a[href="/about"],
.about-page .hero-nav a[href="/about.html"] {
  display: none;
}

.connect-page .connect-links {
  gap: 24px;
}

.about-page .about .pill-link {
  align-self: flex-start;
  margin-top: 24px;
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 12px;
  margin: 0 -12px;
  border-radius: 12px;
  background: transparent;
  transition: transform 0.18s ease;
  color: var(--fg);
  border: 1px solid transparent;
  box-shadow: none;
  position: relative;
  width: fit-content;
  max-width: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 200, 200, 0.4);
  opacity: 0;
  transform: translateY(2px);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.084),
    0 4px 10px rgba(0, 0, 0, 0.042);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  z-index: 0;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:hover,
.project-card:focus-visible {
  padding: 8px 12px;
  margin: 0 -12px;
  transform: none;
  outline: none;
}

.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.098),
    0 8px 14px rgba(0, 0, 0, 0.056);
}
.project-title {
  color: #000000;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 2;
}

.project-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-meta {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  font-weight: 400;
  line-height: 2;
}

.project-preview {
  position: absolute;
  left: calc(100% + var(--preview-gap));
  top: calc(50% + 30px);
  width: var(--preview-width);
  padding: 8px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 200, 200, 0.4);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.098),
    0 8px 14px rgba(0, 0, 0, 0.056);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 2;
}

.project-preview--events {
  width: 454px;
  top: calc(50% + 150px);
}

.project-preview--asset {
  top: calc(50% + 80px);
}

.project-preview--sporty {
  width: 220px;
  left: calc(100% + var(--preview-gap) + 90px);
  top: calc(50% - 10px);
}

.project-preview--bet365 {
  width: 495px;
  top: calc(50% - 130px);
  left: calc(100% + var(--preview-gap) + 20px);
}

.project-card:hover + .project-preview,
.project-card:focus-visible + .project-preview {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.project-preview video,
.project-preview img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: inherit;
  display: block;
}

.project-preview {
  pointer-events: none;
}


.site-footer {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .page {
    padding: 68px 22px 60px;
    gap: 0;
  }

  .hero-text h1 {
    font-size: 16px;
  }

  .page,
  .hero-work {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
  }

  .preview-column {
    display: none;
  }

  .project-preview {
    display: none;
  }
}
