:root {
  --wallpaper: #e3f4f1;
  --wallpaper-2: #cde9e4;
  --panel: #fffdfa;
  --panel-2: #fbf1e6;
  --edge: #1e2a33;
  --ink: #1e2a33;
  --ink-soft: #5e7079;
  --pink: #ff4fa3;
  --pink-deep: #e0247f;
  --blue: #1b9cd8;
  --cyan: #13c9b4;
  --lemon: #ffd23d;
  --palm: #23a06b;
  --coral: #ff7e5f;
  --ocean: #5bd0e6;
  --sand: #f6e2c0;
  --titlebar: linear-gradient(90deg, #1b9cd8 0%, #ff4fa3 60%, #ffb347 100%);
  --dot: rgba(205, 233, 228, 0.62);
  --shadow: 5px 5px 0 rgba(30, 42, 51, 0.88);
  --soft-shadow: 0 18px 48px rgba(30, 42, 51, 0.11);
  --radius: 14px;
}

[data-theme="dark"] {
  --wallpaper: #0b1226;
  --wallpaper-2: #141d3c;
  --panel: #13203a;
  --panel-2: #1b2a48;
  --edge: #060a14;
  --ink: #eaf6ff;
  --ink-soft: #9fb6c9;
  --pink: #ff5cb0;
  --pink-deep: #ff8ac9;
  --blue: #49c8ff;
  --cyan: #2bf0d8;
  --lemon: #ffe36b;
  --palm: #2be08c;
  --coral: #ff8a6b;
  --ocean: #176c9e;
  --sand: #2a2440;
  --titlebar: linear-gradient(90deg, #0e4fa8 0%, #7b2bd6 55%, #ff5cb0 100%);
  --dot: rgba(73, 200, 255, 0.14);
  --shadow: 5px 5px 0 #000;
  --soft-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(var(--dot) 1.2px, transparent 1.2px) 0 0 / 22px 22px,
    var(--wallpaper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
  margin: 0;
  padding: 34px 18px 110px;
  transition: background-color 250ms ease, color 250ms ease;
}

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

.site-header {
  align-items: center;
  background: var(--panel);
  border-top: 2.5px solid var(--edge);
  bottom: 0;
  box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  left: 0;
  min-height: 62px;
  padding: 8px clamp(12px, 4vw, 28px);
  position: fixed;
  right: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  background: var(--titlebar);
  border: 2px solid var(--edge);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.brand::before {
  content: "";
  background:
    linear-gradient(var(--lemon) 0 0) 6px 2px / 4px 2px no-repeat,
    linear-gradient(var(--coral) 0 0) 4px 6px / 8px 2px no-repeat,
    linear-gradient(var(--pink) 0 0) 2px 10px / 12px 2px no-repeat;
  display: inline-block;
  height: 16px;
  width: 16px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a,
.theme-toggle {
  background: var(--panel-2);
  border: 1.5px solid var(--edge);
  border-radius: 7px;
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  min-height: 34px;
  padding: 6px 10px;
}

.nav .nav-cta,
.theme-toggle {
  background: var(--pink);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.theme-toggle {
  background: var(--lemon);
  color: var(--edge);
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

[data-theme="dark"] .theme-toggle {
  background: var(--cyan);
}

.hero,
.section,
.page-hero,
.case-study,
.contact-layout,
.final-cta {
  background: var(--panel);
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow), var(--shadow);
  margin: 0 auto 34px;
  max-width: 1120px;
  overflow: hidden;
  position: relative;
}

.hero::before,
.page-hero::before,
.final-cta::before {
  align-items: center;
  background: var(--titlebar);
  border-bottom: 2px solid var(--edge);
  color: #fff;
  content: "stephanie_gonzalez.exe";
  display: flex;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  height: 34px;
  letter-spacing: 0;
  padding-left: 76px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.hero::after,
.page-hero::after,
.final-cta::after {
  background:
    radial-gradient(circle, #ff6b6b 0 48%, transparent 52%) 0 0 / 14px 14px no-repeat,
    radial-gradient(circle, #ffd23d 0 48%, transparent 52%) 21px 0 / 14px 14px no-repeat,
    radial-gradient(circle, #37d67a 0 48%, transparent 52%) 42px 0 / 14px 14px no-repeat;
  content: "";
  height: 14px;
  left: 14px;
  position: absolute;
  top: 10px;
  width: 58px;
  z-index: 4;
}

.section::before,
.section::after,
.case-study::before,
.case-study::after,
.contact-layout::before,
.contact-layout::after {
  content: none;
}

.hero {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  min-height: auto;
}

.hero-copy,
.section > *,
.page-hero > *,
.final-cta > *,
.contact-layout > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  padding: clamp(34px, 6vw, 74px);
  padding-top: clamp(54px, 7vw, 88px);
}

.eyebrow {
  color: var(--pink-deep);
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  letter-spacing: 1px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-family: "Pixelify Sans", sans-serif;
  font-size: clamp(3rem, 7.2vw, 6.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
  max-width: 960px;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 14px;
}

h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

p {
  max-width: 68ch;
}

.hero-text,
.page-hero p,
.section-copy,
.proof-copy p,
.final-cta p,
.case-copy p,
.case-copy li,
.package-card p,
.package-card li,
.contact-note,
.about-panel {
  color: var(--ink-soft);
}

.hero-text,
.page-hero p,
.section-copy,
.final-cta p {
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 2px solid var(--edge);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--edge);
  display: inline-flex;
  font-family: "DM Mono", monospace;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  box-shadow: 1px 1px 0 var(--edge);
  transform: translate(2px, 2px);
}

.button-primary {
  background: var(--pink);
  color: #fff;
}

.button-secondary {
  background: var(--panel-2);
  color: var(--ink);
}

.marquee {
  background: var(--ink);
  border: 2.5px solid var(--edge);
  border-radius: 10px;
  box-shadow: var(--soft-shadow), 4px 4px 0 var(--edge);
  margin: 0 auto 30px;
  max-width: 1120px;
  overflow: hidden;
}

.marquee .track {
  animation: scroll 26s linear infinite;
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 9px 0;
  white-space: nowrap;
}

.marquee span {
  color: var(--lemon);
  padding: 0 22px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-board {
  align-self: stretch;
  background:
    linear-gradient(180deg, #bfeaf2 0%, #ffe3c2 58%, var(--sand) 58% 100%);
  border-left: 2px solid var(--edge);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 540px;
  padding: clamp(60px, 8vw, 96px) 22px 22px;
  position: relative;
}

[data-theme="dark"] .hero-board {
  background:
    linear-gradient(180deg, #161b40 0%, #3a1c5a 58%, var(--sand) 58% 100%);
}

.hero-board::before {
  background:
    linear-gradient(var(--lemon) 0 0) 18% 20% / 60px 8px no-repeat,
    linear-gradient(var(--coral) 0 0) 16% 24% / 84px 8px no-repeat,
    linear-gradient(var(--pink) 0 0) 20% 28% / 54px 8px no-repeat,
    linear-gradient(var(--ocean) 0 0) 0 58% / 100% 34px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.55) 0 0) 0 58% / 100% 4px no-repeat;
  content: "";
  inset: 0;
  position: absolute;
}

.hero-board::after {
  background:
    linear-gradient(var(--palm) 0 0) 21px 18px / 55px 9px no-repeat,
    linear-gradient(var(--palm) 0 0) 7px 28px / 84px 9px no-repeat,
    linear-gradient(var(--palm) 0 0) 0 39px / 43px 9px no-repeat,
    linear-gradient(var(--palm) 0 0) 54px 39px / 52px 9px no-repeat,
    linear-gradient(#9b6a33 0 0) 48px 52px / 11px 122px no-repeat;
  bottom: 18px;
  content: "";
  height: 180px;
  left: 24px;
  position: absolute;
  width: 120px;
}

.board-card,
.board-strip {
  background: rgba(255, 253, 250, 0.88);
  border: 2px solid var(--edge);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 16px;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .board-card,
[data-theme="dark"] .board-strip {
  background: rgba(19, 32, 58, 0.9);
}

.card-large {
  grid-row: span 2;
  min-height: 296px;
}

.card-accent {
  background: var(--pink);
  color: #fff;
}

.board-card span,
.board-card small {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  opacity: 0.82;
  text-transform: uppercase;
}

.board-card strong {
  font-family: "Pixelify Sans", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 0.92;
}

.board-strip {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  min-height: 86px;
}

.board-strip i {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  border: 2px solid var(--edge);
  border-radius: 5px;
}

.section,
.page-hero,
.contact-layout {
  padding: clamp(46px, 7vw, 88px) clamp(22px, 5vw, 68px) clamp(36px, 5vw, 64px);
}

.intro-section,
.proof-section,
.page-hero.split,
.contact-layout {
  display: grid;
  gap: clamp(24px, 5vw, 66px);
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 1fr);
}

.section-heading {
  margin-bottom: 28px;
  max-width: 900px;
}

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

.work-card,
.service-card,
.package-card,
.about-panel,
.contact-note,
.contact-form {
  background: var(--panel-2);
  border: 2px solid var(--edge);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--edge);
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  overflow: hidden;
}

.work-card h3,
.work-card p,
.service-card h3,
.service-card p {
  padding-left: 18px;
  padding-right: 18px;
}

.work-card h3 {
  margin-top: 20px;
}

.work-art {
  aspect-ratio: 1.2 / 1;
  border-bottom: 2px solid var(--edge);
  position: relative;
}

.work-art::after {
  background:
    linear-gradient(#fff 0 0) 12% 18% / 70% 10px no-repeat,
    linear-gradient(#fff 0 0) 12% 34% / 50% 8px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.7) 0 0) 12% 72% / 34% 28px no-repeat;
  content: "";
  inset: 0;
  position: absolute;
}

.art-one {
  background: linear-gradient(135deg, var(--pink), var(--lemon));
}

.art-two {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.art-three {
  background: linear-gradient(135deg, var(--palm), var(--coral));
}

.centered-action {
  margin-top: 26px;
  text-align: center;
}

.service-card {
  min-height: 220px;
  padding: 24px 0;
}

.proof-list {
  background: var(--panel-2);
  border: 2px solid var(--edge);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--edge);
  list-style: none;
  margin: 0;
  padding: 20px;
}

.proof-list li {
  border-bottom: 1px dashed var(--ink-soft);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 0.95rem;
  padding: 13px 0 13px 28px;
  position: relative;
}

.proof-list li::before {
  background: var(--cyan);
  border: 2px solid var(--edge);
  border-radius: 3px;
  content: "";
  height: 13px;
  left: 0;
  position: absolute;
  top: 17px;
  width: 13px;
}

.proof-list li:last-child {
  border-bottom: 0;
}

.final-cta {
  background: var(--panel);
  color: var(--ink);
  padding: clamp(58px, 8vw, 96px) clamp(22px, 6vw, 76px) clamp(38px, 6vw, 74px);
  text-align: center;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.standalone {
  margin-top: 40px;
}

.page-hero.compact h1,
.page-hero.split h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 1.02;
}

.about-panel,
.contact-note {
  padding: 26px;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
  min-height: 460px;
  padding: 26px;
}

.package-card.featured {
  background: #fff3c7;
}

[data-theme="dark"] .package-card.featured {
  background: #243057;
}

.package-card ul,
.contact-note ul,
.case-copy ul {
  margin: 0;
  padding-left: 20px;
}

.case-list {
  margin: 0 auto;
  max-width: 1120px;
}

.case-study {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.case-study + .case-study {
  margin-top: 30px;
}

.case-visual {
  min-height: 520px;
  position: relative;
}

.case-visual::before {
  background:
    linear-gradient(var(--panel) 0 0) 14% 18% / 56% 10px no-repeat,
    linear-gradient(var(--panel) 0 0) 14% 34% / 38% 8px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.65) 0 0) 14% 74% / 62% 56px no-repeat;
  content: "";
  inset: 0;
  position: absolute;
}

.case-visual span {
  background: rgba(255, 253, 250, 0.78);
  border: 2px solid var(--edge);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--edge);
  display: block;
  position: absolute;
}

.visual-social {
  background: linear-gradient(135deg, var(--pink), var(--lemon));
}

.visual-brand {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.visual-launch {
  background: linear-gradient(135deg, var(--edge), var(--pink));
}

.visual-template {
  background: linear-gradient(135deg, var(--sand), var(--palm));
}

.visual-ad {
  background: linear-gradient(135deg, var(--panel-2), var(--blue));
}

.visual-founder {
  background: linear-gradient(135deg, var(--lemon), var(--edge));
}

.case-visual span:nth-child(1) {
  height: 42%;
  left: 12%;
  top: 20%;
  width: 42%;
}

.case-visual span:nth-child(2) {
  height: 30%;
  right: 10%;
  top: 28%;
  width: 30%;
}

.case-visual span:nth-child(3) {
  bottom: 12%;
  height: 34%;
  left: 24%;
  width: 56%;
}

.case-visual span:nth-child(4) {
  bottom: 22%;
  height: 20%;
  right: 14%;
  width: 22%;
}

.case-copy {
  padding: clamp(34px, 5vw, 64px) clamp(28px, 5vw, 58px);
}

.case-copy h2 {
  font-size: clamp(2rem, 4.8vw, 4.6rem);
}

.case-copy h3 {
  margin-top: 24px;
}

.outcome {
  background: var(--panel-2);
  border: 2px solid var(--edge);
  border-left: 8px solid var(--pink);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  margin-top: 24px;
  padding: 14px 16px;
}

.contact-layout {
  align-items: start;
  padding-top: clamp(58px, 8vw, 102px);
}

.contact-form {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 34px);
}

label {
  color: var(--ink);
  display: grid;
  font-family: "DM Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
}

.full {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

input,
select,
textarea {
  background: var(--panel);
  border: 2px solid var(--edge);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.contact-form button {
  border: 2px solid var(--edge);
  cursor: pointer;
  grid-column: 1 / -1;
  justify-self: start;
}

.site-footer {
  color: var(--ink-soft);
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 22px auto 0;
  max-width: 1120px;
  padding: 0 0 24px;
  text-align: center;
}

.site-footer p {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  margin: 0;
}

.site-footer nav {
  display: none;
}

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

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

  .marquee .track {
    animation: none;
  }

  * {
    transition: none !important;
  }
}

@media (max-width: 940px) {
  .hero,
  .intro-section,
  .proof-section,
  .page-hero.split,
  .contact-layout,
  .case-study {
    grid-template-columns: 1fr;
  }

  .hero-board {
    border-left: 0;
    border-top: 2.5px solid var(--edge);
    min-height: 420px;
  }

  .work-grid,
  .service-grid,
  .package-section {
    grid-template-columns: 1fr;
  }

  .case-visual {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a,
  .theme-toggle {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(2.6rem, 18vw, 4.8rem);
  }

  .hero-board {
    grid-template-columns: 1fr;
  }

  .card-large,
  .board-strip {
    grid-column: auto;
    grid-row: auto;
  }

  .board-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .brand {
    max-width: 100%;
  }
}

/* Clean portfolio framing pass: keep the brief's palette, not its cramped app-window layout. */
body {
  padding: 0;
}

.site-header {
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(30, 42, 51, 0.14);
  border-top: 0;
  bottom: auto;
  box-shadow: 0 12px 30px rgba(30, 42, 51, 0.08);
  min-height: 76px;
  padding: 16px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
}

[data-theme="dark"] .site-header {
  background: rgba(19, 32, 58, 0.92);
}

.brand {
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--edge);
  max-width: 100%;
}

.nav {
  gap: 10px;
}

.nav a,
.theme-toggle {
  border-radius: 8px;
  white-space: nowrap;
}

.hero,
.section,
.page-hero,
.case-study,
.contact-layout,
.final-cta {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 auto;
  max-width: none;
  overflow: visible;
}

.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after,
.final-cta::before,
.final-cta::after {
  content: none;
}

.hero {
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.94fr);
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 8vw, 110px) clamp(18px, 6vw, 78px) clamp(46px, 7vw, 86px);
}

.hero-copy {
  padding: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 1.02;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  line-height: 1.04;
}

.hero-text,
.page-hero p,
.section-copy,
.final-cta p {
  color: var(--ink-soft);
  max-width: 740px;
}

.hero-board {
  align-self: center;
  border: 2px solid var(--edge);
  border-radius: 14px;
  box-shadow: var(--soft-shadow), 5px 5px 0 rgba(30, 42, 51, 0.86);
  min-height: 510px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
}

.hero-board::before {
  opacity: 0.72;
}

.hero-board::after {
  opacity: 0.34;
}

.board-card,
.board-strip {
  border-radius: 9px;
  min-width: 0;
}

.board-card strong {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.marquee {
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  box-shadow: none;
  max-width: none;
}

.section,
.page-hero,
.case-list,
.contact-layout {
  max-width: 1180px;
  padding: clamp(58px, 8vw, 106px) clamp(18px, 5vw, 76px);
}

.section {
  border-top: 2px solid rgba(30, 42, 51, 0.1);
  background: transparent;
}

.section-muted {
  background:
    linear-gradient(rgba(255, 253, 250, 0.72), rgba(255, 253, 250, 0.72)),
    var(--panel-2);
  max-width: none;
  padding-left: max(clamp(18px, 5vw, 76px), calc((100vw - 1180px) / 2 + 18px));
  padding-right: max(clamp(18px, 5vw, 76px), calc((100vw - 1180px) / 2 + 18px));
}

[data-theme="dark"] .section-muted {
  background: rgba(27, 42, 72, 0.72);
}

.work-card,
.service-card,
.package-card,
.about-panel,
.contact-note,
.contact-form,
.proof-list,
.case-study {
  border: 2px solid var(--edge);
  border-radius: 8px;
  box-shadow: 3px 3px 0 rgba(30, 42, 51, 0.72);
}

.case-study {
  background: var(--panel);
  overflow: hidden;
}

.final-cta {
  background: var(--ink);
  border-top: 2px solid var(--edge);
  color: #fff;
  max-width: none;
  padding: clamp(56px, 8vw, 92px) clamp(18px, 6vw, 76px);
  text-align: center;
}

.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-left: auto;
  margin-right: auto;
}

.final-cta .button-primary {
  background: var(--pink);
  color: #fff;
  margin-top: 12px;
}

.site-footer {
  border-top: 2px solid rgba(30, 42, 51, 0.1);
  margin: 0;
  max-width: none;
  padding: 24px clamp(18px, 5vw, 76px);
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-board {
    border-left: 2px solid var(--edge);
    border-top: 2px solid var(--edge);
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  body {
    padding: 0;
  }

  .site-header {
    gap: 12px;
    padding: 14px;
  }

  .nav {
    gap: 8px;
  }

  .nav a,
  .theme-toggle {
    font-size: 10px;
    min-height: 32px;
    padding: 6px 8px;
  }

  .hero {
    padding: 44px 14px 42px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
    line-height: 1.05;
  }

  .hero-board {
    min-height: auto;
  }

  .card-large {
    min-height: 220px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
}

/* Hero cleanup: preserve the brief's palette without letting pixel typography crowd the first block. */
.hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 79, 163, 0.1), transparent 32%),
    linear-gradient(315deg, rgba(19, 201, 180, 0.13), transparent 34%);
}

.hero-copy {
  max-width: 780px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.15rem, 6vw, 6.25rem);
  font-weight: 700;
  line-height: 1.06;
  max-width: 820px;
}

.hero .eyebrow {
  background: var(--lemon);
  border: 2px solid var(--edge);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(30, 42, 51, 0.72);
  color: var(--edge);
  padding: 7px 10px;
}

.hero-board {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 210, 61, 0.9) 0 54px, transparent 56px),
    linear-gradient(180deg, #bfeaf2 0%, #ffe3c2 62%, var(--sand) 62% 100%);
  gap: 16px;
  min-height: 470px;
}

[data-theme="dark"] .hero-board {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 227, 107, 0.74) 0 54px, transparent 56px),
    linear-gradient(180deg, #161b40 0%, #3a1c5a 62%, var(--sand) 62% 100%);
}

.hero-board::before,
.hero-board::after {
  content: none;
}

.board-card,
.board-strip {
  background: rgba(255, 253, 250, 0.92);
}

.board-card span,
.board-card small {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0;
}

.board-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 2.55rem);
  line-height: 1.08;
}

.card-large {
  background:
    linear-gradient(rgba(255, 253, 250, 0.88), rgba(255, 253, 250, 0.88)),
    linear-gradient(135deg, var(--pink), var(--lemon));
}

.card-accent {
  background: var(--pink);
}

@media (max-width: 940px) {
  .hero {
    gap: 34px;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 5.6rem);
    max-width: 920px;
  }

  .hero-board {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 38px 16px 42px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12.5vw, 4.15rem);
    line-height: 1.08;
  }

  .hero .eyebrow {
    font-size: 8px;
    line-height: 1.45;
    max-width: 100%;
  }

  .hero-board {
    gap: 12px;
    padding: 16px;
  }

  .board-card,
  .board-strip {
    min-height: 112px;
    padding: 14px;
  }

  .card-large {
    min-height: 188px;
  }
}
