﻿:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-muted: #fafafc;
  --surface-soft: #f1f2f6;
  --surface-elevated: rgba(255, 255, 255, 0.78);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-strong: #515154;
  --line: rgba(29, 29, 31, 0.08);
  --line-strong: rgba(29, 29, 31, 0.12);
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.04);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --content-max: 1280px;
  --text-measure: 40rem;
  --site-header-height: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
}

.app-shell {
  min-height: 100vh;
}

.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(6px);
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    filter 980ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay);
  will-change: opacity, transform, filter;
}

.reveal[data-reveal-variant="soft"] {
  transform: translate3d(0, 18px, 0);
  filter: blur(4px);
}

.reveal[data-reveal-variant="card"] {
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
}

.reveal[data-reveal-variant="item"] {
  transform: translate3d(0, 14px, 0);
  filter: blur(3px);
  transition-duration: 680ms, 860ms, 860ms;
}

.reveal[data-reveal-variant="hero"] {
  transform: translate3d(0, 34px, 0);
  filter: blur(8px);
  transition-duration: 900ms, 1200ms, 1200ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reveal .placeholder-visual,
.reveal .contact-item,
.reveal .legal-nav a {
  transition:
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal .placeholder-visual {
  transform: scale(1.02);
}

.reveal .contact-item,
.reveal .legal-nav a {
  transform: translate3d(0, 10px, 0);
}

.reveal.is-visible .placeholder-visual,
.reveal.is-visible .contact-item,
.reveal.is-visible .legal-nav a {
  transform: translate3d(0, 0, 0) scale(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  min-height: 48px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 0;
  background: rgba(251, 251, 253, 0.74);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 28px;
  overflow: hidden;
  border-radius: 8px;
  background: url("/panda-brand.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.brand-text {
  font-size: 0.82rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  flex: 0 1 auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.section {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.hero {
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero--primary {
  position: relative;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
  border-radius: 0;
  padding: clamp(40px, 7vw, 92px);
  height: calc(100vh - var(--site-header-height));
  height: calc(100svh - var(--site-header-height));
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100svh - var(--site-header-height));
  background: #0f1014;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 16, 20, 0.84) 0%, rgba(15, 16, 20, 0.56) 46%, rgba(15, 16, 20, 0.16) 100%),
    linear-gradient(180deg, rgba(15, 16, 20, 0.18), rgba(15, 16, 20, 0.7));
}

.hero--secondary {
  width: 100%;
  margin: 0;
  border-radius: 0;
  min-height: auto;
  padding: clamp(72px, 8vw, 120px) clamp(24px, 5vw, 72px);
  background: var(--bg);
  border: 0;
  box-shadow: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
}

.hero-kicker,
.section-kicker {
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-copy h1,
.section-heading h2,
.panel-card__header h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero-center h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-copy p,
.hero-center p,
.section-heading p,
.panel-card__header p,
.product-card__body p,
.info-card__body p,
.faq-card p,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.58;
}

.hero--primary .hero-kicker,
.hero--primary h1 {
  color: #fff;
}

.hero--primary .hero-copy p {
  color: rgba(255, 255, 255, 0.8);
  max-width: var(--text-measure);
}

.hero-center {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-center p {
  width: min(760px, 100%);
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.section {
  padding: clamp(72px, 7vw, 120px) 0;
}

.section--light {
  background: #fff;
  border: 0;
  box-shadow: none;
}

.section--muted {
  background: var(--bg);
  border: 0;
  box-shadow: none;
}

.section-heading {
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.card-grid {
  display: grid;
  width: min(var(--content-max), calc(100% - 48px));
  margin: 0 auto;
  gap: clamp(28px, 4vw, 56px);
}

.card-grid--services {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.card-grid--works {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--locations {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card,
.showcase-card,
.info-card,
.panel-card,
.faq-card {
  overflow: visible;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-card,
.showcase-card,
.info-card {
  display: grid;
  gap: 20px;
  transition: none;
}

.product-card__media,
.showcase-card__media,
.info-card__media,
.panel-card__visual,
.hero-visual {
  min-height: 320px;
}

.card-grid--services .product-card {
  grid-column: span 6;
}

.card-grid--services .product-card__media {
  height: clamp(280px, 28vw, 360px);
  min-height: 0;
}

.card-grid--works .showcase-card__media {
  min-height: clamp(300px, 30vw, 380px);
}

.hero-visual--background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.product-card__body,
.info-card__body,
.showcase-card__caption,
.panel-card {
  padding: 0;
}

.product-card__body {
  display: grid;
  grid-template-rows:
    minmax(112px, auto)
    minmax(112px, auto)
    minmax(150px, auto)
    minmax(58px, auto)
    minmax(64px, auto)
    auto;
  gap: 0;
  height: 100%;
}

.product-card__body h3,
.info-card__body h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.product-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.product-card__header span,
.product-card__details span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.product-card__header strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.product-card__details {
  display: grid;
  align-content: start;
  gap: 10px;
}

.product-card__details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__details li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.product-card__details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.product-card__note,
.product-card__ideal {
  align-self: start;
  margin-top: 16px;
}

.product-card__note {
  color: var(--muted-strong);
  font-weight: 600;
}

.product-card__body a,
.info-card__body a {
  display: inline-flex;
  align-items: center;
  align-self: end;
  min-height: 44px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
}

.showcase-card__caption strong {
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.works-section {
  padding-bottom: clamp(56px, 6vw, 96px);
}

.works-marquee {
  --works-item-width: clamp(260px, 24vw, 430px);
  --works-row-height: clamp(190px, 18vw, 300px);
  width: 100%;
  overflow: hidden;
}

.works-section__actions {
  display: flex;
  justify-content: center;
  width: min(var(--content-max), calc(100% - 48px));
  margin: clamp(28px, 4vw, 48px) auto 0;
}

.works-marquee__row {
  width: 100%;
  height: var(--works-row-height);
  overflow: hidden;
}

.works-marquee__track {
  display: flex;
  width: max-content;
  height: 100%;
  gap: 0;
  animation: works-marquee-left var(--marquee-duration, 52s) linear infinite;
  will-change: transform;
}

.works-marquee__row--right .works-marquee__track {
  animation-name: works-marquee-right;
}

.works-marquee__item {
  flex: 0 0 var(--works-item-width);
  width: var(--works-item-width);
  height: 100%;
  overflow: hidden;
  border-radius: 0;
}

.works-marquee__media {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
}

.works-marquee .work-gallery,
.works-marquee .work-gallery__image,
.works-marquee .work-gallery__gradient {
  border-radius: 0;
}

.work-gallery {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 2px);
  background: #111214;
}

.work-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    object-position 360ms ease,
    transform 360ms ease;
}

.work-gallery__video {
  object-fit: cover;
}

.work-gallery__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.06), rgba(10, 10, 12, 0.5)),
    linear-gradient(90deg, rgba(10, 10, 12, 0.46), rgba(10, 10, 12, 0.05));
  pointer-events: none;
}

.work-gallery__copy {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: grid;
  gap: 6px;
  pointer-events: none;
}

.work-gallery__copy span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.work-gallery__copy strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.work-gallery__dotnav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.42);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: saturate(180%) blur(20px);
}

.work-gallery__dotnav button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition:
    width 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

.work-gallery__dotnav button.is-active {
  width: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.work-gallery__dotnav button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.28);
}

@keyframes works-marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes works-marquee-right {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.works-page {
  width: min(var(--content-max), calc(100% - 48px));
  margin: 20px auto 0;
}

.works-page__hero {
  display: grid;
  gap: 16px;
  padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
}

.works-page__hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.works-page__hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
}

.works-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(56px, 6vw, 96px);
}

.works-page__item {
  display: grid;
  gap: 14px;
}

.works-page__media {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  min-height: 0;
}

.works-page__item strong {
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  width: min(var(--content-max), calc(100% - 48px));
  margin: 0 auto;
}

.contact-layout--request {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.panel-card {
  display: grid;
  align-content: start;
  gap: 28px;
}

.panel-card__header {
  display: grid;
  gap: 12px;
}

.panel-card__header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-item {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 18px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

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

.contact-item strong {
  font-size: 1rem;
  font-weight: 600;
}

.request-form {
  display: grid;
  gap: 14px;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.consent-check a,
.form-legal-note a,
.legal-nav a {
  color: var(--accent);
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
}

.request-form input::placeholder {
  color: #8b8b90;
}

.request-form textarea {
  min-height: 132px;
  padding: 16px 18px;
  resize: vertical;
}

.form-status--success {
  color: #255d38;
}

.form-status--error {
  color: #9b1c1c;
}

.form-status--loading {
  color: #7a5f00;
}

.form-legal-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 0;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.faq-card:last-child {
  border-bottom: 0;
}

.faq-card button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.faq-card button span {
  font-size: 1.14rem;
  font-weight: 600;
}

.faq-card button strong {
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-card p {
  padding: 0 0 26px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 24px;
  width: min(var(--content-max), calc(100% - 28px));
  margin: 20px auto 32px;
  padding: 24px 8px 0;
  color: var(--muted);
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
}

.footer-links--legal {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid rgba(29, 29, 31, 0.06);
  justify-content: flex-start;
  max-width: 100%;
}

.legal-page,
.not-found {
  width: min(var(--content-max), calc(100% - 28px));
  margin: 20px auto 0;
}

.legal-hero,
.legal-card,
.not-found {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.legal-hero {
  display: grid;
  gap: 16px;
  padding: clamp(40px, 5vw, 64px);
}

.legal-hero h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-hero p,
.legal-section p,
.not-found p,
.details-card span {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.legal-sections {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 30px;
}

.legal-card h2,
.details-card strong {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.legal-card--aside {
  align-self: start;
  position: sticky;
  top: 82px;
}

.legal-nav {
  display: grid;
  gap: 12px;
}

.legal-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-muted);
  border: 1px solid rgba(29, 29, 31, 0.04);
  font-size: 0.95rem;
}

.legal-section {
  display: grid;
  gap: 14px;
}

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

.details-card {
  display: grid;
  gap: 10px;
}

.details-card strong {
  margin: 0;
}

.not-found {
  display: grid;
  gap: 18px;
  padding: 64px 40px;
  text-align: center;
  place-items: center;
}

.placeholder-visual {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 2px);
  background: #111214;
}

.placeholder-visual__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.placeholder-visual__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.06), rgba(10, 10, 12, 0.5)),
    linear-gradient(90deg, rgba(10, 10, 12, 0.46), rgba(10, 10, 12, 0.05));
}

.placeholder-visual__copy {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  gap: 6px;
}

.placeholder-visual__copy span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.placeholder-visual__copy strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.hero-visual--background .placeholder-visual__copy {
  top: auto;
  right: 28px;
  bottom: 28px;
  left: auto;
  text-align: right;
}

.hero-visual--background .placeholder-visual__copy span,
.hero-visual--background .placeholder-visual__copy strong {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1100px) {
  .hero--primary,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .card-grid--services,
  .card-grid--works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--services .product-card {
    grid-column: span 1;
  }

  .card-grid--services .product-card__media {
    height: 320px;
  }

  .legal-card--aside {
    position: static;
  }
}

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

  .reveal,
  .reveal .placeholder-visual,
  .reveal .contact-item,
  .reveal .legal-nav a,
  .button,
  .works-marquee__track {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}

@media (max-width: 820px) {
  :root {
    --site-header-height: 52px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px 14px;
    min-height: 52px;
  }

  .menu-button {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav--open {
    display: flex;
  }

  .section {
    padding: 56px 0;
  }

  .hero-copy h1,
  .section-heading h2,
  .panel-card__header h2 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .hero-center h2 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .works-marquee {
    --works-item-width: 48vw;
    --works-row-height: 220px;
  }

  .works-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--services,
  .card-grid--works,
  .card-grid--locations,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--services .product-card {
    grid-column: span 1;
  }

  .product-card__details ul {
    grid-template-columns: 1fr;
  }

  .product-card__body {
    grid-template-rows:
      minmax(100px, auto)
      minmax(96px, auto)
      minmax(150px, auto)
      minmax(58px, auto)
      minmax(58px, auto)
      auto;
  }

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

  .legal-hero,
  .legal-card,
  .not-found {
    padding: 28px 24px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    width: calc(100% - 20px);
  }

  .site-header {
    width: 100%;
  }

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

  .hero--primary {
    width: 100%;
    padding: 40px 24px;
  }

  .button {
    width: 100%;
  }

  .product-card__header {
    align-items: start;
    flex-direction: column;
  }

  .product-card__body {
    grid-template-rows: none;
  }

  .card-grid--services .product-card__media {
    height: 250px;
  }

  .works-marquee {
    --works-item-width: 78vw;
    --works-row-height: 210px;
  }

  .works-page {
    width: calc(100% - 24px);
  }

  .works-page__grid {
    grid-template-columns: 1fr;
  }

  .showcase-card__media,
  .info-card__media,
  .panel-card__visual,
  .hero-visual {
    min-height: 250px;
  }

  .hero-visual--background .placeholder-visual__copy {
    right: 20px;
    bottom: 20px;
  }
}

.button-danger {
  background: #8f2323;
  color: #fff;
}

.button-danger:hover {
  background: #7d1d1d;
}

.admin-app-shell {
  min-height: 100vh;
  font-size: 14px;
}

.admin-auth-shell,
.admin-section-grid,
.admin-stack,
.admin-card,
.admin-form,
.admin-filter-bar,
.admin-feed,
.admin-details {
  display: grid;
  gap: 12px;
}

.admin-auth-shell {
  width: min(var(--content-max), calc(100% - 28px));
  min-height: calc(100vh - 140px);
  min-height: calc(100svh - 140px);
  margin: 0 auto;
  place-items: center;
}

.admin-auth-card,
.admin-card,
.admin-metric-card,
.admin-empty {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.admin-auth-card {
  width: min(100%, 420px);
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
}

.admin-auth-copy,
.admin-auth-form {
  display: grid;
  gap: 14px;
}

.admin-auth-copy {
  justify-items: center;
  text-align: center;
}

.admin-auth-copy h1,
.admin-section-header h2,
.admin-card__header h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.admin-auth-copy h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.admin-auth-copy p,
.admin-section-header p,
.admin-card__header span,
.admin-note,
.admin-empty span,
.admin-feed__item span,
.admin-details__block p,
.admin-details__grid span {
  color: var(--muted);
  line-height: 1.5;
}

.admin-kicker {
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-auth-form {
  width: 100%;
}

.admin-auth-form input,
.admin-auth-form textarea,
.admin-auth-form select,
.admin-filter-bar input,
.admin-filter-bar select,
.admin-card input,
.admin-card textarea,
.admin-card select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
}

.admin-auth-form textarea,
.admin-card textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-auth-form input::placeholder,
.admin-filter-bar input::placeholder,
.admin-card input::placeholder,
.admin-card textarea::placeholder {
  color: #8b8b90;
}

.admin-auth-form input:focus,
.admin-auth-form textarea:focus,
.admin-auth-form select:focus,
.admin-filter-bar input:focus,
.admin-filter-bar select:focus,
.admin-card input:focus,
.admin-card textarea:focus,
.admin-card select:focus {
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
}

.admin-auth-submit {
  position: relative;
  min-height: 42px;
  width: fit-content;
  min-width: 118px;
  margin: 4px auto 0;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.admin-auth-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.admin-auth-submit span {
  position: relative;
  z-index: 1;
}

.admin-auth-submit:hover:not(:disabled) {
  color: #fff;
  transform: translateY(-1px);
}

.admin-auth-submit:hover:not(:disabled)::before {
  transform: scaleX(1);
}

.admin-auth-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.admin-auth-challenge,
.admin-empty,
.admin-details__block {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.admin-main {
  width: min(calc(var(--content-max) * 2), calc(100% - 28px));
  margin: 16px auto 0;
}

.admin-main .section.admin-shell {
  width: 100%;
  margin: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 24px;
  overflow: visible;
}

.admin-shell {
  display: grid;
  gap: 16px;
}

.admin-section-grid {
  gap: 16px;
}

.admin-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.admin-toolbar__identity {
  display: grid;
  gap: 4px;
}

.admin-toolbar__identity strong,
.admin-feed__item strong,
.admin-details__grid strong,
.admin-details__block strong,
.admin-empty strong {
  color: var(--text);
}

.admin-toolbar__identity span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav a.admin-nav-link {
  min-height: 40px;
  padding: 0 2px;
  font-size: 0.76rem;
}

.site-nav a.admin-nav-link.is-active,
.site-nav a.admin-nav-link:hover {
  color: var(--text);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-metric-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
}

.admin-metric-card span,
.admin-metric-card small {
  color: var(--muted);
}

.admin-metric-card strong {
  color: var(--text);
  font-size: clamp(1.45rem, 1.6vw, 2rem);
  letter-spacing: -0.04em;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}

.admin-grid-two--wide {
  grid-template-columns: 1.5fr 1fr;
}

.admin-card {
  padding: 18px;
  border-radius: 18px;
}

.admin-admin-list {
  display: grid;
  gap: 8px;
}

.admin-admin-item {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.admin-admin-item__header,
.admin-admin-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-admin-item__title {
  display: grid;
  gap: 4px;
}

.admin-admin-item__title strong,
.admin-admin-item__meta strong {
  color: var(--text);
}

.admin-admin-item__title span,
.admin-admin-item__meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-admin-item__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.admin-admin-item__meta > div {
  display: grid;
  gap: 4px;
}

.admin-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-card__header h3 {
  font-size: 1.08rem;
}

.admin-filter-bar {
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
}

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

.admin-application-item {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-muted);
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.admin-application-item:hover {
  border-color: rgba(0, 113, 227, 0.22);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}

.admin-application-item.is-selected {
  border-color: rgba(0, 113, 227, 0.3);
  background: rgba(0, 113, 227, 0.04);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.admin-application-item__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-application-item__title {
  display: grid;
  gap: 4px;
}

.admin-application-item__title strong,
.admin-application-item__meta strong {
  color: var(--text);
}

.admin-application-item__title span,
.admin-application-item__meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-application-item__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
}

.admin-application-item__meta > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--surface-muted);
}

.admin-table tbody tr {
  cursor: pointer;
}

.admin-table tbody tr.is-selected,
.admin-table tbody tr:hover {
  background: rgba(0, 113, 227, 0.04);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.status-pill--new {
  background: rgba(102, 163, 255, 0.12);
  color: #235ea8;
}

.status-pill--in_progress {
  background: rgba(233, 184, 88, 0.16);
  color: #876112;
}

.status-pill--completed,
.status-pill--active {
  background: rgba(90, 174, 123, 0.14);
  color: #255d38;
}

.status-pill--rejected,
.status-pill--inactive {
  background: rgba(224, 112, 112, 0.14);
  color: #9b1c1c;
}

.admin-feed__item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.admin-feed__item:last-child {
  border-bottom: 0;
}

.admin-feed__item small {
  color: var(--muted);
}

.admin-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-details__grid > div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.admin-details__grid > div span,
.admin-details__block span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-details__grid > div strong {
  display: block;
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions--stack,
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-note {
  margin: 0;
}

.admin-footer {
  margin-top: 20px;
}

.admin-footer-links {
  gap: 14px;
}

.admin-footer-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.admin-footer-link:hover {
  color: var(--text);
}

.admin-app-shell .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

@media (max-width: 1180px) {
  .admin-auth-card,
  .admin-metrics,
  .admin-grid-two,
  .admin-grid-two--wide {
    grid-template-columns: 1fr;
  }

  .admin-filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .admin-auth-shell,
  .admin-main {
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
  }

  .admin-section-header,
  .admin-card__header,
  .admin-pagination,
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-filter-bar,
  .admin-details__grid,
  .admin-application-item__meta,
  .admin-admin-item__meta {
    grid-template-columns: 1fr;
  }
}

