:root {
  color-scheme: light;
  --navy: #0b1f3a;
  --navy-soft: #183653;
  --red: #981b1e;
  --red-bright: #c62a2e;
  --teal: #117c78;
  --green: #3b8f52;
  --orange: #ef8b00;
  --ink: #17202b;
  --muted: #5d6875;
  --line: #d8dde3;
  --surface: #ffffff;
  --surface-soft: #f3f5f7;
  --surface-warm: #f8f4ef;
  --max-width: 1280px;
  --header-height: 76px;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.05;
}

h1 {
  margin-bottom: 24px;
  font-size: 88px;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: 52px;
  font-weight: 750;
}

h3 {
  font-size: 24px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--navy);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 8px max(24px, calc((100vw - var(--max-width)) / 2));
  color: var(--navy);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgb(11 31 58 / 8%);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--navy);
  background: rgb(255 255 255 / 96%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgb(11 31 58 / 8%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 20px;
  font-weight: 760;
}

.brand img {
  flex: 0 0 auto;
  width: 166px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(810px, 88svh);
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgb(8 24 43 / 81%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: min(810px, 88svh);
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 38px) 0 72px;
}

.hero-content > * {
  max-width: 100%;
}

.hero-logo {
  width: min(390px, 76vw);
  height: auto;
  margin-bottom: 30px;
  padding: 14px 18px;
  background: rgb(255 255 255 / 96%);
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgb(2 12 24 / 28%);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: #ff8c8f;
}

.hero h1 {
  color: #ffffff;
}

.definition {
  width: 100%;
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.35;
}

.definition span {
  color: rgb(255 255 255 / 70%);
}

.hero-summary {
  width: 100%;
  max-width: 650px;
  margin-bottom: 34px;
  color: rgb(255 255 255 / 78%);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 760;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease;
}

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

.button-primary {
  background: var(--red-bright);
  color: #ffffff;
}

.button-primary:hover {
  background: #a9191d;
}

.button-light {
  background: #ffffff;
  color: var(--navy);
}

.button-light:hover {
  background: #f3f5f7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 750;
}

.text-link span {
  font-size: 18px;
}

.text-link-light {
  color: #ffffff;
}

.hero-next {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--max-width)) / 2));
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgb(255 255 255 / 76%);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading > * {
  min-width: 0;
  max-width: 100%;
}

.section-heading > p {
  max-width: 560px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 17px;
}

