:root {
  --bg: #050816;
  --bg-elevated: #0b1120;
  --bg-soft: #020617;
  --accent: #6366f1;
  --accent-soft: #a855f7;
  --accent-muted: rgba(99, 102, 241, 0.16);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.75);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.55);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.18), transparent 55%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

.layout {
  min-height: 100vh;
  padding: 2.5rem clamp(1.5rem, 4vw, 3.75rem);
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .layout {
    padding-inline: 1.25rem;
    padding-block: 1.75rem 2rem;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: 3.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: conic-gradient(from 160deg, #6366f1, #ec4899, #facc15, #6366f1);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.5), transparent 60%), #020617;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-primary {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.logo-secondary {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav a span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width 180ms ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav a[data-current="true"] {
  color: #e5e7eb;
}

.nav a[data-current="true"]::after {
  width: 100%;
}

.nav-pill {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 60%), rgba(15, 23, 42, 0.96);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.85);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-pill span {
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

.main-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: clamp(2.25rem, 4vw, 3.25rem);
  align-items: center;
}

@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }
}

.hero {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.8rem 0.25rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 1.4rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #f9fafb, transparent 70%), #22c55e;
}

.eyebrow span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-title {
  font-size: clamp(2.4rem, 4.1vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero-title span {
  background: linear-gradient(120deg, #e5e7eb, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-body {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-body + .hero-body {
  margin-top: 0.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin-top: 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-meta strong {
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: background 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out, box-shadow 160ms ease-out;
}

.btn-primary {
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.16), transparent 55%), linear-gradient(120deg, #6366f1, #a855f7);
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.85);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.95);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.95);
}

.btn-icon {
  font-size: 1.1rem;
}

.client-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.1), transparent 55%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.88));
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem 1.4rem;
  max-width: 420px;
  margin-left: auto;
}

.client-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(129, 140, 248, 0.4);
  opacity: 0.45;
  pointer-events: none;
}

.client-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.client-title {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.client-subtitle {
  font-size: 0.86rem;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.client-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.client-meta strong {
  color: #e5e7eb;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.field-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.86rem;
}

.input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.input:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.7);
  outline-offset: 2px;
}

.client-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.client-help {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.client-help button {
  border: none;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.error {
  display: none;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--danger);
}

.error[aria-hidden="false"] {
  display: block;
}

.pdf-link {
  display: none;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.pdf-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.pdf-link span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.pdf-link.visible {
  display: block;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-meta span {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Inner pages */

.page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 880px;
}

.page-header {
  max-width: 620px;
}

.page-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.page-lead {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-title {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.columns-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .columns-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.copy {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.copy strong {
  color: #e5e7eb;
}

.meta-list {
  display: grid;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.meta-value {
  color: #e5e7eb;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.74rem;
  color: var(--text-soft);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.work-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  padding: 1.1rem 1rem 1.05rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.8);
}

.work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.work-card-title {
  font-size: 0.98rem;
}

.work-card-meta {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.work-card-body {
  font-size: 0.86rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.74rem;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-list {
  display: grid;
  gap: 1rem;
  font-size: 0.9rem;
}

.contact-item-label {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.1rem;
}

.contact-item-value {
  color: #e5e7eb;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.field-long .input,
.field-long textarea {
  border-radius: 999px;
}

textarea.input {
  min-height: 130px;
  border-radius: 16px;
  resize: vertical;
}

.small {
  font-size: 0.78rem;
  color: var(--text-soft);
}
