:root,
[data-braketime-tone="dark"] {
  --bt-bg: #141110;
  --bt-bg-deep: #0e0c0b;
  --bt-surface: #1d1916;
  --bt-surface-raised: #27211d;
  --bt-ink: #f5ede0;
  --bt-ink-soft: #c3b8a9;
  --bt-ink-faint: #8a7f73;
  --bt-line: rgba(245, 237, 224, 0.14);
  --bt-line-strong: rgba(245, 237, 224, 0.28);
  --bt-accent: #ef4444;
  --bt-accent-soft: rgba(239, 68, 68, 0.16);
  --bt-amber: #f2a94a;
  --bt-amber-soft: rgba(242, 169, 74, 0.16);
  color-scheme: dark;
}

[data-braketime-tone="light"] {
  --bt-bg: #ffffff;
  --bt-bg-deep: #f7f3ec;
  --bt-surface: #faf7f2;
  --bt-surface-raised: #ffffff;
  --bt-ink: #1a1512;
  --bt-ink-soft: #54493f;
  --bt-ink-faint: #7a6e62;
  --bt-line: rgba(26, 21, 18, 0.12);
  --bt-line-strong: rgba(26, 21, 18, 0.24);
  --bt-accent: #c41d24;
  --bt-accent-soft: rgba(196, 29, 36, 0.09);
  --bt-amber: #a35f0c;
  --bt-amber-soft: rgba(163, 95, 12, 0.1);
  color-scheme: light;
}

[data-braketime-tone] {
  background-color: var(--bt-bg);
  color: var(--bt-ink);
}

:root {
  /* Fixed (tone-independent) values */
  --bt-brand-red: #d42027;
  --bt-brand-red-deep: #a3161c;
  --bt-white: #ffffff;
  --bt-photo-shade: #0e0c0b;

  --bt-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bt-shell-max: 1439px;
  --bt-shell-gutter: clamp(16px, 4vw, 56px);
  --bt-section-space: clamp(80px, 11vw, 160px);
  --bt-radius-lg: clamp(20px, 2.4vw, 32px);
  --bt-radius-md: 16px;
  --bt-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--bt-font);
  font-weight: 400;
  font-size: clamp(15px, 0.95rem + 0.15vw, 17px);
  line-height: 1.7;
  background-color: #141110;
  color: #f5ede0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

#braketime-main img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--bt-brand-red);
  color: var(--bt-white);
}

.braketime-skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bt-brand-red);
  color: var(--bt-white);
  font-weight: 600;
  text-decoration: none;
}

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

#braketime-main a:focus-visible,
#braketime-main button:focus-visible {
  outline: 2px solid var(--bt-amber);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. SHARED LAYOUT
   -------------------------------------------------------------------------- */
.braketime-shell {
  width: 100%;
  max-width: var(--bt-shell-max);
  margin-inline: auto;
  padding-inline: var(--bt-shell-gutter);
}

/* --------------------------------------------------------------------------
   4. REVEAL ANIMATIONS (active only once JS has flagged the document)
   -------------------------------------------------------------------------- */
:root[data-braketime-js] [data-braketime-reveal="up"] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.9s var(--bt-ease-out) var(--braketime-delay, 0ms),
    transform 0.9s var(--bt-ease-out) var(--braketime-delay, 0ms);
}

:root[data-braketime-js] [data-braketime-reveal][data-braketime-revealed] {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   6. HERO  (Section 01 · dark tone)
   Concept: the lunch-break moment. Cafeteria pendant lights warm the stage
   while a QR "scan field" pulses outward from the photo panel of the live
   multi-vendor counters.
   -------------------------------------------------------------------------- */
.braketime-hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(780px, 100svh);
  padding: clamp(112px, 10vw, 136px) 0 clamp(88px, 8vw, 112px);
  background:
    radial-gradient(90% 70% at 78% 8%, #2b1c15 0%, rgba(20, 17, 16, 0) 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(212, 32, 39, 0.12) 0%, rgba(20, 17, 16, 0) 70%),
    var(--bt-bg);
}

/* --- Atmosphere ---------------------------------------------------------- */
.braketime-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.braketime-hero-scanfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(75% 85% at 70% 50%, #000 35%, transparent 100%);
  mask-image: radial-gradient(75% 85% at 70% 50%, #000 35%, transparent 100%);
}

.braketime-hero-pendant-row {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
}

.braketime-hero-pendant {
  position: absolute;
  top: 0;
  left: var(--braketime-pendant-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 0;
  animation: braketime-hero-sway var(--braketime-pendant-sway, 8s) ease-in-out infinite alternate;
}

@keyframes braketime-hero-sway {
  from {
    transform: translateX(-50%) rotate(-1.4deg);
  }

  to {
    transform: translateX(-50%) rotate(1.4deg);
  }
}

.braketime-hero-pendant-cord {
  width: 1px;
  height: var(--braketime-pendant-cord, 80px);
  background: linear-gradient(rgba(245, 237, 224, 0.04), rgba(245, 237, 224, 0.4));
}

.braketime-hero-pendant-shade {
  position: relative;
  width: 66px;
  height: 30px;
  border-radius: 60px 60px 8px 8px / 52px 52px 8px 8px;
  background: linear-gradient(180deg, #342c27 0%, #120f0d 100%);
  box-shadow: inset 0 -3px 0 #f2a94a, 0 6px 20px rgba(242, 169, 74, 0.35);
}

.braketime-hero-pendant-shade::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 30px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #ffd79a;
  filter: blur(4px);
  animation: braketime-hero-bulb 5s ease-in-out infinite;
}

@keyframes braketime-hero-bulb {

  0%,
  100% {
    opacity: 0.95;
  }

  48% {
    opacity: 0.8;
  }

  52% {
    opacity: 1;
  }
}

.braketime-hero-pendant-beam {
  width: clamp(260px, 30vw, 460px);
  height: clamp(420px, 60vh, 640px);
  margin-top: -4px;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 196, 120, 0.2) 0%, rgba(255, 196, 120, 0.06) 45%, rgba(255, 196, 120, 0) 85%);
  filter: blur(14px);
  mix-blend-mode: screen;
}

.braketime-hero-ember {
  position: absolute;
  left: -10%;
  bottom: -20%;
  width: 55vw;
  height: 55vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 32, 39, 0.28), transparent 65%);
  filter: blur(40px);
  animation: braketime-hero-ember-drift 16s ease-in-out infinite alternate;
}

@keyframes braketime-hero-ember-drift {
  to {
    transform: translate3d(8%, -6%, 0) scale(1.1);
  }
}

/* --- Content: centred head + photo panel (MiWhip banner pattern) -------- */
.braketime-hero-inner {
  position: relative;
  z-index: 1;
}

.braketime-hero-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--bt-ink-soft);
}

.braketime-hero-crumbs a {
  color: var(--bt-ink-soft);
  text-decoration: none;
  transition: color 0.3s;
}

.braketime-hero-crumbs a:hover {
  color: var(--bt-accent);
}

.braketime-hero-crumbs [aria-current] {
  color: var(--bt-ink);
  font-weight: 500;
}

.braketime-hero-head {
  max-width: 900px;
  margin: 56px auto 0;
  text-align: center;
}

.braketime-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--bt-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--bt-ink);
}

.braketime-hero-eyebrow-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bt-brand-red);
  box-shadow: 0 0 0 4px rgba(212, 32, 39, 0.18);
}

.braketime-hero-title {
  margin: 26px 0 0;
  color: var(--bt-ink);
}

.braketime-hero-title-main {
  display: block;
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 600;
  line-height: 72px;
  letter-spacing: -0.035em;
}

/* Two-line title on wide screens: the title gets more room than the lead and steps down a size */
@media (min-width: 992px) {
  .braketime-hero-title {
    position: relative;
    left: 50%;
    width: min(1240px, calc(100vw - 48px));
    translate: -50% 0;
  }

  .braketime-hero-title-main {
    font-size: clamp(34px, 3.5vw, 58px);
    white-space: nowrap;
  }
}

@media (max-width: 991.98px) {
  .braketime-hero-title-break {
    display: none;
  }
}

.braketime-hero-title-main em {
  font-style: normal;
  color: var(--bt-accent);
  white-space: nowrap;
}

.braketime-hero-subline {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bt-ink-soft);
}

.braketime-hero-lead {
    max-width: 710px;
    margin: 26px auto 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
  color: var(--bt-ink-soft);
}

.braketime-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.braketime-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s, transform 0.35s var(--bt-ease-out), box-shadow 0.35s;
  cursor:pointer;
}

.braketime-hero-btn-solid {
  padding-right: 8px;
  background: var(--bt-brand-red);
  color: var(--bt-white);
}

.braketime-hero-btn-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.35s var(--bt-ease-out);
}

.braketime-hero-btn-solid:hover {
  color: var(--bt-white);
  background: #e5383b;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgba(212, 32, 39, 0.75);
}

.braketime-hero-btn-solid:hover .braketime-hero-btn-icon {
  transform: rotate(45deg);
}

.braketime-hero-btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--bt-ink);
}

.braketime-hero-btn-ghost span {
  transition: transform 0.35s var(--bt-ease-out);
}

.braketime-hero-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  color: var(--bt-ink);
}

.braketime-hero-btn-ghost:hover span {
  transform: translateY(3px);
}

.braketime-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.braketime-hero-tags li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--bt-ink-soft);
}

.braketime-hero-tags li+li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 14px;
  border-radius: 50%;
  background: var(--bt-brand-red);
}

/* Photo panel — kept narrower than the container so the image stays modest */
.braketime-hero-panel {
  max-width: 1040px;
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--bt-line);
  border-radius: 22px;
  background: var(--bt-surface);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
  animation: braketime-hero-rise 1.2s var(--bt-ease-out) 0.75s both;
}

.braketime-hero-shot {
  position: relative;
  margin: 0;
}

.braketime-hero-shot-frame {
  overflow: hidden;
  animation: braketime-hero-unveil 1.4s var(--bt-ease-out) 0.85s both;
}