.filter-scroll {
  width: 100%;
  margin-bottom: 34px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.portfolio-filters {
  display: inline-flex;
  min-width: max-content;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.filter-button {
  position: relative;
  min-height: 42px;
  padding: 9px 15px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.filter-button:last-child {
  border-right: 0;
}

.filter-button:hover {
  color: var(--navy);
  background: #ffffff;
}

.filter-button.is-active {
  color: #ffffff;
  background: var(--navy);
}

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

.venture-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 9px 30px rgb(11 31 58 / 6%);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

a.venture-card:hover,
a.venture-card:focus-visible {
  border-color: var(--venture-accent);
  box-shadow: 0 18px 40px rgb(11 31 58 / 13%);
  transform: translateY(-4px);
}

.venture-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.venture-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

a.venture-card:hover .venture-media > img {
  transform: scale(1.018);
}

.venture-media-brand {
  display: grid;
  place-items: center;
  padding: 38px;
  background: color-mix(in srgb, var(--venture-accent) 8%, #ffffff);
  border-top: 5px solid var(--venture-accent);
}

.venture-media-brand .venture-logo {
  max-width: 76%;
  max-height: 130px;
  object-fit: contain;
}

.venture-text-mark {
  color: var(--venture-accent);
  font-size: 34px;
  font-weight: 820;
}

.venture-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.venture-brand-row {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.venture-brand {
  display: flex;
  min-width: 0;
  max-width: 160px;
  align-items: center;
}

.venture-brand .venture-logo {
  width: auto;
  max-width: 100%;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.venture-brand .venture-text-mark {
  font-size: 22px;
}

.venture-logo-gwen {
  height: 31px !important;
}

.venture-logo-water,
.venture-logo-lenders,
.venture-logo-tokaroo {
  height: 46px !important;
  margin: -6px 0;
}

.venture-logo-tour-de-fruits,
.venture-logo-pickup,
.venture-logo-3hl {
  height: 40px !important;
}

.venture-logo-ship-my-pants {
  height: 38px !important;
}

.venture-stage {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.venture-stage i {
  width: 7px;
  height: 7px;
  background: #88929d;
  border-radius: 50%;
}

.venture-stage.is-live i {
  background: #22a467;
  box-shadow: 0 0 0 3px rgb(34 164 103 / 14%);
}

.venture-category {
  margin-bottom: 8px;
  color: var(--venture-accent);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.venture-body h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.venture-description {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.venture-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--navy-soft);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 720;
}

.venture-arrow {
  color: var(--venture-accent);
  font-size: 20px;
}

.platform-section {
  background: var(--navy);
  color: #ffffff;
}

.platform-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  gap: 76px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
}

.platform-intro {
  align-self: start;
}

.platform-intro .eyebrow {
  color: #6dd8d2;
}

.platform-intro h2 {
  margin-bottom: 24px;
  color: #ffffff;
}

.platform-intro > p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 70%);
  font-size: 17px;
}

.platform-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(255 255 255 / 22%);
}

.platform-flow li {
  display: grid;
  grid-template-columns: 54px minmax(145px, 0.65fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.flow-number {
  color: #6dd8d2;
  font-size: 12px;
  font-weight: 800;
}

.platform-flow strong {
  color: #ffffff;
  font-size: 17px;
}

.platform-flow p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 15px;
}

.studio-section {
  padding-bottom: 116px;
}

.studio-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-steps article {
  min-width: 0;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
}

.studio-steps article:first-child {
  padding-left: 0;
}

.studio-steps article:last-child {
  padding-right: 0;
  border-right: 0;
}

.studio-steps span {
  display: block;
  margin-bottom: 30px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.studio-steps h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.studio-steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 72px;
  align-items: end;
  padding: 86px max(24px, calc((100vw - var(--max-width)) / 2));
  background: var(--red);
  color: #ffffff;
}

.contact-section h2 {
  color: #ffffff;
}

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

.contact-copy p {
  margin-bottom: 26px;
  color: rgb(255 255 255 / 80%);
  font-size: 17px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - var(--max-width)) / 2));
  background: #061426;
  color: rgb(255 255 255 / 68%);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 4px;
}

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

@media (max-width: 1040px) {
  h1 {
    font-size: 74px;
  }

  h2 {
    font-size: 44px;
  }

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

  .platform-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

  .studio-steps article:nth-child(2) {
    border-right: 0;
  }

  .studio-steps article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .studio-steps article:nth-child(3) {
    padding-left: 0;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 140px;
    height: auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgb(11 31 58 / 18%);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }

  .hero-mosaic img:nth-child(n + 3) {
    display: none;
  }

  .hero-shade {
    background: rgb(8 24 43 / 84%);
  }

  .hero-content {
    min-height: 82svh;
    width: calc(100% - 32px);
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 66px;
  }

  .hero-logo {
    width: min(300px, calc(100vw - 64px));
    height: auto;
    padding: 11px 14px;
    margin-bottom: 24px;
  }

  .definition {
    font-size: 21px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-next {
    right: 16px;
    bottom: 18px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 78px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }

  .section-heading > p {
    font-size: 16px;
  }

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

  .platform-inner {
    width: calc(100% - 32px);
    padding: 78px 0;
  }

  .platform-flow li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .platform-flow p {
    grid-column: 2;
  }

  .studio-steps {
    grid-template-columns: 1fr;
  }

  .studio-steps article,
  .studio-steps article:first-child,
  .studio-steps article:nth-child(3),
  .studio-steps article:last-child {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .studio-steps article:last-child {
    border-bottom: 0;
  }

  .studio-steps span {
    margin-bottom: 18px;
  }

  .contact-section {
    padding: 70px 16px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 16px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .button-primary {
    width: 100%;
  }

  .venture-body {
    padding: 20px;
  }

  .venture-brand {
    max-width: 142px;
  }
}

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

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

}
