:root {
  color-scheme: dark;
  --bg: #050506;
  --bg-2: #0c0c0e;
  --panel: #111113;
  --panel-2: #171719;
  --text: #f5f7f9;
  --muted: #b2b9ba;
  --muted-2: #7c8586;
  --rule: rgba(245, 247, 249, 0.16);
  --rule-strong: rgba(245, 247, 249, 0.28);
  --red: #ff3b3f;
  --red-dark: #8e191e;
  --glass: #79d6c7;
  --glass-dark: #1f746c;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --container: 1180px;
  --header: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(255, 59, 63, 0.08) 0 1px, transparent 1px 100%) 0 0 / 92px 92px,
    linear-gradient(180deg, rgba(121, 214, 199, 0.06) 0 1px, transparent 1px 100%) 0 0 / 92px 92px,
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(126deg, transparent 0 51%, rgba(255, 59, 63, 0.08) 51% 51.35%, transparent 51.35%),
    linear-gradient(28deg, transparent 0 68%, rgba(121, 214, 199, 0.08) 68% 68.3%, transparent 68.3%);
}

img,
svg {
  display: block;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header);
  padding: 14px max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--rule);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 40px;
  border: 0;
  background: var(--red);
  color: #070708;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  font-size: 13px;
  line-height: 1;
}

.brand-name {
  overflow: hidden;
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px 0 18px;
  border: 1px solid rgba(255, 59, 63, 0.8);
  border-radius: var(--radius);
  background: var(--red);
  color: #070708;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(255, 59, 63, 0.18);
}

.header-action svg,
.button svg,
.icon-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button svg polygon,
.play-control svg polygon {
  fill: currentColor;
  stroke: none;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 44px;
  height: 42px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(245, 247, 249, 0.06);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 38px;
  align-items: center;
  max-width: calc(var(--container) + 64px);
  min-height: 724px;
  margin: 0 auto 18px;
  padding: 58px 32px 44px;
}

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

.hero-copy::before {
  position: absolute;
  top: -34px;
  left: 0;
  width: 132px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--glass));
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 14ch;
  font-size: 84px;
  font-weight: 900;
  line-height: 0.92;
}

h1 span {
  display: block;
}

.h1-red {
  color: var(--red);
}

.h1-glass {
  color: #a4bdb9;
}

.hero-lede {
  max-width: 590px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions,
.buff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease);
}

.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible,
.icon-link:hover,
.icon-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(255, 59, 63, 0.7);
  background: var(--red);
  color: #070708;
  box-shadow: 0 16px 34px rgba(255, 59, 63, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff5255;
}

.button-ghost {
  border-color: var(--rule-strong);
  background: rgba(245, 247, 249, 0.055);
  color: var(--text);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(121, 214, 199, 0.65);
  color: var(--glass);
}

.hero-media {
  position: relative;
  isolation: isolate;
  min-height: 562px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  top: 0;
  right: 11%;
  bottom: 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--red), transparent);
}

.hero-media img,
.preview-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-rail {
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(245, 247, 249, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.section {
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding: 110px 32px;
  scroll-margin-top: 96px;
}

.section-heading,
.contact-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 52px;
}

.section-index {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 34px;
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--glass);
  color: var(--glass);
  font-size: 13px;
  font-weight: 900;
}

h2 {
  max-width: 780px;
  font-size: 54px;
  font-weight: 900;
  line-height: 0.98;
}

.section-heading p {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 30px;
  align-items: stretch;
}

.service-board {
  border-top: 1px solid var(--rule-strong);
}

.service-row {
  display: grid;
  grid-template-columns: 56px minmax(190px, 0.48fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--rule);
}

.service-row > span {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.service-row h3 {
  font-size: 23px;
  line-height: 1.05;
}

.service-row p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.method-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 34px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(121, 214, 199, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(255, 59, 63, 0.18), transparent 32%),
    var(--panel);
  overflow: hidden;
}

.method-panel::before {
  position: absolute;
  inset: 24px;
  content: "";
  border-top: 1px solid rgba(245, 247, 249, 0.14);
  border-right: 1px solid rgba(245, 247, 249, 0.14);
  transform: skewX(-10deg);
}

.method-line {
  position: absolute;
  top: 30px;
  left: 34px;
  width: 92px;
  height: 3px;
  background: var(--red);
}

.method-panel h3 {
  position: relative;
  max-width: 340px;
  font-size: 32px;
  line-height: 1.05;
}

