/* BeMore Digital — site styles.
   One deliberate visual world: white pages cut by deep-navy sections and blue light.
   Brand: #5B7FFF accent (large text and graphics only), #3E63F0 for buttons and links
   (4.9:1 on white), navy ink #071B4D. No purple anywhere. */

:root {
  --ink: #071b4d;
  --ink-deep: #040f2e;
  --ink-2: #0c2466;
  --blue: #5b7fff;
  --blue-strong: #3e63f0;
  --blue-deep: #2a4bd8;
  --sky: #a9c1ff;
  --cyan: #46c8ff;
  --paper: #ffffff;
  --mist: #f3f6fd;
  --line: #e1e7f2;
  --text: #1b2335;
  --muted: #56627b;
  --on-dark: #eef3ff;
  --on-dark-muted: #aebbdc;

  --font-display: "Montserrat", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 40px 90px -40px rgba(4, 15, 46, 0.55), 0 8px 24px -12px rgba(4, 15, 46, 0.2);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --slant: clamp(28px, 5vw, 80px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-strong);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.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: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-strong);
}

.tone-blue {
  color: var(--blue);
}

.tone-sky {
  color: var(--sky);
}

.display,
.display-xl {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.display span,
.display-xl span {
  display: block;
}

/* Sized so the longest line, "Be chosen.", always fits the hero's text column on one line. */
.display {
  font-size: clamp(2.7rem, 5.6vw, 5rem);
}

.hero .display span {
  white-space: nowrap;
}

.display-xl {
  font-size: clamp(2.6rem, 6.6vw, 6rem);
}

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.btn-solid {
  background: var(--blue-strong);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(62, 99, 240, 0.9);
}

.btn-solid:hover {
  background: var(--blue-deep);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--ink);
}

/* ───────── Header ───────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  pointer-events: none;
}

.header-inner {
  width: min(100% - 2 * var(--gutter), 1360px);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-name span {
  color: var(--blue);
}

.brand.on-dark .brand-name {
  color: #fff;
}

.brand.on-dark .brand-name span {
  color: var(--sky);
}

.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px -24px rgba(4, 15, 46, 0.55), 0 0 0 1px rgba(7, 27, 77, 0.06);
  backdrop-filter: blur(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.pill-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pill-nav a:hover {
  background: var(--mist);
}

.pill-nav a.pill-nav-cta {
  background: var(--blue-strong);
  color: #fff;
}

.pill-nav a.pill-nav-cta:hover {
  background: var(--blue-deep);
}

.menu-button {
  pointer-events: auto;
  display: none;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 50px -20px rgba(4, 15, 46, 0.6), 0 0 0 1px rgba(7, 27, 77, 0.06);
  cursor: pointer;
  place-items: center;
  transition: transform 0.35s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.menu-button[aria-expanded="true"] {
  transform: rotate(45deg);
  background: var(--blue-strong);
  color: #fff;
}

/* After the hero, the pill collapses into a single round "+" button. */
.site-header.is-compact .pill-nav {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
}

.site-header.is-compact .menu-button {
  display: grid;
}

