:root {
  --ink: #080808;
  --obsidian: #030303;
  --black-luxe: #0e0d0a;
  --ink-soft: #171717;
  --paper: #f4ead7;
  --paper-strong: #fff7e5;
  --muted: #7c766d;
  --line: rgba(8, 8, 8, 0.14);
  --gold: #f6ce45;
  --gold-strong: #ffbf00;
  --gold-deep: #9f6a08;
  --amber: #c98218;
  --cream: #fff3c4;
  --champagne: #f8e4ac;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  --shadow-heavy: 0 34px 120px rgba(0, 0, 0, 0.48);
  --radius-large: 38px;
  --radius-medium: 24px;
  --radius-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

::selection {
  color: var(--ink);
  background: var(--gold);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 2%, rgba(246, 206, 69, 0.22), transparent 28rem),
    radial-gradient(circle at 96% 16%, rgba(255, 255, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, var(--obsidian) 0, #0a0907 41rem, var(--paper) 41rem);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1210px, calc(100% - 32px));
  padding: 14px 16px 14px 22px;
  color: var(--white);
  border: 1px solid rgba(246, 206, 69, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(5, 5, 5, 0.82);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}

.site-header.scrolled {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.014)),
    rgba(5, 5, 5, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-strong) 48%, var(--champagne));
  padding: 8px 4px 7px 10px;
  border-radius: 12px 0 0 12px;
}

.brand-dot {
  color: var(--gold);
  padding: 0 2px;
  font-size: 1.45rem;
}

.brand-tail {
  color: var(--champagne);
  border: 1px solid rgba(246, 206, 69, 0.5);
  border-left: 0;
  padding: 8px 10px 7px 2px;
  border-radius: 0 12px 12px 0;
  background: rgba(246, 206, 69, 0.035);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.desktop-nav a,
.mobile-nav a,
.footer-grid nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-grid nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.92rem;
}

.header-bot-link {
  position: relative;
  display: none;
  color: rgba(246, 206, 69, 0.92);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 1061px) {
  .header-bot-link {
    display: inline-flex;
  }
}

.header-bot-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: linear-gradient(90deg, rgba(246, 206, 69, 0.1), rgba(246, 206, 69, 0.85), rgba(255, 58, 0, 0.55));
  transform: scaleX(0.68);
  transform-origin: left;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.header-bot-link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(246, 206, 69, 0.28);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 9px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 28px;
}

.menu-open .menu-toggle span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 82px;
  right: 16px;
  left: 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.96);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 15px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-open .mobile-nav {
  display: flex;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(246, 206, 69, 0.16), transparent 23rem),
    radial-gradient(circle at 20% 85%, rgba(255, 191, 0, 0.1), transparent 20rem),
    linear-gradient(140deg, var(--obsidian), var(--black-luxe) 58%, #050505);
}

.section-light {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 148px 0 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 85%);
}

.hero::after {
  content: "WORK.DOC";
  position: absolute;
  right: -0.08em;
  bottom: 18px;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 206, 69, 0.13);
  font-size: clamp(6rem, 19vw, 20rem);
  font-weight: 950;
  letter-spacing: -0.16em;
  line-height: 0.72;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.6;
  pointer-events: none;
}

.orb-one {
  right: -130px;
  top: 120px;
  background: radial-gradient(circle, rgba(246, 206, 69, 0.36), transparent 62%);
}

.orb-two {
  left: -180px;
  bottom: 30px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 64%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 52px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-overline::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.client-copy h2,
.review-aside h2,
.blog-head h2,
.cta-grid h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(4.2rem, 8.7vw, 8.85rem);
  letter-spacing: -0.12em;
  line-height: 0.82;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 .title-line {
  display: block;
  color: var(--white);
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.hero h1 .title-accent {
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold), var(--champagne) 45%, var(--gold-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 20px 42px rgba(246, 206, 69, 0.16));
}

.hero h1 .title-line:last-child {
  word-spacing: 0.1em;
}

.hero-text {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(246, 206, 69, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(246, 206, 69, 0.055);
  font-size: 0.82rem;
  font-weight: 850;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

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

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--champagne), var(--gold) 42%, var(--gold-strong));
  box-shadow: 0 18px 44px rgba(246, 206, 69, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(246, 206, 69, 0.22);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(246, 206, 69, 0.46);
  background: rgba(246, 206, 69, 0.08);
}

.hero-art {
  position: relative;
}

.art-frame {
  position: relative;
  min-height: 640px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 8%, rgba(246, 206, 69, 0.48), transparent 15rem),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(246, 206, 69, 0.16);
  box-shadow: var(--shadow-heavy), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.art-frame::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px -80px;
  height: 330px;
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(135deg, rgba(248, 228, 172, 0.96), rgba(255, 191, 0, 0.48)),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.16) 0 8px, transparent 8px 16px);
}

.art-grid {
  position: absolute;
  inset: 26px;
  border-radius: 30px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.54;
}

.art-emblem {
  position: absolute;
  top: 38px;
  right: 34px;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(246, 206, 69, 0.22);
  border-radius: 50%;
  color: rgba(246, 206, 69, 0.52);
  background:
    radial-gradient(circle, rgba(246, 206, 69, 0.12), transparent 62%),
    rgba(0, 0, 0, 0.16);
  font-size: 2.2rem;
  font-weight: 950;
  letter-spacing: -0.16em;
}

.art-emblem::before,
.art-emblem::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(246, 206, 69, 0.16);
}

.art-emblem::after {
  inset: -16px;
  border-color: rgba(255, 255, 255, 0.07);
}

.art-person {
  position: absolute;
  right: 50%;
  bottom: 76px;
  width: 260px;
  height: 440px;
  transform: translateX(50%);
}

.person-head {
  position: absolute;
  top: 0;
  left: 84px;
  width: 96px;
  height: 108px;
  border-radius: 48% 48% 44% 44%;
  background: linear-gradient(160deg, #f1c18d, #a85b2a);
  box-shadow: inset -18px -6px 0 rgba(0, 0, 0, 0.18);
}

.person-head::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 7px;
  width: 92px;
  height: 52px;
  border-radius: 50% 50% 28% 30%;
  background: #15110c;
}

.person-body {
  position: absolute;
  top: 112px;
  left: 22px;
  width: 220px;
  height: 306px;
  border-radius: 110px 110px 34px 34px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(246, 206, 69, 0.8) 49% 51%, transparent 52%),
    linear-gradient(145deg, #151515, #34302a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.person-body::before,
.person-body::after {
  content: "";
  position: absolute;
  top: 40px;
  width: 68px;
  height: 190px;
  border-radius: 999px;
  background: #191919;
}

.person-body::before {
  left: -42px;
  transform: rotate(13deg);
}

.person-body::after {
  right: -42px;
  transform: rotate(-13deg);
}

.person-document {
  position: absolute;
  right: -4px;
  bottom: 44px;
  width: 130px;
  height: 170px;
  border-radius: 12px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 18px 44px / 84px 19px no-repeat,
    linear-gradient(var(--line) 1px, transparent 1px) 18px 76px / 70px 19px no-repeat,
    linear-gradient(var(--line) 1px, transparent 1px) 18px 108px / 88px 19px no-repeat,
    linear-gradient(135deg, var(--paper-strong), #e8d5a5);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24);
  transform: rotate(-8deg);
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 150px;
  padding: 16px;
  border: 1px solid rgba(246, 206, 69, 0.18);
  border-radius: 24px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(5, 5, 5, 0.66);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.floating-card span {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.floating-card small {
  color: rgba(255, 255, 255, 0.7);
}

.card-law {
  top: 110px;
  left: 26px;
}

.card-speed {
  right: 26px;
  bottom: 130px;
}

.ticker {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  margin: 56px auto 0;
  padding: 18px 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(246, 206, 69, 0.14);
  border-bottom: 1px solid rgba(246, 206, 69, 0.14);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker span {
  min-width: max-content;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.ticker span::after {
  content: "•";
  margin-left: 18px;
  color: var(--gold);
}

.intro-strip {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 18% 82%, rgba(255, 255, 255, 0.22)),
    linear-gradient(135deg, var(--champagne), var(--gold) 54%, var(--gold-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.intro-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 112px;
  text-align: center;
}

.intro-strip p {
  margin: 0;
  font-size: clamp(1.55rem, 3.25vw, 3.25rem);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.strip-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--gold);
  background: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
}

.about {
  position: relative;
  padding: 118px 0;
  overflow: hidden;
}

.luxury-watermark {
  position: absolute;
  top: 32px;
  right: -0.12em;
  color: rgba(8, 8, 8, 0.035);
  font-size: clamp(4rem, 17vw, 18rem);
  font-weight: 950;
  letter-spacing: -0.18em;
  line-height: 0.75;
  pointer-events: none;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 7vw, 110px);
}

.section-heading h2,
.client-copy h2,
.review-aside h2,
.blog-head h2,
.cta-grid h2,
.contact-copy h2 {
  font-size: clamp(3.15rem, 6.5vw, 7.2rem);
  letter-spacing: -0.105em;
}

.copy-block p,
.client-copy p,
.services-intro p,
.contact-copy p,
.blog-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.82;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.mini-stats article {
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08)),
    var(--paper-strong);
  box-shadow: 0 18px 54px rgba(73, 52, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mini-stats article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(73, 52, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.mini-stats strong {
  display: block;
  color: var(--gold-deep);
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.09em;
}

.mini-stats span {
  display: block;
  margin-top: 18px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.inline-actions a {
  font-weight: 900;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
}

.signature-card {
  position: relative;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(8, 8, 8, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 0, rgba(246, 206, 69, 0.28), transparent 9rem),
    linear-gradient(135deg, #111, #050505);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.signature-card::after {
  content: "WD";
  position: absolute;
  right: -6px;
  bottom: -22px;
  color: rgba(246, 206, 69, 0.12);
  font-size: 6.8rem;
  font-weight: 950;
  letter-spacing: -0.18em;
}

.signature-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signature-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 560px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.section-image {
  position: relative;
  padding: 150px 0;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.bg-building {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px) 0 0 / 64px 100%,
    linear-gradient(180deg, transparent 0 22%, rgba(246, 206, 69, 0.2) 22% 23%, transparent 23% 100%) 0 0 / 100% 86px,
    radial-gradient(circle at 77% 28%, rgba(246, 206, 69, 0.32), transparent 23rem),
    linear-gradient(135deg, #221c0f, #070707 62%);
}

.section-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.42));
}

.client-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: end;
  gap: 70px;
}

.client-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 26px;
}

.client-copy .btn {
  margin-top: 34px;
}

.client-list {
  display: grid;
  gap: 14px;
}

.client-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 28px;
  border: 1px solid rgba(246, 206, 69, 0.13);
  border-radius: 999px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.client-list a::after {
  content: "→";
  color: var(--gold);
}

.client-list a:hover {
  transform: translateX(8px);
  border-color: rgba(246, 206, 69, 0.52);
  background: rgba(246, 206, 69, 0.09);
}

.services {
  position: relative;
  padding: 130px 0 118px;
  overflow: hidden;
}

.section-watermark {
  position: absolute;
  top: 44px;
  left: 50%;
  width: max-content;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 206, 69, 0.09);
  font-size: clamp(4.8rem, 15vw, 15rem);
  font-weight: 950;
  letter-spacing: -0.14em;
  line-height: 0.8;
  transform: translateX(-50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 62px;
}

.services-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.chess-card {
  position: relative;
  min-height: 430px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(246, 206, 69, 0.15);
  border-radius: 44px;
  background:
    radial-gradient(circle at 82% 16%, rgba(246, 206, 69, 0.18), transparent 13rem),
    linear-gradient(45deg, rgba(255, 255, 255, 0.065) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.065) 75%) 0 0 /
      62px 62px,
    linear-gradient(45deg, transparent 25%, rgba(246, 206, 69, 0.13) 25% 75%, transparent 75%) 31px 31px / 62px 62px,
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-heavy), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.chess-card::after {
  content: "WD";
  position: absolute;
  right: -22px;
  bottom: -34px;
  color: rgba(246, 206, 69, 0.12);
  font-size: 14rem;
  font-weight: 950;
  letter-spacing: -0.14em;
}

.chess-card strong {
  position: relative;
  display: block;
  max-width: 620px;
  margin: 38px 0 30px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 26px;
  border: 1px solid rgba(246, 206, 69, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(246, 206, 69, 0.12);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(246, 206, 69, 0.5);
  background:
    radial-gradient(circle at 82% 18%, rgba(246, 206, 69, 0.16), transparent 12rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(246, 206, 69, 0.055);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(246, 206, 69, 0.22);
}

.service-card h3 {
  margin: 32px 0 14px;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.service-card p {
  min-height: 90px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.service-card a {
  color: var(--gold);
  font-weight: 900;
}

.service-card .service-card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  cursor: pointer;
}

.service-card .service-card-link:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: -8px;
}

body:not([class]) [aria-hidden="true"],
body:not([class]) .section-watermark,
body:not([class]) .contact-marquee {
  -webkit-user-select: none;
  user-select: none;
}

.reviews {
  position: relative;
  padding: 124px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(246, 206, 69, 0.16), transparent 20rem),
    var(--paper);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.review-aside ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.review-aside li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 850;
}

.review-aside li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(246, 206, 69, 0.18);
}

.review-panel {
  position: relative;
  min-height: 462px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 20% 20%, rgba(246, 206, 69, 0.25), transparent 16rem),
    radial-gradient(circle at 88% 74%, rgba(255, 255, 255, 0.09), transparent 13rem),
    linear-gradient(135deg, #17130a, #050505 66%);
  border: 1px solid rgba(8, 8, 8, 0.08);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.review-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(246, 206, 69, 0.18) 0 2px, transparent 3px);
  background-size: 80px 80px, 110px 110px;
}

.review-comet {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 50%, rgba(248, 228, 172, 0.82), rgba(246, 206, 69, 0.18) 36%, transparent 62%),
    conic-gradient(from 210deg, transparent, rgba(246, 206, 69, 0.24), transparent 42%);
  filter: blur(0.2px);
  opacity: 0.72;
}

.review-comet::after {
  content: "";
  position: absolute;
  right: 170px;
  top: 140px;
  width: 260px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246, 206, 69, 0.32), transparent);
  transform: rotate(-28deg);
}

.review-track {
  position: relative;
  z-index: 1;
  min-height: 462px;
}

.review-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.review-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

.review-card p {
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.18rem, 2vw, 1.85rem);
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.review-card p.collapsed {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.text-button {
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-weight: 900;
}

.review-card strong {
  font-size: 1.08rem;
}

.review-card span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
}

.review-controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.review-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.review-controls button:hover {
  color: var(--ink);
  background: var(--gold);
}

.blog {
  position: relative;
  padding: 124px 0;
  overflow: hidden;
}

.blog::before {
  content: "LAB";
  position: absolute;
  left: -0.1em;
  top: 54px;
  color: rgba(246, 206, 69, 0.055);
  font-size: clamp(7rem, 22vw, 22rem);
  font-weight: 950;
  letter-spacing: -0.16em;
  line-height: 0.72;
}

.blog-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
}

.blog-lab {
  display: inline-grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
  border: 1px solid rgba(246, 206, 69, 0.28);
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  box-shadow: 0 24px 60px rgba(246, 206, 69, 0.2);
  letter-spacing: -0.06em;
}

.blog-head p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.blog-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.blog-card {
  min-height: 360px;
  padding: 30px;
  border: 1px solid rgba(246, 206, 69, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(246, 206, 69, 0.46);
  background:
    radial-gradient(circle at 78% 18%, rgba(246, 206, 69, 0.16), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.092), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.05);
}

.blog-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 58px 0 18px;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.blog-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.blog-card small {
  display: block;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.46);
}

.cta-band {
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.38), transparent 14rem),
    linear-gradient(135deg, var(--champagne), var(--gold) 55%, var(--gold-strong));
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 260px;
}

.cta-grid .kicker {
  color: rgba(8, 8, 8, 0.62);
}

.cta-grid .btn-primary {
  background: var(--ink);
  color: var(--gold);
  box-shadow: none;
}

.contact {
  position: relative;
  padding: 122px 0;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.contact-marquee {
  position: absolute;
  right: -18vw;
  bottom: 18px;
  display: flex;
  gap: 34px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 206, 69, 0.12);
  font-size: clamp(4rem, 10vw, 11rem);
  font-weight: 950;
  letter-spacing: -0.13em;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 66px;
}

.contact-copy p {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-facts {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.contact-facts article {
  padding: 24px;
  border: 1px solid rgba(246, 206, 69, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.contact-facts a,
.contact-facts p {
  margin: 0;
  color: var(--white);
  font-weight: 820;
}

.contact-facts a {
  display: block;
}

.contact-facts a + a {
  margin-top: 7px;
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(246, 206, 69, 0.18);
  border-radius: 44px;
  background:
    radial-gradient(circle at 90% 10%, rgba(246, 206, 69, 0.2), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow-heavy), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-form h3 {
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.form-disabled-notice {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(246, 206, 69, 0.13);
  border-radius: 18px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.006)),
    rgba(0, 0, 0, 0.26);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 54px;
  padding: 0 16px;
}

.contact-form textarea {
  resize: vertical;
  padding: 16px;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(246, 206, 69, 0.82);
  box-shadow: 0 0 0 4px rgba(246, 206, 69, 0.13);
}

.contact-form input.invalid,
.contact-form textarea.invalid,
.contact-form select.invalid {
  border-color: #ff766e;
}

.contact-form small {
  min-height: 16px;
  color: #ffb3ad;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 12px !important;
  margin: 18px 0 0;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.checkbox a {
  color: var(--gold-strong);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.privacy-error {
  display: block;
  margin: 8px 0 16px;
}

.contact-form .btn {
  width: 100%;
  border: 0;
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.contact-form[data-form-disabled] {
  overflow: hidden;
}

.contact-form[data-form-disabled]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 18rem),
    rgba(120, 120, 120, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 0 90px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(3px) grayscale(0.42);
  backdrop-filter: blur(3px) grayscale(0.42);
  pointer-events: none;
}

.contact-form[data-form-disabled] > * {
  position: relative;
  z-index: 0;
}

.contact-form[data-form-disabled] .form-disabled-notice,
.contact-form[data-form-disabled] .form-status {
  z-index: 5;
}

.contact-form[data-form-disabled] h3,
.contact-form[data-form-disabled] .form-grid,
.contact-form[data-form-disabled] .checkbox,
.contact-form[data-form-disabled] .privacy-error,
.contact-form[data-form-disabled] .btn[type="submit"],
.contact-form[data-form-disabled] .telegram-consult {
  z-index: 3;
}

.contact-form[data-form-disabled] .form-disabled-notice {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(430px, calc(100% - 54px));
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.065)),
    rgba(10, 10, 10, 0.62);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.11);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  font-size: clamp(0.88rem, 1.1vw, 1.02rem);
  font-weight: 950;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-align: center;
}

.contact-form[data-form-disabled] .form-disabled-notice a {
  color: var(--gold-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.contact-form[data-form-disabled].form-disabled-pulse .form-disabled-notice {
  animation: formDisabledPulse 0.48s ease;
}

.contact-form[data-form-disabled] input:not([name="website"]),
.contact-form[data-form-disabled] textarea,
.contact-form[data-form-disabled] select {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006)),
    rgba(120, 120, 120, 0.16);
  box-shadow: none;
  filter: grayscale(1);
  opacity: 0.72;
}

.contact-form[data-form-disabled] input:not([name="website"])::placeholder,
.contact-form[data-form-disabled] textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-form[data-form-disabled] label:not(.form-honeypot),
.contact-form[data-form-disabled] .checkbox span {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.48);
}

.contact-form[data-form-disabled] .btn[type="submit"] {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(105deg, rgba(160, 160, 160, 0.28), rgba(84, 84, 84, 0.34));
  box-shadow: none;
  filter: grayscale(1);
  opacity: 0.68;
}

.contact-form[data-form-disabled] .btn[type="submit"]:hover {
  transform: none;
}

.telegram-consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 206, 69, 0.22);
}

.telegram-consult p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 760;
}

.telegram-consult-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 206, 69, 0.96);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.telegram-consult-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(246, 206, 69, 0.12), rgba(246, 206, 69, 0.88), rgba(255, 58, 0, 0.58));
  transform: scaleX(0.74);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.telegram-consult-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 560px) {
  .telegram-consult {
    display: grid;
    gap: 12px;
  }

  .telegram-consult-link {
    width: fit-content;
    font-size: 0.86rem;
  }
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--gold);
  font-weight: 850;
  text-align: center;
}

.form-status a {
  color: var(--gold-strong);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 12% 10%, rgba(246, 206, 69, 0.09), transparent 18rem),
    #050505;
  border-top: 1px solid rgba(246, 206, 69, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 22px;
}

.footer-grid p {
  max-width: 520px;
  margin: 0;
  line-height: 1.72;
}

.footer-grid nav,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact a {
  color: var(--white);
  font-weight: 850;
}

.footer-contact span {
  margin-top: 4px;
}

.footer-contact span:last-child {
  margin-top: 14px;
}

.privacy-page {
  min-width: 320px;
  color: var(--white);
  background: var(--obsidian);
}

.privacy-page .page-shell {
  background:
    radial-gradient(circle at 76% 10%, rgba(246, 206, 69, 0.13), transparent 27rem),
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.07), transparent 24rem),
    linear-gradient(180deg, #000 0, #050505 52rem, #030303 100%);
}

.privacy-hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-items: end;
  padding: clamp(150px, 16vw, 220px) 0 clamp(58px, 8vw, 106px);
  overflow: hidden;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  inset: 18% -8% auto auto;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: 50%;
  opacity: 0.72;
  pointer-events: none;
}

.privacy-hero-grid {
  position: relative;
  z-index: 1;
}

.privacy-hero-copy {
  max-width: 920px;
}

.privacy-hero h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.45rem, 5.2vw, 5.45rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.privacy-hero p:not(.kicker) {
  max-width: 680px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.privacy-content-section {
  padding: 0 0 clamp(80px, 10vw, 150px);
}

.privacy-content {
  max-width: 1020px;
  padding: clamp(28px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(255, 184, 0, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 184, 0, 0.17);
  border-radius: clamp(24px, 3vw, 42px);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34);
}

.privacy-content h2 {
  margin: clamp(34px, 5vw, 58px) 0 18px;
  padding-top: 26px;
  color: var(--white);
  border-top: 1px solid rgba(255, 184, 0, 0.18);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.privacy-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.privacy-content p {
  margin: 0 0 18px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.78;
}

.terms-page .privacy-content .terms-clause {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 13px;
}

.terms-page .terms-clause strong {
  color: rgba(255, 191, 0, 0.82);
  font-weight: 800;
}

.terms-page .terms-clause--star {
  color: rgba(255, 255, 255, 0.9);
}

.privacy-content a,
.privacy-placeholder {
  color: var(--gold-strong);
}

.privacy-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.privacy-consent {
  position: fixed;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(820px, calc(100% - 32px));
  padding: 18px 18px 18px 22px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 184, 0, 0.13), transparent 34%),
    rgba(5, 5, 5, 0.94);
  border: 1px solid rgba(255, 184, 0, 0.28);
  border-radius: 22px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(14px);
  animation: consentRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.privacy-consent[hidden] {
  display: none;
}

.privacy-consent p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.52;
}

.privacy-consent a {
  color: var(--gold-strong);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.privacy-consent button {
  min-height: 46px;
  padding: 0 20px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-strong), #ff7a00 62%, #e41400);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(231, 55, 0, 0.24);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes consentRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .privacy-hero {
    min-height: auto;
    padding: 118px 0 42px;
  }

  .privacy-hero::before {
    width: 78vw;
    inset: 22% -26% auto auto;
  }

  .privacy-hero h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.9rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .privacy-hero p:not(.kicker) {
    margin: 22px 0 26px;
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .privacy-content-section {
    padding-bottom: 58px;
  }

  .privacy-content {
    width: min(100% - 24px, 1020px);
    padding: 24px 18px;
    border-radius: 22px;
  }

  .privacy-content h2 {
    margin: 32px 0 14px;
    padding-top: 22px;
    font-size: 1.38rem;
    line-height: 1.02;
  }

  .privacy-content p {
    font-size: 0.88rem;
    line-height: 1.68;
  }

  .terms-page .privacy-content .terms-clause {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 7px;
    margin-bottom: 12px;
  }

  .privacy-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 14px;
    width: auto;
    padding: 16px;
    border-radius: 18px;
  }

  .privacy-consent p {
    font-size: 0.76rem;
    line-height: 1.48;
  }

  .privacy-consent button {
    width: 100%;
    min-height: 44px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1), transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .desktop-nav,
  .phone-link,
  .header-bot-link {
    display: none !important;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split,
  .client-grid,
  .services-grid,
  .reviews-layout,
  .blog-head,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .art-frame {
    min-height: 560px;
  }

  .service-cards,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero::after,
  .section-watermark,
  .contact-marquee {
    opacity: 0.72;
  }
}

@media (max-width: 760px) {
  .container,
  .hero-grid,
  .ticker {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 10px 10px 14px;
  }

  .hero {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
    letter-spacing: -0.105em;
  }

  .hero-overline {
    align-items: flex-start;
    font-size: 0.72rem;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof span {
    min-height: 32px;
    padding: 0 11px;
    font-size: 0.74rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .art-frame {
    min-height: 490px;
    border-radius: 30px;
  }

  .art-emblem {
    top: 28px;
    right: 22px;
    width: 84px;
    height: 84px;
    font-size: 1.5rem;
  }

  .art-person {
    bottom: 48px;
    transform: translateX(50%) scale(0.78);
    transform-origin: bottom center;
  }

  .floating-card {
    width: 126px;
    padding: 13px;
  }

  .card-law {
    top: 72px;
    left: 14px;
  }

  .card-speed {
    right: 14px;
    bottom: 84px;
  }

  .intro-strip .container {
    gap: 12px;
    min-height: 96px;
  }

  .strip-icon {
    flex-basis: 42px;
    height: 42px;
    font-size: 0.72rem;
  }

  .about,
  .reviews,
  .blog,
  .contact {
    padding: 84px 0;
  }

  .section-image,
  .services {
    padding: 94px 0;
  }

  .mini-stats,
  .service-cards,
  .blog-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .signature-card {
    padding: 20px;
  }

  .section-watermark,
  .luxury-watermark,
  .blog::before,
  .contact-marquee {
    display: none;
  }

  .client-list a {
    min-height: 66px;
  }

  .review-panel,
  .review-track {
    min-height: 520px;
  }

  .review-controls {
    right: 22px;
    bottom: 22px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

  .contact-form {
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.mobile-hero-secondary {
  display: none;
}

/* Mobile cinematic pass: first screen and a consistent section rhythm. */
@media (max-width: 760px) {
  .menu-open .mobile-nav a:nth-child(11) { animation-delay: 350ms; }
  .menu-open .mobile-nav a:nth-child(12) { animation-delay: 385ms; }

  .home-page .hero,
  .trademark-page .tm-hero {
    height: calc(100svh - var(--mobile-hero-shrink, 0px));
    min-height: calc(100svh - var(--mobile-hero-shrink, 0px));
    max-height: none;
    box-sizing: border-box;
    overflow: hidden;
    overflow-anchor: none;
    border-radius: 0 0 calc(var(--mobile-hero-progress, 0) * 28px) calc(var(--mobile-hero-progress, 0) * 28px);
    box-shadow:
      0 calc(var(--mobile-hero-progress, 0) * 22px) calc(var(--mobile-hero-progress, 0) * 56px) rgba(0, 0, 0, 0.74),
      0 1px 0 rgba(255, 191, 0, calc(var(--mobile-hero-progress, 0) * 0.58));
    clip-path: inset(
      0 calc(var(--mobile-hero-progress, 0) * 8px) 0 calc(var(--mobile-hero-progress, 0) * 8px)
      round 0 0 calc(var(--mobile-hero-progress, 0) * 28px) calc(var(--mobile-hero-progress, 0) * 28px)
    );
    transition: box-shadow 0.08s linear;
  }

  .home-page .hero {
    padding-top: 68px;
  }

  .home-page .hero-grid {
    height: calc(100svh - 68px - var(--mobile-hero-shrink, 0px));
    min-height: calc(100svh - 68px - var(--mobile-hero-shrink, 0px));
    padding-top: clamp(62px, 9svh, 88px);
    padding-bottom: 34px;
    align-items: start;
  }

  .home-page .hero::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 0;
    left: 22px;
    display: block;
    width: auto;
    height: 1px;
    opacity: var(--mobile-hero-progress, 0);
    background: linear-gradient(90deg, transparent, rgba(255, 197, 43, 0.95) 42%, rgba(255, 74, 0, 0.7), transparent);
    transform: scaleX(calc(0.34 + var(--mobile-hero-progress, 0) * 0.66));
    transform-origin: center;
    pointer-events: none;
  }

  .home-page .hero-copy {
    padding-top: 0;
  }

  .home-page .hero-actions {
    gap: 14px;
    margin-top: 25px;
  }

  .home-page .hero-actions .btn {
    min-height: 58px;
  }

  .mobile-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 4px;
    color: var(--gold-strong);
    border-bottom: 1px solid rgba(255, 191, 0, 0.34);
    font-size: 0.79rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-hero-secondary span {
    font-size: 1.35rem;
    animation: mobileDiagonalPulse 2.1s ease-in-out infinite;
  }

  .trademark-page .tm-hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  .trademark-page .tm-hero-grid {
    height: 100svh;
    min-height: 100svh;
    padding-top: clamp(104px, 15svh, 126px);
    padding-bottom: 42px;
    align-content: start;
  }

  .trademark-page .tm-hero-actions {
    gap: 14px;
    margin-top: 25px;
  }

  .trademark-page .tm-hero-actions .btn {
    min-height: 58px;
  }

  .trademark-page .tm-text-link {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 0 4px;
    border-bottom: 1px solid rgba(255, 191, 0, 0.34);
  }

  .mobile-hero-cinema.home-page .hero-copy,
  .mobile-hero-cinema.trademark-page .tm-hero-copy,
  .mobile-hero-cinema.trademark-page .tm-hero-actions {
    opacity: calc(1 - var(--mobile-hero-progress, 0) * 0.58);
    transform: translate3d(0, calc(var(--mobile-hero-progress, 0) * -38px), 0)
      scale(calc(1 - var(--mobile-hero-progress, 0) * 0.035));
    transform-origin: center top;
    transition: none !important;
    will-change: opacity, transform;
  }

  .mobile-hero-cinema.home-page .hero-art,
  .mobile-hero-cinema.trademark-page .tm-hero-art {
    opacity: calc(0.62 - var(--mobile-hero-progress, 0) * 0.38);
    transform: translate3d(0, calc(var(--mobile-hero-progress, 0) * -54px), 0)
      scale(calc(1 + var(--mobile-hero-progress, 0) * 0.04));
    transition: none !important;
    will-change: opacity, transform;
  }

  .mobile-motion-item {
    transform: translate3d(var(--mobile-motion-x, 0), 28px, 0) scale(0.982);
    transition-duration: 0.62s, 0.78s;
  }

  .trademark-page .tm-reveal-left.visible,
  .trademark-page .tm-reveal-right.visible,
  .trademark-page .tm-reveal-left.mobile-motion-visible,
  .trademark-page .tm-reveal-right.mobile-motion-visible {
    filter: none;
    transform: translate3d(0, 0, 0) skewX(0);
  }
}

@keyframes mobileDiagonalPulse {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(4px, 4px);
  }
}

@media (max-width: 760px) and (max-height: 680px) {
  .home-page .hero-grid {
    padding-top: 42px;
  }

  .home-page .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.15rem);
  }

  .trademark-page .tm-hero-grid {
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .trademark-page .tm-hero h1 {
    font-size: clamp(3.15rem, 15.2vw, 3.7rem);
  }
}

/* Final About Work.Doc content pass */
.about-company-page .company-hero h1 {
  max-width: 840px;
  font-size: clamp(4.25rem, 6.25vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.064em;
  text-transform: none;
}

.about-company-page .company-section-heading h2 {
  font-size: clamp(2.8rem, 4.35vw, 5.4rem);
  line-height: 0.99;
  letter-spacing: -0.058em;
  text-transform: none;
}

.about-company-page .company-founder-row h3,
.about-company-page .company-practice h3,
.about-company-page .company-cta h2 {
  text-transform: none;
}

.about-company-page .company-lead-portrait figcaption {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.company-registry-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin-top: 38px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 184, 0, 0.28);
  color: rgba(255, 255, 255, 0.54) !important;
  font-size: 0.76rem !important;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.45 !important;
  text-transform: uppercase;
}

.company-registry-line a {
  color: var(--gold-strong);
  font-weight: 950;
  white-space: nowrap;
}

.company-founder-note {
  max-width: 1040px;
  margin: 0;
  padding: 32px 0 4px 108px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.57);
  font-size: clamp(0.92rem, 1.08vw, 1.06rem);
  line-height: 1.66;
}

.company-process .company-value-list {
  align-self: start;
}

.company-process .company-value {
  grid-template-columns: 52px minmax(210px, 0.65fr) minmax(0, 1.35fr);
}

.company-practice-note {
  max-width: 1080px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.54);
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  line-height: 1.66;
}

