/* SuperUltra — site styles
   Rebuilt from the Wix site (superultra.co) as static HTML.
   Palette and type sizes match the original desktop layout at 1440px. */

:root {
  --black: #000000;
  --ink: #202020;        /* dark section background */
  --slate: #393f4a;      /* alternate dark case-study background */
  --paper: #f6f7f9;      /* light section background / heading text on dark */
  --mist: #dcdcde;       /* body text on dark */
  --graphite: #565656;   /* body text on light */
  --silver: #b2b2b3;     /* muted text on dark */
  --steel: #3f4349;      /* stat numbers and bars */
  --dusk: #747980;       /* body text on light case studies */

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1028px;         /* content column: text starts at 223px on a 1440 screen */
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
  background: var(--ink);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
b, strong { font-weight: 700; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 22px;
  border: 1px solid var(--paper);
  border-radius: 20px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--paper); color: var(--ink); }

.icon-link {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  overflow: hidden;
  transition: opacity .2s;
}
.icon-link:hover { opacity: .8; }
.icon-link img { width: 32px; height: 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  background: transparent;
}
.site-header .bar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
}
.brand img { height: 32px; width: auto; }
.brand-mark { display: none; }
.nav { display: flex; align-items: center; gap: 14px; }

/* ---------- Hero (video background) ---------- */
.hero {
  position: relative;
  margin-top: -80px;          /* sits behind the transparent header */
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
}
.hero video,
.hero .poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(100% - 80px);
  background: linear-gradient(0deg, var(--ink) 0%, rgba(246, 247, 249, 0) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; }
.hero--home { display: block; height: 780px; min-height: 0; }
.hero--home .wrap { padding-top: 281px; }
.hero--home .lead { margin-top: 48px; }
.hero--home .intro { margin-top: 39px; max-width: 530px; }
.hero h1 {
  font-size: 60px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--paper);
}
.hero h1 b { font-weight: 700; }
.hero .lead {
  margin-top: 36px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: #fafafa;
}
.hero .lead.regular { font-weight: 400; }
.hero .intro {
  margin-top: 30px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--mist);
}
.hero .intro b { color: #ffffff; }
.hero .intro .muted { color: var(--silver); }
.hero--home .intro { color: var(--silver); }
.hero--tall { min-height: 869px; }

/* ---------- Services (home) ---------- */
.services {
  background: var(--ink);
  padding: 56px 0 84px;
  text-align: center;
}
.services h2 {
  font-size: 30px;
  line-height: 42px;
  font-weight: 400;
  color: var(--mist);
}
.services h2 b { color: var(--paper); }
.services .sub {
  margin: 30px auto 0;
  max-width: 907px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--mist);
}
/* Four hover cards: title only by default, light card with the deliverables list on hover */
.service-grid {
  margin: 83px auto 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  text-align: left;
}
.service-card {
  position: relative;
  width: 224px;
  height: 420px;
  padding: 26px 24px 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #ffffff;
  transition: background-color .4s ease-in-out, color .4s ease-in-out, border-color .4s ease-in-out, transform .2s ease-in-out;
}
.service-card h3 {
  width: 158px;
  font-size: 18px;
  line-height: 31.2px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.service-card .arrow { display: none; }
.service-card ul {
  margin: 22px 0 0;
  padding-left: 23px;
  list-style: disc;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease-in-out, visibility 0s .4s;
}
.service-card li { margin: 0 0 6px; }
.service-card:hover,
.service-card:focus-within {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  transform: translate(1px, 2px);
}
.service-card:hover ul,
.service-card:focus-within ul {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease-in-out, visibility 0s;
}

/* ---------- Case studies ---------- */
.case {
  min-height: 920px;
  display: flex;
  align-items: center;
  padding: 100px 0;
}
.case--dark  { background: var(--slate); color: var(--mist); }
.case--light { background: var(--paper); color: var(--graphite); }

.case .row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.case--flip .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.case--flip .media { order: 2; }
.case--flip .copy  { order: 1; }

.case .media img {
  width: 100%;
  aspect-ratio: 1424 / 1032;
  object-fit: cover;
}
.case .copy { max-width: 420px; }
.case--flip .copy { justify-self: end; }

.case .kicker {
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mist);
}
.case--light .kicker { color: var(--graphite); }
.case .client-logo { height: 55px; width: auto; margin-bottom: 26px; }
.case .client {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--paper);
}
.case--light .client { color: var(--ink); }
.case .title {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--paper);
}
.case--light .title { color: var(--ink); }
.case .kicker + .client + .title { font-size: 16px; line-height: 2.1; color: var(--mist); }
.case--light .kicker + .client + .title { color: var(--slate); }
.case .body {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.8;
}
.case .body p + p { margin-top: 1.8em; }
.case--dark .body b { color: var(--mist); }
.case--light .body b { color: var(--graphite); }
.case .award {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  line-height: 1.4;
}
.case .award img { width: 94px; height: auto; }

