:root {
  --bg: #000000;
  --bg-elevated: #111111;
  --text: #ffffff;
  --muted: #8f8f8f;
  --muted-2: #6c6c6c;
  --accent: #FFD000;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-panel: 14px;
  --radius-control: 10px;
  --radius-icon: 12px;
  --radius-tight: 8px;
  --container: 1320px;
  --header-h: 84px;
  --copy-measure-wide: 88ch;
  --modal-copy-measure: 96ch;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 208, 0, 0.05), transparent 25%),
    radial-gradient(circle at 80% 15%, rgba(255, 208, 0, 0.035), transparent 22%),
    linear-gradient(180deg, #060606 0%, #000000 30%, #090909 65%, #000000 100%);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

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

.section {
  position: relative;
  padding: 108px 0;
}

.about-section {
  padding-bottom: 68px;
}

#projects.section {
  padding-top: 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 1px;
  background: var(--accent);
  opacity: 0.92;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-top: 14px;
}

.section-title span {
  color: inherit;
}

.section-subtitle {
  max-width: min(100%, var(--copy-measure-wide));
  color: var(--muted);
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.section-head > div {
  display: grid;
  align-content: start;
  min-width: 0;
  max-width: min(100%, var(--copy-measure-wide));
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 208, 0, 0.3), transparent);
  margin-top: 28px;
}

.contact-section {
  position: relative;
  isolation: isolate;
  padding-top: 26px;
  padding-bottom: 20px;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.82), rgba(8, 8, 8, 0.94));
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  z-index: -1;
}

.contact-section__inner {
  position: relative;
  max-width: 100%;
  padding: 6px 0 0;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 460px);
  gap: clamp(32px, 4vw, 52px);
  align-items: first baseline;
}

.contact-section__content {
  display: block;
  min-width: 0;
  padding-top: 0;
}

.contact-section__inner::before {
  display: none;
}

.contact-section__copy {
  max-width: min(100%, var(--copy-measure-wide));
  white-space: pre-line;
}

.contact-section__content > .eyebrow,
.contact-section__form .hero-inquiry-modal__field > span {
  line-height: 1.1;
}

.contact-section__email {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.contact-section__form-shell {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  align-self: first baseline;
}

.contact-section__form {
  margin-top: 0;
  column-gap: 14px;
  row-gap: 14px;
  align-items: start;
}

.contact-section__form .hero-inquiry-modal__field {
  gap: 7px;
}

.contact-section__form .hero-inquiry-modal__field input,
.contact-section__form .hero-inquiry-modal__field textarea {
  border: 1px solid rgba(255, 208, 0, 0.26);
  background: rgba(255, 208, 0, 0.015);
  box-shadow: inset 0 0 0 1px rgba(255, 208, 0, 0.02);
}

.contact-section__form .hero-inquiry-modal__field input:focus,
.contact-section__form .hero-inquiry-modal__field textarea:focus {
  border-color: rgba(255, 208, 0, 0.56);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.18);
  background: rgba(255, 208, 0, 0.02);
}

.contact-section__footer {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 460px);
  gap: clamp(32px, 4vw, 52px);
  align-items: first baseline;
  margin-top: 12px;
}

.contact-section__actions {
  display: flex;
  align-items: baseline;
}