.company-cta-copy {
  max-width: 780px;
  margin: 25px 0 0;
  color: rgba(8, 8, 8, 0.7);
  font-size: clamp(1rem, 1.22vw, 1.2rem);
  font-weight: 650;
  line-height: 1.58;
}

.about-company-page .company-cta h2 {
  max-width: 940px;
  font-size: clamp(3rem, 4.65vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

@media (max-width: 760px) {
  .about-company-page .company-hero h1 {
    font-size: clamp(2.85rem, 12.4vw, 4rem);
    line-height: 0.94;
    letter-spacing: -0.052em;
  }

  .about-company-page .company-section-heading h2,
  .about-company-page .company-founders .company-section-heading h2 {
    min-width: 0;
    font-size: clamp(2.15rem, 9.2vw, 3.05rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .company-registry-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px !important;
    padding-top: 18px;
    font-size: 0.66rem !important;
  }

  .company-registry-line a {
    white-space: normal;
  }

  .company-founder-note {
    padding: 25px 0 0 46px;
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .company-process .company-value {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .company-practice-note {
    margin-top: 26px;
    padding-left: 46px;
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .about-company-page .company-practice h3 {
    font-size: clamp(1.55rem, 7.45vw, 2.3rem);
    line-height: 1;
  }

  .about-company-page .company-cta h2 {
    font-size: clamp(2.4rem, 10.6vw, 3.55rem);
    line-height: 0.98;
  }

  .company-cta-copy {
    margin-top: 20px;
    font-size: 0.94rem;
    line-height: 1.55;
  }
}

/* About Work.Doc — restrained editorial page */
.about-company-page {
  min-width: 320px;
  color: #fff;
  background: #000;
}

.about-company-page .page-shell {
  background: #000;
}

.about-company-page main {
  background: #000;
}

.about-company-page main section[id] {
  scroll-margin-top: 112px;
}

.company-hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(180px, 17vh, 230px) 0 clamp(78px, 8vw, 126px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 184, 0, 0.18);
  background:
    radial-gradient(circle at 77% 34%, rgba(255, 184, 0, 0.1), transparent 28rem),
    linear-gradient(135deg, #000 0%, #080704 62%, #000 100%);
}

.company-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent 2%, #000 34%, #000 86%, transparent);
  opacity: 0.5;
}

.company-hero::after {
  content: "WORK.DOC";
  position: absolute;
  right: -0.07em;
  bottom: -0.16em;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.09);
  font-size: clamp(7rem, 18vw, 20rem);
  font-weight: 950;
  letter-spacing: -0.13em;
  line-height: 0.78;
  white-space: nowrap;
  pointer-events: none;
}

.company-hero-glow {
  position: absolute;
  top: 13%;
  right: 10%;
  z-index: -1;
  width: min(44vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.1), rgba(222, 38, 0, 0.035) 42%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.company-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  align-items: end;
  gap: clamp(58px, 7vw, 120px);
}

.company-hero-copy {
  max-width: 900px;
  padding-bottom: clamp(20px, 4vw, 64px);
}

.company-hero h1,
.company-section-heading h2,
.company-cta h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-wrap: balance;
}

.company-hero h1 {
  max-width: 900px;
  font-size: clamp(4.9rem, 7.35vw, 9rem);
  text-transform: uppercase;
}

.company-hero-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1.04rem, 1.3vw, 1.34rem);
  line-height: 1.62;
}

.company-hero .btn {
  margin-top: 38px;
}

.company-lead-portrait {
  width: min(100%, 540px);
  margin: 0;
  justify-self: end;
}

.company-lead-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-top: 1px solid rgba(255, 184, 0, 0.78);
  border-right: 1px solid rgba(255, 184, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: #111;
}

.company-lead-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.46) 100%),
    linear-gradient(90deg, rgba(255, 184, 0, 0.08), transparent 32%);
  pointer-events: none;
}

.company-lead-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.78) contrast(1.04);
  transform: scale(1.002);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.company-lead-portrait:hover .company-lead-photo img {
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.025);
}

.company-lead-portrait figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.company-lead-portrait figcaption span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 850;
}

.company-lead-portrait figcaption strong {
  color: var(--gold-strong);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.company-origin,
.company-founders,
.company-practices {
  position: relative;
  overflow: hidden;
  background: #000;
}

.company-origin {
  padding: clamp(88px, 7vw, 116px) 0 clamp(28px, 2.6vw, 40px);
}

.company-origin-grid,
.company-values-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(60px, 8vw, 150px);
  align-items: start;
}

.company-section-heading h2 {
  max-width: 720px;
  font-size: clamp(3.15rem, 5.25vw, 6.5rem);
  text-transform: uppercase;
}

.company-section-heading--wide {
  display: grid;
  grid-template-columns: 0.46fr 1.54fr;
  gap: clamp(36px, 7vw, 120px);
  align-items: start;
}

.company-section-heading--wide .kicker {
  padding-top: 0.45em;
}

.company-section-heading--wide h2 {
  max-width: 980px;
}

.company-origin-copy {
  max-width: 850px;
  padding-top: 2px;
}

.company-origin-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.34rem);
  line-height: 1.68;
}

.company-origin-copy p:first-child {
  color: #fff;
  font-size: clamp(1.32rem, 1.85vw, 1.84rem);
  font-weight: 760;
  line-height: 1.46;
  letter-spacing: -0.025em;
}

.company-origin-copy p + p {
  margin-top: 25px;
}

.company-origin-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(72px, 7vw, 112px);
  border-top: 1px solid rgba(255, 184, 0, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-origin-facts > div {
  min-height: 128px;
  padding: 28px clamp(20px, 2.8vw, 46px);
}

.company-origin-facts > div:first-child {
  padding-left: 0;
}

.company-origin-facts > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.company-origin-facts span,
.company-founder-index,
.company-value > span,
.company-practice > span {
  display: block;
  color: var(--gold-strong);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.company-origin-facts strong {
  display: block;
  max-width: 270px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.4vw, 1.38rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.company-founders {
  padding: clamp(36px, 3.2vw, 48px) 0 clamp(88px, 7vw, 118px);
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.company-partner-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(56px, 8vw, 140px);
  align-items: start;
  margin-top: clamp(50px, 5vw, 76px);
}

.company-partners .company-section-heading--wide {
  grid-template-columns: 1fr;
  gap: 18px;
}

.company-partners .company-section-heading--wide .kicker {
  padding-top: 0;
}

.company-partners .company-section-heading--wide h2 {
  max-width: 980px;
}

.company-process .company-values-grid {
  grid-template-columns: 1fr;
  gap: clamp(46px, 5vw, 72px);
}

.company-process .company-section-heading {
  position: static;
}

.company-process .company-section-heading h2 {
  max-width: 980px;
}

.company-practices .company-section-heading--wide {
  grid-template-columns: 1fr;
  gap: 18px;
}

.company-practices .company-section-heading--wide .kicker {
  padding-top: 0;
}

.company-practices .company-section-heading--wide h2 {
  max-width: 980px;
}

.company-partner-copy {
  max-width: 620px;
}

.company-partner-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 1.68;
}

.company-partner-copy p:first-child {
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(1.2rem, 1.55vw, 1.54rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.company-partner-copy p + p {
  margin-top: 24px;
}

.company-partner-scope {
  border-top: 1px solid rgba(255, 184, 0, 0.34);
}

.company-partner-scope article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(25px, 2.4vw, 38px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.company-partner-scope article > span {
  padding-top: 0.45em;
  color: var(--gold-strong);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.company-partner-scope h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.35vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.company-partner-scope p {
  max-width: 700px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.94rem, 1.08vw, 1.06rem);
  line-height: 1.6;
}

.company-founder-list {
  margin-top: clamp(66px, 7vw, 106px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.company-founder-row {
  display: grid;
  grid-template-columns: 76px minmax(330px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: start;
  padding: clamp(34px, 4vw, 60px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.company-founder-row > div {
  min-width: 0;
}

.company-founder-role {
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.company-founder-row h3 {
  margin: 0;
  font-size: clamp(2rem, 3.35vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.company-founder-row > p {
  max-width: 730px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.68;
}

.company-values {
  position: relative;
  padding: clamp(94px, 7.5vw, 126px) 0;
  overflow: hidden;
  color: #090909;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 22% 78%, rgba(255, 255, 255, 0.18)),
    #f1e7d3;
}

.company-values::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(8, 8, 8, 0.055) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}

.company-values-grid {
  position: relative;
}

.company-values .company-section-heading {
  position: static;
}

.company-values .kicker {
  color: #956500;
}

.company-value-list {
  border-top: 1px solid rgba(8, 8, 8, 0.22);
}

.company-value {
  display: grid;
  grid-template-columns: 52px minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(30px, 3.4vw, 52px) 0;
  border-bottom: 1px solid rgba(8, 8, 8, 0.18);
}

.company-value > span {
  color: #956500;
}

.company-value h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.15vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.company-value p {
  margin: 0;
  color: rgba(8, 8, 8, 0.68);
  font-size: clamp(0.98rem, 1.18vw, 1.14rem);
  line-height: 1.65;
}

.company-practices {
  padding: clamp(94px, 7.5vw, 128px) 0 clamp(82px, 6.5vw, 110px);
}

.company-practice-list {
  margin-top: clamp(56px, 5.5vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.company-practice {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
  padding: clamp(25px, 2.65vw, 40px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.company-practice::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-strong), #e11900);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-practice:hover::before {
  width: 100%;
}

.company-practice h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-practice:hover h3 {
  color: var(--gold-strong);
  transform: translateX(8px);
}

.company-practice p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.98rem, 1.18vw, 1.15rem);
  line-height: 1.66;
}

.company-practice a {
  grid-column: 3;
  justify-self: start;
  margin-top: -42px;
  color: var(--gold-strong);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-practice a b {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.22s ease;
}

.company-practice a:hover b {
  transform: translateX(6px);
}

.company-cta {
  position: relative;
  overflow: hidden;
  color: #080808;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.46), transparent 18rem),
    linear-gradient(112deg, #f3d36f 0%, #ffb900 52%, #e34700 100%);
}

.company-cta::after {
  content: "→";
  position: absolute;
  right: -0.03em;
  bottom: -0.28em;
  color: rgba(8, 8, 8, 0.09);
  font-size: clamp(12rem, 30vw, 34rem);
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}

.company-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  min-height: clamp(320px, 31vw, 470px);
}

.company-cta .kicker {
  color: rgba(8, 8, 8, 0.62);
}

.company-cta h2 {
  max-width: 1000px;
  font-size: clamp(3.1rem, 5.45vw, 6.9rem);
  text-transform: uppercase;
}

.company-cta .btn-primary {
  min-width: 350px;
  color: var(--gold-strong);
  background: #050505;
}

@media (max-width: 1120px) {
  .company-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 48px;
  }

  .company-origin-grid,
  .company-values-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 60px;
  }

  .company-founder-row,
  .company-practice {
    grid-template-columns: 56px minmax(250px, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
  }

  .company-value {
    grid-template-columns: 40px 0.8fr 1.2fr;
    gap: 22px;
  }

  .company-cta-grid {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .company-cta .btn-primary {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .about-company-page main section[id] {
    scroll-margin-top: 68px;
  }

  .company-hero {
    min-height: auto;
    padding: 116px 0 58px;
  }

  .company-hero::before {
    background-size: 54px 54px;
    opacity: 0.35;
  }

  .company-hero::after {
    right: -0.02em;
    bottom: 0.02em;
    font-size: 31vw;
    opacity: 0.72;
  }

  .company-hero-glow {
    top: 30%;
    right: -38%;
    width: 118vw;
  }

  .company-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .company-hero-copy {
    padding-bottom: 0;
  }

  .company-hero h1 {
    max-width: 620px;
    font-size: clamp(3.05rem, 14.7vw, 4.65rem);
    line-height: 0.88;
    letter-spacing: -0.065em;
  }

  .company-hero-lead {
    margin-top: 24px;
    font-size: 0.98rem;
    line-height: 1.56;
  }

  .company-hero .btn {
    margin-top: 28px;
  }

  .company-lead-portrait {
    width: 100%;
    max-width: 460px;
    justify-self: start;
  }

  .company-lead-photo {
    aspect-ratio: 4 / 5;
  }

  .company-lead-photo img {
    object-position: 50% 18%;
  }

  .company-lead-portrait figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
  }

  .company-lead-portrait figcaption span {
    font-size: 0.84rem;
  }

  .company-origin,
  .company-founders,
  .company-values,
  .company-practices {
    padding: 62px 0;
  }

  .company-origin {
    padding-bottom: 24px;
  }

  .company-founders {
    padding-top: 28px;
  }

  .company-origin-grid,
  .company-values-grid,
  .company-section-heading--wide {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-section-heading--wide .kicker {
    padding-top: 0;
  }

  .company-section-heading h2 {
    font-size: clamp(2.55rem, 11.7vw, 3.8rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
  }

  .company-founders .company-section-heading h2 {
    min-width: 0;
    font-size: clamp(2.2rem, 9.2vw, 3.35rem);
    letter-spacing: -0.045em;
  }

  .company-origin-copy p,
  .company-origin-copy p:first-child {
    font-size: 1rem;
    line-height: 1.58;
  }

  .company-origin-copy p:first-child {
    font-weight: 780;
  }

  .company-origin-copy p + p {
    margin-top: 18px;
  }

  .company-origin-facts {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .company-origin-facts > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 20px 0;
  }

  .company-origin-facts > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .company-origin-facts strong {
    margin-top: 0;
    font-size: 1rem;
  }

  .company-founder-list,
  .company-practice-list {
    margin-top: 38px;
  }

  .company-partner-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 36px;
  }

  .company-partner-copy p,
  .company-partner-copy p:first-child {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .company-partner-copy p:first-child {
    font-weight: 780;
  }

  .company-partner-copy p + p {
    margin-top: 18px;
  }

  .company-partner-scope article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px 12px;
    padding: 20px 0;
  }

  .company-partner-scope article > span {
    padding-top: 0.35em;
    font-size: 0.64rem;
  }

  .company-partner-scope h3 {
    font-size: clamp(1.45rem, 7vw, 2.05rem);
    line-height: 1.02;
  }

  .company-partner-scope p {
    margin-top: 9px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .company-founder-row,
  .company-practice {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px 12px;
    padding: 24px 0;
  }

  .company-founder-row > div,
  .company-practice h3 {
    grid-column: 2;
  }

  .company-founder-row > p,
  .company-practice p,
  .company-practice a {
    grid-column: 2;
  }

  .company-founder-role {
    margin-bottom: 10px;
    font-size: 0.62rem;
  }

  .company-founder-row h3 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 0.96;
  }

  .company-founder-row > p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .company-values .company-section-heading {
    position: static;
  }

  .company-value {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0;
  }

  .company-value h3,
  .company-value p {
    grid-column: 2;
  }

  .company-value h3 {
    font-size: clamp(1.55rem, 7.4vw, 2.2rem);
  }

  .company-value p,
  .company-practice p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .company-practice h3 {
    font-size: clamp(1.65rem, 8.1vw, 2.5rem);
  }

  .company-practice:hover h3 {
    transform: none;
  }

  .company-practice a {
    margin-top: 3px;
    font-size: 0.67rem;
    line-height: 1.45;
  }

  .company-cta::after {
    right: -0.12em;
    bottom: -0.22em;
    font-size: 58vw;
  }

  .company-cta-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 390px;
    padding: 52px 0;
  }

  .company-cta h2 {
    font-size: clamp(2.7rem, 12.4vw, 4rem);
    line-height: 0.9;
  }

  .company-cta .btn-primary {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-lead-photo img,
  .company-practice::before,
  .company-practice h3,
  .company-practice a b {
    transition: none !important;
  }
}

/* Cinematic Earth / Moon transition between Work.Doc and Kava Quattro */
html.space-arrival-pending::before {
  position: fixed;
  z-index: 100000;
  inset: 0;
  background: #000;
  content: "";
}

html.space-arrival-pending.space-arrival-to-moon::before {
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.9), transparent 23rem),
    radial-gradient(circle at 86% 18%, rgba(160, 120, 78, 0.18), transparent 25rem),
    linear-gradient(135deg, #fffaf2 0%, #f2e5d0 52%, #e5d2b8 100%);
}

body.space-transition-active {
  overflow: hidden;
}

.space-transition {
  position: fixed;
  z-index: 100001;
  inset: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  opacity: 0;
  isolation: isolate;
  pointer-events: all;
  transition: opacity 0.2s ease;
}

.space-transition--to-moon {
  --space-turn-35: -35deg;
  --space-turn-112: -112deg;
  --space-turn-180: -180deg;
}

.space-transition--to-earth {
  --space-turn-35: 35deg;
  --space-turn-112: 112deg;
  --space-turn-180: 180deg;
}

.space-transition.is-running {
  opacity: 1;
}

.space-transition::before,
.space-transition::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.space-transition::before {
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  opacity: 0.052;
  animation: space-film-grain 0.36s steps(2, end) infinite;
}

.space-transition::after {
  z-index: 6;
  background:
    radial-gradient(circle at 52% 47%, transparent 40%, rgba(0, 0, 0, 0.22) 70%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 25%, transparent 72%, rgba(0, 0, 0, 0.25));
}

.space-transition-sky,
.space-transition-stars,
.space-transition-flare,
.space-planet-stage {
  position: absolute;
  inset: 0;
}

.space-transition-sky {
  background:
    radial-gradient(circle at 52% 44%, rgba(61, 78, 116, 0.18), transparent 22%),
    radial-gradient(circle at 78% 34%, rgba(255, 174, 0, 0.08), transparent 19%),
    linear-gradient(135deg, #010204 0%, #02050b 47%, #000 100%),
    url("assets/workdoc-hero-galaxy-desktop.jpg") center / cover no-repeat;
  filter: saturate(0.72) contrast(1.18) brightness(0.54);
  transform-origin: 54% 47%;
  transform: scale(1.08);
}

.space-transition-sky::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 35%, transparent 70%, rgba(0, 0, 0, 0.28)),
    radial-gradient(circle, transparent 33%, rgba(0, 0, 0, 0.64) 100%);
  content: "";
}

.space-transition-stars {
  z-index: 2;
  width: 100%;
  height: 100%;
  transform-origin: 54% 47%;
  will-change: transform, filter;
}

.space-planet-stage {
  z-index: 3;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.space-earth-stage {
  inset: auto;
  top: 50%;
  left: 50%;
  width: min(92vmax, 1500px);
  height: min(92vmax, 1500px);
  opacity: 0;
}

.space-earth-stage::before,
.space-earth-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.space-earth-stage::before {
  z-index: -1;
  inset: -1.8%;
  background: conic-gradient(
    from 128deg,
    transparent 0 13%,
    rgba(99, 182, 255, 0.03) 19%,
    rgba(117, 199, 255, 0.28) 27%,
    rgba(72, 153, 244, 0.12) 37%,
    transparent 48% 100%
  );
  filter: blur(0.34vmax);
  -webkit-mask-image: radial-gradient(circle, transparent 0 94.8%, #000 97.5% 100%);
  mask-image: radial-gradient(circle, transparent 0 94.8%, #000 97.5% 100%);
}

.space-earth-stage::after {
  z-index: -2;
  inset: -24%;
  background:
    radial-gradient(ellipse at 34% 48%, rgba(69, 142, 238, 0.12), rgba(23, 73, 157, 0.055) 38%, transparent 68%),
    linear-gradient(104deg, rgba(69, 139, 226, 0.05), transparent 56%);
  filter: blur(3.4vmax);
  transform: rotate(-8deg) scale(1.08, 0.86);
}

.space-earth {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #01040b url("assets/space-earth-night-4096.jpg") 44% center / auto 100% repeat-x;
  box-shadow:
    inset -11vmax -2vmax 15vmax rgba(0, 0, 0, 0.97),
    inset 2vmax 0 4vmax rgba(89, 158, 255, 0.22),
    inset 0.45vmax 0 0.9vmax rgba(177, 221, 255, 0.16);
  filter: saturate(1.04) contrast(1.18) brightness(0.9);
  -webkit-mask-image: radial-gradient(circle, #000 0 96.5%, rgba(0, 0, 0, 0.86) 98%, transparent 100%);
  mask-image: radial-gradient(circle, #000 0 96.5%, rgba(0, 0, 0, 0.86) 98%, transparent 100%);
  transform: rotate(-8deg);
}

.space-earth::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("assets/space-earth-clouds-2048.jpg") 48% center / auto 101% repeat-x;
  box-shadow: inset -6vmax 0 8vmax rgba(0, 0, 0, 0.72);
  content: "";
  filter: contrast(1.48) brightness(0.94);
  mix-blend-mode: screen;
  opacity: 0.13;
}

.space-earth::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 26% 28%, rgba(106, 177, 255, 0.16), transparent 22%),
    linear-gradient(102deg, transparent 18%, rgba(0, 4, 15, 0.08) 43%, rgba(0, 0, 0, 0.92) 80%);
  content: "";
  mix-blend-mode: multiply;
}

.space-moon-stage {
  inset: auto;
  top: 50%;
  left: 50%;
  width: min(86vmax, 1400px);
  height: min(86vmax, 1400px);
  opacity: 0;
  isolation: isolate;
  mix-blend-mode: screen;
}

.space-moon-stage::before {
  position: absolute;
  z-index: 0;
  inset: 19%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(225, 232, 239, 0.08) 0%,
    rgba(186, 204, 220, 0.09) 52%,
    rgba(138, 171, 202, 0.12) 63%,
    transparent 74%
  );
  box-shadow: -2.8vmax 0 8.5vmax rgba(126, 164, 200, 0.11);
  content: "";
  filter: blur(1.15vmax);
  transform: translateX(-7%) scale(1.24, 0.92);
}

.space-moon {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("assets/space-moon-3840.jpg") center / contain no-repeat;
  filter: contrast(1.14) brightness(0.88) saturate(0.72);
  mix-blend-mode: screen;
}

.space-moon::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    transparent 31%,
    rgba(0, 0, 0, 0.05) 43%,
    rgba(0, 0, 0, 0.36) 51%,
    rgba(0, 0, 0, 0.82) 59%,
    #000 69%
  );
  content: "";
  mix-blend-mode: multiply;
}

.space-transition-atmosphere {
  position: absolute;
  z-index: 4;
  inset: -12%;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

.space-transition-atmosphere::before {
  position: absolute;
  top: 39%;
  left: -17%;
  width: 112%;
  height: 23%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(87, 135, 193, 0.09) 18%,
    rgba(194, 213, 231, 0.12) 46%,
    rgba(255, 177, 48, 0.055) 71%,
    transparent
  );
  content: "";
  filter: blur(3.2vmax);
  opacity: 0.84;
  transform: rotate(-8deg) scaleY(0.82);
}

.space-transition-atmosphere::after {
  position: absolute;
  right: -16%;
  bottom: 13%;
  width: 82%;
  height: 18%;
  background: linear-gradient(90deg, transparent, rgba(80, 134, 197, 0.09), rgba(219, 230, 239, 0.055) 56%, transparent);
  content: "";
  filter: blur(3.6vmax);
  opacity: 0.68;
  transform: rotate(10deg) scaleY(0.8);
}

.space-transition--to-moon .space-transition-atmosphere {
  background:
    radial-gradient(ellipse at 28% 63%, rgba(80, 139, 208, 0.18), transparent 31%),
    radial-gradient(ellipse at 66% 43%, rgba(216, 226, 235, 0.12), transparent 29%),
    radial-gradient(ellipse at 48% 52%, rgba(255, 185, 57, 0.06), transparent 37%);
}

.space-transition--to-earth .space-transition-atmosphere {
  background:
    radial-gradient(ellipse at 31% 59%, rgba(61, 132, 230, 0.2), transparent 34%),
    radial-gradient(ellipse at 69% 41%, rgba(184, 214, 244, 0.1), transparent 29%),
    radial-gradient(ellipse at 52% 52%, rgba(255, 173, 31, 0.05), transparent 36%);
}

.space-transition-flare {
  z-index: 4;
  inset: 50% auto auto 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px #fff,
    0 0 54px rgba(255, 193, 36, 0.94),
    0 0 132px rgba(255, 87, 0, 0.58),
    -34vmax 0 8vmax rgba(255, 189, 20, 0.15),
    34vmax 0 8vmax rgba(255, 189, 20, 0.15);
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.space-transition-flare::after {
  display: none;
}

.space-transition-bridge {
  position: absolute;
  z-index: 7;
  inset: -2px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, filter;
}

.space-transition--to-moon .space-transition-bridge {
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.92), transparent 23rem),
    radial-gradient(circle at 86% 18%, rgba(160, 120, 78, 0.18), transparent 25rem),
    linear-gradient(135deg, #fffaf2 0%, #f2e5d0 52%, #e5d2b8 100%);
}

.space-transition--to-earth .space-transition-bridge {
  background:
    radial-gradient(circle at 34% 56%, rgba(19, 54, 105, 0.18), transparent 27%),
    radial-gradient(circle at 72% 42%, rgba(255, 175, 0, 0.035), transparent 22%),
    #000;
}

.space-transition-hud {
  position: absolute;
  z-index: 7;
  top: clamp(28px, 5vw, 74px);
  left: clamp(22px, 5.3vw, 88px);
  display: grid;
  gap: 7px;
  max-width: min(72vw, 480px);
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}

.space-transition-hud span,
.space-transition-hud em,
.space-transition-credit {
  font-family: Arial, sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.space-transition-hud span {
  color: #ffb600;
  font-size: clamp(0.56rem, 0.7vw, 0.72rem);
  font-weight: 800;
}

.space-transition-hud strong {
  font-size: clamp(1.25rem, 2.2vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.space-transition-hud em {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.46rem, 0.52vw, 0.6rem);
}

.space-transition-destination {
  position: absolute;
  z-index: 8;
  right: clamp(24px, 5.4vw, 94px);
  bottom: clamp(34px, 6vw, 84px);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  will-change: transform, opacity;
  isolation: isolate;
}

.space-transition-destination::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 190%;
  height: 240%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.22), rgba(255, 104, 0, 0.07) 34%, transparent 68%);
  content: "";
  filter: blur(18px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.56);
  pointer-events: none;
}

.space-transition-destination.is-coffee img {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(155px, 19vw, 300px);
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85));
  clip-path: inset(25% 5% 25% 5%);
  mix-blend-mode: screen;
  transform: scale(1.28);
}

.space-transition-destination.is-workdoc strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.space-transition-destination.is-workdoc span {
  color: #ffb600;
}

.space-transition-credit {
  position: absolute;
  z-index: 8;
  bottom: clamp(16px, 2vw, 26px);
  left: clamp(22px, 5.3vw, 88px);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.44rem;
}

.space-transition--to-moon.is-running:not(.is-arrival) .space-transition-sky,
.space-transition--to-earth.is-running:not(.is-arrival) .space-transition-sky {
  animation: space-sky-departure 6.4s cubic-bezier(0.34, 0, 0.2, 1) both;
}

.space-transition--to-moon.is-running:not(.is-arrival) .space-transition-stars,
.space-transition--to-earth.is-running:not(.is-arrival) .space-transition-stars {
  animation: space-stars-camera 6.4s cubic-bezier(0.34, 0, 0.2, 1) both;
}

.space-transition--to-moon.is-running:not(.is-arrival) .space-earth-stage {
  animation: earth-departure 6.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.space-transition--to-moon.is-running:not(.is-arrival) .space-earth {
  animation: earth-spin 6.4s linear both;
}

.space-transition--to-moon.is-running:not(.is-arrival) .space-earth::before {
  animation: earth-clouds 6.4s linear both;
}

.space-transition--to-moon.is-running:not(.is-arrival) .space-moon-stage {
  animation: moon-arrival 6.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.space-transition--to-earth.is-running:not(.is-arrival) .space-moon-stage {
  animation: moon-departure 6.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.space-transition--to-earth.is-running:not(.is-arrival) .space-earth-stage {
  animation: earth-arrival 6.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.space-transition--to-earth.is-running:not(.is-arrival) .space-earth {
  animation: earth-spin-reverse 6.4s linear both;
}

.space-transition--to-earth.is-running:not(.is-arrival) .space-earth::before {
  animation: earth-clouds-reverse 6.4s linear both;
}

.space-transition.is-running:not(.is-arrival) .space-transition-flare {
  animation: space-flare 6.4s ease-in-out both;
}

.space-transition.is-running:not(.is-arrival) .space-transition-atmosphere {
  animation: space-atmosphere-drift 6.4s cubic-bezier(0.34, 0, 0.2, 1) both;
}

.space-transition.is-running:not(.is-arrival) .space-transition-hud {
  animation: space-hud 6.4s ease both;
}

.space-transition.is-running:not(.is-arrival) .space-transition-destination {
  animation: space-destination 6.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.space-transition.is-running:not(.is-arrival) .space-transition-destination::before {
  animation: space-destination-light 6.4s ease-out both;
}

.space-transition.is-running:not(.is-arrival) .space-transition-bridge {
  animation: space-page-bridge 6.4s cubic-bezier(0.22, 0.72, 0.22, 1) both;
}

.space-transition.is-arrival {
  opacity: 1;
}

.space-transition.is-arrival .space-transition-sky,
.space-transition.is-arrival .space-transition-stars,
.space-transition.is-arrival .space-earth-stage,
.space-transition.is-arrival .space-moon-stage,
.space-transition.is-arrival .space-transition-atmosphere {
  display: none;
}

.space-transition.is-arrival .space-transition-bridge {
  opacity: 1;
}

.space-transition--to-moon.is-arrival .space-moon-stage {
  top: 50%;
  left: 50%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(2.22);
}

.space-transition--to-earth.is-arrival .space-earth-stage {
  top: 50%;
  left: 50%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(2.15);
}

.space-transition.is-arrival .space-transition-hud,
.space-transition.is-arrival .space-transition-destination,
.space-transition.is-arrival .space-transition-credit,
.space-transition.is-arrival .space-transition-flare {
  display: none;
}

.space-transition.is-arrival.is-running {
  animation: space-arrival-release 1.85s cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

.space-transition--to-moon.is-arrival.is-running .space-moon-stage,
.space-transition--to-earth.is-arrival.is-running .space-earth-stage {
  animation: space-arrival-planet 1.85s cubic-bezier(0.22, 0.7, 0.3, 1) both;
}

@keyframes space-sky-departure {
  0% { filter: saturate(0.72) contrast(1.18) brightness(0.54); transform: translate3d(0, 0, 0) rotate(0) scale(1.08); }
  24% { filter: saturate(0.82) contrast(1.2) brightness(0.64); transform: translate3d(-0.8%, 0.3%, 0) rotate(0) scale(1.18); }
  38% { filter: saturate(0.88) contrast(1.23) brightness(0.72); transform: translate3d(-1.4%, 0.5%, 0) rotate(var(--space-turn-35)) scale(1.28); }
  54% { filter: saturate(0.94) contrast(1.25) brightness(0.78); transform: translate3d(0.8%, -0.5%, 0) rotate(var(--space-turn-112)) scale(1.4); }
  68% { filter: saturate(0.84) contrast(1.28) brightness(0.64); transform: translate3d(1.8%, -0.7%, 0) rotate(var(--space-turn-180)) scale(1.34); }
  100% { filter: saturate(0.58) contrast(1.34) brightness(0.3); transform: translate3d(2.4%, -0.8%, 0) rotate(var(--space-turn-180)) scale(1.48); }
}

@keyframes space-stars-camera {
  0% { filter: blur(0); transform: translate3d(0, 0, 0) rotate(0) scale(1); }
  24% { filter: blur(0); transform: translate3d(-0.6%, 0.2%, 0) rotate(0) scale(1.025); }
  38% { filter: blur(0.08px); transform: translate3d(-1%, 0.3%, 0) rotate(var(--space-turn-35)) scale(1.05); }
  54% { filter: blur(0.28px); transform: translate3d(0.6%, -0.4%, 0) rotate(var(--space-turn-112)) scale(1.1); }
  68% { filter: blur(0.08px); transform: translate3d(1.4%, -0.6%, 0) rotate(var(--space-turn-180)) scale(1.12); }
  100% { filter: blur(0); transform: translate3d(2%, -0.8%, 0) rotate(var(--space-turn-180)) scale(1.15); }
}

@keyframes space-film-grain {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-1.4%, 0.8%, 0); }
  50% { transform: translate3d(0.9%, -1.2%, 0); }
  75% { transform: translate3d(1.2%, 0.6%, 0); }
  100% { transform: translate3d(-0.6%, -0.9%, 0); }
}

@keyframes earth-departure {
  0% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-24vw, 26vh, 0) rotate(-7deg) scale(1.02); }
  24% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-16vw, 19vh, 0) rotate(-4deg) scale(0.72); }
  38% { opacity: 0.98; filter: blur(0); transform: translate(-50%, -50%) translate3d(-4vw, 5vh, 0) rotate(0) scale(0.24); }
  50% { opacity: 0.26; filter: blur(1.4px); transform: translate(-50%, -50%) translate3d(5vw, -6vh, 0) rotate(5deg) scale(0.045); }
  58% { opacity: 0.04; filter: blur(3px); transform: translate(-50%, -50%) translate3d(7vw, -8vh, 0) rotate(8deg) scale(0.012); }
  66%, 100% { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) translate3d(8vw, -9vh, 0) rotate(10deg) scale(0.006); }
}

@keyframes moon-arrival {
  0%, 55% { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) translate3d(-8vw, 9vh, 0) rotate(6deg) scale(0.006); }
  62% { opacity: 0.08; filter: blur(3.2px); transform: translate(-50%, -50%) translate3d(-7vw, 8vh, 0) rotate(4deg) scale(0.015); }
  70% { opacity: 0.46; filter: blur(1.25px); transform: translate(-50%, -50%) translate3d(-5vw, 6vh, 0) rotate(1deg) scale(0.075); }
  84% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-3vw, 2vh, 0) rotate(-3deg) scale(0.5); }
  100% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-24vw, 7vh, 0) rotate(-7deg) scale(1.72); }
}

@keyframes moon-departure {
  0% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(0) scale(2.22); }
  24% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(1vw, -1vh, 0) rotate(1deg) scale(0.82); }
  38% { opacity: 0.98; filter: blur(0); transform: translate(-50%, -50%) translate3d(5vw, -5vh, 0) rotate(4deg) scale(0.24); }
  50% { opacity: 0.26; filter: blur(1.4px); transform: translate(-50%, -50%) translate3d(8vw, -9vh, 0) rotate(7deg) scale(0.045); }
  58% { opacity: 0.04; filter: blur(3px); transform: translate(-50%, -50%) translate3d(10vw, -11vh, 0) rotate(9deg) scale(0.012); }
  66%, 100% { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) translate3d(11vw, -12vh, 0) rotate(10deg) scale(0.006); }
}

