:root {
  --bg: #020617;
  --panel: #080808;
  --panel-soft: #111111;
  --line: #262626;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.54);
  --accent: #f97316;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  background-image: repeating-linear-gradient(-45deg, #ffffff, #ffffff 1px, transparent 1px, transparent 12px);
  content: "";
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}

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

.page {
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 95%;
  padding: 32px 0;
  position: relative;
  z-index: 5;
}

.brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.brand-logo,
.footer-brand {
  align-items: center;
  display: inline-flex;
}

.brand-logo img {
  display: block;
  height: auto;
  width: clamp(126px, 12vw, 158px);
}

.footer-brand img {
  display: block;
  height: auto;
  width: 154px;
}

.nav-pill {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(8, 8, 8, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 28px;
  padding: 10px 24px;
}

.nav-pill a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.nav-pill a:hover,
.nav-pill a.active {
  color: var(--accent);
}

.button {
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  color: #020617;
  display: inline-flex;
  font-size: 14px;
  gap: 10px;
  padding: 10px 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #d4d4d4;
  transform: translateY(-1px);
}

.ghost-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  gap: 12px;
  padding: 11px 20px;
  transition: background 0.2s ease;
}

.ghost-button::after,
.button::after {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 118vh;
  overflow: hidden;
  padding-top: 28px;
  position: relative;
}