.contact-section__submit-wrap {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.contact-section__submit-note {
  margin-top: 0;
  padding: 0;
  align-self: flex-start;
  display: inline;
  width: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  color: rgba(255, 208, 0, 0.92);
  font-size: 0.74rem;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  transition: color var(--transition), opacity var(--transition);
}

.contact-section__submit-note:hover,
.contact-section__submit-note:focus-visible {
  color: #ffe78a;
  opacity: 1;
  outline: none;
}

.contact-section__submit-note:active {
  opacity: 0.88;
}

.contact-section__submit-note[disabled] {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}

.hero-inquiry-modal__field .contact-section__field-error {
  display: none !important;
}

.hero-inquiry-modal__field.is-invalid input,
.hero-inquiry-modal__field.is-invalid textarea {
  border-color: rgba(220, 84, 84, 0.92);
  box-shadow: 0 0 0 1px rgba(220, 84, 84, 0.18);
  background: rgba(220, 84, 84, 0.035);
}

.hero-inquiry-modal__field.is-invalid input:focus,
.hero-inquiry-modal__field.is-invalid textarea:focus {
  border-color: rgba(232, 98, 98, 0.98);
  box-shadow: 0 0 0 1px rgba(232, 98, 98, 0.22);
  background: rgba(220, 84, 84, 0.045);
}

.contact-section__form-status {
  min-height: 1.45em;
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.38;
  letter-spacing: 0.01em;
  color: rgba(108, 108, 108, 0.78);
  text-transform: none;
  align-self: start;
  text-align: right;
}

.contact-section__form-status[hidden] {
  display: block;
  visibility: hidden;
}

.contact-section__form-status[data-state="validation"] {
  color: rgba(122, 122, 122, 0.82);
}

.contact-section__form-status[data-state="success"] {
  color: rgba(122, 122, 122, 0.8);
}

.contact-section__form-status[data-state="error"] {
  color: rgba(114, 114, 114, 0.8);
}

.contact-section__form[data-state="submitting"] {
  opacity: 0.94;
}

.contact-success-modal[hidden] {
  display: none;
}

.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1240;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.contact-success-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.78);
  backdrop-filter: blur(10px);
}

.contact-success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 560px);
  padding: 24px 16px;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-success-modal__eyebrow {
  margin: 0;
  color: rgba(255, 208, 0, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-success-modal__title {
  margin-top: 18px;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.contact-success-modal__body {
  margin-top: 14px;
  max-width: 34ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  text-wrap: pretty;
}

.contact-success-modal__button {
  margin-top: 22px;
  min-width: 112px;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  color: #000000;
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.contact-success-modal__button:hover,
.contact-success-modal__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.12), 0 12px 26px rgba(255, 208, 0, 0.1);
  outline: none;
}

.contact-success-modal__button:active {
  transform: translateY(0);
}

body.contact-success-modal-open {
  overflow: hidden;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex: 0 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.logo-image {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 1 auto;
  margin-left: clamp(8px, 1.4vw, 18px);
}

.nav a {
  position: relative;
  padding: 10px 15px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition), text-shadow var(--transition), transform var(--transition), opacity var(--transition);
}

.nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(255, 208, 0, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.nav a:active {
  transform: translateY(0);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.02);
}

.lang-switcher-btn {
  min-width: 41px;
  height: 37px;
  padding: 0 10px;
  border-radius: calc(var(--radius-control) - 3px);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.lang-switcher-btn:hover,
.lang-switcher-btn:focus-visible {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
  outline: none;
}

.lang-switcher-btn.is-active {
  color: var(--accent);
  background: rgba(255, 208, 0, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.08);
}

.lang-switcher-btn:active {
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-control);
  border: 1px solid rgba(255, 208, 0, 0.18);
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 208, 0, 0.36);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.1), 0 10px 24px rgba(255, 208, 0, 0.06);
  outline: none;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #050505;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  overflow: hidden;
  background: #000000;
}

.hero-media-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #000000;
  isolation: isolate;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  display: block;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-video-layer.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-fallback,
.hero-bg,
.hero-media-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-fallback {
  display: block;
  inset: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.02) contrast(1.04) brightness(0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.28) 34%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.32) 100%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 22%, rgba(0, 0, 0, 0.08) 100%),
    radial-gradient(rgba(20, 20, 20, 0.22) 1px, transparent 1px);
  background-size: 100% 100%, 3px 3px;
  background-position: center, 0 0;
  mix-blend-mode: normal;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.06) contrast(1.08) brightness(0.9);
  background: #000000;
  pointer-events: none;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-object-fit: cover;
  -webkit-object-position: center center;
}

.hero-media-fade {
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.52s ease;
}

.hero.is-transitioning .hero-media-fade {
  opacity: 1;
}

.hero.is-fallback .hero-fallback {
  opacity: 0;
  visibility: hidden;
}

.hero.is-fallback:not(.is-video-ready) .hero-fallback {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition-delay: 0s;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 44px);
  padding-bottom: 92px;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.35;
  padding: 0;
}


.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 900;
  max-width: 1030px;
  margin: 0 auto;
  text-wrap: initial;
}

.hero-title-line {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;
}

.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(255, 208, 0, 0.12);
}

.hero-copy {
  max-width: 700px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 23px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.12), 0 12px 26px rgba(255, 208, 0, 0.1);
  outline: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #000000;
}

