:root {
  --brand-red: #C44342;
  --brand-gray: #43494C;
  --brand-black: #171719;
  --brand-white: #FFFFFF;
  --page: #121214;
  --surface: rgba(25, 25, 28, 0.78);
  --surface-strong: rgba(31, 31, 35, 0.92);
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.065);
  --text: #F7F7F7;
  --muted: rgba(255,255,255,0.60);
  --muted-2: rgba(255,255,255,0.42);
  --shadow-lg: 0 28px 80px rgba(0,0,0,0.36);
  --shadow-md: 0 16px 42px rgba(0,0,0,0.26);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --focus: 0 0 0 4px rgba(196,67,66,0.28);
  --px: 0px;
  --py: 0px;
  --scroll-y: 0px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--page); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(196,67,66,0.18), transparent 30%),
    radial-gradient(circle at 88% 42%, rgba(67,73,76,0.30), transparent 34%),
    var(--page);
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: var(--brand-red);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  z-index: -4;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.09) 0.55px, transparent 0.75px);
  background-size: 6px 6px;
  opacity: 0.22;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Premium motion lives around the brand, never on the logo itself. */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: #111113;
}
.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-bg::before {
  width: min(920px, 88vw);
  aspect-ratio: 1;
  top: -360px;
  left: 50%;
  border: 1px solid rgba(196,67,66,0.34);
  box-shadow:
    0 0 0 72px rgba(196,67,66,0.040),
    0 0 0 150px rgba(67,73,76,0.055),
    0 0 0 228px rgba(196,67,66,0.020),
    inset 0 0 110px rgba(196,67,66,0.050);
  transform: translate3d(calc(-50% + var(--px)), calc(var(--py) + var(--scroll-y)), 0);
  animation: haloBreathe 8s ease-in-out infinite;
}
.page-bg::after {
  width: 460px;
  height: 460px;
  right: -220px;
  top: 35%;
  background: rgba(196,67,66,0.10);
  filter: blur(90px);
  transform: translate3d(calc(var(--px) * -0.9), calc(var(--py) * -0.6), 0);
  animation: ambientFloat 11s ease-in-out infinite alternate;
}
.grid {
  position: absolute;
  inset: -12%;
  opacity: 0.34;
  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: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, rgba(0,0,0,0.72) 34%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, rgba(0,0,0,0.72) 34%, transparent 74%);
  transform: perspective(760px) rotateX(64deg) translate3d(calc(var(--px) * -0.12), calc(16% + var(--scroll-y) * 0.2), 0) scale(1.2);
  transform-origin: 50% 18%;
}
.grid::before {
  content: "";
  position: absolute;
  width: 145vw;
  height: 16px;
  left: -24vw;
  top: 38%;
  background: rgba(196,67,66,0.065);
  box-shadow: 0 142px 0 rgba(67,73,76,0.065);
  transform: rotate(-16deg);
}
.grid::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: 4%;
  top: 47%;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(196,67,66,0.024), 0 0 0 116px rgba(67,73,76,0.025);
}
.orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.orb--one {
  width: 520px;
  height: 520px;
  left: -260px;
  top: -100px;
  background: rgba(196,67,66,0.16);
  filter: blur(88px);
  transform: translate3d(calc(var(--px) * 0.65), calc(var(--py) * 0.45), 0);
  animation: orbA 13s ease-in-out infinite alternate;
}
.orb--two {
  width: 560px;
  height: 560px;
  right: -320px;
  top: 440px;
  background: rgba(67,73,76,0.22);
  filter: blur(96px);
  transform: translate3d(calc(var(--px) * -0.7), calc(var(--py) * -0.45), 0);
  animation: orbB 16s ease-in-out infinite alternate;
}
.particle-field { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
  opacity: var(--alpha);
  box-shadow: 0 0 10px rgba(255,255,255,0.20);
  animation: particleFloat var(--duration) ease-in-out var(--delay) infinite alternate;
}
.particle:nth-child(3n) {
  background: var(--brand-red);
  box-shadow: 0 0 12px rgba(196,67,66,0.38);
}
.ambient-line {
  position: absolute;
  left: -55vw;
  top: var(--line-top);
  width: min(680px, 55vw);
  height: 1px;
  background: rgba(196,67,66,0.30);
  box-shadow: 0 0 18px rgba(196,67,66,0.14);
  transform: rotate(-17deg);
  opacity: 0.16;
  animation: streak 12s linear var(--line-delay) infinite;
}