.hero-bg-text {
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(96px, 23vw, 360px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.78;
  pointer-events: none;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 16%;
  width: 100%;
  z-index: 0;
}

.hero-content {
  margin: 12vh auto 0;
  max-width: 90%;
  position: relative;
  text-align: center;
  z-index: 3;
}

.eyebrow-row {
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 300;
  justify-content: space-between;
  letter-spacing: 0.16em;
  margin-bottom: 40px;
  text-align: left;
  text-transform: uppercase;
}

.eyebrow-row > * {
  max-width: 260px;
}

.display-title {
  font-size: clamp(72px, 11vw, 180px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.84;
  margin: 0;
  text-transform: uppercase;
}

.outline-word {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
}

.hero-image {
  border-radius: 28px;
  bottom: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  height: 56vh;
  left: 50%;
  overflow: hidden;
  position: absolute;
  transform: translate(-50%, 22%);
  width: min(70%, 1100px);
  z-index: 4;
}

.hero-image::after,
.image-card::after {
  background: rgba(0, 0, 0, 0.22);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-image img,
.image-card img,
.wide-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.section {
  background: var(--bg);
  padding: 96px 6vw;
  position: relative;
}

.section.dark {
  background: var(--panel);
}

.section.after-hero {
  padding-top: 32vh;
}

.container {
  margin: 0 auto;
  max-width: 1280px;
}

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

.after-hero .split {
  gap: clamp(88px, 9vw, 140px);
}

.after-hero .section-title {
  font-size: clamp(52px, 6.1vw, 104px);
  max-width: 7.6em;
}

.section-title {
  font-size: clamp(56px, 7vw, 116px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.small-label {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  padding: 7px 12px;
  text-transform: uppercase;
}

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

.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}

.rail-text {
  border-left: 2px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  margin-top: 36px;
  max-width: 560px;
  padding-left: 24px;
}

.image-card {
  border-radius: 28px;
  height: 620px;
  overflow: hidden;
  position: relative;
}

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

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
  padding: 28px;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  background: #141414;
  transform: translateY(-8px);
}

.number {
  color: rgba(255, 255, 255, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 48px;
  font-weight: 200;
}

.service-card h3 {
  color: var(--accent);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: auto 0 22px;
  text-transform: uppercase;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 16px;
}

.big-word {
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(80px, 17vw, 250px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.75;
  margin: 0 0 40px;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
}

.feature-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.feature-item {
  border-right: 1px solid var(--line);
  min-height: 220px;
  padding: 28px;
}

.feature-item:last-child {
  border-right: 0;
}

.feature-item h3 {
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin: 36px 0 0;
  text-transform: uppercase;
}

.about-services-head {
  align-items: end;
  display: grid;
  gap: clamp(36px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.about-services-copy .section-title {
  font-size: clamp(54px, 7.4vw, 126px);
  max-width: 7.8em;
}

.about-services-panel {
  background:
    radial-gradient(circle at 85% 12%, rgba(249, 115, 22, 0.24), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 12px;
  padding: 18px;
}

.about-services-card {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 8, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  display: flex;
  gap: 18px;
  min-height: 62px;
  padding: 14px 18px;
}

.about-services-card span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.about-services-card strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-services-panel .ghost-button {
  align-self: start;
  margin-top: 8px;
  padding-inline: 18px;
  width: fit-content;
}

.what-redesign {
  align-items: end;
  display: grid;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.what-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.what-copy .section-title {
  font-size: clamp(52px, 6vw, 96px);
  max-width: 8.2em;
}

.what-copy .ghost-button {
  margin-top: 34px;
}

.what-visual {
  background: #111111;
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 560px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.what-visual img {
  border-radius: 22px;
  height: 100%;
  inset: 18px;
  object-fit: cover;
  opacity: 0.72;
  position: absolute;
  width: calc(100% - 36px);
}

.what-visual::after {
  background: linear-gradient(180deg, transparent 10%, rgba(8, 8, 8, 0.84) 100%);
  content: "";
  inset: 18px;
  position: absolute;
}

.what-list {
  bottom: 34px;
  display: grid;
  gap: 12px;
  left: 34px;
  position: absolute;
  right: 34px;
  z-index: 2;
}

.what-list div {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 8, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: flex;
  gap: 18px;
  padding: 14px 18px;
}

.what-list span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.what-list strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wide-image {
  border-radius: 28px;
  height: 56vh;
  margin-top: 56px;
  overflow: hidden;
  position: relative;
}

.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
  padding: 42px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  min-height: 58px;
  outline: none;
  padding: 16px 18px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #181818;
  border-color: rgba(249, 115, 22, 0.65);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: rgba(249, 115, 22, 0.9);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.field-error {
  color: #fb923c;
  display: none;
  font-size: 12px;
  line-height: 1.4;
}

.form-field.is-invalid .field-error {
  display: block;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 500;
  height: 56px;
  justify-content: center;
  justify-self: start;
  line-height: 1;
  margin-top: 8px;
  min-height: 0;
  min-width: 0;
  padding: 0 28px;
  width: min(100%, 180px);
}

.form-submit::after {
  display: none;
}

.success-popup {
  align-items: center;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.42);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  display: flex;
  gap: 14px;
  max-width: min(420px, calc(100vw - 32px));
  opacity: 0;
  padding: 16px 18px;
  pointer-events: none;
  position: fixed;
  right: 24px;
  top: 24px;
  transform: translateY(-14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.success-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.success-popup::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.success-popup p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.success-popup button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font: inherit;
  margin-left: auto;
  padding: 4px;
}

.legal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  padding: 42px;
}

.legal h2,
.legal h3 {
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 34px 0 14px;
  text-transform: uppercase;
}

.legal h2:first-child,
.legal h3:first-child {
  margin-top: 0;
}

.legal ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.footer {
  background: var(--panel);
  overflow: hidden;
  padding: 96px 6vw 32px;
  position: relative;
  z-index: 2;
}

.footer-title {
  font-size: clamp(64px, 10vw, 160px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.82;
  margin: 0 0 56px;
  text-align: center;
  text-transform: uppercase;
}

.footer-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 48px;
  grid-template-columns: 1.2fr repeat(2, minmax(180px, 0.5fr));
  padding-top: 48px;
}

.footer h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 300;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.copyright {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 28px;
}

@media (max-width: 900px) {
  .nav {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-pill {
    flex-wrap: wrap;
    justify-content: center;
  }

  .button {
    justify-content: center;
  }

  .eyebrow-row {
    display: none;
  }

  .hero-image {
    height: 42vh;
    width: 90%;
  }

  .split,
  .cards,
  .feature-list,
  .about-services-head,
  .what-redesign,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .what-visual {
    min-height: 440px;
  }

  .image-card {
    height: 420px;
  }

  .feature-item {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .section {
    padding: 72px 24px;
  }
}
