:root {
  --bg: #0b0813;
  --bg-soft: #151022;
  --panel: rgba(24, 18, 38, 0.72);
  --panel-strong: rgba(30, 22, 47, 0.9);
  --text: #f8f4ff;
  --muted: #c8c0df;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #9f6dff;
  --accent-2: #39e3c4;
  --accent-3: #ff8f66;
  --accent-4: #72a7ff;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.22);
  --radius: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --max: 1180px;
  --bg-layer-1: radial-gradient(circle at 12% 2%, rgba(159, 109, 255, 0.18), transparent 25%);
  --bg-layer-2: radial-gradient(circle at 88% 12%, rgba(57, 227, 196, 0.14), transparent 20%);
  --bg-layer-3: radial-gradient(circle at 80% 88%, rgba(255, 143, 102, 0.12), transparent 24%);
  --bg-layer-4: linear-gradient(180deg, #0b0813 0%, #100b1b 45%, #0a0812 100%);
  --glow-one: rgba(159, 109, 255, 0.22);
  --glow-two: rgba(57, 227, 196, 0.16);
}

:root[data-theme="violet-sunset"] {
  --accent: #9f6dff;
  --accent-2: #39e3c4;
  --accent-3: #ff8f66;
  --accent-4: #72a7ff;
  --bg-layer-1: radial-gradient(circle at 12% 2%, rgba(159, 109, 255, 0.18), transparent 25%);
  --bg-layer-2: radial-gradient(circle at 88% 12%, rgba(57, 227, 196, 0.14), transparent 20%);
  --bg-layer-3: radial-gradient(circle at 80% 88%, rgba(255, 143, 102, 0.12), transparent 24%);
  --bg-layer-4: linear-gradient(180deg, #0b0813 0%, #100b1b 45%, #0a0812 100%);
  --glow-one: rgba(159, 109, 255, 0.22);
  --glow-two: rgba(57, 227, 196, 0.16);
}

:root[data-theme="ocean-glow"] {
  --accent: #5f8cff;
  --accent-2: #4df5d2;
  --accent-3: #5de1ff;
  --accent-4: #8da5ff;
  --bg-layer-1: radial-gradient(circle at 14% 4%, rgba(93, 140, 255, 0.18), transparent 24%);
  --bg-layer-2: radial-gradient(circle at 85% 10%, rgba(77, 245, 210, 0.16), transparent 22%);
  --bg-layer-3: radial-gradient(circle at 82% 84%, rgba(93, 225, 255, 0.12), transparent 24%);
  --bg-layer-4: linear-gradient(180deg, #07111d 0%, #0a1626 44%, #08111d 100%);
  --glow-one: rgba(93, 140, 255, 0.22);
  --glow-two: rgba(77, 245, 210, 0.18);
}

:root[data-theme="berry-neon"] {
  --accent: #ff5fc7;
  --accent-2: #9f7bff;
  --accent-3: #ff7f9c;
  --accent-4: #7ec8ff;
  --bg-layer-1: radial-gradient(circle at 10% 0%, rgba(255, 95, 199, 0.18), transparent 25%);
  --bg-layer-2: radial-gradient(circle at 90% 14%, rgba(159, 123, 255, 0.15), transparent 21%);
  --bg-layer-3: radial-gradient(circle at 80% 86%, rgba(255, 127, 156, 0.12), transparent 24%);
  --bg-layer-4: linear-gradient(180deg, #140714 0%, #18091a 42%, #0e0812 100%);
  --glow-one: rgba(255, 95, 199, 0.22);
  --glow-two: rgba(159, 123, 255, 0.18);
}

:root[data-theme="lime-fusion"] {
  --accent: #7cf16d;
  --accent-2: #3fd3ff;
  --accent-3: #f4ff6a;
  --accent-4: #82ffb8;
  --bg-layer-1: radial-gradient(circle at 12% 2%, rgba(124, 241, 109, 0.16), transparent 25%);
  --bg-layer-2: radial-gradient(circle at 88% 12%, rgba(63, 211, 255, 0.14), transparent 20%);
  --bg-layer-3: radial-gradient(circle at 80% 88%, rgba(244, 255, 106, 0.12), transparent 24%);
  --bg-layer-4: linear-gradient(180deg, #08110d 0%, #0c1616 45%, #090f10 100%);
  --glow-one: rgba(124, 241, 109, 0.18);
  --glow-two: rgba(63, 211, 255, 0.16);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    var(--bg-layer-1),
    var(--bg-layer-2),
    var(--bg-layer-3),
    var(--bg-layer-4);
  overflow-x: hidden;
}

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

.page-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}
.glow-one { top: -10rem; left: -8rem; background: var(--glow-one); }
.glow-two { right: -10rem; top: 22rem; background: var(--glow-two); }


.theme-switcher {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0.9rem auto 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}
.theme-switcher-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.theme-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.theme-btn:hover,
.theme-btn:focus-visible {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255,255,255,0.4);
}
.theme-btn.active {
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}
.theme-btn[data-theme="violet-sunset"] { background: linear-gradient(135deg, #9f6dff, #39e3c4 55%, #ff8f66); }
.theme-btn[data-theme="ocean-glow"] { background: linear-gradient(135deg, #5f8cff, #4df5d2 55%, #5de1ff); }
.theme-btn[data-theme="berry-neon"] { background: linear-gradient(135deg, #ff5fc7, #9f7bff 55%, #ff7f9c); }
.theme-btn[data-theme="lime-fusion"] { background: linear-gradient(135deg, #7cf16d, #3fd3ff 55%, #f4ff6a); }

nav, header, .section, .trust-strip, footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

nav {
  position: sticky;
  top: 1rem;
  z-index: 50;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 11, 25, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(159, 109, 255, 0.65);
}
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-link { color: var(--muted); font-weight: 600; transition: color 0.2s ease; }
.nav-link:hover, .nav-link:focus-visible { color: var(--text); }

.nav-cta,
.btn-primary,
.btn-secondary {
  min-height: 54px;
  padding: 0 1.4rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta {
  background: linear-gradient(135deg, rgba(159, 109, 255, 0.18), rgba(57, 227, 196, 0.14));
  border: 1px solid var(--line-strong);
}
.nav-cta:hover, .btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }

header {
  padding: 5.6rem 0 2.8rem;
  min-height: calc(100vh - 8rem);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-label,
.project-type,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--accent-2);
}
h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
h1, h2 { font-family: "Space Grotesk", sans-serif; }
h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 9.8ch;
}

.hero-text,
.section-heading p,
.about-copy p,
.highlight-card p,
.project-content p,
.project-content li,
.service-card p,
.service-card small,
.process-card p,
.contact-panel p,
.preview-main-card p,
.floating-card span,
.trust-item span,
.metric-card span,
.contact-list span,
footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  margin: 1.3rem 0 0;
  font-size: 1.08rem;
}
.hero-actions, .contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.btn-primary, .btn-secondary { border: 1px solid transparent; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 18px 38px rgba(159, 109, 255, 0.24);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.hero-points {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-points span,
.project-tags span,
.copy-badge,
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  color: var(--text);
}
.hero-points i, .contact-list i {
  color: var(--accent-2);
  font-size: 0.84rem;
}

.hero-preview { display: flex; justify-content: center; }
.preview-shell {
  position: relative;
  width: min(100%, 500px);
  min-height: 580px;
  padding: 1rem;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(33, 25, 52, 0.94), rgba(17, 13, 28, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(159, 109, 255, 0.22), transparent 28%),
    radial-gradient(circle at bottom left, rgba(57, 227, 196, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255, 143, 102, 0.12), transparent 20%);
  pointer-events: none;
}
.browser-bar { display: flex; gap: 0.45rem; padding: 0.5rem 0.6rem 1rem; }
.browser-bar span {
  width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.26);
}

.preview-main-card,
.floating-card,
.about-copy,
.highlight-card,
.project-card,
.service-card,
.process-card,
.contact-panel,
.trust-item,
.metric-card,
.contact-card-mini {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.preview-main-card {
  margin: 0.35rem;
  padding: 1.85rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(31, 23, 49, 0.92), rgba(22, 17, 35, 0.92));
}
.preview-main-card h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 10ch;
}
.preview-main-card p { max-width: 33ch; margin-top: 1rem; }

.preview-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}
.preview-shot {
  margin: 0;
  overflow: hidden;
  min-height: 145px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.preview-shot img, .project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.preview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}
.preview-stats div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.preview-stats strong, .trust-item strong, .metric-card strong, .contact-card-mini strong {
  display: block;
  font-size: 1.2rem;
}
.preview-stats span, .trust-item span, .metric-card span { font-size: 0.92rem; }

.floating-card {
  position: absolute;
  max-width: 245px;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  backdrop-filter: blur(14px);
}
.card-one { right: 1rem; bottom: 7.2rem; }
.card-two { left: 1rem; bottom: 1rem; }
.floating-card p {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-2);
}
.floating-card strong { display: block; margin-bottom: 0.35rem; }

.trust-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.trust-item { padding: 1.1rem 1.2rem; border-radius: 20px; }

.section { padding: 5.5rem 0; position: relative; }
.section-panel {
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(20, 15, 32, 0.74), rgba(13, 10, 22, 0.58));
  box-shadow: var(--shadow-soft);
}
.section-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(159,109,255,0.10), transparent 24%),
    radial-gradient(circle at bottom left, rgba(57,227,196,0.08), transparent 20%);
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 2rem;
}
.section-heading-split {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: end;
}
.section-heading h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 1.2rem;
}
.about-copy {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(32, 24, 50, 0.92), rgba(20, 15, 32, 0.88));
}
.about-copy p:first-of-type, .project-content p:first-of-type, .contact-panel p:first-of-type { margin-top: 0; }
.about-copy p:last-of-type, .contact-panel p:last-of-type { margin-bottom: 0; }
.copy-badge { margin-bottom: 1rem; width: fit-content; }
.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.metric-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
}

