/*
 * Ofenticity 2026 — Bricks edition.
 * Loaded only on the redesign pages (body.ofx). Layout and colour live in Bricks
 * element settings where they can; this file holds the type system, the frames
 * and the states the motion script toggles.
 */

/* ACSS sets a 62.5% root; the redesign is authored against the browser's 16px rem. */
html:has(> body.ofx) {
  font-size: 100% !important;
}

body.ofx {
  --ofx-paper: #efede6;
  --ofx-paper-2: #e5e2d8;
  --ofx-ink: #0d0d0b;
  --ofx-muted: #5c5a53;
  --ofx-acid: #c6f31e;
  --ofx-gutter: clamp(1rem, 2.4vw, 2.5rem);
  --ofx-header-h: 4.5rem;
  --ofx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bg: var(--ofx-paper);
  --fg: var(--ofx-ink);
  --accent: var(--ofx-ink);

  margin: 0;
  background: var(--ofx-paper);
  color: var(--ofx-ink);
  font-family: "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(16px, 0.35vw + 14.4px, 19px);
  line-height: 1.45;
  font-variation-settings: "wdth" 100;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.ofx ::selection {
  background: var(--ofx-acid);
  color: var(--ofx-ink);
}

body.ofx a {
  color: inherit;
  text-decoration: none;
}

body.ofx :focus-visible {
  outline: 2px solid var(--ofx-acid);
  outline-offset: 3px;
}

/* Bricks resets we don't want inside the redesign. */
body.ofx #brx-content,
body.ofx .brxe-section,
body.ofx .brxe-container {
  max-width: none;
}
body.ofx .brxe-section {
  padding-inline: var(--ofx-gutter);
  align-items: stretch;
}
body.ofx .brxe-container {
  width: 100%;
}
body.ofx :where(h1, h2, h3, h4, p) {
  margin: 0;
  color: inherit;
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

/* ---------------------------------------------------------------- Type */

body.ofx .ofx-eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.ofx .ofx-display {
  font-family: "Mona Sans", sans-serif;
  font-weight: 780;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  font-variation-settings: "wdth" var(--w, 100);
}

body.ofx .ofx-serif {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
}

body.ofx .ofx-statement {
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

body.ofx .ofx-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.35;
}

body.ofx .ofx-muted {
  color: var(--ofx-muted);
}

.ofx-char {
  display: inline-block;
  font-variation-settings: "wdth" var(--w, 100);
}

.ofx-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.ofx-rule {
  height: 1px;
  background: currentColor;
  opacity: 0.18;
}

.ofx-highlight {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.ofx-highlight::before {
  content: "";
  position: absolute;
  inset-inline: -0.06em;
  bottom: 0.12em;
  height: 0.32em;
  background: var(--ofx-acid);
  z-index: -1;
}

.ofx-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
}

.ofx-stretchy {
  transition: font-variation-settings 0.9s var(--ofx-ease), color 0.6s var(--ofx-ease);
}
.ofx-stretchy:hover,
a:hover > .ofx-stretchy,
a:focus-visible > .ofx-stretchy,
[data-active] .ofx-stretchy {
  --w: 125;
}

/* ---------------------------------------------------------------- Frames */

.ofx-frame {
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in oklab, var(--fg) 9%, transparent);
}
.ofx-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid color-mix(in oklab, var(--fg) 14%, transparent);
}
.ofx-frame__dots {
  display: flex;
  gap: 6px;
}
.ofx-frame__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--fg) 35%, transparent);
}
.ofx-frame__view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.ofx-frame__view img,
.ofx-frame__view .brxe-image,
.ofx-frame__view picture {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: top;
}
.ofx-frame__view .brxe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ofx-phone {
  border-radius: 2.4rem;
  padding: 0.55rem;
  background: color-mix(in oklab, var(--fg) 12%, transparent);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.5);
}
.ofx-phone__view {
  overflow: hidden;
  border-radius: 1.9rem;
  aspect-ratio: 390 / 844;
}
.ofx-phone__view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---------------------------------------------------------------- Header & menu */