.braketime-hero-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.4;
  object-fit: cover;
  object-position: 50% 28%;
  transform: scale(1);
  transform-origin: 50% 70%;
  transition: transform 2.8s var(--bt-ease-out);
  will-change: transform;
}

/* Zooms in once when the photo scrolls into view */
.braketime-hero-shot-frame[data-braketime-revealed] img {
  transform: scale(1.04);
}

.braketime-hero-shot-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 110px 30px 24px;
  background: linear-gradient(180deg, rgba(14, 12, 11, 0) 0%, rgba(14, 12, 11, 0.55) 45%, rgba(14, 12, 11, 0.92) 100%);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.braketime-hero-shot-place {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
}

.braketime-hero-shot-place span {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(245, 237, 224, 0.8);
}

.braketime-hero-shot-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(245, 237, 224, 0.8);
  text-align: right;
}

.braketime-hero-shot-sign strong {
  color: #fff;
}

.braketime-hero-shot-figure {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f2a94a;
}

/* Project details attached to the panel */
.braketime-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--bt-line);
}

.braketime-hero-fact {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px 26px;
  border-left: 1px solid var(--bt-line);
  transition: background-color 0.4s;
}

.braketime-hero-fact:first-child {
  border-left: 0;
}

.braketime-hero-fact::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bt-brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--bt-ease-out);
}

.braketime-hero-fact:hover {
  background: rgba(255, 255, 255, 0.025);
}

.braketime-hero-fact:hover::before {
  transform: scaleX(1);
}

.braketime-hero-fact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--bt-ink-soft);
}

.braketime-hero-fact-value {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--bt-ink);
}

.braketime-hero-fact-value small {
  display: block;
  margin-top: 2px;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Desktop: size columns to their text so each value line stays on one line */
@media (min-width: 1200px) {
  .braketime-hero-facts {
    grid-template-columns: repeat(4, auto);
  }

  .braketime-hero-fact {
    padding-left: 22px;
    padding-right: 22px;
  }

  .braketime-hero-fact-value {
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Load choreography */
.braketime-hero-rise {
  animation: braketime-hero-rise 0.9s var(--bt-ease-out) both;
  animation-delay: var(--braketime-delay, 0s);
}

/* Starts at 0.01 rather than 0: invisible to the eye, but Chrome only counts
   painted (non-zero opacity) elements for Largest Contentful Paint, so the
   hero is measured on its first frame instead of sometimes not at all. */
@keyframes braketime-hero-rise {
  from {
    opacity: 0.01;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes braketime-hero-unveil {
  from {
    clip-path: inset(0 8% 0 8%);
    transform: scale(1.04);
  }

  to {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   SHARED SECTION HEAD
   -------------------------------------------------------------------------- */
.braketime-section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bt-ink-soft);
}

/* Section headings: bold first line, then an italic line filled with a
   slowly shimmering brand gradient (same pattern as the Cashipe study) */
.braketime-section-title {
  display: block;
  max-width: 900px;
  font-family: var(--bt-font);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

[data-braketime-tone="light"] .braketime-section-title {
  color: #2b2f2d;
}

.braketime-section-title-accent {
  /* display: block; */
  padding-right: 0.08em;
  font-style: italic;
  font-weight: 400;
  background-image: linear-gradient(90deg, #ef4444 0%, #f2a94a 35%, #ffd08a 70%, #ef4444 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: braketime-heading-shimmer 6s ease-in-out infinite alternate;
}

[data-braketime-tone="light"] .braketime-section-title-accent {
  background-image: linear-gradient(90deg, #a3161c 0%, #d42027 40%, #d9831c 75%, #a3161c 100%);
}

@keyframes braketime-heading-shimmer {
  to {
    background-position: 100% 50%;
  }
}

/* --------------------------------------------------------------------------
   7. WHAT IS BRAKETIME + PROJECT METADATA (dark)
   Pinned heading and photo on the left; the definition, the three groups
   the platform connects and the project sheet scroll past on the right.
   -------------------------------------------------------------------------- */
.braketime-intro-section {
  position: relative;
  padding: var(--bt-section-space) 0;
  border-top: 1px solid var(--bt-line);
  background:
    radial-gradient(40% 50% at 92% 0%, rgba(242, 169, 74, 0.07) 0%, rgba(20, 17, 16, 0) 100%),
    var(--bt-bg);
}

.braketime-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}

.braketime-intro-aside {
  position: sticky;
  top: 120px;
}

.braketime-intro-title {
  margin: 22px 0 0;
}

.braketime-intro-photo {
  margin: 44px 0 0;
}

.braketime-intro-photo-frame {
  overflow: hidden;
  border: 1px solid var(--bt-line);
  border-radius: 20px;
}

.braketime-intro-photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 60% 40%;
  filter: saturate(0.92);
  transition: transform 1.2s var(--bt-ease-out);
}

.braketime-intro-photo:hover img {
  transform: scale(1.03);
}

.braketime-intro-photo-caption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--bt-brand-red);
  font-size: 13px;
  line-height: 1.5;
  color: var(--bt-ink-soft);
}

.braketime-intro-photo-caption span {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bt-ink);
}

/* Definition */
.braketime-intro-definition {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 16px);
  font-weight: 300;
  line-height: 30px;
  color: var(--bt-ink-soft);
}

.braketime-intro-definition strong {
  font-weight: 500;
  color: var(--bt-ink);
}

/* The three groups Braketime connects, joined on one line */
.braketime-intro-ecosystem {
  margin-top: 48px;
  padding: 32px 28px 26px;
  border: 1px solid var(--bt-line);
  border-radius: 20px;
  background: var(--bt-surface);
}

.braketime-intro-ecosystem-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.braketime-intro-ecosystem-list::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--bt-line-strong) 0 6px, transparent 6px 12px);
}

.braketime-intro-ecosystem-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: var(--bt-ink);
}

.braketime-intro-ecosystem-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--bt-line-strong);
  border-radius: 50%;
  background: var(--bt-surface-raised);
  color: var(--bt-amber);
  transition: border-color 0.4s, color 0.4s, transform 0.4s var(--bt-ease-out);
}

.braketime-intro-ecosystem-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-intro-ecosystem-node:hover .braketime-intro-ecosystem-icon {
  border-color: var(--bt-brand-red);
  color: var(--bt-ink);
  transform: translateY(-3px);
}

.braketime-intro-ecosystem-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--bt-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bt-ink-soft);
}

.braketime-intro-ecosystem-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bt-brand-red);
}

.braketime-intro-ecosystem-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--bt-brand-red);
  animation: braketime-intro-pulse 2.4s ease-out infinite;
}

@keyframes braketime-intro-pulse {
  from {
    transform: scale(1);
    opacity: 0.9;
  }

  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* Project metadata sheet */
.braketime-intro-meta {
  margin-top: 64px;
}

.braketime-intro-meta-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bt-ink);
}

.braketime-intro-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.braketime-intro-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 12px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--bt-line);
  transition: border-color 0.4s;
}

.braketime-intro-meta-row:hover {
  border-bottom-color: var(--bt-line-strong);
}

.braketime-intro-meta-label {
  display: flex;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--bt-ink-soft);
}

.braketime-intro-meta-label span {
  flex-shrink: 0;
  width: 18px;
  font-size: 11px;
  line-height: 1.6rem;
  color: var(--bt-ink-faint);
  font-variant-numeric: tabular-nums;
}

.braketime-intro-meta-row:hover .braketime-intro-meta-label span {
  color: var(--bt-accent);
}

.braketime-intro-meta-value {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--bt-ink);
}

.braketime-intro-meta-value small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--bt-ink-soft);
}

.braketime-intro-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.braketime-intro-meta-chips li {
  padding: 6px 14px;
  border: 1px solid var(--bt-line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--bt-ink);
  transition: border-color 0.3s, background-color 0.3s;
}

.braketime-intro-meta-chips li:hover {
  border-color: var(--bt-line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.braketime-intro-meta-chips-stack li {
  background: var(--bt-amber-soft);
  border-color: transparent;
  color: var(--bt-amber);
}

.braketime-intro-meta-chips-stack li:hover {
  background: rgba(242, 169, 74, 0.24);
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   8. EXECUTIVE IMPACT DASHBOARD (white)
   A dark anchor tile for the daily value, three lighter tiles around it,
   then the client milestones as an itemised list.
   -------------------------------------------------------------------------- */
.braketime-impact-section {
  padding: var(--bt-section-space) 0;
}

.braketime-impact-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.braketime-impact-title {
  margin: 0;
}

/* Headline figures: one strip, icon tile beside each figure, hairline dividers */
.braketime-impact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: clamp(24px, 2.6vw, 36px) 0;
  list-style: none;
  border: 1px solid var(--bt-line);
  border-radius: 22px;
  background: var(--bt-surface);
}

.braketime-impact-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px clamp(18px, 2.2vw, 32px);
  border-left: 1px solid var(--bt-line);
}

.braketime-impact-stat:first-child {
  border-left: 0;
}

.braketime-impact-stat-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bt-accent-soft);
  color: var(--bt-brand-red);
  transition: background-color 0.4s, color 0.4s, transform 0.4s var(--bt-ease-out);
}

.braketime-impact-stat-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-impact-stat:hover .braketime-impact-stat-icon {
  background: var(--bt-brand-red);
  color: #fff;
  transform: translateY(-3px);
}

.braketime-impact-stat-figure {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bt-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.braketime-impact-stat-label {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--bt-ink-soft);
}

@media (max-width: 1199.98px) {
  .braketime-impact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .braketime-impact-stat {
    padding: 24px;
  }

  .braketime-impact-stat:nth-child(3) {
    border-left: 0;
  }

  .braketime-impact-stat:nth-child(n + 3) {
    border-top: 1px solid var(--bt-line);
  }
}

@media (max-width: 575.98px) {
  .braketime-impact-stats {
    grid-template-columns: 1fr;
  }

  .braketime-impact-stat {
    border-left: 0;
  }

  .braketime-impact-stat:nth-child(n + 2) {
    border-top: 1px solid var(--bt-line);
  }
}