.btn-secondary {
  color: var(--accent);
  border: 1px solid rgba(255, 208, 0, 0.45);
  background: rgba(255, 208, 0, 0.03);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.hero-video-modal[hidden] {
  display: none;
}

.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.hero-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hero-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(14px);
}

.hero-video-modal__dialog {
  position: relative;
  width: 100vw;
  height: 100vh;
  --hero-video-info-height-collapsed: clamp(92px, 11vh, 112px);
  --hero-video-info-height-expanded: clamp(160px, 19vh, 188px);
  --hero-video-info-height-current: var(--hero-video-info-height-collapsed);
  --hero-video-info-padding-top: 14px;
  --hero-video-info-padding-bottom: 16px;
  background: #050505;
  overflow: hidden;
}

.hero-video-modal.is-ui-active:not(.is-loading) .hero-video-modal__dialog {
  --hero-video-info-height-current: var(--hero-video-info-height-expanded);
  --hero-video-info-padding-top: 22px;
  --hero-video-info-padding-bottom: 24px;
}

.hero-video-modal__player,
.hero-video-modal__media {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video-modal__video {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 100%;
  height: auto;
  min-width: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  transform: translateY(-50%);
  background: #050505;
  opacity: 0;
  transition: opacity 0.34s ease;
}

.hero-video-modal.is-video-ready .hero-video-modal__video {
  opacity: 1;
}

.hero-video-modal__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #050505;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.hero-video-modal.is-loading .hero-video-modal__loading {
  opacity: 1;
  visibility: visible;
}

.hero-video-modal__loading-pixel {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.18), 0 0 18px rgba(255, 208, 0, 0.16);
  animation: project-modal-loading-pixel 1.2s ease-in-out infinite;
}

.hero-video-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.94;
  transition: transform var(--transition), opacity var(--transition);
}

.hero-video-modal__close:hover,
.hero-video-modal__close:focus-visible {
  transform: scale(1.06);
  opacity: 1;
  outline: none;
}

.hero-video-modal__close svg {
  width: 16px;
  height: 16px;
}

.hero-video-modal__controls {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: calc(var(--hero-video-info-height-current) + 20px);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: opacity 0.22s ease, transform 0.22s ease, bottom 0.28s ease;
}

.hero-video-modal__controls-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-video-modal__controls-group--right {
  margin-left: auto;
}

.hero-video-modal__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  transition: transform var(--transition), opacity var(--transition);
}

.hero-video-modal__control,
.hero-video-modal__close {
  opacity: 0.94;
}

.hero-video-modal__control:hover,
.hero-video-modal__control:focus-visible,
.hero-video-modal__close:hover,
.hero-video-modal__close:focus-visible {
  transform: scale(1.06);
  opacity: 1;
  outline: none;
}

.hero-video-modal__control--play {
  width: 40px;
  height: 40px;
}

.hero-video-modal__control--fullscreen {
  width: 22px;
  height: 22px;
}

.hero-video-modal__icon {
  width: 18px;
  height: 18px;
}

.hero-video-modal__control--play .hero-video-modal__icon {
  width: 28px;
  height: 28px;
}

.hero-video-modal__icon--pause {
  display: none;
}

.hero-video-modal.is-playing .hero-video-modal__icon--play {
  display: none;
}

.hero-video-modal.is-playing .hero-video-modal__icon--pause {
  display: block;
}

.hero-video-modal__volume {
  width: min(160px, 24vw);
  display: flex;
  align-items: center;
  transform: translateY(1px);
}

.hero-video-modal__volume-slider,
.hero-video-modal__seek {
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.hero-video-modal__volume-slider::-webkit-slider-runnable-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-video-modal__volume-slider::-moz-range-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-video-modal__volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 208, 0, 0.18);
  background: var(--accent);
}

.hero-video-modal__volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 208, 0, 0.18);
  background: var(--accent);
}

.hero-video-modal__timeline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--hero-video-info-height-current);
  height: 18px;
  z-index: 4;
  transition: opacity 0.22s ease, transform 0.22s ease, bottom 0.28s ease;
}

.hero-video-modal__timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-video-modal__timeline-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 208, 0, 0.28);
}

.hero-video-modal__seek {
  position: absolute;
  inset: 0;
}

.hero-video-modal__seek::-webkit-slider-runnable-track {
  height: 18px;
  background: transparent;
}