.ofx-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--ofx-header-h);
  padding-inline: var(--ofx-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ofx-ink);
  pointer-events: none;
  transition: color 0.5s ease;
}
.ofx-header[data-theme="dark"],
.ofx-menu-open .ofx-header {
  color: var(--ofx-paper);
}
.ofx-header a,
.ofx-header button {
  pointer-events: auto;
}
.ofx-header button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.ofx-burger {
  position: relative;
  display: block;
  width: 20px;
  height: 12px;
}
.ofx-burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ofx-ease), top 0.5s var(--ofx-ease);
}
.ofx-burger i:first-child {
  top: 2px;
}
.ofx-burger i:last-child {
  top: 10px;
}
.ofx-menu-open .ofx-burger i:first-child {
  top: 6px;
  transform: rotate(45deg);
}
.ofx-menu-open .ofx-burger i:last-child {
  top: 6px;
  transform: rotate(-45deg);
}

.ofx-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--ofx-header-h) + 2rem) var(--ofx-gutter) var(--ofx-gutter);
  background: var(--ofx-ink);
  color: var(--ofx-paper);
  clip-path: inset(0 0 100% 0);
}
.ofx-menu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid color-mix(in oklab, var(--ofx-paper) 10%, transparent);
  padding-block: 0.25rem;
}
.ofx-menu__link:hover .ofx-display,
.ofx-menu__link:focus-visible .ofx-display {
  color: var(--ofx-acid);
}

.ofx-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 120;
  transform: translateY(-5rem);
  background: var(--ofx-acid);
  color: var(--ofx-ink);
  padding: 0.5rem 0.75rem;
}
.ofx-skip:focus {
  transform: none;
}

/* ---------------------------------------------------------------- Cursor, preloader, curtain */

@media (hover: hover) and (pointer: fine) {
  html.ofx-has-cursor body.ofx,
  html.ofx-has-cursor body.ofx * {
    cursor: none !important;
  }
}
.ofx-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ofx-paper);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: width 0.5s var(--ofx-ease), height 0.5s var(--ofx-ease), background-color 0.4s;
}
.ofx-cursor span {
  max-width: 84px;
  opacity: 0;
  text-align: center;
  transition: opacity 0.3s;
}
.ofx-cursor.is-label {
  width: 112px;
  height: 112px;
  mix-blend-mode: normal;
  background: var(--ofx-ink);
  color: var(--ofx-paper);
}
.ofx-cursor.is-acid {
  background: var(--ofx-acid);
  color: var(--ofx-ink);
}
.ofx-cursor.is-label span {
  opacity: 1;
}

.ofx-preloader,
.ofx-curtain {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--ofx-gutter);
}
.ofx-preloader {
  background: var(--ofx-acid);
  color: var(--ofx-ink);
  z-index: 96;
}
.ofx-curtain {
  justify-content: flex-end;
  visibility: hidden;
  clip-path: inset(100% 0 0 0);
}

/* A page reached through the curtain starts covered, before any script runs. */
html.ofx-arriving::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 94;
  background: var(--ofx-arrive-bg, #0d0d0b);
}

/* ---------------------------------------------------------------- Sections */

.ofx-hero__print {
  position: absolute;
  top: calc(50% - min(52vh, 37vw));
  right: -13vw;
  width: min(104vh, 74vw);
  aspect-ratio: 1;
  color: color-mix(in oklab, var(--ofx-ink) 85%, transparent);
  pointer-events: none;
}
.ofx-print canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.ofx-scroll-cue {
  position: relative;
  display: block;
  width: 6rem;
  height: 1px;
  overflow: hidden;
  background: color-mix(in oklab, var(--ofx-ink) 15%, transparent);
}
.ofx-scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  background: var(--ofx-ink);
  animation: ofx-slide 2.4s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}
@keyframes ofx-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(200%);
  }
}

.ofx-work {
  background: var(--bg);
  color: var(--fg);
}

