:root {
  --ink: #101114;
  --muted: #65686f;
  --paper: #f8f7f3;
  --white: #ffffff;
  --line: #dedbd2;
  --coral: #ff5a3d;
  --teal: #00b6c7;
  --lime: #d7ff4f;
  --violet: #6f5cff;
  --shadow: 0 22px 70px rgba(16, 17, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: var(--lime);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  background: rgba(248, 247, 243, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav-pill {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero picture::after,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05);
}

.hero picture::after {
  content: "";
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.88), rgba(16, 17, 20, 0.45) 48%, rgba(16, 17, 20, 0.08)),
    linear-gradient(0deg, rgba(16, 17, 20, 0.5), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 10vh, 94px) clamp(18px, 6vw, 84px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.page-title {
  max-width: 980px;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.hero-copy p:not(.eyebrow),
.lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.lead {
  color: var(--muted);
}

.lead.small {
  font-size: 1rem;
}

.hero-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.chip,
.icon-button {
  min-height: 44px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  padding: 13px 18px;
  border-radius: 999px;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(255, 90, 61, 0.28);
}

.button.ghost {
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
}

.section {
  padding: clamp(52px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--ink);
  color: var(--white);
}

.strip div {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background: var(--ink);
}

.strip strong {
  color: var(--teal);
  font-size: 1.9rem;
}

.strip span {
  font-size: 1.08rem;
  font-weight: 850;
}

.two-col,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.service-grid,
.admin-grid,
.client-grid {
  display: grid;
  gap: 16px;
}

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

.service-grid article,
.panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-grid article {
  min-height: 220px;
  padding: 26px;
  border-radius: 8px;
}

.service-grid span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
}

.service-grid p,
.card p {
  color: var(--muted);
  line-height: 1.5;
}

.media-band {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  gap: 12px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(52px, 8vw, 108px);
}

.media-band img {
  width: 100%;
  height: clamp(220px, 34vw, 520px);
  object-fit: cover;
  border-radius: 8px;
}

.media-band img:nth-child(2) {
  margin-top: 46px;
}

.media-band img:nth-child(3) {
  margin-top: 22px;
}

.panel {
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 850;
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 182, 199, 0.14);
}

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

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.workspace {
  padding: clamp(52px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.page-workspace {
  min-height: calc(100vh - 76px);
}

.workspace.client {
  background: var(--paper);
  color: var(--ink);
}

.workspace-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.workspace h2 {
  max-width: 920px;
}

.login {
  max-width: 520px;
  color: var(--ink);
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--ink);
}

.client-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

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

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 1.35rem;
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.stack.compact {
  gap: 8px;
}

.card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.card strong {
  display: block;
  margin-bottom: 6px;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.chip {
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}

.chip:nth-child(2) {
  background: var(--teal);
  color: var(--white);
}

.chip:nth-child(3) {
  background: var(--violet);
  color: var(--white);
}

.video-preview {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  margin: 10px 0 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 90, 61, 0.82), rgba(0, 182, 199, 0.82)),
    url("https://images.unsplash.com/photo-1536240478700-b869070f9279?auto=format&fit=crop&w=1200&q=80") center / cover;
  color: var(--white);
  text-align: center;
}

.video-preview span {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.78);
  font-size: 1.8rem;
}

.video-preview p {
  margin: 0;
  padding: 0 18px;
  font-weight: 850;
}

pre {
  min-height: 210px;
  white-space: pre-wrap;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.footer span:first-child {
  color: var(--white);
  font-weight: 950;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    margin-left: 18px;
    margin-bottom: 56px;
  }

  .strip,
  .two-col,
  .contact,
  .admin-grid,
  .client-grid,
  .media-band {
    grid-template-columns: 1fr;
  }

  .media-band img,
  .media-band img:nth-child(2),
  .media-band img:nth-child(3) {
    height: 280px;
    margin-top: 0;
  }

  .workspace-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(4rem, 24vw, 6.4rem);
  }

  .service-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .button {
    width: 100%;
  }
}
