/**
 * YATBT classic theme interface.
 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter-Variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/Montserrat-Variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --legalmed-accent: #80243e;
  --yatbt-section-accent: var(--legalmed-accent);
  --yatbt-ink: #17171d;
  --yatbt-muted: #676772;
  --yatbt-line: #dedee5;
  --yatbt-surface: #fff;
  --yatbt-soft: #f5f5f7;
  --yatbt-primary: var(--legalmed-accent);
  --yatbt-acid: #d9ff63;
  --yatbt-radius-sm: 12px;
  --yatbt-radius-md: 22px;
  --yatbt-radius-lg: 36px;
  --yatbt-shadow: 0 28px 80px rgb(22 22 29 / 12%);
  --yatbt-shell: 1880px;
  --yatbt-hover: 360ms cubic-bezier(0.22, 1, 0.36, 1);
  --yatbt-motion: 480ms cubic-bezier(0.22, 1, 0.36, 1);
  --yatbt-gutter: 15px;
  --yatbt-section-space: clamp(88px, 10vw, 152px);
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

body.yatbt-site {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--yatbt-ink);
  background: var(--yatbt-surface);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.yatbt-site.is-menu-open {
  overflow: hidden;
}

.yatbt-site :where(h1, h2, h3, h4, p, figure, ol, ul) {
  margin-top: 0;
}

.yatbt-site :where(h1, h2, h3, h4) {
  color: inherit;
  font-family: "Montserrat", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.yatbt-site :where(a) {
  color: inherit;
  text-decoration: none;
  transition: color var(--yatbt-hover), background-color var(--yatbt-hover);
}

.yatbt-prose a[href] {
  color: var(--yatbt-section-accent, var(--legalmed-accent));
  font-weight: 650;
  text-decoration: none;
}

.yatbt-prose a[href]:hover {
  color: var(--yatbt-section-accent, var(--legalmed-accent));
  opacity: .8;
}

.yatbt-prose a[href],
.yatbt-footer-contact-details a[href] {
  transition: color var(--yatbt-hover), opacity var(--yatbt-hover);
}

.yatbt-site :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

.yatbt-site :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--yatbt-primary);
  outline-offset: 4px;
}

@media (max-width: 1200px) {
  :root {
    --yatbt-gutter: 20px;
  }
}

main#primary:not(.yatbt-home),
.yatbt-breadcrumb {
  --yatbt-shell: 1200px;
}

.yatbt-shell {
  width: min(100%, calc(var(--yatbt-shell) + (2 * var(--yatbt-gutter))));
  margin-inline: auto;
  padding-inline: var(--yatbt-gutter);
}

.yatbt-main {
  min-height: 60vh;
}

.yatbt-section {
  position: relative;
  isolation: isolate;
  color: var(--yatbt-section-text, var(--yatbt-ink));
  background: var(--yatbt-section-background, var(--yatbt-surface));
}

.yatbt-eyebrow {
  margin: 0 0 16px;
  color: var(--legalmed-accent);
  font: 700 14px/1.7 "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yatbt-eyebrow::before,
.yatbt-eyebrow::after {
  content: " / ";
}

.yatbt-lead {
  max-width: 650px;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.65;
}

.yatbt-lead > :last-child,
.yatbt-prose > :last-child,
.yatbt-cta-action > div > :last-child {
  margin-bottom: 0;
}

.yatbt-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 13px 20px 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--yatbt-motion), box-shadow var(--yatbt-motion), background-color var(--yatbt-motion);
}

.yatbt-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.yatbt-button--primary {
  color: var(--yatbt-button-text, #fff);
  background: var(--yatbt-button-background, var(--yatbt-section-accent, var(--yatbt-primary)));
  box-shadow: 0 14px 28px color-mix(in srgb, var(--yatbt-button-background, var(--yatbt-section-accent, var(--yatbt-primary))) 30%, transparent);
}

.yatbt-button--light {
  color: var(--yatbt-button-text, var(--yatbt-ink));
  background: var(--yatbt-button-background, #fff);
  box-shadow: 0 18px 42px rgb(0 0 0 / 18%);
}

.yatbt-text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.yatbt-text-link:hover {
  color: var(--yatbt-section-accent, var(--yatbt-primary));
  text-decoration: none;
}

.yatbt-skip-link {
  position: fixed;
  z-index: 99999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: #fff;
  background: var(--yatbt-ink);
  font-weight: 700;
}

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

/* Header */

