/* FLOWLAB Trade Solutions
   Layout and structure. Colours, font (General Sans), card shapes and dark mode
   come from violet-bloom.css, which loads after this file and overrides the tokens below.
   Round shapes are nodes and actions. Straight edges are structure.
   A single conductor line runs down the left margin and ends at the form. */

:root {
  --purple: #5A0FC8;
  --purple-deep: #4508A3;
  --violet: #6F45E8;
  --lilac: #B9A3F5;
  --black: #000;
  --text: #26232E;
  --muted: #5C586B;
  --white: #fff;
  --tint: #F3F0FA;
  --line: #DCD6EC;
  --dark: #1D0F3D;
  --dark-text: #EDE8FA;
  --error: #B3261E;
  --success: #17663A;

  --gutter: 20px;
  --sec-pad: 72px;
  --h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem);
  --rail-x: 33px;          /* distance of the rail left of the content edge */
  --header-h: 68px;

  --wide: "wdth" 118;
}

@media (min-width: 720px) {
  :root {
    --gutter: max(64px, calc((100vw - 1160px) / 2));
    --sec-pad: 112px;
    --header-h: 76px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--black);
  font-variation-settings: var(--wide);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a { color: var(--purple); text-underline-offset: 0.18em; }
a:hover { color: var(--purple-deep); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 16px;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap { padding-inline: var(--gutter); }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--purple); color: var(--white);
  font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--purple-deep); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: var(--dark-text); color: var(--dark); }
.btn-outline { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); }

.text-link { font-weight: 700; }

.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--purple);
  text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.brand img { width: 168px; }

.nav-toggle {
  width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
  display: grid; place-items: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 24px; height: 3px; background: var(--black); border-radius: 2px;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
}
.site-nav.is-open { display: block; }
.site-nav a:not(.btn) {
  display: block; padding: 14px 0;
  color: var(--black); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav .btn { margin-top: 20px; width: 100%; }

/* Between 960 and 1200px the full nav only fits with tighter gaps */
@media (min-width: 960px) and (max-width: 1199px) {
  .site-nav { gap: 20px; }
  .site-nav a:not(.btn) { font-size: .875rem; }
}
@media (min-width: 960px) {
  .brand img { width: 196px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: 32px;
    position: static; padding: 0; border: 0;
  }
  .site-nav a { white-space: nowrap; }
  .site-nav a:not(.btn) { padding: 8px 0; border: 0; font-size: .9375rem; }
  .site-nav .btn-small { padding-inline: 18px; }
  .site-nav a:not(.btn):hover { color: var(--purple); }
  .site-nav .btn { margin-top: 0; width: auto; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--tint);
  padding-block: 56px 72px;
}
.hero-grid { display: grid; gap: 56px; }

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 19ch;
}
.lede {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  line-height: 1.5;
  max-width: 34em;
  margin-top: 24px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: 32px;
}
.hero-partner {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 30em;
}
.hero-partner img {
  width: 132px; flex: none;
  background: var(--white); border-radius: 6px;
}
.hero-partner p { font-size: .9375rem; line-height: 1.4; color: var(--muted); }