.hero-video-modal__seek::-moz-range-track {
  height: 18px;
  background: transparent;
}

.hero-video-modal__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1px;
  height: 18px;
  background: transparent;
}

.hero-video-modal__seek::-moz-range-thumb {
  width: 1px;
  height: 18px;
  border: 0;
  background: transparent;
}

.hero-video-modal__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: var(--hero-video-info-height-current);
  display: flex;
  align-items: flex-end;
  padding: var(--hero-video-info-padding-top) 30px var(--hero-video-info-padding-bottom);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.44) 56%, rgba(5, 5, 5, 0.58));
  transition: height 0.28s ease, padding 0.28s ease;
}

.hero-video-modal__meta {
  display: grid;
  gap: 8px;
  width: min(100%, var(--modal-copy-measure));
  max-width: min(100%, var(--modal-copy-measure));
}

.hero-video-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.62);
}

.hero-video-modal__eyebrow::before {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 1px;
  background: var(--accent);
  opacity: 0.92;
}

.hero-video-modal__scope {
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.hero-video-modal__description {
  max-width: min(100%, var(--modal-copy-measure));
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
  text-wrap: pretty;
  max-height: 160px;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.28s ease, max-height 0.28s ease;
}

.hero-video-modal:not(.is-ui-active) .hero-video-modal__description,
.hero-video-modal.is-loading .hero-video-modal__description {
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
}

.hero-video-modal.is-playing:not(.is-ui-active) .hero-video-modal__close,
.hero-video-modal.is-playing:not(.is-ui-active) .hero-video-modal__controls {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.hero-video-modal:not(.is-ui-active) .hero-video-modal__close,
.hero-video-modal:not(.is-ui-active) .hero-video-modal__controls {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.hero-video-modal.is-loading .hero-video-modal__close,
.hero-video-modal.is-loading .hero-video-modal__controls,
.hero-video-modal.is-loading .hero-video-modal__timeline {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}

.mobile-project-viewer[hidden] {
  display: none;
}

.mobile-project-viewer {
  position: fixed;
  inset: 0;
  z-index: 1240;
  background:
    radial-gradient(circle at top right, rgba(255, 208, 0, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.98), #040404 34%, #000000 100%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-project-viewer__inner {
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(env(safe-area-inset-top, 0px) + 14px)
    18px
    calc(env(safe-area-inset-bottom, 0px) + 30px);
}

.mobile-project-viewer__topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(4, 4, 4, 0.96), rgba(4, 4, 4, 0.82) 68%, rgba(4, 4, 4, 0));
  backdrop-filter: blur(10px);
}

.mobile-project-viewer__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-project-viewer__back svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.mobile-project-viewer__content {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.mobile-project-viewer__header {
  display: grid;
  gap: 10px;
}

.mobile-project-viewer__category {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.mobile-project-viewer__title {
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-project-viewer__media {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.mobile-project-viewer__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.mobile-project-viewer__section {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-project-viewer__section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
}

.mobile-project-viewer__text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.72;
  text-wrap: pretty;
}

.mobile-project-viewer__text--details {
  color: rgba(255, 208, 0, 0.86);
}

.hero-inquiry-modal__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.hero-inquiry-modal__field {
  display: grid;
  gap: 7px;
  align-content: start;
}

.hero-inquiry-modal__field--full {
  grid-column: 1 / -1;
}

.hero-inquiry-modal__field span {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.hero-inquiry-modal__field input,
.hero-inquiry-modal__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 15px 16px;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.hero-inquiry-modal__field textarea {
  resize: vertical;
  min-height: 152px;
}

.hero-inquiry-modal__field input:focus,
.hero-inquiry-modal__field textarea:focus {
  outline: none;
  border-color: rgba(255, 208, 0, 0.34);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.08);
  background: rgba(255, 208, 0, 0.02);
}

body.hero-video-modal-open {
  overflow: hidden;
}

body.mobile-project-viewer-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .hero-video-modal__dialog {
    --hero-video-info-height-collapsed: clamp(104px, 15vh, 126px);
    --hero-video-info-height-expanded: clamp(188px, 28vh, 220px);
    --hero-video-info-padding-top: 14px;
    --hero-video-info-padding-bottom: 16px;
  }

  .hero-video-modal.is-ui-active:not(.is-loading) .hero-video-modal__dialog {
    --hero-video-info-padding-top: 18px;
    --hero-video-info-padding-bottom: 20px;
  }

  .hero-video-modal__close {
    top: 16px;
    right: 16px;
  }

  .hero-video-modal__controls {
    left: 18px;
    right: 18px;
    bottom: calc(var(--hero-video-info-height-current) + 14px);
    gap: 14px;
  }

  .hero-video-modal__controls-group {
    gap: 10px;
  }

  .hero-video-modal__volume {
    width: min(120px, 34vw);
  }

  .hero-video-modal__timeline {
    bottom: var(--hero-video-info-height-current);
  }

  .hero-video-modal__info {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-video-modal__scope {
    white-space: normal;
  }

  .hero-inquiry-modal__form {
    grid-template-columns: 1fr;
  }
}

/* Portfolio */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-actions {
  display: flex;
  gap: 9px;
}

.arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-icon);
  border: 1px solid rgba(255, 208, 0, 0.24);
  background: linear-gradient(180deg, rgba(255, 208, 0, 0.05), rgba(255, 208, 0, 0.01));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.arrow-btn:hover,
.arrow-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 208, 0, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.1), 0 10px 22px rgba(255, 208, 0, 0.07);
  outline: none;
}

.arrow-btn:active {
  transform: translateY(0);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.project-card {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  isolation: isolate;
  color: inherit;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.project-card.large {
  grid-column: span 4;
}

.project-card.medium {
  grid-column: span 4;
}

.project-media {
  position: absolute;
  inset: 0;
}

.project-poster,
.project-preview {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.08) saturate(0.9) brightness(0.72);
  transform: scale(1.01);
  transition: transform 0.6s ease, filter 0.6s ease, opacity 0.45s ease;
  pointer-events: none;
}

.project-preview {
  opacity: 0;
}

.project-card.is-preview-ready .project-preview {
  opacity: 1;
}

.project-card.is-preview-ready .project-poster {
  opacity: 0;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(0deg, rgba(255, 208, 0, 0.06), transparent 40%);
  transition: background var(--transition);
  z-index: 1;
}

.project-card:focus {
  outline: none;
}

.project-card:hover .project-poster,
.project-card:focus-visible .project-poster,
.project-card:hover .project-preview,
.project-card:focus-visible .project-preview {
  transform: scale(1.04);
  filter: grayscale(0) saturate(1) brightness(0.88);
}

.project-card:hover::before,
.project-card:focus-visible::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 12%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(0deg, rgba(255, 208, 0, 0.1), transparent 42%);
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 208, 0, 0.12);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 208, 0, 0.04);
}