.site-header.is-compact .brand {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.menu-panel {
  position: fixed;
  z-index: 45;
  top: 86px;
  right: max(var(--gutter), calc((100vw - 1360px) / 2));
  width: min(360px, calc(100vw - 2 * var(--gutter)));
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(7, 27, 77, 0.06);
}

.menu-panel nav {
  display: grid;
}

.menu-panel nav a {
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.menu-panel nav a:hover {
  background: var(--mist);
  color: var(--blue-strong);
}

.menu-panel-foot {
  margin-top: 6px;
  padding: 12px 16px 6px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ───────── Hero ───────── */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 128px 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* The panel behind the form: a still BeMore navy, lit with the brand blues. */
.hero-band {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  /* The band’s slanted edge runs from 58% of the page width (top) to 47% (bottom);
     the text column on the left always ends before 46%. */
  width: 55%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 4% 100%);
  background:
    radial-gradient(120% 70% at 85% 15%, rgba(70, 200, 255, 0.45), transparent 60%),
    radial-gradient(90% 80% at 30% 90%, rgba(91, 127, 255, 0.7), transparent 65%),
    linear-gradient(160deg, #0c2466 0%, var(--ink) 45%, var(--ink-deep) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}

.hero-form {
  justify-self: end;
  width: min(100%, 480px);
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero-copy .lead {
  margin-top: 28px;
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-points {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  max-width: 34rem;
}

.hero-points li {
  display: grid;
  grid-template-columns: 9.4rem minmax(0, 1fr);
  align-items: baseline;
  gap: 2px 18px;
  padding: 12px 0;
  border-top: 1.5px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-points li:first-child {
  border-top: 2px solid var(--ink);
}

.hero-points strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.lead-card {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.lead-card h2 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
}

.lead-card h2 span {
  color: var(--blue-strong);
}

.lead-card-intro {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.enquiry {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 4px;
}

.field > span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.field em {
  font-style: normal;
  opacity: 0.8;
}

.field input,
.field textarea {
  width: 100%;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 60px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--blue-strong);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: #c0392b;
}

.chips {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips legend {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.chips label {
  position: relative;
  cursor: pointer;
}

.chips input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.chips span {
  display: inline-block;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chips label:hover span {
  border-color: var(--blue);
}

.chips input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chips input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.enquiry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.enquiry-actions .btn {
  min-width: 190px;
}

.enquiry-actions .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.form-status {
  flex: 1 1 200px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.is-success {
  color: #0e7a5f;
}

.form-status.is-error {
  color: #a12f23;
}

/* ───────── Ticker ───────── */

.ticker {
  overflow: hidden;
  padding: 26px 0;
  background: var(--ink);
  color: #fff;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  /* The trailing space makes the two halves exactly equal, so the loop has no jump. */
  padding-right: 36px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ticker span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span:nth-of-type(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sky);
}

.ticker i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--blue);
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ───────── Statement ───────── */

.statement {
  padding: clamp(72px, 9vw, 130px) 0;
  background: linear-gradient(180deg, var(--paper) 0 55%, var(--mist) 55% 100%);
}

.statement-card {
  margin: 0;
  padding: clamp(36px, 6vw, 88px) clamp(28px, 8vw, 120px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(70, 200, 255, 0.35), transparent 60%),
    linear-gradient(135deg, var(--blue-strong), var(--blue-deep));
  color: #fff;
  box-shadow: 0 50px 100px -50px rgba(42, 75, 216, 0.8);
}

.statement-card blockquote {
  margin: 0;
}

.statement-card p {
  max-width: 58rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.statement-card figcaption {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.statement-card figcaption img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.statement-card figcaption span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}

.statement-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}

/* ───────── Services ───────── */

.services {
  position: relative;
  padding: calc(var(--slant) + clamp(64px, 8vw, 110px)) 0 calc(var(--slant) + clamp(64px, 8vw, 110px));
  margin: 0 0 calc(-1 * var(--slant));
  color: var(--on-dark);
  background:
    radial-gradient(60% 40% at 0% 10%, rgba(91, 127, 255, 0.35), transparent 70%),
    radial-gradient(50% 35% at 100% 55%, rgba(70, 200, 255, 0.22), transparent 70%),
    radial-gradient(60% 40% at 10% 95%, rgba(62, 99, 240, 0.35), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  z-index: 1;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 900;
}

.section-head.on-dark h2 {
  color: #fff;
}

.section-head.on-dark .eyebrow,
.service .eyebrow {
  color: var(--sky);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(28px, 4vw, 48px) 0;
}

.service + .service {
  border-top: 1px solid rgba(169, 193, 255, 0.14);
}

.service.flip .service-visual {
  order: 2;
}

.service-copy h3 {
  margin: 12px 0 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 900;
  color: #fff;
}

.service-copy p {
  max-width: 32rem;
  margin-bottom: 26px;
  color: var(--on-dark-muted);
}

/* Each illustration sits in a rounded tile that echoes the BeMore logo mark. */
.service-visual {
  display: grid;
  place-items: center;
}

.vg {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 34%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(70, 200, 255, 0.45), transparent 60%),
    linear-gradient(145deg, var(--blue) 0%, var(--blue-deep) 60%, var(--ink-2) 100%);
  box-shadow: 0 40px 80px -40px rgba(70, 200, 255, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease);
}

.service:hover .vg {
  transform: rotate(0deg) scale(1.02);
}

.vg > * {
  transform: rotate(4deg);
}

.vg svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vg-line {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: #dfe6f6;
}

.vg-line.short {
  width: 60%;
}

.vg-line.light {
  background: rgba(255, 255, 255, 0.75);
}

/* Social */
.vg-phone {
  width: 56%;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(4, 15, 46, 0.7);
  display: grid;
  gap: 10px;
}

.vg-post-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.vg-post-head span {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.7rem;
}

.vg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.vg-post-img {
  aspect-ratio: 1;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(140deg, var(--cyan), var(--blue-strong) 55%, var(--ink));
}

.vg-post-img span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.vg-post-actions {
  display: flex;
  gap: 12px;
  color: var(--ink);
}

.vg-post-actions svg {
  width: 20px;
  height: 20px;
}

.vg-post-actions svg:first-child {
  color: #e0245e;
  fill: #e0245e;
}

/* Ads */
.vg-ads {
  width: 70%;
  display: grid;
  gap: 12px;
}

.vg-ad {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--blue-strong);
  box-shadow: 0 20px 40px -24px rgba(4, 15, 46, 0.7);
}

.vg-ad:nth-child(2) {
  margin-left: 12%;
}

.vg-ad:nth-child(3) {
  margin-left: 4%;
}

.vg-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mist);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ink);
}

.vg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #12b886;
  box-shadow: 0 0 0 4px rgba(18, 184, 134, 0.2);
}

.vg-ad svg {
  width: 100%;
  height: 34px;
  stroke-width: 3;
}

/* Websites */
.vg-browser {
  width: 76%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(4, 15, 46, 0.75);
}

.vg-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--mist);
}

.vg-browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd8ea;
}

.vg-browser-bar span {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.7rem;
  color: var(--muted);
}

.vg-page {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.vg-hero-block {
  padding: 18px;
  border-radius: 12px;
  display: grid;
  gap: 8px;
  background: linear-gradient(135deg, var(--ink), var(--blue-strong));
}

.vg-hero-block b {
  justify-self: start;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink);
}

.vg-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vg-cols i {
  height: 54px;
  border-radius: 10px;
  background: var(--mist);
}

/* SEO */
.vg-seo {
  align-content: center;
  gap: 10px;
}

.vg-seo > * {
  width: 72%;
}

.vg-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.85rem;
  box-shadow: 0 20px 40px -24px rgba(4, 15, 46, 0.7);
}

.vg-search svg {
  width: 18px;
  height: 18px;
  color: var(--blue-strong);
}

.vg-result {
  padding: 12px 16px;
  border-radius: 14px;
  display: grid;
  gap: 7px;
  background: rgba(255, 255, 255, 0.16);
}

.vg-result b {
  display: block;
  height: 10px;
  width: 52%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
}

.vg-result .vg-line {
  background: rgba(255, 255, 255, 0.28);
}

.vg-result.is-you {
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(4, 15, 46, 0.7);
}

.vg-result.is-you b {
  width: auto;
  height: auto;
  background: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue-strong);
}