.yatbt-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--yatbt-section-text, #17171d) 10%, transparent);
  color: var(--yatbt-section-text, #34343c);
  background: var(--yatbt-section-background, #fff);
  backdrop-filter: blur(18px);
}

.admin-bar .yatbt-site-header {
  top: 32px;
}

.yatbt-header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.yatbt-brand,
.yatbt-brand-link,
.yatbt-footer-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.yatbt-brand-link,
.yatbt-footer-brand {
  color: inherit;
  text-decoration: none;
}

.yatbt-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.yatbt-brand .custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 52px;
}

.yatbt-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--yatbt-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.yatbt-brand-mark--light {
  color: var(--yatbt-ink);
  background: var(--yatbt-section-accent, var(--yatbt-acid));
}

.yatbt-brand-copy {
  display: grid;
  line-height: 1.15;
}

.yatbt-brand-copy strong {
  overflow: hidden;
  max-width: 200px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yatbt-brand-copy small {
  overflow: hidden;
  max-width: 200px;
  margin-top: 5px;
  color: var(--yatbt-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.yatbt-primary-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(14px, 1.4vw, 24px);
}

.yatbt-menu,
.yatbt-menu ul,
.yatbt-footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.yatbt-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 18px);
}

.yatbt-menu > li {
  position: relative;
}

.yatbt-menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yatbt-section-text, #34343c);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 610;
  text-decoration: none;
}

.yatbt-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -18px;
  width: 220px;
  padding: 12px;
  visibility: hidden;
  transform: translateY(8px);
  border: 1px solid var(--yatbt-line);
  border-radius: 16px;
  opacity: 0;
  background: #fff;
  box-shadow: 0 18px 50px rgb(23 23 29 / 12%);
  transition: opacity var(--yatbt-motion), transform var(--yatbt-motion), visibility var(--yatbt-motion);
}

.yatbt-menu li:hover > .sub-menu,
.yatbt-menu li:focus-within > .sub-menu {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

.yatbt-menu .sub-menu a {
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 8px;
}

.yatbt-menu .sub-menu a:hover {
  color: var(--yatbt-section-accent, var(--yatbt-primary));
  background: var(--yatbt-soft);
}

.yatbt-header-cta {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
  padding: 10px 16px 10px 20px;
  border-radius: 999px;
  color: var(--yatbt-button-text, #fff);
  background: var(--yatbt-button-background, var(--yatbt-ink));
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.yatbt-header-cta:hover {
  color: var(--yatbt-section-accent, var(--yatbt-acid));
  text-decoration: none;
}

.yatbt-header-cta-slot {
  display: contents;
}

.yatbt-header-cta-slot[hidden] {
  display: none;
}

.yatbt-nav-toggle {
  display: none;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--yatbt-line);
  border-radius: 999px;
  color: var(--yatbt-ink);
  background: #fff;
  font: inherit;
}

.yatbt-nav-toggle-label {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.yatbt-nav-toggle-icon {
  display: grid;
  width: 20px;
  gap: 5px;
}

.yatbt-nav-toggle-icon i {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform var(--yatbt-motion);
}

.yatbt-nav-toggle[aria-expanded="true"] .yatbt-nav-toggle-icon i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.yatbt-nav-toggle[aria-expanded="true"] .yatbt-nav-toggle-icon i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Home hero */

.yatbt-hero {
  overflow: hidden;
  padding-top: clamp(52px, 6vw, 92px);
}

.yatbt-hero::before {
  position: absolute;
  z-index: -1;
  top: -20vw;
  right: -15vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid color-mix(in srgb, var(--yatbt-section-accent) 22%, transparent);
  border-radius: 50%;
  content: "";
}

.yatbt-hero-grid {
  display: grid;
  min-height: min(720px, calc(100svh - 120px));
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.yatbt-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.yatbt-hero h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: clamp(46px, 5.5vw, 84px);
  letter-spacing: -0.06em;
}

.yatbt-hero h1::selection,
.yatbt-section h2::selection {
  color: var(--yatbt-ink);
  background: var(--yatbt-section-accent);
}

.yatbt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.yatbt-hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
  color: color-mix(in srgb, currentColor 58%, transparent);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yatbt-hero-footnote span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.yatbt-hero-footnote span:not(:last-child)::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yatbt-section-accent);
  content: "";
}

.yatbt-hero-visual {
  position: relative;
  min-width: 0;
}

.yatbt-hero-art,
.yatbt-hero-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.86;
  margin: 0;
  border-radius: var(--yatbt-radius-lg);
  background: var(--yatbt-section-accent);
  box-shadow: var(--yatbt-shadow);
}