/* ---------- Home showcase (case studies with rule + accent) ---------- */
.showcase {
  min-height: 920px;
  padding: 238px 0 30px;
}
.showcase--dark  { background: var(--slate); --fg: var(--paper); --body: var(--silver); --line: var(--paper); --accent: var(--paper); }
.showcase--light { background: var(--paper); --fg: var(--slate); --body: var(--dusk);   --line: var(--slate); --accent: var(--slate); }
.showcase .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.showcase .media { justify-self: end; width: 612px; max-width: 100%; }
.showcase .media img { width: 100%; aspect-ratio: 612 / 444; object-fit: cover; }
.showcase .copy {
  margin: 4px 0 0 92px;
  width: 399px;
  max-width: calc(100% - 92px);
  padding-left: 57px;
  border-left: 1px solid var(--line);
  color: var(--body);
}
.showcase--flip .media { order: 2; justify-self: start; width: 617px; }
.showcase--flip .copy  { order: 1; justify-self: end; margin: 4px 92px 0 0; }
.showcase .kicker {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
}
.showcase .head { position: relative; margin-top: 41px; }
.showcase .head::before {
  content: "";
  position: absolute;
  left: -58px; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.showcase .client {
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  color: var(--fg);
}
.showcase .title {
  margin-top: 17px;
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  color: var(--fg);
}
.showcase .body {
  margin-top: 28px;
  font-size: 16px;
  line-height: 28.8px;
  color: var(--body);
}
.showcase .body b { color: var(--body); }
.showcase .body p + p { margin-top: 28.8px; }

/* ---------- Logo grids ---------- */
.logos {
  background: var(--ink);
  padding: 91px 0 119px;
  text-align: center;
}
.logos h2 {
  font-size: 30px;
  line-height: 42px;
  font-weight: 400;
  color: #ffffff;
}
.logo-grid {
  margin: 22px auto 0;
  display: grid;
  justify-content: center;
}
.logo-grid--5 { grid-template-columns: repeat(5, 131px); gap: 45px 40px; }
.logo-grid--3 { grid-template-columns: repeat(3, 131px); gap: 0 89px; }
.logo-grid img { width: 131px; height: 131px; object-fit: contain; }
.logos--awards { padding: 100px 0 84px; }
.logos--awards .logo-grid { margin-top: 62px; }

/* ---------- Stats ---------- */
.stats {
  background: var(--paper);
  color: var(--ink);
  padding: 101px 0 152px;
  text-align: center;
}
.stats h2 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 400;
  color: var(--steel);
}
.stats .row {
  margin-top: 114px;
  display: grid;
  grid-template-columns: repeat(3, 247px);
  justify-content: space-between;
}
.stats .num {
  font-size: 60px;
  line-height: 64px;
  color: var(--steel);
}
.stats .label {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink);
}
.stats .bar {
  display: block;
  width: 247px;
  height: 5px;
  margin: 39px auto 0;
  background: var(--steel);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 113px 0 66px;
}
.site-footer .kicker {
  font-size: 18px;
  line-height: 32px;
  color: var(--silver);
}
.site-footer .headline {
  margin-top: 17px;
  font-size: 83px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--silver);
}
.site-footer .headline b { font-weight: 700; color: #ffffff; }
.site-footer .actions {
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer .copyright {
  margin-top: 162px;
  font-size: 16px;
  line-height: 22px;
  color: var(--paper);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header .bar { padding: 0 32px; }
  .service-grid { flex-wrap: wrap; }
  .showcase { padding: 120px 0 80px; min-height: 0; }
  .showcase .row { gap: 40px; padding: 0 var(--gutter); }
  .showcase .copy, .showcase--flip .copy { margin: 4px 0 0; max-width: 100%; }
  .stats .row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stats .bar { max-width: 100%; }
  .case { min-height: 0; padding: 80px 0; }
  .site-footer .headline { font-size: 64px; }
}

@media (max-width: 760px) {
  .site-header .bar { padding: 0 var(--gutter); }
  .btn { padding: 0 14px; font-size: 11px; }
  .nav { gap: 8px; }
  .hero { min-height: 620px; }
  .hero--tall { min-height: 680px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 20px; margin-top: 24px; }
  .hero .intro { font-size: 16px; }
  .services { padding: 56px 0 64px; }
  .services h2, .logos h2 { font-size: 26px; }
  .services .sub { font-size: 18px; }
  .hero--home { height: auto; min-height: 620px; display: flex; }
  .hero--home .wrap { padding-top: 80px; }
  .hero--home .lead { margin-top: 24px; }
  .brand-full { display: none; }
  .brand-mark { display: block; }
  /* Mobile: plain black tiles with the service name and an arrow; no hover flip, no list */
  .service-grid { margin-top: 48px; flex-direction: column; align-items: stretch; gap: 12px; }
  .service-card,
  .service-card:hover,
  .service-card:focus-within {
    width: 100%; height: auto;
    padding: 22px 24px;
    background: var(--black);
    border-color: var(--black);
    color: #ffffff;
    transform: none;
  }
  .service-card h3 { width: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .service-card h3 br { display: none; }
  .service-card .arrow { display: inline-block; font-size: 22px; line-height: 1; }
  .service-card ul { display: none; }
  /* Mobile: text first, image below */
  .showcase .row { grid-template-columns: 1fr; }
  .showcase .copy, .showcase--flip .copy { order: 1; width: auto; justify-self: start; padding-left: 24px; }
  .showcase .media, .showcase--flip .media { order: 2; width: 100%; }
  .showcase .head::before { left: -25px; }
  .stats .row { grid-template-columns: 1fr; gap: 40px; }
  .case .row, .case--flip .row { grid-template-columns: 1fr; gap: 40px; }
  .case--flip .media { order: 1; }
  .case--flip .copy { order: 2; justify-self: start; }
  .case .copy { max-width: none; }
  .logo-grid--5 { grid-template-columns: repeat(2, 131px); }
  .logo-grid--3 { grid-template-columns: repeat(2, 131px); gap: 24px 40px; }
  .stats { padding: 72px 0; }
  .stats .row { margin-top: 48px; grid-template-columns: 1fr; gap: 40px; }
  .site-footer { padding: 72px 0 40px; }
  .site-footer .headline { font-size: 40px; }
  .site-footer .actions { flex-wrap: wrap; margin-top: 40px; }
  .site-footer .copyright { margin-top: 80px; }
}

@media (max-width: 420px) {
  .nav .btn--mail { display: none; }
}
