:root {
  --bg: hsl(30 20% 95%);
  --bg-2: hsl(30 18% 93%);
  --bg-3: hsl(156 24% 91%);
  --panel: hsl(44 24% 98.5%);
  --panel-soft: hsl(44 22% 97%);
  --line: hsl(30 12% 82%);
  --text: #2c2621;
  --muted: hsl(30 5% 45%);
  --accent-h: 156;
  --accent-s: 46%;
  --accent-l: 34%;
  --accent: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  --accent-2: hsl(var(--accent-h) 37% 43%);
  --accent-strong: hsl(var(--accent-h) 52% 28%);
  --focus-ring: hsla(var(--accent-h), 45%, 42%, 0.42);
  --surface-tint: hsl(155 26% 97.5%);
  --glass-tint: rgba(248, 252, 249, 0.66);
  --canvas-alpha: 0.16;
  --canvas-sat: 50%;
  --canvas-light: 39%;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shell-gutter: 40px;
  --shadow-lg: 0 30px 60px rgba(44, 38, 33, 0.1), 0 8px 20px rgba(44, 38, 33, 0.05);
  --shadow-card: 0 16px 40px rgba(40, 28, 16, 0.09);
  --line-soft: rgba(62, 48, 36, 0.12);
  --bg-motion-speed: 18s;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.design-digital {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.56) 0%, transparent 34%),
    linear-gradient(125deg, var(--bg) 0%, color-mix(in srgb, var(--bg-3) 76%, var(--surface-tint)) 52%, var(--bg-2) 100%);
  background-size: 100% 100%, 180% 180%;
  animation: colorShift var(--bg-motion-speed) ease-in-out infinite;
  font-weight: 500;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}

p {
  line-height: 1.8;
  letter-spacing: 0.35px;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 76% 12%, rgba(59, 128, 101, 0.16) 0%, transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(84, 144, 114, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 55% 48%, rgba(255, 255, 255, 0.34) 0%, transparent 48%),
    linear-gradient(-60deg, rgba(86, 129, 106, 0.1) 0%, transparent 42%, rgba(86, 129, 106, 0.09) 100%);
  background-size: 400% 400%;
  animation: bg-fade 0.7s ease both, drift var(--bg-motion-speed) ease-in-out infinite 0.7s;
  pointer-events: none;
}

.ambient-canvas,
.ambient-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-canvas {
  z-index: 2;
  width: 100vw;
  height: 100vh;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

@keyframes bg-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes colorShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ambient-grain {
  z-index: 3;
  background-image: radial-gradient(rgba(110, 90, 70, 0.08) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.09;
  mix-blend-mode: multiply;
}

@keyframes drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.digital-container {
  position: relative;
  z-index: 10;
  width: min(1140px, 100%);
  height: min(92vh, 920px);
  display: grid;
  grid-template-columns: 72px 340px minmax(0, 1fr);
  border: 1px solid rgba(132, 112, 94, 0.15);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--panel) 90%, var(--surface-tint));
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: card-in 0.72s cubic-bezier(.4, 0, .2, 1) both;
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
}

.digital-container::before {
  content: none;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.rail-nav {
  display: grid;
  grid-auto-flow: row;
  align-content: center;
  justify-items: center;
  align-self: center;
  gap: 4px;
  padding: 6px;
  border: none;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  width: fit-content;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  border: 1px solid rgba(84, 134, 109, 0.16);
  z-index: 16;
}

.rail-main {
  display: grid;
  gap: 4px;
  padding-block: 0;
}

.rail-tab {
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  width: 58px;
  height: 50px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: color-mix(in srgb, var(--accent) 36%, var(--muted));
  opacity: 0.55;
  font: inherit;
  line-height: 1;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 4px 0;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.rail-tab:hover,
.rail-tab:focus-visible,
.rail-tab.active {
  color: var(--accent);
  opacity: 1;
  border-color: rgba(71, 116, 92, 0.38);
  background: rgba(84, 134, 109, 0.18);
}

.rail-tab.active {
  color: var(--accent);
  opacity: 1;
}

.rail-tab:hover,
.rail-tab:focus-visible {
  transform: scale(1.15);
  box-shadow: 0 8px 18px rgba(67, 111, 91, 0.12);
}

.rail-tab.active {
  transform: translateX(2px);
  box-shadow: 0 10px 20px rgba(39, 90, 67, 0.3);
}

.rail-tab.active::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 10px;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 10px;
  background: var(--accent-strong);
}

.rail-tab:active {
  transform: scale(0.98);
}

.rail-tab:focus-visible,
.profile-socials a:focus-visible,
.profile-cta:focus-visible,
.workspace-back:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 0 6px rgba(56, 109, 82, 0.2);
}