.vg-result.is-you .vg-line {
  background: #dfe6f6;
}

/* Branding */
.vg-board {
  width: 70%;
  aspect-ratio: 1.15;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 12px;
  box-shadow: 0 30px 60px -24px rgba(4, 15, 46, 0.75);
}

.vg-mark {
  position: relative;
  border-radius: 14px;
  background: var(--ink);
  overflow: hidden;
}

.vg-mark i:first-child {
  position: absolute;
  inset: 22% 22% 22% 22%;
  border-radius: 30%;
  background: var(--blue);
}

.vg-mark i:last-child {
  position: absolute;
  width: 34%;
  height: 34%;
  right: 14%;
  bottom: 14%;
  border-radius: 50%;
  background: var(--cyan);
  mix-blend-mode: screen;
}

.vg-aa {
  border-radius: 14px;
  background: var(--mist);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
}

.vg-swatches {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.vg-swatches i {
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
}

.vg-swatches i:nth-child(2) {
  background: var(--blue-strong);
}

.vg-swatches i:nth-child(3) {
  background: var(--blue);
}

.vg-swatches i:nth-child(4) {
  background: var(--cyan);
}

/* ───────── Clients ───────── */

.clients {
  position: relative;
  padding: calc(var(--slant) + 56px) 0 40px;
  background: var(--paper);
}

/* Without JavaScript, or when motion is turned off, every logo is simply laid out in rows.
   With it, each row becomes a slow, endless strip (the script repeats the logos to fill it). */
.client-rows {
  display: grid;
  gap: 14px;
  padding-inline: var(--gutter);
}

.client-track {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.client-rows.is-marquee {
  padding-inline: 0;
  overflow: hidden;
}

.client-rows.is-marquee .client-track {
  flex-wrap: nowrap;
  justify-content: flex-start;
  /* The trailing space makes the repeated halves exactly equal, so the loop has no jump. */
  padding-right: 14px;
  width: max-content;
  animation: marquee 64s linear infinite;
}

.client-rows.is-marquee .client-track.reverse {
  animation-direction: reverse;
  animation-duration: 72s;
}

.tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 260px;
  height: 120px;
  padding: 0 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px -30px rgba(4, 15, 46, 0.4);
}

.tile.dark {
  border-color: var(--ink);
  background: var(--ink);
}

.tile img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 62px;
}