/* The converging diagram */
.converge {
  display: grid;
  grid-template-columns: auto minmax(48px, 1fr) 112px;
  align-items: stretch;
  max-width: 560px;
  width: 100%;
}
.converge-sources {
  display: grid; grid-auto-rows: 1fr;
  min-height: 300px;
}
.converge-sources li {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  font-weight: 600; font-size: .9375rem; line-height: 1.2;
  color: var(--black); text-align: right;
  max-width: 11.5em;
}
.converge-sources li::after,
.ring {
  content: ""; flex: none; display: block;
  width: 16px; height: 16px; border-radius: 50%;
  border: 4px solid var(--purple); background: var(--tint);
}
.converge-lines { width: 100%; height: 100%; overflow: visible; }
.converge-lines path {
  fill: none; stroke: var(--purple); stroke-width: 3;
  stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.converge-target { position: relative; align-self: center; height: 30px; }
.ring-lg { width: 30px; height: 30px; border-width: 6px; background: var(--white); }
.converge-target p {
  position: absolute; top: 40px; left: 0; width: 112px;
  font-variation-settings: var(--wide);
  font-weight: 800; font-size: .9375rem; line-height: 1.2; color: var(--black);
}

/* One orchestrated moment: the lines run in, then the node lands. */
@media (prefers-reduced-motion: no-preference) {
  .converge-lines { animation: run-in 1.1s cubic-bezier(.6, 0, .2, 1) .25s both; }
  .converge-target { animation: land .45s ease-out 1.25s both; }
  @keyframes run-in {
    from { clip-path: inset(-10% 100% -10% 0); }
    to   { clip-path: inset(-10% -2% -10% 0); }
  }
  @keyframes land {
    from { opacity: 0; transform: scale(.6); }
    to   { opacity: 1; transform: scale(1); }
  }
}

@media (min-width: 960px) {
  .hero { padding-block: 72px 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .converge { justify-self: end; grid-template-columns: auto minmax(80px, 1fr) 128px; }
  .converge-sources { min-height: 380px; }
  .converge-sources li { font-size: 1rem; }
  .converge-target p { width: 128px; font-size: 1.0625rem; }
}

/* Home hero: text only, large headline with the second sentence on its own line */
.hero-home { padding-block: 64px 136px; }
.hero-pill {
  display: inline-block; margin: 0 0 24px; padding: 6px 14px;
  border: 1px solid; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.hero-home h1 {
  font-size: clamp(2.5rem, 1rem + 5.6vw, 4.5rem);
  max-width: none;
}
.hero-accent { display: block; }
.hero-home .lede { max-width: 36em; margin-top: 28px; }
.hero-home .hero-actions { gap: 16px; margin-top: 40px; }
.hero-shot { padding-bottom: 72px; }
.hero-shot .device { margin-top: 0; }
@media (min-width: 960px) {
  .hero-home { padding-block: 112px 184px; }
  .hero-shot { padding-bottom: 88px; }
}

/* Laptop with the AroFlo dashboard */
.device { margin: 64px auto 0; max-width: 980px; }
.device-lid {
  background: #111114;
  border-radius: 18px 18px 0 0;
  padding: 2.2% 2.2% 1.6%;
  box-shadow: 0 30px 60px -20px rgba(28, 12, 70, .45), inset 0 0 0 1px #2A2A30;
}
.device-screen { border-radius: 4px; overflow: hidden; background: #F1F1F1; }
.device-screen img { width: 100%; height: auto; }
.device-base {
  position: relative;
  width: 112%; margin-left: -6%;
  aspect-ratio: 100 / 3.2;
  background: linear-gradient(#E4E4EA, #B9B9C2 55%, #8E8E98);
  border-radius: 0 0 14px 14px / 0 0 60% 60%;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .35);
}
.device-base::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 14%; height: 45%;
  background: #A9A9B2; border-radius: 0 0 10px 10px;
}
.device figcaption {
  margin-top: 28px; text-align: center;
  font-size: .9375rem; color: var(--muted);
}
@media (min-width: 960px) { .device { margin-top: 88px; } }

/* ---------- Sections and the rail ---------- */

.section {
  --bg: var(--white);
  position: relative;
  background: var(--bg);
  padding-block: var(--sec-pad);
}
.section-tint { --bg: var(--tint); }
.section-dark { --bg: var(--dark); color: var(--dark-text); }
.section-dark h2, .section-dark h3 { color: var(--white); }

/* Consecutive white sections don't need double padding */
#who-we-help { padding-top: 0; }

h2 { font-size: var(--h2); max-width: 22ch; }
.section-intro {
  font-size: 1.1875rem; line-height: 1.5; max-width: 38em;
  margin: 20px 0 0;
}
.prose { max-width: 38em; }
.prose p { margin-bottom: 1.15em; }

@media (min-width: 720px) {
  .railed::before {
    content: ""; position: absolute; z-index: 1;
    top: 0; bottom: 0;
    left: calc(var(--gutter) - var(--rail-x));
    width: 2px; background: var(--purple);
  }
  .section-dark.railed::before { background: var(--lilac); }
  .rail-start::before { top: calc(var(--sec-pad) + var(--h2) * 0.55); }
  .rail-end::before { bottom: auto; height: calc(var(--sec-pad) + var(--h2) * 0.55); }

  .node { position: relative; }
  .node::before {
    content: ""; position: absolute; z-index: 2;
    left: calc(-1 * var(--rail-x) - 8px);
    top: calc(var(--h2) * 0.55 - 9px);
    width: 18px; height: 18px; border-radius: 50%;
    border: 4px solid var(--purple); background: var(--bg, #fff);
  }
  .section-dark .node::before { border-color: var(--lilac); }
  .node-end::before {
    left: calc(-1 * var(--rail-x) - 12px);
    top: calc(var(--h2) * 0.55 - 13px);
    width: 26px; height: 26px; border-width: 6px;
    background: var(--purple);
    box-shadow: 0 0 0 5px var(--bg);
  }
  #who-we-help .node::before { top: calc(var(--h2) * 0.55 - 9px); }
}

/* ---------- Problem ---------- */

.two-col { display: grid; gap: 40px; margin-top: 36px; }
.list-heading { font-size: 1.1875rem; margin-bottom: 16px; }
.signs li {
  position: relative; padding: 14px 0 14px 30px;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.signs li:last-child { border-bottom: 1px solid var(--line); }
.signs li::before {
  content: ""; position: absolute; left: 2px; top: 1.35em;
  width: 14px; height: 3px; background: var(--purple); border-radius: 2px;
}
@media (min-width: 960px) {
  .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 48px; }
}

/* Flow Check band: a panel under the "Sound familiar?" list, text on the left and the button on the right */
.flow-band {
  display: grid; gap: 28px; align-items: center;
  margin-top: 56px; padding: 32px 24px;
  border-radius: var(--radius);
}
.flow-band .hero-pill { margin-bottom: 16px; }
.flow-band h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem); line-height: 1.15; max-width: 30ch; }
.flow-band-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; }
.flow-band-facts li { position: relative; padding-left: 24px; font-size: .9375rem; line-height: 1.4; }
.flow-band-facts li::before {
  content: ""; position: absolute; left: 2px; top: .3em;
  width: 12px; height: 6px;
  border-left: 2px solid; border-bottom: 2px solid;
  transform: rotate(-45deg);
}
.flow-band .btn { justify-self: start; }
@media (min-width: 960px) {
  .flow-band { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; margin-top: 72px; padding: 48px 56px; }
}

/* ---------- Who we help ---------- */

#who-we-help .wrap > h2 { padding-top: 0; }
.paths { display: grid; gap: 48px; margin-top: 44px; }
.path h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 18px; }
.path p { max-width: 34em; }
.path .text-link { display: inline-block; margin-top: 8px; padding-block: 8px; }
@media (min-width: 960px) {
  .paths { grid-template-columns: 1fr 1fr; gap: 0; }
  .path { padding-right: 64px; }
  .path + .path { padding-left: 64px; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 959px) {
  .path + .path { padding-top: 48px; border-top: 1px solid var(--line); }
}

/* ---------- What we do ---------- */

.services { margin-top: 48px; border-bottom: 1px solid var(--line); }
.service {
  display: grid; gap: 12px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.service dt {
  font-variation-settings: var(--wide);
  font-weight: 800; font-size: 1.3125rem; line-height: 1.15; color: var(--black);
}
.service dd > p { font-size: 1.125rem; color: var(--black); max-width: 36em; }
.service ul { margin-top: 14px; max-width: 40em; }
.service li {
  position: relative; padding-left: 22px; margin-bottom: 8px; line-height: 1.45;
}
.service li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px; border-radius: 50%;
  border: 2.5px solid var(--purple);
}
.service-link { margin-top: 16px; font-size: 1rem; }
@media (min-width: 960px) {
  .service { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; padding-block: 40px; }
}

/* ---------- How we work ---------- */

.steps {
  counter-reset: step;
  margin-top: 56px; margin-bottom: 56px;
  display: grid; gap: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 36px 68px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 3px solid var(--lilac); background: var(--dark); color: var(--white);
  font-variation-settings: var(--wide); font-weight: 800; font-size: 1.0625rem;
}
.steps li::after {
  content: ""; position: absolute; left: 21px; top: 40px; bottom: 0;
  width: 2px; background: var(--lilac); opacity: .55;
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.25rem; margin-bottom: 10px; }
.steps p { color: var(--dark-text); line-height: 1.5; max-width: 34em; }

@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps li { padding: 68px 0 0; }
  .steps li::before { top: 0; }
  .steps li::after {
    left: 44px; right: -28px; top: 21px; bottom: auto;
    width: auto; height: 2px;
  }
  .steps h3 { font-size: 1.125rem; min-height: 2.3em; }
  .steps p { font-size: 1rem; }
}