/* Client milestones */
.braketime-impact-milestones {
  margin-top: clamp(64px, 8vw, 112px);
}

.braketime-impact-milestones-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bt-ink);
}

.braketime-impact-milestone-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--bt-line-strong);
}

.braketime-impact-milestone {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2.4fr);
  gap: 16px 32px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--bt-line);
}

.braketime-impact-milestone::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--bt-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--bt-ease-out);
}

.braketime-impact-milestone:hover::before {
  transform: scaleX(1);
}

.braketime-impact-milestone-index {
  font-size: 12px;
  font-weight: 500;
  color: var(--bt-ink-faint);
  font-variant-numeric: tabular-nums;
}

.braketime-impact-milestone:hover .braketime-impact-milestone-index {
  color: var(--bt-accent);
}

.braketime-impact-milestone-client h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--bt-ink);
}

.braketime-impact-milestone-client span {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bt-accent-soft);
  font-size: 12px;
  font-weight: 500;
  color: var(--bt-accent);
}

.braketime-impact-milestone-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bt-ink-soft);
}

.braketime-impact-milestone-figure {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--bt-ink);
}

.braketime-impact-milestone-figure small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--bt-ink-soft);
}

/* --------------------------------------------------------------------------
   9. THE BUSINESS PROBLEM (dark)
   Four problem cards that pin and stack over each other while scrolling,
   each offset a little lower so the earlier cards stay visible as tabs.
   -------------------------------------------------------------------------- */
.braketime-problem-section {
  position: relative;
  padding: var(--bt-section-space) 0;
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(212, 32, 39, 0.1) 0%, rgba(20, 17, 16, 0) 100%),
    var(--bt-bg);
}

.braketime-problem-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
}

.braketime-problem-title {
  margin: 22px 0 0;
}

/* Title-only head: let the title use the full width */
.braketime-problem-head-solo {
  grid-template-columns: minmax(0, 1fr);
}

.braketime-problem-head-solo .braketime-problem-title {
  max-width: 1100px;
}

.braketime-problem-stack {
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}

.braketime-problem-card {
  position: sticky;
  top: calc(108px + var(--braketime-stack) * 22px);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(180px, auto);
  gap: 24px clamp(28px, 4vw, 64px);
  align-items: start;
  min-height: 300px;
  margin-bottom: 28px;
  padding: clamp(28px, 3.2vw, 48px);
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 60%),
    var(--bt-surface);
  box-shadow: 0 -24px 60px -28px rgba(0, 0, 0, 0.85);
}

.braketime-problem-card:last-child {
  margin-bottom: 0;
}

.braketime-problem-card-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.braketime-problem-card-index {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--bt-accent);
  font-variant-numeric: tabular-nums;
}

.braketime-problem-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--bt-line-strong);
  border-radius: 16px;
  background: var(--bt-surface-raised);
  color: var(--bt-amber);
}

.braketime-problem-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-problem-card-body h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--bt-ink);
}

.braketime-problem-card-body p {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

/* --------------------------------------------------------------------------
   10. SYSTEM ARCHITECTURE (dark)
   Read like an engineering spec sheet: four layers stacked top to bottom,
   joined by a single rail that names each hop. Each row pairs the layer's
   components with its specification. Hairlines and type do the work.
   -------------------------------------------------------------------------- */
.braketime-arch-section {
  padding: var(--bt-section-space) 0;
  border-top: 1px solid var(--bt-line);
}

.braketime-arch-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
}

.braketime-arch-title {
  margin: 22px 0 0;
}

/* Short title with a long lead: give the lead the wider column */
.braketime-arch-head-wide-lead {
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
}

.braketime-arch-head-wide-lead .braketime-arch-lead {
  max-width: 760px;
  justify-self: end;
}

.braketime-arch-lead {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--bt-line-strong);
  font-size: 16px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

.braketime-arch-stack {
  --braketime-arch-cols: minmax(0, 3.2fr) minmax(0, 4fr) minmax(0, 4.8fr);
  margin-top: clamp(56px, 7vw, 88px);
}

.braketime-arch-stack-head {
  display: grid;
  grid-template-columns: var(--braketime-arch-cols);
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bt-line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bt-ink-faint);
}

.braketime-arch-stack-head span:first-child {
  padding-left: 52px;
}

.braketime-arch-layers {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.braketime-arch-layer {
  position: relative;
  display: grid;
  grid-template-columns: var(--braketime-arch-cols);
  gap: clamp(24px, 3vw, 48px);
  padding: 30px 0;
  border-bottom: 1px solid var(--bt-line);
}

/* The rail: each layer draws its segment from its top edge down to its
   letter, and (except the last) from the letter on down to its bottom edge */
.braketime-arch-layer::before,
.braketime-arch-layer::after {
  content: "";
  position: absolute;
  left: 17px;
  width: 1px;
  background: var(--bt-line-strong);
}

.braketime-arch-layer::before {
  top: 0;
  height: 30px;
}

.braketime-arch-layer::after {
  top: 66px;
  bottom: 0;
}

.braketime-arch-layer:first-child::before,
.braketime-arch-layer-base::after {
  display: none;
}

.braketime-arch-layer-name {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.braketime-arch-layer-letter {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bt-line-strong);
  border-radius: 8px;
  background: var(--bt-bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-ink);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.braketime-arch-layer:hover .braketime-arch-layer-letter {
  border-color: var(--bt-brand-red);
  background: var(--bt-brand-red);
  color: #fff;
}

.braketime-arch-layer-name h3 {
  margin: 6px 0 0;
  font-size: clamp(18px, 1.5vw, 18px);
font-weight: 500;
    line-height: 28px;
  letter-spacing: -0.015em;
  color: var(--bt-ink);
}

.braketime-arch-layer-parts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.braketime-arch-layer-parts li {
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--bt-ink);
}

.braketime-arch-layer-parts li:first-child {
  padding-top: 6px;
}

.braketime-arch-layer-parts small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--bt-ink-faint);
}

.braketime-arch-layer-spec h4 {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bt-amber);
}

.braketime-arch-layer-spec p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

/* Hop between two layers: just the protocol name, sitting on the rail */

.braketime-arch-layer-base {
  border-bottom-color: var(--bt-line-strong);
}

/* --------------------------------------------------------------------------
   11. PROPRIETARY ENGINEERING ALGORITHMS (white)
   Framed panel: architecture diagram beside the documented technology stack.
   -------------------------------------------------------------------------- */
.braketime-engine-section {
  overflow: hidden;
}

.braketime-engine-frame-head,
.braketime-engine-frame-body,
.braketime-engine-frame-foot {
  border-inline: 1px solid var(--bt-line);
}

.braketime-engine-frame-head {
  padding: clamp(40px, 5.6vw, 80px) clamp(24px, 4.4vw, 64px);
  border-bottom: 1px solid var(--bt-line);
}

/* Centred head; the title keeps "Proprietary Engineering" on one line */
.braketime-engine-frame-head {
  text-align: center;
}

.braketime-engine-frame-head>* {
  max-width: 762px;
  margin-inline: auto;
}

.braketime-engine-frame-head>.braketime-section-title {
  max-width: none;
}

.braketime-engine-frame-foot {
  height: clamp(72px, 7.8vw, 112px);
  border-top: 1px solid var(--bt-line);
}

.braketime-engine-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--bt-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bt-ink);
}

.braketime-engine-title {
  margin: 16px 0 0;
}

/* Technology body: HTML architecture diagram, then the stack list */
.braketime-techsplit {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4.4vw, 64px);
}

/* ---- Architecture diagram: dark panel in the page's own palette ---- */
.braketime-archmap {
  --archmap-line: rgba(245, 237, 224, 0.16);
  --archmap-pulse: var(--bt-amber);
  position: relative;
  margin: 0;
  padding: clamp(28px, 3.6vw, 52px);
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(242, 169, 74, 0.12) 0%, rgba(20, 17, 16, 0) 100%),
    radial-gradient(45% 40% at 0% 100%, rgba(212, 32, 39, 0.10) 0%, rgba(20, 17, 16, 0) 100%),
    radial-gradient(circle at 1px 1px, rgba(245, 237, 224, 0.05) 1px, transparent 0) 0 0 / 24px 24px,
    var(--bt-bg);
  color: var(--bt-ink);
  box-shadow: 0 50px 80px -56px rgba(26, 21, 18, 0.75);
}

.braketime-archmap-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(28px, 3.4vw, 44px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bt-ink-soft);
}

.braketime-archmap-caption span {
  width: 36px;
  height: 1px;
  background: var(--bt-brand-red);
}

.braketime-archmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(36px, 4.4vw, 64px) minmax(0, 1fr) clamp(36px, 4.4vw, 64px) minmax(0, 1fr);
  grid-template-rows: auto clamp(36px, 3.6vw, 52px) auto;
}

.braketime-archmap-grid> :nth-child(1) {
  grid-area: 1 / 1;
}

.braketime-archmap-grid> :nth-child(2) {
  grid-area: 1 / 2;
}

.braketime-archmap-grid> :nth-child(3) {
  grid-area: 1 / 3;
}

.braketime-archmap-grid> :nth-child(4) {
  grid-area: 1 / 4;
}

.braketime-archmap-grid> :nth-child(5) {
  grid-area: 1 / 5;
}

.braketime-archmap-grid> :nth-child(6) {
  grid-area: 2 / 1;
}

.braketime-archmap-grid> :nth-child(7) {
  grid-area: 2 / 3;
}

.braketime-archmap-grid> :nth-child(8) {
  grid-area: 2 / 5;
}

.braketime-archmap-grid> :nth-child(9) {
  grid-area: 3 / 1;
}

.braketime-archmap-grid> :nth-child(10) {
  grid-area: 3 / 2;
}

.braketime-archmap-grid> :nth-child(11) {
  grid-area: 3 / 3;
}

.braketime-archmap-grid> :nth-child(12) {
  grid-area: 3 / 4;
}

.braketime-archmap-grid> :nth-child(13) {
  grid-area: 3 / 5;
}