@keyframes earth-arrival {
  0%, 55% { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) translate3d(-8vw, 9vh, 0) rotate(7deg) scale(0.006); }
  62% { opacity: 0.08; filter: blur(3.2px); transform: translate(-50%, -50%) translate3d(-7vw, 8vh, 0) rotate(5deg) scale(0.015); }
  70% { opacity: 0.46; filter: blur(1.25px); transform: translate(-50%, -50%) translate3d(-5vw, 6vh, 0) rotate(2deg) scale(0.078); }
  84% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-3vw, 2vh, 0) rotate(-3deg) scale(0.47); }
  100% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-24vw, 6vh, 0) rotate(-10deg) scale(1.62); }
}

@keyframes earth-spin {
  0% { background-position: 44% center; }
  100% { background-position: 76% center; }
}

@keyframes earth-spin-reverse {
  0% { background-position: 70% center; }
  100% { background-position: 42% center; }
}

@keyframes earth-clouds {
  0% { background-position: 48% center; transform: translateX(0) scale(1.002); }
  100% { background-position: 61% center; transform: translateX(0.25%) scale(1.004); }
}

@keyframes earth-clouds-reverse {
  0% { background-position: 61% center; transform: translateX(0.25%) scale(1.004); }
  100% { background-position: 46% center; transform: translateX(0) scale(1.002); }
}

@keyframes space-flare {
  0%, 41%, 100% { opacity: 0; transform: translate(-50%, -50%); }
  48% { opacity: 0.72; transform: translate(-50%, -50%); }
  52% { opacity: 0.92; transform: translate(-50%, -50%); }
  59% { opacity: 0; transform: translate(-50%, -50%); }
}

@keyframes space-atmosphere-drift {
  0% { opacity: 0.18; transform: translate3d(-2%, 1%, 0) scale(1.04) rotate(0); }
  24% { opacity: 0.4; transform: translate3d(0, 0, 0) scale(1.08) rotate(0); }
  38% { opacity: 0.68; transform: translate3d(0.7%, -0.4%, 0) scale(1.11) rotate(var(--space-turn-35)); }
  54% { opacity: 0.9; transform: translate3d(1.5%, -1%, 0) scale(1.16) rotate(var(--space-turn-112)); }
  68% { opacity: 0.72; transform: translate3d(2.4%, -1.3%, 0) scale(1.18) rotate(var(--space-turn-180)); }
  100% { opacity: 0; transform: translate3d(4%, -2%, 0) scale(1.22) rotate(var(--space-turn-180)); }
}

@keyframes space-hud {
  0%, 9% { opacity: 0; transform: translateY(12px); }
  18%, 66% { opacity: 1; transform: translateY(0); }
  81%, 100% { opacity: 0; transform: translateY(-9px); }
}

@keyframes space-destination {
  0%, 69% { opacity: 0; transform: translateY(18px) scale(0.96); }
  82%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-5px) scale(1.02); }
}

@keyframes space-destination-light {
  0%, 70% { opacity: 0; transform: translate(-50%, -50%) scale(0.56); }
  82% { opacity: 0.82; transform: translate(-50%, -50%) scale(1); }
  96% { opacity: 0.42; transform: translate(-50%, -50%) scale(1.12); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes space-page-bridge {
  0%, 80% { opacity: 0; filter: blur(8px); }
  89% { opacity: 0.08; filter: blur(5px); }
  96% { opacity: 0.58; filter: blur(1px); }
  100% { opacity: 1; filter: blur(0); }
}

@keyframes space-arrival-release {
  0% { opacity: 1; }
  45% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes space-arrival-planet {
  0% { filter: brightness(0.84) blur(0); transform: translate(-50%, -50%) scale(2.22); }
  100% { filter: brightness(1.2) blur(12px); transform: translate(-50%, -50%) scale(2.65); }
}

@media (max-width: 760px) {
  .space-transition-hud {
    top: 25px;
    left: 20px;
    gap: 5px;
  }

  .space-transition-hud strong {
    font-size: 1.35rem;
  }

  .space-transition-destination {
    right: 20px;
    bottom: 42px;
  }

  .space-transition-destination.is-coffee img {
    width: 152px;
  }

  .space-transition-destination.is-workdoc strong {
    font-size: 2.3rem;
  }

  .space-transition-credit {
    bottom: 14px;
    left: 20px;
    letter-spacing: 0.2em;
  }

  .space-earth-stage {
    width: 105vmax;
    height: 105vmax;
  }

  .space-moon-stage {
    width: 95vmax;
    height: 95vmax;
  }

  @keyframes earth-departure {
    0% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(2vw, 45vh, 0) rotate(-7deg) scale(1); }
    24% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(14vw, 37vh, 0) rotate(-4deg) scale(0.7); }
    38% { opacity: 0.98; filter: blur(0); transform: translate(-50%, -50%) translate3d(9vw, 12vh, 0) rotate(0) scale(0.22); }
    50% { opacity: 0.26; filter: blur(1.4px); transform: translate(-50%, -50%) translate3d(7vw, -5vh, 0) rotate(5deg) scale(0.042); }
    58% { opacity: 0.04; filter: blur(3px); transform: translate(-50%, -50%) translate3d(8vw, -8vh, 0) rotate(8deg) scale(0.011); }
    66%, 100% { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) translate3d(9vw, -9vh, 0) rotate(10deg) scale(0.006); }
  }

  @keyframes moon-arrival {
    0%, 55% { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) translate3d(-8vw, 9vh, 0) rotate(6deg) scale(0.006); }
    62% { opacity: 0.08; filter: blur(3.2px); transform: translate(-50%, -50%) translate3d(-7vw, 8vh, 0) rotate(4deg) scale(0.014); }
    70% { opacity: 0.46; filter: blur(1.25px); transform: translate(-50%, -50%) translate3d(-5vw, 6vh, 0) rotate(1deg) scale(0.064); }
    84% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-4vw, 2vh, 0) rotate(-3deg) scale(0.34); }
    100% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-60vw, 8vh, 0) rotate(-7deg) scale(1.02); }
  }

  @keyframes earth-arrival {
    0%, 55% { opacity: 0; filter: blur(5px); transform: translate(-50%, -50%) translate3d(-8vw, 9vh, 0) rotate(7deg) scale(0.006); }
    62% { opacity: 0.08; filter: blur(3.2px); transform: translate(-50%, -50%) translate3d(-7vw, 8vh, 0) rotate(5deg) scale(0.014); }
    70% { opacity: 0.46; filter: blur(1.25px); transform: translate(-50%, -50%) translate3d(-5vw, 6vh, 0) rotate(2deg) scale(0.066); }
    84% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-4vw, 2vh, 0) rotate(-3deg) scale(0.33); }
    100% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) translate3d(-62vw, 8vh, 0) rotate(-10deg) scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .space-transition,
  .space-transition *,
  html.space-arrival-pending::before {
    animation: none !important;
    transition: none !important;
  }
}

/* Trademark plan terms — shared desktop and mobile presentation. */
.tm-plan-star {
  margin-left: 2px;
  color: var(--gold-strong);
  font-size: 0.78em;
}

.tm-plan-card > .tm-plan-terms-link {
  align-self: flex-start;
  justify-content: flex-start;
  gap: 6px;
  margin: -16px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1;
  transition: color 0.24s ease;
}

.tm-plan-card > .tm-plan-terms-link span {
  font-size: 0.82rem;
}

.tm-plan-card > .tm-plan-terms-link:hover {
  color: var(--gold-strong);
}

.tm-condition-page,
.tm-condition-page .page-shell {
  color: var(--white);
  background: #000;
}

.tm-condition-page main {
  overflow: clip;
}

.tm-condition-hero {
  position: relative;
  min-height: 820px;
  padding: 194px 0 112px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 191, 0, 0.08) 1px, transparent 1px) 8vw 0 / 13vw 100%,
    radial-gradient(circle at 84% 18%, rgba(255, 119, 0, 0.19), transparent 30rem),
    radial-gradient(circle at 12% 92%, rgba(197, 0, 0, 0.16), transparent 24rem),
    #030303;
}

.tm-condition-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  width: 56vw;
  height: 56vw;
  border: 1px solid rgba(255, 191, 0, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 191, 0, 0.025), 0 0 0 14vw rgba(255, 191, 0, 0.018);
}

.tm-condition-hero--standard::before {
  content: "25";
  position: absolute;
  right: 4vw;
  bottom: -0.18em;
  color: rgba(255, 191, 0, 0.045);
  font-size: clamp(16rem, 31vw, 38rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.72;
}

.tm-condition-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  align-items: end;
  gap: clamp(56px, 8vw, 136px);
}

.tm-condition-hero-copy {
  max-width: 960px;
}

.tm-condition-hero h1 {
  max-width: 980px;
  margin: 28px 0 32px;
  font-size: clamp(4.5rem, 7.4vw, 9rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-transform: uppercase;
}

.tm-condition-hero-copy > p:not(.kicker) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.58;
}

.tm-condition-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
}