.yatbt-hero-image,
.yatbt-page-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yatbt-hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgb(255 255 255 / 60%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 60%) 1px, transparent 1px);
  background-size: 42px 42px;
}

.yatbt-hero-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-52%, -50%);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(180px, 22vw, 330px);
  font-weight: 820;
  letter-spacing: -0.12em;
  line-height: 1;
}

.yatbt-hero-orbit {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
}

.yatbt-hero-orbit--one {
  width: 74%;
  aspect-ratio: 1;
  top: 11%;
  right: -18%;
}

.yatbt-hero-orbit--two {
  width: 52%;
  aspect-ratio: 1;
  bottom: -8%;
  left: -13%;
  border-width: 18px;
  opacity: 0.45;
}

.yatbt-hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 999px;
  color: #fff;
  background: rgb(23 23 29 / 22%);
  backdrop-filter: blur(10px);
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yatbt-hero-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yatbt-acid);
}

.yatbt-hero-chip--top {
  top: 7%;
  left: 7%;
}

.yatbt-hero-chip--bottom {
  right: 7%;
  bottom: 7%;
}

.yatbt-hero-index {
  position: absolute;
  right: -22px;
  bottom: -30px;
  display: grid;
  width: 100px;
  height: 100px;
  place-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--yatbt-ink);
  box-shadow: 0 16px 36px rgb(23 23 29 / 24%);
  font-family: "Montserrat", sans-serif;
  line-height: 1;
  text-align: center;
}

.yatbt-hero-index span {
  font-size: 23px;
  font-weight: 760;
}

.yatbt-hero-index small {
  margin-top: 6px;
  color: rgb(255 255 255 / 52%);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.yatbt-hero-marquee {
  display: flex;
  min-width: max-content;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 50px);
  padding: 22px var(--yatbt-gutter);
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  color: color-mix(in srgb, currentColor 55%, transparent);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.yatbt-hero-marquee i {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--yatbt-section-accent);
}

/* Shared section headings */

.yatbt-services,
.yatbt-process,
.yatbt-page-content {
  padding-block: var(--yatbt-section-space);
}

.yatbt-section-heading {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.yatbt-section-heading--split {
  display: grid;
  align-items: end;
  gap: clamp(28px, 7vw, 120px);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
}

.yatbt-section-heading h2,
.yatbt-cta h2,
.yatbt-page-content h2 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.6vw, 68px);
}

.yatbt-section-intro {
  margin-bottom: 4px;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: 17px;
  line-height: 1.75;
}

/* Services */

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

.yatbt-service-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: var(--yatbt-radius-md);
  background: color-mix(in srgb, var(--yatbt-section-background) 94%, currentColor 6%);
  transition: transform var(--yatbt-motion), box-shadow var(--yatbt-motion);
}

.yatbt-service-card:nth-child(2) {
  transform: translateY(42px);
}

.yatbt-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px color-mix(in srgb, currentColor 12%, transparent);
}

.yatbt-service-card:nth-child(2):hover {
  transform: translateY(38px);
}

.yatbt-service-media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1.16;
  place-items: center;
  background: #e9e7ff;
}

.yatbt-service-media--02 {
  background: #e8f9e4;
}

.yatbt-service-media--03 {
  background: #fff0de;
}

.yatbt-service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yatbt-service-number {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--yatbt-ink);
  background: rgb(255 255 255 / 85%);
  backdrop-filter: blur(8px);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 720;
}

.yatbt-service-shape {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
}

.yatbt-service-shape i {
  position: absolute;
  display: block;
}

.yatbt-service-shape i:first-child {
  inset: 2%;
  border: 2px solid var(--yatbt-section-accent);
  border-radius: 50%;
}

