@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Outfit-Regular.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Outfit-Medium.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Outfit-SemiBold.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --page: #F7F9FA;
  --surface: #FFFFFF;
  --line: #E2E8EA;
  --ink: #0F1517;
  --ink-2: #5C6B71;
  --impulsia: #0F9D8F;
  --impulsia-deep: #0C7B70;
  --impulsia-tint: #F3FAF9;
  --impulsia-edge: #B2E0DB;
  --impulsaudio: #E8661C;
  --impulsaudio-deep: #B14E0C;
  --impulsaudio-tint: #FFF4EC;
  --impulsaudio-edge: #F4CBAE;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 24px;
  --shadow: 0 1px 2px rgb(15 21 23 / .04), 0 8px 24px rgb(15 21 23 / .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.55 "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2 { font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.25rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.008em; }

.wrap { width: min(100%, 1240px); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 20; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 8px; }

.eyebrow {
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--ink-2);
}
.eyebrow--pair { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow--pair::before {
  content: "";
  flex: none;
  width: 30px;
  height: 12px;
  background:
    radial-gradient(circle at 6px 6px, var(--impulsia) 5.5px, transparent 6px),
    radial-gradient(circle at 24px 6px, var(--impulsaudio) 5.5px, transparent 6px);
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--page); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 14px; }
.wordmark { display: inline-block; align-self: flex-start; }
.wordmark img { width: auto; height: 44px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px clamp(12px, 2.4vw, 28px); font-size: .9375rem; }
.nav a { position: relative; display: inline-block; padding-block: 6px; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a::after { content: ""; position: absolute; inset: auto 0 2px; height: 2px; border-radius: 1px; background: var(--nav-accent, var(--ink)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a[aria-current]::after { transform: scaleX(1); }
.nav a[href="#impulsia"] { --nav-accent: var(--impulsia); }
.nav a[href="#impulsaudio"] { --nav-accent: var(--impulsaudio); }
@media (min-width: 760px) {
  .site-header { position: sticky; top: 0; z-index: 10; background: rgb(247 249 250 / .92); backdrop-filter: blur(10px); }
}
@media (max-width: 759px) { html { scroll-padding-top: 16px; } }
@media (max-width: 400px) {
  .site-header nav { width: 100%; }
  .nav { flex-wrap: nowrap; justify-content: space-between; gap: 6px; font-size: .84375rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
/* Sits to the right of the text and buttons, and only where there is room for it. */
.hero__wave {
  display: none;
  position: absolute;
  right: 0;
  bottom: 44px;
  width: 38%;
  height: 130px;
  stroke: var(--ink-2);
  stroke-width: 1.25;
}
@media (min-width: 1200px) { .hero__wave { display: block; } }
.hero__wave path { vector-effect: non-scaling-stroke; }
.hero__inner { position: relative; padding-block: clamp(44px, 7vw, 84px) clamp(36px, 5vw, 60px); }
.hero h1 { margin-top: 18px; }
.lead { margin-top: 20px; max-width: 58ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons: ink on the brand accent keeps the true colours and passes AA, white would not. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.button:hover { transform: translateY(-1px); }
.button--impulsia { background: var(--impulsia); }
.button--impulsia:hover { background: #12AE9F; }
.button--impulsaudio { background: var(--impulsaudio); }
.button--impulsaudio:hover { background: #F17430; }
.button--ink { background: var(--ink); color: #fff; }

/* Brand cards */
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.brand {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: 88px;
  border: 1px solid var(--edge);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.brand--impulsia { --edge: var(--impulsia-edge); --tint: var(--impulsia-tint); --deep: var(--impulsia-deep); --accent: var(--impulsia); }
.brand--impulsaudio { --edge: var(--impulsaudio-edge); --tint: var(--impulsaudio-tint); --deep: var(--impulsaudio-deep); --accent: var(--impulsaudio); }

.brand__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--edge);
  background: var(--tint);
}
.brand__shot { width: 92%; border: 1px solid var(--edge); border-radius: 14px; background: var(--page); box-shadow: var(--shadow); }
.brand__demo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.brand__demo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand__play {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 24px 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform .15s;
}
.brand__play svg { width: 13px; height: 13px; fill: var(--impulsaudio); }
.brand__demo:hover .brand__play { transform: translateY(-1px); }
.brand__demo:focus-visible { outline-offset: -6px; }

.brand__body { display: flex; flex: 1; flex-direction: column; padding: clamp(22px, 3vw, 36px); }
.brand__logo { align-self: flex-start; width: auto; height: 38px; margin-left: -2px; }
.brand__logo--wordmark { height: 30px; margin-block: 4px; margin-left: -1px; }
.brand .eyebrow { margin-top: 14px; color: var(--deep); }
.brand__product { margin-top: 20px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.brand__pitch { margin-top: 10px; font-size: 1.125rem; line-height: 1.45; }
.points { display: grid; gap: 10px; margin-top: 20px; color: var(--ink-2); }
.points li { position: relative; padding-left: 20px; }
.points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.brand__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: auto; padding-top: 26px; }
.status { flex: 1 1 200px; font-size: .875rem; font-weight: 500; line-height: 1.45; color: var(--deep); }

/* Bridge */
.bridge {
  position: relative;
  margin-top: clamp(16px, 2vw, 24px);
  padding: clamp(96px, 11vw, 160px) clamp(22px, 5vw, 64px) clamp(32px, 5vw, 60px);
  overflow: hidden;
  border-radius: 30px;
  background: var(--ink);
  color: #fff;
}
.bridge__wave { position: absolute; inset: 20px 0 auto; width: 100%; height: clamp(64px, 9vw, 120px); stroke-width: 2; }
.bridge__wave path { vector-effect: non-scaling-stroke; }
.bridge p { margin-top: 16px; max-width: 62ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: #C6D0D4; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pills li { padding: 8px 16px; border: 1px solid rgb(255 255 255 / .24); border-radius: 18px; font-size: .9375rem; line-height: 1.35; }

/* Sections */
.section { padding-top: clamp(64px, 8vw, 104px); }
.section > h2 { max-width: 22ch; }
.anchor-line { margin-top: 22px; max-width: 80ch; color: var(--ink-2); font-size: 1rem; }

.research { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(24px, 3vw, 36px); }
.panel { padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel p { margin-top: 8px; color: var(--ink-2); }
.icon { width: 30px; height: 30px; margin-bottom: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon__fill { fill: var(--ink); }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(24px, 3vw, 36px); }
.person { padding: clamp(22px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.person img { width: 104px; height: 104px; margin-bottom: 18px; border-radius: 50%; background: var(--line); object-fit: cover; }
.person h3 a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.person__role { margin-block: 4px 10px; font-size: .875rem; font-weight: 500; line-height: 1.4; color: var(--ink); }
.person p:last-child { color: var(--ink-2); font-size: 1rem; line-height: 1.45; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px clamp(24px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 88px); }
.contact__email { font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }
.contact__links a { display: inline-flex; align-items: center; gap: 7px; padding-block: 4px; color: var(--ink-2); text-underline-offset: 3px; }
.contact__links a:hover { color: var(--ink); }
.contact__links svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact__place { margin-top: 10px; color: var(--ink-2); }

.site-footer { padding-block: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }

.not-found { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.not-found h1 { margin-top: 18px; }

/* Demo video: 218px is what the Instagram player adds around its 4:5 picture. */
.demo { --w: max(280px, min(100vw - 32px, 480px, (100svh - 306px) / 1.25)); width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 56px 16px 16px; overflow: auto; border: 0; background: transparent; }
.demo[open] { display: flex; }
.demo::backdrop { background: rgb(15 21 23 / .78); }
.demo__box { position: relative; width: var(--w); margin: auto; }
.demo__close { position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.demo__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.demo__close:focus-visible { outline-color: #fff; }
.demo__frame iframe { display: block; width: 100%; height: calc(var(--w) * 1.25 + 218px); border: 0; border-radius: 14px; background: var(--surface); }
html:has(.demo[open]) { overflow: hidden; }

/* Animations: .motion is set by site.js, only if the visitor accepts motion. */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@media screen {
  .motion :is(.brand, .bridge, .panel, .person, .section > h2, .anchor-line, .contact > div) { opacity: 0; }
  .motion :is(.brand, .bridge, .panel, .person, .section > h2, .anchor-line, .contact > div).is-in { opacity: 1; animation: rise .7s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms) backwards; }
  .motion .hero__inner > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .motion .hero__inner > :nth-child(2) { animation-delay: 80ms; }
  .motion .hero__inner > :nth-child(3) { animation-delay: 160ms; }
  .motion .hero__inner > :nth-child(4) { animation-delay: 240ms; }
  .motion .hero__wave, .motion .bridge.is-in .bridge__wave { animation: wipe 1.6s ease-out .2s backwards; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand, .panel, .person { transition: transform .2s, box-shadow .2s; }
  .brand:hover, .panel:hover, .person:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .brand__demo img { transition: transform .4s; }
  .brand__demo:hover img { transform: scale(1.03); }
}

/* Layout steps */
@media (max-width: 1040px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 859px) {
  .brands, .research, .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 559px) {
  .team { grid-template-columns: minmax(0, 1fr); }
  .person { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .person img { width: 76px; height: 76px; margin: 0; }
  .actions .button { flex: 1 1 100%; }
  .brand__foot .button { width: 100%; }
  .status { flex-basis: 100%; }
  .brand__visual { aspect-ratio: 3 / 2; }
  .brand, .bridge { border-radius: 24px; }
}