.tm-terms-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 54px;
  color: var(--gold-strong);
  border-bottom: 1px solid rgba(255, 191, 0, 0.42);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tm-condition-metric {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(255, 191, 0, 0.42);
  background: rgba(0, 0, 0, 0.64);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.tm-condition-metric > span {
  color: var(--gold-strong);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.2em;
}

.tm-condition-metric > strong {
  display: block;
  margin-top: 30px;
  color: var(--white);
  font-size: clamp(4rem, 6vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 0.78;
}

.tm-condition-metric > small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tm-condition-metric dl {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.tm-condition-metric dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tm-condition-metric dt,
.tm-condition-metric dd {
  margin: 0;
  font-size: 0.76rem;
}

.tm-condition-metric dt { color: rgba(255, 255, 255, 0.42); }
.tm-condition-metric dd { color: var(--white); font-weight: 850; text-align: right; }

.tm-condition-intro,
.tm-condition-limits,
.tm-condition-monitoring,
.tm-condition-responsibility,
.tm-condition-exclusions,
.tm-condition-cta {
  padding: clamp(82px, 8vw, 124px) 0;
}

.tm-condition-intro,
.tm-condition-limits,
.tm-condition-responsibility,
.tm-condition-cta {
  color: #111;
  background: var(--paper);
}

.tm-condition-intro-grid,
.tm-condition-content-grid,
.tm-condition-limits-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 8vw, 140px);
}

.tm-condition-page h2 {
  margin: 18px 0 0;
  font-size: clamp(3rem, 5.4vw, 6.4rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-transform: uppercase;
}

.tm-condition-notes {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.22);
}

.tm-condition-notes p,
.tm-condition-notes > a {
  margin: 0;
  padding: 22px 0;
  color: rgba(17, 17, 17, 0.68);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  font-size: 1rem;
  line-height: 1.58;
}

.tm-condition-notes strong { color: #111; }
.tm-condition-notes > a { color: #a94700; font-weight: 900; }

.tm-condition-included,
.tm-condition-limit-section {
  padding: clamp(86px, 9vw, 138px) 0;
  background: #050505;
}

.tm-condition-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tm-condition-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tm-condition-list span {
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.tm-condition-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.58;
}

.tm-condition-limits-grid {
  align-items: start;
}

.tm-condition-limits-grid > article:first-child > p:not(.kicker),
.tm-condition-copy p {
  color: rgba(17, 17, 17, 0.68);
  font-size: 1rem;
  line-height: 1.68;
}

.tm-condition-limit-section .tm-condition-limits-grid > article:first-child > p:not(.kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.tm-condition-limit-card {
  padding: clamp(28px, 4vw, 48px);
  color: var(--white);
  background: #090909;
  border-top: 4px solid var(--gold-strong);
}

.tm-condition-limit-card > span {
  color: var(--gold-strong);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tm-condition-limit-card p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.tm-condition-monitoring {
  color: #111;
  background: linear-gradient(180deg, #f5efe4, #efe3d2);
}

.tm-condition-monitoring-head {
  max-width: 980px;
}

.tm-condition-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid rgba(17, 17, 17, 0.24);
  border-left: 1px solid rgba(17, 17, 17, 0.16);
}

.tm-condition-timeline article {
  min-height: 260px;
  padding: 28px 22px;
  border-right: 1px solid rgba(17, 17, 17, 0.16);
  border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.tm-condition-timeline span {
  display: block;
  color: #111;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.tm-condition-timeline strong {
  display: block;
  margin-top: 10px;
  color: #9b5200;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tm-condition-timeline p {
  margin: 74px 0 0;
  color: rgba(17, 17, 17, 0.62);
  line-height: 1.48;
}

.tm-condition-starred {
  position: relative;
  margin-top: 34px !important;
  padding: 22px 0 0 28px;
  border-top: 1px solid rgba(255, 191, 0, 0.42);
}

.tm-condition-starred sup {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--gold-strong);
  font-size: 1.3rem;
}

.tm-condition-exclusions.section-dark,
.tm-condition-exclusions {
  color: var(--white);
  background: #050505;
}

.tm-condition-exclusions ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tm-condition-exclusions li {
  position: relative;
  padding: 20px 0 20px 28px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.56;
}

.tm-condition-exclusions li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-strong);
}

.tm-condition-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
}

.tm-condition-cta .btn {
  min-width: 330px;
}

@media (max-width: 980px) {
  .tm-condition-hero-grid,
  .tm-condition-intro-grid,
  .tm-condition-content-grid,
  .tm-condition-limits-grid {
    grid-template-columns: 1fr;
  }

  .tm-condition-hero-grid { align-items: start; }
  .tm-condition-metric { max-width: 520px; }
  .tm-condition-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tm-condition-cta-grid { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  .tm-condition-hero {
    min-height: 0;
    padding: 118px 0 58px;
  }

  .tm-condition-hero::after {
    right: -42vw;
    bottom: -25vw;
    width: 115vw;
    height: 115vw;
  }

  .tm-condition-hero-grid { gap: 34px; }

  .tm-condition-hero h1 {
    margin: 20px 0 24px;
    font-size: clamp(3rem, 14.4vw, 3.65rem);
    line-height: 0.91;
  }

  .tm-condition-hero-copy > p:not(.kicker) {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .tm-condition-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    margin-top: 28px;
  }

  .tm-condition-actions .btn,
  .tm-terms-text-link {
    width: 100%;
  }

  .tm-terms-text-link {
    padding: 0 4px;
  }

  .tm-condition-metric {
    max-width: none;
    padding: 24px 20px;
  }

  .tm-condition-metric > strong {
    margin-top: 24px;
    font-size: 4rem;
  }

  .tm-condition-intro,
  .tm-condition-limits,
  .tm-condition-monitoring,
  .tm-condition-responsibility,
  .tm-condition-exclusions,
  .tm-condition-cta,
  .tm-condition-included,
  .tm-condition-limit-section {
    padding: 54px 0 52px;
  }

  .tm-condition-intro-grid,
  .tm-condition-content-grid,
  .tm-condition-limits-grid {
    gap: 30px;
  }

  .tm-condition-page h2 {
    font-size: clamp(2.34rem, 10.7vw, 2.75rem);
    line-height: 0.97;
  }

  .tm-condition-notes p,
  .tm-condition-notes > a {
    padding: 17px 0;
    font-size: 0.91rem;
  }

  .tm-condition-list li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .tm-condition-list p,
  .tm-condition-limit-card p,
  .tm-condition-copy p,
  .tm-condition-limits-grid > article:first-child > p:not(.kicker) {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .tm-condition-limit-card { padding: 26px 22px; }

  .tm-condition-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .tm-condition-timeline article {
    min-height: 190px;
    padding: 22px 18px;
  }

  .tm-condition-timeline article:last-child { grid-column: 1 / -1; }
  .tm-condition-timeline span { font-size: 3rem; }
  .tm-condition-timeline p { margin-top: 42px; font-size: 0.84rem; }

  .tm-condition-exclusions li {
    padding-top: 17px;
    padding-bottom: 17px;
    font-size: 0.9rem;
  }

  .tm-condition-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .tm-plan-card > .tm-plan-terms-link {
    margin-top: -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-hero-cinema.home-page .hero-copy,
  .mobile-hero-cinema.home-page .hero-art,
  .mobile-hero-cinema.trademark-page .tm-hero-copy,
  .mobile-hero-cinema.trademark-page .tm-hero-actions,
  .mobile-hero-cinema.trademark-page .tm-hero-art,
  .mobile-hero-secondary span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* AttorneyX-style poster pass */
body {
  color: var(--white);
  background: #000;
}

.page-shell {
  background: #000;
}

.container,
.hero-grid {
  width: min(1660px, calc(100% - 170px));
}

.site-header {
  top: 0;
  left: 0;
  width: 100%;
  min-height: 142px;
  padding: 34px min(5.4vw, 108px) 24px;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #c90000, #ffb900 34%, #f58200 62%, #d50000);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.desktop-nav {
  display: none;
}

.brand {
  display: grid;
  gap: 8px;
  min-width: 260px;
  text-transform: uppercase;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  line-height: 0.8;
}

.brand-mark,
.brand-tail,
.brand-dot {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-mark {
  color: #fff;
  font-size: clamp(2rem, 2.7vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.085em;
}

.brand-dot {
  color: #fff;
  padding: 0 0.04em;
  font-size: clamp(2rem, 2.7vw, 3.6rem);
}

.brand-tail {
  position: relative;
  color: var(--gold-strong);
  font-size: clamp(2rem, 2.7vw, 3.6rem);
  font-weight: 950;
  letter-spacing: -0.11em;
}

.brand-tail::before {
  content: "";
  position: absolute;
  right: -0.42em;
  top: 0.48em;
  width: 1.34em;
  height: 0.08em;
  background: linear-gradient(90deg, var(--gold-strong), #ef1500);
  transform: rotate(-48deg);
  transform-origin: center;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.7rem, 0.9vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.48em;
  line-height: 1;
}

.header-actions {
  grid-column: 3;
  gap: 30px;
}

.phone-link {
  color: #fff;
  font-size: clamp(1.45rem, 2.1vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.menu-toggle {
  display: block;
  width: 54px;
  height: 44px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
}

.menu-toggle span {
  left: 4px;
  width: 46px;
  height: 3px;
}

.menu-toggle span:first-child {
  top: 13px;
}

.menu-toggle span:last-child {
  top: 29px;
}

.mobile-nav {
  top: 116px;
  right: min(5.4vw, 108px);
  left: auto;
  width: min(420px, calc(100% - 36px));
  border-color: rgba(255, 184, 0, 0.28);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.98);
}

.section-dark {
  background: #000;
}

.hero {
  min-height: 100svh;
  padding: 142px 0 0;
  background:
    radial-gradient(circle at 62% 36%, rgba(255, 255, 255, 0.08), transparent 22rem),
    linear-gradient(#000, #000);
}

.hero::before {
  opacity: 0;
}

.hero::after,
.orb,
.hero-glove-shadow {
  display: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(580px, 1.1fr);
  min-height: calc(100svh - 142px);
  align-items: center;
  gap: 40px;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  left: max(-145px, -8vw);
  bottom: max(-140px, -10vw);
  z-index: -1;
  width: min(58vw, 1000px);
  min-width: 690px;
  pointer-events: none;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 42%, transparent 0 22%, rgba(0, 0, 0, 0.18) 44%, rgba(0, 0, 0, 0.7) 86%),
    linear-gradient(90deg, transparent 45%, rgba(0, 0, 0, 0.35));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.boxer-statue {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: brightness(0.78) contrast(1.36) saturate(0.92) drop-shadow(0 38px 45px rgba(0, 0, 0, 0.78));
}

.hero-x-mark {
  position: absolute;
  left: -80px;
  top: 42%;
  width: 320px;
  height: 320px;
  opacity: 0.72;
  transform: translateY(-50%);
}

.hero-x-mark::before,
.hero-x-mark::after {
  content: "";
  position: absolute;
  inset: 48px 0;
  border: 11px solid transparent;
  border-image: linear-gradient(135deg, #ffb900, #ff6500, #d90000) 1;
  transform: skew(-10deg) rotate(45deg);
}

.hero-x-mark::after {
  transform: skew(-10deg) rotate(-45deg);
}

.hero-copy {
  grid-column: 2;
  max-width: 850px;
  padding-top: 40px;
}

.hero-overline {
  display: none;
}

.eyebrow,
.kicker {
  color: var(--gold-strong);
  font-size: clamp(0.95rem, 1.45vw, 1.7rem);
  font-weight: 950;
  letter-spacing: 0.42em;
}

.hero .eyebrow {
  margin-bottom: 34px;
}

.hero h1 {
  max-width: none;
  color: #fff;
  font-size: clamp(5.2rem, 8.4vw, 11.5rem);
  line-height: 0.88;
  letter-spacing: -0.095em;
  text-transform: uppercase;
}

.hero h1 .title-line {
  color: #fff;
  text-shadow: none;
}

.hero h1 .title-accent {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  filter: none;
}

.hero h1 .title-line:last-child {
  letter-spacing: -0.075em;
  word-spacing: normal;
}

.hero h1 .title-combo {
  display: flex;
  gap: 0.16em;
  white-space: nowrap;
}

.hero-text {
  display: none;
}

.hero-actions {
  margin-top: 46px;
}

.btn {
  min-width: 360px;
  min-height: 80px;
  padding: 0 34px;
  justify-content: space-between;
  border-radius: 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.25vw, 1.28rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(105deg, #ffbf00 0%, #ff8700 48%, #df1300 100%);
  box-shadow: none;
}

.btn-primary span {
  margin-left: 28px;
  font-size: 1.45em;
}

.btn:hover {
  transform: translateX(6px);
}

.about {
  min-height: 100svh;
  padding: 190px 0 130px;
  background: #000;
}

.about-logo {
  position: absolute;
  top: 64px;
  left: min(5.4vw, 108px);
  display: grid;
  gap: 8px;
  transform: scale(0.88);
  transform-origin: left top;
}

.about-grid {
  grid-template-columns: minmax(620px, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
}

.about .section-heading {
  max-width: 920px;
  padding-left: 0;
}

.about .section-heading::before {
  content: "";
  position: absolute;
  left: -9.5vw;
  top: -46px;
  width: 1px;
  height: 92vh;
  background: linear-gradient(#e11b00, rgba(225, 27, 0, 0));
}

.about .section-heading h2 {
  color: #fff;
  font-size: clamp(4.2rem, 6.8vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  word-spacing: 0.08em;
  text-transform: uppercase;
}

.about .section-heading p:not(.kicker) {
  max-width: 620px;
  margin: 44px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.15rem, 1.55vw, 1.65rem);
  line-height: 1.32;
}

.inline-actions {
  align-items: center;
  gap: 82px;
  margin-top: 84px;
}

.inline-actions .btn {
  min-width: 312px;
  min-height: 80px;
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  color: var(--gold-strong) !important;
  border: 0 !important;
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.growth-arrow {
  position: relative;
  min-height: 520px;
}

.growth-arrow::before {
  content: "";
  position: absolute;
  right: 2%;
  top: 50%;
  width: min(34vw, 650px);
  height: min(25vw, 480px);
  border-right: 74px solid;
  border-top: 74px solid;
  border-image: linear-gradient(135deg, #ffbd00, #ff6d00 52%, #d90600) 1;
  transform: translateY(-44%) rotate(-3deg) skew(-7deg);
}

.growth-arrow::after {
  content: "";
  position: absolute;
  right: -1%;
  top: 15%;
  width: 0;
  height: 0;
  border-left: 145px solid #df1200;
  border-top: 88px solid transparent;
  border-bottom: 88px solid transparent;
  transform: rotate(-42deg);
}

.section-image {
  min-height: 100svh;
  padding: 150px 0 0;
  background: #000;
}

.bg-building {
  opacity: 1;
  background:
    linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.16) 18%, rgba(0, 0, 0, 0.1) 62%, #000 100%),
    url("assets/workdoc-city.svg") center / cover no-repeat;
}

.section-image::after {
  background: rgba(0, 0, 0, 0.34);
}

.client-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 84px;
}

.client-copy {
  max-width: 1120px;
}

.client-copy h2 {
  color: #fff;
  font-size: clamp(4.4rem, 7.2vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}

.client-copy p {
  max-width: 990px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 1.5vw, 1.6rem);
  line-height: 1.34;
}

.client-list {
  position: relative;
  left: -19px;
  display: grid;
  grid-template-columns: repeat(3, minmax(380px, 1fr));
  gap: 28px;
  margin-left: 270px;
  padding-bottom: 44px;
}

.client-list::before {
  content: "";
  position: absolute;
  left: -250px;
  top: 10px;
  width: 170px;
  height: 170px;
  border-right: 32px solid;
  border-top: 32px solid;
  border-image: linear-gradient(135deg, #ffbf00, #ff7000, #e11200) 1;
  transform: rotate(45deg) skew(-8deg);
}

.client-list a {
  justify-content: center;
  min-height: 188px;
  padding: 0 44px;
  border: 4px solid transparent;
  border-radius: 30px;
  border-image: linear-gradient(135deg, #ffbf00, #ff7b00, #d90600) 1;
  color: var(--gold-strong);
  background: #000;
  font-size: clamp(1.2rem, 1.45vw, 1.7rem);
  letter-spacing: 0.34em;
  text-align: center;
  text-transform: uppercase;
}

.client-list a::after {
  display: none;
}

.client-list a:hover {
  transform: translateY(-8px);
  background: #050505;
}

@media (min-width: 1181px) and (max-width: 1650px) {
  .client-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-left: clamp(180px, 14vw, 230px);
  }

  .client-list::before {
    left: clamp(-205px, -13vw, -165px);
    width: 138px;
    height: 138px;
    border-right-width: 27px;
    border-top-width: 27px;
  }

  .client-list a {
    min-width: 0;
    min-height: 164px;
    padding-inline: 24px;
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    letter-spacing: 0.24em;
  }
}

@media (max-width: 1180px) {
  .container,
  .hero-grid {
    width: min(100% - 56px, 1660px);
  }

  .site-header {
    min-height: 112px;
    padding: 26px 28px 18px;
  }

  .brand {
    min-width: 205px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 112px);
  }

  .hero-copy {
    grid-column: 1;
    margin-left: clamp(260px, 36vw, 440px);
  }

  .hero-art {
    width: 65vw;
    min-width: 520px;
  }

  .client-list {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    left: 0;
    margin-left: 0;
  }

  .client-list::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .container,
  .hero-grid {
    width: min(100% - 28px, 1660px);
  }

  .site-header {
    min-height: 92px;
    padding: 20px 16px 14px;
  }

  .brand {
    min-width: 150px;
  }

  .brand-mark,
  .brand-dot,
  .brand-tail {
    font-size: 1.55rem;
  }

  .brand-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.34em;
  }

  .phone-link {
    display: none;
  }

  .hero {
    min-height: 830px;
    padding-top: 92px;
  }

  .hero-grid {
    min-height: 738px;
    align-items: start;
    padding-top: 120px;
  }

  .hero-copy {
    margin-left: 0;
  }

  .hero-art {
    left: -150px;
    bottom: -75px;
    width: 760px;
    min-width: 0;
    opacity: 0.62;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 20vw, 6.4rem);
  }

  .hero .eyebrow,
  .kicker {
    font-size: 0.82rem;
    letter-spacing: 0.28em;
  }

  .btn,
  .inline-actions .btn {
    min-width: 0;
    width: 100%;
    min-height: 66px;
  }

  .about {
    min-height: auto;
    padding: 130px 0 86px;
  }

  .about-logo {
    top: 28px;
    left: 16px;
    transform: scale(0.72);
  }

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

  .about .section-heading::before,
  .growth-arrow {
    display: none;
  }

  .about .section-heading h2,
  .client-copy h2 {
    font-size: clamp(3.4rem, 16vw, 5.6rem);
  }

  .about .section-heading p:not(.kicker),
  .client-copy p {
    font-size: 1.05rem;
  }

  .inline-actions {
    gap: 26px;
    margin-top: 42px;
  }

  .section-image {
    min-height: auto;
    padding: 100px 0 70px;
  }

  .client-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .client-list a {
    min-height: 112px;
    border-width: 3px;
    letter-spacing: 0.22em;
  }
}

/* Full-site poster tightening */
html {
  scrollbar-color: #e02100 #070707;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: 5px;
  height: 100vh;
  background: linear-gradient(#ffbf00, #e01a00);
  opacity: 0.75;
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#ffbf00, #e01a00);
  border-radius: 999px;
}

.section-heading,
.client-copy,
.review-aside,
.blog-head,
.contact-copy {
  position: relative;
}

.section-heading h2,
.review-aside h2,
.blog-head h2,
.contact-copy h2,
.cta-grid h2 {
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.services {
  min-height: 100svh;
  padding: 160px 0 120px;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 94, 0, 0.13), transparent 25rem),
    #000;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
}

.section-watermark {
  top: 72px;
  left: auto;
  right: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.16);
  font-size: clamp(5rem, 13vw, 17rem);
  letter-spacing: -0.1em;
  transform: none;
}

.services-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  gap: 54px;
}

.services .section-heading {
  max-width: 1180px;
}

.services .section-heading h2 {
  font-size: clamp(4.5rem, 7.6vw, 10rem);
  word-spacing: 0.08em;
}

.services-intro {
  width: min(780px, 100%);
  margin-left: auto;
}

.chess-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.chess-card::after {
  display: none;
}

.chess-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.35;
}

.chess-card strong {
  margin: 28px 0 34px;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 3rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.service-cards {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 78px;
  border-top: 2px solid rgba(255, 184, 0, 0.88);
  border-left: 2px solid rgba(255, 184, 0, 0.88);
}

.service-card {
  min-height: 380px;
  padding: 34px 30px;
  border: 0;
  border-right: 2px solid rgba(255, 184, 0, 0.88);
  border-bottom: 2px solid rgba(255, 184, 0, 0.88);
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.service-card::after {
  content: none;
  display: none;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 184, 0, 0.88);
  background:
    linear-gradient(145deg, rgba(255, 184, 0, 0.08), rgba(226, 24, 0, 0.07)),
    #050505;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
}

.service-card span {
  display: block;
  width: auto;
  height: auto;
  color: var(--gold-strong);
  background: transparent;
  box-shadow: none;
  font-size: clamp(2.5rem, 4vw, 5rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.service-card h3 {
  margin: 70px 0 20px;
  color: #fff;
  font-size: clamp(1.65rem, 2.2vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.service-card p {
  min-height: 96px;
  color: rgba(255, 255, 255, 0.74);
}

.reviews {
  padding: 150px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(224, 24, 0, 0.12) 0 1px, transparent 1px) 10vw 0 / 1px 100% no-repeat,
    radial-gradient(circle at 78% 18%, rgba(255, 184, 0, 0.12), transparent 24rem),
    #000;
}

.reviews-layout {
  grid-template-columns: minmax(420px, 0.8fr) minmax(560px, 1.2fr);
  gap: 90px;
}

.review-aside h2 {
  font-size: clamp(4rem, 6.2vw, 8.8rem);
}

.review-aside li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.review-panel {
  min-height: 560px;
  border: 3px solid transparent;
  border-radius: 0;
  border-image: linear-gradient(135deg, #ffbf00, #ff6d00, #d90600) 1;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 184, 0, 0.16), transparent 16rem),
    #020202;
  box-shadow: none;
}

.review-panel::before {
  content: "CLIENTS";
  inset: auto 22px 4px auto;
  opacity: 1;
  color: rgba(255, 255, 255, 0.055);
  background: none;
  font-size: clamp(5rem, 10vw, 12rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.8;
}

.review-comet {
  right: -70px;
  top: -80px;
  opacity: 0.95;
}

.review-track {
  min-height: 560px;
}

.review-card {
  padding: clamp(34px, 5vw, 76px);
}

.stars {
  font-size: 1.6rem;
}

.review-card p {
  max-width: 780px;
  font-size: clamp(1.5rem, 2.3vw, 3rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.text-button {
  color: var(--gold-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-controls button {
  width: 64px;
  height: 64px;
  border-color: rgba(255, 184, 0, 0.86);
  border-radius: 0;
  color: var(--gold-strong);
  background: #000;
  font-size: 1.45rem;
}

.blog {
  padding: 150px 0;
  background: #000;
}

.blog::before {
  left: auto;
  right: -0.12em;
  top: 60px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.14);
}

.blog-head {
  grid-template-columns: 1fr;
  max-width: 1180px;
}

.blog-lab {
  width: auto;
  height: auto;
  place-items: start;
  border: 0;
  border-radius: 0;
  color: var(--gold-strong);
  background: transparent;
  box-shadow: none;
  letter-spacing: 0.42em;
}

.blog-head h2 {
  font-size: clamp(4rem, 6.6vw, 9rem);
}

.blog-head p:last-child {
  max-width: 780px;
  margin-top: 30px;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  line-height: 1.35;
}

.blog-grid {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 72px;
  border-top: 2px solid rgba(255, 184, 0, 0.7);
}

.blog-card {
  display: grid;
  grid-template-columns: 0.22fr 0.72fr 1fr 0.28fr;
  align-items: center;
  min-height: 176px;
  padding: 32px 0;
  border: 0;
  border-bottom: 2px solid rgba(255, 184, 0, 0.7);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-card:hover {
  transform: none;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.06), rgba(224, 24, 0, 0.06), transparent);
}

.blog-card span {
  color: var(--gold-strong);
  letter-spacing: 0.2em;
}

.blog-card h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 3.3rem);
  text-transform: uppercase;
}

.blog-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.blog-card small {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  text-align: right;
}

.cta-band {
  background: linear-gradient(100deg, #ffbf00 0%, #ff7600 50%, #d90700 100%);
}

.cta-grid {
  min-height: 330px;
}

.cta-grid h2 {
  color: #000;
  font-size: clamp(4rem, 7vw, 9.5rem);
}

.cta-grid .kicker {
  color: rgba(0, 0, 0, 0.66);
}

.cta-grid .btn-primary {
  color: #fff;
  background: #000;
}

.contact {
  padding: 160px 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 184, 0, 0.12), transparent 23rem),
    #000;
}

.contact-grid {
  grid-template-columns: minmax(480px, 0.92fr) minmax(560px, 1.08fr);
  gap: 90px;
}

.contact-copy h2 {
  font-size: clamp(4rem, 6.2vw, 8.6rem);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  line-height: 1.35;
}

.contact-facts article {
  border: 0;
  border-left: 2px solid rgba(255, 184, 0, 0.85);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form {
  border: 3px solid transparent;
  border-radius: 0;
  border-image: linear-gradient(135deg, #ffbf00, #ff6d00, #d90600) 1;
  background: #020202;
  box-shadow: none;
}

.contact-form h3 {
  font-size: clamp(2.8rem, 4.6vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-color: rgba(255, 184, 0, 0.34);
  border-radius: 0;
  background: #000;
}

.site-footer {
  padding: 74px 0;
  background: #000;
}

.footer-grid {
  align-items: start;
  border-top: 2px solid rgba(255, 184, 0, 0.58);
  padding-top: 40px;
}

.footer-brand {
  min-width: 240px;
}

@media (max-width: 1180px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    grid-template-columns: 0.35fr 1fr;
    gap: 18px 34px;
  }

  .blog-card p,
  .blog-card small {
    grid-column: 2;
  }

  .blog-card small {
    text-align: left;
  }
}

@media (max-width: 760px) {
  body::before {
    width: 3px;
  }

  .services,
  .reviews,
  .blog,
  .contact {
    padding: 88px 0;
  }

  .services .section-heading h2,
  .review-aside h2,
  .blog-head h2,
  .contact-copy h2,
  .cta-grid h2 {
    font-size: clamp(3rem, 14vw, 5rem);
    letter-spacing: -0.045em;
  }

  .service-cards {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .service-card {
    min-height: 300px;
  }

  .service-card h3 {
    margin-top: 46px;
  }

  .review-panel,
  .review-track {
    min-height: 520px;
  }

  .blog-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 14px;
  }

  .blog-card p,
  .blog-card small {
    grid-column: auto;
  }

  .cta-grid {
    min-height: 260px;
  }

  .contact-form {
    padding: 24px;
  }
}

/* Motion polish pass */
:root {
  --pointer-x: 0;
  --pointer-y: 0;
}

.site-header {
  transition: min-height 0.28s ease, padding 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.site-header.scrolled {
  min-height: 104px;
  padding-top: 22px;
  padding-bottom: 18px;
}

.brand-tail::before {
  animation: xPulse 3.8s ease-in-out infinite;
}

.boxer-statue {
  transform: translate3d(calc(var(--pointer-x) * -16px), calc(var(--pointer-y) * -12px), 0);
  transition: transform 0.24s ease-out;
  animation: statueBreath 7s ease-in-out infinite;
}

.hero-x-mark {
  transform: translateY(-50%) translate3d(calc(var(--pointer-x) * 22px), calc(var(--pointer-y) * 16px), 0);
  transition: transform 0.3s ease-out;
  animation: xDrift 9s ease-in-out infinite;
}

.hero-copy {
  transform: translate3d(calc(var(--pointer-x) * 8px), calc(var(--pointer-y) * 5px), 0);
  transition: transform 0.28s ease-out;
}

.hero h1 .title-line {
  will-change: transform, opacity;
}

.hero h1 .title-line:nth-child(1) {
  animation: titleSnap 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 .title-line:nth-child(2) {
  animation: titleSnap 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 .title-line:nth-child(3) {
  animation: titleSnap 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.34) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn span,
.review-link span,
.service-card a,
.client-list a {
  transition: transform 0.24s ease, color 0.24s ease;
}

.btn:hover span,
.review-link:hover span {
  transform: translateX(8px);
}

.growth-arrow::before,
.growth-arrow::after {
  animation: arrowFloat 4.6s ease-in-out infinite;
}

.growth-arrow::after {
  animation-delay: 0.18s;
}

.client-list a,
.service-card,
.blog-card,
.contact-facts article {
  will-change: transform;
}

.client-list a:hover {
  color: #fff;
}

.client-list a::before,
.service-card::before,
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 184, 0, 0.18), rgba(224, 24, 0, 0.12), transparent);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity 0.28s ease, transform 0.38s ease;
}

.client-list a:hover::before,
.service-card:hover::before,
.blog-card:hover::before {
  opacity: 1;
  transform: translateX(18%);
}

.service-card span {
  transition: transform 0.24s ease, text-shadow 0.24s ease;
}

.service-card:hover span {
  transform: translateY(-6px);
  text-shadow: 0 0 26px rgba(255, 184, 0, 0.34);
}

.review-comet {
  animation: cometOrbit 8s ease-in-out infinite;
}

.review-card.active .stars {
  animation: starsPop 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.review-card.active p {
  animation: quoteLift 0.55s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-marquee {
  animation: marqueeSlide 28s linear infinite;
}

.contact-form {
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 12%;
  width: 22%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffbf00, #e01600, transparent);
  animation: borderScan 4.8s ease-in-out infinite;
}

.reveal {
  filter: blur(8px);
  transform: translate3d(0, 44px, 0) scale(0.985);
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    filter 0.82s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal.visible {
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes titleSnap {
  from {
    opacity: 0;
    transform: translate3d(0, 0.32em, 0) skewY(3deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) skewY(0);
  }
}

@keyframes statueBreath {
  0%,
  100% {
    filter: brightness(0.78) contrast(1.36) saturate(0.92) drop-shadow(0 38px 45px rgba(0, 0, 0, 0.78));
  }

  50% {
    filter: brightness(0.88) contrast(1.42) saturate(0.96) drop-shadow(0 44px 52px rgba(0, 0, 0, 0.82));
  }
}

@keyframes xDrift {
  0%,
  100% {
    opacity: 0.58;
  }

  50% {
    opacity: 0.82;
  }
}

@keyframes xPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: rotate(-48deg) scaleX(1);
  }

  50% {
    opacity: 1;
    transform: rotate(-48deg) scaleX(1.08);
  }
}

@keyframes arrowFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 12px -10px;
  }
}

@keyframes cometOrbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-18px, 14px, 0) rotate(8deg);
  }
}

@keyframes starsPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes quoteLift {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-18%);
  }
}

@keyframes borderScan {
  0%,
  100% {
    left: 5%;
    opacity: 0.25;
  }

  50% {
    left: 72%;
    opacity: 1;
  }
}

@keyframes formDisabledPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  45% {
    transform: translate(-50%, -50%) scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-tail::before,
  .boxer-statue,
  .hero-x-mark,
  .hero h1 .title-line,
  .growth-arrow::before,
  .growth-arrow::after,
  .review-comet,
  .review-card.active .stars,
  .review-card.active p,
  .contact-marquee,
  .contact-form::before,
  .contact-form[data-form-disabled].form-disabled-pulse .form-disabled-notice {
    animation: none !important;
  }

  .boxer-statue,
  .hero-x-mark,
  .hero-copy {
    transform: none !important;
  }
}

/* Mobile-only proportion fix — keep desktop untouched */
@media (max-width: 760px) {
  .container,
  .hero-grid {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .site-header {
    min-height: 92px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-grid {
    min-height: 698px;
    padding-top: 150px;
    overflow: hidden;
  }

  .hero-copy,
  .section-heading,
  .client-copy,
  .review-aside,
  .blog-head,
  .contact-copy {
    max-width: 100%;
    min-width: 0;
  }

  .hero-art {
    left: -185px;
    bottom: -68px;
    width: 700px;
    opacity: 0.52;
  }

  .hero-x-mark {
    left: -38px;
    width: 220px;
    height: 220px;
    opacity: 0.45;
  }

  .hero .eyebrow,
  .kicker,
  .blog-lab {
    max-width: 100%;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.45rem, 15.4vw, 4.55rem);
    line-height: 0.88;
    letter-spacing: -0.062em;
  }

  .hero h1 .title-combo {
    display: block;
    white-space: normal;
  }

  .hero h1 .title-combo span {
    display: block;
  }

  .btn,
  .inline-actions .btn,
  .contact-form .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 64px;
    padding: 0 18px;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
  }

  .about .section-heading h2,
  .client-copy h2,
  .services .section-heading h2,
  .review-aside h2,
  .blog-head h2,
  .contact-copy h2,
  .cta-grid h2 {
    max-width: 100%;
    font-size: clamp(2.78rem, 11.6vw, 4.18rem);
    line-height: 0.94;
    letter-spacing: -0.035em;
    word-spacing: 0.02em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .client-copy h2,
  .services .section-heading h2 {
    font-size: clamp(2.3rem, 9.55vw, 3.52rem);
    letter-spacing: -0.03em;
  }

  .about .section-heading p:not(.kicker),
  .client-copy p,
  .chess-card p,
  .contact-copy p,
  .blog-head p:last-child {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.42;
  }

  .services {
    padding-top: 112px;
  }

  .services-intro {
    width: 100%;
    margin-left: 0;
  }

  .chess-card strong {
    font-size: clamp(1.36rem, 6vw, 2rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
  }

  .service-card {
    padding: 26px 22px;
  }

  .service-card h3 {
    font-size: clamp(1.45rem, 7vw, 2.15rem);
    line-height: 1;
  }

  .review-card p {
    font-size: clamp(1.22rem, 6.2vw, 1.86rem);
    line-height: 1.16;
  }

  .contact-form h3 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
    letter-spacing: -0.052em;
  }

  .form-grid {
    gap: 12px;
  }

  .contact-form input,
  .contact-form select {
    height: 50px;
  }

  .footer-grid {
    gap: 28px;
  }
}


/* Donor-mobile alignment pass — desktop untouched */
@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 13px 14px 9px;
  }

  .site-header.scrolled {
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .brand {
    min-width: 118px;
    gap: 5px;
  }

  .brand-mark,
  .brand-dot,
  .brand-tail {
    font-size: 1.18rem;
  }

  .brand-subtitle {
    font-size: 0.44rem;
    letter-spacing: 0.34em;
  }

  .menu-toggle {
    width: 44px;
    height: 34px;
  }

  .menu-toggle span {
    left: 3px;
    width: 38px;
    height: 2px;
  }

  .menu-toggle span:first-child {
    top: 9px;
  }

  .menu-toggle span:last-child {
    top: 23px;
  }

  .hero {
    min-height: 690px;
    padding-top: 70px;
  }

  .hero-grid {
    min-height: 620px;
    padding-top: 70px;
  }

  .hero-art {
    left: -120px;
    bottom: -58px;
    width: 590px;
    opacity: 0.62;
  }

  .hero-x-mark {
    left: -22px;
    top: 42%;
    width: 210px;
    height: 210px;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 13.2vw, 4.15rem);
    line-height: 0.87;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions .btn {
    min-height: 58px;
  }

  .about {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .about-logo {
    top: 18px;
    left: 50%;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    transform: translateX(-50%);
  }

  .about-logo .brand-row,
  .about-logo .brand-subtitle {
    display: none;
  }

  .about-logo::before,
  .about-logo::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 4px;
    background: linear-gradient(90deg, #ffbf00, #ff6d00, #e01800);
    transform: rotate(45deg);
    box-shadow: 0 0 16px rgba(255, 111, 0, 0.34);
  }

  .about-logo::after {
    transform: rotate(-45deg);
  }

  .about .section-heading {
    padding-top: 34px;
  }

  .section-image {
    padding-top: 76px;
  }

  .clients {
    min-height: auto;
  }

  .reveal {
    filter: blur(3px);
    transform: translate3d(0, 22px, 0) scale(0.995);
    transition-duration: 0.46s;
  }
}

/* Galaxy hero backdrop pass */
.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -6.8rem -8.5rem -5.5rem -5.5rem;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.1) 62%, #000 100%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.04) 38%, #000 100%),
    url("assets/workdoc-hero-galaxy-desktop.jpg") center / cover no-repeat;
  opacity: 0.96;
  filter: brightness(1.08) contrast(1.22) saturate(1.02);
  mask-image: radial-gradient(ellipse at 52% 45%, #000 0 48%, rgba(0, 0, 0, 0.9) 64%, transparent 88%);
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -4rem -4.5rem -3rem -3.5rem;
  border: 1px solid rgba(255, 184, 0, 0.14);
  opacity: 0.5;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 78%, transparent);
  pointer-events: none;
}

.hero-x-mark {
  display: none;
}

.hero-art {
  left: max(-260px, -16vw);
  width: min(48vw, 820px);
  min-width: 600px;
  opacity: 0.68;
}

.hero-art::after {
  background:
    linear-gradient(90deg, transparent 0 38%, rgba(0, 0, 0, 0.78) 66%, #000 92%),
    radial-gradient(circle at 48% 42%, transparent 0 20%, rgba(0, 0, 0, 0.36) 44%, rgba(0, 0, 0, 0.86) 86%);
}

.boxer-statue {
  filter: brightness(0.58) contrast(1.42) saturate(0.82) drop-shadow(0 38px 45px rgba(0, 0, 0, 0.84));
}

@media (max-width: 760px) {
  .hero-copy::before {
    inset: -3.4rem -1.4rem -2.6rem -1.4rem;
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.08) 42%, #000 100%),
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.04) 44%, #000 100%),
      url("assets/workdoc-hero-galaxy-mobile.jpg") center / cover no-repeat;
    opacity: 1;
    filter: brightness(1.08) contrast(1.2) saturate(1.02);
    mask-image: radial-gradient(ellipse at 48% 43%, #000 0 46%, rgba(0, 0, 0, 0.92) 66%, transparent 90%);
  }

  .hero-copy::after {
    inset: -2.4rem -0.6rem -1.7rem -0.6rem;
  }

  .hero-art {
    left: -210px;
    bottom: -84px;
    width: 620px;
    opacity: 0.38;
  }

  .hero-art::after {
    background:
      linear-gradient(90deg, transparent 0 22%, rgba(0, 0, 0, 0.48) 46%, #000 88%),
      radial-gradient(circle at 52% 42%, transparent 0 18%, rgba(0, 0, 0, 0.44) 46%, rgba(0, 0, 0, 0.92) 86%);
  }
}

@media (min-width: 761px) {
  .hero {
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.74) 20%, rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.16) 73%, #000 100%),
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.1) 29%, rgba(0, 0, 0, 0.08) 62%, #000 100%),
      url("assets/workdoc-hero-galaxy-desktop.jpg") center / cover no-repeat,
      #000;
  }

  .hero-art,
  .hero-art::after,
  .boxer-statue,
  .hero-x-mark,
  .hero-copy::before,
  .hero-copy::after {
    content: none;
    display: none;
  }

  .section-watermark {
    letter-spacing: -0.082em;
  }

  .blog::before {
    letter-spacing: -0.145em;
  }

  .contact-marquee {
    letter-spacing: -0.112em;
  }
}

.mobile-call {
  display: none;
  position: relative;
}

.mobile-call-toggle {
  display: grid;
  place-items: center;
  width: 54px;
  height: 44px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  opacity: 0.96;
}

.mobile-call-toggle svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-call-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: -58px;
  z-index: 30;
  display: none;
  width: max-content;
  min-width: 248px;
  padding: 10px;
  border: 1px solid rgba(246, 206, 69, 0.28);
  border-radius: 20px;
  background: rgba(3, 3, 3, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.mobile-call-menu a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: rgba(255, 255, 255, 0.045);
}

.mobile-call-menu a + a {
  margin-top: 7px;
}

.mobile-call-menu span {
  color: var(--gold-strong);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.call-open .mobile-call-menu {
  display: grid;
}

.mobile-call:focus-within .mobile-call-menu {
  display: grid;
}

@media (max-width: 760px) {
  .header-bot-link {
    display: none !important;
  }

  .header-actions {
    gap: 9px;
    padding-right: 2px;
  }

  .mobile-call {
    display: block;
  }

  .call-open .mobile-call-toggle {
    color: var(--gold-strong);
    opacity: 1;
  }

  .mobile-call:focus-within .mobile-call-toggle {
    color: var(--gold-strong);
    opacity: 1;
  }
}

/* Mobile spacing micro-pass — tiny compression only */
@media (max-width: 760px) {
  .about {
    padding-top: 50px;
    padding-bottom: 64px;
  }

  .services {
    padding-top: 102px;
    padding-bottom: 80px;
  }

  .reviews,
  .blog,
  .contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .service-cards,
  .blog-grid {
    margin-top: 42px;
  }

  .contact-facts {
    margin-top: 32px;
  }
}

/* Mobile refinement pass — balanced, not aggressive */
@media (max-width: 760px) {
  .header-actions {
    gap: 8px;
    padding-right: 2px;
  }

  .mobile-call-toggle {
    width: 44px;
    height: 34px;
  }

  .mobile-call-toggle svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.25;
  }

  .mobile-call-menu {
    top: calc(100% + 10px);
    right: -50px;
    min-width: 238px;
  }

  .hero {
    min-height: 670px;
  }

  .hero-grid {
    min-height: 600px;
    padding-top: 64px;
  }

  .hero-art.reveal,
  .hero-art.reveal.visible {
    left: -245px;
    bottom: -52px;
    width: 560px;
    opacity: 0.28;
  }

  .boxer-statue {
    opacity: 0.78;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .about {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .about .section-heading {
    padding-top: 28px;
  }

  .clients.section-image {
    padding-top: 66px;
    padding-bottom: 62px;
  }

  .services {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .services-grid {
    gap: 46px;
  }

  .service-cards {
    margin-top: 36px;
  }

  .service-card {
    min-height: 250px;
  }

  .service-card h3 {
    margin-top: 30px;
  }

  .service-card p {
    min-height: 0;
  }

  .reviews,
  .blog,
  .contact {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .reviews-layout,
  .contact-grid {
    gap: 58px;
  }

  .review-panel,
  .review-track {
    min-height: 492px;
  }

  .review-comet {
    right: -26px;
  }

  .review-card {
    width: 100%;
    max-width: 100%;
  }

  .blog-head p:last-child {
    margin-top: 24px;
  }

  .blog-grid {
    margin-top: 36px;
  }

  .blog-card {
    min-height: 158px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .cta-grid {
    min-height: 232px;
  }

  .contact-facts {
    margin-top: 28px;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .footer-grid {
    gap: 22px;
    padding-top: 32px;
  }
}

/* Mobile heading gap trim */
@media (max-width: 760px) {
  .about-logo {
    display: none;
  }

  .about {
    padding-top: 18px;
  }

  .about .section-heading {
    padding-top: 0;
  }

  .clients.section-image {
    padding-top: 30px;
  }

  .services {
    padding-top: 48px;
  }

  .services-grid {
    gap: 36px;
  }
}

/* Mobile inter-block compression */
@media (max-width: 760px) {
  .about {
    padding-top: 10px;
    padding-bottom: 36px;
  }

  .clients.section-image {
    padding-top: 18px;
    padding-bottom: 38px;
  }

  .services {
    padding-top: 34px;
    padding-bottom: 52px;
  }

  .reviews,
  .blog,
  .contact {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .services-grid,
  .reviews-layout,
  .contact-grid {
    gap: 40px;
  }

  .service-cards,
  .blog-grid {
    margin-top: 28px;
  }

  .review-panel,
  .review-track {
    min-height: 456px;
  }

  .cta-grid {
    min-height: 210px;
  }

  .site-footer {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

/* Mobile hero-to-about gap trim */
@media (max-width: 760px) {
  .hero {
    min-height: 585px;
  }

  .hero-grid {
    min-height: 515px;
    padding-top: 54px;
  }

  .hero-actions {
    margin-top: 18px;
  }
}

/* Mobile galaxy backdrop lift */
@media (max-width: 760px) {
  .hero-copy::before {
    inset: -5.15rem -2rem -3rem -2rem;
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.05) 42%, #000 100%),
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.02) 34%, rgba(0, 0, 0, 0.1) 72%, #000 100%),
      url("assets/workdoc-hero-galaxy-mobile.jpg") center 38% / cover no-repeat;
    filter: brightness(1.14) contrast(1.24) saturate(1.06);
    mask-image: radial-gradient(ellipse at 48% 35%, #000 0 54%, rgba(0, 0, 0, 0.94) 69%, transparent 92%);
  }

  .hero-copy::after {
    inset: -4.2rem -1.1rem -2rem -1.1rem;
  }
}

/* Partner articles handoff */
.blog-partner {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: clamp(32px, 4.2vw, 64px);
  padding-top: clamp(26px, 3.2vw, 42px);
  border-top: 2px solid rgba(255, 184, 0, 0.68);
}

.blog-partner-link {
  width: min(100%, 760px);
}

@media (max-width: 760px) {
  .blog-partner {
    margin-top: 26px;
    padding-top: 22px;
  }

  .blog-partner-link {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 18px;
    font-size: 0.76rem;
    line-height: 1.16;
    text-align: left;
  }
}

/* LAB spacing refinement */
@media (min-width: 761px) {
  .blog {
    padding-top: 60px;
  }
}

@media (max-width: 760px) {
  .blog {
    padding-top: 42px;
    padding-bottom: 42px;
    border-top: 1px solid rgba(255, 184, 0, 0.34);
  }

  .blog::before {
    top: 18px;
    opacity: 0.72;
  }

  .blog-lab {
    margin-bottom: 10px;
  }

  .blog-head h2 {
    font-size: clamp(2.55rem, 11.2vw, 4.05rem);
    line-height: 0.92;
  }

  .blog-head p:last-child {
    display: none;
  }

  .blog-partner {
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
  }

  .blog-partner-link {
    min-height: 54px;
    font-size: 0.72rem;
  }
}

/* Desktop reviews spacing micro-trim */
@media (min-width: 761px) {
  .reviews {
    padding-top: 126px;
  }
}

/* Desktop clients spacing micro-trim */
@media (min-width: 761px) {
  .clients.section-image {
    padding-top: 76px;
  }
}

/* Standalone team page */
.team-page {
  background: #000;
}

.team-page .site-header .brand,
.team-page .footer-brand {
  text-decoration: none;
}

.team-hero {
  position: relative;
  min-height: 100svh;
  padding: 170px 0 110px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.28) 48%, #000 100%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.05) 42%, #000 100%),
    url("assets/workdoc-hero-galaxy-desktop.jpg") center / cover no-repeat,
    #000;
}

.team-hero::before {
  content: "TEAM";
  position: absolute;
  right: -0.08em;
  bottom: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.16);
  font-size: clamp(9rem, 22vw, 25rem);
  font-weight: 950;
  letter-spacing: -0.13em;
  line-height: 0.72;
  pointer-events: none;
}

.team-orbit {
  position: absolute;
  left: min(6vw, 90px);
  top: 24%;
  width: clamp(180px, 22vw, 370px);
  height: clamp(180px, 22vw, 370px);
  border: 2px solid rgba(255, 184, 0, 0.34);
  transform: rotate(45deg);
  opacity: 0.72;
  animation: teamOrbit 12s ease-in-out infinite;
}

.team-orbit::before,
.team-orbit::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(224, 24, 0, 0.45);
}

.team-orbit::after {
  inset: 58px;
  border-color: rgba(255, 184, 0, 0.18);
}

.team-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.55fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: end;
  min-height: calc(100svh - 280px);
}

.team-hero-copy {
  max-width: 1040px;
}

.team-hero h1,
.team-section-head h2,
.network-copy h2,
.team-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.8rem, 8.8vw, 12rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.team-hero-copy p:not(.kicker),
.network-copy p {
  max-width: 820px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.06rem, 1.5vw, 1.55rem);
  line-height: 1.42;
}

.team-hero-actions {
  display: flex;
  margin-top: 46px;
}

.team-hero-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 460px;
  padding: 34px;
  border: 3px solid transparent;
  border-image: linear-gradient(135deg, #ffbf00, #ff6d00, #d90600) 1;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 184, 0, 0.14), transparent 16rem),
    rgba(0, 0, 0, 0.78);
  overflow: hidden;
}

.team-hero-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 184, 0, 0.15);
  transform: skew(-7deg);
}

.team-hero-panel span,
.team-hero-panel em {
  position: relative;
  color: var(--gold-strong);
  font-weight: 950;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.team-hero-panel strong {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.58);
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.13em;
  text-transform: uppercase;
}

.team-hero-panel em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}

.team-founders {
  position: relative;
  padding: 140px 0 132px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 184, 0, 0.12), transparent 26rem),
    #000;
}

.team-section-head {
  position: relative;
  z-index: 1;
  max-width: 1160px;
}

.team-section-head h2,
.network-copy h2,
.team-cta h2 {
  font-size: clamp(4rem, 7vw, 9.5rem);
}

.founders-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 74px;
  border-top: 2px solid rgba(255, 184, 0, 0.86);
  border-left: 2px solid rgba(255, 184, 0, 0.86);
}

.founder-card {
  position: relative;
  min-height: 520px;
  padding: clamp(32px, 4.6vw, 70px);
  border-right: 2px solid rgba(255, 184, 0, 0.86);
  border-bottom: 2px solid rgba(255, 184, 0, 0.86);
  background: #000;
  overflow: hidden;
}

.founder-card::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -92px;
  width: 240px;
  height: 240px;
  border: 2px solid rgba(255, 184, 0, 0.18);
  transform: rotate(45deg);
}

.founder-card span {
  display: block;
  color: var(--gold-strong);
  font-size: clamp(3rem, 5vw, 6.8rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.founder-card h3 {
  position: relative;
  margin: 116px 0 24px;
  color: #fff;
  font-size: clamp(2.1rem, 3.2vw, 4.3rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.founder-card p {
  position: relative;
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.28vw, 1.22rem);
  line-height: 1.48;
}

.team-network {
  position: relative;
  padding: 150px 0;
  background:
    linear-gradient(90deg, rgba(224, 24, 0, 0.12) 0 1px, transparent 1px) 10vw 0 / 1px 100% no-repeat,
    #000;
  overflow: hidden;
}

.team-network::before {
  content: "NETWORK";
  position: absolute;
  left: -0.08em;
  top: 0.22em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.1);
  font-size: clamp(7rem, 15vw, 17rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.72;
}

.network-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 0.8fr) minmax(580px, 1.2fr);
  gap: clamp(54px, 7vw, 110px);
  align-items: start;
}

.network-cards {
  display: grid;
  gap: 0;
  border-top: 2px solid rgba(255, 184, 0, 0.72);
}

.network-cards article {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr 1fr;
  gap: 28px;
  align-items: center;
  min-height: 168px;
  padding: 28px 0;
  border-bottom: 2px solid rgba(255, 184, 0, 0.72);
}

.network-cards span {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.network-cards strong {
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2.55rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.network-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.team-cta {
  background: linear-gradient(100deg, #ffbf00 0%, #ff7600 50%, #d90700 100%);
}

.team-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  min-height: 330px;
}

.team-cta .kicker {
  color: rgba(0, 0, 0, 0.66);
}

.team-cta h2 {
  color: #000;
}

.team-cta .btn-primary {
  color: #fff;
  background: #000;
}

@keyframes teamOrbit {
  0%,
  100% {
    transform: rotate(45deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(48deg) translate3d(18px, -12px, 0);
  }
}

@media (max-width: 1060px) {
  .team-hero-grid,
  .network-grid,
  .team-cta-grid {
    grid-template-columns: 1fr;
  }

  .team-hero-panel {
    min-height: 360px;
  }

  .network-cards article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .team-hero {
    min-height: auto;
    padding: 116px 0 58px;
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.18) 48%, #000 100%),
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.02) 38%, #000 100%),
      url("assets/workdoc-hero-galaxy-mobile.jpg") center 26% / cover no-repeat,
      #000;
  }

  .team-hero::before {
    right: -0.16em;
    bottom: 0.2em;
    font-size: clamp(5.6rem, 28vw, 8rem);
    opacity: 0.7;
  }

  .team-orbit {
    left: -74px;
    top: 128px;
    width: 190px;
    height: 190px;
    opacity: 0.34;
  }

  .team-hero-grid {
    min-height: 0;
    gap: 30px;
  }

  .team-hero h1,
  .team-section-head h2,
  .network-copy h2,
  .team-cta h2 {
    font-size: clamp(3rem, 13vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: -0.052em;
  }

  .team-hero-copy p:not(.kicker),
  .network-copy p {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.44;
  }

  .team-hero-actions {
    margin-top: 26px;
  }

  .team-hero-panel {
    min-height: 230px;
    padding: 22px;
  }

  .team-hero-panel strong {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .team-founders,
  .team-network {
    padding: 58px 0;
  }

  .team-page .section-watermark {
    top: 22px;
    right: -0.18em;
    font-size: clamp(4.4rem, 24vw, 7rem);
    opacity: 0.7;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .founder-card {
    min-height: 360px;
    padding: 26px 22px;
  }

  .founder-card h3 {
    margin-top: 68px;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .network-grid {
    gap: 34px;
  }

  .network-cards article {
    min-height: 0;
    gap: 12px;
    padding: 22px 0;
  }

  .network-cards strong {
    font-size: clamp(1.42rem, 7vw, 2.15rem);
  }

  .team-cta-grid {
    min-height: 250px;
    gap: 24px;
    padding: 36px 0;
  }

  .team-cta-grid .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 18px;
    font-size: 0.82rem;
  }
}

/* Team page cleanup pass */
.team-page .team-hero {
  min-height: auto;
  padding: 168px 0 92px;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.18) 48%, #000 100%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.04) 45%, #000 100%),
    url("assets/workdoc-hero-galaxy-desktop.jpg") center 42% / cover no-repeat,
    #000;
}

.team-page .team-hero::before {
  opacity: 0.42;
  right: -0.14em;
  bottom: 0.08em;
}

.team-page .team-orbit,
.team-page .team-hero-panel {
  display: none;
}

.team-page .team-hero-grid {
  display: block;
  min-height: 0;
}

.team-page .team-hero-copy {
  max-width: 1120px;
}

.team-page .team-hero h1 {
  max-width: 1040px;
  font-size: clamp(4.6rem, 7.7vw, 10.4rem);
}

.team-page .team-founders {
  padding: 96px 0 104px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 184, 0, 0.1), transparent 22rem),
    #000;
}

.team-page .team-founders .section-watermark {
  opacity: 0.48;
}

.team-page .team-section-head h2 {
  max-width: 980px;
  font-size: clamp(3.7rem, 6.2vw, 8.2rem);
}

.team-page .founders-grid {
  gap: 28px;
  margin-top: 56px;
  border: 0;
}

.team-page .founder-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 184, 0, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    #030303;
}

.team-page .founder-card::before {
  display: none;
}

.team-page .founder-photo {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), #000 100%),
    radial-gradient(circle at 50% 22%, rgba(255, 184, 0, 0.22), transparent 16rem),
    linear-gradient(135deg, #1a1a1a, #050505 64%);
}

.team-page .founder-photo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 184, 0, 0.18);
}

.team-page .founder-photo::after {
  content: "Фото засновника";
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.team-page .founder-photo span {
  position: absolute;
  left: 50%;
  top: 50%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.36);
  font-size: clamp(5.8rem, 8vw, 9rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.8;
  transform: translate(-50%, -50%);
}

.team-page .founder-body {
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3vw, 44px);
  align-self: end;
}

.team-page .founder-number {
  display: block;
  color: var(--gold-strong);
  font-size: clamp(2.4rem, 4vw, 5rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.team-page .founder-card h3 {
  margin: 74px 0 20px;
  font-size: clamp(1.85rem, 2.65vw, 3.7rem);
}

.team-page .founder-card p {
  max-width: 560px;
}

.team-page .team-network {
  padding: 96px 0;
}

.team-page .team-network::before {
  opacity: 0.42;
}

.team-page .network-grid {
  gap: clamp(40px, 5vw, 76px);
}

.team-page .network-cards {
  border-top-color: rgba(255, 184, 0, 0.44);
}

.team-page .network-cards article {
  min-height: 138px;
  border-bottom-color: rgba(255, 184, 0, 0.44);
}

@media (max-width: 1060px) {
  .team-page .founder-card {
    grid-template-columns: 1fr;
  }

  .team-page .founder-photo {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .team-page .team-hero {
    padding: 100px 0 48px;
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.12) 48%, #000 100%),
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.02) 40%, #000 100%),
      url("assets/workdoc-hero-galaxy-mobile.jpg") center 28% / cover no-repeat,
      #000;
  }

  .team-page .team-hero::before {
    opacity: 0.35;
  }

  .team-page .team-hero h1,
  .team-page .team-section-head h2,
  .team-page .network-copy h2,
  .team-page .team-cta h2 {
    font-size: clamp(2.8rem, 12vw, 4rem);
    letter-spacing: -0.045em;
  }

  .team-page .team-hero-copy p:not(.kicker),
  .team-page .network-copy p {
    margin-top: 18px;
  }

  .team-page .team-hero-actions {
    margin-top: 22px;
  }

  .team-page .team-founders,
  .team-page .team-network {
    padding: 46px 0;
  }

  .team-page .team-founders .section-watermark,
  .team-page .team-network::before {
    opacity: 0.26;
  }

  .team-page .founders-grid {
    gap: 18px;
    margin-top: 28px;
  }

  .team-page .founder-card {
    gap: 0;
  }

  .team-page .founder-photo {
    min-height: 310px;
  }

  .team-page .founder-photo::after {
    left: 18px;
    bottom: 16px;
    font-size: 0.62rem;
  }

  .team-page .founder-body {
    padding: 24px 20px 28px;
  }

  .team-page .founder-number {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .team-page .founder-card h3 {
    margin-top: 34px;
    font-size: clamp(1.85rem, 8.2vw, 2.65rem);
  }

  .team-page .network-grid {
    gap: 26px;
  }

  .team-page .network-cards article {
    padding: 18px 0;
  }
}

/* Founder photos */
.team-page .founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(0.88) contrast(1.08) brightness(0.9);
  transform: scale(1.02);
}

.team-page .founder-photo--nazarii img {
  object-position: 50% 30%;
}

.team-page .founder-photo.has-photo::before {
  z-index: 2;
}

.team-page .founder-photo.has-photo::after {
  content: "Онисько Данило";
  z-index: 3;
  color: rgba(255, 255, 255, 0.72);
}

.team-page .founder-photo.has-photo span {
  z-index: 3;
  opacity: 0.18;
}

.team-page .founder-photo.has-photo {
  background: #000;
}

.team-page .founder-photo.has-photo::selection {
  background: transparent;
}

/* Team founder photo/copy polish */
.team-page .founder-photo.has-photo::after {
  display: none;
  content: none;
}

.team-page .founder-photo.has-photo span {
  display: none;
}

@media (min-width: 1061px) {
  .team-page .founder-card {
    grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1fr);
    gap: 0;
  }

  .team-page .founder-photo {
    min-height: 520px;
  }

  .team-page .founder-body {
    align-self: center;
  }

  .team-page .founder-card h3 {
    margin-top: 56px;
    font-size: clamp(1.75rem, 2.25vw, 3.15rem);
  }
}

@media (max-width: 760px) {
  .team-page .founder-photo img {
    object-position: 50% 18%;
  }

  .team-page .founder-photo--nazarii img {
    object-position: 50% 12%;
  }

  .team-page .founder-photo {
    min-height: 340px;
  }
}

/* Team network desktop overlap fix */
@media (min-width: 1061px) {
  .team-page .network-grid {
    grid-template-columns: minmax(360px, 0.72fr) minmax(640px, 1.28fr);
    gap: clamp(78px, 8vw, 132px);
  }

  .team-page .network-copy {
    max-width: 520px;
  }

  .team-page .network-copy h2 {
    font-size: clamp(3.1rem, 4.8vw, 6.7rem);
    line-height: 0.9;
  }

  .team-page .network-cards {
    min-width: 0;
  }

  .team-page .network-cards article {
    grid-template-columns: 0.22fr 0.78fr 1.08fr;
    gap: 24px;
  }
}

/* Team network copy micro-lift */
@media (min-width: 1061px) {
  .team-page .network-copy {
    position: relative;
    top: -10px;
  }

  .team-page .team-network {
    padding-bottom: 86px;
  }
}

/* Team founders spacing trim */
.team-page .team-founders {
  padding-top: 76px;
}

/* Team founders: public portrait + verified professional dossiers */
.team-page .founders-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(0, 1.24fr);
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 184, 0, 0.3);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 184, 0, 0.11), transparent 28rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008)),
    #020202;
}

