/* ==========================================================================
   Fahmid Islam Fahad — Creative Freelance Portfolio
   Design system: "Editorial Creative" — warm paper, deep ink,
   vermillion + electric accents, expressive display type.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --ink: #141419;
  --ink-2: #1e1e26;
  --coral: #ff4d2e;
  --blue: #2e4cff;
  --lime: #c8ff3d;
  --muted: #6b6b76;
  --line: rgba(20, 20, 25, 0.12);
  --line-dark: rgba(244, 241, 234, 0.14);
  --shadow: 0 24px 60px rgba(20, 20, 25, 0.16);
  --radius: 18px;
  --font-display: "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--coral);
  color: var(--paper);
}

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

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
}

/* ---------- Type utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}

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

.section-lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vw, 56px);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 77, 46, 0.35);
}

.btn-coral:hover {
  background: #ff6242;
}

.btn-ghost {
  border: 1.5px solid rgba(244, 241, 234, 0.35);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(244, 241, 234, 0.08);
}

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

.btn-ink:hover {
  background: var(--ink-2);
}

.btn .btn-arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--coral), var(--blue), var(--lime));
  z-index: 1000;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(18px, 4vw, 44px);
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
  background: rgba(20, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: var(--paper);
  display: flex;
  align-items: baseline;
}

.logo-dot {
  color: var(--coral);
}

.nav-desktop {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav-desktop a {
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}

.nav-desktop a:hover {
  color: var(--paper);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  padding: 11px 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  z-index: -1;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
  z-index: 800;
}

.nav-mobile a {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-mobile a:hover {
  color: var(--coral);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(130px, 18vh, 190px) 0 clamp(60px, 8vw, 90px);
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  animation: blob-drift 14s ease-in-out infinite alternate;
}

.hero-blob.b1 {
  width: 480px;
  height: 480px;
  background: var(--coral);
  top: -140px;
  right: -100px;
}

.hero-blob.b2 {
  width: 420px;
  height: 420px;
  background: var(--blue);
  bottom: -180px;
  left: -120px;
  animation-delay: -6s;
}

.hero-blob.b3 {
  width: 260px;
  height: 260px;
  background: var(--lime);
  opacity: 0.18;
  top: 40%;
  left: 42%;
  animation-delay: -3s;
}

@keyframes blob-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, -30px) scale(1.12);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(244, 241, 234, 0.85);
  background: rgba(244, 241, 234, 0.05);
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(200, 255, 61, 0.05);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero h1 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero h1 .accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero h1 .accent svg {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.22em;
  overflow: visible;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: rgba(244, 241, 234, 0.78);
  max-width: 48ch;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-meta span {
  font-size: 0.82rem;
  color: rgba(244, 241, 234, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero visual: floating browser mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.browser-mock {
  width: min(420px, 100%);
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  animation: floaty 7s ease-in-out infinite;
  color: var(--ink);
}

@keyframes floaty {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-14px);
  }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  background: var(--paper-2);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d3c8;
}

.browser-bar i:nth-child(1) {
  background: #ff5f57;
}
.browser-bar i:nth-child(2) {
  background: #febc2e;
}
.browser-bar i:nth-child(3) {
  background: #28c840;
}

.browser-url {
  flex: 1;
  margin-left: 8px;
  background: var(--paper);
  border-radius: 999px;
  font-size: 0.68rem;
  color: var(--muted);
  padding: 5px 12px;
  font-weight: 600;
}

.browser-body {
  padding: 22px;
}

.mock-hero {
  height: 118px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--coral), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mock-hero span {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.mock-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.mock-line {
  height: 11px;
  border-radius: 6px;
  background: var(--paper-2);
}

.mock-line.w80 {
  width: 80%;
}
.mock-line.w60 {
  width: 60%;
}
.mock-line.w90 {
  width: 90%;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mock-card {
  height: 64px;
  border-radius: 10px;
  background: var(--paper-2);
}

.mock-card:nth-child(2) {
  background: rgba(255, 77, 46, 0.18);
}

.mock-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Rotating availability badge */
.spin-badge {
  position: absolute;
  right: -6px;
  bottom: -26px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 2;
}

.spin-badge .spin-text {
  position: absolute;
  inset: 0;
  animation: spin 12s linear infinite;
}