.method-panel p {
  position: relative;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.process-steps {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  min-height: 36px;
  padding: 8px 12px;
  border-left: 2px solid var(--glass);
  background: rgba(245, 247, 249, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.buff-section {
  position: relative;
  max-width: none;
  padding-right: max(32px, calc((100vw - var(--container)) / 2));
  padding-left: max(32px, calc((100vw - var(--container)) / 2));
  background:
    linear-gradient(180deg, rgba(121, 214, 199, 0.08), transparent 28%),
    linear-gradient(95deg, rgba(255, 59, 63, 0.12), transparent 42%),
    #070808;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.buff-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.buff-copy h2 {
  margin-top: 28px;
}

.buff-copy p {
  max-width: 510px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.buff-copy strong {
  color: var(--text);
}

.preview-shell {
  position: relative;
}

.preview-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.72));
  opacity: 0.9;
  pointer-events: none;
}

.preview-button:hover .play-control,
.preview-button:focus-visible .play-control {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--glass);
}

.play-control {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(245, 247, 249, 0.82);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.7);
  color: var(--text);
  transform: translate(-50%, -50%);
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.play-control svg {
  width: 25px;
  height: 25px;
  margin-left: 4px;
}

.preview-shell.is-playing .play-control {
  background: var(--red);
  color: #070708;
}

.preview-status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(245, 247, 249, 0.2);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.74);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 59, 63, 0.16);
}

.preview-shell.is-playing .status-dot {
  background: var(--glass);
  box-shadow: 0 0 0 4px rgba(121, 214, 199, 0.18);
}

.production-beats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.production-beats article {
  min-height: 132px;
  padding: 22px 24px;
  border-right: 1px solid var(--rule);
}

.production-beats article:last-child {
  border-right: 0;
}

.production-beats span {
  color: var(--glass);
  font-size: 14px;
  font-weight: 900;
}

.production-beats p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-section {
  padding-bottom: 84px;
}

.contact-heading {
  margin-bottom: 44px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.44fr);
  gap: 34px;
  align-items: start;
}

.contact-list {
  border-top: 1px solid var(--rule-strong);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 124px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-row h3 {
  font-size: 25px;
  line-height: 1.15;
}

.contact-row p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.contact-row div > a {
  display: inline-block;
  margin-top: 10px;
  color: var(--glass);
  font-size: 17px;
  font-weight: 800;
  word-break: break-word;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 230px;
  padding: 0 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: rgba(245, 247, 249, 0.055);
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.icon-link:hover,
.icon-link:focus-visible {
  border-color: rgba(255, 59, 63, 0.72);
  color: var(--red);
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 59, 63, 0.16), transparent 36%),
    linear-gradient(335deg, rgba(121, 214, 199, 0.1), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
}

.inquiry-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(245, 247, 249, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.72);
  color: var(--text);
  padding: 12px 13px;
  font-size: 15px;
  outline: 0;
}

.inquiry-form textarea {
  min-height: 132px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--glass);
  box-shadow: 0 0 0 3px rgba(121, 214, 199, 0.15);
}

.form-note {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

:focus-visible {
  outline: 2px solid var(--glass);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 78px;
  }

  h1 {
    max-width: 12ch;
    font-size: 72px;
  }

  .hero-media {
    min-height: 480px;
  }

  .services-layout,
  .buff-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .method-panel {
    min-height: 430px;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 68px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .brand-name {
    max-width: 19ch;
  }

  .nav-links {
    position: fixed;
    top: var(--header);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: rgba(12, 12, 14, 0.98);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 20px;
  }

  .hero-copy::before {
    top: -24px;
  }

  h1 {
    font-size: 52px;
    line-height: 0.95;
  }

  .hero-lede,
  .buff-copy p,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions,
  .buff-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 280px;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading,
  .contact-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }

  h2 {
    font-size: 40px;
    line-height: 1.02;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    gap: 14px 18px;
    min-height: 0;
    padding: 22px 0;
  }

  .service-row p {
    grid-column: 2;
  }

  .method-panel {
    min-height: 360px;
    padding: 28px;
  }

  .production-beats {
    grid-template-columns: 1fr 1fr;
  }

  .production-beats article:nth-child(2n) {
    border-right: 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .icon-link {
    width: 100%;
    max-width: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 42px;
    height: 36px;
    font-size: 12px;
  }

  .brand-name {
    max-width: 15ch;
    font-size: 13px;
    white-space: normal;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-media {
    min-height: 190px;
  }

  .media-rail {
    right: 18px;
    left: 24px;
  }

  .preview-status {
    position: static;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }

  .play-control {
    width: 64px;
    height: 64px;
  }

  .production-beats {
    grid-template-columns: 1fr;
  }

  .production-beats article,
  .production-beats article:nth-child(2n) {
    border-right: 0;
  }
}

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