.team-page .founders-portrait {
  position: relative;
  min-height: 790px;
  margin: 0;
  overflow: hidden;
  background: #080808;
}

.team-page .founders-portrait::before,
.team-page .founders-portrait::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.team-page .founders-portrait::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(90deg, transparent 72%, rgba(0, 0, 0, 0.38));
}

.team-page .founders-portrait::after {
  inset: 20px;
  border: 1px solid rgba(255, 184, 0, 0.2);
}

.team-page .founders-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.72) contrast(1.07) brightness(0.86);
  transform: scale(1.015);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.team-page .founders-showcase:hover .founders-portrait img {
  filter: saturate(0.88) contrast(1.08) brightness(0.92);
  transform: scale(1.035);
}

.team-page .founders-portrait figcaption {
  position: absolute;
  z-index: 3;
  left: 40px;
  right: 40px;
  bottom: 36px;
}

.team-page .founders-portrait figcaption span,
.team-page .founders-dossier-label,
.team-page .founder-role,
.team-page .founders-trust-strip span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-page .founders-portrait figcaption strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1;
}

.team-page .founders-dossier {
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  min-width: 0;
}

.team-page .founders-dossier-label {
  display: flex;
  justify-content: space-between;
  padding: 24px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 184, 0, 0.72);
}

.team-page .founder-profile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  padding: clamp(32px, 3.6vw, 54px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 450ms ease;
}

.team-page .founder-profile:last-child {
  border-bottom: 0;
}

.team-page .founder-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--red));
  transition: height 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-page .founder-profile:hover {
  background-color: rgba(255, 184, 0, 0.035);
}

.team-page .founder-profile:hover::before {
  height: 100%;
}

.team-page .founder-profile-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.team-page .founder-profile-number {
  color: var(--gold-strong);
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.team-page .founder-role {
  margin: 0 0 10px;
  color: var(--gold-strong);
}

.team-page .founder-profile h3 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.85rem, 2.9vw, 3.7rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.team-page .founder-profile-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 24px 0 0 88px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.98rem, 1.15vw, 1.16rem);
  line-height: 1.55;
}

.team-page .founder-profile-facts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0 88px;
}

.team-page .founder-profile-facts span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 184, 0, 0.22);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-page .founder-profile-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.team-page .founder-profile-footer .founder-profile-facts {
  flex: 1;
}

.team-page .founder-profile-footer > a {
  flex: 0 0 auto;
  margin-bottom: 1px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-page .founder-profile-footer > a span {
  margin-left: 8px;
  color: var(--gold-strong);
}

.team-page .founder-monogram {
  position: absolute;
  right: 2.5%;
  bottom: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.12);
  font-size: clamp(8rem, 15vw, 15rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 0.75;
  pointer-events: none;
}

.team-page .founders-trust-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  border-right: 1px solid rgba(255, 184, 0, 0.3);
  border-bottom: 1px solid rgba(255, 184, 0, 0.3);
  border-left: 1px solid rgba(255, 184, 0, 0.3);
  background: #050505;
}

.team-page .founders-trust-strip > * {
  min-width: 0;
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.team-page .founders-trust-strip > *:last-child {
  border-right: 0;
}

.team-page .founders-trust-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.4);
}

.team-page .founders-trust-strip strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.35;
}

.team-page .founders-trust-strip a:hover strong {
  color: var(--gold-strong);
}

@media (max-width: 1060px) {
  .team-page .founders-showcase {
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  }

  .team-page .founders-portrait {
    min-height: 860px;
  }

  .team-page .founder-profile-head {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
  }

  .team-page .founder-profile-copy,
  .team-page .founder-profile-facts {
    margin-left: 70px;
  }

  .team-page .founder-profile-footer {
    display: block;
  }

  .team-page .founder-profile-footer > a {
    display: inline-block;
    margin: 22px 0 0 70px;
  }
}

@media (max-width: 760px) {
  .team-page .team-founders {
    padding-top: 34px;
  }

  .team-page .founders-showcase {
    display: block;
    margin-top: 28px;
  }

  .team-page .founders-portrait {
    min-height: min(126vw, 520px);
  }

  .team-page .founders-portrait img {
    object-position: 50% 20%;
  }

  .team-page .founders-portrait figcaption {
    left: 24px;
    right: 24px;
    bottom: 22px;
  }

  .team-page .founders-dossier-label {
    padding: 18px 20px;
    font-size: 0.58rem;
  }

  .team-page .founder-profile {
    min-height: 0;
    padding: 28px 20px 30px;
  }

  .team-page .founder-profile-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .team-page .founder-profile-number {
    font-size: 2.45rem;
  }

  .team-page .founder-role {
    margin-bottom: 7px;
    font-size: 0.57rem;
  }

  .team-page .founder-profile h3 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .team-page .founder-profile-copy,
  .team-page .founder-profile-facts {
    margin-left: 56px;
  }

  .team-page .founder-profile-copy {
    margin-top: 18px;
    font-size: 0.92rem;
  }

  .team-page .founder-profile-facts {
    margin-top: 18px;
  }

  .team-page .founder-profile-facts span {
    font-size: 0.58rem;
  }

  .team-page .founder-profile-footer > a {
    margin: 22px 0 0 56px;
    font-size: 0.68rem;
  }

  .team-page .founder-monogram {
    right: 4%;
    bottom: 0;
    font-size: 9rem;
  }

  .team-page .founders-trust-strip {
    grid-template-columns: 1fr;
  }

  .team-page .founders-trust-strip > * {
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .team-page .founders-trust-strip > *:last-child {
    border-bottom: 0;
  }
}

/* Team founders: equal visual weight without a second portrait */
.team-page .founders-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  padding: 1px;
  background: rgba(255, 184, 0, 0.34);
}

.team-page .founder-panel {
  min-width: 0;
  overflow: hidden;
  background: #020202;
}

.team-page .founder-panel-visual {
  position: relative;
  height: clamp(500px, 43vw, 660px);
  overflow: hidden;
  background: #070707;
}

.team-page .founder-panel--portrait .founder-panel-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 38%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.team-page .founder-panel--portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
  filter: saturate(0.76) contrast(1.08) brightness(0.88);
  transform: scale(1.015);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
}

.team-page .founder-panel--portrait:hover img {
  filter: saturate(0.9) contrast(1.08) brightness(0.94);
  transform: scale(1.045);
}

.team-page .founder-panel-index,
.team-page .founder-panel-code {
  position: absolute;
  z-index: 8;
  font-weight: 950;
  text-transform: uppercase;
}

.team-page .founder-panel-index {
  top: 30px;
  left: 34px;
  color: var(--gold-strong);
  font-size: clamp(3.2rem, 5.2vw, 6.2rem);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.team-page .founder-panel-code {
  right: 32px;
  bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.team-page .founder-panel-copy {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: clamp(30px, 3.2vw, 48px);
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 184, 0, 0.07), transparent 15rem),
    #030303;
}

.team-page .founder-panel-copy .founder-role {
  margin: 0 0 12px;
  color: var(--gold-strong);
}

.team-page .founder-panel-copy h3 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2.2rem, 3.5vw, 4.7rem);
  line-height: 0.91;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.team-page .founder-panel-copy > p:not(.founder-role) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.08vw, 1.16rem);
  line-height: 1.55;
}

.team-page .founder-panel-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.team-page .founder-panel-footer > span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 184, 0, 0.24);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-page .founder-panel-footer > a {
  margin-left: auto;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-page .founder-panel-footer > a b {
  margin-left: 8px;
  color: var(--gold-strong);
}

.team-page .founder-identity-visual {
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 77, 0, 0.12), transparent 13rem),
    radial-gradient(circle at 50% 50%, rgba(255, 184, 0, 0.1), transparent 24rem),
    linear-gradient(145deg, #070604, #010101 64%);
}

.team-page .founder-identity-visual::before,
.team-page .founder-identity-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-page .founder-identity-visual::before {
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 74%);
}

.team-page .founder-identity-visual::after {
  z-index: 7;
  inset: 20px;
  border: 1px solid rgba(255, 184, 0, 0.2);
}

.team-page .founder-identity-orbit,
.team-page .founder-identity-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.team-page .founder-identity-orbit {
  width: min(66%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 184, 0, 0.28);
  box-shadow:
    0 0 80px rgba(255, 184, 0, 0.05),
    inset 0 0 80px rgba(255, 77, 0, 0.03);
  animation: founder-orbit-turn 18s linear infinite;
}

.team-page .founder-identity-orbit::before,
.team-page .founder-identity-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.team-page .founder-identity-orbit::before {
  inset: 11%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.team-page .founder-identity-orbit::after {
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  background: var(--gold-strong);
  box-shadow: 0 0 18px rgba(255, 184, 0, 0.92);
}

.team-page .founder-identity-core {
  width: 35%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.22), rgba(255, 77, 0, 0.06) 48%, transparent 72%);
  filter: blur(2px);
  animation: founder-core-pulse 4.5s ease-in-out infinite;
}

.team-page .founder-identity-monogram {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 16vw, 16rem);
  font-weight: 950;
  letter-spacing: -0.17em;
  line-height: 0.7;
}

.team-page .founder-identity-monogram span:first-child {
  color: #fff;
  text-shadow: 0 0 55px rgba(255, 255, 255, 0.12);
}

.team-page .founder-identity-monogram span:last-child {
  color: transparent;
  -webkit-text-stroke: 2px var(--gold-strong);
  text-shadow: 0 0 46px rgba(255, 184, 0, 0.12);
}

.team-page .founder-identity-scan {
  position: absolute;
  z-index: 6;
  left: 13%;
  right: 13%;
  top: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-strong) 35%, #fff 50%, var(--red) 66%, transparent);
  box-shadow: 0 0 18px rgba(255, 184, 0, 0.5);
  opacity: 0.7;
  animation: founder-scan-line 5.6s cubic-bezier(0.55, 0.08, 0.45, 0.92) infinite;
}

.team-page .founder-identity-coordinate {
  position: absolute;
  z-index: 6;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.team-page .founder-identity-coordinate--top {
  top: 31px;
  right: 32px;
}

.team-page .founder-identity-coordinate--bottom {
  left: 32px;
  bottom: 31px;
}

@keyframes founder-orbit-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes founder-core-pulse {
  0%, 100% { opacity: 0.62; transform: translate(-50%, -50%) scale(0.88); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes founder-scan-line {
  0%, 12% { top: 20%; opacity: 0; }
  24% { opacity: 0.72; }
  78% { opacity: 0.72; }
  90%, 100% { top: 80%; opacity: 0; }
}

@media (max-width: 1060px) {
  .team-page .founder-panel-visual {
    height: 540px;
  }

  .team-page .founder-panel-copy {
    min-height: 350px;
  }

  .team-page .founder-panel-copy h3 {
    font-size: clamp(2rem, 4vw, 3.15rem);
  }

  .team-page .founder-panel-footer > a {
    width: 100%;
    margin: 12px 0 0;
  }
}

@media (max-width: 760px) {
  .team-page .founders-stage {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .team-page .founder-panel-visual {
    height: min(128vw, 520px);
  }

  .team-page .founder-panel--portrait img {
    object-position: 50% 20%;
  }

  .team-page .founder-panel-index {
    top: 24px;
    left: 22px;
    font-size: 3.2rem;
  }

  .team-page .founder-panel-code {
    right: 20px;
    bottom: 20px;
    font-size: 0.54rem;
  }

  .team-page .founder-panel-copy {
    min-height: 0;
    padding: 28px 20px 30px;
  }

  .team-page .founder-panel-copy h3 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .team-page .founder-panel-copy > p:not(.founder-role) {
    margin-top: 18px;
    font-size: 0.92rem;
  }

  .team-page .founder-panel-footer {
    padding-top: 24px;
  }

  .team-page .founder-identity-monogram {
    font-size: clamp(8.5rem, 47vw, 11rem);
  }

  .team-page .founder-identity-orbit {
    width: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-page .founder-identity-orbit,
  .team-page .founder-identity-core,
  .team-page .founder-identity-scan {
    animation: none;
  }
}

/* Mobile team network spacing trim */
@media (max-width: 760px) {
  .team-page .team-network {
    padding-top: 34px;
  }
}

/* Coffee page */
.coffee-page {
  color: #2f2922;
  background: #f4ecdf;
}

.coffee-page .site-header {
  color: #2f2922;
  background: rgba(249, 244, 235, 0.88);
  border-color: rgba(73, 54, 39, 0.16);
  box-shadow: 0 18px 60px rgba(82, 58, 34, 0.12);
}

.coffee-page .desktop-nav a,
.coffee-page .mobile-nav a,
.coffee-page .phone-link,
.coffee-page .brand-mark,
.coffee-page .brand-dot {
  color: #2f2922;
}

.coffee-page .brand-tail {
  color: #8f6b45;
}

.coffee-page .brand-subtitle {
  color: rgba(47, 41, 34, 0.66);
}

.coffee-page .menu-toggle,
.coffee-page .mobile-call-toggle {
  color: #2f2922;
}

.coffee-page .mobile-nav,
.coffee-page .mobile-call-menu {
  color: #2f2922;
  background: rgba(249, 244, 235, 0.97);
  border-color: rgba(73, 54, 39, 0.14);
}

.coffee-page .mobile-nav a,
.coffee-page .mobile-call-menu a {
  color: #2f2922;
  background: rgba(73, 54, 39, 0.055);
}

.coffee-hero {
  position: relative;
  min-height: 100svh;
  padding: 170px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.9), transparent 23rem),
    radial-gradient(circle at 86% 18%, rgba(160, 120, 78, 0.18), transparent 25rem),
    linear-gradient(135deg, #fffaf2 0%, #f2e5d0 52%, #e5d2b8 100%);
}

.coffee-hero::before {
  content: "QUATTRO";
  position: absolute;
  right: -0.08em;
  bottom: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(74, 52, 35, 0.16);
  font-size: clamp(7rem, 17vw, 19rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.72;
  pointer-events: none;
}

.coffee-bean-field {
  position: absolute;
  left: min(7vw, 110px);
  top: 28%;
  width: clamp(170px, 21vw, 360px);
  height: clamp(170px, 21vw, 360px);
  border: 1px solid rgba(74, 52, 35, 0.15);
  border-radius: 50%;
  opacity: 0.72;
}

.coffee-bean-field::before,
.coffee-bean-field::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(74, 52, 35, 0.13);
  transform: rotate(-28deg);
}

.coffee-bean-field::before {
  left: 28%;
  top: 18%;
  width: 78px;
  height: 130px;
}

.coffee-bean-field::after {
  right: 20%;
  bottom: 20%;
  width: 54px;
  height: 92px;
}

.coffee-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  min-height: calc(100svh - 262px);
}

.coffee-kicker {
  margin: 0 0 24px;
  color: #8f6b45;
  font-size: clamp(0.82rem, 1vw, 1.05rem);
  font-weight: 950;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.coffee-hero h1,
.coffee-story h2,
.coffee-section-head h2,
.coffee-address h2 {
  margin: 0;
  color: #2f2922;
  font-size: clamp(4rem, 8.2vw, 10rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.coffee-hero-copy p:not(.coffee-kicker),
.coffee-story p,
.coffee-address p {
  max-width: 760px;
  margin: 32px 0 0;
  color: rgba(47, 41, 34, 0.72);
  font-size: clamp(1.04rem, 1.35vw, 1.34rem);
  line-height: 1.5;
}

.coffee-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 320px;
  min-height: 70px;
  margin-top: 42px;
  padding: 0 28px;
  color: #fffaf2;
  background: #2f2922;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coffee-logo-card {
  display: grid;
  place-items: center;
  min-height: 470px;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(74, 52, 35, 0.16);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.95), transparent 17rem),
    rgba(255, 255, 255, 0.42);
  box-shadow: 0 34px 90px rgba(83, 59, 36, 0.15);
}

.coffee-logo-card img {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(47, 41, 34, 0.12));
}

.coffee-story,
.coffee-menu-section,
.coffee-location {
  position: relative;
  padding: 118px 0;
  background: #fffaf2;
}

.coffee-story-grid,
.coffee-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.coffee-story h2,
.coffee-section-head h2,
.coffee-address h2 {
  font-size: clamp(3.2rem, 6vw, 7.6rem);
}

.coffee-menu-section {
  background:
    linear-gradient(90deg, rgba(74, 52, 35, 0.08) 0 1px, transparent 1px) 10vw 0 / 1px 100% no-repeat,
    #f4ecdf;
}

.coffee-section-head {
  max-width: 960px;
}

.coffee-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid rgba(74, 52, 35, 0.28);
  border-left: 1px solid rgba(74, 52, 35, 0.28);
}

.coffee-menu-card {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid rgba(74, 52, 35, 0.28);
  border-bottom: 1px solid rgba(74, 52, 35, 0.28);
  background: rgba(255, 250, 242, 0.58);
}

.coffee-menu-card span {
  color: #8f6b45;
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.coffee-menu-card h3 {
  margin: 86px 0 16px;
  color: #2f2922;
  font-size: clamp(1.55rem, 2.1vw, 2.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.coffee-menu-card p {
  margin: 0;
  color: rgba(47, 41, 34, 0.66);
  line-height: 1.44;
}

.coffee-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(74, 52, 35, 0.18);
  background:
    linear-gradient(90deg, rgba(74, 52, 35, 0.12) 1px, transparent 1px) 0 0 / 58px 100%,
    linear-gradient(rgba(74, 52, 35, 0.1) 1px, transparent 1px) 0 0 / 100% 58px,
    radial-gradient(circle at 50% 50%, rgba(143, 107, 69, 0.24), transparent 12rem),
    #efe0ca;
}

.coffee-map::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(47, 41, 34, 0.26);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.coffee-map span,
.coffee-map strong {
  position: relative;
  z-index: 1;
}

.coffee-map span {
  color: rgba(47, 41, 34, 0.28);
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.72;
}

.coffee-map strong {
  position: absolute;
  bottom: 34px;
  color: #2f2922;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.coffee-address span {
  color: rgba(47, 41, 34, 0.48);
}

.coffee-page .site-footer {
  color: rgba(47, 41, 34, 0.72);
  background: #f4ecdf;
  border-top-color: rgba(74, 52, 35, 0.14);
}

.coffee-page .footer-grid {
  border-top-color: rgba(74, 52, 35, 0.18);
}

.coffee-page .footer-grid a,
.coffee-page .footer-contact a {
  color: #2f2922;
}

@media (max-width: 1060px) {
  .coffee-hero-grid,
  .coffee-story-grid,
  .coffee-location-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .coffee-hero {
    min-height: auto;
    padding: 102px 0 50px;
  }

  .coffee-hero-grid {
    min-height: 0;
    gap: 28px;
  }

  .coffee-hero h1,
  .coffee-story h2,
  .coffee-section-head h2,
  .coffee-address h2 {
    font-size: clamp(2.9rem, 13vw, 4.35rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
  }

  .coffee-hero-copy p:not(.coffee-kicker),
  .coffee-story p,
  .coffee-address p {
    margin-top: 20px;
    font-size: 1rem;
  }

  .coffee-link {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin-top: 28px;
    padding: 0 18px;
    font-size: 0.8rem;
  }

  .coffee-logo-card {
    min-height: 280px;
  }

  .coffee-logo-card img {
    width: min(100%, 230px);
  }

  .coffee-story,
  .coffee-menu-section,
  .coffee-location {
    padding: 54px 0;
  }

  .coffee-menu-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .coffee-menu-card {
    min-height: 210px;
    padding: 22px;
  }

  .coffee-menu-card h3 {
    margin-top: 44px;
  }

  .coffee-map {
    min-height: 320px;
  }
}

/* Footer coffee transition */
.footer-kava-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 24px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 184, 0, 0.22);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-kava-link img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  padding: 4px;
  background: #000;
}

.footer-kava-link:hover {
  border-color: rgba(255, 184, 0, 0.48);
  transform: translateY(-1px);
}

.coffee-page .footer-kava-link {
  border-color: rgba(74, 52, 35, 0.2);
  color: #2f2922;
  background: rgba(255, 255, 255, 0.42);
}

.coffee-map {
  color: inherit;
  text-decoration: none;
}

.coffee-map-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  color: #2f2922;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .footer-kava-link {
    margin-top: 18px;
    padding: 8px 12px 8px 8px;
    font-size: 0.68rem;
  }

  .footer-kava-link img {
    width: 40px;
    height: 40px;
  }

  .coffee-map-link {
    margin-top: 22px;
    font-size: 0.76rem;
  }
}