.tile img.tall {
  max-height: 84px;
}

.tile img.short {
  max-height: 44px;
}

/* A client with no logo file yet: the name, set plainly. */
.tile.word {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--ink);
}

.tile.lockup {
  grid-auto-flow: column;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
}

.tile.lockup img {
  max-height: 46px;
}

.tile.lockup span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

.clients-title {
  margin-top: 28px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
}

/* ───────── Manifesto ───────── */

.manifesto {
  padding: clamp(64px, 8vw, 120px) 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: stretch;
  gap: clamp(32px, 5vw, 72px);
}

.container-left {
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.manifesto-copy {
  align-self: center;
}

.manifesto-copy p {
  margin-top: 30px;
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.manifesto-panel {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 60% at 70% 20%, rgba(70, 200, 255, 0.55), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 50%, var(--ink) 100%);
}

.manifesto-panel img {
  width: 34%;
  max-width: 220px;
  opacity: 0.95;
  filter: drop-shadow(0 30px 40px rgba(4, 15, 46, 0.45));
}

.manifesto-panel p {
  position: absolute;
  left: 32px;
  bottom: 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.manifesto-panel strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
}

/* ───────── Industries ───────── */

.industries {
  padding: clamp(56px, 7vw, 110px) 0;
  background: var(--mist);
}

.industries-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.industries h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 900;
}

.industries header p {
  margin-top: 20px;
  max-width: 28rem;
  color: var(--muted);
}

.industry-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-list li {
  padding: 18px 0;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.industry-list li:first-child {
  padding-top: 0;
}

/* ───────── Work ───────── */

.work {
  padding: clamp(72px, 9vw, 130px) 0;
}

.work-title {
  margin-bottom: clamp(40px, 6vw, 72px);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: clamp(48px, 6vw, 88px);
}

.case.offset {
  margin-top: clamp(0px, 9vw, 140px);
}

.case-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  box-shadow: 0 36px 70px -40px rgba(4, 15, 46, 0.6);
}

/* A website, shown in a plain browser frame. */
.case-media.shot img {
  position: absolute;
  inset: 34px 0 0;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease);
}

a.case-media.shot:hover img {
  transform: scale(1.04);
}

.case-media .frame {
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e9edf6;
}

.case-media .frame i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c6cfe2;
}

.case h3 {
  margin-top: 22px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--blue-strong);
}

.case h3 a {
  color: inherit;
  text-decoration: none;
}

.case h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.case-line {
  margin-top: 6px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  font-size: 1.1rem;
  color: var(--muted);
}

.tags {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

/* Social media work: three real posts, fanned out on the client's own colour. */
.case-media.social {
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 90% at 18% 8%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #66755a 0%, #46523c 55%, #2f3829 100%);
}

.social-fan {
  position: relative;
  width: 80%;
  aspect-ratio: 2;
}

.social-fan img {
  position: absolute;
  top: 50%;
  width: 43%;
  border-radius: 10px;
  box-shadow: 0 26px 46px -22px rgba(0, 0, 0, 0.75);
  transition: transform 0.6s var(--ease);
}

.social-fan img:nth-child(1) {
  left: 0;
  transform: translateY(-50%) rotate(-7deg);
}

.social-fan img:nth-child(2) {
  right: 0;
  transform: translateY(-50%) rotate(7deg);
}

.social-fan img:nth-child(3) {
  left: 50%;
  width: 49%;
  transform: translate(-50%, -50%);
}

.case:hover .social-fan img:nth-child(1) {
  transform: translate(-4%, -50%) rotate(-10deg);
}

.case:hover .social-fan img:nth-child(2) {
  transform: translate(4%, -50%) rotate(10deg);
}

/* Work with no single picture to show: the client's own mark, given room. */
.case-media.brandmark {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(70, 200, 255, 0.2), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(91, 127, 255, 0.18), transparent 65%),
    #fff;
}

