:root {
  --bg: #030712;
  --bg-2: #071226;
  --ink: #f8fafc;
  --muted: #b8c0d5;
  --muted-2: #778199;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --blue: #2f7cf6;
  --navy: #07152d;
  --glass: rgba(12, 20, 42, 0.62);
  --glass-light: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(139, 92, 246, 0.18), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(47, 124, 246, 0.18), transparent 26%),
    linear-gradient(180deg, #020715 0%, #071226 46%, #030712 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 15%), rgba(139, 92, 246, 0.14), transparent 24%);
}

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

img,
video {
  display: block;
  max-width: 100%;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.13;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px);
  background-size: 11px 11px, 17px 17px;
  mix-blend-mode: overlay;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.7);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 68%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.section-pad {
  width: min(calc(100% - 42px), var(--max));
  margin-inline: auto;
  padding: 104px 0;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2vw, 34px);
  min-height: 76px;
  padding: 12px clamp(28px, 4vw, 82px);
  color: #07101f;
  background: rgba(248, 249, 253, 0.92);
  box-shadow: 0 1px 0 rgba(7, 16, 31, 0.08), 0 12px 36px rgba(3, 8, 22, 0.1);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 176px;
}

.brand-mark img {
  width: 176px;
  filter: drop-shadow(0 10px 22px rgba(75, 26, 110, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 2vw, 32px);
  flex: 1;
}

.site-nav > a,
.nav-dropdown-trigger {
  color: #0e1728;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-item.is-open .nav-dropdown-trigger {
  color: var(--violet);
  transform: translateY(-1px);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0;
  border: 0;
  color: #0e1728;
  background: transparent;
  cursor: pointer;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.nav-item.is-open .nav-chevron {
  transform: translateY(3px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 80;
  display: grid;
  width: 310px;
  padding: 12px;
  border: 1px solid rgba(109, 83, 149, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 243, 251, 0.95));
  box-shadow: 0 24px 70px rgba(17, 11, 34, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown-right {
  right: 0;
  left: auto;
  transform: translate(0, -8px);
}

.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-item.is-open .nav-dropdown-right {
  transform: translate(0, 0);
}

.nav-dropdown-label {
  padding: 8px 10px 9px;
  color: #8b5cf6;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-dropdown a {
  display: grid;
  gap: 4px;
  padding: 12px 11px;
  border-radius: 13px;
  color: #101728;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(139, 92, 246, 0.09);
  transform: translateX(3px);
}

.nav-dropdown strong {
  font-size: 0.82rem;
}

.nav-dropdown small {
  color: #687186;
  font-size: 0.7rem;
  line-height: 1.45;
}

.nav-toggle,
.site-nav > .mobile-contact-link {
  display: none;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  color: #fff;
  background: #070d1f;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(5, 10, 24, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-action::after,
.trust-strip a::after,
.text-link::after {
  content: "";
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.42rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h9m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h9m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.78;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-action:hover::after,
.trust-strip a:hover::after,
.text-link:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 6, 18, 0.99) 0%, rgba(3, 9, 25, 0.95) 34%, rgba(5, 12, 32, 0.52) 68%, rgba(5, 12, 32, 0.2) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.08), rgba(3, 7, 18, 0.66)),
    url("./asset/logo/Background.png") center right / cover no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(139, 92, 246, 0.3), transparent 24%),
    radial-gradient(circle at 73% 82%, rgba(47, 124, 246, 0.2), transparent 30%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.72);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.72);
  animation: float-particle var(--duration, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(220px, 0.42fr);
  gap: 34px;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100vh - 76px);
  align-items: start;
  padding: clamp(66px, 8vh, 86px) clamp(28px, 4vw, 82px) 54px;
}

.hero-copy {
  max-width: 830px;
}

.kicker {
  margin: 0 0 20px;
  color: rgba(226, 232, 255, 0.9);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.8rem, 7.2vw, 6.7rem);
  line-height: 0.96;
}

.hero-copy h1 {
  max-width: 13.5ch;
  font-size: clamp(3.55rem, 4.75vw, 5.35rem);
  line-height: 1.01;
}

.hero-copy h1 span {
  display: block;
}