.yatbt-service-shape i:nth-child(2) {
  width: 55%;
  height: 55%;
  top: 22%;
  left: 22%;
  transform: rotate(20deg);
  border-radius: 18%;
  background: var(--yatbt-section-accent);
  opacity: 0.78;
}

.yatbt-service-shape i:last-child {
  width: 44%;
  height: 2px;
  top: 50%;
  left: 28%;
  transform: rotate(-38deg);
  background: #fff;
  box-shadow: 0 -13px #fff, 0 13px #fff;
}

.yatbt-service-media--02 .yatbt-service-shape i:first-child {
  border-radius: 0;
  transform: rotate(45deg);
}

.yatbt-service-media--03 .yatbt-service-shape i:nth-child(2) {
  border-radius: 50% 50% 8% 50%;
}

.yatbt-service-body {
  padding: 30px;
}

.yatbt-service-body h3 {
  margin-bottom: 15px;
  font-size: clamp(21px, 2vw, 28px);
}

.yatbt-service-body p {
  min-height: 84px;
  margin-bottom: 25px;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: 15px;
  line-height: 1.75;
}

.yatbt-service-body a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 680;
  text-decoration: none;
}

.yatbt-service-body a:hover {
  color: var(--yatbt-section-accent);
}

/* Process */

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

.yatbt-process-list li {
  position: relative;
  display: grid;
  align-items: start;
  gap: clamp(20px, 4vw, 64px);
  padding: 34px 0;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  grid-template-columns: 70px minmax(180px, 0.55fr) minmax(260px, 1fr) 32px;
}

.yatbt-process-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.yatbt-process-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 50%;
  color: var(--yatbt-section-accent);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.yatbt-process-list h3 {
  margin: 7px 0 0;
  font-size: clamp(21px, 2.3vw, 30px);
}

.yatbt-process-list p {
  max-width: 620px;
  margin: 5px 0 0;
  color: color-mix(in srgb, currentColor 62%, transparent);
}

.yatbt-process-list i {
  position: relative;
  width: 28px;
  height: 28px;
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 50%;
}

.yatbt-process-list i::before,
.yatbt-process-list i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: currentColor;
  content: "";
}

.yatbt-process-list i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* CTA */

.yatbt-cta {
  overflow: hidden;
  padding-block: clamp(82px, 9vw, 132px);
}

.yatbt-cta-image,
.yatbt-cta-image-placeholder {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  object-fit: cover;
}

.yatbt-cta:has(.yatbt-cta-image)::before,
.yatbt-cta:has(.yatbt-cta-image-placeholder[style*="background-image"])::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: color-mix(in srgb, var(--yatbt-section-background) 82%, transparent);
  content: "";
}

.yatbt-cta-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at center, #fff 0 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}

.yatbt-cta::after {
  position: absolute;
  z-index: -1;
  right: -6vw;
  bottom: -18vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 7vw color-mix(in srgb, currentColor 5%, transparent);
}

.yatbt-cta-inner {
  display: grid;
  align-items: end;
  gap: clamp(44px, 9vw, 140px);
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
}

.yatbt-cta-action {
  position: relative;
  z-index: 1;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: 17px;
}

.yatbt-cta-action .yatbt-button {
  margin-top: 28px;
}

/* Inner page */

.yatbt-page-hero {
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 112px);
}

.yatbt-page-hero::after {
  position: absolute;
  z-index: -1;
  top: -46%;
  right: -8%;
  width: 42vw;
  height: 42vw;
  border: 1px solid color-mix(in srgb, var(--yatbt-section-accent) 28%, transparent);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5vw color-mix(in srgb, var(--yatbt-section-accent) 6%, transparent);
}

.yatbt-page-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.yatbt-page-hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(46px, 6vw, 86px);
}

.yatbt-page-hero .yatbt-lead {
  margin-bottom: 0;
}

.yatbt-page-hero-visual {
  min-width: 0;
}

.yatbt-page-hero-image,
.yatbt-page-hero-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.yatbt-page-hero-image {
  object-fit: cover;
}

.yatbt-page-hero-art {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: var(--yatbt-section-accent);
}

.yatbt-page-hero-art i:first-child {
  width: 68%;
  height: 68%;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
}

.yatbt-page-hero-art i:nth-child(2) {
  position: absolute;
  width: 36%;
  height: 36%;
  border: 18px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
}