.ofx-index__row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid color-mix(in oklab, currentColor 15%, transparent);
}
@media (min-width: 768px) {
  .ofx-index__row {
    grid-template-columns: 4rem 1.3fr 1fr 12rem 4rem;
    padding-block: 1.5rem;
  }
}
.ofx-index__preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: min(30vw, 26rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
.ofx-index__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.7s var(--ofx-ease), transform 0.7s var(--ofx-ease);
}
.ofx-index__preview img.is-on {
  opacity: 1;
  transform: none;
}

.ofx-svc__button {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding-block: 1rem;
  background: none;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
@media (min-width: 768px) {
  .ofx-svc__button {
    grid-template-columns: 6rem 1fr auto;
  }
}
.ofx-svc__button .ofx-display {
  --w: 78;
}
.ofx-svc[data-open] .ofx-svc__button .ofx-display {
  --w: 125;
  color: var(--ofx-acid);
}
.ofx-svc__plus {
  position: relative;
  width: 2rem;
  height: 2rem;
  transition: transform 0.7s var(--ofx-ease);
}
.ofx-svc__plus::before,
.ofx-svc__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.ofx-svc__plus::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
}
.ofx-svc__plus::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
}
.ofx-svc[data-open] .ofx-svc__plus {
  transform: rotate(45deg);
}
.ofx-svc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ofx-ease);
}
.ofx-svc[data-open] .ofx-svc__panel {
  grid-template-rows: 1fr;
}
.ofx-svc__panel > * {
  overflow: hidden;
}
.ofx-chip {
  display: inline-block;
  border: 1px solid color-mix(in oklab, currentColor 25%, transparent);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
}

.ofx-story__word {
  position: absolute;
  white-space: nowrap;
  color: color-mix(in oklab, var(--ofx-ink) 80%, transparent);
}
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .ofx-story__scatter,
  .ofx-story__year {
    display: none !important;
  }
}

.ofx-process__step {
  transition: opacity 0.7s;
}
@media (min-width: 768px) {
  .ofx-process__step {
    opacity: 0.35;
  }
  .ofx-process__step[data-active] {
    opacity: 1;
  }
}

.ofx-magnetic {
  display: inline-block;
  will-change: transform;
}

.ofx-swatches {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  height: clamp(16rem, 46vh, 30rem);
}
@media (min-width: 640px) {
  .ofx-swatches {
    flex-direction: row;
  }
}
.ofx-swatch {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: calc(var(--share, 0.15) * 10 + 0.6) 1 0;
  min-height: 3rem;
  padding: 1rem;
  border: 0;
  background: var(--swatch);
  color: var(--swatch-ink, var(--ofx-ink));
  text-align: left;
  cursor: pointer;
  transition: flex-grow 0.7s var(--ofx-ease);
}
.ofx-swatch:hover {
  flex-grow: calc(var(--share, 0.15) * 10 + 2);
}

body.ofx .ofx-scrollthrough__frame {
  align-self: center;
  width: min(100%, 82rem);
}
.ofx-scrollthrough__view {
  position: relative;
  height: 70svh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ofx-scrollthrough__view img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .ofx-scrollthrough__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--ofx-header-h) + 0.5rem);
    padding-bottom: 2rem;
  }
  .ofx-scrollthrough__frame {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .ofx-scrollthrough__view {
    flex: 1;
    height: auto;
    overflow: hidden;
  }
}