h1 span,
h2 span {
  color: var(--violet-2);
  text-shadow: 0 0 34px rgba(139, 92, 246, 0.58);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 4.8vw, 4.8rem);
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-lede,
.case-copy p,
.section-heading p,
.split-heading > p,
.glass-card p,
.footer,
.check-list {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lede {
  max-width: 58ch;
  margin: 26px 0 0;
  font-size: 1.02rem;
}

.hero-actions,
.contact-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::after {
  content: "";
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-left: 0.48rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h9m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h9m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.78;
  transition: transform 180ms ease, opacity 180ms ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(3px);
  opacity: 1;
}

.btn:hover,
.btn:focus-visible,
.magnetic:hover,
.magnetic:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #07101f;
  background: linear-gradient(135deg, #ffffff, #dbeafe 56%, #b9a6ff);
  box-shadow: 0 18px 52px rgba(139, 92, 246, 0.34);
}

.btn-glass,
.btn-quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.btn-quiet {
  background: transparent;
}

.glass-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(7, 13, 29, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 36%, rgba(139, 92, 246, 0.08));
  pointer-events: none;
}

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

.hero-award {
  justify-self: end;
  align-self: start;
  width: min(176px, 100%);
  margin: 32px clamp(0px, 2.5vw, 44px) 0 0;
  padding: 20px;
  border-radius: 20px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.hero-award:hover,
.hero-award:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 28px 72px rgba(4, 8, 23, 0.52);
}

.hero-award span::before {
  content: "\25CE";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.2);
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.1);
}

.hero-award > span,
.metric-card span,
.identity-card span,
.timeline-item span,
.case-stats span,
.cert-card span,
.pill {
  display: block;
  margin-bottom: 8px;
  color: var(--violet-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-award > span {
  margin-bottom: 7px;
  color: #fff;
  font-size: 0.79rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.hero-award strong,
.metric-card strong,
.case-stats strong {
  display: block;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  line-height: 1.12;
}

.hero-award strong {
  color: #c6ccdc;
  font-size: 0.73rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-award p {
  display: inline-flex;
  align-items: center;
  margin: 24px 0 0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-award p::after {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  margin-left: 0.38rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h9m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h9m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.78;
}

.trust-strip {
  display: grid;
  grid-template-columns: 1fr repeat(6, minmax(90px, 1fr)) auto;
  align-items: center;
  gap: 20px;
  padding: 25px max(30px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 24, 49, 0.78);
  backdrop-filter: blur(18px);
}

.trust-strip span {
  display: block;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trust-strip strong {
  display: block;
  max-width: 11ch;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip p {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
}

.trust-strip a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 7, 20, 0.82);
}

.metric-card {
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card span {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  letter-spacing: -0.05em;
  text-transform: none;
}

.metric-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 14ch;
}

.section-heading p:not(.kicker) {
  max-width: 66ch;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.identity-grid,
.stack-grid,
.award-grid,
.certificate-rail,
.process-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.identity-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stack-grid {
  grid-template-columns: repeat(4, 1fr);
}

.identity-card,
.stack-card,
.timeline-item,
.case-grid article,
.process-card,
.case-stats article,
.contact-panel,
.resource-panel {
  padding: 26px;
}

.identity-card p,
.stack-card p,
.case-grid p,
.process-card p {
  margin-bottom: 0;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-project {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-project:hover,
.feature-project:focus-visible {
  border-color: rgba(167, 139, 250, 0.48);
  transform: translateY(-5px);
}

.feature-project img {
  width: 100%;
  height: 250px;
  margin-bottom: 22px;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.9);
}

.feature-project h3 {
  margin: 0 0 14px;
}

.feature-project ul,
.check-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.7;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  border-left: 3px solid rgba(167, 139, 250, 0.7);
}

.award-grid {
  grid-template-columns: repeat(4, 1fr);
}

.award-card,
.cert-card {
  width: 100%;
  border: 1px solid var(--line);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  appearance: none;
}

.award-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.5fr);
  grid-column: span 4;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.award-card:not(.award-feature) {
  padding: 20px;
}

.award-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.award-card:hover,
.award-card:focus-visible {
  border-color: rgba(167, 139, 250, 0.48);
  transform: translateY(-5px);
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.46);
}

.award-card img {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 220ms ease, filter 220ms ease;
}

.award-card:hover img,
.award-card:focus-visible img,
.cert-card:hover img,
.cert-card:focus-visible img {
  transform: scale(1.018);
  filter: brightness(1.04);
}

.award-feature img {
  height: 420px;
  object-fit: contain;
}

.award-card h3 {
  margin-top: 18px;
}

.certificate-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cert-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.cert-card:hover,
.cert-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.46);
}

.cert-card img {
  width: 100%;
  height: 210px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
}

.cert-card strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.28;
}

.cert-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.media-lightbox {
  width: min(1120px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: visible;
  border: 0;
  color: #f8fafc;
  background: transparent;
}

.media-lightbox[open] {
  display: grid;
  animation: lightbox-in 220ms ease-out;
}

.media-lightbox::backdrop {
  background: rgba(1, 4, 14, 0.86);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.lightbox-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100svh - 28px);
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(16, 24, 50, 0.98), rgba(5, 10, 25, 0.99));
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.7);
}

