/* =========================================================
   Dikky Portfolio — inspired by Designer Portfolio shot
   ========================================================= */

:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --ink: #0b0b0b;
  --ink-soft: #5c6678;
  --ink-mute: #8b93a3;
  --accent: #2f6bff;
  --accent-deep: #1f54e0;
  --accent-soft: rgba(47, 107, 255, 0.12);
  --hero: #111111;
  --line: rgba(0, 0, 0, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.08);
  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(47, 107, 255, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(0, 0, 0, 0.04), transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0.9rem auto 0;
  padding: 0.65rem 0.75rem 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  transition: transform 0.35s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.05);
}

.nav-pill {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease;
}

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

.nav-link.is-active {
  background: var(--accent);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.35);
}

.btn-accent:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-outline {
  border: 1.5px solid var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-talk {
  padding: 0.7rem 1.15rem;
  white-space: nowrap;
}

.btn-lg {
  padding: 1.05rem 1.8rem;
  font-size: 1.05rem;
}

.btn-icon {
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease, background 0.25s ease;
}

.menu-toggle span:first-child {
  top: calc(50% - 4px);
}

.menu-toggle span:last-child {
  top: calc(50% + 2px);
}

.site-header.is-open .menu-toggle {
  background: var(--accent);
  border-color: var(--accent);
}

.site-header.is-open .menu-toggle span {
  background: #fff;
}

.site-header.is-open .menu-toggle span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  width: min(100% - 2rem, var(--max));
  margin: 1.25rem auto 0;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(78vh, 720px);
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 60% at 70% 45%, rgba(60, 60, 60, 0.45), transparent 65%),
    linear-gradient(145deg, #1a1a1a 0%, #0c0c0c 55%, #151515 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(47, 107, 255, 0.08), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.06), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  padding-bottom: 5.5rem;
}

.hero-greeting {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.wave {
  display: inline-block;
  animation: wave 2.4s ease-in-out infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}

.hero-content .btn {
  align-self: flex-start;
  margin-bottom: 2rem;
}

.hero-sub {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo {
  width: min(100%, 460px);
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 24px 24px 0 0;
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  filter: saturate(1.02) contrast(1.04);
  animation: floatPhoto 7s ease-in-out infinite;
}

@keyframes floatPhoto {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.exp-card {
  position: absolute;
  top: 8%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: floatCard 5.5s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.exp-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  white-space: nowrap;
}

.exp-icons {
  display: flex;
  gap: 0.4rem;
}

.exp-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.4rem clamp(1.5rem, 4vw, 3rem) 1.6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

/* ---------- About ---------- */

.about {
  width: min(100% - 2rem, var(--max));
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
}

.about-status {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
  padding-top: 0.4rem;
}

.about-copy p {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 920px;
}

.tone-dark {
  color: var(--ink);
}

.tone-mute {
  color: var(--ink-mute);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.text-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent);
  gap: 0.55rem;
}

/* ---------- Services ---------- */

.services {
  width: min(100% - 2rem, var(--max));
  margin: 6rem auto 0;
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.services-aside {
  max-width: 280px;
  text-align: right;
}

.services-aside p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  border-bottom: 1px solid var(--line);
}

.service-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0.25rem;
  text-align: left;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.35s ease;
}

.service-item.is-open .service-thumb,
.service-trigger:hover .service-thumb {
  transform: scale(1.08);
}

.service-chevron {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s ease;
}

.service-chevron::before,
.service-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.service-chevron::before {
  transform: translate(-50%, -50%);
}

.service-chevron::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service-item.is-open .service-chevron {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.service-item.is-open .service-chevron::before,
.service-item.is-open .service-chevron::after {
  background: #fff;
}

.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

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

.service-panel-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 0 0.25rem 1.75rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-item.is-open .service-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.service-info p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.service-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.service-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.service-stats span {
  color: var(--ink-mute);
  font-size: 0.88rem;
}

.service-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 5;
  max-height: 320px;
  justify-self: end;
  width: min(100%, 260px);
}

.service-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Portfolio ---------- */

.portfolio {
  width: min(100% - 2rem, var(--max));
  margin: 6.5rem auto 0;
}

.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.showcase-card {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.showcase-card:hover .showcase-bg {
  transform: scale(1.14);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.72) 15%, rgba(0, 0, 0, 0.25) 70%);
  transition: background 0.6s ease;
}