/* Blocks: hairline cards; the API tier carries a faint warm wash as the hub */
.braketime-archmap-block {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid var(--archmap-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.4s, background-color 0.4s;
}

.braketime-archmap-block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  width: 28px;
  height: 2px;
  background: var(--bt-brand-red);
  transition: width 0.5s var(--bt-ease-out);
}

.braketime-archmap-block:hover {
  border-color: rgba(242, 169, 74, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.braketime-archmap-block:hover::before {
  width: calc(100% - 44px);
}

.braketime-archmap-block-core {
  background:
    linear-gradient(180deg, rgba(242, 169, 74, 0.07), rgba(242, 169, 74, 0) 70%),
    rgba(255, 255, 255, 0.025);
}

.braketime-archmap-block-store {
  border-style: dashed;
}

.braketime-archmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.braketime-archmap-head h3 {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bt-ink);
}

.braketime-archmap-wordmark {
  font-size: clamp(22px, 2vw, 26px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}

.braketime-archmap-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 169, 74, 0.35);
  border-radius: 11px;
  color: var(--bt-amber);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.braketime-archmap-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-archmap-block:hover .braketime-archmap-icon {
  border-color: transparent;
  background: var(--bt-amber);
  color: var(--bt-bg);
}

.braketime-archmap-items {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.braketime-archmap-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(245, 237, 224, 0.08);
  font-size: 14px;
  line-height: 1.4;
  color: var(--bt-ink-soft);
  transition: color 0.3s;
}

.braketime-archmap-items li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--bt-amber);
  opacity: 0.7;
}

.braketime-archmap-items li:hover {
  color: var(--bt-ink);
}

.braketime-archmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.braketime-archmap-tags span {
  padding: 4px 10px;
  border: 1px solid var(--archmap-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bt-ink);
}

/* Connectors: hairline with chevron heads and a small pulse travelling along */
.braketime-archmap-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.braketime-archmap-link span {
  position: relative;
  display: block;
  background: rgba(245, 237, 224, 0.28);
}

.braketime-archmap-link-h span {
  width: 76%;
  height: 1px;
}

.braketime-archmap-link-v span {
  width: 1px;
  height: 68%;
}

/* Travelling pulse */
.braketime-archmap-link span::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--archmap-pulse);
  box-shadow: 0 0 10px 2px rgba(242, 169, 74, 0.55);
}

.braketime-archmap-link-h span::before {
  top: 0;
  left: 0;
  animation: braketime-archmap-run-h 2.8s ease-in-out infinite;
}

.braketime-archmap-link-left span::before {
  animation-direction: reverse;
}

.braketime-archmap-link-v span::before {
  left: 0;
  top: 0;
  animation: braketime-archmap-run-v 2.4s ease-in-out infinite;
}

/* Chevron heads */
.braketime-archmap-link span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(245, 237, 224, 0.5);
  border-right: 1px solid rgba(245, 237, 224, 0.5);
}

.braketime-archmap-link-h span::after {
  right: 0;
  top: -3px;
  transform: rotate(45deg);
}

.braketime-archmap-link-left span::after {
  right: auto;
  left: 0;
  transform: rotate(-135deg);
}

.braketime-archmap-link-v span::after {
  bottom: 0;
  left: -3px;
  transform: rotate(135deg);
}

/* Two-way links get a head on both ends */
.braketime-archmap-link-both,
.braketime-archmap-link-v {
  position: relative;
}

.braketime-archmap-link-both::after,
.braketime-archmap-link-v::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(245, 237, 224, 0.5);
  border-right: 1px solid rgba(245, 237, 224, 0.5);
}

.braketime-archmap-link-both::after {
  left: 12%;
  top: 50%;
  margin-top: -3px;
  transform: rotate(-135deg);
}

.braketime-archmap-link-v::after {
  top: 16%;
  left: 50%;
  margin-left: -3px;
  transform: rotate(-45deg);
}

@keyframes braketime-archmap-run-h {
  0% {
    left: 0;
    opacity: 0;
  }

  15%,
  85% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes braketime-archmap-run-v {
  0% {
    top: 0;
    opacity: 0;
  }

  15%,
  85% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .braketime-archmap-link span::before {
    animation: none;
    display: none;
  }
}

/* Tablet and phone: blocks stack in reading order with short vertical links */
@media (max-width: 991.98px) {
  .braketime-archmap-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    max-width: 440px;
    margin-inline: auto;
  }

  .braketime-archmap-grid> :nth-child(n) {
    grid-area: auto;
  }

  .braketime-archmap-link-v {
    display: none;
  }

  .braketime-archmap-link {
    height: 40px;
  }

  .braketime-archmap-link-h span {
    width: 1px;
    height: 70%;
  }

  .braketime-archmap-link-h span::before {
    left: 0;
    top: 0;
    animation-name: braketime-archmap-run-v;
  }

  .braketime-archmap-link-h span::after,
  .braketime-archmap-link-left span::after {
    right: auto;
    left: -3px;
    top: auto;
    bottom: 0;
    transform: rotate(135deg);
  }

  .braketime-archmap-link-both::after {
    left: 50%;
    top: 15%;
    margin: 0 0 0 -3px;
    transform: rotate(-45deg);
  }
}

/* ---- Documented technology stack: compact dark bento grid ---- */
.braketime-techbento {
  padding: clamp(22px, 2.6vw, 36px);
  border-radius: 22px;
  background:
    radial-gradient(50% 45% at 0% 0%, rgba(212, 32, 39, 0.10) 0%, rgba(20, 17, 16, 0) 100%),
    radial-gradient(55% 50% at 100% 100%, rgba(242, 169, 74, 0.10) 0%, rgba(20, 17, 16, 0) 100%),
    var(--bt-bg);
  color: var(--bt-ink);
  box-shadow: 0 40px 70px -50px rgba(26, 21, 18, 0.7);
}

.braketime-techlist-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bt-ink-soft);
}

.braketime-techlist-heading::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--bt-brand-red);
}

.braketime-techbento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The tile owns all hover motion so it never fights the scroll reveal on the cell */
.braketime-techbento-tile {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  height: 100%;
  padding: 18px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(245, 237, 224, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  isolation: isolate;
  transition: border-color 0.5s, translate 0.5s var(--bt-ease-out), box-shadow 0.5s var(--bt-ease-out);
}

/* Amber glow that follows the pointer (position set from script.js) */
.braketime-techbento-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(242, 169, 74, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

/* Hairline that sweeps along the top edge */
.braketime-techbento-tile::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--bt-brand-red), var(--bt-amber));
  transform: scaleX(0.12);
  transform-origin: left;
  transition: transform 0.7s var(--bt-ease-out);
}

.braketime-techbento-tile:hover {
  border-color: rgba(242, 169, 74, 0.4);
  translate: 0 -3px;
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.8);
}

.braketime-techbento-tile:hover::before {
  opacity: 1;
}

.braketime-techbento-tile:hover::after {
  transform: scaleX(1);
}

.braketime-techbento-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 169, 74, 0.35);
  border-radius: 11px;
  color: var(--bt-amber);
  transition: background-color 0.45s, color 0.45s, border-color 0.45s, transform 0.5s var(--bt-ease-out);
}

.braketime-techbento-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

.braketime-techbento-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.6;
}

.braketime-techbento-tile:hover .braketime-techbento-icon {
  border-color: transparent;
  background: var(--bt-amber);
  color: var(--bt-bg);
  transform: rotate(-8deg);
}

.braketime-techbento-tile h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bt-ink);
}

.braketime-techbento-tile p {
  grid-column: 1 / -1;
  max-width: 300px;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bt-ink-soft);
}

/* Icons draw in once their tile has scrolled into view */
:root[data-braketime-js] .braketime-techbento-cell:not([data-braketime-revealed]) .braketime-techbento-icon svg {
  stroke-dashoffset: 100;
}

.braketime-techbento-cell .braketime-techbento-icon svg {
  transition: stroke-dashoffset 1.3s var(--bt-ease-out) calc(var(--braketime-delay, 0ms) + 250ms);
}

@media (prefers-reduced-motion: reduce) {
  .braketime-techbento-tile {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .braketime-techbento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .braketime-techbento-grid {
    grid-template-columns: 1fr;
  }
}

.braketime-engine-lead {
  margin: 12px auto 0;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.625;
  color: var(--bt-ink-soft);
}

/* Photo in the image slot: 4:3, rounded, scales in on view */

:root[data-braketime-js] [data-braketime-reveal="scale"] {
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.5s ease var(--braketime-delay, 0ms),
    transform 0.5s ease var(--braketime-delay, 0ms);
}

/* --------------------------------------------------------------------------
   12. WORKFLOW + ROLE-BASED FEATURE MATRIX (dark)
   Three app lanes with a highlight that walks the twelve steps in order,
   then the feature matrix as a real table (cards on phones).
   -------------------------------------------------------------------------- */
.braketime-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.braketime-flow-section {
  position: relative;
  padding: var(--bt-section-space) 0;
  background:
    radial-gradient(45% 40% at 100% 0%, rgba(242, 169, 74, 0.08) 0%, rgba(20, 17, 16, 0) 100%),
    var(--bt-bg);
}

.braketime-flow-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
}

.braketime-flow-title {
  margin: 22px 0 0;
}

.braketime-flow-lead {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--bt-line-strong);
  font-size: 16px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

/* Feature matrix */
.braketime-matrix {
  margin-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius-lg);
  background: var(--bt-surface);
}

.braketime-matrix-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--bt-ink);
}

.braketime-matrix-caption {
  caption-side: top;
  padding: 22px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--bt-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: left;
  text-transform: uppercase;
  color: var(--bt-ink);
}

.braketime-matrix-table th,
.braketime-matrix-table td {
  padding: 18px clamp(14px, 2vw, 28px);
  border-bottom: 1px solid var(--bt-line);
  vertical-align: middle;
}

.braketime-matrix-table tbody tr:last-child th,
.braketime-matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.braketime-matrix-table thead th {
  background: var(--bt-surface-raised);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--bt-ink-soft);
}

.braketime-matrix-table thead th:first-child {
  text-align: left;
}

.braketime-matrix-table tbody th {
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}