.about-highlights,
.services-grid,
.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}
.about-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.highlight-card,
.service-card,
.process-card {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}
.highlight-card i,
.service-card i {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(159, 109, 255, 0.2), rgba(57, 227, 196, 0.16));
}
.highlight-card h3,
.service-card h3,
.process-card h3,
.project-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover,
.service-card:hover,
.highlight-card:hover,
.process-card:hover,
.metric-card:hover,
.contact-card-mini:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}
.featured-card {
  transform: translateY(-0.8rem);
  background: linear-gradient(180deg, rgba(28, 21, 43, 0.94), rgba(16, 12, 26, 0.94));
}

.project-image {
  position: relative;
  min-height: 270px;
  padding: 1.1rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 13, 0.08) 0%, rgba(8, 7, 13, 0.62) 100%);
}
.project-image img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.project-image > span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: calc(100% - 2.2rem);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-card:nth-child(1) .project-image::before,
.project-card:nth-child(2) .project-image::before,
.project-card:nth-child(3) .project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 15%, rgba(9,7,14,0.3) 100%);
  z-index: 0;
}
.project-gsgw { background: linear-gradient(180deg, #222031, #14111e); }
.project-pet-taxi { background: linear-gradient(180deg, #281b3f, #15101f); }
.project-jb {
  background:
    linear-gradient(135deg, rgba(57, 227, 196, 0.18), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(114, 167, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #181d2d, #10131d);
}
.project-image-placeholder { align-items: center; }

.placeholder-ui {
  width: 100%;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}
.placeholder-top {
  width: 100%;
  height: 110px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(159, 109, 255, 0.35), rgba(57, 227, 196, 0.18));
}
.placeholder-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 1rem;
}
.line-lg { width: 72%; }
.line-sm { width: 48%; }
.placeholder-tags {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.placeholder-tags span {
  width: 68px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-content { padding: 1.55rem; min-width: 0; }
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.7rem;
}
.project-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.project-content h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.project-content ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.project-content li + li { margin-top: 0.45rem; }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
  min-width: 0;
}
.project-tags span {
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}
.project-btn {
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.project-btn:hover { transform: translateY(-2px); }
.project-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(159, 109, 255, 0.95), rgba(255, 143, 102, 0.92));
  box-shadow: 0 14px 30px rgba(159, 109, 255, 0.2);
}
.project-btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.project-type { color: var(--accent-2); }

.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card {
  background:
    linear-gradient(180deg, rgba(28, 21, 43, 0.88), rgba(17, 13, 28, 0.82));
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.service-pill {
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
}
.service-card small {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  left: 3rem;
  right: 3rem;
  top: 2.35rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(159,109,255,0.0), rgba(159,109,255,0.45), rgba(57,227,196,0.42), rgba(255,143,102,0.0));
  z-index: 0;
}
.process-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28, 21, 43, 0.82), rgba(17, 13, 28, 0.8));
}
.process-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(159, 109, 255, 0.2), rgba(255, 143, 102, 0.16));
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(11, 8, 19, 0.78);
}