.ofx-next__preview {
  position: absolute;
  top: 50%;
  right: var(--ofx-gutter);
  width: min(34vw, 30rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-50%) rotate(4deg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
  transition: opacity 0.7s var(--ofx-ease), transform 0.7s var(--ofx-ease);
  pointer-events: none;
}
.ofx-next:hover .ofx-next__preview {
  opacity: 1;
  transform: translateY(-50%) rotate(-2deg);
}
.ofx-next__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 767px) {
  .ofx-next__preview {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ofx *,
  body.ofx *::before,
  body.ofx *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------------- Forms (enquiry + client brief) */

body.ofx .ofx-form,
body.ofx .ofx-step {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0;
  width: 100%;
  font-size: 1rem;
}
body.ofx .ofx-form .form-group {
  width: 100%;
  margin: 0;
  padding: 0 0 2rem;
}
/* Short paired fields sit side by side on a wide screen, and stack on a phone. */
@media (min-width: 768px) {
  body.ofx .ofx-form .form-group:has(input[name="name"]),
  body.ofx .ofx-form .form-group:has(input[name="email"]),
  body.ofx .ofx-brief .form-group:has(input[name="contact_name"]),
  body.ofx .ofx-brief .form-group:has(input[name="company"]),
  body.ofx .ofx-brief .form-group:has(input[name="phone"]) {
    width: calc(50% - 0.75rem) !important;
  }
}
body.ofx .ofx-form .form-group > label,
body.ofx .ofx-form .form-group > .label {
  display: block;
  text-transform: none;
  margin-bottom: 0.75rem;
  padding: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  font-weight: 540;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: inherit;
}
body.ofx .ofx-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], textarea, select) {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid color-mix(in oklab, currentColor 28%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.4;
  transition: border-color 0.3s, box-shadow 0.3s;
}
body.ofx .ofx-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}
body.ofx .ofx-form :is(input, textarea, select)::placeholder {
  color: color-mix(in oklab, currentColor 40%, transparent);
}
body.ofx .ofx-form :is(input, textarea, select):focus {
  outline: none;
  border-bottom-color: currentColor;
  box-shadow: 0 1px 0 currentColor;
}
body.ofx .ofx-form select {
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%230d0d0b' stroke-width='1.5'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  cursor: pointer;
}

/* Radios and checkboxes read as chips: one tap, obvious state. */
body.ofx .ofx-form .options-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ofx .ofx-form .options-wrapper li {
  position: relative;
  margin: 0;
  padding: 0;
}
body.ofx .ofx-form .options-wrapper input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
body.ofx .ofx-form .options-wrapper label {
  display: inline-flex;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 450;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 1.05rem;
  border: 1px solid color-mix(in oklab, currentColor 24%, transparent);
  border-radius: 999px;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
body.ofx .ofx-form .options-wrapper label::before {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.5;
}
body.ofx .ofx-form .options-wrapper input[type="radio"] + label::before {
  border-radius: 50%;
}
body.ofx .ofx-form .options-wrapper li:hover label {
  border-color: currentColor;
}
body.ofx .ofx-form .options-wrapper input:checked + label {
  background: var(--ofx-ink);
  border-color: var(--ofx-ink);
  color: var(--ofx-paper);
}
body.ofx .ofx-form .options-wrapper input:checked + label::before {
  border-color: var(--ofx-acid);
  background: var(--ofx-acid);
  opacity: 1;
}
body.ofx .ofx-form .options-wrapper input:focus-visible + label {
  outline: 2px solid var(--ofx-acid);
  outline-offset: 2px;
}

body.ofx .ofx-form .submit-button-wrapper {
  width: 100%;
  padding-bottom: 0;
}
body.ofx .ofx-form > .submit-button-wrapper {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in oklab, currentColor 15%, transparent);
}
body.ofx .ofx-form .bricks-button,
body.ofx .ofx-step__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.4rem;
  padding: 0 1.75rem;
  border: 1px solid var(--ofx-ink);
  border-radius: 999px;
  background: var(--ofx-ink);
  color: var(--ofx-paper);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
body.ofx .ofx-form .bricks-button:hover,
body.ofx .ofx-step__nav [data-next]:hover {
  background: var(--ofx-acid);
  border-color: var(--ofx-acid);
  color: var(--ofx-ink);
}
body.ofx .ofx-step__nav [data-back] {
  background: transparent;
  color: inherit;
  border-color: color-mix(in oklab, currentColor 25%, transparent);
}
body.ofx .ofx-form .message {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  background: var(--ofx-ink);
  color: var(--ofx-paper);
  font-size: 1.05rem;
}
body.ofx .ofx-form .message.success {
  background: var(--ofx-acid);
  color: var(--ofx-ink);
}
body.ofx .ofx-form .form-group.ofx-invalid > :is(label, .label)::after {
  content: " · Please answer this";
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b3261e;
}