.braketime-matrix-table td {
  width: 18%;
  text-align: center;
}

.braketime-matrix-table tbody tr {
  transition: background-color 0.3s;
}

.braketime-matrix-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.braketime-matrix-table tbody tr:hover th {
  color: var(--bt-amber);
}

.braketime-matrix-yes,
.braketime-matrix-no {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.braketime-matrix-yes {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bt-brand-red);
  box-shadow: 0 0 0 5px rgba(212, 32, 39, 0.16);
}

.braketime-matrix-yes::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.braketime-matrix-no {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--bt-line-strong);
}

/* --------------------------------------------------------------------------
   13. ENTERPRISE GOVERNANCE, SECURITY & SCALABILITY (dark)
   Pinned intro on the left; security checklist panel and cloud card on the right.
   -------------------------------------------------------------------------- */
.braketime-secure-section {
  --braketime-secure-accent: #e8552b;
  position: relative;
  padding: var(--bt-section-space) 0;
  border-top: 1px solid var(--bt-line);
}

/* ---- Split layout: pinned intro, checklist panel and cloud card ---- */
.braketime-shield-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.braketime-shield-intro {
  position: sticky;
  top: 110px;
}

.braketime-shield-title {
  margin: 22px 0 0;
}

/* accent fits in two lines: "Corporate Cafeteria" / "Platform" */
.braketime-shield-title .braketime-section-title-accent {
  font-size: 0.88em;
}

.braketime-shield-lead {
  margin: 22px 0 0;
  padding-left: 20px;
  border-left: 1px solid var(--bt-line-strong);
  font-size: 16px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

.braketime-shield-lead+.braketime-shield-lead {
  margin-top: 14px;
}

.braketime-shield-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.braketime-shield-panel {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--bt-line);
  border-radius: 24px;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(232, 85, 43, 0.12) 0%, rgba(20, 17, 16, 0) 100%),
    rgba(255, 255, 255, 0.025);
}

.braketime-shield-panel-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--bt-line);
}

.braketime-shield-panel-icon,
.braketime-shield-cloud-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bt-brand-red), var(--braketime-secure-accent));
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(232, 85, 43, 0.7);
}

.braketime-shield-panel-icon svg,
.braketime-shield-cloud-icon svg,
.braketime-shield-item-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-shield-panel-icon svg,
.braketime-shield-cloud-icon svg {
  width: 26px;
  height: 26px;
}

.braketime-shield-panel-head h3,
.braketime-shield-cloud h3 {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bt-ink);
}

.braketime-shield-panel-head p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--bt-ink-soft);
}

.braketime-shield-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.braketime-shield-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--bt-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--bt-ink);
  transition: border-color 0.4s, background-color 0.4s, translate 0.4s var(--bt-ease-out);
}

.braketime-shield-item-wide {
  grid-column: 1 / -1;
}

.braketime-shield-item-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 85, 43, 0.35);
  border-radius: 12px;
  color: var(--braketime-secure-accent);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.braketime-shield-item-icon svg {
  width: 20px;
  height: 20px;
}

.braketime-shield-item:hover {
  border-color: rgba(232, 85, 43, 0.5);
  background: rgba(232, 85, 43, 0.06);
  translate: 0 -2px;
}

.braketime-shield-item:hover .braketime-shield-item-icon {
  border-color: transparent;
  background: var(--braketime-secure-accent);
  color: #fff;
}

.braketime-shield-cloud {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(242, 169, 74, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(242, 169, 74, 0.16) 0%, rgba(20, 17, 16, 0) 100%),
    rgba(255, 255, 255, 0.025);
}

.braketime-shield-cloud-icon {
  background: linear-gradient(135deg, var(--bt-amber), var(--braketime-secure-accent));
}

.braketime-shield-cloud p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

/* ---- White theme: cards sit on a warm off-white instead of glassy dark ---- */
[data-braketime-tone="light"] .braketime-shield-panel {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(212, 32, 39, 0.06) 0%, rgba(255, 255, 255, 0) 100%),
    var(--bt-surface);
  box-shadow: 0 24px 50px -32px rgba(26, 21, 18, 0.25);
}

[data-braketime-tone="light"] .braketime-shield-item {
  background: #fff;
  box-shadow: 0 6px 18px -12px rgba(26, 21, 18, 0.18);
}

[data-braketime-tone="light"] .braketime-shield-item:hover {
  border-color: rgba(232, 85, 43, 0.45);
  background: #fff7f3;
}

[data-braketime-tone="light"] .braketime-shield-item-icon {
  background: rgba(232, 85, 43, 0.06);
  border-color: rgba(232, 85, 43, 0.3);
  color: #d4401c;
}

[data-braketime-tone="light"] .braketime-shield-cloud {
  border-color: rgba(217, 131, 28, 0.35);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(242, 169, 74, 0.16) 0%, rgba(255, 255, 255, 0) 100%),
    #fffaf3;
  box-shadow: 0 24px 50px -32px rgba(163, 95, 12, 0.3);
}

@media (max-width: 991.98px) {
  .braketime-shield-layout {
    grid-template-columns: 1fr;
  }

  .braketime-shield-intro {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .braketime-shield-list {
    grid-template-columns: 1fr;
  }

  .braketime-shield-panel-head,
  .braketime-shield-cloud {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   14. FAQ + EXPLORE FURTHER (white)
   Pinned intro and contact card on the left; native <details> accordion on the right.
   -------------------------------------------------------------------------- */
.braketime-faq-section {
  padding: var(--bt-section-space) 0;
}

.braketime-faq-title {
  margin: 22px 0 0;
}

.braketime-faq-list {
  margin-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--bt-line-strong);
}

.braketime-faq-item {
  border-bottom: 1px solid var(--bt-line);
}

.braketime-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--bt-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.braketime-faq-question::-webkit-details-marker {
  display: none;
}

.braketime-faq-question:hover {
  color: var(--bt-accent);
}

.braketime-faq-question:focus-visible {
  outline: 2px solid var(--bt-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Plus that turns into a minus when open */
.braketime-faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bt-line-strong);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s;
}

.braketime-faq-toggle::before,
.braketime-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--bt-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--bt-ease-out), background-color 0.3s;
}

.braketime-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle {
  border-color: var(--bt-brand-red);
  background: var(--bt-brand-red);
}

.braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle::before,
.braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle::after {
  background: #fff;
}

.braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.braketime-faq-answer {
  max-width: 680px;
  margin: -6px 0 0;
  padding: 0 60px 28px 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

.braketime-faq-item[open] .braketime-faq-answer {
  animation: braketime-faq-open 0.45s var(--bt-ease-out);
}

/* With JS the accordion script animates the answer itself */
:root[data-braketime-js] .braketime-faq-item[open] .braketime-faq-answer {
  animation: none;
}

@keyframes braketime-faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   15. ENTERPRISE CALL TO ACTION (dark)
   A red gradient banner: the ask on the left; on the right a hand holding a
   phone on a Braketime QR screen, with frosted glass tiles for the engines.
   -------------------------------------------------------------------------- */
.braketime-cta-section {
  padding: clamp(56px, 7vw, 100px) 0;
}

.braketime-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  min-height: 340px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(55% 75% at 12% 100%, rgba(255, 196, 120, 0.45) 0%, rgba(255, 196, 120, 0) 70%),
    radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(115deg, #e0383e 0%, #ef5350 50%, #f7796a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 40px 90px -50px rgba(239, 83, 80, 0.55);
}

.braketime-cta-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 3.6vw, 52px) clamp(20px, 2.5vw, 32px) clamp(32px, 3.6vw, 52px) clamp(24px, 4vw, 56px);
}

.braketime-cta-title {
  max-width: 600px;
  margin: 0;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
}

.braketime-cta-title strong {
  font-weight: 700;
}

.braketime-cta-text {
  max-width: 580px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* White pill button with a soft gloss */
.braketime-cta-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: 26px;
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f3efea 100%);
  box-shadow: inset 0 1px 0 #fff, 0 16px 30px -16px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1512;
  text-decoration: none;
  transition: translate 0.35s var(--bt-ease-out), box-shadow 0.35s var(--bt-ease-out);
  cursor:pointer;
}

.braketime-cta-btn:hover {
  translate: 0 -2px;
  color: #1a1512;
  box-shadow: inset 0 1px 0 #fff, 0 22px 36px -16px rgba(0, 0, 0, 0.55);
}

.braketime-cta-btn-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--bt-brand-red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Visual side */
.braketime-cta-visual {
  position: relative;
  align-self: stretch;
}

.braketime-cta-beam {
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 26%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: skewX(-22deg);
}

.braketime-cta-beam-one {
  right: 30%;
}

.braketime-cta-beam-two {
  right: -2%;
  width: 18%;
  opacity: 0.7;
}

.braketime-cta-hand {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(300px, 29vw, 420px);
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(60, 6, 10, 0.4));
}

/* Frosted glass tiles */
.braketime-cta-tile {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 30px -16px rgba(80, 8, 12, 0.55);
  color: #fff;
  animation: braketime-cta-float 6s ease-in-out infinite;
}

.braketime-cta-tile svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-cta-tile-qr {
  top: 14%;
  left: 16%;
}

.braketime-cta-tile-kds {
  top: 44%;
  left: 2%;
  width: 52px;
  height: 52px;
  animation-delay: -1.5s;
}

.braketime-cta-tile-wallet {
  top: 30%;
  left: auto;
  right: 6%;
  width: 52px;
  height: 52px;
  animation-delay: -3s;
}

.braketime-cta-tile-shield {
  top: 70%;
  left: 14%;
  width: 50px;
  height: 50px;
  animation-delay: -4.5s;
}

@keyframes braketime-cta-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .braketime-hero-pendant:nth-child(3) {
    display: none;
  }

  .braketime-hero-fact {
    padding: 22px 22px 24px;
  }
}