.showcase-card:hover .showcase-overlay {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.62) 15%, rgba(0, 0, 0, 0.18) 70%);
}

.showcase-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 520px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card:hover .showcase-content {
  transform: translateY(-4px);
}

.showcase-tag {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.showcase-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.showcase-cta {
  position: absolute;
  right: 8%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.15;
  text-align: center;
  transform: translateY(-50%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.35);
}

.showcase-card:hover .showcase-cta {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 20px 48px rgba(47, 107, 255, 0.45);
}

.showcase-cta:hover {
  transform: translateY(-50%) scale(1.12) rotate(-6deg);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  background: #111;
  color: inherit;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-card:hover img {
  transform: scale(1.12);
}

.project-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.project-info p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* ---------- Testimonials ---------- */

.testimonials {
  position: relative;
  margin: 6.5rem 0 0;
  padding: 4rem 0 2rem;
  overflow: hidden;
}

.marquee {
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
  opacity: 0.12;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

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

.testimonial-row {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.t-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease;
}

.t-card:hover {
  transform: translateY(-6px);
}

.t-card.is-featured {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-12px);
}

.t-card.is-featured:hover {
  transform: translateY(-18px);
}

.t-card > p {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  flex: 1;
}

.t-visual {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.t-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.t-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.t-author strong {
  display: block;
  font-size: 0.95rem;
}

.t-author span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.t-card.is-featured .t-author span {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Contact ---------- */

.contact {
  width: min(100% - 2rem, var(--max));
  margin: 5rem auto 0;
}

.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.18), transparent 65%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.contact-eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-top: 2.5rem;
}

.contact-links a {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.contact-links a:hover {
  color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */

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

  .hero-content {
    padding-bottom: 1rem;
    max-width: none;
  }

  .hero-visual {
    min-height: 380px;
    margin-top: 1rem;
  }

  .hero-photo {
    max-height: 420px;
  }

  .hero-stats {
    position: relative;
    background: transparent;
    padding: 1.5rem 0 0;
    margin-top: 0.5rem;
  }

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

  .services-head,
  .portfolio-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-aside {
    text-align: left;
    max-width: 420px;
  }

  .service-panel-inner {
    grid-template-columns: 1fr;
  }

  .service-preview {
    justify-self: start;
    max-height: 240px;
    aspect-ratio: 16 / 10;
    width: 100%;
  }

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

  .t-card.is-featured {
    transform: none;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo toggle"
      "nav nav"
      "cta cta";
    align-items: center;
    row-gap: 0;
    border-radius: 28px;
    transition: border-radius 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  }

  .logo {
    grid-area: logo;
    justify-self: start;
  }

  .menu-toggle {
    display: flex;
    grid-area: toggle;
    justify-self: end;
  }

  .nav-pill,
  .btn-talk {
    display: none;
  }

  .site-header.is-open {
    border-radius: 28px;
    padding: 0.75rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
  }

  .site-header.is-open .nav-pill {
    display: flex;
    grid-area: nav;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    position: static;
  }

  .site-header.is-open .nav-link {
    width: 100%;
    padding: 0.82rem 1rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink-soft);
    border-radius: 14px;
    background: transparent;
  }

  .site-header.is-open .nav-link.is-active {
    background: var(--accent);
    color: #fff;
  }

  .site-header.is-open .nav-link:active,
  .site-header.is-open .nav-link:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--ink);
  }

  .site-header.is-open .nav-link.is-active:hover {
    background: var(--accent-deep);
    color: #fff;
  }

  .site-header.is-open .btn-talk {
    display: inline-flex;
    grid-area: cta;
    width: 100%;
    margin-top: 0.35rem;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
  }

  .site-header.is-open .btn-talk:hover {
    background: #222;
    color: #fff;
    transform: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase-cta {
    width: 88px;
    height: 88px;
    font-size: 0.82rem;
    right: 1rem;
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }

  .showcase-card:hover .showcase-cta {
    transform: scale(1.05);
  }

  .showcase-cta:hover {
    transform: scale(1.1) rotate(-6deg);
  }

  .showcase-card {
    min-height: 360px;
  }
}
