/* ==========================================================================
   DMRush. — Multidisciplinary Design Studio
   Editorial Warm Alabaster · Carbon Obsidian · Electric Magenta (#FF1F79)
   ========================================================================== */

:root {
  --bg: #f6f5f0;
  --surface: #ffffff;
  --surface-alt: #eceae2;
  --ink: #111111;
  --ink-muted: #57554e;
  --ink-subtle: #7c7970;

  --dark: #0e0e0e;
  --dark-card: #171717;
  --dark-border: rgba(246, 245, 240, 0.12);
  --light-border: rgba(17, 17, 17, 0.1);

  --accent: #ff1f79;
  --accent-hover: #e01466;
  --status: #16a34a;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 104px 0;
}

/* Typography Helpers */
.mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.mono-tag--light {
  color: rgba(246, 245, 240, 0.65);
}

.mono-tag--dim {
  color: rgba(246, 245, 240, 0.5);
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.section-head {
  margin-bottom: 56px;
}

.section-head--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: end;
}

.section-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 14px;
  color: var(--ink);
}

.section-title--light {
  color: var(--bg);
}

.section-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 480px;
}

.section-desc--light {
  color: rgba(246, 245, 240, 0.72);
}

.dark-surface {
  background-color: var(--dark);
  color: var(--bg);
  border-radius: var(--radius-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.icon-arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon-arrow,
.service-link:hover .icon-arrow {
  transform: translate(3px, -3px);
}

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

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

.btn-dark {
  background-color: var(--ink);
  color: var(--bg);
}

.btn-dark:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.2);
}

.btn-outline:hover {
  background-color: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--bg);
  border: 1px solid rgba(246, 245, 240, 0.25);
}

.btn-outline-light:hover {
  background-color: var(--bg);
  color: var(--ink);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease) var(--delay, 0s),
    transform 0.7s var(--ease) var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(246, 245, 240, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--light-border);
  background-color: rgba(246, 245, 240, 0.94);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand-accent,
.brand-dot {
  color: var(--accent);
}

.brand-black {
  color: var(--ink);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-subtle);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  border: 1px solid var(--light-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.availability-pill:hover {
  border-color: rgba(17, 17, 17, 0.28);
  color: var(--ink);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  flex-shrink: 0;
}

.nav-mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--light-border);
  background-color: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background-color: var(--ink);
  transition: transform 0.25s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(3.4px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  transform: translateY(-3.4px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 136px 0 64px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow-sep {
  color: var(--ink-subtle);
}

.hero-title {
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-title .serif-accent {
  font-size: 1.08em;
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--ink-muted);
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* Creative Editorial Portrait Stage */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.portrait-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Offset Electric Magenta Graphic Slab */
.portrait-accent-block {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 68%;
  height: 54%;
  border-radius: 26px;
  background-color: var(--accent);
  z-index: 0;
}

/* Dark Architectural Pedestal Card (head breaks cleanly above top edge) */
.portrait-backdrop {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 82%;
  border-radius: var(--radius-lg);
  background-color: var(--dark);
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.16);
}

.portrait-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246, 245, 240, 0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.65;
}

.portrait-glow {
  position: absolute;
  top: -12%;
  right: -14%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 31, 121, 0.45) 0%, rgba(255, 31, 121, 0) 70%);
  pointer-events: none;
}

.portrait-crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: rgba(246, 245, 240, 0.45);
  line-height: 1;
  user-select: none;
}

.portrait-crosshair--tl {
  top: 20px;
  left: 22px;
}

.portrait-crosshair--br {
  bottom: 20px;
  right: 22px;
  color: var(--accent);
}

.portrait-vertical-tag {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(246, 245, 240, 0.42);
  user-select: none;
}

/* Cutout Portrait Pop-out */
.hero-portrait-cutout {
  position: relative;
  z-index: 2;
  height: 99%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
  user-select: none;
}

/* Subtle bottom blend so hoodie melts cleanly into dark pedestal */
.portrait-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 92px;
  z-index: 3;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  background: linear-gradient(to top, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0) 100%);
  pointer-events: none;
}

/* Floating Studio Badge */
.portrait-badge {
  position: absolute;
  bottom: 18px;
  left: -18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  color: var(--ink);
  border: 1px solid var(--light-border);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.18);
  font-size: 13px;
  font-weight: 600;
}

.portrait-badge-text strong {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--light-border);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.proof-label {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ==========================================================================
   SELECTED WORK
   ========================================================================== */
.work-section {
  padding-top: 32px;
}

.work-panel {
  padding: 72px 56px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
}

.work-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.work-card:hover .work-media img,
.work-card:focus-visible .work-media img {
  transform: scale(1.045);
}

.work-metric {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background-color: rgba(14, 14, 14, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
}

.work-open-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background-color: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.work-card:hover .work-open-badge,
.work-card:focus-visible .work-open-badge {
  opacity: 1;
  transform: translateY(0);
}

.work-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bg);
  transition: color 0.2s ease;
}

.work-card:hover .work-title {
  color: var(--accent);
}

.work-summary {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 245, 240, 0.68);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 17, 17, 0.24);
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.06);
}

.service-card--featured {
  background-color: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.service-card--featured:hover {
  border-color: var(--accent);
}

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

.service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.service-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--bg);
}