.project-card:focus-visible {
  box-shadow: 0 0 0 1px rgba(255, 208, 0, 0.22), 0 22px 54px rgba(0, 0, 0, 0.42);
}

.project-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.project-title-wrap {
  border-left: 3px solid var(--accent);
  padding-left: 15px;
  max-width: min(100%, 28ch);
}

.project-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 7px;
  font-weight: 600;
  line-height: 1.35;
}

.project-title {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  text-wrap: balance;
}

.project-index {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.credits-section {
  padding-top: 24px;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.credit-card {
  min-width: 0;
}

.credit-card:hover,
.credit-card:focus-within {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.credit-poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius-panel) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 208, 0, 0.06), rgba(255, 208, 0, 0)),
    rgba(18, 18, 18, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.credit-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.08) saturate(0.9) brightness(0.86);
  transition: transform 0.5s ease, filter 0.28s ease;
}

.credit-card:hover .credit-poster,
.credit-card:focus-within .credit-poster {
  transform: scale(1.02);
  filter: grayscale(0.04) saturate(0.94) brightness(0.46);
}

.credit-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 14px 12px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 18%, rgba(0, 0, 0, 0.84) 100%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.credit-card:hover .credit-card__overlay,
.credit-card:focus-within .credit-card__overlay {
  opacity: 1;
}

.credit-title::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.92;
  margin-bottom: 9px;
}

.credit-title {
  font-size: 0.86rem;
  line-height: 1.18;
  letter-spacing: 0.02em;
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
}

.credit-scope {
  color: var(--accent);
  font-size: 0.66rem;
  line-height: 1.48;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes project-modal-loading-pixel {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.72;
  }

  50% {
    transform: translate3d(0, -1px, 0) scale(1.08);
    opacity: 1;
  }
}