.rail-tab svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  stroke-linecap: round;
}

.rail-label {
  display: block;
  margin-top: 1px;
  text-align: center;
  line-height: 1;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .digital-container {
    background: color-mix(in srgb, var(--panel) 96%, white);
  }

  .rail-nav {
    background: rgba(250, 252, 249, 0.98);
    border: 1px solid rgba(76, 110, 93, 0.16);
  }

  .rail-nav.is-scrolled {
    background: rgba(247, 249, 246, 0.98);
    border-color: rgba(67, 102, 85, 0.2);
  }
}

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

.profile-card {
  border-right: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--panel-soft) 86%, var(--surface-tint));
  overflow: hidden;
  display: grid;
  grid-template-rows: 250px minmax(0, 1fr);
  min-height: 0;
  animation: sidebar-in 0.68s cubic-bezier(.4, 0, .2, 1) both;
  position: sticky;
  top: 50px;
  z-index: 15;
}

@keyframes sidebar-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-cover {
  height: auto;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55) 0%, transparent 44%),
    linear-gradient(160deg, hsl(30 22% 92%) 0%, hsl(30 18% 88%) 100%);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(44, 38, 33, 0.05), rgba(44, 38, 33, 0));
}

.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: sepia(0.08) saturate(0.94) hue-rotate(-6deg) brightness(1.02);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-cover img.blur-up {
  filter: blur(12px) sepia(0.08) saturate(0.94) hue-rotate(-6deg) brightness(1.02);
  transform: scale(1.05);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.profile-cover img.blur-up.loaded {
  filter: sepia(0.08) saturate(0.94) hue-rotate(-6deg) brightness(1.02);
  transform: scale(1);
}

.profile-card:hover .profile-cover img {
  transform: scale(1.03);
}

.img-spinner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(248, 244, 238, 0.62);
  transition: opacity 0.24s ease;
  z-index: 2;
}

.img-spinner::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(84, 134, 109, 0.28);
  border-top-color: var(--accent);
  animation: spinner 0.8s linear infinite;
}

.profile-cover.is-loaded .img-spinner {
  opacity: 0;
  pointer-events: none;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.profile-content {
  padding: var(--shell-gutter);
  padding-top: 16px;
  padding-bottom: 18px;
  overflow: auto;
  min-height: 0;
  scrollbar-color: #4c658f transparent;
  display: flex;
  flex-direction: column;
}

.profile-content::-webkit-scrollbar {
  width: 7px;
}

.profile-content::-webkit-scrollbar-thumb {
  background: rgba(86, 129, 106, 0.45);
  border-radius: 999px;
}

.profile-content h1 {
  margin: 0 0 8px;
  font-size: 2.42rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}

.profile-role {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  display: inline-block;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(86, 129, 106, 0.08);
}

.profile-rotator {
  margin-top: 10px;
  min-height: 20px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
}

.profile-facts {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 0;
  display: grid;
  gap: 8px;
}

.profile-facts p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-facts span {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-facts strong {
  font-size: 0.76rem;
  font-weight: 600;
}

.profile-facts .status-live {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
}

.profile-facts .status-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4f9a73;
  box-shadow: 0 0 0 2px rgba(79, 154, 115, 0.18), 0 0 10px rgba(79, 154, 115, 0.4);
  animation: status-dot-breathe 1.9s ease-in-out infinite;
}

.profile-facts .status-live::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(79, 154, 115, 0.55);
  transform: translateY(-50%);
  animation: status-dot-ping 1.9s ease-out infinite;
}