.lightbox-bar,
.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lightbox-bar {
  min-height: 62px;
  padding: 0 4px 14px 10px;
}

.lightbox-bar > div {
  display: grid;
  gap: 5px;
}

#lightbox-description {
  max-width: 720px;
  margin: 0;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.82rem;
  line-height: 1.45;
}

.lightbox-eyebrow {
  color: #a78bfa;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox-bar strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.lightbox-close {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: rotate(5deg) scale(1.04);
  background: rgba(139, 92, 246, 0.28);
}

.lightbox-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
}

.lightbox-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  min-height: 360px;
  height: min(72svh, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at center, rgba(139, 92, 246, 0.12), transparent 54%),
    rgba(0, 3, 13, 0.7);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  max-height: min(72svh, 760px);
  padding: 16px;
  object-fit: contain;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.42));
}

.lightbox-nav {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 52px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(139, 92, 246, 0.3);
  transform: scale(1.05);
}

.lightbox-nav span {
  width: 10px;
  height: 10px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.lightbox-next span {
  transform: rotate(225deg);
}

.lightbox-footer {
  min-height: 44px;
  padding: 12px 10px 0;
  color: #8d97ad;
  font-size: 0.7rem;
}

.lightbox-counter {
  color: #fff;
  font-weight: 800;
}

.about-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(139, 92, 246, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(15, 25, 52, 0.92), rgba(6, 12, 29, 0.88));
}

.about-profile::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(167, 139, 250, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(139, 92, 246, 0.025),
    0 0 0 96px rgba(139, 92, 246, 0.018);
  pointer-events: none;
}

.about-copy {
  position: relative;
  z-index: 2;
}

.about-copy h2 {
  max-width: 12ch;
}

.about-intro {
  max-width: 62ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

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

.about-details div {
  display: grid;
  gap: 7px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.about-details span,
.about-portrait figcaption span {
  color: #a78bfa;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-details strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 999px;
  color: #d8d4e8;
  background: rgba(139, 92, 246, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
}

.about-portrait {
  position: relative;
  z-index: 2;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 52% 26%, rgba(167, 139, 250, 0.38), transparent 34%),
    linear-gradient(160deg, rgba(40, 53, 81, 0.94), rgba(9, 17, 37, 0.98));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

.portrait-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: 1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.3);
  filter: blur(44px);
  transform: translateX(-50%);
}

.about-portrait img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scaleX(-1);
  filter: saturate(0.92) contrast(1.04);
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, transparent 55%, rgba(4, 8, 20, 0.86) 100%),
    linear-gradient(90deg, rgba(139, 92, 246, 0.08), transparent 42%);
  pointer-events: none;
}

.about-portrait figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 4;
  display: grid;
  gap: 6px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: rgba(5, 10, 25, 0.66);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.about-portrait figcaption strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

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

.contact-panel,
.resource-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-panel h2,
.resource-panel h2 {
  max-width: 13ch;
}