.yatbt-page-hero-art span {
  position: absolute;
  right: 13%;
  bottom: 11%;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.yatbt-page-content-grid {
  display: grid;
  align-items: start;
  gap: clamp(52px, 9vw, 148px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.yatbt-page-content-grid > header {
  position: sticky;
  top: 124px;
}

.yatbt-page-content h2 {
  font-size: clamp(34px, 3.8vw, 56px);
}

.yatbt-page-content-main figure {
  overflow: hidden;
  margin: 0 0 48px;
  border-radius: var(--yatbt-radius-md);
}

.yatbt-page-content-image {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.yatbt-prose {
  max-width: 760px;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.85;
}

.yatbt-prose :where(h2, h3, h4) {
  margin: 1.7em 0 0.65em;
  color: var(--yatbt-section-text, var(--yatbt-ink));
}

.yatbt-prose h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.yatbt-prose h3 {
  font-size: clamp(23px, 2.3vw, 32px);
}

.yatbt-prose a {
  color: var(--yatbt-section-accent, var(--yatbt-primary));
}

.yatbt-prose blockquote {
  padding: 8px 0 8px 28px;
  margin: 2em 0;
  border-left: 3px solid var(--yatbt-section-accent, var(--yatbt-primary));
  color: var(--yatbt-section-text, var(--yatbt-ink));
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  font-weight: 600;
}

.yatbt-prose :where(ul, ol) {
  padding-left: 1.3em;
}

/* Listing and article */

.yatbt-listing-inner,
.yatbt-article {
  padding-top: clamp(70px, 8vw, 120px);
  padding-bottom: var(--yatbt-section-space);
}

.yatbt-listing-header,
.yatbt-article-header {
  margin-bottom: clamp(48px, 7vw, 86px);
}

.yatbt-listing-header h1,
.yatbt-article-header h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
}

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

.yatbt-post-card {
  overflow: hidden;
  border: 1px solid var(--yatbt-line);
  border-radius: var(--yatbt-radius-md);
  background: #fff;
}

.yatbt-post-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.3;
}

.yatbt-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--yatbt-motion);
}

.yatbt-post-card:hover .yatbt-post-card-image img {
  transform: scale(1.035);
}

.yatbt-post-card-body {
  padding: 28px;
}