@keyframes status-dot-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.92;
  }
}

@keyframes status-dot-ping {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.75;
  }

  70% {
    transform: translateY(-50%) scale(2.2);
    opacity: 0;
  }

  100% {
    transform: translateY(-50%) scale(2.2);
    opacity: 0;
  }
}

.profile-socials {
  margin-top: 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}

.profile-socials a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-decoration: none;
  transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-socials a:focus-visible {
  color: var(--accent);
  border-color: rgba(89, 130, 108, 0.38);
  background: rgba(86, 129, 106, 0.11);
}

@media (hover: hover) and (pointer: fine) {
  .profile-socials a:hover {
    color: var(--accent);
    border-color: rgba(89, 130, 108, 0.38);
    background: rgba(86, 129, 106, 0.11);
    transform: translateY(-5px);
    box-shadow: 0 12px 22px rgba(64, 112, 90, 0.2);
  }
}

.profile-socials a:active {
  transform: scale(0.98);
}

.profile-cta {
  margin-top: 18px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--accent-strong) 86%, #1e3f30);
  border-radius: 8px;
  text-decoration: none;
  color: #f9fbff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 14px 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #5f9478) 0%, var(--accent-strong) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 22px rgba(28, 68, 50, 0.4);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.profile-cta:hover,
.profile-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 22px rgba(24, 60, 44, 0.38);
}

.profile-cta:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(35, 74, 57, 0.28);
}

.workspace-card {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  background: color-mix(in srgb, var(--panel) 86%, var(--surface-tint));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.workspace-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(84, 134, 109, 0.05) 0%, transparent 55%);
}

.workspace-header {
  display: none;
}

.workspace-brand {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent);
}

.workspace-mode {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.shell-kicker,
.workspace-kicker {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.workspace-back {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.workspace-back:hover,
.workspace-back:focus-visible {
  color: var(--accent-strong);
  border-color: rgba(63, 104, 83, 0.44);
  background: rgba(84, 134, 109, 0.12);
  transform: translateY(-2px);
}

.workspace-back:active {
  transform: scale(0.98);
}

.workspace-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 40px 0 88px 0;
  min-height: 0;
  display: grid;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(61, 90, 77, 0.7) transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 50%, rgba(0, 0, 0, 0.01) 100%),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0px, rgba(255, 255, 255, 0.3) 1px, transparent 1px, transparent 2px),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.4) 0px, rgba(255, 255, 255, 0.3) 1px, transparent 1px, transparent 2px);
  background-size: 100% 100%, 2px 1px, 1px 2px;
  background-attachment: fixed;
}

.workspace-body::after {
  content: "\00A9 2026 BR. ALL RIGHTS RESERVED.";
  display: block;
  justify-self: end;
  margin: 22px 40px 10px 0;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 48%, var(--muted));
}

.workspace-body.is-loading::before {
  content: "";
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.04) 20%, rgba(255, 255, 255, 0.55) 40%, rgba(0, 0, 0, 0.04) 60%);
  background-size: 200% 100%;
  animation: shimmer 1s linear infinite;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.workspace-body::-webkit-scrollbar {
  width: 4px;
}

.workspace-body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.workspace-body::-webkit-scrollbar-track {
  background: transparent;
}

.stage-card {
  --ghost-size: clamp(48px, 6.5vw, 104px);
  --ghost-track: 0.06em;
  --ghost-line-height: 1;
  --ghost-top: 22px;
  --ghost-right: 22px;
  width: 100%;
  max-width: none;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 208px 40px 150px 40px;
  box-shadow: none;
  will-change: transform, opacity, filter;
  position: relative;
  overflow: visible;
}

.stage-card::before {
  content: attr(data-ghost);
  position: absolute;
  right: var(--ghost-right);
  top: var(--ghost-top);
  font-size: var(--ghost-size);
  font-weight: 700;
  letter-spacing: var(--ghost-track);
  line-height: var(--ghost-line-height);
  color: rgba(95, 125, 108, 0.09);
  pointer-events: none;
  z-index: 0;
}