/* Client brief: one step at a time once the script takes over. */
.ofx-step__head {
  padding-top: 0.5rem;
}
.ofx-step__head h2 {
  margin-top: 0.75rem !important;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 580;
  line-height: 1;
  letter-spacing: -0.03em;
}
.ofx-step__head p.ofx-muted {
  margin-top: 0.75rem !important;
  max-width: 44ch;
}
.ofx-brief.is-stepped .ofx-step__head {
  padding-bottom: 0.5rem;
}
.ofx-step {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ofx-step[hidden],
.ofx-brief [data-ofx-off] {
  display: none !important;
}
.ofx-step__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.ofx-brief__progress {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 0 2.5rem;
  padding: 1rem 0;
  background: var(--ofx-paper);
}
.ofx-brief__progress-bar {
  height: 2px;
  margin-top: 0.75rem;
  background: color-mix(in oklab, currentColor 12%, transparent);
}
.ofx-brief__progress-bar span {
  display: block;
  height: 100%;
  background: var(--ofx-ink);
  transform-origin: left;
  transition: transform 0.6s var(--ofx-ease);
}
.ofx-brief__restored {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: color-mix(in oklab, var(--ofx-acid) 55%, transparent);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- Legal copy */

body.ofx .ofx-prose {
  font-size: 1.05rem;
  line-height: 1.65;
}
body.ofx .ofx-prose :is(h1, h2, h3, h4) {
  margin: 2.5rem 0 0.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
body.ofx .ofx-prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
body.ofx .ofx-prose h3 {
  font-size: 1.25rem;
}
body.ofx .ofx-prose :is(p, ul, ol, table) {
  margin: 0 0 1rem;
}
body.ofx .ofx-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.ofx .ofx-prose table {
  width: 100%;
  border-collapse: collapse;
}
body.ofx .ofx-prose :is(th, td) {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid color-mix(in oklab, currentColor 15%, transparent);
  text-align: left;
  vertical-align: top;
}
/* Generated by build-bricks.mjs: layout for elements inside Bricks query loops. */
body.ofx .ofx-l1 { padding-block: clamp(6rem, 12vw, 12rem); position: relative;  }
body.ofx .ofx-l2 { position: absolute; inset-inline: 0; top: clamp(3rem, 6vw, 6rem); overflow: hidden; text-align: center; pointer-events: none; }
body.ofx .ofx-l3 { display: block; line-height: 1; color: var(--accent); opacity: .9; --w: 125; }
body.ofx .ofx-l4 { position: relative; max-width: 78rem; margin: 9vw auto 0; }
body.ofx .ofx-l5 { display: block; }
body.ofx .ofx-l6 { opacity: .6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.ofx .ofx-l7 { aspect-ratio: 16 / 10; }
body.ofx .ofx-l8 { position: relative; max-width: 78rem; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ofx-gutter); row-gap: 1.5rem; align-items: start; }@media (max-width: 767px) { body.ofx .ofx-l8 { grid-template-columns: 1fr !important; } }
body.ofx .ofx-l9 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5rem; row-gap: .5rem; } body.ofx .ofx-l9 { grid-column: span 5; }@media (max-width: 767px) { body.ofx .ofx-l9 { grid-column: auto !important; } }
body.ofx .ofx-la { max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.3; } body.ofx .ofx-la { grid-column: span 4; }@media (max-width: 767px) { body.ofx .ofx-la { grid-column: auto !important; } }
body.ofx .ofx-lb { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; } body.ofx .ofx-lb { grid-column: span 3; justify-content: flex-end; }@media (max-width: 767px) { body.ofx .ofx-lb { grid-column: auto !important; justify-content: flex-start !important; } }
body.ofx .ofx-lc { opacity: .7; } body.ofx .ofx-lc:hover { opacity: 1; }
body.ofx .ofx-ld { padding-block: clamp(6rem, 12vw, 12rem); position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ofx-gutter); row-gap: 2.5rem; } @media (max-width: 767px) { body.ofx .ofx-ld { grid-template-columns: 1fr !important; } }
body.ofx .ofx-le { grid-column: span 7; margin-top: 14vw; }@media (max-width: 767px) { body.ofx .ofx-le { grid-column: auto !important; margin-top: 0 !important; } }
body.ofx .ofx-lf { display: block; }
body.ofx .ofx-lg { opacity: .6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.ofx .ofx-lh { aspect-ratio: 16 / 10; }
body.ofx .ofx-li { grid-column: 9 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }@media (max-width: 767px) { body.ofx .ofx-li { grid-column: auto !important; } }
body.ofx .ofx-lj { display: block; font-size: clamp(8rem, 22vw, 22rem); line-height: .75; color: var(--accent); --w: 75; }
body.ofx .ofx-lk { display: flex; flex-direction: column; gap: 1.5rem; }
body.ofx .ofx-ll { font-size: clamp(2.8rem, 5.6vw, 6.5rem); }
body.ofx .ofx-lm { max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.3; } body.ofx .ofx-lm { max-width: 30ch; opacity: .85; }
body.ofx .ofx-ln { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5rem; row-gap: .5rem; }
body.ofx .ofx-lo { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
body.ofx .ofx-lp { opacity: .7; } body.ofx .ofx-lp:hover { opacity: 1; }
body.ofx .ofx-lq { padding-block: clamp(6rem, 12vw, 12rem); position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ofx-gutter); row-gap: 2.5rem; align-items: end; } @media (max-width: 767px) { body.ofx .ofx-lq { grid-template-columns: 1fr !important; } }
body.ofx .ofx-lr { grid-column: span 6; display: flex; flex-direction: column; gap: 2rem; }@media (max-width: 767px) { body.ofx .ofx-lr { grid-column: auto !important; } }
body.ofx .ofx-ls { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5rem; row-gap: .5rem; }
body.ofx .ofx-lt { font-size: clamp(3.2rem, 9vw, 11rem); line-height: .8; --w: 75; }
body.ofx .ofx-lu { max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.3; } body.ofx .ofx-lu { max-width: 32ch; }
body.ofx .ofx-lv { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
body.ofx .ofx-lw { opacity: .7; } body.ofx .ofx-lw:hover { opacity: 1; }
body.ofx .ofx-lx { grid-column: 8 / span 5; }@media (max-width: 767px) { body.ofx .ofx-lx { grid-column: auto !important; } }
body.ofx .ofx-ly { display: block; }
body.ofx .ofx-lz { opacity: .6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.ofx .ofx-l10 { aspect-ratio: 16 / 10; }
body.ofx .ofx-l11 { padding-block: clamp(6rem, 12vw, 12rem); position: relative;  }
body.ofx .ofx-l12 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5rem; row-gap: .5rem; } body.ofx .ofx-l12 { justify-content: center; margin-bottom: 2.5rem; }
body.ofx .ofx-l13 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.ofx .ofx-l14 { display: grid; grid-template-columns: 1fr minmax(0, 34rem) 1fr; align-items: center; gap: 1.5rem; }@media (max-width: 767px) { body.ofx .ofx-l14 { grid-template-columns: 1fr !important; } }
body.ofx .ofx-l15 { text-align: right; font-size: clamp(3rem, 8.5vw, 10rem); }@media (max-width: 767px) { body.ofx .ofx-l15 { text-align: center !important; } }
body.ofx .ofx-l16 { display: block; }
body.ofx .ofx-l17 { opacity: .6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.ofx .ofx-l18 { aspect-ratio: 1 / 1; }
body.ofx .ofx-l19 { font-size: clamp(3.6rem, 10vw, 12rem); line-height: 1; color: var(--accent); }@media (max-width: 767px) { body.ofx .ofx-l19 { text-align: center !important; } }
body.ofx .ofx-l1a { max-width: 40rem; margin: 2.5rem auto 0; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
body.ofx .ofx-l1b { max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.3; }
body.ofx .ofx-l1c { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; } body.ofx .ofx-l1c { justify-content: center; }
body.ofx .ofx-l1d { opacity: .7; } body.ofx .ofx-l1d:hover { opacity: 1; }
body.ofx .ofx-l1e { padding-block: clamp(6rem, 12vw, 12rem); position: relative;  }
body.ofx .ofx-l1f { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ofx-gutter); row-gap: 2rem; }@media (max-width: 767px) { body.ofx .ofx-l1f { grid-template-columns: 1fr !important; } }
body.ofx .ofx-l1g { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5rem; row-gap: .5rem; } body.ofx .ofx-l1g { grid-column: span 6; }@media (max-width: 767px) { body.ofx .ofx-l1g { grid-column: auto !important; } }
body.ofx .ofx-l1h { grid-column: 9 / span 4; margin-bottom: -12vw; transform: rotate(3deg); }@media (max-width: 767px) { body.ofx .ofx-l1h { grid-column: auto !important; margin-bottom: 0 !important; } }
body.ofx .ofx-l1i { display: block; }
body.ofx .ofx-l1j { opacity: .6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.ofx .ofx-l1k { aspect-ratio: 16 / 10; }
body.ofx .ofx-l1l { position: relative; margin-top: 1.5rem; line-height: .82; font-size: clamp(5rem, 19vw, 24rem); }
body.ofx .ofx-l1m { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
body.ofx .ofx-l1n { max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.3; }
body.ofx .ofx-l1o { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
body.ofx .ofx-l1p { opacity: .7; } body.ofx .ofx-l1p:hover { opacity: 1; }
body.ofx .ofx-l1q { padding-block: clamp(6rem, 12vw, 12rem); position: relative;  }
body.ofx .ofx-l1r { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
body.ofx .ofx-l1s { font-size: clamp(3.4rem, 10vw, 13rem); --w: 125; }
body.ofx .ofx-l1t { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5rem; row-gap: .5rem; }
body.ofx .ofx-l1u { margin-top: 3rem; }
body.ofx .ofx-l1v { display: block; }
body.ofx .ofx-l1w { opacity: .6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.ofx .ofx-l1x { aspect-ratio: 16 / 10; }
body.ofx .ofx-l1y { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
body.ofx .ofx-l1z { max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.3; }
body.ofx .ofx-l20 { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
body.ofx .ofx-l21 { opacity: .7; } body.ofx .ofx-l21:hover { opacity: 1; }
body.ofx .ofx-l22 { opacity: .5; }
body.ofx .ofx-l23 { font-size: clamp(1.8rem, 4.2vw, 4.6rem); --w: 84; }
body.ofx .ofx-l24 { font-size: 1.02rem; line-height: 1.3; opacity: .7; }@media (max-width: 767px) { body.ofx .ofx-l24 { display: none !important; } }
body.ofx .ofx-l25 { opacity: .7; }@media (max-width: 767px) { body.ofx .ofx-l25 { display: none !important; } }
body.ofx .ofx-l26 { text-align: right; opacity: .5; }
body.ofx .ofx-l27 { margin-top: .25rem; opacity: .6; }
body.ofx .ofx-l28 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ofx-gutter); align-items: baseline; row-gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid rgba(13,13,11,.15); }@media (max-width: 767px) { body.ofx .ofx-l28 { grid-template-columns: 1fr !important; } }
body.ofx .ofx-l29 { grid-column: span 2; }@media (max-width: 767px) { body.ofx .ofx-l29 { grid-column: auto !important; } }
body.ofx .ofx-l2a { grid-column: span 10; font-size: clamp(2.6rem, 7vw, 8rem); --w: 95; overflow-wrap: anywhere; }@media (max-width: 767px) { body.ofx .ofx-l2a { grid-column: auto !important; } }