/* Coffee menu list refinement */
.coffee-menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coffee-menu-card {
  min-height: 210px;
}

.coffee-menu-card h3 {
  margin-top: 72px;
}

@media (max-width: 760px) {
  .coffee-menu-card {
    min-height: 148px;
  }

  .coffee-menu-card h3 {
    margin-top: 34px;
  }
}

/* Coffee drinks menu board */
.coffee-menu-section {
  overflow: hidden;
  padding-top: clamp(88px, 9vw, 132px);
}

.coffee-menu-section::before {
  content: "MENU";
  position: absolute;
  right: -0.04em;
  top: 0.18em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(74, 52, 35, 0.085);
  font-size: clamp(7rem, 17vw, 18rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.72;
}

.coffee-menu-section .coffee-section-head {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.coffee-menu-heading {
  display: flex;
  align-items: flex-end;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(74, 52, 35, 0.26);
}

.coffee-menu-heading h2 {
  font-size: clamp(3.2rem, 5.6vw, 6.4rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.coffee-menu-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 1040px;
  margin-top: 42px;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid rgba(74, 52, 35, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 250, 242, 0.4)),
    rgba(255, 250, 242, 0.62);
  box-shadow: 0 28px 90px rgba(83, 59, 36, 0.12);
}

.coffee-menu-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 94px;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid rgba(74, 52, 35, 0.16);
  background: transparent;
  transition: background-color 220ms ease, transform 220ms ease;
}

.coffee-menu-card:nth-child(odd) {
  border-right: 1px solid rgba(74, 52, 35, 0.16);
}

.coffee-menu-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.coffee-menu-card:last-child {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(74, 52, 35, 0.16);
  border-right: 0;
  border-bottom: 0;
}

.coffee-menu-card:hover {
  z-index: 1;
  background: rgba(143, 107, 69, 0.07);
  transform: translateX(4px);
}

.coffee-menu-card span {
  color: rgba(143, 107, 69, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
}

.coffee-menu-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.25vw, 2.7rem);
}

.coffee-menu-card::after {
  content: none;
  display: none;
}

.coffee-map {
  display: block;
  padding: 12px;
  background: rgba(255, 250, 242, 0.72);
}

.coffee-map::before,
.coffee-map span,
.coffee-map strong {
  display: none;
}

.coffee-map iframe {
  display: block;
  width: 100%;
  min-height: 476px;
  border: 0;
  filter: sepia(0.14) saturate(0.86) contrast(0.98);
}

@media (max-width: 760px) {
  .coffee-menu-section {
    padding-top: 72px;
  }

  .coffee-menu-section::before {
    top: 0.25em;
    right: -0.12em;
    font-size: clamp(5.5rem, 29vw, 8rem);
  }

  .coffee-menu-heading {
    padding-bottom: 22px;
  }

  .coffee-menu-heading h2 {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  .coffee-menu-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
    padding: 10px 14px;
  }

  .coffee-menu-card {
    grid-template-columns: 48px 1fr;
    min-height: 68px;
    padding: 0 4px;
    border-right: 0;
  }

  .coffee-menu-card:nth-child(odd) {
    border-right: 0;
  }

  .coffee-menu-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(74, 52, 35, 0.16);
  }

  .coffee-menu-card:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .coffee-menu-card h3 {
    font-size: clamp(1.22rem, 6.1vw, 1.7rem);
  }

  .coffee-menu-card::after {
    display: none;
  }

  .coffee-map {
    padding: 8px;
  }

  .coffee-map iframe {
    min-height: 312px;
  }
}

/* Main-site footer bottom micro-trim */
body:not(.coffee-page) .site-footer {
  padding-bottom: 62px;
}

@media (max-width: 760px) {
  body:not(.coffee-page) .site-footer {
    padding-bottom: 38px;
  }
}

/* Responsive 404 page */
.error-page {
  min-width: 320px;
  color: #fff;
  background: #000;
}

.error-page .page-shell {
  min-height: 100svh;
}

.error-main {
  min-height: calc(100svh - 72px);
}

.error-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 176px 0 92px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.74) 43%, rgba(0, 0, 0, 0.28) 72%, #000 100%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.14) 42%, #000 100%),
    url("assets/404-james-webb-desktop.jpg") center / cover no-repeat,
    #000;
}

.error-hero::before {
  content: "ERROR";
  position: absolute;
  left: -0.08em;
  bottom: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 184, 0, 0.11);
  font-size: clamp(8rem, 19vw, 22rem);
  font-weight: 950;
  letter-spacing: -0.11em;
  line-height: 0.7;
}

.error-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(52px, 7vw, 120px);
  align-items: center;
}

.error-copy {
  max-width: 700px;
}

.error-copy h1 {
  margin: 0;
  font-size: clamp(4.2rem, 6.8vw, 9rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.error-copy > p:not(.kicker) {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.28vw, 1.26rem);
  line-height: 1.52;
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 42px;
}

.error-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--gold-strong);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.88);
  font-size: clamp(8.5rem, 14vw, 17rem);
  font-weight: 950;
  letter-spacing: -0.14em;
  line-height: 0.72;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.62));
}

.error-visual span {
  position: relative;
  z-index: 2;
}

.error-zero {
  color: transparent;
  -webkit-text-stroke-color: var(--gold-strong);
  animation: errorPulse 4.8s ease-in-out infinite;
}

.error-file {
  position: absolute;
  z-index: 1;
  top: 4%;
  left: 17%;
  display: flex;
  flex-direction: column;
  width: clamp(210px, 22vw, 340px);
  aspect-ratio: 0.76;
  padding: clamp(24px, 2.5vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.64);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  transform: rotate(-9deg);
  animation: errorFileFloat 6s ease-in-out infinite;
}

.error-file::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ffbf00, #ff6a00, #d90700);
}

.error-file > span {
  z-index: auto;
  margin-bottom: clamp(34px, 4vw, 62px);
  color: var(--gold-strong);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.28em;
}

.error-file i {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 17px;
  background: rgba(255, 255, 255, 0.16);
}

.error-file i:nth-of-type(2) {
  width: 72%;
}

.error-file i:nth-of-type(3) {
  width: 46%;
}

.error-file strong {
  align-self: flex-end;
  margin-top: auto;
  padding: 10px 12px 8px;
  border: 2px solid rgba(224, 24, 0, 0.88);
  color: rgba(255, 73, 44, 0.92);
  font-size: clamp(0.72rem, 1vw, 0.95rem);
  letter-spacing: 0.16em;
  transform: rotate(-7deg);
}

.error-visual small {
  position: absolute;
  right: 4%;
  bottom: 16%;
  color: rgba(255, 255, 255, 0.74);
  -webkit-text-stroke: 0;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  line-height: 1;
}

.error-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.error-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 28px rgba(255, 184, 0, 0.84);
}

.error-orbit-one {
  right: 6vw;
  top: 23%;
  width: clamp(280px, 34vw, 620px);
  aspect-ratio: 1;
  animation: errorOrbit 18s linear infinite;
}

.error-orbit-two {
  right: 15vw;
  top: 34%;
  width: clamp(180px, 20vw, 360px);
  aspect-ratio: 1;
  border-color: rgba(224, 24, 0, 0.24);
  animation: errorOrbit 13s linear infinite reverse;
}

.error-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(5vw, 28px);
  border-top: 1px solid rgba(255, 184, 0, 0.22);
  color: rgba(255, 255, 255, 0.58);
  background: #000;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-footer a {
  color: rgba(255, 255, 255, 0.78);
}

@keyframes errorOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes errorPulse {
  0%,
  100% {
    opacity: 0.72;
    filter: drop-shadow(0 0 0 rgba(255, 184, 0, 0));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 24px rgba(255, 184, 0, 0.42));
  }
}

@keyframes errorFileFloat {
  0%,
  100% {
    transform: rotate(-9deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-6deg) translate3d(12px, -16px, 0);
  }
}

@media (max-width: 1060px) {
  .error-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .error-copy {
    max-width: 780px;
  }

  .error-visual {
    justify-content: flex-start;
    min-height: 270px;
    font-size: clamp(8rem, 22vw, 13rem);
  }

  .error-file {
    top: -14%;
    left: 26%;
    width: clamp(180px, 29vw, 260px);
  }

  .error-visual small {
    right: auto;
    left: 3px;
    bottom: 4%;
  }
}

@media (max-width: 760px) {
  .error-main,
  .error-hero {
    min-height: calc(100svh - 60px);
  }

  .error-hero {
    padding: 122px 0 54px;
    background:
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.46) 38%, #000 100%),
      url("assets/404-james-webb-mobile.jpg") center 38% / cover no-repeat,
      #000;
  }

  .error-hero::before {
    bottom: 0.12em;
    font-size: clamp(6rem, 34vw, 9rem);
  }

  .error-grid {
    gap: 28px;
  }

  .error-copy h1 {
    font-size: clamp(3.2rem, 14vw, 4.8rem);
    line-height: 0.9;
  }

  .error-copy > p:not(.kicker) {
    margin-top: 22px;
    font-size: 0.96rem;
  }

  .error-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 28px;
  }

  .error-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 20px;
  }

  .error-contact-link {
    font-size: 0.76rem;
  }

  .error-visual {
    min-height: 190px;
    font-size: clamp(7rem, 33vw, 10rem);
  }

  .error-file {
    top: -28%;
    left: 31%;
    width: 142px;
    padding: 17px;
  }

  .error-file > span {
    margin-bottom: 20px;
    font-size: 0.48rem;
  }

  .error-file i {
    margin-top: 10px;
  }

  .error-file strong {
    padding: 6px 7px 5px;
    font-size: 0.48rem;
  }

  .error-visual small {
    bottom: 0;
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }

  .error-orbit-one {
    right: -34vw;
    top: 54%;
    width: 92vw;
  }

  .error-orbit-two {
    right: -3vw;
    top: 62%;
    width: 48vw;
  }

  .error-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 24px;
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-zero,
  .error-file,
  .error-orbit-one,
  .error-orbit-two {
    animation: none;
  }
}

/* Mobile proportional refinement — desktop untouched */
@media (max-width: 760px) {
  .hero {
    min-height: 500px;
  }

  .hero-grid {
    min-height: 430px;
    padding-top: 34px;
  }

  body:not(.coffee-page):not(.error-page) .site-header,
  body:not(.coffee-page):not(.error-page) .site-header.scrolled {
    top: 0;
    background:
      linear-gradient(90deg, #c90000, #ffb900 34%, #f58200 62%, #d50000) top / 100% 8px no-repeat,
      rgba(0, 0, 0, 0.96);
  }

  body:not(.coffee-page):not(.error-page) .site-header::before {
    display: none;
  }

  .inline-actions {
    margin-top: 32px;
  }

  .team-page .team-network {
    padding-bottom: 34px;
  }

  .blog-lab {
    margin-bottom: 7px;
  }

  .blog-partner.reveal {
    --reveal-delay: 0ms !important;
  }

  .contact-form label,
  .form-grid {
    min-width: 0;
    max-width: 100%;
  }

  .form-grid > label {
    width: 100%;
    overflow: hidden;
  }

  .contact-form input[type="date"] {
    display: block;
    width: 100%;
    inline-size: 100%;
    min-width: 0;
    min-inline-size: 0;
    max-width: 100%;
    max-inline-size: 100%;
    box-sizing: border-box;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
  }

  .contact-form input[type="date"]::-webkit-date-and-time-value {
    min-width: 0;
    text-align: left;
  }

  .contact-form input[type="date"]::-webkit-datetime-edit {
    min-width: 0;
    padding: 0;
    overflow: hidden;
  }

  .contact-form input[type="date"]::-webkit-calendar-picker-indicator {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
  }
}

/* Legal footer mobile rebuild — desktop untouched */
.footer-menu-title,
.footer-mobile-meta {
  display: none;
}

@media (max-width: 760px) {
  .legal-footer {
    padding: 34px 0 24px;
  }

  .legal-footer .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 184, 0, 0.48);
  }

  .legal-footer .footer-grid > div:first-child {
    display: contents;
  }

  .legal-footer .footer-brand {
    order: 1;
    justify-self: center;
    min-width: 0;
    margin: 0 auto 36px;
    text-align: center;
  }

  .legal-footer .footer-brand .brand-row {
    justify-content: center;
  }

  .legal-footer .footer-brand .brand-mark,
  .legal-footer .footer-brand .brand-dot,
  .legal-footer .footer-brand .brand-tail {
    font-size: 1.55rem;
  }

  .legal-footer .footer-brand .brand-subtitle {
    font-size: 0.5rem;
    letter-spacing: 0.38em;
  }

  .legal-footer .footer-grid nav {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 0 4px;
    text-align: center;
  }

  .legal-footer .footer-menu-title {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-strong);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.32em;
    text-transform: uppercase;
  }

  .legal-footer .footer-grid nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .legal-footer .footer-grid > div:first-child > p {
    order: 3;
    max-width: none;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.76rem;
    line-height: 1.58;
    text-align: left;
  }

  .legal-footer .footer-kava-link,
  .legal-footer .footer-contact {
    display: none;
  }

  .legal-footer .footer-mobile-meta {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 184, 0, 0.32);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .legal-footer .privacy-placeholder {
    color: rgba(255, 184, 0, 0.68);
    text-align: right;
  }
}

/* Final mobile header guard — desktop untouched */
@media (max-width: 1060px) {
  .site-header .header-bot-link,
  .site-header .header-bot-link:where(:link, :visited) {
    position: absolute !important;
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  body:not(.coffee-page):not(.error-page) .site-header .header-bot-link,
  body:not(.coffee-page):not(.error-page) .site-header .header-bot-link:where(:link, :visited) {
    position: absolute !important;
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  body:not(.coffee-page):not(.error-page) .site-header,
  body:not(.coffee-page):not(.error-page) .site-header.scrolled {
    top: 0 !important;
    min-height: 72px !important;
    padding-top: 14px !important;
    padding-bottom: 12px !important;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  body:not(.coffee-page):not(.error-page) .site-header,
  body:not(.coffee-page):not(.error-page) .site-header.scrolled {
    min-height: 68px !important;
    padding: 13px 10px 11px 12px !important;
  }

  body:not(.coffee-page):not(.error-page) .header-actions {
    gap: 7px !important;
    padding-right: 6px !important;
  }
}

/* Square desktop monitor tuning — targets old 4:3 / 5:4 screens only */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) and (min-height: 700px) and (min-aspect-ratio: 1/1) and (max-aspect-ratio: 4/3) {
  body:not(.coffee-page):not(.error-page) .container,
  body:not(.coffee-page):not(.error-page) .hero-grid {
    width: min(1120px, calc(100% - 56px));
  }

  body:not(.coffee-page):not(.error-page) .site-header,
  body:not(.coffee-page):not(.error-page) .site-header.scrolled {
    min-height: 112px;
    padding: 24px 36px 18px;
  }

  body:not(.coffee-page):not(.error-page) .brand {
    min-width: 220px;
  }

  body:not(.coffee-page):not(.error-page) .brand-mark,
  body:not(.coffee-page):not(.error-page) .brand-tail,
  body:not(.coffee-page):not(.error-page) .brand-dot {
    font-size: clamp(2rem, 3.6vw, 3.15rem);
  }

  body:not(.coffee-page):not(.error-page) .brand-subtitle {
    font-size: clamp(0.56rem, 0.8vw, 0.82rem);
    letter-spacing: 0.42em;
  }

  body:not(.coffee-page):not(.error-page) .header-actions {
    gap: 22px;
  }

  body:not(.coffee-page):not(.error-page) .phone-link {
    font-size: clamp(1.25rem, 2.25vw, 2rem);
  }

  body:not(.coffee-page):not(.error-page) .menu-toggle {
    width: 48px;
    height: 40px;
  }

  body:not(.coffee-page):not(.error-page) .menu-toggle span {
    width: 40px;
  }

  body:not(.coffee-page):not(.error-page) .hero {
    min-height: 100svh;
    padding-top: 112px;
  }

  body:not(.coffee-page):not(.error-page) .hero-grid {
    grid-template-columns: minmax(300px, 0.74fr) minmax(470px, 1.26fr);
    min-height: calc(100svh - 112px);
    gap: 28px;
  }

  body:not(.coffee-page):not(.error-page) .hero-copy {
    max-width: 720px;
    padding-top: 18px;
  }

  body:not(.coffee-page):not(.error-page) .hero .eyebrow {
    margin-bottom: 24px;
    font-size: clamp(0.82rem, 1.18vw, 1.05rem);
    letter-spacing: 0.36em;
  }

  body:not(.coffee-page):not(.error-page) .hero h1 {
    font-size: clamp(4.4rem, 7.6vw, 7.25rem);
    line-height: 0.86;
  }

  body:not(.coffee-page):not(.error-page) .hero-actions {
    margin-top: 34px;
  }

  body:not(.coffee-page):not(.error-page) .hero-art {
    left: max(-130px, -11vw);
    bottom: max(-86px, -8vw);
    width: min(54vw, 740px);
    min-width: 520px;
  }

  body:not(.coffee-page):not(.error-page) .hero-x-mark {
    left: -96px;
    width: 260px;
    height: 260px;
    opacity: 0.58;
  }

  body:not(.coffee-page):not(.error-page) .btn {
    min-width: 292px;
    min-height: 68px;
    padding: 0 28px;
    font-size: clamp(0.86rem, 1.18vw, 1.05rem);
  }

  body:not(.coffee-page):not(.error-page) .about,
  body:not(.coffee-page):not(.error-page) .services,
  body:not(.coffee-page):not(.error-page) .reviews,
  body:not(.coffee-page):not(.error-page) .blog,
  body:not(.coffee-page):not(.error-page) .contact {
    padding-top: 118px;
    padding-bottom: 94px;
  }

  body:not(.coffee-page):not(.error-page) .about,
  body:not(.coffee-page):not(.error-page) .section-image,
  body:not(.coffee-page):not(.error-page) .services {
    min-height: auto;
  }

  body:not(.coffee-page):not(.error-page) .about-logo {
    top: 42px;
    left: 36px;
    transform: scale(0.72);
  }

  body:not(.coffee-page):not(.error-page) .about-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
    gap: 42px;
  }

  body:not(.coffee-page):not(.error-page) .about .section-heading h2,
  body:not(.coffee-page):not(.error-page) .services .section-heading h2,
  body:not(.coffee-page):not(.error-page) .review-aside h2,
  body:not(.coffee-page):not(.error-page) .blog-head h2,
  body:not(.coffee-page):not(.error-page) .contact-copy h2,
  body:not(.coffee-page):not(.error-page) .cta-grid h2,
  .team-page .team-hero h1,
  .team-page .team-section-head h2,
  .team-page .network-copy h2,
  .team-page .team-cta h2,
  .privacy-hero h1 {
    font-size: clamp(3.8rem, 6.4vw, 6.9rem);
    letter-spacing: -0.055em;
  }

  body:not(.coffee-page):not(.error-page) .about .section-heading p:not(.kicker),
  body:not(.coffee-page):not(.error-page) .chess-card p,
  body:not(.coffee-page):not(.error-page) .contact-copy p,
  .team-page .team-hero-copy p:not(.kicker),
  .team-page .network-copy p,
  .privacy-hero p:not(.kicker) {
    font-size: clamp(1rem, 1.32vw, 1.24rem);
    line-height: 1.36;
  }

  body:not(.coffee-page):not(.error-page) .inline-actions {
    gap: 42px;
    margin-top: 56px;
  }

  body:not(.coffee-page):not(.error-page) .growth-arrow {
    min-height: 380px;
  }

  body:not(.coffee-page):not(.error-page) .growth-arrow::before {
    right: 2%;
    width: min(31vw, 390px);
    height: min(24vw, 300px);
    border-right-width: 48px;
    border-top-width: 48px;
  }

  body:not(.coffee-page):not(.error-page) .growth-arrow::after {
    right: -2%;
    border-left-width: 96px;
    border-top-width: 58px;
    border-bottom-width: 58px;
  }

  body:not(.coffee-page):not(.error-page) .section-image {
    padding-top: 112px;
  }

  body:not(.coffee-page):not(.error-page) .client-grid {
    gap: 58px;
  }

  body:not(.coffee-page):not(.error-page) .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 54px;
  }

  body:not(.coffee-page):not(.error-page) .service-card {
    min-height: 260px;
    padding: 26px 26px 24px;
  }

  body:not(.coffee-page):not(.error-page) .service-card h3 {
    margin: 42px 0 16px;
    font-size: clamp(1.42rem, 2.1vw, 2.25rem);
  }

  body:not(.coffee-page):not(.error-page) .service-card p {
    min-height: 0;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  body:not(.coffee-page):not(.error-page) .reviews-layout,
  body:not(.coffee-page):not(.error-page) .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  body:not(.coffee-page):not(.error-page) .review-panel,
  body:not(.coffee-page):not(.error-page) .review-track {
    min-height: 440px;
  }

  body:not(.coffee-page):not(.error-page) .review-card p {
    font-size: clamp(1.3rem, 2.1vw, 2.25rem);
  }

  body:not(.coffee-page):not(.error-page) .blog-grid {
    margin-top: 52px;
  }

  body:not(.coffee-page):not(.error-page) .blog-card {
    min-height: 142px;
    padding: 24px 0;
  }

  body:not(.coffee-page):not(.error-page) .cta-grid {
    min-height: 260px;
  }

  body:not(.coffee-page):not(.error-page) .contact-form {
    padding: 34px;
  }

  body:not(.coffee-page):not(.error-page) .contact-form h3 {
    font-size: clamp(2.35rem, 4vw, 4.4rem);
  }

  .team-page .team-hero,
  .team-page .team-founders,
  .team-page .team-network,
  .team-page .team-cta,
  .privacy-hero,
  .privacy-content-section {
    padding-top: 118px;
    padding-bottom: 94px;
  }

  .team-page .team-hero-grid,
  .team-page .network-grid,
  .team-page .team-cta-grid,
  .privacy-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .team-page .founders-grid,
  .team-page .network-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Trademark service page */
.trademark-page {
  color: var(--white);
  background: #050505;
}

.trademark-page .page-shell {
  background: #050505;
}

.trademark-page .site-header .brand,
.trademark-page .footer-brand {
  color: var(--white);
}

.trademark-page main {
  overflow-x: clip;
  overflow-y: visible;
}

.tm-page-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.trademark-page main > section > .container,
.trademark-page .tm-hero-ticker {
  position: relative;
  z-index: 3;
}

.trademark-page .site-footer {
  position: relative;
  z-index: 4;
}

.trademark-page .kicker {
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.tm-hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 100svh;
  height: 100svh;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 43%, rgba(255, 184, 0, 0.16), transparent 27rem),
    radial-gradient(circle at 14% 84%, rgba(255, 44, 0, 0.09), transparent 24rem),
    linear-gradient(145deg, #020202 0%, #0a0906 53%, #020202 100%);
  isolation: auto;
}

.tm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent 2%, #000 28%, #000 78%, transparent 100%);
}

.tm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.56) 31%, transparent 62%);
  pointer-events: none;
}

.tm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  min-height: 100svh;
  height: 100svh;
  padding-top: 104px;
  padding-bottom: 92px;
}

.tm-scene-decor {
  --tm-scene-opacity: 0;
  --tm-scene-shift-x: 0px;
  --tm-scene-shift-y: 0px;
  --tm-scene-shift-x-reverse: 0px;
  --tm-scene-shift-y-reverse: 0px;
  --tm-scene-shift-x-soft: 0px;
  --tm-scene-shift-y-soft: 0px;
  --tm-scene-rotation: 0deg;
  --tm-scene-fill: 0%;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: var(--tm-scene-opacity);
  pointer-events: none;
  transition: opacity 0.22s linear;
}

.tm-scene-decor--about span {
  position: absolute;
  top: -24%;
  width: clamp(86px, 9vw, 154px);
  height: 150%;
  border: 1px solid rgba(112, 72, 8, 0.07);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28) 46%, rgba(177, 105, 0, 0.06) 51%, transparent),
    linear-gradient(180deg, transparent 8%, rgba(111, 74, 14, 0.045), transparent 82%);
  box-shadow: 0 0 80px rgba(126, 77, 0, 0.035);
  transform: translate3d(var(--tm-scene-shift-x), var(--tm-scene-shift-y), 0) rotate(-17deg);
  transform-origin: center;
}

.tm-scene-decor--about span:nth-child(1) { left: 64%; }
.tm-scene-decor--about span:nth-child(2) { left: 76%; transform: translate3d(var(--tm-scene-shift-x-reverse), var(--tm-scene-shift-y-soft), 0) rotate(13deg); }
.tm-scene-decor--about span:nth-child(3) { left: 87%; transform: translate3d(var(--tm-scene-shift-x-soft), var(--tm-scene-shift-y-reverse), 0) rotate(-29deg); }
.tm-scene-decor--about span:nth-child(4) { left: 98%; transform: translate3d(var(--tm-scene-shift-x-reverse), var(--tm-scene-shift-y-soft), 0) rotate(21deg); }

.tm-scene-decor--plans span {
  position: absolute;
  top: -35%;
  width: clamp(240px, 29vw, 520px);
  height: 170%;
  opacity: 0.72;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 190, 0, 0.015) 28%, rgba(255, 111, 0, 0.17) 50%, rgba(255, 190, 0, 0.02) 72%, transparent 95%);
  filter: blur(18px);
  transform: translate3d(var(--tm-scene-shift-x), var(--tm-scene-shift-y), 0) rotate(-21deg);
}

.tm-scene-decor--plans span:nth-child(1) { left: -8%; }
.tm-scene-decor--plans span:nth-child(2) { left: 35%; transform: translate3d(var(--tm-scene-shift-x-reverse), var(--tm-scene-shift-y-soft), 0) rotate(18deg); }
.tm-scene-decor--plans span:nth-child(3) { right: -10%; transform: translate3d(var(--tm-scene-shift-x-soft), var(--tm-scene-shift-y-reverse), 0) rotate(-28deg); }

.tm-scene-decor--calculator {
  --tm-calc-base-rotation: 0deg;
  --tm-calc-scale: 1;
  mix-blend-mode: multiply;
}

.tm-calc-aperture,
.tm-calc-aperture-core {
  position: absolute;
  top: 50%;
  left: -13vw;
  border-radius: 50%;
  transform: translate3d(var(--tm-scene-shift-x), calc(-50% + var(--tm-scene-shift-y)), 0)
    rotate(calc(var(--tm-scene-rotation) + var(--tm-calc-base-rotation))) scale(var(--tm-calc-scale));
}

.tm-calc-aperture {
  width: min(64vw, 980px);
  aspect-ratio: 1;
  opacity: 0.46;
  background:
    repeating-conic-gradient(from 18deg, rgba(57, 37, 7, 0.18) 0 0.45deg, transparent 0.6deg 11deg),
    repeating-radial-gradient(circle, transparent 0 11%, rgba(88, 53, 4, 0.1) 11.2% 11.5%, transparent 11.8% 18%);
  mask-image: radial-gradient(circle, transparent 0 18%, #000 29% 71%, transparent 83%);
}

.tm-calc-aperture-core {
  left: 2vw;
  width: min(30vw, 440px);
  aspect-ratio: 1;
  opacity: 0.72;
  background: radial-gradient(circle, rgba(252, 184, 0, 0.22), rgba(102, 61, 0, 0.08) 24%, transparent 68%);
  filter: blur(10px);
}

.tm-scene-decor--process span:first-child {
  position: absolute;
  top: 10%;
  left: -22%;
  width: 62%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 176, 0, 0.15), #ff7a00 72%, transparent);
  box-shadow: 0 0 28px rgba(255, 102, 0, 0.38);
  transform: translate3d(var(--tm-scene-shift-x), var(--tm-scene-shift-y), 0) rotate(24deg);
}

.tm-scene-decor--process span:last-child {
  position: absolute;
  right: -15%;
  bottom: -20%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 80, 0, 0.14), transparent 62%);
  filter: blur(30px);
  transform: translate3d(var(--tm-scene-shift-x-reverse), var(--tm-scene-shift-y-soft), 0);
}

.tm-scene-decor--cta span {
  position: absolute;
  top: -45%;
  left: -14%;
  width: 42%;
  height: 190%;
  opacity: 0.52;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  filter: blur(28px);
  transform: translate3d(var(--tm-scene-shift-x), var(--tm-scene-shift-y), 0) rotate(21deg);
}

.tm-hero-ticker {
  display: none;
}

.tm-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.tm-hero-copy::before {
  content: "";
  position: absolute;
  top: -44px;
  left: -32px;
  width: 74px;
  height: 2px;
  display: none;
  background: linear-gradient(90deg, var(--gold-strong), transparent);
}