@media (max-width: 991.98px) {
  .braketime-hero-section {
    min-height: 0;
    padding-top: 128px;
  }

  .braketime-hero-scanfield {
    -webkit-mask-image: radial-gradient(90% 60% at 50% 72%, #000 30%, transparent 100%);
    mask-image: radial-gradient(90% 60% at 50% 72%, #000 30%, transparent 100%);
  }

  .braketime-hero-pendant-row {
    display: none;
  }

  .braketime-hero-head {
    margin-top: 48px;
  }

  .braketime-hero-panel {
    margin-top: 52px;
    border-radius: 20px;
  }

  .braketime-hero-shot-frame img {
    aspect-ratio: 2;
  }

  .braketime-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .braketime-hero-fact:nth-child(3) {
    border-left: 0;
  }

  .braketime-hero-fact:nth-child(n + 3) {
    border-top: 1px solid var(--bt-line);
  }

  .braketime-intro-layout {
    grid-template-columns: 1fr;
  }

  .braketime-intro-aside {
    position: static;
  }

  .braketime-intro-photo {
    max-width: 560px;
    margin-top: 36px;
  }

  .braketime-impact-milestone {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .braketime-impact-milestone-text {
    grid-column: 2 / -1;
  }

  .braketime-impact-milestone-figure {
    grid-column: 3;
    grid-row: 1;
  }

  .braketime-problem-head {
    grid-template-columns: 1fr;
  }

  .braketime-problem-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .braketime-problem-card-body {
    grid-column: 2;
  }

  /* Timeline: line moves to the left edge, modules stack, dot hidden */
  .braketime-engine-frame-body {
    border-left: 0;
  }

  .braketime-flow-head {
    grid-template-columns: 1fr;
  }

  .braketime-cta-card {
    grid-template-columns: 1fr;
  }

  .braketime-cta-visual {
    height: 300px;
  }

  .braketime-cta-hand {
    right: 50%;
    translate: 50% 0;
    width: 360px;
    bottom: 0;
  }

  .braketime-cta-tile-qr {
    left: 8%;
  }

  .braketime-cta-tile-kds {
    left: 4%;
  }

  .braketime-cta-tile-wallet {
    left: calc(50% + 95px);
    right: auto;
  }

  .braketime-cta-tile-shield {
    left: auto;
    right: 10%;
  }

  /* Architecture: layer name above, then components and spec side by side */
  .braketime-arch-head {
    grid-template-columns: 1fr;
  }

  .braketime-arch-stack-head {
    display: none;
  }

  .braketime-arch-layers {
    border-top: 1px solid var(--bt-line-strong);
  }

  .braketime-arch-layer {
    grid-template-columns: 1fr 1fr;
    padding-left: 52px;
  }

  .braketime-arch-layer-name {
    grid-column: 1 / -1;
    margin-left: -52px;
  }

  .braketime-problem-card-side {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 76px;
  }

  .braketime-hero-section {
    padding: 112px 0 72px;
  }

  .braketime-section-title {
    font-size: clamp(26px, 7vw, 32px);
  }

  .braketime-hero-head {
    margin-top: 40px;
  }

  .braketime-hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .braketime-hero-lead {
    font-size: 15px;
  }

  .braketime-hero-panel {
    margin-top: 44px;
    border-radius: 18px;
  }

  .braketime-hero-shot-frame img {
    aspect-ratio: 1.5;
  }

  .braketime-hero-shot-caption {
    position: static;
    padding: 18px 20px 4px;
    background: none;
  }

  .braketime-hero-shot-sign {
    text-align: left;
  }

  .braketime-hero-shot-figure {
    font-size: 26px;
  }

  .braketime-hero-fact {
    padding: 20px;
  }

  .braketime-intro-ecosystem {
    padding: 26px 16px 22px;
  }

  .braketime-intro-ecosystem-node {
    font-size: 12.5px;
  }

  .braketime-intro-meta {
    margin-top: 48px;
  }

  .braketime-intro-meta-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .braketime-impact-milestone {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 24px 0;
  }

  .braketime-impact-milestone-text,
  .braketime-impact-milestone-figure {
    grid-column: 2;
    grid-row: auto;
    text-align: left;
  }

  .braketime-impact-milestone-figure {
    font-size: 20px;
  }

  /* Matrix: each feature becomes a small card listing the three roles */
  .braketime-matrix-table,
  .braketime-matrix-table tbody,
  .braketime-matrix-table tr,
  .braketime-matrix-table th,
  .braketime-matrix-table td {
    display: block;
  }

  .braketime-matrix-caption {
    display: block;
  }

  .braketime-matrix-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .braketime-matrix-table tbody tr {
    padding: 18px 20px;
    border-bottom: 1px solid var(--bt-line);
  }

  .braketime-matrix-table tbody tr:last-child {
    border-bottom: 0;
  }

  .braketime-matrix-table tbody th {
    padding: 0 0 10px;
    border: 0;
  }

  .braketime-matrix-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    padding: 8px 0;
    border: 0;
    font-size: 13px;
    color: var(--bt-ink-soft);
  }

  .braketime-matrix-table td::before {
    content: attr(data-braketime-role);
  }

  .braketime-matrix-yes {
    width: 24px;
    height: 24px;
  }

  .braketime-matrix-yes::after {
    left: 8.5px;
    top: 5.5px;
    width: 6px;
    height: 11px;
  }

  .braketime-matrix-no {
    margin-right: 5px;
  }

  /* Stacking needs height to breathe; on phones the cards simply follow each other */
  .braketime-problem-card {
    position: static;
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 16px;
    box-shadow: none;
  }

  .braketime-problem-card-side {
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .braketime-problem-card-body {
    grid-column: 1;
    grid-row: auto;
  }

  .braketime-problem-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

@media (max-width: 575.98px) {
  .braketime-hero-title-main {
    font-size: clamp(30px, 8.6vw, 38px);
  }

  .braketime-hero-subline {
    font-size: 11.5px;
    letter-spacing: 0.14em;
  }

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

  .braketime-hero-btn {
    justify-content: space-between;
  }

  .braketime-hero-btn-ghost {
    justify-content: center;
  }

  .braketime-cta-btn {
    align-self: stretch;
  }

  .braketime-cta-visual {
    height: 260px;
  }

  .braketime-cta-hand {
    width: 300px;
  }

  .braketime-cta-tile {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .braketime-cta-tile svg {
    width: 26px;
    height: 26px;
  }

  .braketime-hero-tags li {
    font-size: 12px;
  }

  .braketime-hero-tags li+li::before {
    margin: 0 10px;
  }

  .braketime-hero-shot-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .braketime-hero-facts {
    grid-template-columns: 1fr;
  }

  .braketime-faq-answer {
    padding-right: 0;
  }

  .braketime-faq-toggle {
    width: 32px;
    height: 32px;
  }

  .braketime-arch-layer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 0 26px 52px;
  }

  .braketime-arch-layer::before {
    height: 26px;
  }

  .braketime-arch-layer::after {
    top: 62px;
  }

  .braketime-hero-fact,
  .braketime-hero-fact:nth-child(3) {
    border-left: 0;
  }

  .braketime-hero-fact:nth-child(n + 2) {
    border-top: 1px solid var(--bt-line);
  }
}

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

  :root[data-braketime-js] [data-braketime-reveal="up"],
  :root[data-braketime-js] [data-braketime-reveal="scale"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .braketime-hero-pendant {
    animation: none;
    transform: translateX(-50%);
  }

  .braketime-hero-pendant-shade::after,
  .braketime-hero-ember,
  .braketime-intro-ecosystem-pulse::after,
  .braketime-section-title-accent,
  .braketime-cta-tile,
  .braketime-faq-item[open] .braketime-faq-answer,
  .braketime-hero-rise,
  .braketime-hero-panel,
  .braketime-hero-shot-frame {
    animation: none !important;
  }

  .braketime-hero-shot-frame img,
  .braketime-intro-photo-frame img {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   FAQ (v2): pinned intro with a dark contact card, numbered question cards.
   Builds on the base FAQ rules; the accordion script animates the height.
   -------------------------------------------------------------------------- */
.braketime-faqv2-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.braketime-faqv2-intro {
  position: sticky;
  top: 110px;
}

/* Dark contact card with a slowly drifting glow */
.braketime-faqv2-card {
  position: relative;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(26px, 2.8vw, 36px);
  overflow: hidden;
  border-radius: 22px;
  background: #141110;
  color: var(--bt-ink);
  isolation: isolate;
}

.braketime-faqv2-card-glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(35% 35% at 30% 30%, rgba(212, 32, 39, 0.35), transparent 70%),
    radial-gradient(30% 30% at 70% 70%, rgba(242, 169, 74, 0.28), transparent 70%);
  animation: braketime-faqv2-glow 14s linear infinite;
}

.braketime-faqv2-card-title {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f5ede0;
}

.braketime-faqv2-card-text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 237, 224, 0.72);
}

.braketime-faqv2-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.braketime-faqv2-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.35s, border-color 0.35s, translate 0.35s var(--bt-ease-out);
  isolation: isolate;
}

.braketime-faqv2-btn span {
  transition: transform 0.4s var(--bt-ease-out);
}

/* Fill slides in from the left on hover */
.braketime-faqv2-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-101%);
  transition: transform 0.45s var(--bt-ease-out);
}

.braketime-faqv2-btn:hover { translate: 0 -2px; }
.braketime-faqv2-btn:hover::before { transform: none; }
.braketime-faqv2-btn:hover span { transform: translate(2px, -2px); }

.braketime-faqv2-btn-solid {
  background: var(--bt-brand-red);
  color: #fff;
}