/* ---------- About ---------- */

.about-grid { display: grid; gap: 48px; margin-top: 36px; }
.portrait { max-width: 360px; }
.portrait-mark {
  aspect-ratio: 5 / 6;
  display: grid; place-items: center;
  background: var(--tint); color: var(--purple);
  border-radius: 6px;
}
.portrait-mark svg { width: 46%; }
.portrait img { border-radius: 6px; aspect-ratio: 5 / 6; object-fit: cover; width: 100%; }
.portrait figcaption { margin-top: 14px; display: grid; gap: 2px; }
.portrait figcaption strong { color: var(--black); font-size: 1.0625rem; }
.portrait figcaption span { color: var(--muted); font-size: .9375rem; }

@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 80px; margin-top: 48px; align-items: start; }
  .portrait { justify-self: end; width: 100%; }
}

.principles-heading { font-size: 1.375rem; margin-top: 88px; }
.principles {
  display: grid; gap: 28px 56px; margin-top: 28px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.principles h4 { font-size: 1.0625rem; margin-bottom: 8px; letter-spacing: -0.005em; }
.principles p { font-size: 1rem; line-height: 1.5; color: var(--text); max-width: 30em; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .principles { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonials ---------- */

.quotes { display: grid; gap: 48px; margin-top: 48px; }
.quote blockquote p {
  color: var(--black); font-size: 1.125rem; line-height: 1.5;
}
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote-lead blockquote p {
  font-variation-settings: var(--wide);
  font-weight: 700;
  font-size: clamp(1.375rem, 1.05rem + 1.5vw, 2rem);
  line-height: 1.25; letter-spacing: -0.01em;
  max-width: 30em;
}
.quote figcaption {
  margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--purple);
  display: grid; gap: 2px; font-size: .9375rem;
}
.quote figcaption strong { color: var(--black); }
.quote figcaption span { color: var(--muted); }
@media (min-width: 960px) {
  .quotes { grid-template-columns: 1fr 1fr; gap: 56px 80px; }
  .quote-lead { grid-column: 1 / -1; }
}

/* ---------- Partner ---------- */

.partner-grid { display: grid; gap: 40px; margin-top: 32px; align-items: center; }
.partner-logo img { width: min(100%, 340px); }
@media (min-width: 960px) {
  .partner-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 80px; }
  .partner-logo { justify-self: end; }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 40px; margin-top: 32px; }
.contact-copy { max-width: 32em; }
.contact-copy p { font-size: 1.125rem; line-height: 1.55; }
.contact-alt { margin-top: 28px; font-weight: 600; color: var(--black); }

.enquiry {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 24px 20px 28px;
}
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 0; }
label, legend {
  display: block; padding: 0; margin-bottom: 8px;
  font-weight: 700; font-size: .9375rem; color: var(--black);
}
.optional { font-weight: 400; color: var(--muted); margin-left: 4px; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--black);
  background: var(--white);
  border: 1.5px solid #A79FBD; border-radius: 4px;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 42px;
}
textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
::placeholder { color: #8A849B; opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--purple);
}