/* Services */
.services-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-panel);
  padding: 30px 24px 28px;
  min-height: 224px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: var(--shadow);
}

.service-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 208, 0, 0), rgba(255, 208, 0, 0.88), rgba(255, 208, 0, 0));
  opacity: 0;
  transform: scaleX(0.74);
  transform-origin: center;
  transition: opacity var(--transition), transform var(--transition);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 208, 0, 0.24);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 208, 0, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012)),
    rgba(17, 17, 17, 0.86);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-icon);
  border: 1px solid rgba(255, 208, 0, 0.35);
  display: grid;
  place-items: center;
  color: var(--accent);
  --service-icon-detail: var(--bg);
  margin-bottom: 0;
  flex: 0 0 auto;
  background: rgba(255, 208, 0, 0.03);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  transition: transform var(--transition);
}

.service-icon .service-icon-svg--cgi {
  width: 40px;
  height: 40px;
  margin-top: 2px;
}

.service-icon .service-icon-svg--compositing {
  width: 31px;
  height: 18px;
}

.service-icon .service-icon-svg--broadcast {
  width: 34px;
  height: 18px;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  background: var(--accent);
  color: #000000;
  --service-icon-detail: var(--accent);
  border-color: rgba(255, 208, 0, 0.9);
  box-shadow: 0 12px 28px rgba(255, 208, 0, 0.12);
}

.service-card:hover .service-icon svg,
.service-card:focus-within .service-icon svg {
  transform: translateY(-1px);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  text-wrap: pretty;
  flex: 1 1 auto;
  min-width: 0;
}

.service-card p {
  margin-top: 16px;
  color: var(--muted);
  width: 100%;
  font-size: 0.96rem;
  line-height: 1.68;
  text-wrap: pretty;
  text-align: left;
}

/* Process */
.timeline-wrap {
  margin-top: 36px;
  padding: 30px 26px 22px;
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.01)),
    rgba(17, 17, 17, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.timeline {
  --workflow-cycle: 8.4s;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding-top: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 92px;
  height: 1px;
  background: rgba(255, 208, 0, 0.58);
  z-index: 0;
}

.timeline::after {
  content: "";
  position: absolute;
  top: 91px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, rgba(255, 208, 0, 0), rgba(255, 208, 0, 0.98), rgba(255, 208, 0, 0));
  background-repeat: no-repeat;
  background-size: 54.4% 100%;
  background-position: -96% 50%;
  clip-path: inset(0 10% 0 10% round 999px);
  box-shadow: 0 0 16px rgba(255, 208, 0, 0.28);
  pointer-events: none;
  animation: workflow-line-pass var(--workflow-cycle) linear infinite;
  z-index: 0;
}

.timeline-step {
  position: relative;
  text-align: center;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.timeline-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 26px;
}

.timeline-node {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-icon);
  background: #0b0b0b;
  border: 1px solid rgba(255, 208, 0, 0.55);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: none;
  overflow: hidden;
  z-index: 3;
  isolation: isolate;
}

.timeline-step:nth-child(1) .timeline-label {
  animation-delay: 0s;
}

.timeline-step:nth-child(1) .timeline-node {
  animation-delay: 0s;
}

.timeline-step:nth-child(2) .timeline-label {
  animation-delay: 1.25s;
}

.timeline-step:nth-child(2) .timeline-node {
  animation-delay: 1.25s;
}

.timeline-step:nth-child(3) .timeline-label {
  animation-delay: 2.5s;
}

.timeline-step:nth-child(3) .timeline-node {
  animation-delay: 2.5s;
}

.timeline-step:nth-child(4) .timeline-label {
  animation-delay: 3.75s;
}

.timeline-step:nth-child(4) .timeline-node {
  animation-delay: 3.75s;
}

.timeline-step:nth-child(5) .timeline-label {
  animation-delay: 5s;
}

.timeline-step:nth-child(5) .timeline-node {
  animation-delay: 5s;
}

.timeline-node {
  animation: workflow-node-pulse var(--workflow-cycle) linear infinite;
}

.timeline-label {
  animation: workflow-label-pulse var(--workflow-cycle) linear infinite;
}

.timeline-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 19ch;
  line-height: 1.64;
}