.braketime-faqv2-btn-solid::before { background: #f2a94a; }
.braketime-faqv2-btn-solid:hover { color: #141110; }

.braketime-faqv2-btn-ghost {
  border: 1px solid rgba(245, 237, 224, 0.25);
  color: #f5ede0;
}

.braketime-faqv2-btn-ghost::before { background: #f5ede0; }
.braketime-faqv2-btn-ghost:hover { border-color: #f5ede0; color: #141110; }

/* Question cards */
.braketime-faq-v2 .braketime-faqv2-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  border-top: 0;
}

.braketime-faq-v2 .braketime-faq-item {
  position: relative;
  border: 1px solid var(--bt-line);
  border-radius: 18px;
  background: var(--bt-surface);
}

:root[data-braketime-js] .braketime-faq-v2 .braketime-faq-item[data-braketime-reveal],
.braketime-faq-v2 .braketime-faq-item {
  transition:
    opacity 0.9s var(--bt-ease-out) var(--braketime-delay, 0ms),
    transform 0.9s var(--bt-ease-out) var(--braketime-delay, 0ms),
    background-color 0.45s,
    border-color 0.45s,
    box-shadow 0.45s,
    translate 0.45s var(--bt-ease-out);
}

/* Accent bar on the left edge, drawn when the card opens */
.braketime-faq-v2 .braketime-faq-item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -1px;
  z-index: 1;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--bt-brand-red), #f2a94a);
  transform: scaleY(0);
  transition: transform 0.5s var(--bt-ease-out);
}

.braketime-faq-v2 .braketime-faq-item:not([open]):hover {
  border-color: var(--bt-line-strong);
  translate: 0 -2px;
  box-shadow: 0 20px 36px -28px rgba(26, 21, 18, 0.45);
}

.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing]) {
  border-color: rgba(212, 32, 39, 0.35);
  box-shadow: 0 24px 44px -34px rgba(26, 21, 18, 0.45);
}

.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing])::before { transform: scaleY(1); }

.braketime-faq-v2 .braketime-faq-question {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 38px;
  gap: 16px;
  align-items: center;
  padding: 22px 22px 22px 24px;
  font-size: clamp(15px, 1.3vw, 16px);
}

.braketime-faq-v2 .braketime-faq-question:hover { color: var(--bt-ink); }

.braketime-faqv2-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bt-ink-faint);
  font-variant-numeric: tabular-nums;
  transition: color 0.45s;
}

.braketime-faqv2-q { transition: color 0.45s; }

.braketime-faq-v2 .braketime-faq-item:not([open]):hover .braketime-faqv2-q { color: var(--bt-accent); }
.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faqv2-num { color: var(--bt-amber); }
.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faqv2-q { color: var(--bt-ink); }

/* Toggle: plus that rotates into a cross */
.braketime-faq-v2 .braketime-faq-toggle {
  width: 38px;
  height: 38px;
  background: transparent;
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--bt-ease-out);
}

.braketime-faq-v2 .braketime-faq-toggle::before,
.braketime-faq-v2 .braketime-faq-toggle::after { background: var(--bt-ink); }

.braketime-faq-v2 .braketime-faq-item:not([open]):hover .braketime-faq-toggle {
  border-color: var(--bt-brand-red);
  background: var(--bt-brand-red);
}

.braketime-faq-v2 .braketime-faq-item:not([open]):hover .braketime-faq-toggle::before,
.braketime-faq-v2 .braketime-faq-item:not([open]):hover .braketime-faq-toggle::after { background: #fff; }

.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle {
  border-color: transparent;
  background: #f2a94a;
  transform: rotate(135deg);
}

.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle::before,
.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle::after { background: #141110; }

/* Keep the plus a plus; the rotation turns it into a cross */
.braketime-faq-v2 .braketime-faq-item[open]:not([data-braketime-closing]) .braketime-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.braketime-faq-v2 .braketime-faq-answer {
  max-width: none;
  margin: 0;
  padding: 0 72px 26px 74px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--bt-ink-soft);
}

@keyframes braketime-faqv2-glow {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .braketime-faqv2-card-glow { animation: none; }
}

@media (max-width: 991.98px) {
  .braketime-faqv2-layout { grid-template-columns: minmax(0, 1fr); }
  .braketime-faqv2-intro { position: static; }
}

@media (max-width: 575.98px) {
  .braketime-faq-v2 .braketime-faq-question {
    grid-template-columns: minmax(0, 1fr) 34px;
    padding: 18px 16px 18px 18px;
  }

  .braketime-faqv2-num { display: none; }
  .braketime-faq-v2 .braketime-faq-answer { padding: 0 18px 22px; }
}

/* Line icons inside buttons (replace text arrows, which some systems render as emoji) */
.braketime-btn-svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-hero-btn-solid:hover .braketime-hero-btn-icon {
  transform: rotate(-45deg);
}

.braketime-hero-btn-arrow {
  display: inline-flex;
}

.braketime-hero-btn-ghost:hover .braketime-hero-btn-arrow {
  transform: translateY(3px);
}

.braketime-faqv2-btn span {
  display: inline-flex;
}

.braketime-faqv2-btn:hover span {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   SCROLL MOTION VOCABULARY
   Extra reveal styles alongside "up", "scale" and "zoom":
     left / right  slide in from the side (turn into "up" on narrow screens)
     pop           scale up into place
     stagger       the element stays put; its children arrive one by one
                   (script.js numbers them through --braketime-i)
   -------------------------------------------------------------------------- */
:root[data-braketime-js] [data-braketime-reveal="left"],
:root[data-braketime-js] [data-braketime-reveal="right"],
:root[data-braketime-js] [data-braketime-reveal="pop"] {
  opacity: 0;
  transition:
    opacity 0.9s var(--bt-ease-out) var(--braketime-delay, 0ms),
    transform 1s var(--bt-ease-out) var(--braketime-delay, 0ms);
}

:root[data-braketime-js] [data-braketime-reveal="left"] { transform: translate3d(-64px, 0, 0); }
:root[data-braketime-js] [data-braketime-reveal="right"] { transform: translate3d(64px, 0, 0); }
:root[data-braketime-js] [data-braketime-reveal="pop"] { transform: translate3d(0, 24px, 0) scale(0.94); }

:root[data-braketime-js] [data-braketime-reveal="stagger"] {
  opacity: 1;
  transform: none;
}

:root[data-braketime-js] [data-braketime-reveal="stagger"] > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.7s var(--bt-ease-out) calc(var(--braketime-i, 0) * 80ms + 120ms),
    transform 0.8s var(--bt-ease-out) calc(var(--braketime-i, 0) * 80ms + 120ms),
    translate 0.4s var(--bt-ease-out),
    box-shadow 0.4s,
    border-color 0.4s,
    background-color 0.4s,
    color 0.3s;
}

:root[data-braketime-js] [data-braketime-reveal][data-braketime-revealed],
:root[data-braketime-js] [data-braketime-reveal="stagger"][data-braketime-revealed] > * {
  opacity: 1;
  transform: none;
}

/* Side entrances start off-canvas; clip (not hide) so sticky elements keep working */
#braketime-main {
  overflow-x: clip;
}