#contact { padding-bottom: 6rem; }
.contact-panel {
  padding: 2rem;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
  background:
    radial-gradient(circle at top right, rgba(159, 109, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(30, 22, 47, 0.9), rgba(18, 14, 29, 0.92));
}
.contact-copy { display: flex; flex-direction: column; justify-content: center; }
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.contact-side {
  display: grid;
  gap: 1rem;
  align-content: center;
}
.contact-card-mini {
  padding: 1.2rem 1.25rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
}
.contact-card-mini .mini-label {
  display: inline-block;
  margin-bottom: 0.6rem;
}

footer { padding: 0 0 2.5rem; text-align: center; }

@media (max-width: 1100px) {
  header,
  .about-grid,
  .section-heading-split,
  .contact-panel,
  .trust-strip,
  .project-grid,
  .services-grid,
  .process-grid,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .process-grid::before { display: none; }
  .featured-card { transform: none; }
  .contact-panel { align-items: start; }
}

@media (max-width: 800px) {
  nav {
    position: static;
    flex-direction: column;
    padding: 1rem;
  }

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

  .theme-switcher {
    justify-content: center;
  }

  header,
  .section,
  .trust-strip,
  .theme-switcher,
  footer {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .section-panel { padding: 1.35rem; }

  header {
    min-height: auto;
    padding-top: 4.2rem;
  }

  .preview-shell { min-height: 520px; }
  .card-one { right: 0.85rem; bottom: 7rem; }
  .card-two { left: 0.85rem; }
}

@media (max-width: 640px) {
  body { line-height: 1.58; }

  h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .section-heading h2,
  .preview-main-card h2 { font-size: clamp(1.9rem, 9vw, 3rem); }

  .hero-actions,
  .contact-actions { flex-direction: column; }

  .btn-primary,
  .btn-secondary,
  .nav-cta,
  .project-btn { width: 100%; }

  .preview-shell {
    min-height: 540px;
    padding: 0.85rem;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin: 0.8rem 0 0;
  }

  .preview-main-card { margin: 0; }

  .preview-shot-grid,
  .about-metrics {
    grid-template-columns: 1fr;
  }
  .preview-stats { grid-template-columns: 1fr; }

  .hero-points,
  .project-tags,
  .contact-list { gap: 0.6rem; }

  .project-image > span,
  .project-tags span,
  .project-year {
    white-space: normal;
  }

  .project-actions { flex-direction: column; }

  .project-content,
  .about-copy,
  .contact-panel,
  .service-card,
  .highlight-card,
  .process-card {
    padding: 1.35rem;
  }

  .section { padding: 4.4rem 0; }
}


/* v9 polish refinements */

.theme-switcher {
  position: sticky;
  top: 6.25rem;
  z-index: 45;
  width: fit-content;
  margin: 1rem auto 0;
  padding: 0.75rem 0.95rem;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 11, 25, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}
.theme-switcher-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

header {
  padding-top: 6.3rem;
  gap: 2.5rem;
}

.hero-content {
  max-width: 640px;
}

.hero-text {
  max-width: 36ch;
  margin-top: 1.45rem;
  font-size: 1.15rem;
  line-height: 1.82;
  color: rgba(248, 244, 255, 0.88);
}

.hero-actions {
  margin-top: 2.2rem;
}

.preview-main-card p {
  color: rgba(248, 244, 255, 0.78);
}

.trust-strip {
  margin-top: 1.6rem;
}

#portfolio {
  padding-top: 6.7rem;
}

.section-heading p {
  font-size: 1.03rem;
}

.project-grid {
  margin-top: 2.4rem;
}

.project-card {
  overflow: hidden;
}

.project-content p {
  max-width: 34ch;
}

.project-content ul {
  margin: 1rem 0 1.1rem;
}

.project-content li + li {
  margin-top: 0.45rem;
}

.contact-panel {
  padding: 2.2rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(31, 23, 49, 0.92), rgba(18, 14, 30, 0.92));
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-copy > p:not(.section-label) {
  max-width: 47ch;
  font-size: 1.05rem;
  color: rgba(248, 244, 255, 0.82);
}

.contact-card-mini {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
}

.btn-primary {
  box-shadow: 0 20px 42px color-mix(in srgb, var(--accent) 26%, transparent);
}

@media (max-width: 900px) {
  .theme-switcher {
    position: static;
    width: min(calc(100% - 2rem), var(--max));
    justify-content: flex-end;
    margin-top: 0.8rem;
    border-radius: 22px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1.06rem;
  }

  #portfolio {
    padding-top: 5.8rem;
  }
}

@media (max-width: 640px) {
  .theme-switcher {
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
  }

  .theme-switcher-label {
    font-size: 0.72rem;
  }

  .contact-panel {
    padding: 1.4rem;
  }
}