.case-media.brandmark img {
  width: 56%;
}

/* "Your brand, next." */
.case-media.next {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 26px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(70, 200, 255, 0.4), transparent 60%),
    linear-gradient(150deg, var(--ink-2), var(--ink-deep));
}

.case-media.next p {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
}

.case-media.next p span {
  color: var(--blue);
}

.case-next h3 {
  color: var(--ink);
}

/* ───────── Process ───────── */

.process {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--mist);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.steps li {
  padding: 28px 24px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 50px -36px rgba(4, 15, 46, 0.45);
}

.steps b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
}

.steps h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.steps p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ───────── Closing ───────── */

.closing {
  padding: clamp(80px, 10vw, 150px) 0 calc(var(--slant) + clamp(80px, 10vw, 140px));
}

.closing p {
  margin-top: 26px;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.closing-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ───────── Footer ───────── */

.site-footer {
  position: relative;
  margin-top: calc(-1 * var(--slant));
  padding: calc(var(--slant) + 64px) 0 32px;
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 18rem;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h2 {
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col a {
  color: var(--on-dark);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--sky);
  text-decoration: underline;
}

.footer-base {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(169, 193, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

/* ───────── Reveal on scroll (only once JavaScript is running) ───────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ───────── Responsive ───────── */

@media (max-width: 1100px) {
  .pill-nav a:not(.pill-nav-cta) {
    padding: 10px 12px;
  }

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

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

@media (max-width: 900px) {
  .pill-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  /* Stacked: the words first, then the panel with the picture and the form, edge to edge. */
  .hero {
    padding: 108px 0 0;
  }

  .hero-form {
    position: relative;
    justify-self: stretch;
    width: auto;
    margin: 0 calc(-1 * var(--gutter));
    padding: 64px var(--gutter) 56px;
  }

  .hero-band {
    inset: 0;
    width: auto;
    clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
  }

  .hero-grid,
  .service,
  .manifesto-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .service.flip .service-visual {
    order: 0;
  }

  .vg {
    width: min(100%, 360px);
  }

  .manifesto-panel {
    min-height: 360px;
    margin-left: var(--gutter);
  }

  .container-left {
    padding-right: var(--gutter);
  }

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

  .case.offset {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .hero-points li {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

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

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

  .tile {
    width: 200px;
    height: 96px;
    padding: 0 24px;
  }

  .tile img {
    max-height: 48px;
  }

  .tile img.tall {
    max-height: 66px;
  }

  .tile img.short {
    max-height: 34px;
  }

  .tile.word {
    font-size: 1rem;
  }

  .tile.lockup {
    gap: 10px;
    padding: 0 16px;
  }

  .tile.lockup img {
    max-height: 38px;
  }

  .tile.lockup span {
    font-size: 0.85rem;
  }

  .btn {
    width: 100%;
  }

  .enquiry-actions .btn {
    min-width: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track,
  .client-rows.is-marquee .client-track {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ───────── Plain pages: privacy, thank-you, not found ───────── */

.plain {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(91, 127, 255, 0.16), transparent 70%),
    var(--paper);
}

.plain-header {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plain-header .btn {
  min-height: 44px;
  padding: 0 20px;
  width: auto;
}

.plain-main {
  flex: 1;
  width: min(100% - 2 * var(--gutter), 46rem);
  margin: clamp(48px, 9vw, 110px) auto;
}

.plain-centre {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
}

.plain-centre .btn {
  width: auto;
}

.prose h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
}

.prose h2 {
  margin: 40px 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}

.prose p + p {
  margin-top: 12px;
}

.prose-lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.prose-foot {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--muted);
}

.plain-footer {
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