.tm-hero h1 {
  max-width: 800px;
  margin: 24px 0 26px;
  color: var(--white);
  font-size: clamp(5.6rem, 8.8vw, 9.3rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.83;
  text-transform: uppercase;
}

.tm-hero-lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.42vw, 1.28rem);
  line-height: 1.62;
}

.tm-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.tm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-text-link span {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.tm-text-link:hover span {
  transform: translate(4px, 4px);
}

.tm-hero-art {
  position: relative;
  width: min(63vw, 790px);
  aspect-ratio: 1;
  justify-self: end;
  margin-right: clamp(-118px, -7vw, -72px);
  transform: translateY(-8vh);
}

.tm-hero-art::before,
.tm-hero-art::after {
  display: none;
}

.tm-brand-game {
  --tm-game-progress: 0%;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(246, 206, 69, 0.3);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 191, 0, 0.1), transparent 15rem),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(5, 5, 5, 0.82);
  background-size: auto, 42px 42px, 42px 42px, auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52), inset 0 0 70px rgba(255, 191, 0, 0.025);
  backdrop-filter: blur(12px);
}

.tm-brand-game::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tm-game-progress);
  height: 3px;
  background: linear-gradient(90deg, var(--gold-strong), #ff3b00);
  box-shadow: 0 0 22px rgba(255, 191, 0, 0.7);
  transition: width 0.45s ease;
}

.tm-brand-game::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 191, 0, 0.22), transparent 46%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.tm-brand-game.complete::after {
  opacity: 1;
  animation: tmGameComplete 1.4s ease both;
}

.tm-game-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.34);
}

.tm-game-head span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tm-game-head strong {
  color: var(--gold-strong);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tm-game-board {
  position: relative;
  min-height: 354px;
  overflow: hidden;
}

.tm-game-board::before,
.tm-game-board::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.tm-game-board::before {
  width: 290px;
  height: 290px;
}

.tm-game-board::after {
  width: 190px;
  height: 190px;
}

.tm-game-scan {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 145px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 191, 0, 0.76), transparent);
  transform-origin: left;
  animation: tmGameScan 5.5s linear infinite;
}

.tm-game-scan::before {
  content: "";
  position: absolute;
  top: -46px;
  left: 0;
  width: 145px;
  height: 92px;
  opacity: 0.13;
  background: conic-gradient(from 270deg at 0 50%, rgba(255, 191, 0, 0.6), transparent 23%);
}

.tm-game-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(4, 4, 4, 0.94);
  box-shadow: 0 0 0 8px rgba(255, 191, 0, 0.035), 0 0 40px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
}

.tm-game-core::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(var(--gold-strong) var(--tm-game-progress), rgba(255, 255, 255, 0.12) 0);
  transition: background 0.45s ease;
}

.tm-game-core::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 50%;
  background: #050505;
}

.tm-game-core small {
  position: absolute;
  top: 23px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tm-game-core strong {
  color: transparent;
  font-size: 3rem;
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.82);
}

.tm-game-core span {
  position: absolute;
  bottom: 16px;
  color: var(--gold-strong);
  font-size: 0.62rem;
  font-weight: 950;
}

.tm-game-threat {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  width: 154px;
  min-height: 76px;
  padding: 11px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(8, 8, 8, 0.9);
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease,
    opacity 0.25s ease;
}

.tm-game-threat::after {
  content: "×";
  position: absolute;
  top: 8px;
  right: 10px;
  color: #ff4b18;
  font-size: 0.9rem;
  font-weight: 950;
}

.tm-game-threat:hover:not(.cleared),
.tm-game-threat:focus-visible:not(.cleared) {
  border-color: var(--gold-strong);
  background: #11100b;
  outline: none;
  transform: translateY(-3px);
}

.tm-game-threat > span {
  color: var(--gold-strong);
  font-size: 0.5rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.tm-game-threat strong {
  padding-right: 10px;
  font-size: 0.73rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tm-game-threat small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.55rem;
}

.tm-game-threat.cleared {
  color: var(--ink);
  border-color: var(--gold-strong);
  background: var(--gold-strong);
  opacity: 0.88;
}

.tm-game-threat.cleared::after {
  content: "✓";
  color: var(--ink);
}

.tm-game-threat.cleared > span,
.tm-game-threat.cleared small {
  color: rgba(8, 8, 8, 0.55);
}

.tm-game-threat--name {
  top: 26px;
  left: 18px;
}

.tm-game-threat--class {
  top: 36px;
  right: 18px;
}

.tm-game-threat--formal {
  right: 50%;
  bottom: 18px;
  transform: translateX(50%);
}

.tm-game-threat--formal:hover:not(.cleared),
.tm-game-threat--formal:focus-visible:not(.cleared) {
  transform: translate(50%, -3px);
}

.tm-game-foot {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px 14px;
  min-height: 116px;
  padding: 14px 18px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.5);
}

.tm-game-progress {
  display: flex;
  gap: 5px;
}

.tm-game-progress span {
  width: 18px;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.tm-game-progress span.active {
  background: var(--gold-strong);
  box-shadow: 0 0 10px rgba(255, 191, 0, 0.5);
}

.tm-game-foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.67rem;
  line-height: 1.38;
}

.tm-game-foot button {
  padding: 0;
  color: var(--gold-strong);
  border: 0;
  background: transparent;
  font-size: 0.61rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tm-game-foot > small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.26);
  font-size: 0.52rem;
  line-height: 1.35;
}

.tm-brand-puzzle {
  --tm-puzzle-x: 50%;
  --tm-puzzle-y: 50%;
  --tm-puzzle-progress: 0%;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(246, 206, 69, 0.18);
  outline: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(255, 191, 0, 0.05), transparent 52%),
    rgba(3, 3, 3, 0.62);
  background-size: 36px 36px, 36px 36px, auto, auto;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.62), 0 34px 110px rgba(0, 0, 0, 0.38);
  cursor: crosshair;
  isolation: isolate;
}

.tm-brand-puzzle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(
    circle 110px at var(--tm-puzzle-x) var(--tm-puzzle-y),
    rgba(255, 203, 47, 0.16),
    rgba(255, 203, 47, 0.035) 42%,
    transparent 72%
  );
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.tm-brand-puzzle.scanning::before,
.tm-brand-puzzle:focus-visible::before {
  opacity: 1;
}

.tm-brand-puzzle::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.045);
  clip-path: polygon(0 0, 31% 0, 31% 1px, 100% 1px, 100% 69%, calc(100% - 1px) 69%, calc(100% - 1px) 100%, 62% 100%, 62% calc(100% - 1px), 0 calc(100% - 1px));
  pointer-events: none;
}

.tm-puzzle-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tm-puzzle-field::before,
.tm-puzzle-field::after {
  content: "";
  position: absolute;
  top: 48%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.tm-puzzle-field::before {
  width: 390px;
  height: 390px;
}

.tm-puzzle-field::after {
  width: 290px;
  height: 290px;
  border-style: dashed;
}

.tm-brand-puzzle.complete .tm-puzzle-field::before {
  border-color: rgba(255, 191, 0, 0.34);
  box-shadow: 0 0 80px rgba(255, 191, 0, 0.08);
}

.tm-puzzle-coordinate {
  position: absolute;
  top: 25px;
  left: 28px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.23);
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.tm-puzzle-core {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 178px;
  height: 178px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.78) 67%);
  transform: translate(-50%, -50%);
}

.tm-puzzle-core::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -2;
  border-radius: 50%;
  background: conic-gradient(var(--gold-strong) var(--tm-puzzle-progress), rgba(255, 255, 255, 0.09) 0);
  transition: background 0.55s ease, filter 0.55s ease;
}

.tm-puzzle-core::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 50%;
  background: #050505;
}

.tm-puzzle-core span {
  color: transparent;
  font-size: 9.4rem;
  font-weight: 300;
  line-height: 0.75;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.62);
  transform: translateY(-3px);
  transition: color 0.55s ease, -webkit-text-stroke-color 0.55s ease, filter 0.55s ease;
}

.tm-puzzle-core small {
  position: absolute;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tm-brand-puzzle.complete .tm-puzzle-core::before {
  filter: drop-shadow(0 0 13px rgba(255, 191, 0, 0.5));
}

.tm-brand-puzzle.complete .tm-puzzle-core span {
  color: rgba(255, 191, 0, 0.08);
  -webkit-text-stroke-color: var(--gold-strong);
  filter: drop-shadow(0 0 18px rgba(255, 191, 0, 0.26));
}

.tm-puzzle-link {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 2;
  width: 155px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: left;
}

.tm-puzzle-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-strong), #ff5a00);
  transform: translateX(-101%);
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.tm-puzzle-link--one {
  transform: rotate(216deg);
}

.tm-puzzle-link--two {
  transform: rotate(-37deg);
}

.tm-puzzle-link--three {
  width: 142px;
  transform: rotate(91deg);
}

.tm-brand-puzzle.complete .tm-puzzle-link::before {
  transform: translateX(0);
}

.tm-puzzle-node {
  position: absolute;
  z-index: 5;
  width: 112px;
  height: 92px;
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  outline: none;
  background: transparent;
  text-align: center;
}

.tm-puzzle-node i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(246, 206, 69, 0.74);
  border-radius: 50%;
  background: #070707;
  box-shadow: 0 0 0 7px rgba(255, 191, 0, 0.035), 0 0 14px rgba(255, 191, 0, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.tm-puzzle-node i::before {
  content: "";
  position: absolute;
  inset: -11px;
  border: 1px solid rgba(246, 206, 69, 0.12);
  border-radius: 50%;
  animation: tmPuzzlePulse 2.8s ease-in-out infinite;
}

.tm-puzzle-node span,
.tm-puzzle-node strong {
  position: absolute;
  left: 50%;
  opacity: 0;
  white-space: nowrap;
  transform: translate(-50%, 5px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.tm-puzzle-node span {
  top: 8px;
  color: var(--gold-strong);
  font-size: 0.48rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.tm-puzzle-node strong {
  top: 66px;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tm-puzzle-node:hover span,
.tm-puzzle-node:hover strong,
.tm-puzzle-node:focus-visible span,
.tm-puzzle-node:focus-visible strong,
.tm-puzzle-node.discovered span,
.tm-puzzle-node.discovered strong {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tm-puzzle-node.discovered i {
  width: 16px;
  height: 16px;
  background: var(--gold-strong);
  box-shadow: 0 0 0 9px rgba(255, 191, 0, 0.06), 0 0 28px rgba(255, 191, 0, 0.52);
}

.tm-puzzle-node.discovered i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.tm-puzzle-node--name {
  top: 19%;
  left: 9%;
}

.tm-puzzle-node--class {
  top: 23%;
  right: 5%;
}

.tm-puzzle-node--form {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.tm-puzzle-cursor {
  position: absolute;
  top: var(--tm-puzzle-y);
  left: var(--tm-puzzle-x);
  z-index: 7;
  width: 58px;
  height: 58px;
  opacity: 0;
  border: 1px solid rgba(255, 210, 65, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255, 191, 0, 0.12), inset 0 0 18px rgba(255, 191, 0, 0.06);
  transform: translate(-50%, -50%) scale(0.72);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tm-puzzle-cursor::before,
.tm-puzzle-cursor::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 210, 65, 0.46);
  transform: translate(-50%, -50%);
}

.tm-puzzle-cursor::before {
  width: 74px;
  height: 1px;
}

.tm-puzzle-cursor::after {
  width: 1px;
  height: 74px;
}

.tm-brand-puzzle.scanning .tm-puzzle-cursor {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.tm-puzzle-status {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.tm-puzzle-status > div {
  display: flex;
  gap: 5px;
}

.tm-puzzle-status i {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.tm-puzzle-status i.active {
  background: var(--gold-strong);
  box-shadow: 0 0 9px rgba(255, 191, 0, 0.52);
}

.tm-puzzle-status p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.6rem;
  line-height: 1.45;
  transition: color 0.3s ease;
}

.tm-brand-puzzle.scanning .tm-puzzle-status p,
.tm-brand-puzzle.complete .tm-puzzle-status p {
  color: rgba(255, 255, 255, 0.68);
}

.tm-hero-art-static {
  display: none;
  position: absolute;
  inset: 0;
}

.tm-orbit {
  position: absolute;
  border: 1px solid rgba(246, 206, 69, 0.46);
  border-radius: 50%;
}

.tm-orbit--outer {
  inset: 8%;
  animation: tmOrbitSpin 24s linear infinite;
}

.tm-orbit--outer::before,
.tm-orbit--outer::after,
.tm-orbit--inner::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 20px rgba(255, 191, 0, 0.72);
}

.tm-orbit--outer::before {
  top: 10%;
  left: 15%;
  width: 9px;
  height: 9px;
}

.tm-orbit--outer::after {
  right: 5%;
  bottom: 25%;
  width: 5px;
  height: 5px;
}

.tm-orbit--inner {
  inset: 22%;
  border-color: rgba(255, 255, 255, 0.18);
  animation: tmOrbitSpinReverse 17s linear infinite;
}

.tm-orbit--inner::before {
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
}

.tm-registered {
  position: absolute;
  top: 50%;
  left: 50%;
  color: transparent;
  font-size: clamp(14rem, 27vw, 24rem);
  font-weight: 300;
  line-height: 0.75;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -51%);
  filter: drop-shadow(0 0 30px rgba(246, 206, 69, 0.12));
}

.tm-art-word {
  position: absolute;
  top: 50%;
  left: -3%;
  color: var(--gold-strong);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.68em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateY(-50%);
}

.tm-art-meta {
  position: absolute;
  right: 0;
  bottom: 6%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 0 10px 16px;
  border-left: 2px solid var(--gold-strong);
}

.tm-art-meta span {
  color: var(--white);
  font-size: 3.8rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.tm-art-meta small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tm-hero-ticker {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  gap: 46px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.13);
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
}

.tm-hero-ticker span {
  animation: tmTicker 24s linear infinite;
}

.tm-about {
  position: relative;
  padding: clamp(92px, 9.6vw, 138px) 0 clamp(88px, 9vw, 130px);
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 14%, rgba(246, 206, 69, 0.34), transparent 22rem),
    var(--paper);
}

.tm-about::after {
  content: "TM";
  position: absolute;
  right: -0.04em;
  bottom: -0.19em;
  color: transparent;
  font-size: clamp(12rem, 31vw, 30rem);
  font-weight: 950;
  letter-spacing: -0.11em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(8, 8, 8, 0.09);
  pointer-events: none;
}

.tm-about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(50px, 10vw, 138px);
}

.tm-section-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(8, 8, 8, 0.22);
}

.tm-section-label span {
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 900;
}

.tm-section-label p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tm-about-copy {
  max-width: 900px;
}

.trademark-page .tm-reveal-left {
  filter: blur(11px);
  transform: translate3d(-46vw, 0, 0) skewX(-2.5deg);
  transition-duration: 1.05s;
  will-change: transform, opacity, filter;
}

.trademark-page .tm-reveal-right {
  filter: blur(11px);
  transform: translate3d(76vw, 0, 0) skewX(2.5deg);
  transition-duration: 1.05s;
  will-change: transform, opacity, filter;
}

.trademark-page .tm-reveal-left.visible,
.trademark-page .tm-reveal-right.visible {
  filter: blur(0);
  transform: translate3d(0, 0, 0) skewX(0);
}

.tm-about-copy h2,
.tm-plans-heading h2,
.tm-calculator-copy h2,
.tm-process-heading h2,
.tm-cta h2 {
  margin: 18px 0 26px;
  font-size: clamp(3.15rem, 6.1vw, 6.5rem);
  font-weight: 950;
  letter-spacing: -0.062em;
  line-height: 0.97;
  text-transform: uppercase;
}

.tm-about-copy > p:last-of-type {
  max-width: 790px;
  margin: 0;
  color: rgba(8, 8, 8, 0.7);
  font-size: clamp(1.08rem, 1.65vw, 1.36rem);
  line-height: 1.68;
}

.tm-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.tm-facts article {
  display: grid;
  gap: 10px;
  padding: 24px 0 0;
  border-top: 2px solid var(--ink);
}

.tm-facts strong {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  letter-spacing: -0.07em;
}

.tm-facts span {
  max-width: 280px;
  color: rgba(8, 8, 8, 0.56);
  line-height: 1.5;
}

.tm-plans {
  position: relative;
  padding: clamp(94px, 9.5vw, 136px) 0 clamp(90px, 9vw, 130px);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.035) 50%, transparent 50.1%),
    #060606;
}

.tm-plans::before {
  content: "PLANS";
  position: absolute;
  top: 18px;
  left: 50%;
  color: transparent;
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  transform: translateX(-50%);
  pointer-events: none;
}

.tm-plans-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 56px;
}

.tm-plans-heading h2 {
  max-width: 900px;
  color: var(--white);
}

.tm-plans-heading > p {
  margin: 0 0 30px;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.56);
  border-left: 1px solid rgba(246, 206, 69, 0.56);
  line-height: 1.65;
}

.tm-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 54px;
}

.tm-plan-card {
  --tm-card-x: 50%;
  --tm-card-y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 680px;
  padding: clamp(26px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    #0b0b0b;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tm-plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle 240px at var(--tm-card-x) var(--tm-card-y), rgba(255, 187, 0, 0.16), transparent 64%);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.tm-plan-card:hover::before {
  opacity: 1;
}

.tm-plan-card > * {
  position: relative;
  z-index: 1;
}

.tm-plan-card:hover {
  z-index: 2;
  border-color: rgba(246, 206, 69, 0.62);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  transform: translateY(-8px);
}

.tm-plan-card--featured {
  border-color: var(--gold-strong);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 65, 0, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(255, 191, 0, 0.1), transparent 44%),
    #0b0b0b;
}

.tm-plan-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(246, 206, 69, 0.18);
  border-radius: 50%;
}

.tm-plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold-strong);
  font-size: 0.63rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tm-plan-top > span {
  color: var(--gold-strong);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.tm-plan-card h3 {
  margin: 28px 0 20px;
  color: var(--white);
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-transform: uppercase;
}

.tm-plan-price {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.7rem, 4.2vw, 4.5rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
}

.tm-plan-price small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-plan-price--text {
  max-width: 290px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.tm-plan-term {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.84rem;
}

.tm-plan-card ul {
  display: grid;
  gap: 16px;
  margin: 34px 0 26px;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tm-plan-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.48;
}

.tm-plan-card li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--gold-strong);
}

.tm-plan-note {
  margin: auto 0 24px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  line-height: 1.55;
}

.tm-plan-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-plan-card > a span {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.tm-plan-card > a:hover span {
  transform: translateX(5px);
}

.tm-calculator {
  position: relative;
  padding: clamp(94px, 9.5vw, 136px) 0 clamp(90px, 9vw, 130px);
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(8, 8, 8, 0.055) 12% calc(12% + 1px), transparent calc(12% + 1px)),
    #efe5d3;
}

.tm-calculator-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.77fr) minmax(520px, 1.23fr);
  align-items: start;
  gap: clamp(50px, 8vw, 112px);
}

.tm-calculator-copy {
  position: sticky;
  top: 126px;
}

.tm-calculator-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(3.05rem, 4.25vw, 5.15rem);
}

.tm-calculator-copy > p {
  margin: 0;
  color: rgba(8, 8, 8, 0.63);
  line-height: 1.7;
}

.tm-calculator-source {
  display: grid;
  gap: 8px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(8, 8, 8, 0.22);
}

.tm-calculator-source span {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tm-calculator-source strong {
  font-size: 1.1rem;
}

.tm-calculator-source p {
  max-width: 380px;
  margin: 4px 0 0;
  color: rgba(8, 8, 8, 0.48);
  font-size: 0.78rem;
  line-height: 1.5;
}

.tm-calculator-panel {
  position: relative;
  padding: clamp(26px, 4.8vw, 56px);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 191, 0, 0.18), transparent 18rem),
    #090909;
  box-shadow: 0 34px 100px rgba(35, 28, 14, 0.24);
}

.tm-calculator-panel::before {
  content: "CALC / 01";
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.tm-calc-control {
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tm-calc-control:first-child {
  padding-top: 0;
}

.tm-calc-control label,
.tm-calc-control legend {
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tm-control-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tm-control-heading output {
  color: var(--gold-strong);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.tm-class-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
}

.tm-class-stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: transparent;
  font-size: 1.5rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tm-class-stepper button:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--gold-strong);
  background: var(--gold-strong);
}

.tm-class-stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.tm-class-stepper input {
  width: 100%;
  height: 4px;
  margin: 0;
  appearance: none;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(
    90deg,
    var(--gold-strong) 0 var(--tm-range-progress, 0%),
    rgba(255, 255, 255, 0.18) var(--tm-range-progress, 0%) 100%
  );
}

.tm-class-stepper input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 4px solid var(--gold-strong);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(255, 191, 0, 0.14);
}

.tm-class-stepper input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 4px solid var(--gold-strong);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(255, 191, 0, 0.14);
}

.tm-range-scale {
  display: flex;
  justify-content: space-between;
  margin: 7px 59px 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.66rem;
}

.tm-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.tm-segmented label {
  position: relative;
  cursor: pointer;
}

.tm-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tm-segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tm-segmented span small {
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
}

.tm-segmented input:checked + span {
  color: var(--ink);
  border-color: var(--gold-strong);
  background: var(--gold-strong);
}

.tm-segmented input:checked + span small {
  color: rgba(8, 8, 8, 0.58);
}

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

.tm-calc-results {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.tm-calc-results > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.tm-calc-results strong {
  min-width: max-content;
  color: var(--white);
  font-size: 0.98rem;
}

.tm-calc-results .tm-calc-total {
  align-items: flex-end;
  margin-top: 15px;
  padding: 26px 0 0;
  color: var(--white);
  border-top: 2px solid var(--gold-strong);
}

.tm-calc-total span {
  max-width: 180px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tm-calc-results .tm-calc-total strong {
  color: var(--gold-strong);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.tm-calc-disclaimer {
  margin: 34px 0 0;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  line-height: 1.55;
}

.tm-process {
  position: relative;
  padding: clamp(90px, 9.2vw, 132px) 0 clamp(86px, 8.8vw, 126px);
  color: var(--white);
  background:
    radial-gradient(circle at 14% 80%, rgba(255, 55, 0, 0.12), transparent 24rem),
    #050505;
}

.tm-process-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: start;
  gap: 60px;
}

.tm-process-heading h2 {
  max-width: 850px;
  margin-top: 0;
}

.tm-process-grid {
  --tm-process-fill: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.tm-process-grid::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 2;
  width: var(--tm-process-fill);
  height: 2px;
  background: linear-gradient(90deg, #ffbd00, #ff7800 68%, #e51a00);
  box-shadow: 0 0 20px rgba(255, 133, 0, 0.5);
  transition: width 0.08s linear;
  pointer-events: none;
}

.tm-process-grid article {
  position: relative;
  min-height: 260px;
  padding: 28px 26px 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.tm-process-grid article:not(:first-child) {
  padding-left: 26px;
}

.tm-process-grid article::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 16px rgba(255, 191, 0, 0.65);
}

.tm-process-grid article:not(:first-child)::before {
  left: 26px;
}

.tm-process-grid span {
  color: var(--gold-strong);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.tm-process-grid h3 {
  margin: 48px 0 15px;
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.tm-process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
  line-height: 1.6;
}

.tm-cta {
  padding: clamp(72px, 7vw, 98px) 0;
  color: var(--ink);
  background: linear-gradient(115deg, #ffbe00, #ff7a00 58%, #f12a00);
}

.tm-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 50px;
}

.tm-cta .kicker {
  color: rgba(8, 8, 8, 0.68);
}

.tm-cta h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.tm-cta-actions {
  display: grid;
  justify-items: stretch;
  gap: 18px;
}

.tm-cta-actions .btn {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.tm-cta-phones {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.tm-cta-phones a {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 950;
  text-align: center;
}

.tm-cta-phones a + a {
  padding-left: 0;
}

.tm-cta-phones a + a::before {
  display: none;
}

@keyframes tmOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tmOrbitSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes tmTicker {
  to {
    transform: translateX(calc(-100% - 46px));
  }
}

@keyframes tmGameScan {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tmGameComplete {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  46% {
    opacity: 1;
  }
  100% {
    opacity: 0.34;
    transform: scale(1.15);
  }
}

@keyframes tmPuzzlePulse {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.78);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.18);
  }
}

.tm-brand-organism {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
  cursor: crosshair;
  outline: none;
  isolation: isolate;
}

.tm-brand-organism::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 183, 0, 0.1), transparent 37%),
    conic-gradient(from 40deg, transparent 0 13%, rgba(255, 176, 0, 0.08) 16%, transparent 21% 44%, rgba(255, 69, 0, 0.07) 48%, transparent 55% 100%);
  filter: blur(9px);
  opacity: 0.86;
  animation: tmOrganismAtmosphere 13s linear infinite;
  pointer-events: none;
}

.tm-brand-organism::after {
  content: "";
  position: absolute;
  inset: 2%;
  z-index: -1;
  border-radius: 48% 52% 44% 56% / 51% 42% 58% 49%;
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 222, 120, 0.065), transparent 34%),
    radial-gradient(circle at 28% 34%, rgba(255, 86, 0, 0.04), transparent 26%);
  box-shadow:
    inset 0 0 90px rgba(255, 174, 0, 0.025),
    0 0 100px rgba(255, 91, 0, 0.025);
  border: 1px solid rgba(255, 215, 98, 0.05);
  transform: rotate(-7deg);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  pointer-events: none;
}

.tm-brand-organism canvas {
  position: absolute;
  inset: -7%;
  z-index: 1;
  width: 114%;
  height: 114%;
  filter: saturate(1.12) contrast(1.05) drop-shadow(0 0 26px rgba(255, 137, 0, 0.1));
}

.tm-organism-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 29%;
  aspect-ratio: 1;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 152, 0, 0.09);
  box-shadow:
    0 0 48px rgba(255, 197, 68, 0.18),
    0 0 122px rgba(255, 92, 0, 0.12),
    0 0 220px rgba(255, 63, 0, 0.07);
  filter: blur(18px);
  transform: translate(-50%, -50%);
  animation: tmOrganismBreathe 4.8s ease-in-out infinite;
  pointer-events: none;
}

.tm-organism-crosshairs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tm-organism-crosshairs i {
  position: absolute;
  top: 50%;
  left: 2%;
  width: 13px;
  height: 13px;
  opacity: 0.42;
  transform: translate(-50%, -50%);
}

.tm-organism-crosshairs i:nth-child(2) {
  left: 26%;
}

.tm-organism-crosshairs i:nth-child(3) {
  left: 50%;
}

.tm-organism-crosshairs i:nth-child(4) {
  left: 74%;
}

.tm-organism-crosshairs i:nth-child(5) {
  left: 98%;
}

.tm-organism-crosshairs i::before,
.tm-organism-crosshairs i::after {
  content: "";
  position: absolute;
  background: rgba(255, 240, 199, 0.62);
}

.tm-organism-crosshairs i::before {
  top: 6px;
  left: 0;
  width: 13px;
  height: 1px;
}

.tm-organism-crosshairs i::after {
  top: 0;
  left: 6px;
  width: 1px;
  height: 13px;
}

.tm-organism-chrome {
  position: absolute;
  top: 8%;
  left: 4%;
  right: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 237, 192, 0.38);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  pointer-events: none;
}

.tm-organism-chrome i {
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 190, 0, 0.72), transparent);
  box-shadow: 0 0 10px rgba(255, 145, 0, 0.24);
}

.tm-organism-status {
  position: absolute;
  left: 4%;
  right: 5%;
  bottom: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  pointer-events: none;
}