.spin-badge .spin-center {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--coral);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group .star {
  color: var(--ink);
  font-size: 1.1rem;
}

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

/* ---------- Social proof ---------- */
.proof {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.proof-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
}

.client-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.42;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-logo:hover {
  opacity: 0.85;
}

.client-logo .mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 900;
}

/* ---------- Work / portfolio ---------- */
.work {
  background: var(--paper);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 34px);
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  border: 1px solid var(--line);
}

.project-card:nth-child(3n + 1) {
  grid-column: span 2;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.project-card.hidden {
  display: none;
}

.project-art {
  position: relative;
  height: clamp(220px, 26vw, 330px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card:nth-child(3n + 1) .project-art {
  height: clamp(260px, 30vw, 400px);
}

.art-verdant {
  background: linear-gradient(135deg, #14532d, #3f9142 55%, #a8e063);
}
.art-cafe {
  background: linear-gradient(135deg, #7c2d12, #c2410c 55%, #fbbf24);
}
.art-peak {
  background: linear-gradient(135deg, #4c1d95, #7c3aed 55%, #f97316);
}
.art-nimbus {
  background: linear-gradient(135deg, #0c4a6e, #0284c7 55%, #67e8f9);
}
.art-wander {
  background: linear-gradient(135deg, #134e4a, #0d9488 55%, #f59e0b);
}
.art-kintsugi {
  background: linear-gradient(135deg, #78350f, #b45309 55%, #fde68a);
}

.art-device {
  width: min(300px, 62%);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg) translateY(6px);
  transition: transform 0.5s var(--ease-out);
}

.project-card:hover .art-device {
  transform: rotate(0deg) translateY(-4px) scale(1.03);
}

.art-device .ad-bar {
  height: 8px;
  width: 38%;
  border-radius: 4px;
  background: rgba(20, 20, 25, 0.12);
  margin-bottom: 10px;
}

.art-device .ad-hero {
  height: 72px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.art-device .ad-lines {
  display: grid;
  gap: 6px;
}

.art-device .ad-lines i {
  height: 7px;
  border-radius: 4px;
  background: rgba(20, 20, 25, 0.1);
}

.art-device .ad-lines i:nth-child(2) {
  width: 72%;
}

.art-monogram {
  position: absolute;
  top: 20px;
  left: 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(20, 20, 25, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.art-tag {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

.project-info {
  padding: 24px 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.project-info h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.project-info p {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 48ch;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
}

.project-card:hover .project-link {
  color: var(--coral);
}

/* ---------- Process ---------- */
.process {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.process .section-title {
  color: var(--paper);
}

.process .section-lead {
  color: rgba(244, 241, 234, 0.7);
}

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

.process-step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(244, 241, 234, 0.04);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 255, 61, 0.5);
  background: rgba(200, 255, 61, 0.06);
}

.process-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
  margin-bottom: 18px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.process-step p {
  color: rgba(244, 241, 234, 0.68);
  font-size: 0.95rem;
}

.process-note {
  margin-top: 40px;
  padding: 22px 28px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 77, 46, 0.1);
  border-radius: 0 14px 14px 0;
  color: rgba(244, 241, 234, 0.85);
  font-size: 0.98rem;
  max-width: 70ch;
}

/* ---------- About ---------- */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--ink-2), var(--blue) 60%, var(--coral));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portrait-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8.5vw, 5.4rem);
  letter-spacing: -0.04em;
  color: rgba(244, 241, 234, 0.92);
}

.portrait-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(244, 241, 234, 0.92);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.about-text .section-title {
  margin-top: 12px;
}

.about-bio {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 14px;
  max-width: 58ch;
}

.about-bio strong {
  color: var(--ink);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.skill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s;
}

.skill:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.skill.hot {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.stat {
  border-top: 3px solid var(--ink);
  padding-top: 12px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.testimonial:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow);
}

.testimonial .quote-mark {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--coral);
}

.testimonial blockquote {
  font-size: 1.02rem;
  color: var(--ink-2);
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

.av-1 {
  background: linear-gradient(135deg, #14532d, #4ade80);
}
.av-2 {
  background: linear-gradient(135deg, #9a3412, #fb923c);
}
.av-3 {
  background: linear-gradient(135deg, #4c1d95, #a78bfa);
}

.testimonial-person b {
  display: block;
  font-size: 0.95rem;
}

.testimonial-person span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue);
  color: #fff;
  padding: clamp(64px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "✦";
  position: absolute;
  font-size: 30rem;
  right: -60px;
  top: -120px;
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.cta-band h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.cta-band .btn-coral {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
}

.contact .section-title {
  color: var(--paper);
}

.contact .section-lead {
  color: rgba(244, 241, 234, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(34px, 6vw, 70px);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-detail .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(244, 241, 234, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-detail small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
  margin-bottom: 2px;
}

.contact-detail a,
.contact-detail b {
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.3s;
}

.contact-detail a:hover {
  color: var(--lime);
}

.copy-btn {
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(244, 241, 234, 0.75);
  transition: all 0.3s;
}

.copy-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.socials a {
  padding: 10px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(244, 241, 234, 0.8);
  transition: all 0.3s;
}

.socials a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-3px);
}

.contact-form {
  background: rgba(244, 241, 234, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 38px);
  display: grid;
  gap: 18px;
}

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

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(244, 241, 234, 0.06);
  color: var(--paper);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(244, 241, 234, 0.1);
}

.field select option {
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: rgba(244, 241, 234, 0.55);
}

.form-success {
  display: none;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(200, 255, 61, 0.14);
  border: 1px solid rgba(200, 255, 61, 0.45);
  color: var(--lime);
  font-weight: 700;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(244, 241, 234, 0.7);
  padding: 44px 0 30px;
  border-top: 1px solid var(--line-dark);
}

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

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-bottom .domain {
  color: var(--lime);
  font-weight: 700;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--paper);
  transition: color 0.3s;
}

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

/* ---------- Project modal (case study) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 25, 0.88);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(16px, 4vw, 50px);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(6px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: min(880px, 100%);
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  transform: translateY(26px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.25rem;
  z-index: 5;
  display: grid;
  place-items: center;
  transition: transform 0.3s, background 0.3s;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: var(--coral);
}

.modal-hero {
  height: clamp(200px, 30vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-hero .mh-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
  padding: 0 20px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.modal-body {
  padding: clamp(26px, 4vw, 44px);
}

.modal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-summary {
  font-size: 1.12rem;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 62ch;
}

.modal-section {
  margin-bottom: 30px;
}

.modal-section h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-section h4::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--coral);
}

.modal-section p {
  color: var(--muted);
  max-width: 66ch;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper-2);
  border-radius: 12px;
  padding: 14px 18px;
}

.process-list .pl-num {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--blue);
  flex-shrink: 0;
}

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

.result-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px;
  text-align: center;
}

.result-card b {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--coral);
  margin-bottom: 4px;
}

.result-card span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.role-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 0.96rem;
}

.role-box strong {
  color: var(--lime);
}

.modal-quote {
  border-left: 4px solid var(--coral);
  padding: 6px 0 6px 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink-2);
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .browser-mock {
    width: min(360px, 88vw);
  }

  .spin-badge {
    right: 4vw;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 420px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(3n + 1) {
    grid-column: span 1;
  }

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

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

  .result-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 18px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   PHASE 2 — Conversion pack, before/after slider, dark mode
   ========================================================================== */

:root {
  --night: #0e0e13;
  --night-2: #12121a;
  --on-night: #f2efe8;
}

.hero,
.process,
.contact {
  background: var(--night);
  color: var(--on-night);
}

.process .section-title,
.contact .section-title {
  color: var(--on-night);
}

.site-footer {
  background: var(--night-2);
}

.logo,
.back-top,
.btn-ghost {
  color: var(--on-night);
}

.socials a:hover {
  background: var(--on-night);
  color: var(--night);
  border-color: var(--on-night);
}

.spin-badge {
  color: var(--night);
}

.role-box {
  background: var(--night);
  color: var(--on-night);
}

.portrait {
  background: linear-gradient(150deg, #1e1e26, var(--blue) 60%, var(--coral));
}

.concept-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 9px;
}

.chip-concept {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.work-footnote {
  margin-top: 30px;
  padding: 18px 22px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 72ch;
}

.work-footnote strong {
  color: var(--ink);
}


.faq-list {
  max-width: 780px;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 54px 20px 24px;
  font-weight: 700;
  font-size: 1.04rem;
  list-style: none;
  position: relative;
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--coral);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--coral);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 62ch;
}

.faq-a strong {
  color: var(--ink);
}

.faq-a a {
  color: var(--coral);
  font-weight: 700;
  border-bottom: 2px solid var(--coral);
}

.ba-wrap {
  margin-top: 6px;
}

.ba-slider {
  --pos: 50%;
  position: relative;
  height: clamp(230px, 32vw, 320px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
}

.ba-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-after {
  z-index: 1;
}

.ba-before {
  z-index: 2;
  background: #cfc8ba;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
}

.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  color: #141419;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.ba-label {
  position: absolute;
  top: 14px;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
}

.ba-label-before {
  left: 14px;
  background: #141419;
  color: #f2efe8;
}

.ba-label-after {
  right: 14px;
  background: var(--coral);
  color: #fff;
}

.ba-old {
  width: min(300px, 72%);
  background: #e8e2d5;
  border: 3px solid #8a8272;
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.ba-old-header {
  font-family: "Times New Roman", Times, serif;
  color: #1c3f8f;
  font-size: 1.02rem;
  text-decoration: underline;
  margin-bottom: 10px;
}

.ba-old-rows {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

.ba-old-rows i {
  height: 6px;
  background: #b3aa96;
  border-radius: 2px;
}

.ba-old-rows i:nth-child(2) {
  width: 85%;
}
.ba-old-rows i:nth-child(3) {
  width: 92%;
}
.ba-old-rows i:nth-child(4) {
  width: 70%;
}

.ba-old-btn {
  display: inline-block;
  background: #c9c0ab;
  border: 2px outset #e8e2d5;
  color: #333;
  font-family: "Times New Roman", serif;
  font-size: 0.78rem;
  padding: 4px 14px;
}

.ba-caption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
  z-index: 850;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-4px);
}

.wa-float.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}



@media (max-width: 720px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}


/* ==========================================================================
   PHASE 3 — Hero identity title + statement band
   ========================================================================== */

.hero-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 9.5vw, 7rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 16px;
}

.hero-tagline {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(244, 241, 234, 0.88);
}

.hero-tagline em {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--coral);
  white-space: nowrap;
}

.hero-tagline em svg {
  position: absolute;
  left: 0;
  bottom: -0.16em;
  width: 100%;
  height: 0.22em;
  overflow: visible;
}

.statement {
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
}

.statement::before {
  content: "✦";
  position: absolute;
  font-size: 26rem;
  line-height: 1;
  right: -40px;
  top: -90px;
  opacity: 0.14;
  pointer-events: none;
}

.statement-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.statement-line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

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

.statement-line .accent {
  position: relative;
  display: inline-block;
}

.statement-line .accent svg {
  position: absolute;
  left: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.22em;
  overflow: visible;
}

.statement-side p {
  font-size: 1.06rem;
  line-height: 1.65;
  color: rgba(20, 20, 25, 0.78);
  margin-bottom: 20px;
}

.statement-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.statement-chips li {
  padding: 9px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.statement-chips li:hover {
  background: var(--ink);
  color: var(--lime);
}

@media (max-width: 980px) {
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .statement::before {
    font-size: 16rem;
    top: -40px;
  }
}


/* ==========================================================================
   PHASE 4 — Mobile responsiveness & hero-order fixes
   ========================================================================== */

/* Hero on mobile: identity TITLE at the very top, browser mock ("yourbusiness.com")
   moves BELOW it. (Overrides the old .hero-visual { order: -1 } rule.) */
@media (max-width: 980px) {
  .hero-copy {
    order: -1;
  }

  .hero-visual {
    order: 0;
    margin-top: 6px;
  }
}

@media (max-width: 560px) {
  .hero-name {
    font-size: clamp(2.9rem, 13.5vw, 4.4rem);
  }

  .hero-tagline {
    font-size: 1.18rem;
  }

  .hero-meta {
    gap: 16px 22px;
  }

  .spin-badge {
    width: 96px;
    height: 96px;
    right: 2vw;
    bottom: -18px;
  }

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

  .stats {
    gap: 12px;
  }

  .stat b {
    font-size: 1.55rem;
  }

  /* Long email must never overflow its row on phones */
  .contact-detail {
    flex-wrap: wrap;
  }

  .contact-detail a,
  .contact-detail b {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .copy-btn {
    margin-left: 0;
  }

  .modal-overlay {
    padding: 10px;
  }

  .modal-body {
    padding: 22px 18px;
  }

  .modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}