.yatbt-post-meta {
  color: var(--yatbt-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yatbt-post-card h2 {
  margin-bottom: 15px;
  font-size: 26px;
}

.yatbt-post-card h2 a {
  text-decoration: none;
}

.yatbt-post-excerpt {
  color: var(--yatbt-muted);
  font-size: 15px;
}

.yatbt-post-excerpt > :last-child {
  margin-bottom: 0;
}

.navigation.pagination {
  margin-top: 54px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--yatbt-line);
  border-radius: 50%;
  text-decoration: none;
}

.nav-links .current,
.nav-links a:hover {
  color: #fff;
  background: var(--yatbt-ink);
}

.yatbt-empty-state {
  max-width: 680px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: var(--yatbt-radius-md);
  background: var(--yatbt-soft);
}

.yatbt-empty-state h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.yatbt-empty-state .yatbt-button {
  margin-top: 16px;
  color: #fff;
  background: var(--yatbt-ink);
}

.yatbt-article-header {
  max-width: calc(1000px + (2 * var(--yatbt-gutter)));
}

.yatbt-article-lead {
  max-width: 760px;
  margin-top: 28px;
  color: var(--yatbt-muted);
  font-size: 20px;
}

.yatbt-article-image {
  overflow: hidden;
  max-width: calc(1280px + (2 * var(--yatbt-gutter)));
  margin-bottom: clamp(52px, 7vw, 96px);
  border-radius: var(--yatbt-radius-md);
}

.yatbt-article-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.yatbt-article > .yatbt-prose {
  width: min(100%, calc(760px + (2 * var(--yatbt-gutter))));
  margin-inline: auto;
  padding-inline: var(--yatbt-gutter);
}

/* Footer */

.yatbt-site-footer {
  color: var(--yatbt-section-text, #fff);
  background: var(--yatbt-section-background, #101015);
}

.yatbt-footer-grid {
  display: grid;
  gap: clamp(44px, 7vw, 100px);
  padding-top: clamp(68px, 8vw, 112px);
  padding-bottom: clamp(56px, 6vw, 84px);
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.55fr) minmax(220px, 0.7fr);
}

.yatbt-footer-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 750;
}

.yatbt-footer-logo {
  width: min(100%, 270px);
  height: auto;
}

.yatbt-footer-intro > p {
  max-width: 390px;
  margin: 26px 0 0;
  color: color-mix(in srgb, var(--yatbt-section-text, #fff) 52%, transparent);
}

.yatbt-footer-label {
  margin-bottom: 22px;
  color: color-mix(in srgb, var(--yatbt-section-text, #fff) 42%, transparent);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.yatbt-footer-menu {
  display: grid;
  gap: 9px;
}

.yatbt-footer-menu a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: color-mix(in srgb, var(--yatbt-section-text, #fff) 78%, transparent);
  font-size: 14px;
  text-decoration: none;
}

.yatbt-footer-menu a:hover {
  color: var(--yatbt-section-accent, var(--yatbt-acid));
}

.yatbt-footer-contact > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 650;
  text-decoration: none;
}

.yatbt-footer-contact > a[href^="mailto:"] {
  max-width: 100%;
  font-size: clamp(16px, 1.4vw, 21px);
  overflow-wrap: anywhere;
}

.yatbt-footer-contact > a[href^="mailto:"] > [data-yatbt-field="contactLabel"] {
  min-width: 0;
}

.yatbt-footer-contact > a:hover {
  color: var(--yatbt-section-accent, var(--yatbt-acid));
}

.yatbt-footer-contact > [data-yatbt-field="contactText"],
.yatbt-footer-contact-details {
  max-width: 310px;
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--yatbt-section-text, #fff) 48%, transparent);
  font-size: 13px;
}

.yatbt-footer-contact > [data-yatbt-field="contactText"]:empty,
.yatbt-footer-contact-details:empty {
  margin: 0;
}

.yatbt-footer-contact-details {
  color: var(--yatbt-section-text, #fff);
  overflow-wrap: anywhere;
}

.yatbt-footer-contact-details p {
  margin: 0 0 14px;
}

.yatbt-footer-contact-details a {
  color: inherit;
}

.yatbt-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 30px;
  border-top: 1px solid color-mix(in srgb, var(--yatbt-section-text, #fff) 12%, transparent);
  color: color-mix(in srgb, var(--yatbt-section-text, #fff) 38%, transparent);
  font-size: 11px;
}

.yatbt-footer-bottom p {
  margin: 0;
}

/* Shared breadcrumb */

.yatbt-breadcrumb {
  color: var(--yatbt-section-text, #6b6b76);
  background: var(--yatbt-section-background, #fff);
}

.yatbt-breadcrumb-inner {
  display: flex;
  min-height: 52px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin: 0 auto;
  list-style: none;
  font-size: 12px;
}

.yatbt-breadcrumb a {
  color: var(--yatbt-section-accent, var(--yatbt-primary));
  font-weight: 650;
  text-decoration: none;
}

.yatbt-breadcrumb a:hover {
  color: color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 70%, currentColor);
}

.yatbt-breadcrumb-separator {
  opacity: 0.45;
}

@media (max-width: 1100px) {
  .yatbt-header-inner {
    gap: 18px;
  }

  .yatbt-primary-navigation {
    gap: 20px;
  }

  .yatbt-menu {
    gap: 18px;
  }

  .yatbt-brand-copy small {
    display: none;
  }

  .yatbt-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .yatbt-about-grid {
    gap: 70px;
  }
}

@media (max-width: 1080px) {
  .admin-bar .yatbt-site-header {
    top: 32px;
  }

  .yatbt-header-inner {
    position: relative;
    min-height: 76px;
    flex-wrap: wrap;
  }

  .yatbt-js .yatbt-nav-toggle {
    display: inline-flex;
  }

  .yatbt-primary-navigation {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 20px;
  }

  .yatbt-js .yatbt-primary-navigation {
    position: absolute;
    top: calc(100% + 10px);
    right: var(--yatbt-gutter);
    display: block;
    width: min(420px, calc(100vw - (2 * var(--yatbt-gutter))));
    max-height: calc(100vh - 120px);
    padding: 18px;
    overflow: auto;
    visibility: hidden;
    transform: translateY(-8px);
    border: 1px solid var(--yatbt-line);
    border-radius: 20px;
    opacity: 0;
    background: #fff;
    box-shadow: 0 24px 70px rgb(23 23 29 / 18%);
    transition: opacity var(--yatbt-motion), transform var(--yatbt-motion), visibility var(--yatbt-motion);
  }

  .yatbt-js .yatbt-primary-navigation.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .yatbt-menu {
    display: grid;
    gap: 0;
  }

  .yatbt-menu a {
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid var(--yatbt-line);
  }

  .yatbt-menu .sub-menu {
    position: static;
    width: auto;
    padding: 0 0 8px 16px;
    visibility: visible;
    transform: none;
    border: 0;
    opacity: 1;
    box-shadow: none;
  }

  .yatbt-header-cta {
    width: 100%;
    justify-content: space-between;
    margin-top: 14px;
  }

}

@media (max-width: 960px) {

  .yatbt-hero-grid,
  .yatbt-page-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .yatbt-hero-copy {
    max-width: 780px;
  }

  .yatbt-hero-visual {
    width: min(100%, 580px);
    margin-inline: auto;
  }

  .yatbt-hero-art,
  .yatbt-hero-photo {
    aspect-ratio: 1.08;
  }

  .yatbt-section-heading--split,
  .yatbt-cta-inner {
    grid-template-columns: 1fr;
  }

  .yatbt-section-intro {
    max-width: 720px;
  }

  .yatbt-service-card:nth-child(2),
  .yatbt-service-card:nth-child(2):hover {
    transform: none;
  }

  .yatbt-process-list li {
    grid-template-columns: 60px minmax(160px, 0.55fr) minmax(240px, 1fr);
  }

  .yatbt-process-list i {
    display: none;
  }

  .yatbt-page-hero-visual {
    width: min(100%, 480px);
  }

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

@media (max-width: 782px) {
  .admin-bar .yatbt-site-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  :root {
    --yatbt-radius-lg: 26px;
  }

  .yatbt-brand-copy small {
    display: none;
  }

  .yatbt-brand-copy strong {
    max-width: 150px;
  }

  .yatbt-hero {
    padding-top: 46px;
  }

  .yatbt-hero-grid {
    gap: 48px;
    padding-bottom: 68px;
  }

  .yatbt-hero h1 {
    font-size: clamp(42px, 12.4vw, 66px);
  }

  .yatbt-hero-art,
  .yatbt-hero-photo {
    aspect-ratio: 0.95;
  }

  .yatbt-hero-index {
    right: -6px;
    bottom: -22px;
    width: 82px;
    height: 82px;
  }

  .yatbt-hero-marquee {
    justify-content: flex-start;
  }

  .yatbt-section-heading h2,
  .yatbt-cta h2,
  .yatbt-page-content h2 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .yatbt-service-grid {
    grid-template-columns: 1fr;
  }

  .yatbt-service-body p {
    min-height: 0;
  }

  .yatbt-process-list li {
    gap: 8px 20px;
    grid-template-columns: 48px 1fr;
  }

  .yatbt-process-list h3 {
    margin-top: 5px;
  }

  .yatbt-process-list p {
    grid-column: 2;
  }

  .yatbt-page-hero-grid {
    gap: 42px;
  }

  .yatbt-page-hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .yatbt-page-hero-visual {
    width: min(88%, 420px);
  }

  .yatbt-page-content-grid {
    grid-template-columns: 1fr;
  }

  .yatbt-page-content-grid > header {
    position: static;
  }

  .yatbt-post-grid {
    grid-template-columns: 1fr;
  }

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

  .yatbt-footer-intro {
    grid-column: 1 / -1;
  }

  .yatbt-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .yatbt-header-inner {
    min-height: 70px;
  }

  .yatbt-brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .yatbt-brand-copy strong {
    max-width: 118px;
    font-size: 14px;
  }

  .yatbt-hero h1 {
    overflow-wrap: break-word;
    font-size: clamp(40px, 11vw, 52px);
  }

  .yatbt-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .yatbt-button {
    width: 100%;
    justify-content: space-between;
  }

  .yatbt-text-link {
    width: fit-content;
  }

  .yatbt-hero-footnote {
    margin-top: 42px;
  }

  .yatbt-hero-chip {
    font-size: 8px;
  }

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

  .yatbt-footer-intro {
    grid-column: auto;
  }
}

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

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