.tm-organism-status > div {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.tm-organism-status i {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.tm-organism-status i.active {
  background: #ffc219;
  box-shadow: 0 0 14px rgba(255, 171, 0, 0.72);
  transform: scaleX(1.18);
}

.tm-organism-status p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.45;
  transition: color 0.35s ease;
}

.tm-brand-organism:hover .tm-organism-status p,
.tm-brand-organism:focus-visible .tm-organism-status p,
.tm-brand-organism.complete .tm-organism-status p {
  color: rgba(255, 245, 218, 0.8);
}

.tm-brand-organism:focus-visible::after,
.tm-brand-organism.complete::after {
  border-color: rgba(255, 206, 68, 0.16);
  box-shadow:
    inset 0 0 110px rgba(255, 174, 0, 0.04),
    0 0 130px rgba(255, 91, 0, 0.055);
}

.tm-brand-organism.complete .tm-organism-aura {
  animation-duration: 2.7s;
  background: rgba(255, 181, 0, 0.16);
  box-shadow:
    0 0 58px rgba(255, 228, 153, 0.25),
    0 0 145px rgba(255, 126, 0, 0.2),
    0 0 260px rgba(255, 56, 0, 0.09);
}

.tm-brand-organism[data-stage="1"] .tm-organism-aura,
.tm-brand-organism[data-stage="2"] .tm-organism-aura,
.tm-brand-organism[data-stage="3"] .tm-organism-aura {
  opacity: 0.94;
  background: rgba(255, 181, 0, 0.13);
  box-shadow:
    0 0 70px rgba(255, 228, 153, 0.2),
    0 0 170px rgba(255, 126, 0, 0.14),
    0 0 280px rgba(255, 56, 0, 0.07);
}

@keyframes tmOrganismAtmosphere {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tmOrganismBreathe {
  0%, 100% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.84);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@media (min-width: 1061px) and (max-height: 820px) {
  .tm-hero-grid {
    align-items: center;
    padding-top: 142px;
    padding-bottom: 28px;
  }

  .tm-hero h1 {
    margin: 14px 0 16px;
    font-size: clamp(4rem, 6.3vw, 5.1rem);
  }

  .tm-hero-lead {
    max-width: 560px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .tm-hero-actions {
    margin-top: 0;
  }

  .tm-hero-actions .btn {
    min-width: 286px;
    min-height: 58px;
  }
}

@media (min-width: 1061px) {
  .tm-hero {
    height: auto;
    min-height: 100svh;
  }

  .tm-hero-grid {
    min-height: 100svh;
    height: auto;
    padding-top: 142px;
    padding-bottom: 28px;
  }

  .tm-hero-copy {
    position: relative;
    top: 20px;
    align-self: center;
    padding-bottom: 26px;
  }

  .tm-hero-actions {
    position: absolute;
    top: calc(51% + 78px);
    right: clamp(78px, 7vw, 108px);
    bottom: auto;
    z-index: 6;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    margin: 0;
    transform: translateY(-50%);
  }

  .tm-hero-actions .btn {
    min-width: 310px;
  }

  .tm-hero-art {
    position: absolute;
    top: 142px;
    right: clamp(-118px, -7vw, -72px);
    bottom: 0;
    width: min(63vw, 790px);
    margin: 0;
    aspect-ratio: auto;
    transform: none;
  }

  .tm-about {
    padding-top: 119px;
    padding-bottom: 72px;
  }

  .tm-about-copy h2 {
    margin-top: 14px;
    margin-bottom: 20px;
    font-size: clamp(3rem, 5.6vw, 5.8rem);
  }

  .tm-about-copy > p:last-of-type {
    line-height: 1.58;
  }

  .tm-facts {
    margin-top: 36px;
  }

  .tm-facts article {
    padding-top: 20px;
  }

  .tm-calculator {
    padding: 74px 0 72px;
  }

  .tm-cta {
    padding: 48px 0;
  }

  body.trademark-page .site-footer {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .trademark-page .footer-grid {
    padding-top: 26px;
  }

  .tm-calculator-grid {
    grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
    gap: clamp(40px, 5vw, 72px);
  }

  .tm-calculator-copy h2 {
    margin: 16px 0 20px;
    font-size: clamp(2.8rem, 3.8vw, 4.25rem);
    line-height: 0.93;
  }

  .tm-calculator-copy > p {
    line-height: 1.58;
  }

  .tm-calculator-source {
    margin-top: 26px;
    padding-top: 16px;
  }

  .tm-calculator-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    padding: 34px 38px;
  }

  .tm-calculator-panel > .tm-calc-control:first-child,
  .tm-calculator-panel > .tm-calc-results,
  .tm-calculator-panel > .tm-calc-disclaimer {
    grid-column: 1 / -1;
  }

  .tm-calc-control {
    padding: 18px 0;
  }

  .tm-class-stepper {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 12px;
    margin-top: 16px;
  }

  .tm-class-stepper button {
    width: 38px;
    height: 38px;
  }

  .tm-range-scale {
    margin-right: 50px;
    margin-left: 50px;
  }

  .tm-calculator-panel > fieldset .tm-segmented {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 12px;
  }

  .tm-calculator-panel > fieldset .tm-segmented span {
    min-height: 42px;
    padding: 8px 10px;
  }

  .tm-calc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    margin-top: 16px;
  }

  .tm-calc-results > div {
    padding: 8px 0;
  }

  .tm-calc-results .tm-calc-total {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 16px;
  }

  .tm-calc-results .tm-calc-total strong {
    font-size: clamp(2.7rem, 3.8vw, 3.4rem);
  }

  .tm-calc-disclaimer {
    margin-top: 20px;
    padding-top: 12px;
  }
}

@media (max-width: 1060px) {
  .tm-page-scene {
    display: none;
  }

  .tm-hero {
    min-height: max(820px, 100svh);
    padding: 154px 0 112px;
  }

  .tm-brand-game,
  .tm-brand-puzzle,
  .tm-brand-organism {
    display: none;
  }

  .tm-hero-art-static {
    display: block;
  }

  .tm-hero-grid {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 26px;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .tm-hero-actions {
    grid-column: 1;
    grid-row: 2;
  }

  .tm-hero-art {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: min(100%, 530px);
    margin-right: 0;
    transform: none;
  }

  .tm-hero h1 {
    font-size: clamp(4.9rem, 10vw, 7.2rem);
  }

  .tm-plan-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .tm-plan-card {
    min-height: 0;
  }

  .tm-plan-note {
    margin-top: 18px;
  }

  .tm-calculator-grid {
    grid-template-columns: minmax(260px, 0.68fr) minmax(450px, 1.32fr);
    gap: 40px;
  }

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

  .tm-process-grid article:nth-child(2) {
    border-right: 0;
  }

  .tm-process-grid article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (min-width: 1061px) and (max-width: 1320px) {
  .tm-plan-card {
    padding: 32px 28px;
  }

  .tm-plan-card h3 {
    font-size: clamp(2.45rem, 3.7vw, 3.55rem);
  }

  .tm-plan-price {
    font-size: clamp(2.75rem, 3.8vw, 3.75rem);
  }

  .tm-plan-price--text {
    font-size: clamp(2rem, 2.7vw, 2.65rem);
  }
}

@media (max-width: 820px) {
  .tm-scene-decor {
    display: none;
  }

  .tm-process-grid::after {
    display: none;
  }

  .tm-hero {
    min-height: 920px;
    padding: 132px 0 92px;
  }

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

  .tm-hero-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .tm-hero-copy {
    max-width: 660px;
  }

  .tm-hero-art {
    position: absolute;
    right: -100px;
    bottom: 20px;
    width: 440px;
    opacity: 0.54;
  }

  .tm-about-grid,
  .tm-plans-heading,
  .tm-calculator-grid,
  .tm-process-heading,
  .tm-cta-grid {
    grid-template-columns: 1fr;
  }

  .tm-about-grid {
    gap: 42px;
  }

  .tm-section-label {
    max-width: 190px;
  }

  .tm-plans-heading {
    gap: 6px;
  }

  .tm-plans-heading > p {
    max-width: 560px;
    margin: 0;
  }

  .tm-calculator-grid {
    gap: 48px;
  }

  .tm-calculator-copy {
    position: static;
  }

  .tm-process-heading {
    gap: 16px;
  }

  .tm-cta-grid {
    gap: 34px;
  }

  .tm-cta-actions {
    max-width: 420px;
  }
}

@media (max-width: 620px) {
  .trademark-page .kicker {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .tm-hero {
    min-height: 780px;
    padding: 116px 0 88px;
  }

  .tm-hero::before {
    background-size: 46px 46px;
  }

  .tm-hero-copy::before {
    display: none;
  }

  .tm-hero h1 {
    margin: 18px 0 22px;
    font-size: clamp(4rem, 20vw, 5.4rem);
    letter-spacing: -0.06em;
    line-height: 0.87;
  }

  .tm-hero-lead {
    max-width: 94%;
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .tm-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
  }

  .tm-hero-actions .btn {
    width: 100%;
  }

  .tm-hero-art {
    right: -300px;
    bottom: -90px;
    width: 390px;
    opacity: 0.16;
  }

  .tm-hero-art::before,
  .tm-hero-art::after {
    display: none;
  }

  .tm-art-meta,
  .tm-art-word {
    display: none;
  }

  .tm-hero-ticker {
    bottom: 18px;
    font-size: 2.1rem;
  }

  .tm-about,
  .tm-plans,
  .tm-calculator,
  .tm-process {
    padding: 72px 0 68px;
  }

  .tm-about-copy h2,
  .tm-plans-heading h2,
  .tm-calculator-copy h2,
  .tm-process-heading h2,
  .tm-cta h2 {
    margin: 14px 0 20px;
    font-size: clamp(2.5rem, 12.5vw, 3.7rem);
    letter-spacing: -0.052em;
    line-height: 0.99;
  }

  .tm-calculator-copy h2 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .tm-about-grid {
    gap: 34px;
  }

  .tm-calculator-grid {
    gap: 40px;
  }

  .tm-about-copy > p:last-of-type {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .tm-facts {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .tm-facts article {
    padding-top: 18px;
  }

  .tm-plan-grid {
    margin-top: 34px;
  }

  .tm-plan-card {
    padding: 27px 23px;
  }

  .tm-plan-card:hover {
    transform: none;
  }

  .tm-plan-card h3 {
    margin-top: 24px;
    font-size: 2.75rem;
  }

  .tm-plan-price {
    font-size: 3rem;
  }

  .tm-plan-price--text {
    font-size: 2.2rem;
  }

  .tm-plan-card ul {
    gap: 14px;
    margin-top: 28px;
  }

  .tm-calculator-panel {
    width: calc(100% + 12px);
    margin-left: -6px;
    padding: 32px 20px;
  }

  .tm-control-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .tm-class-stepper {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
    margin-top: 22px;
  }

  .tm-class-stepper button {
    width: 40px;
    height: 40px;
  }

  .tm-range-scale {
    margin-right: 50px;
    margin-left: 50px;
  }

  .tm-segmented {
    grid-template-columns: 1fr;
  }

  .tm-segmented span {
    min-height: 52px;
  }

  .tm-calc-results > div {
    align-items: flex-start;
  }

  .tm-calc-results > div:not(.tm-calc-total) span {
    max-width: 180px;
  }

  .tm-calc-results .tm-calc-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .tm-calc-results .tm-calc-total strong {
    font-size: 3.2rem;
  }

  .tm-process-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .tm-process {
    padding-top: 66px;
  }

  .tm-process-grid article,
  .tm-process-grid article:not(:first-child) {
    min-height: 0;
    padding: 24px 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .tm-process-grid article:nth-child(n + 3) {
    border-top: 0;
  }

  .tm-process-grid article:not(:first-child)::before {
    left: 0;
  }

  .tm-process-grid h3 {
    margin: 26px 0 12px;
  }

  .tm-cta {
    padding: 64px 0;
  }

  .tm-cta-actions {
    width: 100%;
  }

  .tm-cta-phones {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .tm-cta-phones a + a {
    padding-left: 0;
  }

  .tm-cta-phones a + a::before {
    display: none;
  }

  .trademark-page .tm-reveal-left {
    transform: translate3d(-120px, 0, 0) skewX(-1.5deg);
  }

  .trademark-page .tm-reveal-right {
    transform: translate3d(120px, 0, 0) skewX(1.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-orbit,
  .tm-hero-ticker span,
  .tm-game-scan,
  .tm-brand-game.complete::after,
  .tm-puzzle-node i::before {
    animation: none;
  }
}

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

  main > section[id] {
    scroll-margin-top: 0;
  }

  body.menu-open {
    overflow: hidden;
  }

  body:not(.coffee-page):not(.error-page) .site-header,
  body:not(.coffee-page):not(.error-page) .site-header.scrolled,
  .coffee-page .site-header,
  .coffee-page .site-header.scrolled,
  .error-page .site-header,
  .error-page .site-header.scrolled {
    min-height: 68px !important;
    padding: 8px 8px 8px 12px !important;
    transform: none !important;
  }

  .header-actions {
    gap: 2px !important;
    padding-right: 0 !important;
  }

  .mobile-call-toggle,
  .menu-toggle {
    width: 44px !important;
    height: 44px !important;
  }

  .mobile-call-toggle svg {
    width: 26px;
    height: 26px;
  }

  .menu-toggle span {
    left: 5px !important;
    width: 34px !important;
    height: 2px !important;
  }

  .menu-toggle span:first-child {
    top: 14px !important;
  }

  .menu-toggle span:last-child {
    top: 28px !important;
  }

  .menu-open .menu-toggle span:first-child,
  .menu-open .menu-toggle span:last-child {
    top: 21px !important;
  }

  .mobile-nav {
    top: 68px !important;
    right: 0 !important;
    bottom: 0;
    left: 0 !important;
    z-index: 90;
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    height: calc(100dvh - 68px);
    max-height: none;
    gap: 0;
    padding: 18px 18px 34px;
    overflow-y: auto;
    border: 0;
    border-top: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.97), rgba(4, 4, 4, 0.995)),
      #000;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -10px, 0);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease;
  }

  .menu-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 0;
    background: transparent;
    font-size: 0.94rem;
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
  }

  .menu-open .mobile-nav a {
    animation: mobileNavReveal 0.46s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .menu-open .mobile-nav a:nth-child(2) { animation-delay: 35ms; }
  .menu-open .mobile-nav a:nth-child(3) { animation-delay: 70ms; }
  .menu-open .mobile-nav a:nth-child(4) { animation-delay: 105ms; }
  .menu-open .mobile-nav a:nth-child(5) { animation-delay: 140ms; }
  .menu-open .mobile-nav a:nth-child(6) { animation-delay: 175ms; }
  .menu-open .mobile-nav a:nth-child(7) { animation-delay: 210ms; }
  .menu-open .mobile-nav a:nth-child(8) { animation-delay: 245ms; }
  .menu-open .mobile-nav a:nth-child(9) { animation-delay: 280ms; }
  .menu-open .mobile-nav a:nth-child(10) { animation-delay: 315ms; }

  .coffee-page .mobile-nav {
    color: #2f2922;
    border-top-color: rgba(73, 54, 39, 0.16);
    background:
      linear-gradient(180deg, rgba(249, 244, 235, 0.985), rgba(244, 236, 223, 0.995)),
      #f4ecdf;
  }

  .coffee-page .mobile-nav a {
    border-bottom-color: rgba(73, 54, 39, 0.12);
    background: transparent;
  }

  .mobile-call-menu {
    top: calc(100% + 7px);
    right: -46px;
    width: min(280px, calc(100vw - 28px));
    min-width: 0;
    padding: 8px;
  }

  .mobile-call-menu a {
    min-height: 56px;
    padding: 10px 12px;
  }

  .reveal {
    filter: none !important;
    transform: translate3d(0, 18px, 0) scale(0.994);
    transition-duration: 0.56s !important;
  }

  .reveal.visible {
    transform: translate3d(0, 0, 0) scale(1);
  }

  .mobile-motion-item {
    opacity: 0;
    transform: translate3d(var(--mobile-motion-x, 0), 24px, 0) scale(0.985);
    transition:
      opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1) var(--mobile-motion-delay, 0ms),
      transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--mobile-motion-delay, 0ms);
    will-change: opacity, transform;
  }

  .mobile-motion-item.mobile-motion-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .mobile-motion-section .kicker,
  .mobile-motion-section .coffee-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-motion-section .kicker::after,
  .mobile-motion-section .coffee-kicker::after {
    content: "";
    flex: 0 1 74px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-strong), rgba(224, 24, 0, 0));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
  }

  .mobile-motion-section.mobile-section-active .kicker::after,
  .mobile-motion-section.mobile-section-active .coffee-kicker::after {
    animation: mobileLineSweep 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.16s forwards;
  }

  .btn-primary {
    background-size: 220% 100%;
    animation: mobileGradientFlow 6s ease-in-out infinite;
  }

  .btn-primary > span {
    animation: mobileArrowPulse 1.9s ease-in-out infinite;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 3.45rem);
  }

  .about .section-heading h2,
  .review-aside h2,
  .contact-copy h2 {
    font-size: clamp(2.35rem, 10.6vw, 2.72rem);
    line-height: 0.95;
  }

  .client-copy h2,
  .services .section-heading h2 {
    font-size: clamp(2.08rem, 9.4vw, 2.42rem);
    line-height: 0.97;
  }

  .blog-head h2,
  .cta-grid h2 {
    font-size: clamp(2.18rem, 9.8vw, 2.52rem);
    line-height: 0.97;
  }

  .about {
    padding-top: 12px !important;
    padding-bottom: 32px !important;
  }

  .clients.section-image {
    padding-top: 30px !important;
    padding-bottom: 36px !important;
  }

  .client-grid {
    gap: 30px;
  }

  .client-list {
    gap: 10px;
  }

  .client-list a {
    min-height: 88px;
    padding: 0 20px;
    border-width: 2px;
    font-size: 1.05rem;
    letter-spacing: 0.17em;
  }

  .services {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  .services-grid {
    gap: 26px;
  }

  .service-cards {
    gap: 12px;
    margin-top: 22px;
  }

  .service-card {
    min-height: 214px;
    padding: 22px 20px;
  }

  .service-card h3 {
    margin-top: 24px;
    font-size: clamp(1.42rem, 6.6vw, 1.74rem);
    line-height: 1.02;
  }

  .service-card p {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .reviews,
  .contact {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .reviews-layout,
  .contact-grid {
    gap: 34px;
  }

  .review-panel,
  .review-track {
    min-height: 410px;
  }

  .review-panel {
    overflow: hidden;
  }

  .review-card {
    padding: 28px 24px 72px;
  }

  .review-card p {
    font-size: clamp(1.15rem, 5.5vw, 1.38rem);
    line-height: 1.25;
  }

  .review-controls {
    right: 22px;
    bottom: 22px;
  }

  .review-controls button {
    width: 48px;
    height: 48px;
  }

  .blog {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .blog-head p:last-child {
    margin-top: 18px;
  }

  .blog-partner {
    margin-top: 22px;
  }

  .cta-grid {
    min-height: 188px;
    gap: 20px;
    padding: 28px 0;
  }

  .contact-facts {
    margin-top: 24px;
  }

  .contact-form[data-form-disabled] {
    position: relative;
    width: 100%;
    min-height: 320px;
    height: 320px;
    padding: 0;
    overflow: hidden;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)) 20px 28px / calc(100% - 40px) 52px no-repeat,
      linear-gradient(90deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.014)) 20px 94px / calc(100% - 40px) 52px no-repeat,
      linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)) 20px 160px / calc(100% - 40px) 112px no-repeat,
      rgba(255, 255, 255, 0.018);
  }

  .contact-form[data-form-disabled]::after {
    inset: 0;
    background: rgba(0, 0, 0, 0.34);
    -webkit-backdrop-filter: blur(7px) grayscale(0.3);
    backdrop-filter: blur(7px) grayscale(0.3);
  }

  .contact-form[data-form-disabled] > *:not(.form-disabled-notice):not(.form-status) {
    display: none !important;
  }

  .contact-form[data-form-disabled] .form-disabled-notice {
    top: 50%;
    left: 50%;
    z-index: 5;
    display: block !important;
    width: calc(100% - 40px);
    max-width: 320px;
    min-height: 0;
    padding: 22px 20px;
    color: #fff;
    text-align: center;
    transform: translate(-50%, -50%);
  }

  .contact-form[data-form-disabled] .form-status {
    display: none !important;
  }

  .legal-footer {
    padding-top: 30px;
    padding-bottom: 24px !important;
  }

  .legal-footer .footer-grid {
    padding-top: 24px;
  }

  .legal-footer .footer-brand {
    margin-bottom: 24px;
  }

  .legal-footer .footer-grid nav {
    gap: 8px;
  }

  .legal-footer .footer-grid nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
  }

  .legal-footer .footer-grid > div:first-child > p {
    margin-top: 22px;
  }

  .legal-footer .footer-mobile-meta {
    margin-top: 22px;
  }

  .team-page .team-hero {
    padding-top: 96px;
    padding-bottom: 42px;
  }

  .team-page .team-hero h1,
  .team-page .team-section-head h2,
  .team-page .network-copy h2,
  .team-page .team-cta h2 {
    font-size: clamp(2.42rem, 11vw, 2.82rem);
    line-height: 0.94;
  }

  .team-page .team-founders,
  .team-page .team-network {
    padding-top: 38px;
    padding-bottom: 40px;
  }

  .team-page .founders-grid {
    margin-top: 24px;
  }

  .team-page .founder-body {
    padding: 22px 20px 24px;
  }

  .team-page .founder-card h3 {
    margin-top: 24px;
    font-size: clamp(1.72rem, 7.8vw, 2.08rem);
  }

  .team-page .network-grid {
    gap: 22px;
  }

  .team-page .network-cards article {
    padding: 16px 0;
  }

  .team-page .team-cta-grid {
    min-height: 0;
    gap: 20px;
    padding: 34px 0;
  }

  .coffee-page .coffee-hero {
    padding-top: 94px;
    padding-bottom: 42px;
  }

  .coffee-page .coffee-hero-grid {
    gap: 22px;
  }

  .coffee-page .coffee-hero h1,
  .coffee-page .coffee-story h2,
  .coffee-page .coffee-section-head h2,
  .coffee-page .coffee-address h2 {
    font-size: clamp(2.38rem, 10.8vw, 2.78rem);
    line-height: 0.94;
  }

  .coffee-page .coffee-logo-card {
    min-height: 238px;
  }

  .coffee-page .coffee-story,
  .coffee-page .coffee-menu-section,
  .coffee-page .coffee-location {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .coffee-page .coffee-menu-section {
    padding-top: 50px;
  }

  .coffee-page .coffee-menu-grid {
    margin-top: 18px;
  }

  .coffee-page .coffee-menu-card {
    min-height: 62px;
  }

  .coffee-page .coffee-map {
    min-height: 296px;
  }

  .coffee-page .coffee-map iframe {
    min-height: 288px;
  }

  .coffee-page .site-footer {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .coffee-page .footer-grid {
    gap: 18px;
  }

  .privacy-page .privacy-hero {
    padding-top: 104px;
    padding-bottom: 34px;
  }

  .privacy-page .privacy-hero h1 {
    font-size: clamp(1.72rem, 7.8vw, 2.05rem);
    line-height: 1;
  }

  .privacy-page .privacy-content {
    width: calc(100% - 24px);
    padding: 22px 17px;
  }

  .privacy-page .privacy-content h2 {
    margin-top: 28px;
    padding-top: 19px;
    font-size: 1.34rem;
  }

  .privacy-page .privacy-content p {
    margin-bottom: 15px;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .trademark-page .tm-hero {
    height: auto;
    min-height: 700px;
    padding-top: 108px;
    padding-bottom: 50px;
  }

  .trademark-page .tm-hero-grid {
    min-height: 0;
    height: auto;
    align-content: start;
  }

  .trademark-page .tm-hero h1 {
    font-size: clamp(3.5rem, 16vw, 3.9rem);
    line-height: 0.89;
  }

  .trademark-page .tm-hero-actions {
    gap: 14px;
    margin-top: 26px;
  }

  .trademark-page .tm-hero-art {
    right: -184px;
    bottom: 12px;
    width: 330px;
    opacity: 0.24;
  }

  .trademark-page .tm-about,
  .trademark-page .tm-plans,
  .trademark-page .tm-calculator,
  .trademark-page .tm-process {
    padding-top: 54px;
    padding-bottom: 52px;
  }

  .trademark-page .tm-about-copy h2,
  .trademark-page .tm-plans-heading h2,
  .trademark-page .tm-calculator-copy h2,
  .trademark-page .tm-process-heading h2,
  .trademark-page .tm-cta h2 {
    font-size: clamp(2.34rem, 10.7vw, 2.72rem);
    line-height: 0.98;
  }

  .trademark-page .tm-reveal-left {
    transform: translate3d(-58px, 0, 0) skewX(-1deg);
  }

  .trademark-page .tm-reveal-right {
    transform: translate3d(58px, 0, 0) skewX(1deg);
  }

  .trademark-page .tm-plan-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .trademark-page .tm-plan-card {
    padding: 24px 21px;
  }

  .trademark-page .tm-plan-card h3 {
    margin-top: 20px;
    font-size: 2.45rem;
  }

  .trademark-page .tm-plan-card ul {
    gap: 12px;
    margin-top: 24px;
  }

  .trademark-page .tm-calculator-grid {
    gap: 30px;
  }

  .trademark-page .tm-calculator-panel {
    width: 100%;
    margin-left: 0;
    padding: 28px 18px;
  }

  .trademark-page .tm-class-stepper button {
    width: 44px;
    height: 44px;
  }

  .trademark-page .tm-process-grid {
    margin-top: 28px;
  }

  .trademark-page .tm-process-grid article,
  .trademark-page .tm-process-grid article:not(:first-child) {
    padding-top: 20px;
    padding-bottom: 26px;
  }

  .trademark-page .tm-cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .error-page .error-hero {
    padding-top: 108px;
    padding-bottom: 44px;
  }

  .error-page .error-copy h1 {
    font-size: clamp(2.8rem, 12.8vw, 3.2rem);
  }

  .error-page .error-footer a {
    min-height: 28px;
    font-size: 0.72rem;
  }
}

@keyframes mobileNavReveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mobileLineSweep {
  to {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

@keyframes mobileGradientFlow {
  0%,
  100% {
    background-position: 0 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes mobileArrowPulse {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-motion-item,
  .mobile-motion-item.mobile-motion-visible,
  .menu-open .mobile-nav a,
  .mobile-motion-section.mobile-section-active .kicker::after,
  .mobile-motion-section.mobile-section-active .coffee-kicker::after,
  .btn-primary,
  .btn-primary > span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Final mobile cinematic overrides intentionally live after every legacy mobile pass. */
@media (max-width: 760px) {
  .page-shell,
  main {
    overflow-x: clip;
  }

  .home-page .hero,
  .trademark-page .tm-hero {
    height: 100svh;
    min-height: 100svh;
    max-height: none;
    box-sizing: border-box;
    overflow: hidden;
    overflow-anchor: auto;
    border-radius: 0;
    box-shadow: none;
    clip-path: none;
    transition: none;
  }

  .mobile-hero-cinema.home-page .hero,
  .mobile-hero-cinema.trademark-page .tm-hero {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .mobile-hero-cinema.home-page main > section:nth-child(n + 2),
  .mobile-hero-cinema.trademark-page main > section:nth-child(n + 2) {
    position: relative;
    z-index: 2;
  }

  .mobile-hero-cinema.home-page .about,
  .mobile-hero-cinema.trademark-page .tm-about {
    z-index: 3;
    margin-top: -30svh;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.52);
    transform: translate3d(0, var(--mobile-intro-lift, 30svh), 0);
    will-change: transform;
  }

  .mobile-hero-cinema.home-page .about {
    padding-top: 24px !important;
    border-top: 1px solid rgba(255, 191, 0, 0.16);
  }

  .mobile-hero-cinema.trademark-page .tm-about {
    border-top: 1px solid rgba(255, 191, 0, 0.34);
  }

  .home-page .hero {
    padding-top: 68px;
  }

  .home-page .hero-grid {
    height: calc(100svh - 68px);
    min-height: calc(100svh - 68px);
    padding-top: clamp(62px, 9svh, 88px);
    padding-bottom: 34px;
    align-items: start;
  }

  .home-page .hero::after {
    display: none !important;
  }

  .home-page .hero-copy {
    padding-top: 0;
  }

  .home-page .hero-art {
    display: none !important;
  }

  .home-page .hero-actions,
  .trademark-page .tm-hero-actions {
    display: grid;
    width: 100%;
    gap: 14px;
    margin-top: 25px;
  }

  .home-page .hero-actions .btn,
  .trademark-page .tm-hero-actions .btn {
    min-height: 58px;
    box-shadow: 0 18px 42px rgba(209, 70, 0, 0.18);
  }

  .trademark-page .tm-hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  .trademark-page .tm-hero-grid {
    height: 100svh;
    min-height: 100svh;
    padding-top: clamp(104px, 15svh, 126px);
    padding-bottom: 42px;
    align-content: start;
  }

  .trademark-page .tm-hero-grid::after {
    display: none;
  }

  .trademark-page .tm-text-link {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 0 4px;
    border-bottom: 1px solid rgba(255, 191, 0, 0.34);
  }

  .mobile-hero-cinema.home-page .hero-copy,
  .mobile-hero-cinema.trademark-page .tm-hero-copy,
  .mobile-hero-cinema.trademark-page .tm-hero-actions {
    opacity: calc(1 - var(--mobile-hero-progress, 0) * 0.68);
    transform: translate3d(0, calc(var(--mobile-hero-progress, 0) * -30px), 0)
      scale(calc(1 - var(--mobile-hero-progress, 0) * 0.018));
    transform-origin: center top;
    transition: none !important;
    will-change: opacity, transform;
  }

  .mobile-hero-cinema.home-page .hero-art {
    opacity: calc(0.62 - var(--mobile-hero-progress, 0) * 0.46);
    transform: translate3d(0, calc(var(--mobile-hero-progress, 0) * -24px), 0)
      scale(calc(1 + var(--mobile-hero-progress, 0) * 0.085));
    transition: none !important;
    will-change: opacity, transform;
  }

  .mobile-hero-cinema.trademark-page .tm-hero-art {
    opacity: calc(0.24 - var(--mobile-hero-progress, 0) * 0.1);
    transform: translate3d(0, calc(var(--mobile-hero-progress, 0) * -16px), 0)
      scale(calc(1 + var(--mobile-hero-progress, 0) * 0.04));
    transition: none !important;
    will-change: opacity, transform;
  }

  .mobile-motion-item {
    transform: translate3d(var(--mobile-motion-x, 0), 28px, 0) scale(0.982);
    transition-duration: 0.62s, 0.78s;
  }

  .trademark-page .tm-reveal-left.visible,
  .trademark-page .tm-reveal-right.visible,
  .trademark-page .tm-reveal-left.mobile-motion-visible,
  .trademark-page .tm-reveal-right.mobile-motion-visible {
    filter: none;
    transform: translate3d(0, 0, 0) skewX(0);
  }

  body.home-page .site-header,
  body.trademark-page .site-header,
  body.about-company-page .site-header {
    transition:
      min-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.28s ease,
      box-shadow 0.28s ease;
  }

  body.home-page .site-header .brand,
  body.trademark-page .site-header .brand,
  body.about-company-page .site-header .brand {
    transform-origin: left center;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.home-page .site-header:not(.scrolled),
  body.trademark-page .site-header:not(.scrolled),
  body.about-company-page .site-header:not(.scrolled) {
    min-height: 82px !important;
    padding: 16px 8px 10px 14px !important;
  }

  body.home-page .site-header:not(.scrolled) .brand,
  body.trademark-page .site-header:not(.scrolled) .brand,
  body.about-company-page .site-header:not(.scrolled) .brand {
    transform: scale(1.7);
  }

  body.home-page .site-header.scrolled .brand,
  body.trademark-page .site-header.scrolled .brand,
  body.about-company-page .site-header.scrolled .brand {
    transform: scale(1);
  }

  body.home-page .site-header:not(.scrolled) .mobile-nav,
  body.trademark-page .site-header:not(.scrolled) .mobile-nav,
  body.about-company-page .site-header:not(.scrolled) .mobile-nav {
    top: 82px !important;
    height: calc(100dvh - 82px);
  }

  .trademark-page .tm-calculator-panel {
    padding: 18px 16px;
  }

  .trademark-page .tm-calculator-panel::before {
    top: 8px;
    right: 12px;
    font-size: 0.52rem;
  }

  .trademark-page .tm-calc-control {
    padding: 10px 0;
  }

  .trademark-page .tm-calc-control:first-child {
    padding-top: 0;
  }

  .trademark-page .tm-calc-control label,
  .trademark-page .tm-calc-control legend {
    font-size: 0.67rem;
    letter-spacing: 0.045em;
  }

  .trademark-page .tm-control-heading {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .trademark-page .tm-control-heading output {
    font-size: 1.08rem;
  }

  .trademark-page .tm-class-stepper {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 10px;
    margin-top: 10px;
  }

  .trademark-page .tm-class-stepper button {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .trademark-page .tm-range-scale {
    margin: 4px 46px 0;
    font-size: 0.58rem;
  }

  .trademark-page .tm-calculator-panel > fieldset .tm-segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
  }

  .trademark-page .tm-calculator-panel > fieldset .tm-segmented span {
    min-height: 42px;
    padding: 6px 7px;
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .trademark-page .tm-calculator-panel > fieldset .tm-segmented span small {
    margin-left: 4px;
    font-size: 0.5rem;
  }

  .trademark-page .tm-calc-results {
    margin-top: 10px;
  }

  .trademark-page .tm-calc-results > div,
  .trademark-page .tm-calc-results .tm-calc-total {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.68rem;
  }

  .trademark-page .tm-calc-results > div:not(.tm-calc-total) span {
    max-width: 62%;
  }

  .trademark-page .tm-calc-results strong {
    font-size: 0.82rem;
  }

  .trademark-page .tm-calc-results .tm-calc-total {
    margin-top: 6px;
    padding-top: 12px;
  }

  .trademark-page .tm-calc-total span {
    max-width: 145px;
    font-size: 0.66rem;
  }

  .trademark-page .tm-calc-results .tm-calc-total strong {
    font-size: 2rem;
  }

  .trademark-page .tm-calc-disclaimer {
    margin-top: 12px;
    padding-top: 9px;
    font-size: 0.58rem;
    line-height: 1.4;
  }

}

@media (max-width: 760px) and (max-height: 680px) {
  .home-page .hero-grid {
    padding-top: 42px;
  }

  .home-page .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.15rem);
  }

  .trademark-page .tm-hero-grid {
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .trademark-page .tm-hero h1 {
    font-size: clamp(3.15rem, 15.2vw, 3.7rem);
  }
}