@keyframes workflow-line-pass {
  0% {
    background-position: -96% 50%;
  }

  81.5% {
    background-position: 196% 50%;
  }

  100% {
    background-position: 196% 50%;
  }
}

@keyframes workflow-node-pulse {
  0%,
  16%,
  100% {
    background: #0b0b0b;
    border-color: rgba(255, 208, 0, 0.55);
    color: var(--accent);
    box-shadow: none;
  }

  5%,
  11% {
    background: #0b0b0b;
    border-color: rgba(255, 208, 0, 0.72);
    color: #ffe68f;
    box-shadow: none;
  }
}

@keyframes workflow-label-pulse {
  0%,
  18%,
  100% {
    color: rgba(255, 255, 255, 0.86);
    text-shadow: none;
  }

  4%,
  12% {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 0 8px rgba(255, 208, 0, 0.1);
  }
}

/* Footer */
.site-footer {
  padding: 10px 0 16px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.88), rgba(0, 0, 0, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social a {
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--accent);
}

.copyright {
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 1150px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .project-card.large,
  .project-card.medium {
    grid-column: span 1;
  }

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

}

@media (max-width: 920px) {
  :root {
    --header-h: 76px;
  }

  .header-actions {
    gap: 10px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px 14px;
    border-radius: var(--radius-control);
  }

  .nav a + a::before {
    display: none;
  }

  .nav a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .lang-switcher {
    padding: 3px;
  }

  .lang-switcher-btn {
    min-width: 40px;
    height: 36px;
    padding: 0 10px;
  }

  .section {
    padding: 88px 0;
  }

  .contact-section {
    padding-top: 18px;
  }

  .contact-section::before {
    top: 0;
    bottom: 0;
  }

  .contact-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .contact-section__footer {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 0;
  }

  .timeline::before {
    left: 25px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .timeline::after {
    top: 0;
    left: 24px;
    right: auto;
    width: 3px;
    bottom: 0;
    height: auto;
    background: linear-gradient(180deg, rgba(255, 208, 0, 0), rgba(255, 208, 0, 0.98), rgba(255, 208, 0, 0));
    background-repeat: no-repeat;
    background-size: 100% 54.4%;
    background-position: 50% -96%;
    clip-path: inset(0 round 999px);
    animation-name: workflow-line-pass-vertical;
  }

  .timeline-step {
    align-items: flex-start;
    text-align: left;
    min-height: auto;
    padding-left: 62px;
  }

  .timeline-node {
    position: absolute;
    left: 0;
    top: 28px;
  }

  .timeline-label {
    margin-bottom: 18px;
  }

  .timeline-note {
    max-width: 100%;
  }
}

@keyframes workflow-line-pass-vertical {
  0% {
    background-position: 50% -96%;
  }

  81.5% {
    background-position: 50% 196%;
  }

  100% {
    background-position: 50% 196%;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(2.45rem, 11.4vw, 4.6rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
    margin-inline: auto;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .about-section {
    padding-bottom: 56px;
  }

  #projects.section {
    padding-top: 56px;
  }

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

  .credits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .contact-section__actions {
    align-items: flex-start;
  }

  .contact-section__email {
    width: 100%;
  }

  .contact-section__submit-wrap {
    justify-items: start;
  }

  .contact-section__form-status {
    text-align: left;
  }

  .contact-section__form-shell {
    padding: 0;
  }

  .contact-section__content {
    padding-top: 0;
  }

  .contact-success-modal__dialog {
    width: min(calc(100% - 24px), 560px);
    padding: 20px 12px;
  }

  .contact-success-modal__title {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

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

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero h1 {
    font-size: clamp(2.08rem, 10.2vw, 3.2rem);
  }

  .logo-image {
    height: 32px;
  }

  .hero-kicker {
    letter-spacing: 0.24em;
    font-size: 0.66rem;
  }

  .section-title {
    letter-spacing: -0.05em;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text {
  min-width: 0;
}

.about-text .section-subtitle {
  max-width: none;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem;
}

.about-pillar {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-pillars .about-pillar:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-pillar__heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f0c400;
  margin: 0 0 0.6rem 0;
}

.about-pillar__body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 860px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text {
    padding-right: 0;
  }
}

/* ── Team Section ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* Bilingual team text */

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 10px;
}

@media (max-width: 920px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid .team-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-grid .team-card:last-child {
    max-width: 100%;
  }
}