.stage-card[data-section="contact"] {
  padding-bottom: 96px;
}

.stage-card[data-section="about"] .stats-row {
  margin-bottom: 120px;
}

.about-bridge {
  width: min(140px, 42%);
  height: 1px;
  margin: 0 auto 120px;
  background: color-mix(in srgb, var(--accent) 28%, transparent);
  position: relative;
}

.about-bridge::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 62%, #6b635a);
  transform: translate(-50%, -50%);
}

.stage-card > * {
  position: relative;
  z-index: 1;
}

.card-title-wrap {
  margin-bottom: 28px;
}

.card-kicker {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(86, 129, 106, 0.11);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.card-title-wrap h3 {
  margin: 16px 0 14px;
  font-size: clamp(2.45rem, 3.2vw, 3.2rem);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.card-title-wrap p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
  max-width: 820px;
}

.scan-lead {
  color: color-mix(in srgb, var(--text) 78%, var(--accent));
  font-weight: 700;
}

.copy-emphasis {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.resume-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.resume-column {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
  padding-bottom: 24px;
}

.resume-heading {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6f6558;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.timeline-list {
  display: grid;
  gap: 10px;
}

.timeline-item {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.timeline-item:hover {
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.timeline-item.active {
  border-color: rgba(89, 130, 108, 0.42);
  box-shadow: inset 2px 0 0 var(--accent), var(--shadow-card);
}

.timeline-date {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-2);
}

.timeline-item h5 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.about-block {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
  padding-bottom: 18px;
}

.about-block h4 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--text);
  font-size: 1.08rem;
}

.about-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
  max-width: none;
}

.stats-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stat-pill {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 16px 0;
  box-shadow: none;
  text-align: center;
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
}

.stat-pill strong {
  display: block;
  color: var(--accent);
  font-size: 1.15rem;
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  padding-bottom: 0;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: none;
    border-color: rgba(89, 130, 108, 0.6);
  }
}

.service-card h4 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.service-icon {
  color: var(--accent);
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: block;
  stroke-width: 1.5;
  margin-bottom: 4px;
}

.service-title-col {
  display: grid;
  gap: 8px;
}