.contact-panel > div:first-child {
  max-width: 760px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.contact-detail {
  display: grid;
  gap: 7px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-detail:hover,
.contact-detail:focus-visible {
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

.contact-detail span {
  color: #a78bfa;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-detail strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.contact-actions {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 196px;
  margin-top: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 42px), var(--max));
  margin: 0 auto;
  padding: 0 0 44px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.footer a {
  transition: color 180ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: #c4b5fd;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.9fr);
  gap: 26px;
  align-items: center;
  min-height: 620px;
  padding-top: 130px;
}

.case-copy,
.case-media {
  min-width: 0;
}

.case-copy h1 {
  max-width: 100%;
  font-size: clamp(3.8rem, 5vw, 5.25rem);
}

.case-copy p {
  max-width: 62ch;
  margin-top: 22px;
}

.case-media {
  overflow: hidden;
  padding: 18px;
}

.case-media img,
.case-media video {
  width: 100%;
  min-height: 420px;
  border-radius: 24px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.case-media video {
  display: block;
  max-height: 500px;
  background: rgba(0, 0, 0, 0.5);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 20px;
}

.video-frame {
  padding: 18px;
  overflow: hidden;
}

.video-frame video,
.video-frame img,
.video-frame iframe {
  width: 100%;
  max-height: 720px;
  border-radius: 24px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}

.video-frame img {
  object-fit: cover;
}

.youtube-frame iframe {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 0;
}

.laundrotrack-page .portfolio-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.laundrotrack-page .project-process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.laundrotrack-page .card-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 12px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.1);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.laundrotrack-page .module-grid article,
.laundrotrack-page .capability-grid article {
  min-height: 100%;
}

.laundrotrack-page .module-grid .check-list {
  margin-top: 16px;
}

.result-panel {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
}

.result-panel h2 {
  max-width: 16ch;
}

.result-badges {
  display: grid;
  gap: 12px;
}

.result-badges span {
  padding: 16px 18px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  color: #f8fafc;
  background: rgba(139, 92, 246, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  margin: 0;
  padding: 14px;
  overflow: hidden;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 440px;
  border-radius: 20px;
  object-fit: contain;
  background: transparent;
}

.gallery-card img.transparent-media {
  mix-blend-mode: screen;
}

.gallery-card img.phone-screen {
  padding: 18px;
  background:
    radial-gradient(circle at 50% 32%, rgba(139, 92, 246, 0.2), transparent 48%),
    rgba(3, 10, 27, 0.46);
}

.product-story {
  display: grid;
  gap: clamp(80px, 10vw, 150px);
  margin-top: clamp(56px, 7vw, 100px);
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  min-height: min(78vh, 820px);
}

.story-row:nth-child(even) {
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.45fr);
}

.story-row:nth-child(even) .story-copy {
  order: -1;
}

.story-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 620px;
  padding: clamp(24px, 4vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(160, 174, 218, 0.2);
  border-radius: clamp(28px, 3vw, 48px);
  background:
    radial-gradient(circle at 50% 38%, rgba(121, 82, 224, 0.22), transparent 48%),
    linear-gradient(145deg, rgba(28, 39, 72, 0.84), rgba(6, 13, 31, 0.96));
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.story-media::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.05), transparent 63%);
  content: "";
  pointer-events: none;
}

.story-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 590px;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.32));
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.story-row:hover .story-media img {
  transform: scale(1.018);
}

.story-media-phone img {
  width: auto;
  max-width: min(100%, 430px);
}

.story-media img.transparent-phone-art {
  width: 126%;
  max-width: none;
}

.story-media img.edge-clean {
  width: 126%;
  max-width: none;
  clip-path: inset(0 10.5% round 24px);
  mix-blend-mode: screen;
}

.story-copy {
  max-width: 460px;
}

.story-index {
  display: block;
  margin-bottom: 20px;
  color: var(--violet-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-copy h3 {
  margin: 0;
  color: #f8fafc;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.85rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.story-copy p {
  margin: 24px 0 0;
  color: #aeb8d0;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.75;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.story-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(160, 174, 218, 0.18);
  border-radius: 999px;
  background: rgba(142, 102, 255, 0.08);
  color: #d6dcf0;
  font-size: 0.76rem;
  font-weight: 700;
}

.story-row-wide {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.55fr);
}

.story-row-wide:nth-child(even) {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.6fr);
}

.story-row-wide .story-media {
  min-height: 560px;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-wide img {
  height: auto;
  max-height: 680px;
}

.gallery-card figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 8px 6px;
}