.service-card--featured .service-kicker {
  background-color: rgba(255, 31, 121, 0.18);
  color: #ff7ab0;
}

.service-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.service-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.service-card--featured .service-desc {
  color: rgba(246, 245, 240, 0.74);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag-list li {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--bg);
  color: var(--ink-muted);
  border: 1px solid var(--light-border);
}

.service-card--featured .tag-list li {
  background-color: rgba(246, 245, 240, 0.07);
  color: rgba(246, 245, 240, 0.85);
  border-color: rgba(246, 245, 240, 0.12);
}

.service-link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--light-border);
  width: 100%;
  justify-content: space-between;
  transition: color 0.2s ease;
}

.service-card--featured .service-link {
  color: var(--bg);
  border-top-color: var(--dark-border);
}

.service-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-section {
  padding-top: 24px;
}

.process-wrap {
  background-color: var(--surface-alt);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  background-color: var(--surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
}

.process-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.testimonial-quote {
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-role {
  display: block;
  font-size: 13px;
  color: var(--ink-subtle);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  padding-top: 24px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.faq-intro .section-desc {
  margin-top: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--light-border);
}

.faq-item {
  border-bottom: 1px solid var(--light-border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--accent);
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
  transition: transform 0.28s var(--ease), opacity 0.28s ease;
}

.faq-plus::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item.is-open .faq-plus::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel p {
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  padding-bottom: 0;
  transition: padding-bottom 0.32s var(--ease);
}

.faq-item.is-open .faq-panel p {
  padding-bottom: 24px;
}

/* ==========================================================================
   CONTACT / BRIEF PANEL
   ========================================================================== */
.contact-section {
  padding-top: 32px;
  padding-bottom: 64px;
}

.contact-panel {
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-value-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-big-link {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bg);
  transition: color 0.2s ease;
}

.contact-big-link:hover {
  color: var(--accent);
}

.copy-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(246, 245, 240, 0.78);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  background-color: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.contact-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(246, 245, 240, 0.65);
  margin-top: 6px;
}

/* Form */
.brief-form {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(246, 245, 240, 0.82);
}

.pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.select-pill {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border);
  font-size: 13px;
  font-weight: 600;
  color: rgba(246, 245, 240, 0.72);
  background-color: transparent;
  transition: all 0.2s ease;
}

.select-pill:hover {
  border-color: rgba(246, 245, 240, 0.4);
  color: var(--bg);
}

.select-pill.is-selected {
  background-color: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.form-input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background-color: rgba(246, 245, 240, 0.05);
  border: 1px solid var(--dark-border);
  color: var(--bg);
  font-size: 15px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder {
  color: rgba(246, 245, 240, 0.35);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(246, 245, 240, 0.08);
}

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

.form-success {
  text-align: center;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

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

.form-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(22, 163, 74, 0.16);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.form-success h3 {
  font-size: 22px;
  color: var(--bg);
}

.form-success p {
  font-size: 14.5px;
  color: rgba(246, 245, 240, 0.72);
  max-width: 380px;
}

.form-success a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 36px 0 48px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--light-border);
  flex-wrap: wrap;
}

.footer-wordmark {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13.5px;
  color: var(--ink-subtle);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: var(--ink);
}

/* ==========================================================================
   CASE STUDY MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.24s var(--ease);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  animation: slideUp 0.32s var(--ease);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(14, 14, 14, 0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--accent);
}

.modal-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--dark);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: 34px 36px 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.modal-overview {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.modal-subhead {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  margin-bottom: 8px;
}

.modal-columns p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.modal-footer {
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

/* Floating WhatsApp DM Button (Lower Right) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--ink);
  color: var(--bg);
  border: 1px solid rgba(246, 245, 240, 0.14);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.24);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background-color: #191919;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.32);
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 300;
  background-color: var(--ink);
  color: var(--bg);
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .availability-pill {
    display: none;
  }

  .hero-grid,
  .section-head--split,
  .contact-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
    padding-top: 12px;
  }

  .portrait-stage {
    max-width: 390px;
    height: 460px;
  }

  .portrait-accent-block {
    right: -10px;
    bottom: -10px;
  }

  .portrait-badge {
    left: 14px;
    bottom: 14px;
  }

  .work-panel,
  .process-wrap,
  .contact-panel {
    padding: 52px 36px;
  }

  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 126px 0 48px;
  }

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

  .work-grid,
  .services-grid,
  .form-row,
  .modal-columns {
    grid-template-columns: 1fr;
  }

  .work-panel,
  .process-wrap,
  .contact-panel {
    padding: 40px 22px;
    border-radius: var(--radius-md);
  }

  .brief-form {
    padding: 26px 20px;
  }

  .modal-content {
    padding: 24px 20px 28px;
  }

  /* Mobile Nav Drawer */
  .nav-desktop-cta,
  .brand-tag {
    display: none;
  }

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

  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background-color: var(--bg);
    border-bottom: 1px solid var(--light-border);
    padding: 24px 20px 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 18px;
  }

  .nav-mobile-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 6px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 7px 14px 7px 7px;
    font-size: 13px;
  }

  .whatsapp-icon {
    width: 32px;
    height: 32px;
  }
}