.service-subtitle {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-title-col h4 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.service-title-col h4 .service-icon {
  margin-bottom: 0;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.955rem;
  line-height: 1.6;
}

.service-grid {
  margin-bottom: 150px;
}

.tag {
  margin-top: 0;
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.meter-group {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.meter-item {
  display: grid;
  gap: 6px;
}

.meter-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.meter {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(141, 187, 163, 0.28);
}

.meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.55s ease;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  position: relative;
}

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

.project-card {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0 0 30px;
  box-shadow: none;
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: 0;
  border: 2px solid var(--bg);

/* ======================
   GSAP ANIMATIONS
====================== */
.animate {
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate,
.method-card.animate,
.blog-card.animate {
  opacity: 0;
  transform: translateY(30px);
}
}

@media (min-width: 921px) {
  .project-card::before {
    display: none;
  }
}

.project-card:nth-child(odd) {
  grid-column: auto;
  text-align: left;
  padding-right: 0;
}

.project-card:nth-child(odd)::before {
  right: -16px;
}

.project-card:nth-child(even) {
  grid-column: auto;
  text-align: left;
  padding-left: 0;
}

.project-card:nth-child(even)::before {
  left: -16px;
}

.project-card:hover {
  transform: none;
  opacity: 0.85;
}

.project-card header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

.project-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1.2;
  font-weight: 600;
}

.project-label i {
  width: 0.95rem;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--accent) 78%, #425649);
  text-align: center;
  flex-shrink: 0;
}

.project-card header strong {
  color: var(--accent);
  white-space: normal;
  text-align: left;
  max-width: 100%;
  font-size: 0.78rem;
  line-height: 1.25;
}

.project-card h4 {
  margin: 10px 0 7px;
  font-size: 1.04rem;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.method-card {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 14px 0 20px;
  box-shadow: none;
  border-top: 1px solid rgba(62, 48, 36, 0.12);
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
}

.method-index {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.method-card h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.92rem;
}

.method-card p .scan-lead {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.86rem;
  letter-spacing: 0;
  line-height: 1.24;
}

.stage-card[data-section="portfolio"] .card-title-wrap {
  padding-top: 10px;
  margin-bottom: 24px;
}

.stage-card[data-section="portfolio"] .card-title-wrap h3 {
  margin-bottom: 14px;
}

.blog-panel {
  margin-top: 30px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-top: 1px solid rgba(62, 48, 36, 0.18);
  padding-top: 20px;
}

.blog-panel-head h4 {
  margin: 0 0 5px;
  font-size: 0.95rem;
}

.blog-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.blog-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.blog-card {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.blog-meta {
  font-size: 0.68rem;
  color: var(--accent-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-card h5 {
  margin: 6px 0 6px;
  font-size: 0.9rem;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.54;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 620px;
}

.contact-block {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(62, 48, 36, 0.12);
  padding-bottom: 24px;
}

.contact-block h4 {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.contact-block p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-block a {
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0 0 18px;
  box-shadow: none;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(62, 48, 36, 0.2);
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(141, 119, 106, 0.6);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  border: 1px solid color-mix(in srgb, var(--accent-strong) 86%, #1e3f30);
  border-radius: 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #5f9478) 0%, var(--accent-strong) 100%);
  color: #f9fbff;
  font-weight: 800;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, background-color 0.24s ease;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 8px;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 22px rgba(28, 68, 50, 0.4);
}

.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 22px rgba(24, 60, 44, 0.38);
}

.contact-form button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(35, 74, 57, 0.28);
}

.section-enter {
  opacity: 0;
  transform: translateY(4px);
  position: relative;
}

.section-enter.section-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease-out, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-exit-active {
  opacity: 0;
  transform: none;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ui-cursor {
  position: fixed;
  left: -100px;
  top: -100px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(70, 114, 93, 0.58);
  background: rgba(86, 129, 106, 0.18);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ui-cursor.active {
  width: 28px;
  height: 28px;
  border-color: rgba(70, 114, 93, 0.75);
  background: rgba(86, 129, 106, 0.24);
  box-shadow: 0 0 0 8px rgba(86, 129, 106, 0.08);
}

.stage-card.section-enter-active .about-block,
.stage-card.section-enter-active .stat-pill,
.stage-card.section-enter-active .timeline-item,
.stage-card.section-enter-active .service-card,
.stage-card.section-enter-active .meter-item,
.stage-card.section-enter-active .project-card,
.stage-card.section-enter-active .blog-card,
.stage-card.section-enter-active .contact-block,
.stage-card.section-enter-active .contact-form {
  animation: item-rise 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-card.section-enter-active .about-block:nth-child(2),
.stage-card.section-enter-active .stat-pill:nth-child(2),
.stage-card.section-enter-active .timeline-item:nth-child(2),
.stage-card.section-enter-active .service-card:nth-child(2),
.stage-card.section-enter-active .meter-item:nth-child(2),
.stage-card.section-enter-active .project-card:nth-child(2),
.stage-card.section-enter-active .blog-card:nth-child(2) {
  animation-delay: 0.05s;
}

.stage-card.section-enter-active .stat-pill:nth-child(3),
.stage-card.section-enter-active .service-card:nth-child(3),
.stage-card.section-enter-active .project-card:nth-child(3),
.stage-card.section-enter-active .meter-item:nth-child(3),
.stage-card.section-enter-active .blog-card:nth-child(3) {
  animation-delay: 0.1s;
}

.stage-card.section-enter-active .service-card:nth-child(4) {
  animation-delay: 0.15s;
}

@keyframes item-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1140px) {
  body.design-digital {
    place-items: stretch;
    padding: 10px;
  }

  .digital-container {
    width: 100%;
    height: calc(100vh - 18px);
    grid-template-columns: 64px 286px minmax(0, 1fr);
  }

  :root {
    --shell-gutter: 16px;
  }

  .profile-card {
    grid-template-rows: 220px minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  body.design-digital {
    overflow: auto;
    padding: 8px;
  }

  .ambient-canvas {
    opacity: 0.74;
  }

  :root {
    --shell-gutter: 14px;
  }

  .digital-container {
    grid-template-columns: 1fr;
    height: auto;
    min-height: calc(100vh - 16px);
    border-radius: 20px;
  }

  .rail-nav {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    top: auto;
    transform: translateX(-50%);
    z-index: 40;
    width: min(720px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    border: 1px solid rgba(84, 134, 109, 0.18);
    border-radius: 999px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 14px 34px rgba(32, 42, 37, 0.2), 0 4px 14px rgba(32, 42, 37, 0.12);
    backdrop-filter: blur(12px);
    transition: background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease;
  }

  .rail-nav.is-scrolled {
    background: rgba(247, 248, 246, 0.97);
    border-color: rgba(78, 117, 98, 0.28);
    box-shadow: 0 18px 36px rgba(22, 35, 29, 0.24), 0 6px 16px rgba(22, 35, 29, 0.14);
    backdrop-filter: blur(14px);
  }

  .rail-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .rail-tab {
    width: 100%;
    height: 74px;
    display: grid;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    gap: 4px;
    padding: 8px 0;
    border-radius: 14px;
    line-height: 1;
  }

  .rail-tab svg {
    width: 25px;
    height: 25px;
  }

  .rail-label {
    display: block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .rail-tab.active::after {
    display: none;
  }

  body.design-digital {
    padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px));
  }

  .profile-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto;
    position: relative;
    top: auto;
    overflow: visible;
    margin-bottom: 10px;
  }

  .profile-cover {
    display: block;
    min-height: 100%;
    max-height: none;
    border-bottom: 0;
    border-right: 1px solid var(--line-soft);
  }

  .profile-cover img {
    object-fit: contain;
    object-position: center;
  }

  .profile-content {
    padding: 14px 16px 16px;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name name"
      "role role"
      "rotator rotator"
      "facts socials"
      "cta cta";
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
  }

  .profile-content h1 {
    grid-area: name;
    margin: 0 0 5px;
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.05;
  }

  .profile-role {
    grid-area: role;
    margin: 0;
    letter-spacing: 0.12em;
  }

  .profile-rotator {
    grid-area: rotator;
    display: block;
    margin-top: 0;
    min-height: 18px;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .profile-facts {
    grid-area: facts;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 6px 0;
    gap: 8px;
  }

  .profile-facts p {
    display: grid;
    grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    font-size: 0.72rem;
  }

  .profile-facts span {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
  }

  .profile-facts strong {
    font-size: 0.72rem;
    line-height: 1.3;
    text-align: right;
    justify-self: end;
  }

  .profile-facts .status-live {
    font-size: 0.7rem;
    gap: 6px;
    max-width: 168px;
  }

  .profile-socials {
    grid-area: socials;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 36px);
    justify-content: end;
    align-content: start;
    padding-top: 0;
    border-top: 0;
    gap: 6px;
  }

  .profile-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .profile-cta {
    grid-area: cta;
    margin-top: 6px;
    width: 100%;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 12px 14px;
  }

  .profile-card,
  .profile-cover,
  .profile-content,
  .profile-content h1,
  .profile-role,
  .profile-rotator,
  .profile-facts,
  .profile-socials,
  .profile-cta {
    transition-timing-function: ease;
    transition-duration: 0.24s;
  }

  .profile-card {
    transition-property: grid-template-columns, border-bottom-color;
  }

  .profile-cover,
  .profile-content,
  .profile-content h1,
  .profile-role,
  .profile-rotator,
  .profile-facts,
  .profile-socials,
  .profile-cta {
    transition-property: padding, min-height, margin, font-size, letter-spacing, opacity;
  }

  .profile-card.is-compact {
    grid-template-columns: 72px minmax(0, 1fr);
    border-bottom-color: rgba(62, 48, 36, 0.18);
  }

  .profile-card.is-compact .profile-cover {
    min-height: 72px;
  }

  .profile-card.is-compact .profile-content {
    padding: 8px 12px;
    grid-template-areas:
      "name name"
      "role role";
    row-gap: 4px;
    align-content: center;
  }

  .profile-card.is-compact .profile-content h1 {
    margin: 0;
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
    line-height: 1.05;
  }

  .profile-card.is-compact .profile-role {
    margin: 0;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    padding: 2px 6px;
    width: fit-content;
  }

  .profile-card.is-compact .profile-rotator,
  .profile-card.is-compact .profile-facts,
  .profile-card.is-compact .profile-socials,
  .profile-card.is-compact .profile-cta {
    display: none;
  }

  .workspace-body {
    padding: 40px 24px calc(178px + env(safe-area-inset-bottom, 0px)) 24px;
  }

  .about-grid,
  .resume-layout,
  .stats-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .blog-grid {
    gap: 8px;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

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

  .project-card {
    grid-column: 1 !important;
    text-align: left !important;
    padding: 0 0 28px 20px !important;
  }

  .project-card::before {
    left: 2px !important;
    top: 2px;
  }

  .stage-card {
    --ghost-size: clamp(56px, 18vw, 140px);
    --ghost-right: 14px;
    --ghost-top: 2px;
    padding: 24px 30px 120px 30px;
  }

  .stage-card[data-section="portfolio"]::before,
  .stage-card[data-section="contact"]::before {
    right: auto;
    left: 14px;
  }

  .stage-card[data-section="portfolio"] {
    --ghost-size: clamp(44px, 14vw, 98px);
  }

  .stage-card[data-section="contact"] {
    --ghost-size: clamp(48px, 16vw, 110px);
  }

  .stage-card[data-section="about"] .stats-row {
    margin-bottom: 42px;
  }

  .about-bridge {
    width: min(120px, 44%);
    margin: 0 auto 88px;
  }

  .stage-card[data-section="services"] {
    padding-left: 30px;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .workspace-body::after {
    justify-self: center;
    margin: 26px 0 calc(10px + env(safe-area-inset-bottom, 0px)) 0;
    font-size: 9px;
    text-align: center;
  }

  .stage-card[data-section="contact"] {
    padding-bottom: calc(200px + env(safe-area-inset-bottom, 0px));
  }

  .ui-cursor {
    display: none;
  }
}

@media (max-width: 768px) {
  body.design-digital {
    padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px));
  }

  .ambient-canvas {
    opacity: 0.62;
  }

  .rail-nav {
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    border-radius: 999px;
    padding: 10px 10px;
  }

  .rail-main {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .rail-tab {
    width: 100%;
    min-width: 0;
    height: 76px;
    padding: 8px 0;
    border-radius: 14px;
  }

  .rail-tab svg {
    width: 26px;
    height: 26px;
  }

  .rail-label {
    font-size: 0.66rem;
  }

  .profile-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto;
    border-bottom: 1px solid var(--line-soft);
    align-items: stretch;
  }

  .profile-cover {
    display: block;
    width: auto;
    height: auto;
    min-height: 100%;
    max-height: none;
    border-right: 1px solid var(--line-soft);
    border-bottom: 0;
    border-radius: 0;
    overflow: visible;
    margin: 0;
  }

  .profile-cover img {
    object-fit: contain;
    object-position: center;
  }

  .profile-content {
    width: auto;
    padding: 14px 16px 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name name"
      "role role"
      "rotator rotator"
      "facts socials"
      "cta cta";
    column-gap: 12px;
    row-gap: 8px;
    justify-items: stretch;
    text-align: left;
  }

  .profile-content h1,
  .profile-role,
  .profile-rotator {
    text-align: left;
  }

  .profile-facts {
    width: auto;
  }

  .profile-socials {
    justify-content: end;
    margin-bottom: 0;
  }

  .profile-cta {
    width: 100%;
    margin: 6px 0 0;
  }
}

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

  .ambient-bg,
  .ambient-canvas {
    animation: none !important;
    transform: none !important;
  }

  .ambient-canvas {
    opacity: 0.42;
  }
}