.gallery-card figcaption span {
  color: var(--violet-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card figcaption strong {
  color: #f8fafc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.7);
  text-underline-offset: 5px;
}

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

.media-grid img {
  width: 100%;
  height: 440px;
  padding: 12px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes float-particle {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.25;
  }

  50% {
    transform: translate3d(18px, -28px, 0);
    opacity: 0.95;
  }
}

@media (max-width: 1120px) {
  .case-hero,
  .split-heading,
  .contact-panel,
  .resource-panel,
  .award-feature {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .metrics-strip,
  .case-stats,
  .identity-grid,
  .process-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .laundrotrack-page .portfolio-case-grid,
  .laundrotrack-page .project-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-showcase,
  .stack-grid,
  .certificate-rail,
  .award-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .award-feature {
    grid-column: span 2;
  }

  .story-row,
  .story-row:nth-child(even),
  .story-row-wide,
  .story-row-wide:nth-child(even) {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 44px;
  }

  .story-media,
  .story-row-wide .story-media {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .nav-shell {
    position: sticky;
    flex-wrap: nowrap;
    min-height: 68px;
    padding-inline: 18px;
  }

  .brand-mark {
    min-width: 148px;
  }

  .brand-mark img {
    width: 146px;
  }

  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 12px 10px;
    border: 1px solid rgba(14, 23, 40, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 10px;
    background: #101728;
    transition: transform 180ms ease;
  }

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

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    max-height: calc(100vh - 88px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(109, 83, 149, 0.14);
    border-radius: 0 0 20px 20px;
    background: rgba(249, 249, 253, 0.98);
    box-shadow: 0 26px 60px rgba(4, 8, 23, 0.22);
    backdrop-filter: blur(24px);
  }

  .site-nav.is-open {
    display: grid;
    gap: 3px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav > a,
  .nav-dropdown-trigger {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    justify-content: space-between;
  }

  .nav-item {
    display: block;
  }

  .nav-dropdown,
  .nav-dropdown-right {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 8px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.06);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height 220ms ease, opacity 180ms ease, padding 180ms ease;
  }

  .nav-item.is-open .nav-dropdown,
  .nav-item.is-open .nav-dropdown-right {
    max-height: 420px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav > .mobile-contact-link {
    display: flex;
    margin-top: 5px;
    border-radius: 12px;
    color: #fff !important;
    background: #070d1f;
  }

  .nav-action {
    display: none;
  }

  .section-pad {
    width: min(calc(100% - 24px), var(--max));
    padding: 78px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: auto;
    padding: 76px 20px 68px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .trust-strip,
  .metrics-strip,
  .case-stats,
  .identity-grid,
  .process-grid,
  .case-grid,
  .project-showcase,
  .stack-grid,
  .certificate-rail,
  .award-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-wide {
    grid-column: auto;
  }

  .gallery-card img,
  .gallery-wide img {
    height: auto;
    max-height: 540px;
  }

  .product-story {
    gap: 90px;
  }

  .story-row,
  .story-row:nth-child(even),
  .story-row-wide,
  .story-row-wide:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }

  .story-row:nth-child(even) .story-copy {
    order: initial;
  }

  .story-media,
  .story-row-wide .story-media {
    min-height: 0;
    padding: 24px;
    border-radius: 28px;
  }

  .story-media img {
    max-height: 520px;
  }

  .story-copy {
    max-width: none;
    padding-inline: 8px;
  }

  .story-copy h3 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .laundrotrack-page .portfolio-case-grid,
  .laundrotrack-page .project-process-grid {
    grid-template-columns: 1fr;
  }

  .award-feature {
    grid-column: auto;
  }

  .hero-award {
    justify-self: start;
    width: min(230px, 100%);
    margin: 8px 0 0;
  }

  .about-profile {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .about-portrait {
    order: -1;
    min-height: 470px;
  }

  .about-copy {
    padding: 18px 6px 8px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .nav-action {
    min-height: 38px;
    padding-inline: 14px;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .about-actions .btn {
    width: 100%;
  }

  .feature-project,
  .contact-panel,
  .resource-panel,
  .identity-card,
  .stack-card {
    padding: 18px;
  }

  .feature-project img,
  .case-media img,
  .case-media video,
  .media-grid img {
    height: auto;
    min-height: 260px;
  }

  .media-lightbox {
    width: calc(100% - 14px);
    max-height: calc(100svh - 14px);
  }

  .lightbox-shell {
    max-height: calc(100svh - 14px);
    padding: 10px;
    border-radius: 20px;
  }

  .lightbox-bar {
    min-height: 56px;
    padding: 0 2px 10px 6px;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
    min-height: 300px;
    height: min(74svh, 680px);
  }

  .lightbox-image {
    grid-area: 1 / 1;
    max-height: min(74svh, 680px);
    padding: 10px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    width: 38px;
    height: 48px;
    margin: 0;
    transform: translateY(-50%);
    background: rgba(4, 8, 23, 0.72);
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-footer span:last-child {
    display: none;
  }

  .about-details {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-portrait {
    min-height: 430px;
    border-radius: 22px;
  }

  .about-portrait figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