/* Side entrances become plain rises where there is no room to slide */
@media (max-width: 767.98px) {
  :root[data-braketime-js] [data-braketime-reveal="left"],
  :root[data-braketime-js] [data-braketime-reveal="right"] {
    transform: translate3d(0, 32px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-braketime-js] [data-braketime-reveal="left"],
  :root[data-braketime-js] [data-braketime-reveal="right"],
  :root[data-braketime-js] [data-braketime-reveal="pop"],
  :root[data-braketime-js] [data-braketime-reveal="stagger"] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* FAQ contact card: the two buttons share one row */
.braketime-faqv2-card-actions {
  flex-wrap: nowrap;
}

.braketime-faqv2-card-actions .braketime-faqv2-btn {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  padding: 12px 16px;
  font-size: 13.5px;
  white-space: nowrap;
  cursor:pointer;
}

@media (max-width: 399.98px) {
  .braketime-faqv2-card-actions {
    flex-wrap: wrap;
  }

  .braketime-faqv2-card-actions .braketime-faqv2-btn {
    flex-basis: 100%;
  }
}
/* ==========================================================================
   APP SCREENS CAROUSEL (center-focused coverflow with fixed iPhone frame)
   Ported from the cafeteria-management "App Screenshots" section.
   ========================================================================== */
.braketime-screens-section {
  position: relative;
  padding: var(--bt-section-space, 110px) 0;
  border-top: 1px solid var(--bt-line);
  background:
    radial-gradient(40% 50% at 92% 0%, rgba(242, 169, 74, 0.07) 0%, rgba(20, 17, 16, 0) 100%),
    var(--bt-bg);
  overflow: hidden;
}

.braketime-screens-head .braketime-section-kicker {
  justify-content: center;
}

.braketime-screens-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.braketime-screens-title {
  margin: 22px auto 0;
  text-align: center;
}

/* Carousel outer container */
.braketime-screens-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.braketime-screens-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: rgba(29, 25, 22, 0.9);
  border: 1px solid var(--bt-line-strong);
  color: var(--bt-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.braketime-screens-nav:hover {
  background: var(--bt-brand-red);
  border-color: var(--bt-brand-red);
  color: #fff;
  box-shadow: 0 8px 28px rgba(212, 32, 39, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.braketime-screens-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.braketime-screens-nav:focus-visible {
  outline: 2px solid var(--bt-amber);
  outline-offset: 3px;
}

.braketime-screens-prev { left: 12px; }
.braketime-screens-next { right: 12px; }

/* Stage */
.braketime-screens-stage {
  position: relative;
  width: 100%;
  height: 610px;
  margin: 0 auto;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Individual screen with 3D layering */
.braketime-screens-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, filter, opacity;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.85s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.braketime-screens-item[data-pos="center"] {
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0px);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

.braketime-screens-item[data-pos="left"] {
  transform: translate(calc(-50% - 240px), -50%) scale(0.86);
  filter: blur(8px);
  opacity: 0.52;
  z-index: 5;
  cursor: pointer;
}

.braketime-screens-item[data-pos="left"]:hover {
  opacity: 0.78;
  filter: blur(4px);
  transform: translate(calc(-50% - 240px), -50%) scale(0.88);
}

.braketime-screens-item[data-pos="right"] {
  transform: translate(calc(-50% + 240px), -50%) scale(0.86);
  filter: blur(8px);
  opacity: 0.52;
  z-index: 5;
  cursor: pointer;
}

.braketime-screens-item[data-pos="right"]:hover {
  opacity: 0.78;
  filter: blur(4px);
  transform: translate(calc(-50% + 240px), -50%) scale(0.88);
}

.braketime-screens-item[data-pos="hidden"] {
  transform: translate(-50%, -50%) scale(0.72);
  filter: blur(16px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Stationary iPhone frame over the centered screen */
.braketime-screens-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 568px;
  box-sizing: border-box;
  z-index: 15;
  pointer-events: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.braketime-screens-frame-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 38px rgba(212, 32, 39, 0.28));
}

/* Screenshot card */
.braketime-screens-card {
  width: 250px;
  height: 541px;
  box-sizing: border-box;
  background: var(--bt-bg-deep);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--bt-line);
}

.braketime-screens-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Dots */
.braketime-screens-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.braketime-screens-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bt-line-strong);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.braketime-screens-dot:hover {
  background: var(--bt-ink-faint);
}

.braketime-screens-dot.is-active {
  width: 28px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bt-brand-red), var(--bt-amber));
  box-shadow: 0 0 12px rgba(212, 32, 39, 0.45);
}

@media (max-width: 1024px) {
  .braketime-screens-carousel { padding: 10px 10px 0; }
  .braketime-screens-stage { height: 570px; }

  .braketime-screens-item[data-pos="left"] { transform: translate(calc(-50% - 190px), -50%) scale(0.82); }
  .braketime-screens-item[data-pos="left"]:hover { transform: translate(calc(-50% - 190px), -50%) scale(0.84); }
  .braketime-screens-item[data-pos="right"] { transform: translate(calc(-50% + 190px), -50%) scale(0.82); }
  .braketime-screens-item[data-pos="right"]:hover { transform: translate(calc(-50% + 190px), -50%) scale(0.84); }

  .braketime-screens-frame { width: 252px; height: 511px; }

  .braketime-screens-item,
  .braketime-screens-card {
    width: 225px;
    height: 486px;
    border-radius: 32px;
  }
}

@media (max-width: 768px) {
  .braketime-screens-section { padding: 75px 0 65px; }
  .braketime-screens-stage { height: 480px; }
  .braketime-screens-frame { width: 218px; height: 442px; }

  .braketime-screens-item,
  .braketime-screens-card {
    width: 195px;
    height: 421px;
    border-radius: 28px;
  }

  .braketime-screens-item[data-pos="center"] { transform: translate(-50%, -50%) scale(0.96); }

  .braketime-screens-item[data-pos="left"] {
    transform: translate(calc(-50% - 110px), -50%) scale(0.76);
    filter: blur(6px);
    opacity: 0.35;
  }

  .braketime-screens-item[data-pos="right"] {
    transform: translate(calc(-50% + 110px), -50%) scale(0.76);
    filter: blur(6px);
    opacity: 0.35;
  }

  .braketime-screens-nav { width: 40px; height: 40px; }
  .braketime-screens-prev { left: 2px; }
  .braketime-screens-next { right: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .braketime-screens-item { transition: none; }
}

/* ==========================================================================
   AUTHOR & REVIEWER BYLINE
   Two cards: neutral-ringed photo with a role badge, brand label,
   bold name, role meta line and a softer responsibility line.
   ========================================================================== */
.braketime-byline-section {
  padding: clamp(40px, 5vw, 64px) 0;
  background: #fff;
}

.braketime-byline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.braketime-byline-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(26px, 2.6vw, 36px);
  overflow: hidden;
  border: 1px solid #f0e6e3;
  border-radius: 22px;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(212, 32, 39, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(242, 169, 74, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
    #fffdfb;
  box-shadow: 0 1px 2px rgba(26, 21, 18, 0.04), 0 18px 40px -32px rgba(26, 21, 18, 0.25);
  transition: border-color 0.4s, box-shadow 0.4s, translate 0.4s var(--bt-ease-out);
}

.braketime-byline-card:hover {
  border-color: rgba(212, 32, 39, 0.22);
  box-shadow: 0 1px 2px rgba(26, 21, 18, 0.04), 0 26px 50px -30px rgba(212, 32, 39, 0.35);
  translate: 0 -3px;
}

/* Photo with a soft neutral ring + role badge */
.braketime-byline-avatar {
  position: relative;
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  padding: 3px;
  border-radius: 50%;
  background: #ece4dd;
  box-shadow: 0 10px 24px -16px rgba(26, 21, 18, 0.35);
}

.braketime-byline-photo {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%; /* portrait headshots: keep the face centred in the circle */
  background: #f3efe9;
}

.braketime-byline-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--bt-brand-red);
  color: #fff;
}

.braketime-byline-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.braketime-byline-info {
  min-width: 0;
}

.braketime-byline-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bt-brand-red);
}

.braketime-byline-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bt-brand-red), #f2a94a);
}

.braketime-byline-name {
  margin: 8px 0 0;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #1a1512;
}

.braketime-byline-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: #3d3530;
}

.braketime-byline-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c9bdb4;
}

.braketime-byline-desc {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed #eadfd9;
  font-size: 13.5px;
  line-height: 1.6;
  color: #7a6e62;
}

@media (max-width: 991.98px) {
  .braketime-byline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .braketime-byline-card {
    align-items: flex-start;
  }

  .braketime-byline-avatar {
    width: 68px;
    height: 68px;
  }

  .braketime-byline-badge {
    width: 26px;
    height: 26px;
  }

  .braketime-byline-badge svg {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .braketime-byline-card {
    transition: none;
  }
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS (tablet + phone)
   ========================================================================== */
@media (max-width: 991.98px) {
  /* Hero title: the fixed 72px line-height suits the 58-60px desktop size only;
     scale it with the font so wrapped lines don't float apart on smaller screens */
  .braketime-hero-title-main {
    line-height: 1.2;
  }

  /* Let the subline wrap naturally instead of forcing an early break */
  .braketime-hero-subline br {
    display: none;
  }

  /* Challenge cards: drop the desktop min-height so short cards don't leave empty space */
  .braketime-problem-card {
    min-height: 0;
  }
}

/* ==========================================================================
   CTA TILES — a curved arc bowing out to the left of the phone
   (QR ordering → kitchen display → wallet → security), equal size
   ========================================================================== */
.braketime-cta-tile {
  right: auto;
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.braketime-cta-tile svg {
  width: 24px;
  height: 24px;
}

.braketime-cta-tile-qr     { top: 9%;  left: 19%; }
.braketime-cta-tile-kds    { top: 31%; left: 6%; }
.braketime-cta-tile-wallet { top: 54%; left: 3%; }
.braketime-cta-tile-shield { top: 77%; left: 10%; }

@media (max-width: 991.98px) {
  .braketime-cta-tile-qr     { top: 4%;  left: 17%; }
  .braketime-cta-tile-kds    { top: 27%; left: 7%; }
  .braketime-cta-tile-wallet { top: 51%; left: 4%; }
  .braketime-cta-tile-shield { top: 75%; left: 12%; }
}

@media (max-width: 575.98px) {
  .braketime-cta-tile {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .braketime-cta-tile svg {
    width: 21px;
    height: 21px;
  }

  .braketime-cta-tile-qr     { top: 2%;  left: 14%; }
  .braketime-cta-tile-kds    { top: 24%; left: 5%; }
  .braketime-cta-tile-wallet { top: 46%; left: 1%; }
  .braketime-cta-tile-shield { top: 68%; left: 5%; }
}

/* --------------------------------------------------------------------------
   CLIENT REVIEW
   -------------------------------------------------------------------------- */
.braketime-review-section {
  padding: 100px 0px 0px 0px;
}

.braketime-review-head {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.braketime-review-head .braketime-section-kicker {
  justify-content: center;
}

.braketime-review-title {
  margin: 0 auto;
}

.braketime-review-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 44px 32px;
  overflow: hidden;
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius-md);
  background: radial-gradient(60% 80% at 100% 0%, var(--bt-accent-soft) 0%, rgba(255, 255, 255, 0) 70%), var(--bt-surface-raised);
  box-shadow: 0 18px 40px -32px rgba(15, 12, 11, 0.3);
}

.braketime-review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 44px;
  width: 64px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--bt-brand-red-deep), var(--bt-brand-red));
}

.braketime-review-mark {
  position: absolute;
  top: 32px;
  right: 40px;
  width: 52px;
  height: 39px;
  fill: var(--bt-brand-red);
  opacity: 0.18;
}

.braketime-review-quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.braketime-review-quote p {
  margin: 0;
  color: var(--bt-ink-soft);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.75;
}

.braketime-review-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-right: 64px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bt-line);
}

.braketime-review-avatar {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border: 3px solid var(--bt-white);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 0 0 2px var(--bt-accent-soft), 0 10px 24px -12px rgba(15, 12, 11, 0.35);
}

.braketime-review-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.braketime-review-name {
  color: var(--bt-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.braketime-review-role {
  margin-top: 2px;
  color: var(--bt-ink-faint);
  font-size: 14px;
}

.braketime-review-stars {
  display: inline-flex;
  gap: 3px;
  margin-top: 8px;
}

.braketime-review-stars svg {
  width: 17px;
  height: 17px;
  fill: #f5b800;
}

@media (max-width: 767.98px) {
  .braketime-review-card {
    padding: 30px 22px 24px;
  }

  .braketime-review-card::before {
    left: 22px;
  }

  .braketime-review-mark {
    top: 24px;
    right: 20px;
    width: 40px;
    height: 30px;
  }

  .braketime-review-quote p {
    font-size: 15px;
  }

  .braketime-review-author {
    gap: 14px;
    padding-right: 44px;
  }

  .braketime-review-avatar {
    width: 64px;
    height: 64px;
  }

  .braketime-review-name {
    font-size: 19px;
  }

  .braketime-review-role {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   AUTOMATED / AGENTIC BROWSERS
   Set by the inline <head> script only when navigator.webdriver is true.
   Every element renders straight to its final state, so agents and
   automated tools read and screenshot the page without waiting on motion.
   Human visitors never get this attribute.
   -------------------------------------------------------------------------- */
:root[data-braketime-automated],
:root[data-braketime-automated] *,
:root[data-braketime-automated] *::before,
:root[data-braketime-automated] *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
}