.profile-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 34px, 700px);
  margin: 0 auto;
  padding: 36px 0 44px;
}
.profile-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 110px;
  left: 4%;
  width: 92%;
  height: 520px;
  border-radius: 50%;
  background: rgba(196,67,66,0.08);
  filter: blur(76px);
  transform: translate3d(calc(var(--px) * -0.12), calc(var(--py) * -0.08), 0);
}

.share-button {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(25,25,28,0.72);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.share-button:hover { transform: translateY(-2px); border-color: rgba(196,67,66,0.38); background: rgba(35,35,39,0.88); }
.share-button:focus-visible,
.link-card:focus-visible,
.quick-action:focus-visible,
.copy-button:focus-visible,
.site-footer a:focus-visible { outline: none; box-shadow: var(--focus); }
.share-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.share-button span { font-size: 0.84rem; font-weight: 500; }

/* Brand block: positive logo, untouched, on white as prescribed by the manual. */
.brand-card {
  position: relative;
  overflow: hidden;
  padding: 30px 30px 27px;
  border: 1px solid rgba(255,255,255,0.22);
  border-top: 5px solid var(--brand-red);
  border-radius: var(--radius-xl);
  color: var(--brand-gray);
  background: var(--brand-white);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.brand-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(67,73,76,0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(67,73,76,0.025), 0 0 0 56px rgba(196,67,66,0.018);
  pointer-events: none;
}
.brand-accent { display: none; }
.logo-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 470px);
  margin: 0 auto 4px;
  padding: 17px 20px 15px;
  background: #fff;
}
.logo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.logo-fallback {
  display: none;
  place-items: center;
  width: 102px;
  height: 102px;
  border: 2px solid var(--brand-gray);
  border-radius: 50%;
  color: var(--brand-gray);
  background: #fff;
  font-size: 1.7rem;
  font-weight: 700;
}
.logo-fallback.is-visible { display: grid; }
.eyebrow {
  position: relative;
  z-index: 1;
  margin: 9px 0 8px;
  color: var(--brand-red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.intro {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  margin: 0 auto;
  color: rgba(67,73,76,0.86);
  font-size: 0.97rem;
  font-weight: 300;
}
.specialties {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 19px;
}
.specialties span {
  padding: 7px 10px;
  border: 1px solid rgba(67,73,76,0.15);
  border-radius: 999px;
  color: var(--brand-gray);
  background: #fff;
  font-size: 0.71rem;
  font-weight: 500;
}
.specialties span:first-child,
.specialties span:nth-child(3) { border-color: rgba(196,67,66,0.30); }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 14px 0;
}
.quick-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.88);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.035);
  text-decoration: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.quick-action:hover { transform: translateY(-3px); border-color: rgba(196,67,66,0.42); background: var(--surface-strong); }
.quick-action svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-red); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.quick-action span { font-size: 0.82rem; font-weight: 500; }

.link-list { display: grid; gap: 11px; }
.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 28px;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 12px 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,0.94);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.035);
  text-decoration: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease, box-shadow 190ms ease;
}
.link-card::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--brand-red);
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 190ms ease, transform 190ms ease;
}
a.link-card:hover,
.link-card--utility:hover {
  transform: translateY(-3px);
  border-color: rgba(196,67,66,0.32);
  background: var(--surface-strong);
  box-shadow: 0 20px 45px rgba(0,0,0,0.29), 0 0 32px rgba(196,67,66,0.045);
}
a.link-card:hover::after,
.link-card--utility:hover::after { opacity: 1; transform: scaleY(1); }