.choice-options { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-options label {
  position: relative; margin: 0; cursor: pointer;
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border: 1.5px solid #A79FBD; border-radius: 999px;
  font-weight: 600; color: var(--black); background: var(--white);
}
.choice-options input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-options label:has(input:checked) { background: var(--purple); border-color: var(--purple); color: var(--white); }
.choice-options label:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 3px; }

.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select,
.field.is-invalid .choice-options label { border-color: var(--error); }
.field-error { margin-top: 6px; font-size: .875rem; font-weight: 600; color: var(--error); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-foot { display: grid; gap: 14px; margin-top: 8px; }
.form-foot .btn { width: 100%; }
.form-note { font-size: .875rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 600; line-height: 1.45; }
.form-status:not(:empty) { margin-top: 20px; padding: 14px 16px; border-radius: 4px; }
.form-status.is-success { background: #E6F4EC; color: var(--success); }
.form-status.is-error { background: #FBEAE9; color: var(--error); }
.form-status:focus { outline: none; }
.form-next { margin-top: 16px; }
.form-next p { margin: 0 0 12px; font-weight: 600; }
.form-next-actions { display: grid; gap: 12px; }
.form-next-actions .btn { text-align: center; }

@media (min-width: 600px) {
  .enquiry { padding: 36px 36px 40px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-foot { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
  .form-foot .btn { width: auto; }
  .form-next-actions { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 1080px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 48px 56px; }
.footer-grid { display: grid; gap: 32px; align-items: center; }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 14px; font-size: .9375rem; color: var(--muted); max-width: 22em; }
.footer-badge { width: 112px; }
.footer-meta { display: grid; gap: 8px; font-size: .9375rem; justify-items: start; }
.footer-meta p { color: var(--muted); margin: 0; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1fr auto 1fr; }
  .footer-badge { justify-self: center; }
  .footer-meta { justify-items: end; text-align: right; }
}
@media (max-width: 719px) {
  .site-footer { padding-bottom: 104px; }   /* clear the sticky button */
}

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta { display: none; }
@media (max-width: 719px) {
  .sticky-cta:not([hidden]) {
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
    display: flex; align-items: center; justify-content: center;
    min-height: 54px; border-radius: 999px;
    background: var(--purple); color: var(--white);
    font-weight: 700; text-decoration: none;
    box-shadow: 0 6px 20px rgba(45, 8, 105, .35);
  }
}

/* ---------- Privacy dialog ---------- */

.privacy {
  width: min(560px, calc(100vw - 32px));
  border: 0; border-radius: 8px; padding: 32px;
  color: var(--text);
}
.privacy::backdrop { background: rgba(29, 15, 61, .6); }
.privacy h2 { font-size: 1.5rem; margin-bottom: 16px; }
.privacy form { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