.link-card--featured {
  border-color: var(--brand-red);
  color: #fff;
  background: var(--brand-red);
  box-shadow: 0 18px 44px rgba(196,67,66,0.25);
}
.link-card--featured::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -76px;
  top: -86px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255,255,255,0.035), 0 0 0 50px rgba(255,255,255,0.018);
}
.link-card--featured::after { display: none; }
a.link-card--featured:hover {
  border-color: #d45b5a;
  background: #b73b3a;
  box-shadow: 0 22px 50px rgba(196,67,66,0.31);
}
.link-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(196,67,66,0.20);
  border-radius: 14px;
  color: var(--brand-red);
  background: rgba(196,67,66,0.09);
}
.link-icon--solid {
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
}
.link-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.link-copy { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.link-copy strong { overflow: hidden; font-size: 0.95rem; font-weight: 500; line-height: 1.25; text-overflow: ellipsis; }
.link-copy small { overflow: hidden; color: var(--muted); font-size: 0.78rem; font-weight: 300; line-height: 1.3; text-overflow: ellipsis; }
.link-card--featured .link-copy strong { font-weight: 700; }
.link-card--featured .link-copy small { color: rgba(255,255,255,0.76); }
.link-arrow { position: relative; z-index: 1; justify-self: center; color: var(--muted-2); font-size: 1.1rem; transition: transform 170ms ease, color 170ms ease; }
.link-card--featured .link-arrow { color: rgba(255,255,255,0.82); }
a.link-card:hover .link-arrow { color: #fff; transform: translate(3px,-3px); }
.link-card--utility { grid-template-columns: 44px minmax(0,1fr) 39px; }
.utility-main { display: block; min-width: 0; color: inherit; text-decoration: none; }
.copy-button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  color: rgba(255,255,255,0.46);
  background: transparent;
  cursor: pointer;
  transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}
.copy-button:hover { color: #fff; background: rgba(196,67,66,0.16); transform: scale(1.04); }
.copy-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.section-label { margin: 9px 3px 0; color: rgba(255,255,255,0.43); font-size: 0.70rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }

.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 3px 0;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--brand-red);
  border-radius: 0 14px 14px 0;
  color: rgba(255,255,255,0.56);
  background: rgba(24,24,27,0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.trust-note p { margin: 0; font-size: 0.79rem; font-weight: 300; }
.trust-dot { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--brand-red); box-shadow: 0 0 0 5px rgba(196,67,66,0.10); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 25px 4px 0; color: rgba(255,255,255,0.36); font-size: 0.76rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; align-items: center; gap: 7px; }
.site-footer a { text-underline-offset: 3px; transition: color 150ms ease; }
.site-footer a:hover { color: rgba(255,255,255,0.75); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: max(22px,env(safe-area-inset-bottom)); transform: translate(-50%,16px); max-width: calc(100vw - 36px); padding: 10px 14px; border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; color: #fff; background: rgba(20,20,23,0.95); box-shadow: 0 12px 36px rgba(0,0,0,0.35); font-size: 0.8rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; backdrop-filter: blur(14px); }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }

@keyframes particleFloat {
  from { transform: translate3d(0,0,0) scale(0.8); opacity: calc(var(--alpha) * 0.62); }
  to { transform: translate3d(var(--drift), -54px, 0) scale(1.12); opacity: var(--alpha); }
}
@keyframes haloBreathe {
  0%,100% { opacity: 0.68; }
  50% { opacity: 0.98; }
}
@keyframes ambientFloat {
  from { margin-top: -24px; margin-right: 0; }
  to { margin-top: 38px; margin-right: 45px; }
}
@keyframes orbA {
  from { margin-left: -28px; margin-top: -20px; }
  to { margin-left: 54px; margin-top: 42px; }
}
@keyframes orbB {
  from { margin-right: 0; margin-top: 0; }
  to { margin-right: 52px; margin-top: -56px; }
}
@keyframes streak {
  0%,14% { transform: translate3d(0,0,0) rotate(-17deg); opacity: 0.08; }
  20% { opacity: 0.34; }
  52% { opacity: 0.11; }
  66%,100% { transform: translate3d(175vw,-46vh,0) rotate(-17deg); opacity: 0; }
}

@media (max-width: 520px) {
  body::before { width: 4px; }
  .profile-shell { width: min(100% - 22px,700px); padding-top: 18px; }
  .share-button span { display: none; }
  .share-button { width: 42px; height: 42px; justify-content: center; padding: 0; }
  .brand-card { padding: 23px 16px 23px; border-radius: 25px; }
  .logo-frame { width: min(100%,410px); padding: 12px 10px; }
  .eyebrow { margin-top: 7px; }
  .intro { font-size: 0.91rem; }
  .specialties { gap: 6px; }
  .specialties span { padding: 6px 9px; font-size: 0.68rem; }
  .quick-action { min-height: 49px; }
  .link-card { min-height: 72px; grid-template-columns: 42px minmax(0,1fr) 24px; gap: 11px; padding: 11px 12px; border-radius: 18px; }
  .link-card--utility { grid-template-columns: 42px minmax(0,1fr) 36px; }
  .link-icon { width: 42px; height: 42px; border-radius: 13px; }
  .link-copy strong { font-size: 0.89rem; }
  .link-copy small { font-size: 0.72rem; }
  .page-bg::before { width: 760px; top: -430px; }
  .grid { opacity: 0.18; background-size: 38px 38px; }
  .orb--one { width: 420px; height: 420px; left: -250px; top: -80px; }
  .orb--two { width: 420px; height: 420px; right: -280px; top: 460px; }
  .site-footer { flex-direction: column; justify-content: center; padding-top: 22px; }
}

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